{"version":3,"sources":["node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/can-promise.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/utils.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/error-correction-level.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/bit-buffer.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/bit-matrix.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/alignment-pattern.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/finder-pattern.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/mask-pattern.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/error-correction-code.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/galois-field.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/polynomial.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/reed-solomon-encoder.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/version-check.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/regex.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/mode.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/version.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/format-info.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/numeric-data.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/alphanumeric-data.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/byte-data.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/kanji-data.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/segments.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/core/qrcode.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/renderer/utils.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/renderer/canvas.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/renderer/svg-tag.js","node_modules/@listat/blockchain-providers/node_modules/qrcode/lib/browser.js","node_modules/@listat/blockchain-providers/node_modules/dayjs/dayjs.min.js","node_modules/@listat/blockchain-providers/node_modules/dayjs/plugin/updateLocale.js","node_modules/@listat/blockchain-providers/node_modules/dayjs/plugin/relativeTime.js","node_modules/@listat/blockchain-providers/node_modules/@lit/reactive-element/css-tag.js","node_modules/@listat/blockchain-providers/node_modules/@lit/reactive-element/reactive-element.js","node_modules/@listat/blockchain-providers/node_modules/lit-html/lit-html.js","node_modules/@listat/blockchain-providers/node_modules/lit-element/lit-element.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/components/wui-card/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/components/wui-card/index.js","node_modules/@listat/blockchain-providers/node_modules/@lit/reactive-element/decorators/property.js","node_modules/@listat/blockchain-providers/node_modules/@lit/reactive-element/decorators/state.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/all-wallets.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/app-store.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/apple.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-bottom.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-left.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-right.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-top.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/browser.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/checkmark.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-bottom.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-left.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-right.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-top.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/chrome-store.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/clock.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/close.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/coinPlaceholder.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/compass.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/copy.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/cursor.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/desktop.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/disconnect.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/discord.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/etherscan.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/extension.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/external-link.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/facebook.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/filters.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/github.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/google.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/help-circle.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/info-circle.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/mail.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/mobile.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/network-placeholder.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/nftPlaceholder.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/off.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/play-store.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/qr-code.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/refresh.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/search.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapHorizontal.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapHorizontalBold.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapVertical.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/telegram.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitch.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitter.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitterIcon.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/verify.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/verify-filled.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/wallet-placeholder.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/wallet.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/walletconnect.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/warning-circle.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/alpha.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/components/wui-image/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-hexagon/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-hexagon/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-thumbnail/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-thumbnail/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/components/wui-shimmer/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/components/wui-shimmer/index.js","node_modules/@listat/blockchain-providers/node_modules/lit-html/directive.js","node_modules/@listat/blockchain-providers/node_modules/lit-html/directives/class-map.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/components/wui-text/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/visual/browser.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/visual/dao.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/visual/defi.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/visual/defiAlt.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/visual/eth.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/visual/layers.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/visual/lock.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/visual/login.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/visual/network.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/visual/nft.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/visual/noun.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/visual/profile.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/visual/system.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/components/wui-visual/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/components/wui-visual/index.js","node_modules/@listat/blockchain-providers/node_modules/lit-html/directives/if-defined.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-avatar/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-avatar/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-account-button/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-account-button/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-all-wallets-image/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-all-wallets-image/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-button/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-button/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/network.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select-loader/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select-loader/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/assets/svg/networkLg.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-image/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-image/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-chip/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-chip/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-connect-button/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-connect-button/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-cta-button/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-cta-button/index.js","node_modules/@listat/blockchain-providers/node_modules/lit-html/directive-helpers.js","node_modules/@listat/blockchain-providers/node_modules/lit-html/async-directive.js","node_modules/@listat/blockchain-providers/node_modules/lit-html/directives/ref.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-text/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-text/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-email-input/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-email-input/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-link/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-link/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-element/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-element/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-numeric/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-numeric/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-link/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-link/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-item/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-item/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/utils/TypeUtil.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-visual/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-visual/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item-loader/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item-loader/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-tag/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-tag/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-wallet/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-wallet/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo-select/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo-select/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-button/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-button/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-otp/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-otp/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/utils/QrCode.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-qr-code/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-qr-code/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-search-bar/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-search-bar/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-snackbar/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-snackbar/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-tabs/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-tabs/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-tooltip/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-tooltip/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-visual-thumbnail/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-visual-thumbnail/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-notice-card/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-notice-card/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-accordion/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-accordion/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-content/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-content/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-wallet-transaction/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-wallet-transaction/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/layout/wui-grid/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/layout/wui-grid/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/layout/wui-separator/styles.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/layout/wui-separator/index.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/common/dist/esm/src/utils/DateUtil.js","node_modules/@listat/blockchain-providers/node_modules/@web3modal/ui/dist/esm/src/utils/TransactionUtil.js"],"sourcesContent":["// can-promise has a crash in some versions of react native that dont have\n// standard global objects\n// https://github.com/soldair/node-qrcode/issues/157\n\nmodule.exports = function () {\n return typeof Promise === 'function' && Promise.prototype && Promise.prototype.then;\n};","let toSJISFunction;\nconst CODEWORDS_COUNT = [0,\n// Not used\n26, 44, 70, 100, 134, 172, 196, 242, 292, 346, 404, 466, 532, 581, 655, 733, 815, 901, 991, 1085, 1156, 1258, 1364, 1474, 1588, 1706, 1828, 1921, 2051, 2185, 2323, 2465, 2611, 2761, 2876, 3034, 3196, 3362, 3532, 3706];\n\n/**\n * Returns the QR Code size for the specified version\n *\n * @param {Number} version QR Code version\n * @return {Number} size of QR code\n */\nexports.getSymbolSize = function getSymbolSize(version) {\n if (!version) throw new Error('\"version\" cannot be null or undefined');\n if (version < 1 || version > 40) throw new Error('\"version\" should be in range from 1 to 40');\n return version * 4 + 17;\n};\n\n/**\n * Returns the total number of codewords used to store data and EC information.\n *\n * @param {Number} version QR Code version\n * @return {Number} Data length in bits\n */\nexports.getSymbolTotalCodewords = function getSymbolTotalCodewords(version) {\n return CODEWORDS_COUNT[version];\n};\n\n/**\n * Encode data with Bose-Chaudhuri-Hocquenghem\n *\n * @param {Number} data Value to encode\n * @return {Number} Encoded value\n */\nexports.getBCHDigit = function (data) {\n let digit = 0;\n while (data !== 0) {\n digit++;\n data >>>= 1;\n }\n return digit;\n};\nexports.setToSJISFunction = function setToSJISFunction(f) {\n if (typeof f !== 'function') {\n throw new Error('\"toSJISFunc\" is not a valid function.');\n }\n toSJISFunction = f;\n};\nexports.isKanjiModeEnabled = function () {\n return typeof toSJISFunction !== 'undefined';\n};\nexports.toSJIS = function toSJIS(kanji) {\n return toSJISFunction(kanji);\n};","exports.L = {\n bit: 1\n};\nexports.M = {\n bit: 0\n};\nexports.Q = {\n bit: 3\n};\nexports.H = {\n bit: 2\n};\nfunction fromString(string) {\n if (typeof string !== 'string') {\n throw new Error('Param is not a string');\n }\n const lcStr = string.toLowerCase();\n switch (lcStr) {\n case 'l':\n case 'low':\n return exports.L;\n case 'm':\n case 'medium':\n return exports.M;\n case 'q':\n case 'quartile':\n return exports.Q;\n case 'h':\n case 'high':\n return exports.H;\n default:\n throw new Error('Unknown EC Level: ' + string);\n }\n}\nexports.isValid = function isValid(level) {\n return level && typeof level.bit !== 'undefined' && level.bit >= 0 && level.bit < 4;\n};\nexports.from = function from(value, defaultValue) {\n if (exports.isValid(value)) {\n return value;\n }\n try {\n return fromString(value);\n } catch (e) {\n return defaultValue;\n }\n};","function BitBuffer() {\n this.buffer = [];\n this.length = 0;\n}\nBitBuffer.prototype = {\n get: function (index) {\n const bufIndex = Math.floor(index / 8);\n return (this.buffer[bufIndex] >>> 7 - index % 8 & 1) === 1;\n },\n put: function (num, length) {\n for (let i = 0; i < length; i++) {\n this.putBit((num >>> length - i - 1 & 1) === 1);\n }\n },\n getLengthInBits: function () {\n return this.length;\n },\n putBit: function (bit) {\n const bufIndex = Math.floor(this.length / 8);\n if (this.buffer.length <= bufIndex) {\n this.buffer.push(0);\n }\n if (bit) {\n this.buffer[bufIndex] |= 0x80 >>> this.length % 8;\n }\n this.length++;\n }\n};\nmodule.exports = BitBuffer;","/**\n * Helper class to handle QR Code symbol modules\n *\n * @param {Number} size Symbol size\n */\nfunction BitMatrix(size) {\n if (!size || size < 1) {\n throw new Error('BitMatrix size must be defined and greater than 0');\n }\n this.size = size;\n this.data = new Uint8Array(size * size);\n this.reservedBit = new Uint8Array(size * size);\n}\n\n/**\n * Set bit value at specified location\n * If reserved flag is set, this bit will be ignored during masking process\n *\n * @param {Number} row\n * @param {Number} col\n * @param {Boolean} value\n * @param {Boolean} reserved\n */\nBitMatrix.prototype.set = function (row, col, value, reserved) {\n const index = row * this.size + col;\n this.data[index] = value;\n if (reserved) this.reservedBit[index] = true;\n};\n\n/**\n * Returns bit value at specified location\n *\n * @param {Number} row\n * @param {Number} col\n * @return {Boolean}\n */\nBitMatrix.prototype.get = function (row, col) {\n return this.data[row * this.size + col];\n};\n\n/**\n * Applies xor operator at specified location\n * (used during masking process)\n *\n * @param {Number} row\n * @param {Number} col\n * @param {Boolean} value\n */\nBitMatrix.prototype.xor = function (row, col, value) {\n this.data[row * this.size + col] ^= value;\n};\n\n/**\n * Check if bit at specified location is reserved\n *\n * @param {Number} row\n * @param {Number} col\n * @return {Boolean}\n */\nBitMatrix.prototype.isReserved = function (row, col) {\n return this.reservedBit[row * this.size + col];\n};\nmodule.exports = BitMatrix;","/**\n * Alignment pattern are fixed reference pattern in defined positions\n * in a matrix symbology, which enables the decode software to re-synchronise\n * the coordinate mapping of the image modules in the event of moderate amounts\n * of distortion of the image.\n *\n * Alignment patterns are present only in QR Code symbols of version 2 or larger\n * and their number depends on the symbol version.\n */\n\nconst getSymbolSize = require('./utils').getSymbolSize;\n\n/**\n * Calculate the row/column coordinates of the center module of each alignment pattern\n * for the specified QR Code version.\n *\n * The alignment patterns are positioned symmetrically on either side of the diagonal\n * running from the top left corner of the symbol to the bottom right corner.\n *\n * Since positions are simmetrical only half of the coordinates are returned.\n * Each item of the array will represent in turn the x and y coordinate.\n * @see {@link getPositions}\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinate\n */\nexports.getRowColCoords = function getRowColCoords(version) {\n if (version === 1) return [];\n const posCount = Math.floor(version / 7) + 2;\n const size = getSymbolSize(version);\n const intervals = size === 145 ? 26 : Math.ceil((size - 13) / (2 * posCount - 2)) * 2;\n const positions = [size - 7]; // Last coord is always (size - 7)\n\n for (let i = 1; i < posCount - 1; i++) {\n positions[i] = positions[i - 1] - intervals;\n }\n positions.push(6); // First coord is always 6\n\n return positions.reverse();\n};\n\n/**\n * Returns an array containing the positions of each alignment pattern.\n * Each array's element represent the center point of the pattern as (x, y) coordinates\n *\n * Coordinates are calculated expanding the row/column coordinates returned by {@link getRowColCoords}\n * and filtering out the items that overlaps with finder pattern\n *\n * @example\n * For a Version 7 symbol {@link getRowColCoords} returns values 6, 22 and 38.\n * The alignment patterns, therefore, are to be centered on (row, column)\n * positions (6,22), (22,6), (22,22), (22,38), (38,22), (38,38).\n * Note that the coordinates (6,6), (6,38), (38,6) are occupied by finder patterns\n * and are not therefore used for alignment patterns.\n *\n * let pos = getPositions(7)\n * // [[6,22], [22,6], [22,22], [22,38], [38,22], [38,38]]\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinates\n */\nexports.getPositions = function getPositions(version) {\n const coords = [];\n const pos = exports.getRowColCoords(version);\n const posLength = pos.length;\n for (let i = 0; i < posLength; i++) {\n for (let j = 0; j < posLength; j++) {\n // Skip if position is occupied by finder patterns\n if (i === 0 && j === 0 ||\n // top-left\n i === 0 && j === posLength - 1 ||\n // bottom-left\n i === posLength - 1 && j === 0) {\n // top-right\n continue;\n }\n coords.push([pos[i], pos[j]]);\n }\n }\n return coords;\n};","const getSymbolSize = require('./utils').getSymbolSize;\nconst FINDER_PATTERN_SIZE = 7;\n\n/**\n * Returns an array containing the positions of each finder pattern.\n * Each array's element represent the top-left point of the pattern as (x, y) coordinates\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinates\n */\nexports.getPositions = function getPositions(version) {\n const size = getSymbolSize(version);\n return [\n // top-left\n [0, 0],\n // top-right\n [size - FINDER_PATTERN_SIZE, 0],\n // bottom-left\n [0, size - FINDER_PATTERN_SIZE]];\n};","/**\n * Data mask pattern reference\n * @type {Object}\n */\nexports.Patterns = {\n PATTERN000: 0,\n PATTERN001: 1,\n PATTERN010: 2,\n PATTERN011: 3,\n PATTERN100: 4,\n PATTERN101: 5,\n PATTERN110: 6,\n PATTERN111: 7\n};\n\n/**\n * Weighted penalty scores for the undesirable features\n * @type {Object}\n */\nconst PenaltyScores = {\n N1: 3,\n N2: 3,\n N3: 40,\n N4: 10\n};\n\n/**\n * Check if mask pattern value is valid\n *\n * @param {Number} mask Mask pattern\n * @return {Boolean} true if valid, false otherwise\n */\nexports.isValid = function isValid(mask) {\n return mask != null && mask !== '' && !isNaN(mask) && mask >= 0 && mask <= 7;\n};\n\n/**\n * Returns mask pattern from a value.\n * If value is not valid, returns undefined\n *\n * @param {Number|String} value Mask pattern value\n * @return {Number} Valid mask pattern or undefined\n */\nexports.from = function from(value) {\n return exports.isValid(value) ? parseInt(value, 10) : undefined;\n};\n\n/**\n* Find adjacent modules in row/column with the same color\n* and assign a penalty value.\n*\n* Points: N1 + i\n* i is the amount by which the number of adjacent modules of the same color exceeds 5\n*/\nexports.getPenaltyN1 = function getPenaltyN1(data) {\n const size = data.size;\n let points = 0;\n let sameCountCol = 0;\n let sameCountRow = 0;\n let lastCol = null;\n let lastRow = null;\n for (let row = 0; row < size; row++) {\n sameCountCol = sameCountRow = 0;\n lastCol = lastRow = null;\n for (let col = 0; col < size; col++) {\n let module = data.get(row, col);\n if (module === lastCol) {\n sameCountCol++;\n } else {\n if (sameCountCol >= 5) points += PenaltyScores.N1 + (sameCountCol - 5);\n lastCol = module;\n sameCountCol = 1;\n }\n module = data.get(col, row);\n if (module === lastRow) {\n sameCountRow++;\n } else {\n if (sameCountRow >= 5) points += PenaltyScores.N1 + (sameCountRow - 5);\n lastRow = module;\n sameCountRow = 1;\n }\n }\n if (sameCountCol >= 5) points += PenaltyScores.N1 + (sameCountCol - 5);\n if (sameCountRow >= 5) points += PenaltyScores.N1 + (sameCountRow - 5);\n }\n return points;\n};\n\n/**\n * Find 2x2 blocks with the same color and assign a penalty value\n *\n * Points: N2 * (m - 1) * (n - 1)\n */\nexports.getPenaltyN2 = function getPenaltyN2(data) {\n const size = data.size;\n let points = 0;\n for (let row = 0; row < size - 1; row++) {\n for (let col = 0; col < size - 1; col++) {\n const last = data.get(row, col) + data.get(row, col + 1) + data.get(row + 1, col) + data.get(row + 1, col + 1);\n if (last === 4 || last === 0) points++;\n }\n }\n return points * PenaltyScores.N2;\n};\n\n/**\n * Find 1:1:3:1:1 ratio (dark:light:dark:light:dark) pattern in row/column,\n * preceded or followed by light area 4 modules wide\n *\n * Points: N3 * number of pattern found\n */\nexports.getPenaltyN3 = function getPenaltyN3(data) {\n const size = data.size;\n let points = 0;\n let bitsCol = 0;\n let bitsRow = 0;\n for (let row = 0; row < size; row++) {\n bitsCol = bitsRow = 0;\n for (let col = 0; col < size; col++) {\n bitsCol = bitsCol << 1 & 0x7FF | data.get(row, col);\n if (col >= 10 && (bitsCol === 0x5D0 || bitsCol === 0x05D)) points++;\n bitsRow = bitsRow << 1 & 0x7FF | data.get(col, row);\n if (col >= 10 && (bitsRow === 0x5D0 || bitsRow === 0x05D)) points++;\n }\n }\n return points * PenaltyScores.N3;\n};\n\n/**\n * Calculate proportion of dark modules in entire symbol\n *\n * Points: N4 * k\n *\n * k is the rating of the deviation of the proportion of dark modules\n * in the symbol from 50% in steps of 5%\n */\nexports.getPenaltyN4 = function getPenaltyN4(data) {\n let darkCount = 0;\n const modulesCount = data.data.length;\n for (let i = 0; i < modulesCount; i++) darkCount += data.data[i];\n const k = Math.abs(Math.ceil(darkCount * 100 / modulesCount / 5) - 10);\n return k * PenaltyScores.N4;\n};\n\n/**\n * Return mask value at given position\n *\n * @param {Number} maskPattern Pattern reference value\n * @param {Number} i Row\n * @param {Number} j Column\n * @return {Boolean} Mask value\n */\nfunction getMaskAt(maskPattern, i, j) {\n switch (maskPattern) {\n case exports.Patterns.PATTERN000:\n return (i + j) % 2 === 0;\n case exports.Patterns.PATTERN001:\n return i % 2 === 0;\n case exports.Patterns.PATTERN010:\n return j % 3 === 0;\n case exports.Patterns.PATTERN011:\n return (i + j) % 3 === 0;\n case exports.Patterns.PATTERN100:\n return (Math.floor(i / 2) + Math.floor(j / 3)) % 2 === 0;\n case exports.Patterns.PATTERN101:\n return i * j % 2 + i * j % 3 === 0;\n case exports.Patterns.PATTERN110:\n return (i * j % 2 + i * j % 3) % 2 === 0;\n case exports.Patterns.PATTERN111:\n return (i * j % 3 + (i + j) % 2) % 2 === 0;\n default:\n throw new Error('bad maskPattern:' + maskPattern);\n }\n}\n\n/**\n * Apply a mask pattern to a BitMatrix\n *\n * @param {Number} pattern Pattern reference number\n * @param {BitMatrix} data BitMatrix data\n */\nexports.applyMask = function applyMask(pattern, data) {\n const size = data.size;\n for (let col = 0; col < size; col++) {\n for (let row = 0; row < size; row++) {\n if (data.isReserved(row, col)) continue;\n data.xor(row, col, getMaskAt(pattern, row, col));\n }\n }\n};\n\n/**\n * Returns the best mask pattern for data\n *\n * @param {BitMatrix} data\n * @return {Number} Mask pattern reference number\n */\nexports.getBestMask = function getBestMask(data, setupFormatFunc) {\n const numPatterns = Object.keys(exports.Patterns).length;\n let bestPattern = 0;\n let lowerPenalty = Infinity;\n for (let p = 0; p < numPatterns; p++) {\n setupFormatFunc(p);\n exports.applyMask(p, data);\n\n // Calculate penalty\n const penalty = exports.getPenaltyN1(data) + exports.getPenaltyN2(data) + exports.getPenaltyN3(data) + exports.getPenaltyN4(data);\n\n // Undo previously applied mask\n exports.applyMask(p, data);\n if (penalty < lowerPenalty) {\n lowerPenalty = penalty;\n bestPattern = p;\n }\n }\n return bestPattern;\n};","const ECLevel = require('./error-correction-level');\nconst EC_BLOCKS_TABLE = [\n// L M Q H\n1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 2, 2, 4, 1, 2, 4, 4, 2, 4, 4, 4, 2, 4, 6, 5, 2, 4, 6, 6, 2, 5, 8, 8, 4, 5, 8, 8, 4, 5, 8, 11, 4, 8, 10, 11, 4, 9, 12, 16, 4, 9, 16, 16, 6, 10, 12, 18, 6, 10, 17, 16, 6, 11, 16, 19, 6, 13, 18, 21, 7, 14, 21, 25, 8, 16, 20, 25, 8, 17, 23, 25, 9, 17, 23, 34, 9, 18, 25, 30, 10, 20, 27, 32, 12, 21, 29, 35, 12, 23, 34, 37, 12, 25, 34, 40, 13, 26, 35, 42, 14, 28, 38, 45, 15, 29, 40, 48, 16, 31, 43, 51, 17, 33, 45, 54, 18, 35, 48, 57, 19, 37, 51, 60, 19, 38, 53, 63, 20, 40, 56, 66, 21, 43, 59, 70, 22, 45, 62, 74, 24, 47, 65, 77, 25, 49, 68, 81];\nconst EC_CODEWORDS_TABLE = [\n// L M Q H\n7, 10, 13, 17, 10, 16, 22, 28, 15, 26, 36, 44, 20, 36, 52, 64, 26, 48, 72, 88, 36, 64, 96, 112, 40, 72, 108, 130, 48, 88, 132, 156, 60, 110, 160, 192, 72, 130, 192, 224, 80, 150, 224, 264, 96, 176, 260, 308, 104, 198, 288, 352, 120, 216, 320, 384, 132, 240, 360, 432, 144, 280, 408, 480, 168, 308, 448, 532, 180, 338, 504, 588, 196, 364, 546, 650, 224, 416, 600, 700, 224, 442, 644, 750, 252, 476, 690, 816, 270, 504, 750, 900, 300, 560, 810, 960, 312, 588, 870, 1050, 336, 644, 952, 1110, 360, 700, 1020, 1200, 390, 728, 1050, 1260, 420, 784, 1140, 1350, 450, 812, 1200, 1440, 480, 868, 1290, 1530, 510, 924, 1350, 1620, 540, 980, 1440, 1710, 570, 1036, 1530, 1800, 570, 1064, 1590, 1890, 600, 1120, 1680, 1980, 630, 1204, 1770, 2100, 660, 1260, 1860, 2220, 720, 1316, 1950, 2310, 750, 1372, 2040, 2430];\n\n/**\r\n * Returns the number of error correction block that the QR Code should contain\r\n * for the specified version and error correction level.\r\n *\r\n * @param {Number} version QR Code version\r\n * @param {Number} errorCorrectionLevel Error correction level\r\n * @return {Number} Number of error correction blocks\r\n */\nexports.getBlocksCount = function getBlocksCount(version, errorCorrectionLevel) {\n switch (errorCorrectionLevel) {\n case ECLevel.L:\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 0];\n case ECLevel.M:\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 1];\n case ECLevel.Q:\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 2];\n case ECLevel.H:\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 3];\n default:\n return undefined;\n }\n};\n\n/**\r\n * Returns the number of error correction codewords to use for the specified\r\n * version and error correction level.\r\n *\r\n * @param {Number} version QR Code version\r\n * @param {Number} errorCorrectionLevel Error correction level\r\n * @return {Number} Number of error correction codewords\r\n */\nexports.getTotalCodewordsCount = function getTotalCodewordsCount(version, errorCorrectionLevel) {\n switch (errorCorrectionLevel) {\n case ECLevel.L:\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 0];\n case ECLevel.M:\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 1];\n case ECLevel.Q:\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 2];\n case ECLevel.H:\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 3];\n default:\n return undefined;\n }\n};","const EXP_TABLE = new Uint8Array(512);\nconst LOG_TABLE = new Uint8Array(256)\n/**\n * Precompute the log and anti-log tables for faster computation later\n *\n * For each possible value in the galois field 2^8, we will pre-compute\n * the logarithm and anti-logarithm (exponential) of this value\n *\n * ref {@link https://en.wikiversity.org/wiki/Reed%E2%80%93Solomon_codes_for_coders#Introduction_to_mathematical_fields}\n */;\n(function initTables() {\n let x = 1;\n for (let i = 0; i < 255; i++) {\n EXP_TABLE[i] = x;\n LOG_TABLE[x] = i;\n x <<= 1; // multiply by 2\n\n // The QR code specification says to use byte-wise modulo 100011101 arithmetic.\n // This means that when a number is 256 or larger, it should be XORed with 0x11D.\n if (x & 0x100) {\n // similar to x >= 256, but a lot faster (because 0x100 == 256)\n x ^= 0x11D;\n }\n }\n\n // Optimization: double the size of the anti-log table so that we don't need to mod 255 to\n // stay inside the bounds (because we will mainly use this table for the multiplication of\n // two GF numbers, no more).\n // @see {@link mul}\n for (let i = 255; i < 512; i++) {\n EXP_TABLE[i] = EXP_TABLE[i - 255];\n }\n})();\n\n/**\n * Returns log value of n inside Galois Field\n *\n * @param {Number} n\n * @return {Number}\n */\nexports.log = function log(n) {\n if (n < 1) throw new Error('log(' + n + ')');\n return LOG_TABLE[n];\n};\n\n/**\n * Returns anti-log value of n inside Galois Field\n *\n * @param {Number} n\n * @return {Number}\n */\nexports.exp = function exp(n) {\n return EXP_TABLE[n];\n};\n\n/**\n * Multiplies two number inside Galois Field\n *\n * @param {Number} x\n * @param {Number} y\n * @return {Number}\n */\nexports.mul = function mul(x, y) {\n if (x === 0 || y === 0) return 0;\n\n // should be EXP_TABLE[(LOG_TABLE[x] + LOG_TABLE[y]) % 255] if EXP_TABLE wasn't oversized\n // @see {@link initTables}\n return EXP_TABLE[LOG_TABLE[x] + LOG_TABLE[y]];\n};","const GF = require('./galois-field');\n\n/**\n * Multiplies two polynomials inside Galois Field\n *\n * @param {Uint8Array} p1 Polynomial\n * @param {Uint8Array} p2 Polynomial\n * @return {Uint8Array} Product of p1 and p2\n */\nexports.mul = function mul(p1, p2) {\n const coeff = new Uint8Array(p1.length + p2.length - 1);\n for (let i = 0; i < p1.length; i++) {\n for (let j = 0; j < p2.length; j++) {\n coeff[i + j] ^= GF.mul(p1[i], p2[j]);\n }\n }\n return coeff;\n};\n\n/**\n * Calculate the remainder of polynomials division\n *\n * @param {Uint8Array} divident Polynomial\n * @param {Uint8Array} divisor Polynomial\n * @return {Uint8Array} Remainder\n */\nexports.mod = function mod(divident, divisor) {\n let result = new Uint8Array(divident);\n while (result.length - divisor.length >= 0) {\n const coeff = result[0];\n for (let i = 0; i < divisor.length; i++) {\n result[i] ^= GF.mul(divisor[i], coeff);\n }\n\n // remove all zeros from buffer head\n let offset = 0;\n while (offset < result.length && result[offset] === 0) offset++;\n result = result.slice(offset);\n }\n return result;\n};\n\n/**\n * Generate an irreducible generator polynomial of specified degree\n * (used by Reed-Solomon encoder)\n *\n * @param {Number} degree Degree of the generator polynomial\n * @return {Uint8Array} Buffer containing polynomial coefficients\n */\nexports.generateECPolynomial = function generateECPolynomial(degree) {\n let poly = new Uint8Array([1]);\n for (let i = 0; i < degree; i++) {\n poly = exports.mul(poly, new Uint8Array([1, GF.exp(i)]));\n }\n return poly;\n};","const Polynomial = require('./polynomial');\nfunction ReedSolomonEncoder(degree) {\n this.genPoly = undefined;\n this.degree = degree;\n if (this.degree) this.initialize(this.degree);\n}\n\n/**\n * Initialize the encoder.\n * The input param should correspond to the number of error correction codewords.\n *\n * @param {Number} degree\n */\nReedSolomonEncoder.prototype.initialize = function initialize(degree) {\n // create an irreducible generator polynomial\n this.degree = degree;\n this.genPoly = Polynomial.generateECPolynomial(this.degree);\n};\n\n/**\n * Encodes a chunk of data\n *\n * @param {Uint8Array} data Buffer containing input data\n * @return {Uint8Array} Buffer containing encoded data\n */\nReedSolomonEncoder.prototype.encode = function encode(data) {\n if (!this.genPoly) {\n throw new Error('Encoder not initialized');\n }\n\n // Calculate EC for this data block\n // extends data size to data+genPoly size\n const paddedData = new Uint8Array(data.length + this.degree);\n paddedData.set(data);\n\n // The error correction codewords are the remainder after dividing the data codewords\n // by a generator polynomial\n const remainder = Polynomial.mod(paddedData, this.genPoly);\n\n // return EC data blocks (last n byte, where n is the degree of genPoly)\n // If coefficients number in remainder are less than genPoly degree,\n // pad with 0s to the left to reach the needed number of coefficients\n const start = this.degree - remainder.length;\n if (start > 0) {\n const buff = new Uint8Array(this.degree);\n buff.set(remainder, start);\n return buff;\n }\n return remainder;\n};\nmodule.exports = ReedSolomonEncoder;","/**\n * Check if QR Code version is valid\n *\n * @param {Number} version QR Code version\n * @return {Boolean} true if valid version, false otherwise\n */\nexports.isValid = function isValid(version) {\n return !isNaN(version) && version >= 1 && version <= 40;\n};","const numeric = '[0-9]+';\nconst alphanumeric = '[A-Z $%*+\\\\-./:]+';\nlet kanji = '(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|' + '[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|' + '[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|' + '[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+';\nkanji = kanji.replace(/u/g, '\\\\u');\nconst byte = '(?:(?![A-Z0-9 $%*+\\\\-./:]|' + kanji + ')(?:.|[\\r\\n]))+';\nexports.KANJI = new RegExp(kanji, 'g');\nexports.BYTE_KANJI = new RegExp('[^A-Z0-9 $%*+\\\\-./:]+', 'g');\nexports.BYTE = new RegExp(byte, 'g');\nexports.NUMERIC = new RegExp(numeric, 'g');\nexports.ALPHANUMERIC = new RegExp(alphanumeric, 'g');\nconst TEST_KANJI = new RegExp('^' + kanji + '$');\nconst TEST_NUMERIC = new RegExp('^' + numeric + '$');\nconst TEST_ALPHANUMERIC = new RegExp('^[A-Z0-9 $%*+\\\\-./:]+$');\nexports.testKanji = function testKanji(str) {\n return TEST_KANJI.test(str);\n};\nexports.testNumeric = function testNumeric(str) {\n return TEST_NUMERIC.test(str);\n};\nexports.testAlphanumeric = function testAlphanumeric(str) {\n return TEST_ALPHANUMERIC.test(str);\n};","const VersionCheck = require('./version-check');\nconst Regex = require('./regex');\n\n/**\n * Numeric mode encodes data from the decimal digit set (0 - 9)\n * (byte values 30HEX to 39HEX).\n * Normally, 3 data characters are represented by 10 bits.\n *\n * @type {Object}\n */\nexports.NUMERIC = {\n id: 'Numeric',\n bit: 1 << 0,\n ccBits: [10, 12, 14]\n};\n\n/**\n * Alphanumeric mode encodes data from a set of 45 characters,\n * i.e. 10 numeric digits (0 - 9),\n * 26 alphabetic characters (A - Z),\n * and 9 symbols (SP, $, %, *, +, -, ., /, :).\n * Normally, two input characters are represented by 11 bits.\n *\n * @type {Object}\n */\nexports.ALPHANUMERIC = {\n id: 'Alphanumeric',\n bit: 1 << 1,\n ccBits: [9, 11, 13]\n};\n\n/**\n * In byte mode, data is encoded at 8 bits per character.\n *\n * @type {Object}\n */\nexports.BYTE = {\n id: 'Byte',\n bit: 1 << 2,\n ccBits: [8, 16, 16]\n};\n\n/**\n * The Kanji mode efficiently encodes Kanji characters in accordance with\n * the Shift JIS system based on JIS X 0208.\n * The Shift JIS values are shifted from the JIS X 0208 values.\n * JIS X 0208 gives details of the shift coded representation.\n * Each two-byte character value is compacted to a 13-bit binary codeword.\n *\n * @type {Object}\n */\nexports.KANJI = {\n id: 'Kanji',\n bit: 1 << 3,\n ccBits: [8, 10, 12]\n};\n\n/**\n * Mixed mode will contain a sequences of data in a combination of any of\n * the modes described above\n *\n * @type {Object}\n */\nexports.MIXED = {\n bit: -1\n};\n\n/**\n * Returns the number of bits needed to store the data length\n * according to QR Code specifications.\n *\n * @param {Mode} mode Data mode\n * @param {Number} version QR Code version\n * @return {Number} Number of bits\n */\nexports.getCharCountIndicator = function getCharCountIndicator(mode, version) {\n if (!mode.ccBits) throw new Error('Invalid mode: ' + mode);\n if (!VersionCheck.isValid(version)) {\n throw new Error('Invalid version: ' + version);\n }\n if (version >= 1 && version < 10) return mode.ccBits[0];else if (version < 27) return mode.ccBits[1];\n return mode.ccBits[2];\n};\n\n/**\n * Returns the most efficient mode to store the specified data\n *\n * @param {String} dataStr Input data string\n * @return {Mode} Best mode\n */\nexports.getBestModeForData = function getBestModeForData(dataStr) {\n if (Regex.testNumeric(dataStr)) return exports.NUMERIC;else if (Regex.testAlphanumeric(dataStr)) return exports.ALPHANUMERIC;else if (Regex.testKanji(dataStr)) return exports.KANJI;else return exports.BYTE;\n};\n\n/**\n * Return mode name as string\n *\n * @param {Mode} mode Mode object\n * @returns {String} Mode name\n */\nexports.toString = function toString(mode) {\n if (mode && mode.id) return mode.id;\n throw new Error('Invalid mode');\n};\n\n/**\n * Check if input param is a valid mode object\n *\n * @param {Mode} mode Mode object\n * @returns {Boolean} True if valid mode, false otherwise\n */\nexports.isValid = function isValid(mode) {\n return mode && mode.bit && mode.ccBits;\n};\n\n/**\n * Get mode object from its name\n *\n * @param {String} string Mode name\n * @returns {Mode} Mode object\n */\nfunction fromString(string) {\n if (typeof string !== 'string') {\n throw new Error('Param is not a string');\n }\n const lcStr = string.toLowerCase();\n switch (lcStr) {\n case 'numeric':\n return exports.NUMERIC;\n case 'alphanumeric':\n return exports.ALPHANUMERIC;\n case 'kanji':\n return exports.KANJI;\n case 'byte':\n return exports.BYTE;\n default:\n throw new Error('Unknown mode: ' + string);\n }\n}\n\n/**\n * Returns mode from a value.\n * If value is not a valid mode, returns defaultValue\n *\n * @param {Mode|String} value Encoding mode\n * @param {Mode} defaultValue Fallback value\n * @return {Mode} Encoding mode\n */\nexports.from = function from(value, defaultValue) {\n if (exports.isValid(value)) {\n return value;\n }\n try {\n return fromString(value);\n } catch (e) {\n return defaultValue;\n }\n};","const Utils = require('./utils');\nconst ECCode = require('./error-correction-code');\nconst ECLevel = require('./error-correction-level');\nconst Mode = require('./mode');\nconst VersionCheck = require('./version-check');\n\n// Generator polynomial used to encode version information\nconst G18 = 1 << 12 | 1 << 11 | 1 << 10 | 1 << 9 | 1 << 8 | 1 << 5 | 1 << 2 | 1 << 0;\nconst G18_BCH = Utils.getBCHDigit(G18);\nfunction getBestVersionForDataLength(mode, length, errorCorrectionLevel) {\n for (let currentVersion = 1; currentVersion <= 40; currentVersion++) {\n if (length <= exports.getCapacity(currentVersion, errorCorrectionLevel, mode)) {\n return currentVersion;\n }\n }\n return undefined;\n}\nfunction getReservedBitsCount(mode, version) {\n // Character count indicator + mode indicator bits\n return Mode.getCharCountIndicator(mode, version) + 4;\n}\nfunction getTotalBitsFromDataArray(segments, version) {\n let totalBits = 0;\n segments.forEach(function (data) {\n const reservedBits = getReservedBitsCount(data.mode, version);\n totalBits += reservedBits + data.getBitsLength();\n });\n return totalBits;\n}\nfunction getBestVersionForMixedData(segments, errorCorrectionLevel) {\n for (let currentVersion = 1; currentVersion <= 40; currentVersion++) {\n const length = getTotalBitsFromDataArray(segments, currentVersion);\n if (length <= exports.getCapacity(currentVersion, errorCorrectionLevel, Mode.MIXED)) {\n return currentVersion;\n }\n }\n return undefined;\n}\n\n/**\n * Returns version number from a value.\n * If value is not a valid version, returns defaultValue\n *\n * @param {Number|String} value QR Code version\n * @param {Number} defaultValue Fallback value\n * @return {Number} QR Code version number\n */\nexports.from = function from(value, defaultValue) {\n if (VersionCheck.isValid(value)) {\n return parseInt(value, 10);\n }\n return defaultValue;\n};\n\n/**\n * Returns how much data can be stored with the specified QR code version\n * and error correction level\n *\n * @param {Number} version QR Code version (1-40)\n * @param {Number} errorCorrectionLevel Error correction level\n * @param {Mode} mode Data mode\n * @return {Number} Quantity of storable data\n */\nexports.getCapacity = function getCapacity(version, errorCorrectionLevel, mode) {\n if (!VersionCheck.isValid(version)) {\n throw new Error('Invalid QR Code version');\n }\n\n // Use Byte mode as default\n if (typeof mode === 'undefined') mode = Mode.BYTE;\n\n // Total codewords for this QR code version (Data + Error correction)\n const totalCodewords = Utils.getSymbolTotalCodewords(version);\n\n // Total number of error correction codewords\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel);\n\n // Total number of data codewords\n const dataTotalCodewordsBits = (totalCodewords - ecTotalCodewords) * 8;\n if (mode === Mode.MIXED) return dataTotalCodewordsBits;\n const usableBits = dataTotalCodewordsBits - getReservedBitsCount(mode, version);\n\n // Return max number of storable codewords\n switch (mode) {\n case Mode.NUMERIC:\n return Math.floor(usableBits / 10 * 3);\n case Mode.ALPHANUMERIC:\n return Math.floor(usableBits / 11 * 2);\n case Mode.KANJI:\n return Math.floor(usableBits / 13);\n case Mode.BYTE:\n default:\n return Math.floor(usableBits / 8);\n }\n};\n\n/**\n * Returns the minimum version needed to contain the amount of data\n *\n * @param {Segment} data Segment of data\n * @param {Number} [errorCorrectionLevel=H] Error correction level\n * @param {Mode} mode Data mode\n * @return {Number} QR Code version\n */\nexports.getBestVersionForData = function getBestVersionForData(data, errorCorrectionLevel) {\n let seg;\n const ecl = ECLevel.from(errorCorrectionLevel, ECLevel.M);\n if (Array.isArray(data)) {\n if (data.length > 1) {\n return getBestVersionForMixedData(data, ecl);\n }\n if (data.length === 0) {\n return 1;\n }\n seg = data[0];\n } else {\n seg = data;\n }\n return getBestVersionForDataLength(seg.mode, seg.getLength(), ecl);\n};\n\n/**\n * Returns version information with relative error correction bits\n *\n * The version information is included in QR Code symbols of version 7 or larger.\n * It consists of an 18-bit sequence containing 6 data bits,\n * with 12 error correction bits calculated using the (18, 6) Golay code.\n *\n * @param {Number} version QR Code version\n * @return {Number} Encoded version info bits\n */\nexports.getEncodedBits = function getEncodedBits(version) {\n if (!VersionCheck.isValid(version) || version < 7) {\n throw new Error('Invalid QR Code version');\n }\n let d = version << 12;\n while (Utils.getBCHDigit(d) - G18_BCH >= 0) {\n d ^= G18 << Utils.getBCHDigit(d) - G18_BCH;\n }\n return version << 12 | d;\n};","const Utils = require('./utils');\nconst G15 = 1 << 10 | 1 << 8 | 1 << 5 | 1 << 4 | 1 << 2 | 1 << 1 | 1 << 0;\nconst G15_MASK = 1 << 14 | 1 << 12 | 1 << 10 | 1 << 4 | 1 << 1;\nconst G15_BCH = Utils.getBCHDigit(G15);\n\n/**\n * Returns format information with relative error correction bits\n *\n * The format information is a 15-bit sequence containing 5 data bits,\n * with 10 error correction bits calculated using the (15, 5) BCH code.\n *\n * @param {Number} errorCorrectionLevel Error correction level\n * @param {Number} mask Mask pattern\n * @return {Number} Encoded format information bits\n */\nexports.getEncodedBits = function getEncodedBits(errorCorrectionLevel, mask) {\n const data = errorCorrectionLevel.bit << 3 | mask;\n let d = data << 10;\n while (Utils.getBCHDigit(d) - G15_BCH >= 0) {\n d ^= G15 << Utils.getBCHDigit(d) - G15_BCH;\n }\n\n // xor final data with mask pattern in order to ensure that\n // no combination of Error Correction Level and data mask pattern\n // will result in an all-zero data string\n return (data << 10 | d) ^ G15_MASK;\n};","const Mode = require('./mode');\nfunction NumericData(data) {\n this.mode = Mode.NUMERIC;\n this.data = data.toString();\n}\nNumericData.getBitsLength = function getBitsLength(length) {\n return 10 * Math.floor(length / 3) + (length % 3 ? length % 3 * 3 + 1 : 0);\n};\nNumericData.prototype.getLength = function getLength() {\n return this.data.length;\n};\nNumericData.prototype.getBitsLength = function getBitsLength() {\n return NumericData.getBitsLength(this.data.length);\n};\nNumericData.prototype.write = function write(bitBuffer) {\n let i, group, value;\n\n // The input data string is divided into groups of three digits,\n // and each group is converted to its 10-bit binary equivalent.\n for (i = 0; i + 3 <= this.data.length; i += 3) {\n group = this.data.substr(i, 3);\n value = parseInt(group, 10);\n bitBuffer.put(value, 10);\n }\n\n // If the number of input digits is not an exact multiple of three,\n // the final one or two digits are converted to 4 or 7 bits respectively.\n const remainingNum = this.data.length - i;\n if (remainingNum > 0) {\n group = this.data.substr(i);\n value = parseInt(group, 10);\n bitBuffer.put(value, remainingNum * 3 + 1);\n }\n};\nmodule.exports = NumericData;","const Mode = require('./mode');\n\n/**\n * Array of characters available in alphanumeric mode\n *\n * As per QR Code specification, to each character\n * is assigned a value from 0 to 44 which in this case coincides\n * with the array index\n *\n * @type {Array}\n */\nconst ALPHA_NUM_CHARS = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', ' ', '$', '%', '*', '+', '-', '.', '/', ':'];\nfunction AlphanumericData(data) {\n this.mode = Mode.ALPHANUMERIC;\n this.data = data;\n}\nAlphanumericData.getBitsLength = function getBitsLength(length) {\n return 11 * Math.floor(length / 2) + 6 * (length % 2);\n};\nAlphanumericData.prototype.getLength = function getLength() {\n return this.data.length;\n};\nAlphanumericData.prototype.getBitsLength = function getBitsLength() {\n return AlphanumericData.getBitsLength(this.data.length);\n};\nAlphanumericData.prototype.write = function write(bitBuffer) {\n let i;\n\n // Input data characters are divided into groups of two characters\n // and encoded as 11-bit binary codes.\n for (i = 0; i + 2 <= this.data.length; i += 2) {\n // The character value of the first character is multiplied by 45\n let value = ALPHA_NUM_CHARS.indexOf(this.data[i]) * 45;\n\n // The character value of the second digit is added to the product\n value += ALPHA_NUM_CHARS.indexOf(this.data[i + 1]);\n\n // The sum is then stored as 11-bit binary number\n bitBuffer.put(value, 11);\n }\n\n // If the number of input data characters is not a multiple of two,\n // the character value of the final character is encoded as a 6-bit binary number.\n if (this.data.length % 2) {\n bitBuffer.put(ALPHA_NUM_CHARS.indexOf(this.data[i]), 6);\n }\n};\nmodule.exports = AlphanumericData;","const encodeUtf8 = require('encode-utf8');\nconst Mode = require('./mode');\nfunction ByteData(data) {\n this.mode = Mode.BYTE;\n if (typeof data === 'string') {\n data = encodeUtf8(data);\n }\n this.data = new Uint8Array(data);\n}\nByteData.getBitsLength = function getBitsLength(length) {\n return length * 8;\n};\nByteData.prototype.getLength = function getLength() {\n return this.data.length;\n};\nByteData.prototype.getBitsLength = function getBitsLength() {\n return ByteData.getBitsLength(this.data.length);\n};\nByteData.prototype.write = function (bitBuffer) {\n for (let i = 0, l = this.data.length; i < l; i++) {\n bitBuffer.put(this.data[i], 8);\n }\n};\nmodule.exports = ByteData;","const Mode = require('./mode');\nconst Utils = require('./utils');\nfunction KanjiData(data) {\n this.mode = Mode.KANJI;\n this.data = data;\n}\nKanjiData.getBitsLength = function getBitsLength(length) {\n return length * 13;\n};\nKanjiData.prototype.getLength = function getLength() {\n return this.data.length;\n};\nKanjiData.prototype.getBitsLength = function getBitsLength() {\n return KanjiData.getBitsLength(this.data.length);\n};\nKanjiData.prototype.write = function (bitBuffer) {\n let i;\n\n // In the Shift JIS system, Kanji characters are represented by a two byte combination.\n // These byte values are shifted from the JIS X 0208 values.\n // JIS X 0208 gives details of the shift coded representation.\n for (i = 0; i < this.data.length; i++) {\n let value = Utils.toSJIS(this.data[i]);\n\n // For characters with Shift JIS values from 0x8140 to 0x9FFC:\n if (value >= 0x8140 && value <= 0x9FFC) {\n // Subtract 0x8140 from Shift JIS value\n value -= 0x8140;\n\n // For characters with Shift JIS values from 0xE040 to 0xEBBF\n } else if (value >= 0xE040 && value <= 0xEBBF) {\n // Subtract 0xC140 from Shift JIS value\n value -= 0xC140;\n } else {\n throw new Error('Invalid SJIS character: ' + this.data[i] + '\\n' + 'Make sure your charset is UTF-8');\n }\n\n // Multiply most significant byte of result by 0xC0\n // and add least significant byte to product\n value = (value >>> 8 & 0xff) * 0xC0 + (value & 0xff);\n\n // Convert result to a 13-bit binary string\n bitBuffer.put(value, 13);\n }\n};\nmodule.exports = KanjiData;","const Mode = require('./mode');\nconst NumericData = require('./numeric-data');\nconst AlphanumericData = require('./alphanumeric-data');\nconst ByteData = require('./byte-data');\nconst KanjiData = require('./kanji-data');\nconst Regex = require('./regex');\nconst Utils = require('./utils');\nconst dijkstra = require('dijkstrajs');\n\n/**\n * Returns UTF8 byte length\n *\n * @param {String} str Input string\n * @return {Number} Number of byte\n */\nfunction getStringByteLength(str) {\n return unescape(encodeURIComponent(str)).length;\n}\n\n/**\n * Get a list of segments of the specified mode\n * from a string\n *\n * @param {Mode} mode Segment mode\n * @param {String} str String to process\n * @return {Array} Array of object with segments data\n */\nfunction getSegments(regex, mode, str) {\n const segments = [];\n let result;\n while ((result = regex.exec(str)) !== null) {\n segments.push({\n data: result[0],\n index: result.index,\n mode: mode,\n length: result[0].length\n });\n }\n return segments;\n}\n\n/**\n * Extracts a series of segments with the appropriate\n * modes from a string\n *\n * @param {String} dataStr Input string\n * @return {Array} Array of object with segments data\n */\nfunction getSegmentsFromString(dataStr) {\n const numSegs = getSegments(Regex.NUMERIC, Mode.NUMERIC, dataStr);\n const alphaNumSegs = getSegments(Regex.ALPHANUMERIC, Mode.ALPHANUMERIC, dataStr);\n let byteSegs;\n let kanjiSegs;\n if (Utils.isKanjiModeEnabled()) {\n byteSegs = getSegments(Regex.BYTE, Mode.BYTE, dataStr);\n kanjiSegs = getSegments(Regex.KANJI, Mode.KANJI, dataStr);\n } else {\n byteSegs = getSegments(Regex.BYTE_KANJI, Mode.BYTE, dataStr);\n kanjiSegs = [];\n }\n const segs = numSegs.concat(alphaNumSegs, byteSegs, kanjiSegs);\n return segs.sort(function (s1, s2) {\n return s1.index - s2.index;\n }).map(function (obj) {\n return {\n data: obj.data,\n mode: obj.mode,\n length: obj.length\n };\n });\n}\n\n/**\n * Returns how many bits are needed to encode a string of\n * specified length with the specified mode\n *\n * @param {Number} length String length\n * @param {Mode} mode Segment mode\n * @return {Number} Bit length\n */\nfunction getSegmentBitsLength(length, mode) {\n switch (mode) {\n case Mode.NUMERIC:\n return NumericData.getBitsLength(length);\n case Mode.ALPHANUMERIC:\n return AlphanumericData.getBitsLength(length);\n case Mode.KANJI:\n return KanjiData.getBitsLength(length);\n case Mode.BYTE:\n return ByteData.getBitsLength(length);\n }\n}\n\n/**\n * Merges adjacent segments which have the same mode\n *\n * @param {Array} segs Array of object with segments data\n * @return {Array} Array of object with segments data\n */\nfunction mergeSegments(segs) {\n return segs.reduce(function (acc, curr) {\n const prevSeg = acc.length - 1 >= 0 ? acc[acc.length - 1] : null;\n if (prevSeg && prevSeg.mode === curr.mode) {\n acc[acc.length - 1].data += curr.data;\n return acc;\n }\n acc.push(curr);\n return acc;\n }, []);\n}\n\n/**\n * Generates a list of all possible nodes combination which\n * will be used to build a segments graph.\n *\n * Nodes are divided by groups. Each group will contain a list of all the modes\n * in which is possible to encode the given text.\n *\n * For example the text '12345' can be encoded as Numeric, Alphanumeric or Byte.\n * The group for '12345' will contain then 3 objects, one for each\n * possible encoding mode.\n *\n * Each node represents a possible segment.\n *\n * @param {Array} segs Array of object with segments data\n * @return {Array} Array of object with segments data\n */\nfunction buildNodes(segs) {\n const nodes = [];\n for (let i = 0; i < segs.length; i++) {\n const seg = segs[i];\n switch (seg.mode) {\n case Mode.NUMERIC:\n nodes.push([seg, {\n data: seg.data,\n mode: Mode.ALPHANUMERIC,\n length: seg.length\n }, {\n data: seg.data,\n mode: Mode.BYTE,\n length: seg.length\n }]);\n break;\n case Mode.ALPHANUMERIC:\n nodes.push([seg, {\n data: seg.data,\n mode: Mode.BYTE,\n length: seg.length\n }]);\n break;\n case Mode.KANJI:\n nodes.push([seg, {\n data: seg.data,\n mode: Mode.BYTE,\n length: getStringByteLength(seg.data)\n }]);\n break;\n case Mode.BYTE:\n nodes.push([{\n data: seg.data,\n mode: Mode.BYTE,\n length: getStringByteLength(seg.data)\n }]);\n }\n }\n return nodes;\n}\n\n/**\n * Builds a graph from a list of nodes.\n * All segments in each node group will be connected with all the segments of\n * the next group and so on.\n *\n * At each connection will be assigned a weight depending on the\n * segment's byte length.\n *\n * @param {Array} nodes Array of object with segments data\n * @param {Number} version QR Code version\n * @return {Object} Graph of all possible segments\n */\nfunction buildGraph(nodes, version) {\n const table = {};\n const graph = {\n start: {}\n };\n let prevNodeIds = ['start'];\n for (let i = 0; i < nodes.length; i++) {\n const nodeGroup = nodes[i];\n const currentNodeIds = [];\n for (let j = 0; j < nodeGroup.length; j++) {\n const node = nodeGroup[j];\n const key = '' + i + j;\n currentNodeIds.push(key);\n table[key] = {\n node: node,\n lastCount: 0\n };\n graph[key] = {};\n for (let n = 0; n < prevNodeIds.length; n++) {\n const prevNodeId = prevNodeIds[n];\n if (table[prevNodeId] && table[prevNodeId].node.mode === node.mode) {\n graph[prevNodeId][key] = getSegmentBitsLength(table[prevNodeId].lastCount + node.length, node.mode) - getSegmentBitsLength(table[prevNodeId].lastCount, node.mode);\n table[prevNodeId].lastCount += node.length;\n } else {\n if (table[prevNodeId]) table[prevNodeId].lastCount = node.length;\n graph[prevNodeId][key] = getSegmentBitsLength(node.length, node.mode) + 4 + Mode.getCharCountIndicator(node.mode, version); // switch cost\n }\n }\n }\n prevNodeIds = currentNodeIds;\n }\n for (let n = 0; n < prevNodeIds.length; n++) {\n graph[prevNodeIds[n]].end = 0;\n }\n return {\n map: graph,\n table: table\n };\n}\n\n/**\n * Builds a segment from a specified data and mode.\n * If a mode is not specified, the more suitable will be used.\n *\n * @param {String} data Input data\n * @param {Mode | String} modesHint Data mode\n * @return {Segment} Segment\n */\nfunction buildSingleSegment(data, modesHint) {\n let mode;\n const bestMode = Mode.getBestModeForData(data);\n mode = Mode.from(modesHint, bestMode);\n\n // Make sure data can be encoded\n if (mode !== Mode.BYTE && mode.bit < bestMode.bit) {\n throw new Error('\"' + data + '\"' + ' cannot be encoded with mode ' + Mode.toString(mode) + '.\\n Suggested mode is: ' + Mode.toString(bestMode));\n }\n\n // Use Mode.BYTE if Kanji support is disabled\n if (mode === Mode.KANJI && !Utils.isKanjiModeEnabled()) {\n mode = Mode.BYTE;\n }\n switch (mode) {\n case Mode.NUMERIC:\n return new NumericData(data);\n case Mode.ALPHANUMERIC:\n return new AlphanumericData(data);\n case Mode.KANJI:\n return new KanjiData(data);\n case Mode.BYTE:\n return new ByteData(data);\n }\n}\n\n/**\n * Builds a list of segments from an array.\n * Array can contain Strings or Objects with segment's info.\n *\n * For each item which is a string, will be generated a segment with the given\n * string and the more appropriate encoding mode.\n *\n * For each item which is an object, will be generated a segment with the given\n * data and mode.\n * Objects must contain at least the property \"data\".\n * If property \"mode\" is not present, the more suitable mode will be used.\n *\n * @param {Array} array Array of objects with segments data\n * @return {Array} Array of Segments\n */\nexports.fromArray = function fromArray(array) {\n return array.reduce(function (acc, seg) {\n if (typeof seg === 'string') {\n acc.push(buildSingleSegment(seg, null));\n } else if (seg.data) {\n acc.push(buildSingleSegment(seg.data, seg.mode));\n }\n return acc;\n }, []);\n};\n\n/**\n * Builds an optimized sequence of segments from a string,\n * which will produce the shortest possible bitstream.\n *\n * @param {String} data Input string\n * @param {Number} version QR Code version\n * @return {Array} Array of segments\n */\nexports.fromString = function fromString(data, version) {\n const segs = getSegmentsFromString(data, Utils.isKanjiModeEnabled());\n const nodes = buildNodes(segs);\n const graph = buildGraph(nodes, version);\n const path = dijkstra.find_path(graph.map, 'start', 'end');\n const optimizedSegs = [];\n for (let i = 1; i < path.length - 1; i++) {\n optimizedSegs.push(graph.table[path[i]].node);\n }\n return exports.fromArray(mergeSegments(optimizedSegs));\n};\n\n/**\n * Splits a string in various segments with the modes which\n * best represent their content.\n * The produced segments are far from being optimized.\n * The output of this function is only used to estimate a QR Code version\n * which may contain the data.\n *\n * @param {string} data Input string\n * @return {Array} Array of segments\n */\nexports.rawSplit = function rawSplit(data) {\n return exports.fromArray(getSegmentsFromString(data, Utils.isKanjiModeEnabled()));\n};","const Utils = require('./utils');\nconst ECLevel = require('./error-correction-level');\nconst BitBuffer = require('./bit-buffer');\nconst BitMatrix = require('./bit-matrix');\nconst AlignmentPattern = require('./alignment-pattern');\nconst FinderPattern = require('./finder-pattern');\nconst MaskPattern = require('./mask-pattern');\nconst ECCode = require('./error-correction-code');\nconst ReedSolomonEncoder = require('./reed-solomon-encoder');\nconst Version = require('./version');\nconst FormatInfo = require('./format-info');\nconst Mode = require('./mode');\nconst Segments = require('./segments');\n\n/**\n * QRCode for JavaScript\n *\n * modified by Ryan Day for nodejs support\n * Copyright (c) 2011 Ryan Day\n *\n * Licensed under the MIT license:\n * http://www.opensource.org/licenses/mit-license.php\n *\n//---------------------------------------------------------------------\n// QRCode for JavaScript\n//\n// Copyright (c) 2009 Kazuhiko Arase\n//\n// URL: http://www.d-project.com/\n//\n// Licensed under the MIT license:\n// http://www.opensource.org/licenses/mit-license.php\n//\n// The word \"QR Code\" is registered trademark of\n// DENSO WAVE INCORPORATED\n// http://www.denso-wave.com/qrcode/faqpatent-e.html\n//\n//---------------------------------------------------------------------\n*/\n\n/**\n * Add finder patterns bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupFinderPattern(matrix, version) {\n const size = matrix.size;\n const pos = FinderPattern.getPositions(version);\n for (let i = 0; i < pos.length; i++) {\n const row = pos[i][0];\n const col = pos[i][1];\n for (let r = -1; r <= 7; r++) {\n if (row + r <= -1 || size <= row + r) continue;\n for (let c = -1; c <= 7; c++) {\n if (col + c <= -1 || size <= col + c) continue;\n if (r >= 0 && r <= 6 && (c === 0 || c === 6) || c >= 0 && c <= 6 && (r === 0 || r === 6) || r >= 2 && r <= 4 && c >= 2 && c <= 4) {\n matrix.set(row + r, col + c, true, true);\n } else {\n matrix.set(row + r, col + c, false, true);\n }\n }\n }\n }\n}\n\n/**\n * Add timing pattern bits to matrix\n *\n * Note: this function must be called before {@link setupAlignmentPattern}\n *\n * @param {BitMatrix} matrix Modules matrix\n */\nfunction setupTimingPattern(matrix) {\n const size = matrix.size;\n for (let r = 8; r < size - 8; r++) {\n const value = r % 2 === 0;\n matrix.set(r, 6, value, true);\n matrix.set(6, r, value, true);\n }\n}\n\n/**\n * Add alignment patterns bits to matrix\n *\n * Note: this function must be called after {@link setupTimingPattern}\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupAlignmentPattern(matrix, version) {\n const pos = AlignmentPattern.getPositions(version);\n for (let i = 0; i < pos.length; i++) {\n const row = pos[i][0];\n const col = pos[i][1];\n for (let r = -2; r <= 2; r++) {\n for (let c = -2; c <= 2; c++) {\n if (r === -2 || r === 2 || c === -2 || c === 2 || r === 0 && c === 0) {\n matrix.set(row + r, col + c, true, true);\n } else {\n matrix.set(row + r, col + c, false, true);\n }\n }\n }\n }\n}\n\n/**\n * Add version info bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupVersionInfo(matrix, version) {\n const size = matrix.size;\n const bits = Version.getEncodedBits(version);\n let row, col, mod;\n for (let i = 0; i < 18; i++) {\n row = Math.floor(i / 3);\n col = i % 3 + size - 8 - 3;\n mod = (bits >> i & 1) === 1;\n matrix.set(row, col, mod, true);\n matrix.set(col, row, mod, true);\n }\n}\n\n/**\n * Add format info bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @param {Number} maskPattern Mask pattern reference value\n */\nfunction setupFormatInfo(matrix, errorCorrectionLevel, maskPattern) {\n const size = matrix.size;\n const bits = FormatInfo.getEncodedBits(errorCorrectionLevel, maskPattern);\n let i, mod;\n for (i = 0; i < 15; i++) {\n mod = (bits >> i & 1) === 1;\n\n // vertical\n if (i < 6) {\n matrix.set(i, 8, mod, true);\n } else if (i < 8) {\n matrix.set(i + 1, 8, mod, true);\n } else {\n matrix.set(size - 15 + i, 8, mod, true);\n }\n\n // horizontal\n if (i < 8) {\n matrix.set(8, size - i - 1, mod, true);\n } else if (i < 9) {\n matrix.set(8, 15 - i - 1 + 1, mod, true);\n } else {\n matrix.set(8, 15 - i - 1, mod, true);\n }\n }\n\n // fixed module\n matrix.set(size - 8, 8, 1, true);\n}\n\n/**\n * Add encoded data bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Uint8Array} data Data codewords\n */\nfunction setupData(matrix, data) {\n const size = matrix.size;\n let inc = -1;\n let row = size - 1;\n let bitIndex = 7;\n let byteIndex = 0;\n for (let col = size - 1; col > 0; col -= 2) {\n if (col === 6) col--;\n while (true) {\n for (let c = 0; c < 2; c++) {\n if (!matrix.isReserved(row, col - c)) {\n let dark = false;\n if (byteIndex < data.length) {\n dark = (data[byteIndex] >>> bitIndex & 1) === 1;\n }\n matrix.set(row, col - c, dark);\n bitIndex--;\n if (bitIndex === -1) {\n byteIndex++;\n bitIndex = 7;\n }\n }\n }\n row += inc;\n if (row < 0 || size <= row) {\n row -= inc;\n inc = -inc;\n break;\n }\n }\n }\n}\n\n/**\n * Create encoded codewords from data input\n *\n * @param {Number} version QR Code version\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @param {ByteData} data Data input\n * @return {Uint8Array} Buffer containing encoded codewords\n */\nfunction createData(version, errorCorrectionLevel, segments) {\n // Prepare data buffer\n const buffer = new BitBuffer();\n segments.forEach(function (data) {\n // prefix data with mode indicator (4 bits)\n buffer.put(data.mode.bit, 4);\n\n // Prefix data with character count indicator.\n // The character count indicator is a string of bits that represents the\n // number of characters that are being encoded.\n // The character count indicator must be placed after the mode indicator\n // and must be a certain number of bits long, depending on the QR version\n // and data mode\n // @see {@link Mode.getCharCountIndicator}.\n buffer.put(data.getLength(), Mode.getCharCountIndicator(data.mode, version));\n\n // add binary data sequence to buffer\n data.write(buffer);\n });\n\n // Calculate required number of bits\n const totalCodewords = Utils.getSymbolTotalCodewords(version);\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel);\n const dataTotalCodewordsBits = (totalCodewords - ecTotalCodewords) * 8;\n\n // Add a terminator.\n // If the bit string is shorter than the total number of required bits,\n // a terminator of up to four 0s must be added to the right side of the string.\n // If the bit string is more than four bits shorter than the required number of bits,\n // add four 0s to the end.\n if (buffer.getLengthInBits() + 4 <= dataTotalCodewordsBits) {\n buffer.put(0, 4);\n }\n\n // If the bit string is fewer than four bits shorter, add only the number of 0s that\n // are needed to reach the required number of bits.\n\n // After adding the terminator, if the number of bits in the string is not a multiple of 8,\n // pad the string on the right with 0s to make the string's length a multiple of 8.\n while (buffer.getLengthInBits() % 8 !== 0) {\n buffer.putBit(0);\n }\n\n // Add pad bytes if the string is still shorter than the total number of required bits.\n // Extend the buffer to fill the data capacity of the symbol corresponding to\n // the Version and Error Correction Level by adding the Pad Codewords 11101100 (0xEC)\n // and 00010001 (0x11) alternately.\n const remainingByte = (dataTotalCodewordsBits - buffer.getLengthInBits()) / 8;\n for (let i = 0; i < remainingByte; i++) {\n buffer.put(i % 2 ? 0x11 : 0xEC, 8);\n }\n return createCodewords(buffer, version, errorCorrectionLevel);\n}\n\n/**\n * Encode input data with Reed-Solomon and return codewords with\n * relative error correction bits\n *\n * @param {BitBuffer} bitBuffer Data to encode\n * @param {Number} version QR Code version\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @return {Uint8Array} Buffer containing encoded codewords\n */\nfunction createCodewords(bitBuffer, version, errorCorrectionLevel) {\n // Total codewords for this QR code version (Data + Error correction)\n const totalCodewords = Utils.getSymbolTotalCodewords(version);\n\n // Total number of error correction codewords\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel);\n\n // Total number of data codewords\n const dataTotalCodewords = totalCodewords - ecTotalCodewords;\n\n // Total number of blocks\n const ecTotalBlocks = ECCode.getBlocksCount(version, errorCorrectionLevel);\n\n // Calculate how many blocks each group should contain\n const blocksInGroup2 = totalCodewords % ecTotalBlocks;\n const blocksInGroup1 = ecTotalBlocks - blocksInGroup2;\n const totalCodewordsInGroup1 = Math.floor(totalCodewords / ecTotalBlocks);\n const dataCodewordsInGroup1 = Math.floor(dataTotalCodewords / ecTotalBlocks);\n const dataCodewordsInGroup2 = dataCodewordsInGroup1 + 1;\n\n // Number of EC codewords is the same for both groups\n const ecCount = totalCodewordsInGroup1 - dataCodewordsInGroup1;\n\n // Initialize a Reed-Solomon encoder with a generator polynomial of degree ecCount\n const rs = new ReedSolomonEncoder(ecCount);\n let offset = 0;\n const dcData = new Array(ecTotalBlocks);\n const ecData = new Array(ecTotalBlocks);\n let maxDataSize = 0;\n const buffer = new Uint8Array(bitBuffer.buffer);\n\n // Divide the buffer into the required number of blocks\n for (let b = 0; b < ecTotalBlocks; b++) {\n const dataSize = b < blocksInGroup1 ? dataCodewordsInGroup1 : dataCodewordsInGroup2;\n\n // extract a block of data from buffer\n dcData[b] = buffer.slice(offset, offset + dataSize);\n\n // Calculate EC codewords for this data block\n ecData[b] = rs.encode(dcData[b]);\n offset += dataSize;\n maxDataSize = Math.max(maxDataSize, dataSize);\n }\n\n // Create final data\n // Interleave the data and error correction codewords from each block\n const data = new Uint8Array(totalCodewords);\n let index = 0;\n let i, r;\n\n // Add data codewords\n for (i = 0; i < maxDataSize; i++) {\n for (r = 0; r < ecTotalBlocks; r++) {\n if (i < dcData[r].length) {\n data[index++] = dcData[r][i];\n }\n }\n }\n\n // Apped EC codewords\n for (i = 0; i < ecCount; i++) {\n for (r = 0; r < ecTotalBlocks; r++) {\n data[index++] = ecData[r][i];\n }\n }\n return data;\n}\n\n/**\n * Build QR Code symbol\n *\n * @param {String} data Input string\n * @param {Number} version QR Code version\n * @param {ErrorCorretionLevel} errorCorrectionLevel Error level\n * @param {MaskPattern} maskPattern Mask pattern\n * @return {Object} Object containing symbol data\n */\nfunction createSymbol(data, version, errorCorrectionLevel, maskPattern) {\n let segments;\n if (Array.isArray(data)) {\n segments = Segments.fromArray(data);\n } else if (typeof data === 'string') {\n let estimatedVersion = version;\n if (!estimatedVersion) {\n const rawSegments = Segments.rawSplit(data);\n\n // Estimate best version that can contain raw splitted segments\n estimatedVersion = Version.getBestVersionForData(rawSegments, errorCorrectionLevel);\n }\n\n // Build optimized segments\n // If estimated version is undefined, try with the highest version\n segments = Segments.fromString(data, estimatedVersion || 40);\n } else {\n throw new Error('Invalid data');\n }\n\n // Get the min version that can contain data\n const bestVersion = Version.getBestVersionForData(segments, errorCorrectionLevel);\n\n // If no version is found, data cannot be stored\n if (!bestVersion) {\n throw new Error('The amount of data is too big to be stored in a QR Code');\n }\n\n // If not specified, use min version as default\n if (!version) {\n version = bestVersion;\n\n // Check if the specified version can contain the data\n } else if (version < bestVersion) {\n throw new Error('\\n' + 'The chosen QR Code version cannot contain this amount of data.\\n' + 'Minimum version required to store current data is: ' + bestVersion + '.\\n');\n }\n const dataBits = createData(version, errorCorrectionLevel, segments);\n\n // Allocate matrix buffer\n const moduleCount = Utils.getSymbolSize(version);\n const modules = new BitMatrix(moduleCount);\n\n // Add function modules\n setupFinderPattern(modules, version);\n setupTimingPattern(modules);\n setupAlignmentPattern(modules, version);\n\n // Add temporary dummy bits for format info just to set them as reserved.\n // This is needed to prevent these bits from being masked by {@link MaskPattern.applyMask}\n // since the masking operation must be performed only on the encoding region.\n // These blocks will be replaced with correct values later in code.\n setupFormatInfo(modules, errorCorrectionLevel, 0);\n if (version >= 7) {\n setupVersionInfo(modules, version);\n }\n\n // Add data codewords\n setupData(modules, dataBits);\n if (isNaN(maskPattern)) {\n // Find best mask pattern\n maskPattern = MaskPattern.getBestMask(modules, setupFormatInfo.bind(null, modules, errorCorrectionLevel));\n }\n\n // Apply mask pattern\n MaskPattern.applyMask(maskPattern, modules);\n\n // Replace format info bits with correct values\n setupFormatInfo(modules, errorCorrectionLevel, maskPattern);\n return {\n modules: modules,\n version: version,\n errorCorrectionLevel: errorCorrectionLevel,\n maskPattern: maskPattern,\n segments: segments\n };\n}\n\n/**\n * QR Code\n *\n * @param {String | Array} data Input data\n * @param {Object} options Optional configurations\n * @param {Number} options.version QR Code version\n * @param {String} options.errorCorrectionLevel Error correction level\n * @param {Function} options.toSJISFunc Helper func to convert utf8 to sjis\n */\nexports.create = function create(data, options) {\n if (typeof data === 'undefined' || data === '') {\n throw new Error('No input text');\n }\n let errorCorrectionLevel = ECLevel.M;\n let version;\n let mask;\n if (typeof options !== 'undefined') {\n // Use higher error correction level as default\n errorCorrectionLevel = ECLevel.from(options.errorCorrectionLevel, ECLevel.M);\n version = Version.from(options.version);\n mask = MaskPattern.from(options.maskPattern);\n if (options.toSJISFunc) {\n Utils.setToSJISFunction(options.toSJISFunc);\n }\n }\n return createSymbol(data, version, errorCorrectionLevel, mask);\n};","function hex2rgba(hex) {\n if (typeof hex === 'number') {\n hex = hex.toString();\n }\n if (typeof hex !== 'string') {\n throw new Error('Color should be defined as hex string');\n }\n let hexCode = hex.slice().replace('#', '').split('');\n if (hexCode.length < 3 || hexCode.length === 5 || hexCode.length > 8) {\n throw new Error('Invalid hex color: ' + hex);\n }\n\n // Convert from short to long form (fff -> ffffff)\n if (hexCode.length === 3 || hexCode.length === 4) {\n hexCode = Array.prototype.concat.apply([], hexCode.map(function (c) {\n return [c, c];\n }));\n }\n\n // Add default alpha value\n if (hexCode.length === 6) hexCode.push('F', 'F');\n const hexValue = parseInt(hexCode.join(''), 16);\n return {\n r: hexValue >> 24 & 255,\n g: hexValue >> 16 & 255,\n b: hexValue >> 8 & 255,\n a: hexValue & 255,\n hex: '#' + hexCode.slice(0, 6).join('')\n };\n}\nexports.getOptions = function getOptions(options) {\n if (!options) options = {};\n if (!options.color) options.color = {};\n const margin = typeof options.margin === 'undefined' || options.margin === null || options.margin < 0 ? 4 : options.margin;\n const width = options.width && options.width >= 21 ? options.width : undefined;\n const scale = options.scale || 4;\n return {\n width: width,\n scale: width ? 4 : scale,\n margin: margin,\n color: {\n dark: hex2rgba(options.color.dark || '#000000ff'),\n light: hex2rgba(options.color.light || '#ffffffff')\n },\n type: options.type,\n rendererOpts: options.rendererOpts || {}\n };\n};\nexports.getScale = function getScale(qrSize, opts) {\n return opts.width && opts.width >= qrSize + opts.margin * 2 ? opts.width / (qrSize + opts.margin * 2) : opts.scale;\n};\nexports.getImageWidth = function getImageWidth(qrSize, opts) {\n const scale = exports.getScale(qrSize, opts);\n return Math.floor((qrSize + opts.margin * 2) * scale);\n};\nexports.qrToImageData = function qrToImageData(imgData, qr, opts) {\n const size = qr.modules.size;\n const data = qr.modules.data;\n const scale = exports.getScale(size, opts);\n const symbolSize = Math.floor((size + opts.margin * 2) * scale);\n const scaledMargin = opts.margin * scale;\n const palette = [opts.color.light, opts.color.dark];\n for (let i = 0; i < symbolSize; i++) {\n for (let j = 0; j < symbolSize; j++) {\n let posDst = (i * symbolSize + j) * 4;\n let pxColor = opts.color.light;\n if (i >= scaledMargin && j >= scaledMargin && i < symbolSize - scaledMargin && j < symbolSize - scaledMargin) {\n const iSrc = Math.floor((i - scaledMargin) / scale);\n const jSrc = Math.floor((j - scaledMargin) / scale);\n pxColor = palette[data[iSrc * size + jSrc] ? 1 : 0];\n }\n imgData[posDst++] = pxColor.r;\n imgData[posDst++] = pxColor.g;\n imgData[posDst++] = pxColor.b;\n imgData[posDst] = pxColor.a;\n }\n }\n};","const Utils = require('./utils');\nfunction clearCanvas(ctx, canvas, size) {\n ctx.clearRect(0, 0, canvas.width, canvas.height);\n if (!canvas.style) canvas.style = {};\n canvas.height = size;\n canvas.width = size;\n canvas.style.height = size + 'px';\n canvas.style.width = size + 'px';\n}\nfunction getCanvasElement() {\n try {\n return document.createElement('canvas');\n } catch (e) {\n throw new Error('You need to specify a canvas element');\n }\n}\nexports.render = function render(qrData, canvas, options) {\n let opts = options;\n let canvasEl = canvas;\n if (typeof opts === 'undefined' && (!canvas || !canvas.getContext)) {\n opts = canvas;\n canvas = undefined;\n }\n if (!canvas) {\n canvasEl = getCanvasElement();\n }\n opts = Utils.getOptions(opts);\n const size = Utils.getImageWidth(qrData.modules.size, opts);\n const ctx = canvasEl.getContext('2d');\n const image = ctx.createImageData(size, size);\n Utils.qrToImageData(image.data, qrData, opts);\n clearCanvas(ctx, canvasEl, size);\n ctx.putImageData(image, 0, 0);\n return canvasEl;\n};\nexports.renderToDataURL = function renderToDataURL(qrData, canvas, options) {\n let opts = options;\n if (typeof opts === 'undefined' && (!canvas || !canvas.getContext)) {\n opts = canvas;\n canvas = undefined;\n }\n if (!opts) opts = {};\n const canvasEl = exports.render(qrData, canvas, opts);\n const type = opts.type || 'image/png';\n const rendererOpts = opts.rendererOpts || {};\n return canvasEl.toDataURL(type, rendererOpts.quality);\n};","const Utils = require('./utils');\nfunction getColorAttrib(color, attrib) {\n const alpha = color.a / 255;\n const str = attrib + '=\"' + color.hex + '\"';\n return alpha < 1 ? str + ' ' + attrib + '-opacity=\"' + alpha.toFixed(2).slice(1) + '\"' : str;\n}\nfunction svgCmd(cmd, x, y) {\n let str = cmd + x;\n if (typeof y !== 'undefined') str += ' ' + y;\n return str;\n}\nfunction qrToPath(data, size, margin) {\n let path = '';\n let moveBy = 0;\n let newRow = false;\n let lineLength = 0;\n for (let i = 0; i < data.length; i++) {\n const col = Math.floor(i % size);\n const row = Math.floor(i / size);\n if (!col && !newRow) newRow = true;\n if (data[i]) {\n lineLength++;\n if (!(i > 0 && col > 0 && data[i - 1])) {\n path += newRow ? svgCmd('M', col + margin, 0.5 + row + margin) : svgCmd('m', moveBy, 0);\n moveBy = 0;\n newRow = false;\n }\n if (!(col + 1 < size && data[i + 1])) {\n path += svgCmd('h', lineLength);\n lineLength = 0;\n }\n } else {\n moveBy++;\n }\n }\n return path;\n}\nexports.render = function render(qrData, options, cb) {\n const opts = Utils.getOptions(options);\n const size = qrData.modules.size;\n const data = qrData.modules.data;\n const qrcodesize = size + opts.margin * 2;\n const bg = !opts.color.light.a ? '' : '';\n const path = '';\n const viewBox = 'viewBox=\"' + '0 0 ' + qrcodesize + ' ' + qrcodesize + '\"';\n const width = !opts.width ? '' : 'width=\"' + opts.width + '\" height=\"' + opts.width + '\" ';\n const svgTag = '' + bg + path + '\\n';\n if (typeof cb === 'function') {\n cb(null, svgTag);\n }\n return svgTag;\n};","const canPromise = require('./can-promise');\nconst QRCode = require('./core/qrcode');\nconst CanvasRenderer = require('./renderer/canvas');\nconst SvgRenderer = require('./renderer/svg-tag.js');\nfunction renderCanvas(renderFunc, canvas, text, opts, cb) {\n const args = [].slice.call(arguments, 1);\n const argsNum = args.length;\n const isLastArgCb = typeof args[argsNum - 1] === 'function';\n if (!isLastArgCb && !canPromise()) {\n throw new Error('Callback required as last argument');\n }\n if (isLastArgCb) {\n if (argsNum < 2) {\n throw new Error('Too few arguments provided');\n }\n if (argsNum === 2) {\n cb = text;\n text = canvas;\n canvas = opts = undefined;\n } else if (argsNum === 3) {\n if (canvas.getContext && typeof cb === 'undefined') {\n cb = opts;\n opts = undefined;\n } else {\n cb = opts;\n opts = text;\n text = canvas;\n canvas = undefined;\n }\n }\n } else {\n if (argsNum < 1) {\n throw new Error('Too few arguments provided');\n }\n if (argsNum === 1) {\n text = canvas;\n canvas = opts = undefined;\n } else if (argsNum === 2 && !canvas.getContext) {\n opts = text;\n text = canvas;\n canvas = undefined;\n }\n return new Promise(function (resolve, reject) {\n try {\n const data = QRCode.create(text, opts);\n resolve(renderFunc(data, canvas, opts));\n } catch (e) {\n reject(e);\n }\n });\n }\n try {\n const data = QRCode.create(text, opts);\n cb(null, renderFunc(data, canvas, opts));\n } catch (e) {\n cb(e);\n }\n}\nexports.create = QRCode.create;\nexports.toCanvas = renderCanvas.bind(null, CanvasRenderer.render);\nexports.toDataURL = renderCanvas.bind(null, CanvasRenderer.renderToDataURL);\n\n// only svg for now.\nexports.toString = renderCanvas.bind(null, function (data, _, opts) {\n return SvgRenderer.render(data, opts);\n});","!function (t, e) {\n \"object\" == typeof exports && \"undefined\" != typeof module ? module.exports = e() : \"function\" == typeof define && define.amd ? define(e) : (t = \"undefined\" != typeof globalThis ? globalThis : t || self).dayjs = e();\n}(this, function () {\n \"use strict\";\n\n var t = 1e3,\n e = 6e4,\n n = 36e5,\n r = \"millisecond\",\n i = \"second\",\n s = \"minute\",\n u = \"hour\",\n a = \"day\",\n o = \"week\",\n c = \"month\",\n f = \"quarter\",\n h = \"year\",\n d = \"date\",\n l = \"Invalid Date\",\n $ = /^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/,\n y = /\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,\n M = {\n name: \"en\",\n weekdays: \"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),\n months: \"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),\n ordinal: function (t) {\n var e = [\"th\", \"st\", \"nd\", \"rd\"],\n n = t % 100;\n return \"[\" + t + (e[(n - 20) % 10] || e[n] || e[0]) + \"]\";\n }\n },\n m = function (t, e, n) {\n var r = String(t);\n return !r || r.length >= e ? t : \"\" + Array(e + 1 - r.length).join(n) + t;\n },\n v = {\n s: m,\n z: function (t) {\n var e = -t.utcOffset(),\n n = Math.abs(e),\n r = Math.floor(n / 60),\n i = n % 60;\n return (e <= 0 ? \"+\" : \"-\") + m(r, 2, \"0\") + \":\" + m(i, 2, \"0\");\n },\n m: function t(e, n) {\n if (e.date() < n.date()) return -t(n, e);\n var r = 12 * (n.year() - e.year()) + (n.month() - e.month()),\n i = e.clone().add(r, c),\n s = n - i < 0,\n u = e.clone().add(r + (s ? -1 : 1), c);\n return +(-(r + (n - i) / (s ? i - u : u - i)) || 0);\n },\n a: function (t) {\n return t < 0 ? Math.ceil(t) || 0 : Math.floor(t);\n },\n p: function (t) {\n return {\n M: c,\n y: h,\n w: o,\n d: a,\n D: d,\n h: u,\n m: s,\n s: i,\n ms: r,\n Q: f\n }[t] || String(t || \"\").toLowerCase().replace(/s$/, \"\");\n },\n u: function (t) {\n return void 0 === t;\n }\n },\n g = \"en\",\n D = {};\n D[g] = M;\n var p = \"$isDayjsObject\",\n S = function (t) {\n return t instanceof _ || !(!t || !t[p]);\n },\n w = function t(e, n, r) {\n var i;\n if (!e) return g;\n if (\"string\" == typeof e) {\n var s = e.toLowerCase();\n D[s] && (i = s), n && (D[s] = n, i = s);\n var u = e.split(\"-\");\n if (!i && u.length > 1) return t(u[0]);\n } else {\n var a = e.name;\n D[a] = e, i = a;\n }\n return !r && i && (g = i), i || !r && g;\n },\n O = function (t, e) {\n if (S(t)) return t.clone();\n var n = \"object\" == typeof e ? e : {};\n return n.date = t, n.args = arguments, new _(n);\n },\n b = v;\n b.l = w, b.i = S, b.w = function (t, e) {\n return O(t, {\n locale: e.$L,\n utc: e.$u,\n x: e.$x,\n $offset: e.$offset\n });\n };\n var _ = function () {\n function M(t) {\n this.$L = w(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[p] = !0;\n }\n var m = M.prototype;\n return m.parse = function (t) {\n this.$d = function (t) {\n var e = t.date,\n n = t.utc;\n if (null === e) return new Date(NaN);\n if (b.u(e)) return new Date();\n if (e instanceof Date) return new Date(e);\n if (\"string\" == typeof e && !/Z$/i.test(e)) {\n var r = e.match($);\n if (r) {\n var i = r[2] - 1 || 0,\n s = (r[7] || \"0\").substring(0, 3);\n return n ? new Date(Date.UTC(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, s)) : new Date(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, s);\n }\n }\n return new Date(e);\n }(t), this.init();\n }, m.init = function () {\n var t = this.$d;\n this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();\n }, m.$utils = function () {\n return b;\n }, m.isValid = function () {\n return !(this.$d.toString() === l);\n }, m.isSame = function (t, e) {\n var n = O(t);\n return this.startOf(e) <= n && n <= this.endOf(e);\n }, m.isAfter = function (t, e) {\n return O(t) < this.startOf(e);\n }, m.isBefore = function (t, e) {\n return this.endOf(e) < O(t);\n }, m.$g = function (t, e, n) {\n return b.u(t) ? this[e] : this.set(n, t);\n }, m.unix = function () {\n return Math.floor(this.valueOf() / 1e3);\n }, m.valueOf = function () {\n return this.$d.getTime();\n }, m.startOf = function (t, e) {\n var n = this,\n r = !!b.u(e) || e,\n f = b.p(t),\n l = function (t, e) {\n var i = b.w(n.$u ? Date.UTC(n.$y, e, t) : new Date(n.$y, e, t), n);\n return r ? i : i.endOf(a);\n },\n $ = function (t, e) {\n return b.w(n.toDate()[t].apply(n.toDate(\"s\"), (r ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), n);\n },\n y = this.$W,\n M = this.$M,\n m = this.$D,\n v = \"set\" + (this.$u ? \"UTC\" : \"\");\n switch (f) {\n case h:\n return r ? l(1, 0) : l(31, 11);\n case c:\n return r ? l(1, M) : l(0, M + 1);\n case o:\n var g = this.$locale().weekStart || 0,\n D = (y < g ? y + 7 : y) - g;\n return l(r ? m - D : m + (6 - D), M);\n case a:\n case d:\n return $(v + \"Hours\", 0);\n case u:\n return $(v + \"Minutes\", 1);\n case s:\n return $(v + \"Seconds\", 2);\n case i:\n return $(v + \"Milliseconds\", 3);\n default:\n return this.clone();\n }\n }, m.endOf = function (t) {\n return this.startOf(t, !1);\n }, m.$set = function (t, e) {\n var n,\n o = b.p(t),\n f = \"set\" + (this.$u ? \"UTC\" : \"\"),\n l = (n = {}, n[a] = f + \"Date\", n[d] = f + \"Date\", n[c] = f + \"Month\", n[h] = f + \"FullYear\", n[u] = f + \"Hours\", n[s] = f + \"Minutes\", n[i] = f + \"Seconds\", n[r] = f + \"Milliseconds\", n)[o],\n $ = o === a ? this.$D + (e - this.$W) : e;\n if (o === c || o === h) {\n var y = this.clone().set(d, 1);\n y.$d[l]($), y.init(), this.$d = y.set(d, Math.min(this.$D, y.daysInMonth())).$d;\n } else l && this.$d[l]($);\n return this.init(), this;\n }, m.set = function (t, e) {\n return this.clone().$set(t, e);\n }, m.get = function (t) {\n return this[b.p(t)]();\n }, m.add = function (r, f) {\n var d,\n l = this;\n r = Number(r);\n var $ = b.p(f),\n y = function (t) {\n var e = O(l);\n return b.w(e.date(e.date() + Math.round(t * r)), l);\n };\n if ($ === c) return this.set(c, this.$M + r);\n if ($ === h) return this.set(h, this.$y + r);\n if ($ === a) return y(1);\n if ($ === o) return y(7);\n var M = (d = {}, d[s] = e, d[u] = n, d[i] = t, d)[$] || 1,\n m = this.$d.getTime() + r * M;\n return b.w(m, this);\n }, m.subtract = function (t, e) {\n return this.add(-1 * t, e);\n }, m.format = function (t) {\n var e = this,\n n = this.$locale();\n if (!this.isValid()) return n.invalidDate || l;\n var r = t || \"YYYY-MM-DDTHH:mm:ssZ\",\n i = b.z(this),\n s = this.$H,\n u = this.$m,\n a = this.$M,\n o = n.weekdays,\n c = n.months,\n f = n.meridiem,\n h = function (t, n, i, s) {\n return t && (t[n] || t(e, r)) || i[n].slice(0, s);\n },\n d = function (t) {\n return b.s(s % 12 || 12, t, \"0\");\n },\n $ = f || function (t, e, n) {\n var r = t < 12 ? \"AM\" : \"PM\";\n return n ? r.toLowerCase() : r;\n };\n return r.replace(y, function (t, r) {\n return r || function (t) {\n switch (t) {\n case \"YY\":\n return String(e.$y).slice(-2);\n case \"YYYY\":\n return b.s(e.$y, 4, \"0\");\n case \"M\":\n return a + 1;\n case \"MM\":\n return b.s(a + 1, 2, \"0\");\n case \"MMM\":\n return h(n.monthsShort, a, c, 3);\n case \"MMMM\":\n return h(c, a);\n case \"D\":\n return e.$D;\n case \"DD\":\n return b.s(e.$D, 2, \"0\");\n case \"d\":\n return String(e.$W);\n case \"dd\":\n return h(n.weekdaysMin, e.$W, o, 2);\n case \"ddd\":\n return h(n.weekdaysShort, e.$W, o, 3);\n case \"dddd\":\n return o[e.$W];\n case \"H\":\n return String(s);\n case \"HH\":\n return b.s(s, 2, \"0\");\n case \"h\":\n return d(1);\n case \"hh\":\n return d(2);\n case \"a\":\n return $(s, u, !0);\n case \"A\":\n return $(s, u, !1);\n case \"m\":\n return String(u);\n case \"mm\":\n return b.s(u, 2, \"0\");\n case \"s\":\n return String(e.$s);\n case \"ss\":\n return b.s(e.$s, 2, \"0\");\n case \"SSS\":\n return b.s(e.$ms, 3, \"0\");\n case \"Z\":\n return i;\n }\n return null;\n }(t) || i.replace(\":\", \"\");\n });\n }, m.utcOffset = function () {\n return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);\n }, m.diff = function (r, d, l) {\n var $,\n y = this,\n M = b.p(d),\n m = O(r),\n v = (m.utcOffset() - this.utcOffset()) * e,\n g = this - m,\n D = function () {\n return b.m(y, m);\n };\n switch (M) {\n case h:\n $ = D() / 12;\n break;\n case c:\n $ = D();\n break;\n case f:\n $ = D() / 3;\n break;\n case o:\n $ = (g - v) / 6048e5;\n break;\n case a:\n $ = (g - v) / 864e5;\n break;\n case u:\n $ = g / n;\n break;\n case s:\n $ = g / e;\n break;\n case i:\n $ = g / t;\n break;\n default:\n $ = g;\n }\n return l ? $ : b.a($);\n }, m.daysInMonth = function () {\n return this.endOf(c).$D;\n }, m.$locale = function () {\n return D[this.$L];\n }, m.locale = function (t, e) {\n if (!t) return this.$L;\n var n = this.clone(),\n r = w(t, e, !0);\n return r && (n.$L = r), n;\n }, m.clone = function () {\n return b.w(this.$d, this);\n }, m.toDate = function () {\n return new Date(this.valueOf());\n }, m.toJSON = function () {\n return this.isValid() ? this.toISOString() : null;\n }, m.toISOString = function () {\n return this.$d.toISOString();\n }, m.toString = function () {\n return this.$d.toUTCString();\n }, M;\n }(),\n k = _.prototype;\n return O.prototype = k, [[\"$ms\", r], [\"$s\", i], [\"$m\", s], [\"$H\", u], [\"$W\", a], [\"$M\", c], [\"$y\", h], [\"$D\", d]].forEach(function (t) {\n k[t[1]] = function (e) {\n return this.$g(e, t[0], t[1]);\n };\n }), O.extend = function (t, e) {\n return t.$i || (t(e, _, O), t.$i = !0), O;\n }, O.locale = w, O.isDayjs = S, O.unix = function (t) {\n return O(1e3 * t);\n }, O.en = D[g], O.Ls = D, O.p = {}, O;\n});","!function (e, n) {\n \"object\" == typeof exports && \"undefined\" != typeof module ? module.exports = n() : \"function\" == typeof define && define.amd ? define(n) : (e = \"undefined\" != typeof globalThis ? globalThis : e || self).dayjs_plugin_updateLocale = n();\n}(this, function () {\n \"use strict\";\n\n return function (e, n, t) {\n t.updateLocale = function (e, n) {\n var o = t.Ls[e];\n if (o) return (n ? Object.keys(n) : []).forEach(function (e) {\n o[e] = n[e];\n }), o;\n };\n };\n});","!function (r, e) {\n \"object\" == typeof exports && \"undefined\" != typeof module ? module.exports = e() : \"function\" == typeof define && define.amd ? define(e) : (r = \"undefined\" != typeof globalThis ? globalThis : r || self).dayjs_plugin_relativeTime = e();\n}(this, function () {\n \"use strict\";\n\n return function (r, e, t) {\n r = r || {};\n var n = e.prototype,\n o = {\n future: \"in %s\",\n past: \"%s ago\",\n s: \"a few seconds\",\n m: \"a minute\",\n mm: \"%d minutes\",\n h: \"an hour\",\n hh: \"%d hours\",\n d: \"a day\",\n dd: \"%d days\",\n M: \"a month\",\n MM: \"%d months\",\n y: \"a year\",\n yy: \"%d years\"\n };\n function i(r, e, t, o) {\n return n.fromToBase(r, e, t, o);\n }\n t.en.relativeTime = o, n.fromToBase = function (e, n, i, d, u) {\n for (var f, a, s, l = i.$locale().relativeTime || o, h = r.thresholds || [{\n l: \"s\",\n r: 44,\n d: \"second\"\n }, {\n l: \"m\",\n r: 89\n }, {\n l: \"mm\",\n r: 44,\n d: \"minute\"\n }, {\n l: \"h\",\n r: 89\n }, {\n l: \"hh\",\n r: 21,\n d: \"hour\"\n }, {\n l: \"d\",\n r: 35\n }, {\n l: \"dd\",\n r: 25,\n d: \"day\"\n }, {\n l: \"M\",\n r: 45\n }, {\n l: \"MM\",\n r: 10,\n d: \"month\"\n }, {\n l: \"y\",\n r: 17\n }, {\n l: \"yy\",\n d: \"year\"\n }], m = h.length, c = 0; c < m; c += 1) {\n var y = h[c];\n y.d && (f = d ? t(e).diff(i, y.d, !0) : i.diff(e, y.d, !0));\n var p = (r.rounding || Math.round)(Math.abs(f));\n if (s = f > 0, p <= y.r || !y.r) {\n p <= 1 && c > 0 && (y = h[c - 1]);\n var v = l[y.l];\n u && (p = u(\"\" + p)), a = \"string\" == typeof v ? v.replace(\"%d\", p) : v(p, n, y.l, s);\n break;\n }\n }\n if (n) return a;\n var M = s ? l.future : l.past;\n return \"function\" == typeof M ? M(a) : M.replace(\"%s\", a);\n }, n.to = function (r, e) {\n return i(r, e, this, !0);\n }, n.from = function (r, e) {\n return i(r, e, this);\n };\n var d = function (r) {\n return r.$u ? t.utc() : t();\n };\n n.toNow = function (r) {\n return this.to(d(this), r);\n }, n.fromNow = function (r) {\n return this.from(d(this), r);\n };\n };\n});","/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t = globalThis,\n e = t.ShadowRoot && (void 0 === t.ShadyCSS || t.ShadyCSS.nativeShadow) && \"adoptedStyleSheets\" in Document.prototype && \"replace\" in CSSStyleSheet.prototype,\n s = Symbol(),\n o = new WeakMap();\nclass n {\n constructor(t, e, o) {\n if (this._$cssResult$ = !0, o !== s) throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");\n this.cssText = t, this.t = e;\n }\n get styleSheet() {\n let t = this.o;\n const s = this.t;\n if (e && void 0 === t) {\n const e = void 0 !== s && 1 === s.length;\n e && (t = o.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), e && o.set(s, t));\n }\n return t;\n }\n toString() {\n return this.cssText;\n }\n}\nconst r = t => new n(\"string\" == typeof t ? t : t + \"\", void 0, s),\n i = (t, ...e) => {\n const o = 1 === t.length ? t[0] : e.reduce((e, s, o) => e + (t => {\n if (!0 === t._$cssResult$) return t.cssText;\n if (\"number\" == typeof t) return t;\n throw Error(\"Value passed to 'css' function must be a 'css' function result: \" + t + \". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.\");\n })(s) + t[o + 1], t[0]);\n return new n(o, t, s);\n },\n S = (s, o) => {\n if (e) s.adoptedStyleSheets = o.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet);else for (const e of o) {\n const o = document.createElement(\"style\"),\n n = t.litNonce;\n void 0 !== n && o.setAttribute(\"nonce\", n), o.textContent = e.cssText, s.appendChild(o);\n }\n },\n c = e ? t => t : t => t instanceof CSSStyleSheet ? (t => {\n let e = \"\";\n for (const s of t.cssRules) e += s.cssText;\n return r(e);\n })(t) : t;\nexport { n as CSSResult, S as adoptStyles, i as css, c as getCompatibleStyle, e as supportsAdoptingStyleSheets, r as unsafeCSS };\n","import { getCompatibleStyle as t, adoptStyles as s } from \"./css-tag.js\";\nexport { CSSResult, adoptStyles, css, getCompatibleStyle, supportsAdoptingStyleSheets, unsafeCSS } from \"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst {\n is: i,\n defineProperty: e,\n getOwnPropertyDescriptor: r,\n getOwnPropertyNames: h,\n getOwnPropertySymbols: o,\n getPrototypeOf: n\n } = Object,\n a = globalThis,\n c = a.trustedTypes,\n l = c ? c.emptyScript : \"\",\n p = a.reactiveElementPolyfillSupport,\n d = (t, s) => t,\n u = {\n toAttribute(t, s) {\n switch (s) {\n case Boolean:\n t = t ? l : null;\n break;\n case Object:\n case Array:\n t = null == t ? t : JSON.stringify(t);\n }\n return t;\n },\n fromAttribute(t, s) {\n let i = t;\n switch (s) {\n case Boolean:\n i = null !== t;\n break;\n case Number:\n i = null === t ? null : Number(t);\n break;\n case Object:\n case Array:\n try {\n i = JSON.parse(t);\n } catch (t) {\n i = null;\n }\n }\n return i;\n }\n },\n f = (t, s) => !i(t, s),\n y = {\n attribute: !0,\n type: String,\n converter: u,\n reflect: !1,\n hasChanged: f\n };\nSymbol.metadata ??= Symbol(\"metadata\"), a.litPropertyMetadata ??= new WeakMap();\nclass b extends HTMLElement {\n static addInitializer(t) {\n this._$Ei(), (this.l ??= []).push(t);\n }\n static get observedAttributes() {\n return this.finalize(), this._$Eh && [...this._$Eh.keys()];\n }\n static createProperty(t, s = y) {\n if (s.state && (s.attribute = !1), this._$Ei(), this.elementProperties.set(t, s), !s.noAccessor) {\n const i = Symbol(),\n r = this.getPropertyDescriptor(t, i, s);\n void 0 !== r && e(this.prototype, t, r);\n }\n }\n static getPropertyDescriptor(t, s, i) {\n const {\n get: e,\n set: h\n } = r(this.prototype, t) ?? {\n get() {\n return this[s];\n },\n set(t) {\n this[s] = t;\n }\n };\n return {\n get() {\n return e?.call(this);\n },\n set(s) {\n const r = e?.call(this);\n h.call(this, s), this.requestUpdate(t, r, i);\n },\n configurable: !0,\n enumerable: !0\n };\n }\n static getPropertyOptions(t) {\n return this.elementProperties.get(t) ?? y;\n }\n static _$Ei() {\n if (this.hasOwnProperty(d(\"elementProperties\"))) return;\n const t = n(this);\n t.finalize(), void 0 !== t.l && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);\n }\n static finalize() {\n if (this.hasOwnProperty(d(\"finalized\"))) return;\n if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(d(\"properties\"))) {\n const t = this.properties,\n s = [...h(t), ...o(t)];\n for (const i of s) this.createProperty(i, t[i]);\n }\n const t = this[Symbol.metadata];\n if (null !== t) {\n const s = litPropertyMetadata.get(t);\n if (void 0 !== s) for (const [t, i] of s) this.elementProperties.set(t, i);\n }\n this._$Eh = new Map();\n for (const [t, s] of this.elementProperties) {\n const i = this._$Eu(t, s);\n void 0 !== i && this._$Eh.set(i, t);\n }\n this.elementStyles = this.finalizeStyles(this.styles);\n }\n static finalizeStyles(s) {\n const i = [];\n if (Array.isArray(s)) {\n const e = new Set(s.flat(1 / 0).reverse());\n for (const s of e) i.unshift(t(s));\n } else void 0 !== s && i.push(t(s));\n return i;\n }\n static _$Eu(t, s) {\n const i = s.attribute;\n return !1 === i ? void 0 : \"string\" == typeof i ? i : \"string\" == typeof t ? t.toLowerCase() : void 0;\n }\n constructor() {\n super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();\n }\n _$Ev() {\n this._$ES = new Promise(t => this.enableUpdating = t), this._$AL = new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach(t => t(this));\n }\n addController(t) {\n (this._$EO ??= new Set()).add(t), void 0 !== this.renderRoot && this.isConnected && t.hostConnected?.();\n }\n removeController(t) {\n this._$EO?.delete(t);\n }\n _$E_() {\n const t = new Map(),\n s = this.constructor.elementProperties;\n for (const i of s.keys()) this.hasOwnProperty(i) && (t.set(i, this[i]), delete this[i]);\n t.size > 0 && (this._$Ep = t);\n }\n createRenderRoot() {\n const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);\n return s(t, this.constructor.elementStyles), t;\n }\n connectedCallback() {\n this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach(t => t.hostConnected?.());\n }\n enableUpdating(t) {}\n disconnectedCallback() {\n this._$EO?.forEach(t => t.hostDisconnected?.());\n }\n attributeChangedCallback(t, s, i) {\n this._$AK(t, i);\n }\n _$EC(t, s) {\n const i = this.constructor.elementProperties.get(t),\n e = this.constructor._$Eu(t, i);\n if (void 0 !== e && !0 === i.reflect) {\n const r = (void 0 !== i.converter?.toAttribute ? i.converter : u).toAttribute(s, i.type);\n this._$Em = t, null == r ? this.removeAttribute(e) : this.setAttribute(e, r), this._$Em = null;\n }\n }\n _$AK(t, s) {\n const i = this.constructor,\n e = i._$Eh.get(t);\n if (void 0 !== e && this._$Em !== e) {\n const t = i.getPropertyOptions(e),\n r = \"function\" == typeof t.converter ? {\n fromAttribute: t.converter\n } : void 0 !== t.converter?.fromAttribute ? t.converter : u;\n this._$Em = e, this[e] = r.fromAttribute(s, t.type), this._$Em = null;\n }\n }\n requestUpdate(t, s, i) {\n if (void 0 !== t) {\n if (i ??= this.constructor.getPropertyOptions(t), !(i.hasChanged ?? f)(this[t], s)) return;\n this.P(t, s, i);\n }\n !1 === this.isUpdatePending && (this._$ES = this._$ET());\n }\n P(t, s, i) {\n this._$AL.has(t) || this._$AL.set(t, s), !0 === i.reflect && this._$Em !== t && (this._$Ej ??= new Set()).add(t);\n }\n async _$ET() {\n this.isUpdatePending = !0;\n try {\n await this._$ES;\n } catch (t) {\n Promise.reject(t);\n }\n const t = this.scheduleUpdate();\n return null != t && (await t), !this.isUpdatePending;\n }\n scheduleUpdate() {\n return this.performUpdate();\n }\n performUpdate() {\n if (!this.isUpdatePending) return;\n if (!this.hasUpdated) {\n if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {\n for (const [t, s] of this._$Ep) this[t] = s;\n this._$Ep = void 0;\n }\n const t = this.constructor.elementProperties;\n if (t.size > 0) for (const [s, i] of t) !0 !== i.wrapped || this._$AL.has(s) || void 0 === this[s] || this.P(s, this[s], i);\n }\n let t = !1;\n const s = this._$AL;\n try {\n t = this.shouldUpdate(s), t ? (this.willUpdate(s), this._$EO?.forEach(t => t.hostUpdate?.()), this.update(s)) : this._$EU();\n } catch (s) {\n throw t = !1, this._$EU(), s;\n }\n t && this._$AE(s);\n }\n willUpdate(t) {}\n _$AE(t) {\n this._$EO?.forEach(t => t.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);\n }\n _$EU() {\n this._$AL = new Map(), this.isUpdatePending = !1;\n }\n get updateComplete() {\n return this.getUpdateComplete();\n }\n getUpdateComplete() {\n return this._$ES;\n }\n shouldUpdate(t) {\n return !0;\n }\n update(t) {\n this._$Ej &&= this._$Ej.forEach(t => this._$EC(t, this[t])), this._$EU();\n }\n updated(t) {}\n firstUpdated(t) {}\n}\nb.elementStyles = [], b.shadowRootOptions = {\n mode: \"open\"\n}, b[d(\"elementProperties\")] = new Map(), b[d(\"finalized\")] = new Map(), p?.({\n ReactiveElement: b\n}), (a.reactiveElementVersions ??= []).push(\"2.0.4\");\nexport { b as ReactiveElement, u as defaultConverter, f as notEqual };\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t = globalThis,\n i = t.trustedTypes,\n s = i ? i.createPolicy(\"lit-html\", {\n createHTML: t => t\n }) : void 0,\n e = \"$lit$\",\n h = `lit$${Math.random().toFixed(9).slice(2)}$`,\n o = \"?\" + h,\n n = `<${o}>`,\n r = document,\n l = () => r.createComment(\"\"),\n c = t => null === t || \"object\" != typeof t && \"function\" != typeof t,\n a = Array.isArray,\n u = t => a(t) || \"function\" == typeof t?.[Symbol.iterator],\n d = \"[ \\t\\n\\f\\r]\",\n f = /<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g,\n v = /-->/g,\n _ = />/g,\n m = RegExp(`>|${d}(?:([^\\\\s\"'>=/]+)(${d}*=${d}*(?:[^ \\t\\n\\f\\r\"'\\`<>=]|(\"|')|))|$)`, \"g\"),\n p = /'/g,\n g = /\"/g,\n $ = /^(?:script|style|textarea|title)$/i,\n y = t => (i, ...s) => ({\n _$litType$: t,\n strings: i,\n values: s\n }),\n x = y(1),\n b = y(2),\n w = y(3),\n T = Symbol.for(\"lit-noChange\"),\n E = Symbol.for(\"lit-nothing\"),\n A = new WeakMap(),\n C = r.createTreeWalker(r, 129);\nfunction P(t, i) {\n if (!a(t) || !t.hasOwnProperty(\"raw\")) throw Error(\"invalid template strings array\");\n return void 0 !== s ? s.createHTML(i) : i;\n}\nconst V = (t, i) => {\n const s = t.length - 1,\n o = [];\n let r,\n l = 2 === i ? \"\" : 3 === i ? \"\" : \"\",\n c = f;\n for (let i = 0; i < s; i++) {\n const s = t[i];\n let a,\n u,\n d = -1,\n y = 0;\n for (; y < s.length && (c.lastIndex = y, u = c.exec(s), null !== u);) y = c.lastIndex, c === f ? \"!--\" === u[1] ? c = v : void 0 !== u[1] ? c = _ : void 0 !== u[2] ? ($.test(u[2]) && (r = RegExp(\"\" === u[0] ? (c = r ?? f, d = -1) : void 0 === u[1] ? d = -2 : (d = c.lastIndex - u[2].length, a = u[1], c = void 0 === u[3] ? m : '\"' === u[3] ? g : p) : c === g || c === p ? c = m : c === v || c === _ ? c = f : (c = m, r = void 0);\n const x = c === m && t[i + 1].startsWith(\"/>\") ? \" \" : \"\";\n l += c === f ? s + n : d >= 0 ? (o.push(a), s.slice(0, d) + e + s.slice(d) + h + x) : s + h + (-2 === d ? i : x);\n }\n return [P(t, l + (t[s] || \"\") + (2 === i ? \"\" : 3 === i ? \"\" : \"\")), o];\n};\nclass N {\n constructor({\n strings: t,\n _$litType$: s\n }, n) {\n let r;\n this.parts = [];\n let c = 0,\n a = 0;\n const u = t.length - 1,\n d = this.parts,\n [f, v] = V(t, s);\n if (this.el = N.createElement(f, n), C.currentNode = this.el.content, 2 === s || 3 === s) {\n const t = this.el.content.firstChild;\n t.replaceWith(...t.childNodes);\n }\n for (; null !== (r = C.nextNode()) && d.length < u;) {\n if (1 === r.nodeType) {\n if (r.hasAttributes()) for (const t of r.getAttributeNames()) if (t.endsWith(e)) {\n const i = v[a++],\n s = r.getAttribute(t).split(h),\n e = /([.?@])?(.*)/.exec(i);\n d.push({\n type: 1,\n index: c,\n name: e[2],\n strings: s,\n ctor: \".\" === e[1] ? H : \"?\" === e[1] ? I : \"@\" === e[1] ? L : k\n }), r.removeAttribute(t);\n } else t.startsWith(h) && (d.push({\n type: 6,\n index: c\n }), r.removeAttribute(t));\n if ($.test(r.tagName)) {\n const t = r.textContent.split(h),\n s = t.length - 1;\n if (s > 0) {\n r.textContent = i ? i.emptyScript : \"\";\n for (let i = 0; i < s; i++) r.append(t[i], l()), C.nextNode(), d.push({\n type: 2,\n index: ++c\n });\n r.append(t[s], l());\n }\n }\n } else if (8 === r.nodeType) if (r.data === o) d.push({\n type: 2,\n index: c\n });else {\n let t = -1;\n for (; -1 !== (t = r.data.indexOf(h, t + 1));) d.push({\n type: 7,\n index: c\n }), t += h.length - 1;\n }\n c++;\n }\n }\n static createElement(t, i) {\n const s = r.createElement(\"template\");\n return s.innerHTML = t, s;\n }\n}\nfunction S(t, i, s = t, e) {\n if (i === T) return i;\n let h = void 0 !== e ? s._$Co?.[e] : s._$Cl;\n const o = c(i) ? void 0 : i._$litDirective$;\n return h?.constructor !== o && (h?._$AO?.(!1), void 0 === o ? h = void 0 : (h = new o(t), h._$AT(t, s, e)), void 0 !== e ? (s._$Co ??= [])[e] = h : s._$Cl = h), void 0 !== h && (i = S(t, h._$AS(t, i.values), h, e)), i;\n}\nclass M {\n constructor(t, i) {\n this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;\n }\n get parentNode() {\n return this._$AM.parentNode;\n }\n get _$AU() {\n return this._$AM._$AU;\n }\n u(t) {\n const {\n el: {\n content: i\n },\n parts: s\n } = this._$AD,\n e = (t?.creationScope ?? r).importNode(i, !0);\n C.currentNode = e;\n let h = C.nextNode(),\n o = 0,\n n = 0,\n l = s[0];\n for (; void 0 !== l;) {\n if (o === l.index) {\n let i;\n 2 === l.type ? i = new R(h, h.nextSibling, this, t) : 1 === l.type ? i = new l.ctor(h, l.name, l.strings, this, t) : 6 === l.type && (i = new z(h, this, t)), this._$AV.push(i), l = s[++n];\n }\n o !== l?.index && (h = C.nextNode(), o++);\n }\n return C.currentNode = r, e;\n }\n p(t) {\n let i = 0;\n for (const s of this._$AV) void 0 !== s && (void 0 !== s.strings ? (s._$AI(t, s, i), i += s.strings.length - 2) : s._$AI(t[i])), i++;\n }\n}\nclass R {\n get _$AU() {\n return this._$AM?._$AU ?? this._$Cv;\n }\n constructor(t, i, s, e) {\n this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = e?.isConnected ?? !0;\n }\n get parentNode() {\n let t = this._$AA.parentNode;\n const i = this._$AM;\n return void 0 !== i && 11 === t?.nodeType && (t = i.parentNode), t;\n }\n get startNode() {\n return this._$AA;\n }\n get endNode() {\n return this._$AB;\n }\n _$AI(t, i = this) {\n t = S(this, t, i), c(t) ? t === E || null == t || \"\" === t ? (this._$AH !== E && this._$AR(), this._$AH = E) : t !== this._$AH && t !== T && this._(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : u(t) ? this.k(t) : this._(t);\n }\n O(t) {\n return this._$AA.parentNode.insertBefore(t, this._$AB);\n }\n T(t) {\n this._$AH !== t && (this._$AR(), this._$AH = this.O(t));\n }\n _(t) {\n this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r.createTextNode(t)), this._$AH = t;\n }\n $(t) {\n const {\n values: i,\n _$litType$: s\n } = t,\n e = \"number\" == typeof s ? this._$AC(t) : (void 0 === s.el && (s.el = N.createElement(P(s.h, s.h[0]), this.options)), s);\n if (this._$AH?._$AD === e) this._$AH.p(i);else {\n const t = new M(e, this),\n s = t.u(this.options);\n t.p(i), this.T(s), this._$AH = t;\n }\n }\n _$AC(t) {\n let i = A.get(t.strings);\n return void 0 === i && A.set(t.strings, i = new N(t)), i;\n }\n k(t) {\n a(this._$AH) || (this._$AH = [], this._$AR());\n const i = this._$AH;\n let s,\n e = 0;\n for (const h of t) e === i.length ? i.push(s = new R(this.O(l()), this.O(l()), this, this.options)) : s = i[e], s._$AI(h), e++;\n e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);\n }\n _$AR(t = this._$AA.nextSibling, i) {\n for (this._$AP?.(!1, !0, i); t && t !== this._$AB;) {\n const i = t.nextSibling;\n t.remove(), t = i;\n }\n }\n setConnected(t) {\n void 0 === this._$AM && (this._$Cv = t, this._$AP?.(t));\n }\n}\nclass k {\n get tagName() {\n return this.element.tagName;\n }\n get _$AU() {\n return this._$AM._$AU;\n }\n constructor(t, i, s, e, h) {\n this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = h, s.length > 2 || \"\" !== s[0] || \"\" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = E;\n }\n _$AI(t, i = this, s, e) {\n const h = this.strings;\n let o = !1;\n if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);else {\n const e = t;\n let n, r;\n for (t = h[0], n = 0; n < h.length - 1; n++) r = S(this, e[s + n], i, n), r === T && (r = this._$AH[n]), o ||= !c(r) || r !== this._$AH[n], r === E ? t = E : t !== E && (t += (r ?? \"\") + h[n + 1]), this._$AH[n] = r;\n }\n o && !e && this.j(t);\n }\n j(t) {\n t === E ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? \"\");\n }\n}\nclass H extends k {\n constructor() {\n super(...arguments), this.type = 3;\n }\n j(t) {\n this.element[this.name] = t === E ? void 0 : t;\n }\n}\nclass I extends k {\n constructor() {\n super(...arguments), this.type = 4;\n }\n j(t) {\n this.element.toggleAttribute(this.name, !!t && t !== E);\n }\n}\nclass L extends k {\n constructor(t, i, s, e, h) {\n super(t, i, s, e, h), this.type = 5;\n }\n _$AI(t, i = this) {\n if ((t = S(this, t, i, 0) ?? E) === T) return;\n const s = this._$AH,\n e = t === E && s !== E || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive,\n h = t !== E && (s === E || e);\n e && this.element.removeEventListener(this.name, this, s), h && this.element.addEventListener(this.name, this, t), this._$AH = t;\n }\n handleEvent(t) {\n \"function\" == typeof this._$AH ? this._$AH.call(this.options?.host ?? this.element, t) : this._$AH.handleEvent(t);\n }\n}\nclass z {\n constructor(t, i, s) {\n this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;\n }\n get _$AU() {\n return this._$AM._$AU;\n }\n _$AI(t) {\n S(this, t);\n }\n}\nconst Z = {\n M: e,\n P: h,\n A: o,\n C: 1,\n L: V,\n R: M,\n D: u,\n V: S,\n I: R,\n H: k,\n N: I,\n U: L,\n B: H,\n F: z\n },\n j = t.litHtmlPolyfillSupport;\nj?.(N, R), (t.litHtmlVersions ??= []).push(\"3.2.1\");\nconst B = (t, i, s) => {\n const e = s?.renderBefore ?? i;\n let h = e._$litPart$;\n if (void 0 === h) {\n const t = s?.renderBefore ?? null;\n e._$litPart$ = h = new R(i.insertBefore(l(), t), t, void 0, s ?? {});\n }\n return h._$AI(t), h;\n};\nexport { Z as _$LH, x as html, w as mathml, T as noChange, E as nothing, B as render, b as svg };\n","import { ReactiveElement as t } from \"@lit/reactive-element\";\nexport * from \"@lit/reactive-element\";\nimport { render as e, noChange as s } from \"lit-html\";\nexport * from \"lit-html\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nclass r extends t {\n constructor() {\n super(...arguments), this.renderOptions = {\n host: this\n }, this._$Do = void 0;\n }\n createRenderRoot() {\n const t = super.createRenderRoot();\n return this.renderOptions.renderBefore ??= t.firstChild, t;\n }\n update(t) {\n const s = this.render();\n this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = e(s, this.renderRoot, this.renderOptions);\n }\n connectedCallback() {\n super.connectedCallback(), this._$Do?.setConnected(!0);\n }\n disconnectedCallback() {\n super.disconnectedCallback(), this._$Do?.setConnected(!1);\n }\n render() {\n return s;\n }\n}\nr._$litElement$ = !0, r[\"finalized\"] = !0, globalThis.litElementHydrateSupport?.({\n LitElement: r\n});\nconst i = globalThis.litElementPolyfillSupport;\ni?.({\n LitElement: r\n});\nconst o = {\n _$AK: (t, e, s) => {\n t._$AK(e, s);\n },\n _$AL: t => t._$AL\n};\n(globalThis.litElementVersions ??= []).push(\"4.1.1\");\nexport { r as LitElement, o as _$LE };\n","import { css, unsafeCSS } from 'lit';\nlet themeTag = undefined;\nlet darkModeTag = undefined;\nlet lightModeTag = undefined;\nexport function initializeTheming(themeVariables, themeMode) {\n themeTag = document.createElement('style');\n darkModeTag = document.createElement('style');\n lightModeTag = document.createElement('style');\n themeTag.textContent = createRootStyles(themeVariables).core.cssText;\n darkModeTag.textContent = createRootStyles(themeVariables).dark.cssText;\n lightModeTag.textContent = createRootStyles(themeVariables).light.cssText;\n document.head.appendChild(themeTag);\n document.head.appendChild(darkModeTag);\n document.head.appendChild(lightModeTag);\n setColorTheme(themeMode);\n}\nexport function setColorTheme(themeMode) {\n if (darkModeTag && lightModeTag) {\n if (themeMode === 'light') {\n darkModeTag.removeAttribute('media');\n lightModeTag.media = 'enabled';\n } else {\n lightModeTag.removeAttribute('media');\n darkModeTag.media = 'enabled';\n }\n }\n}\nexport function setThemeVariables(themeVariables) {\n if (themeTag && darkModeTag && lightModeTag) {\n themeTag.textContent = createRootStyles(themeVariables).core.cssText;\n darkModeTag.textContent = createRootStyles(themeVariables).dark.cssText;\n lightModeTag.textContent = createRootStyles(themeVariables).light.cssText;\n }\n}\nfunction createRootStyles(themeVariables) {\n return {\n core: css`\n @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');\n :root {\n --w3m-color-mix-strength: ${unsafeCSS(themeVariables?.['--w3m-color-mix-strength'] ? `${themeVariables['--w3m-color-mix-strength']}%` : '0%')};\n --w3m-font-family: ${unsafeCSS(themeVariables?.['--w3m-font-family'] || 'Inter, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;')};\n --w3m-font-size-master: ${unsafeCSS(themeVariables?.['--w3m-font-size-master'] || '10px')};\n --w3m-border-radius-master: ${unsafeCSS(themeVariables?.['--w3m-border-radius-master'] || '4px')};\n --w3m-z-index: ${unsafeCSS(themeVariables?.['--w3m-z-index'] || 100)};\n\n --wui-font-family: var(--w3m-font-family);\n\n --wui-font-size-micro: var(--w3m-font-size-master);\n --wui-font-size-tiny: calc(var(--w3m-font-size-master) * 1.2);\n --wui-font-size-small: calc(var(--w3m-font-size-master) * 1.4);\n --wui-font-size-paragraph: calc(var(--w3m-font-size-master) * 1.6);\n --wui-font-size-large: calc(var(--w3m-font-size-master) * 2);\n\n --wui-border-radius-5xs: var(--w3m-border-radius-master);\n --wui-border-radius-4xs: calc(var(--w3m-border-radius-master) * 1.5);\n --wui-border-radius-3xs: calc(var(--w3m-border-radius-master) * 2);\n --wui-border-radius-xxs: calc(var(--w3m-border-radius-master) * 3);\n --wui-border-radius-xs: calc(var(--w3m-border-radius-master) * 4);\n --wui-border-radius-s: calc(var(--w3m-border-radius-master) * 5);\n --wui-border-radius-m: calc(var(--w3m-border-radius-master) * 7);\n --wui-border-radius-l: calc(var(--w3m-border-radius-master) * 9);\n --wui-border-radius-3xl: calc(var(--w3m-border-radius-master) * 20);\n\n --wui-font-weight-light: 400;\n --wui-font-weight-regular: 500;\n --wui-font-weight-medium: 600;\n --wui-font-weight-bold: 700;\n\n --wui-letter-spacing-large: -0.8px;\n --wui-letter-spacing-paragraph: -0.64px;\n --wui-letter-spacing-small: -0.56px;\n --wui-letter-spacing-tiny: -0.48px;\n --wui-letter-spacing-micro: -0.2px;\n\n --wui-spacing-0: 0px;\n --wui-spacing-4xs: 2px;\n --wui-spacing-3xs: 4px;\n --wui-spacing-xxs: 6px;\n --wui-spacing-2xs: 7px;\n --wui-spacing-xs: 8px;\n --wui-spacing-1xs: 10px;\n --wui-spacing-s: 12px;\n --wui-spacing-m: 14px;\n --wui-spacing-l: 16px;\n --wui-spacing-2l: 18px;\n --wui-spacing-xl: 20px;\n --wui-spacing-xxl: 24px;\n --wui-spacing-2xl: 32px;\n --wui-spacing-3xl: 40px;\n --wui-spacing-4xl: 90px;\n\n --wui-icon-box-size-xxs: 14px;\n --wui-icon-box-size-xs: 20px;\n --wui-icon-box-size-sm: 24px;\n --wui-icon-box-size-md: 32px;\n --wui-icon-box-size-lg: 40px;\n --wui-icon-box-size-xl: 64px;\n\n --wui-icon-size-inherit: inherit;\n --wui-icon-size-xxs: 10px;\n --wui-icon-size-xs: 12px;\n --wui-icon-size-sm: 14px;\n --wui-icon-size-md: 16px;\n --wui-icon-size-mdl: 18px;\n --wui-icon-size-lg: 20px;\n --wui-icon-size-xl: 24px;\n\n --wui-wallet-image-size-inherit: inherit;\n --wui-wallet-image-size-sm: 40px;\n --wui-wallet-image-size-md: 56px;\n --wui-wallet-image-size-lg: 80px;\n\n --wui-box-size-md: 100px;\n --wui-box-size-lg: 120px;\n\n --wui-ease-out-power-2: cubic-bezier(0, 0, 0.22, 1);\n --wui-ease-out-power-1: cubic-bezier(0, 0, 0.55, 1);\n\n --wui-ease-in-power-3: cubic-bezier(0.66, 0, 1, 1);\n --wui-ease-in-power-2: cubic-bezier(0.45, 0, 1, 1);\n --wui-ease-in-power-1: cubic-bezier(0.3, 0, 1, 1);\n\n --wui-ease-inout-power-1: cubic-bezier(0.45, 0, 0.55, 1);\n\n --wui-duration-lg: 200ms;\n --wui-duration-md: 125ms;\n --wui-duration-sm: 75ms;\n\n --wui-path-network: path(\n 'M43.4605 10.7248L28.0485 1.61089C25.5438 0.129705 22.4562 0.129705 19.9515 1.61088L4.53951 10.7248C2.03626 12.2051 0.5 14.9365 0.5 17.886V36.1139C0.5 39.0635 2.03626 41.7949 4.53951 43.2752L19.9515 52.3891C22.4562 53.8703 25.5438 53.8703 28.0485 52.3891L43.4605 43.2752C45.9637 41.7949 47.5 39.0635 47.5 36.114V17.8861C47.5 14.9365 45.9637 12.2051 43.4605 10.7248Z'\n );\n\n --wui-path-network-lg: path(\n 'M78.3244 18.926L50.1808 2.45078C45.7376 -0.150261 40.2624 -0.150262 35.8192 2.45078L7.6756 18.926C3.23322 21.5266 0.5 26.3301 0.5 31.5248V64.4752C0.5 69.6699 3.23322 74.4734 7.6756 77.074L35.8192 93.5492C40.2624 96.1503 45.7376 96.1503 50.1808 93.5492L78.3244 77.074C82.7668 74.4734 85.5 69.6699 85.5 64.4752V31.5248C85.5 26.3301 82.7668 21.5266 78.3244 18.926Z'\n );\n\n --wui-color-inherit: inherit;\n\n --wui-color-inverse-100: #fff;\n --wui-color-inverse-000: #000;\n\n --wui-cover: rgba(20, 20, 20, 0.8);\n\n --wui-color-modal-bg: var(--wui-color-modal-bg-base);\n\n --wui-color-blue-100: var(--wui-color-blue-base-100);\n\n --wui-color-accent-100: var(--wui-color-accent-base-100);\n --wui-color-accent-090: var(--wui-color-accent-base-090);\n --wui-color-accent-080: var(--wui-color-accent-base-080);\n\n --wui-accent-glass-090: var(--wui-accent-glass-base-090);\n --wui-accent-glass-080: var(--wui-accent-glass-base-080);\n --wui-accent-glass-020: var(--wui-accent-glass-base-020);\n --wui-accent-glass-015: var(--wui-accent-glass-base-015);\n --wui-accent-glass-010: var(--wui-accent-glass-base-010);\n --wui-accent-glass-005: var(--wui-accent-glass-base-005);\n --wui-accent-glass-002: var(--wui-accent-glass-base-002);\n\n --wui-color-fg-100: var(--wui-color-fg-base-100);\n --wui-color-fg-125: var(--wui-color-fg-base-125);\n --wui-color-fg-150: var(--wui-color-fg-base-150);\n --wui-color-fg-175: var(--wui-color-fg-base-175);\n --wui-color-fg-200: var(--wui-color-fg-base-200);\n --wui-color-fg-225: var(--wui-color-fg-base-225);\n --wui-color-fg-250: var(--wui-color-fg-base-250);\n --wui-color-fg-275: var(--wui-color-fg-base-275);\n --wui-color-fg-300: var(--wui-color-fg-base-300);\n\n --wui-color-bg-100: var(--wui-color-bg-base-100);\n --wui-color-bg-125: var(--wui-color-bg-base-125);\n --wui-color-bg-150: var(--wui-color-bg-base-150);\n --wui-color-bg-175: var(--wui-color-bg-base-175);\n --wui-color-bg-200: var(--wui-color-bg-base-200);\n --wui-color-bg-225: var(--wui-color-bg-base-225);\n --wui-color-bg-250: var(--wui-color-bg-base-250);\n --wui-color-bg-275: var(--wui-color-bg-base-275);\n --wui-color-bg-300: var(--wui-color-bg-base-300);\n\n --wui-color-success-100: var(--wui-color-success-base-100);\n --wui-color-error-100: var(--wui-color-error-base-100);\n\n --wui-icon-box-bg-error-100: var(--wui-icon-box-bg-error-base-100);\n --wui-icon-box-bg-blue-100: var(--wui-icon-box-bg-blue-base-100);\n --wui-icon-box-bg-success-100: var(--wui-icon-box-bg-success-base-100);\n --wui-icon-box-bg-inverse-100: var(--wui-icon-box-bg-inverse-base-100);\n\n --wui-all-wallets-bg-100: var(--wui-all-wallets-bg-base-100);\n\n --wui-avatar-border: var(--wui-avatar-border-base);\n\n --wui-thumbnail-border: var(--wui-thumbnail-border-base);\n\n --wui-box-shadow-blue: rgba(71, 161, 255, 0.16);\n }\n\n @supports (background: color-mix(in srgb, white 50%, black)) {\n :root {\n --wui-color-modal-bg: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-modal-bg-base)\n );\n\n --wui-box-shadow-blue: color-mix(in srgb, var(--wui-color-accent-100) 16%, transparent);\n\n --wui-color-accent-090: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 90%,\n var(--w3m-default)\n );\n --wui-color-accent-080: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 80%,\n var(--w3m-default)\n );\n\n --wui-color-accent-090: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 90%,\n transparent\n );\n --wui-color-accent-080: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 80%,\n transparent\n );\n\n --wui-accent-glass-090: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 90%,\n transparent\n );\n --wui-accent-glass-080: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 80%,\n transparent\n );\n --wui-accent-glass-020: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 20%,\n transparent\n );\n --wui-accent-glass-015: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 15%,\n transparent\n );\n --wui-accent-glass-010: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 10%,\n transparent\n );\n --wui-accent-glass-005: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 5%,\n transparent\n );\n --wui-color-accent-002: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 2%,\n transparent\n );\n\n --wui-color-fg-100: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-fg-base-100)\n );\n --wui-color-fg-125: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-fg-base-125)\n );\n --wui-color-fg-150: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-fg-base-150)\n );\n --wui-color-fg-175: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-fg-base-175)\n );\n --wui-color-fg-200: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-fg-base-200)\n );\n --wui-color-fg-225: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-fg-base-225)\n );\n --wui-color-fg-250: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-fg-base-250)\n );\n --wui-color-fg-275: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-fg-base-275)\n );\n --wui-color-fg-300: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-fg-base-300)\n );\n\n --wui-color-bg-100: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-bg-base-100)\n );\n --wui-color-bg-125: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-bg-base-125)\n );\n --wui-color-bg-150: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-bg-base-150)\n );\n --wui-color-bg-175: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-bg-base-175)\n );\n --wui-color-bg-200: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-bg-base-200)\n );\n --wui-color-bg-225: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-bg-base-225)\n );\n --wui-color-bg-250: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-bg-base-250)\n );\n --wui-color-bg-275: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-bg-base-275)\n );\n --wui-color-bg-300: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-bg-base-300)\n );\n\n --wui-color-success-100: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-success-base-100)\n );\n --wui-color-error-100: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-error-base-100)\n );\n\n --wui-icon-box-bg-error-100: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-icon-box-bg-error-base-100)\n );\n --wui-icon-box-bg-accent-100: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-icon-box-bg-blue-base-100)\n );\n --wui-icon-box-bg-success-100: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-icon-box-bg-success-base-100)\n );\n --wui-icon-box-bg-inverse-100: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-icon-box-bg-inverse-base-100)\n );\n\n --wui-all-wallets-bg-100: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-all-wallets-bg-base-100)\n );\n\n --wui-avatar-border: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-avatar-border-base)\n );\n\n --wui-thumbnail-border: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-thumbnail-border-base)\n );\n }\n }\n `,\n light: css`\n :root {\n --w3m-color-mix: ${unsafeCSS(themeVariables?.['--w3m-color-mix'] || '#fff')};\n --w3m-accent: ${unsafeCSS(themeVariables?.['--w3m-accent'] || '#47a1ff')};\n --w3m-default: #fff;\n\n --wui-color-modal-bg-base: #191a1a;\n\n --wui-color-blue-base-100: #47a1ff;\n\n --wui-color-accent-base-100: var(--w3m-accent);\n --wui-color-accent-base-090: #59aaff;\n --wui-color-accent-base-080: #6cb4ff;\n\n --wui-accent-glass-base-090: rgba(71, 161, 255, 0.9);\n --wui-accent-glass-base-080: rgba(71, 161, 255, 0.8);\n --wui-accent-glass-base-020: rgba(71, 161, 255, 0.2);\n --wui-accent-glass-base-015: rgba(71, 161, 255, 0.15);\n --wui-accent-glass-base-010: rgba(71, 161, 255, 0.1);\n --wui-accent-glass-base-005: rgba(71, 161, 255, 0.05);\n --wui-accent-glass-base-002: rgba(71, 161, 255, 0.02);\n\n --wui-color-fg-base-100: #e4e7e7;\n --wui-color-fg-base-125: #d0d5d5;\n --wui-color-fg-base-150: #a8b1b1;\n --wui-color-fg-base-175: #a8b0b0;\n --wui-color-fg-base-200: #949e9e;\n --wui-color-fg-base-225: #868f8f;\n --wui-color-fg-base-250: #788080;\n --wui-color-fg-base-275: #788181;\n --wui-color-fg-base-300: #6e7777;\n\n --wui-color-bg-base-100: #141414;\n --wui-color-bg-base-125: #191a1a;\n --wui-color-bg-base-150: #1e1f1f;\n --wui-color-bg-base-175: #222525;\n --wui-color-bg-base-200: #272a2a;\n --wui-color-bg-base-225: #2c3030;\n --wui-color-bg-base-250: #313535;\n --wui-color-bg-base-275: #363b3b;\n --wui-color-bg-base-300: #3b4040;\n\n --wui-color-success-base-100: #26d962;\n --wui-color-error-base-100: #f25a67;\n\n --wui-success-glass-001: rgba(38, 217, 98, 0.01);\n --wui-success-glass-002: rgba(38, 217, 98, 0.02);\n --wui-success-glass-005: rgba(38, 217, 98, 0.05);\n --wui-success-glass-010: rgba(38, 217, 98, 0.1);\n --wui-success-glass-015: rgba(38, 217, 98, 0.15);\n --wui-success-glass-020: rgba(38, 217, 98, 0.2);\n --wui-success-glass-025: rgba(38, 217, 98, 0.25);\n --wui-success-glass-030: rgba(38, 217, 98, 0.3);\n --wui-success-glass-060: rgba(38, 217, 98, 0.6);\n --wui-success-glass-080: rgba(38, 217, 98, 0.8);\n\n --wui-icon-box-bg-error-base-100: #3c2426;\n --wui-icon-box-bg-blue-base-100: #20303f;\n --wui-icon-box-bg-success-base-100: var(--wui-success-glass-015);\n --wui-icon-box-bg-inverse-base-100: #243240;\n\n --wui-all-wallets-bg-base-100: #222b35;\n\n --wui-avatar-border-base: #252525;\n\n --wui-thumbnail-border-base: #252525;\n\n --wui-gray-glass-001: rgba(255, 255, 255, 0.01);\n --wui-gray-glass-002: rgba(255, 255, 255, 0.02);\n --wui-gray-glass-005: rgba(255, 255, 255, 0.05);\n --wui-gray-glass-010: rgba(255, 255, 255, 0.1);\n --wui-gray-glass-015: rgba(255, 255, 255, 0.15);\n --wui-gray-glass-020: rgba(255, 255, 255, 0.2);\n --wui-gray-glass-025: rgba(255, 255, 255, 0.25);\n --wui-gray-glass-030: rgba(255, 255, 255, 0.3);\n --wui-gray-glass-060: rgba(255, 255, 255, 0.6);\n --wui-gray-glass-080: rgba(255, 255, 255, 0.8);\n }\n `,\n dark: css`\n :root {\n --w3m-color-mix: ${unsafeCSS(themeVariables?.['--w3m-color-mix'] || '#000')};\n --w3m-accent: ${unsafeCSS(themeVariables?.['--w3m-accent'] || '#3396ff')};\n --w3m-default: #000;\n\n --wui-color-modal-bg-base: #fff;\n\n --wui-color-blue-base-100: #3396ff;\n\n --wui-color-accent-base-100: var(--w3m-accent);\n --wui-color-accent-base-090: #2d7dd2;\n --wui-color-accent-base-080: #2978cc;\n\n --wui-accent-glass-base-090: rgba(51, 150, 255, 0.9);\n --wui-accent-glass-base-080: rgba(51, 150, 255, 0.8);\n --wui-accent-glass-base-020: rgba(51, 150, 255, 0.2);\n --wui-accent-glass-base-015: rgba(51, 150, 255, 0.15);\n --wui-accent-glass-base-010: rgba(51, 150, 255, 0.1);\n --wui-accent-glass-base-005: rgba(51, 150, 255, 0.05);\n --wui-accent-glass-base-002: rgba(51, 150, 255, 0.02);\n\n --wui-color-fg-base-100: #141414;\n --wui-color-fg-base-125: #2d3131;\n --wui-color-fg-base-150: #474d4d;\n --wui-color-fg-base-175: #636d6d;\n --wui-color-fg-base-200: #798686;\n --wui-color-fg-base-225: #828f8f;\n --wui-color-fg-base-250: #8b9797;\n --wui-color-fg-base-275: #95a0a0;\n --wui-color-fg-base-300: #9ea9a9;\n\n --wui-color-bg-base-100: #ffffff;\n --wui-color-bg-base-125: #f5fafa;\n --wui-color-bg-base-150: #f3f8f8;\n --wui-color-bg-base-175: #eef4f4;\n --wui-color-bg-base-200: #eaf1f1;\n --wui-color-bg-base-225: #e5eded;\n --wui-color-bg-base-250: #e1e9e9;\n --wui-color-bg-base-275: #dce7e7;\n --wui-color-bg-base-300: #d8e3e3;\n\n --wui-color-success-base-100: #26b562;\n --wui-color-error-base-100: #f05142;\n\n --wui-success-glass-001: rgba(38, 181, 98, 0.01);\n --wui-success-glass-002: rgba(38, 181, 98, 0.02);\n --wui-success-glass-005: rgba(38, 181, 98, 0.05);\n --wui-success-glass-010: rgba(38, 181, 98, 0.1);\n --wui-success-glass-015: rgba(38, 181, 98, 0.15);\n --wui-success-glass-020: rgba(38, 181, 98, 0.2);\n --wui-success-glass-025: rgba(38, 181, 98, 0.25);\n --wui-success-glass-030: rgba(38, 181, 98, 0.3);\n --wui-success-glass-060: rgba(38, 181, 98, 0.6);\n --wui-success-glass-080: rgba(38, 181, 98, 0.8);\n\n --wui-icon-box-bg-error-base-100: #f4dfdd;\n --wui-icon-box-bg-blue-base-100: #d9ecfb;\n --wui-icon-box-bg-success-base-100: #daf0e4;\n --wui-icon-box-bg-inverse-base-100: #dcecfc;\n\n --wui-all-wallets-bg-base-100: #e8f1fa;\n\n --wui-avatar-border-base: #f3f4f4;\n\n --wui-thumbnail-border-base: #eaefef;\n\n --wui-gray-glass-001: rgba(0, 0, 0, 0.01);\n --wui-gray-glass-002: rgba(0, 0, 0, 0.02);\n --wui-gray-glass-005: rgba(0, 0, 0, 0.05);\n --wui-gray-glass-010: rgba(0, 0, 0, 0.1);\n --wui-gray-glass-015: rgba(0, 0, 0, 0.15);\n --wui-gray-glass-020: rgba(0, 0, 0, 0.2);\n --wui-gray-glass-025: rgba(0, 0, 0, 0.25);\n --wui-gray-glass-030: rgba(0, 0, 0, 0.3);\n --wui-gray-glass-060: rgba(0, 0, 0, 0.6);\n --wui-gray-glass-080: rgba(0, 0, 0, 0.8);\n }\n `\n };\n}\nexport const resetStyles = css`\n *,\n *::after,\n *::before,\n :host {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n font-style: normal;\n text-rendering: optimizeSpeed;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n -webkit-tap-highlight-color: transparent;\n font-family: var(--wui-font-family);\n backface-visibility: hidden;\n }\n`;\nexport const elementStyles = css`\n button,\n a {\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n transition: all var(--wui-ease-out-power-1) var(--wui-duration-lg);\n outline: none;\n border: 1px solid transparent;\n column-gap: var(--wui-spacing-3xs);\n background-color: transparent;\n text-decoration: none;\n }\n\n @media (hover: hover) and (pointer: fine) {\n button:hover:enabled {\n background-color: var(--wui-gray-glass-005);\n }\n\n button:active:enabled {\n transition: all var(--wui-ease-out-power-2) var(--wui-duration-sm);\n background-color: var(--wui-gray-glass-010);\n }\n\n button[data-variant='fill']:hover:enabled {\n background-color: var(--wui-color-accent-090);\n }\n\n button[data-variant='accentBg']:hover:enabled {\n background: var(--wui-accent-glass-015);\n }\n\n button[data-variant='accentBg']:active:enabled {\n background: var(--wui-accent-glass-020);\n }\n }\n\n button:disabled {\n cursor: not-allowed;\n background-color: var(--wui-gray-glass-005);\n }\n\n button[data-variant='shade']:disabled,\n button[data-variant='accent']:disabled,\n button[data-variant='accentBg']:disabled {\n background-color: var(--wui-gray-glass-010);\n color: var(--wui-gray-glass-015);\n filter: grayscale(1);\n }\n\n button:disabled > wui-wallet-image,\n button:disabled > wui-all-wallets-image,\n button:disabled > wui-network-image,\n button:disabled > wui-image,\n button:disabled > wui-icon-box,\n button:disabled > wui-transaction-visual,\n button:disabled > wui-logo {\n filter: grayscale(1);\n }\n\n button:focus-visible,\n a:focus-visible {\n border: 1px solid var(--wui-color-accent-100);\n background-color: var(--wui-gray-glass-005);\n -webkit-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n -moz-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n }\n\n button[data-variant='fill']:focus-visible {\n background-color: var(--wui-color-accent-090);\n }\n\n button[data-variant='fill'] {\n color: var(--wui-color-inverse-100);\n background-color: var(--wui-color-accent-100);\n }\n\n button[data-variant='fill']:disabled {\n color: var(--wui-gray-glass-015);\n background-color: var(--wui-gray-glass-015);\n }\n\n button[data-variant='fill']:disabled > wui-icon {\n color: var(--wui-gray-glass-015);\n }\n\n button[data-variant='shade'] {\n color: var(--wui-color-fg-200);\n }\n\n button[data-variant='accent'],\n button[data-variant='accentBg'] {\n color: var(--wui-color-accent-100);\n }\n\n button[data-variant='accentBg'] {\n background: var(--wui-accent-glass-010);\n border: 1px solid var(--wui-accent-glass-010);\n }\n\n button[data-variant='fullWidth'] {\n width: 100%;\n border-radius: var(--wui-border-radius-xs);\n height: 56px;\n border: none;\n background-color: var(--wui-gray-glass-002);\n color: var(--wui-color-fg-200);\n gap: var(--wui-spacing-xs);\n }\n\n button:active:enabled {\n background-color: var(--wui-gray-glass-010);\n }\n\n button[data-variant='fill']:active:enabled {\n background-color: var(--wui-color-accent-080);\n border: 1px solid var(--wui-gray-glass-010);\n }\n\n input {\n border: none;\n outline: none;\n appearance: none;\n }\n`;\nexport const colorStyles = css`\n .wui-color-inherit {\n color: var(--wui-color-inherit);\n }\n\n .wui-color-accent-100 {\n color: var(--wui-color-accent-100);\n }\n\n .wui-color-error-100 {\n color: var(--wui-color-error-100);\n }\n\n .wui-color-success-100 {\n color: var(--wui-color-success-100);\n }\n\n .wui-color-inverse-100 {\n color: var(--wui-color-inverse-100);\n }\n\n .wui-color-inverse-000 {\n color: var(--wui-color-inverse-000);\n }\n\n .wui-color-fg-100 {\n color: var(--wui-color-fg-100);\n }\n\n .wui-color-fg-200 {\n color: var(--wui-color-fg-200);\n }\n\n .wui-color-fg-300 {\n color: var(--wui-color-fg-300);\n }\n\n .wui-bg-color-inherit {\n background-color: var(--wui-color-inherit);\n }\n\n .wui-bg-color-blue-100 {\n background-color: var(--wui-color-accent-100);\n }\n\n .wui-bg-color-error-100 {\n background-color: var(--wui-color-error-100);\n }\n\n .wui-bg-color-success-100 {\n background-color: var(--wui-color-success-100);\n }\n\n .wui-bg-color-inverse-100 {\n background-color: var(--wui-color-inverse-100);\n }\n\n .wui-bg-color-inverse-000 {\n background-color: var(--wui-color-inverse-000);\n }\n\n .wui-bg-color-fg-100 {\n background-color: var(--wui-color-fg-100);\n }\n\n .wui-bg-color-fg-200 {\n background-color: var(--wui-color-fg-200);\n }\n\n .wui-bg-color-fg-300 {\n background-color: var(--wui-color-fg-300);\n }\n`;\n","function standardCustomElement(tagName, descriptor) {\n const {\n kind,\n elements\n } = descriptor;\n return {\n kind,\n elements,\n finisher(clazz) {\n if (!customElements.get(tagName)) {\n customElements.define(tagName, clazz);\n }\n }\n };\n}\nfunction legacyCustomElement(tagName, clazz) {\n if (!customElements.get(tagName)) {\n customElements.define(tagName, clazz);\n }\n return clazz;\n}\nexport function customElement(tagName) {\n return function create(classOrDescriptor) {\n return typeof classOrDescriptor === 'function' ? legacyCustomElement(tagName, classOrDescriptor) : standardCustomElement(tagName, classOrDescriptor);\n };\n}\n","import { css } from 'lit';\nexport default css`\n :host {\n display: block;\n border-radius: clamp(0px, var(--wui-border-radius-l), 44px);\n border: 1px solid var(--wui-gray-glass-005);\n background-color: var(--wui-color-modal-bg);\n overflow: hidden;\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { LitElement, html } from 'lit';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiCard = class WuiCard extends LitElement {\n render() {\n return html``;\n }\n};\nWuiCard.styles = [resetStyles, styles];\nWuiCard = __decorate([customElement('wui-card')], WuiCard);\nexport { WuiCard };\n","import { defaultConverter as t, notEqual as e } from \"../reactive-element.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst o = {\n attribute: !0,\n type: String,\n converter: t,\n reflect: !1,\n hasChanged: e\n },\n r = (t = o, e, r) => {\n const {\n kind: n,\n metadata: i\n } = r;\n let s = globalThis.litPropertyMetadata.get(i);\n if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map()), s.set(r.name, t), \"accessor\" === n) {\n const {\n name: o\n } = r;\n return {\n set(r) {\n const n = e.get.call(this);\n e.set.call(this, r), this.requestUpdate(o, n, t);\n },\n init(e) {\n return void 0 !== e && this.P(o, void 0, t), e;\n }\n };\n }\n if (\"setter\" === n) {\n const {\n name: o\n } = r;\n return function (r) {\n const n = this[o];\n e.call(this, r), this.requestUpdate(o, n, t);\n };\n }\n throw Error(\"Unsupported decorator location: \" + n);\n };\nfunction n(t) {\n return (e, o) => \"object\" == typeof o ? r(t, e, o) : ((t, e, o) => {\n const r = e.hasOwnProperty(o);\n return e.constructor.createProperty(o, r ? {\n ...t,\n wrapped: !0\n } : t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;\n })(t, e, o);\n}\nexport { n as property, r as standardProperty };\n","import { property as t } from \"./property.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nfunction r(r) {\n return t({\n ...r,\n state: !0,\n attribute: !1\n });\n}\nexport { r as state };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: flex;\n aspect-ratio: 1 / 1;\n color: var(--local-color);\n width: var(--local-width);\n }\n\n svg {\n width: inherit;\n height: inherit;\n object-fit: contain;\n object-position: center;\n }\n`;\n","import { svg } from 'lit';\nexport const allWalletsSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const appStoreSvg = svg`\n\n \n \n \n \n \n \n \n \n`;\n","import { svg } from 'lit';\nexport const appleSvg = svg`\n \n \n \n \n \n \n \n \n \n \n \n \n \n`;\n","import { svg } from 'lit';\nexport const arrowBottomSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const arrowLeftSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const arrowRightSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const arrowTopSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const browserSvg = svg`\n \n \n`;\n","import { svg } from 'lit';\nexport const checkmarkSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const chevronBottomSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const chevronLeftSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const chevronRightSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const chevronTopSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const chromeStoreSvg = svg`\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n`;\n","import { svg } from 'lit';\nexport const clockSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const closeSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const coinPlaceholderSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const compassSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const copySvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const cursorSvg = svg` \n \n`;\n","import { svg } from 'lit';\nexport const desktopSvg = svg`\n \n \n`;\n","import { svg } from 'lit';\nexport const disconnectSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const discordSvg = svg`\n \n \n \n \n \n \n \n \n \n \n`;\n","import { svg } from 'lit';\nexport const etherscanSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const extensionSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const externalLinkSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const facebookSvg = svg`\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n`;\n","import { svg } from 'lit';\nexport const filtersSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const githubSvg = svg`\n \n \n \n \n \n \n \n \n \n \n \n \n \n`;\n","import { svg } from 'lit';\nexport const googleSvg = svg`\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n`;\n","import { svg } from 'lit';\nexport const helpCircleSvg = svg`\n \n \n`;\n","import { svg } from 'lit';\nexport const infoCircleSvg = svg`\n \n \n`;\n","import { svg } from 'lit';\nexport const mailSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const mobileSvg = svg`\n \n \n`;\n","import { svg } from 'lit';\nexport const networkPlaceholderSvg = svg`\n \n \n`;\n","import { svg } from 'lit';\nexport const nftPlaceholderSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const offSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const playStoreSvg = svg` \n \n \n \n \n \n \n`;\n","import { svg } from 'lit';\nexport const qrCodeIcon = svg`\n \n`;\n","import { svg } from 'lit';\nexport const refreshSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const searchSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const swapHorizontalSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const swapHorizontalBoldSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const swapVerticalSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const telegramSvg = svg`\n \n \n \n \n \n \n \n \n \n \n `;\n","import { svg } from 'lit';\nexport const twitchSvg = svg`\n \n \n \n \n \n \n \n \n \n \n \n \n \n`;\n","import { svg } from 'lit';\nexport const twitterSvg = svg`\n \n \n \n \n \n \n \n \n \n \n`;\n","import { svg } from 'lit';\nexport const twitterIconSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const verifySvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const verifyFilledSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const walletPlaceholderSvg = svg`\n \n \n \n \n`;\n","import { svg } from 'lit';\nexport const walletSvg = svg`\n \n`;\n","import { svg } from 'lit';\nexport const walletConnectSvg = svg`\n \n \n`;\n","import { svg } from 'lit';\nexport const warningCircleSvg = svg`\n \n \n`;\n","import { svg } from 'lit';\nexport const alphaSvg = svg`\n \n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { colorStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nimport { allWalletsSvg } from '../../assets/svg/all-wallets.js';\nimport { appStoreSvg } from '../../assets/svg/app-store.js';\nimport { appleSvg } from '../../assets/svg/apple.js';\nimport { arrowBottomSvg } from '../../assets/svg/arrow-bottom.js';\nimport { arrowLeftSvg } from '../../assets/svg/arrow-left.js';\nimport { arrowRightSvg } from '../../assets/svg/arrow-right.js';\nimport { arrowTopSvg } from '../../assets/svg/arrow-top.js';\nimport { browserSvg } from '../../assets/svg/browser.js';\nimport { checkmarkSvg } from '../../assets/svg/checkmark.js';\nimport { chevronBottomSvg } from '../../assets/svg/chevron-bottom.js';\nimport { chevronLeftSvg } from '../../assets/svg/chevron-left.js';\nimport { chevronRightSvg } from '../../assets/svg/chevron-right.js';\nimport { chevronTopSvg } from '../../assets/svg/chevron-top.js';\nimport { chromeStoreSvg } from '../../assets/svg/chrome-store.js';\nimport { clockSvg } from '../../assets/svg/clock.js';\nimport { closeSvg } from '../../assets/svg/close.js';\nimport { coinPlaceholderSvg } from '../../assets/svg/coinPlaceholder.js';\nimport { compassSvg } from '../../assets/svg/compass.js';\nimport { copySvg } from '../../assets/svg/copy.js';\nimport { cursorSvg } from '../../assets/svg/cursor.js';\nimport { desktopSvg } from '../../assets/svg/desktop.js';\nimport { disconnectSvg } from '../../assets/svg/disconnect.js';\nimport { discordSvg } from '../../assets/svg/discord.js';\nimport { etherscanSvg } from '../../assets/svg/etherscan.js';\nimport { extensionSvg } from '../../assets/svg/extension.js';\nimport { externalLinkSvg } from '../../assets/svg/external-link.js';\nimport { facebookSvg } from '../../assets/svg/facebook.js';\nimport { filtersSvg } from '../../assets/svg/filters.js';\nimport { githubSvg } from '../../assets/svg/github.js';\nimport { googleSvg } from '../../assets/svg/google.js';\nimport { helpCircleSvg } from '../../assets/svg/help-circle.js';\nimport { infoCircleSvg } from '../../assets/svg/info-circle.js';\nimport { mailSvg } from '../../assets/svg/mail.js';\nimport { mobileSvg } from '../../assets/svg/mobile.js';\nimport { networkPlaceholderSvg } from '../../assets/svg/network-placeholder.js';\nimport { nftPlaceholderSvg } from '../../assets/svg/nftPlaceholder.js';\nimport { offSvg } from '../../assets/svg/off.js';\nimport { playStoreSvg } from '../../assets/svg/play-store.js';\nimport { qrCodeIcon } from '../../assets/svg/qr-code.js';\nimport { refreshSvg } from '../../assets/svg/refresh.js';\nimport { searchSvg } from '../../assets/svg/search.js';\nimport { swapHorizontalSvg } from '../../assets/svg/swapHorizontal.js';\nimport { swapHorizontalBoldSvg } from '../../assets/svg/swapHorizontalBold.js';\nimport { swapVerticalSvg } from '../../assets/svg/swapVertical.js';\nimport { telegramSvg } from '../../assets/svg/telegram.js';\nimport { twitchSvg } from '../../assets/svg/twitch.js';\nimport { twitterSvg } from '../../assets/svg/twitter.js';\nimport { twitterIconSvg } from '../../assets/svg/twitterIcon.js';\nimport { verifySvg } from '../../assets/svg/verify.js';\nimport { verifyFilledSvg } from '../../assets/svg/verify-filled.js';\nimport { walletPlaceholderSvg } from '../../assets/svg/wallet-placeholder.js';\nimport { walletSvg } from '../../assets/svg/wallet.js';\nimport { walletConnectSvg } from '../../assets/svg/walletconnect.js';\nimport { warningCircleSvg } from '../../assets/svg/warning-circle.js';\nimport { alphaSvg } from '../../assets/svg/alpha.js';\nconst svgOptions = {\n allWallets: allWalletsSvg,\n alpha: alphaSvg,\n appStore: appStoreSvg,\n chromeStore: chromeStoreSvg,\n apple: appleSvg,\n arrowBottom: arrowBottomSvg,\n arrowLeft: arrowLeftSvg,\n arrowRight: arrowRightSvg,\n arrowTop: arrowTopSvg,\n browser: browserSvg,\n checkmark: checkmarkSvg,\n chevronBottom: chevronBottomSvg,\n chevronLeft: chevronLeftSvg,\n chevronRight: chevronRightSvg,\n chevronTop: chevronTopSvg,\n clock: clockSvg,\n close: closeSvg,\n compass: compassSvg,\n coinPlaceholder: coinPlaceholderSvg,\n copy: copySvg,\n cursor: cursorSvg,\n desktop: desktopSvg,\n disconnect: disconnectSvg,\n discord: discordSvg,\n etherscan: etherscanSvg,\n extension: extensionSvg,\n externalLink: externalLinkSvg,\n facebook: facebookSvg,\n filters: filtersSvg,\n github: githubSvg,\n google: googleSvg,\n helpCircle: helpCircleSvg,\n infoCircle: infoCircleSvg,\n mail: mailSvg,\n mobile: mobileSvg,\n networkPlaceholder: networkPlaceholderSvg,\n nftPlaceholder: nftPlaceholderSvg,\n off: offSvg,\n playStore: playStoreSvg,\n qrCode: qrCodeIcon,\n refresh: refreshSvg,\n search: searchSvg,\n swapHorizontal: swapHorizontalSvg,\n swapHorizontalBold: swapHorizontalBoldSvg,\n swapVertical: swapVerticalSvg,\n telegram: telegramSvg,\n twitch: twitchSvg,\n twitter: twitterSvg,\n twitterIcon: twitterIconSvg,\n verify: verifySvg,\n verifyFilled: verifyFilledSvg,\n wallet: walletSvg,\n walletConnect: walletConnectSvg,\n walletPlaceholder: walletPlaceholderSvg,\n warningCircle: warningCircleSvg\n};\nlet WuiIcon = class WuiIcon extends LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.name = 'copy';\n this.color = 'fg-300';\n }\n render() {\n this.style.cssText = `\n --local-color: ${`var(--wui-color-${this.color});`}\n --local-width: ${`var(--wui-icon-size-${this.size});`}\n `;\n return html`${svgOptions[this.name]}`;\n }\n};\nWuiIcon.styles = [resetStyles, colorStyles, styles];\n__decorate([property()], WuiIcon.prototype, \"size\", void 0);\n__decorate([property()], WuiIcon.prototype, \"name\", void 0);\n__decorate([property()], WuiIcon.prototype, \"color\", void 0);\nWuiIcon = __decorate([customElement('wui-icon')], WuiIcon);\nexport { WuiIcon };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n\n img {\n display: block;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center center;\n border-radius: inherit;\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { colorStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiImage = class WuiImage extends LitElement {\n constructor() {\n super(...arguments);\n this.src = './path/to/image.jpg';\n this.alt = 'Image';\n }\n render() {\n return html`${this.alt}`;\n }\n};\nWuiImage.styles = [resetStyles, colorStyles, styles];\n__decorate([property()], WuiImage.prototype, \"src\", void 0);\n__decorate([property()], WuiImage.prototype, \"alt\", void 0);\nWuiImage = __decorate([customElement('wui-image')], WuiImage);\nexport { WuiImage };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: block;\n width: var(--wui-box-size-lg);\n height: var(--wui-box-size-lg);\n }\n\n svg {\n width: var(--wui-box-size-lg);\n height: var(--wui-box-size-lg);\n fill: none;\n stroke: transparent;\n stroke-linecap: round;\n transition: all var(--wui-ease-in-power-3) var(--wui-duration-lg);\n }\n\n use {\n stroke: var(--wui-color-accent-100);\n stroke-width: 2px;\n stroke-dasharray: 54, 118;\n stroke-dashoffset: 172;\n animation: dash 1s linear infinite;\n }\n\n @keyframes dash {\n to {\n stroke-dashoffset: 0px;\n }\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiLoadingHexagon = class WuiLoadingHexagon extends LitElement {\n render() {\n return html`\n \n \n \n \n `;\n }\n};\nWuiLoadingHexagon.styles = [resetStyles, styles];\nWuiLoadingHexagon = __decorate([customElement('wui-loading-hexagon')], WuiLoadingHexagon);\nexport { WuiLoadingHexagon };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: flex;\n }\n\n :host([data-size='sm']) > svg {\n width: 12px;\n height: 12px;\n }\n\n :host([data-size='md']) > svg {\n width: 16px;\n height: 16px;\n }\n\n :host([data-size='lg']) > svg {\n width: 24px;\n height: 24px;\n }\n\n :host([data-size='xl']) > svg {\n width: 32px;\n height: 32px;\n }\n\n svg {\n animation: rotate 2s linear infinite;\n transition: all var(--wui-ease-in-power-3) var(--wui-duration-lg);\n }\n\n circle {\n fill: none;\n stroke: var(--local-color);\n stroke-width: 4px;\n stroke-dasharray: 1, 124;\n stroke-dashoffset: 0;\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n }\n\n :host([data-size='md']) > svg > circle {\n stroke-width: 6px;\n }\n\n :host([data-size='sm']) > svg > circle {\n stroke-width: 8px;\n }\n\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n\n @keyframes dash {\n 0% {\n stroke-dasharray: 1, 124;\n stroke-dashoffset: 0;\n }\n\n 50% {\n stroke-dasharray: 90, 124;\n stroke-dashoffset: -35;\n }\n\n 100% {\n stroke-dashoffset: -125;\n }\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiLoadingSpinner = class WuiLoadingSpinner extends LitElement {\n constructor() {\n super(...arguments);\n this.color = 'accent-100';\n this.size = 'lg';\n }\n render() {\n this.style.cssText = `--local-color: var(--wui-color-${this.color});`;\n this.dataset['size'] = this.size;\n return html`\n \n `;\n }\n};\nWuiLoadingSpinner.styles = [resetStyles, styles];\n__decorate([property()], WuiLoadingSpinner.prototype, \"color\", void 0);\n__decorate([property()], WuiLoadingSpinner.prototype, \"size\", void 0);\nWuiLoadingSpinner = __decorate([customElement('wui-loading-spinner')], WuiLoadingSpinner);\nexport { WuiLoadingSpinner };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: block;\n width: var(--wui-box-size-md);\n height: var(--wui-box-size-md);\n }\n\n svg {\n width: var(--wui-box-size-md);\n height: var(--wui-box-size-md);\n transition: all var(--wui-ease-in-power-3) var(--wui-duration-lg);\n }\n\n rect {\n fill: none;\n stroke: var(--wui-color-accent-100);\n stroke-width: 4px;\n stroke-linecap: round;\n animation: dash 1s linear infinite;\n }\n\n @keyframes dash {\n to {\n stroke-dashoffset: 0px;\n }\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiLoadingThumbnail = class WuiLoadingThumbnail extends LitElement {\n constructor() {\n super(...arguments);\n this.radius = 36;\n }\n render() {\n return this.svgLoaderTemplate();\n }\n svgLoaderTemplate() {\n const radius = this.radius > 50 ? 50 : this.radius;\n const standardValue = 36;\n const radiusFactor = standardValue - radius;\n const dashArrayStart = 116 + radiusFactor;\n const dashArrayEnd = 245 + radiusFactor;\n const dashOffset = 360 + radiusFactor * 1.75;\n return html`\n \n \n \n `;\n }\n};\nWuiLoadingThumbnail.styles = [resetStyles, styles];\n__decorate([property({\n type: Number\n})], WuiLoadingThumbnail.prototype, \"radius\", void 0);\nWuiLoadingThumbnail = __decorate([customElement('wui-loading-thumbnail')], WuiLoadingThumbnail);\nexport { WuiLoadingThumbnail };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: block;\n box-shadow: inset 0 0 0 1px var(--wui-gray-glass-005);\n background: linear-gradient(\n 120deg,\n var(--wui-color-bg-200) 5%,\n var(--wui-color-bg-200) 48%,\n var(--wui-color-bg-300) 55%,\n var(--wui-color-bg-300) 60%,\n var(--wui-color-bg-300) calc(60% + 10px),\n var(--wui-color-bg-200) calc(60% + 12px),\n var(--wui-color-bg-200) 100%\n );\n background-size: 250%;\n animation: shimmer 3s linear infinite reverse;\n }\n\n @keyframes shimmer {\n from {\n background-position: -250% 0;\n }\n to {\n background-position: 250% 0;\n }\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiShimmer = class WuiShimmer extends LitElement {\n constructor() {\n super(...arguments);\n this.width = '';\n this.height = '';\n this.borderRadius = 'm';\n }\n render() {\n this.style.cssText = `\n width: ${this.width};\n height: ${this.height};\n border-radius: ${`clamp(0px,var(--wui-border-radius-${this.borderRadius}), 40px)`};\n `;\n return html``;\n }\n};\nWuiShimmer.styles = [styles];\n__decorate([property()], WuiShimmer.prototype, \"width\", void 0);\n__decorate([property()], WuiShimmer.prototype, \"height\", void 0);\n__decorate([property()], WuiShimmer.prototype, \"borderRadius\", void 0);\nWuiShimmer = __decorate([customElement('wui-shimmer')], WuiShimmer);\nexport { WuiShimmer };\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t = {\n ATTRIBUTE: 1,\n CHILD: 2,\n PROPERTY: 3,\n BOOLEAN_ATTRIBUTE: 4,\n EVENT: 5,\n ELEMENT: 6\n },\n e = t => (...e) => ({\n _$litDirective$: t,\n values: e\n });\nclass i {\n constructor(t) {}\n get _$AU() {\n return this._$AM._$AU;\n }\n _$AT(t, e, i) {\n this._$Ct = t, this._$AM = e, this._$Ci = i;\n }\n _$AS(t, e) {\n return this.update(t, e);\n }\n update(t, e) {\n return this.render(...e);\n }\n}\nexport { i as Directive, t as PartType, e as directive };\n","import { noChange as t } from \"../lit-html.js\";\nimport { directive as s, Directive as i, PartType as r } from \"../directive.js\";\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst e = s(class extends i {\n constructor(t) {\n if (super(t), t.type !== r.ATTRIBUTE || \"class\" !== t.name || t.strings?.length > 2) throw Error(\"`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.\");\n }\n render(t) {\n return \" \" + Object.keys(t).filter(s => t[s]).join(\" \") + \" \";\n }\n update(s, [i]) {\n if (void 0 === this.st) {\n this.st = new Set(), void 0 !== s.strings && (this.nt = new Set(s.strings.join(\" \").split(/\\s/).filter(t => \"\" !== t)));\n for (const t in i) i[t] && !this.nt?.has(t) && this.st.add(t);\n return this.render(i);\n }\n const r = s.element.classList;\n for (const t of this.st) t in i || (r.remove(t), this.st.delete(t));\n for (const t in i) {\n const s = !!i[t];\n s === this.st.has(t) || this.nt?.has(t) || (s ? (r.add(t), this.st.add(t)) : (r.remove(t), this.st.delete(t)));\n }\n return t;\n }\n});\nexport { e as classMap };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: flex !important;\n }\n\n slot {\n display: inline-block;\n font-style: normal;\n font-family: var(--wui-font-family);\n font-feature-settings:\n 'tnum' on,\n 'lnum' on,\n 'case' on;\n line-height: 130%;\n font-weight: var(--wui-font-weight-regular);\n overflow: inherit;\n text-overflow: inherit;\n text-align: var(--local-align);\n color: var(--local-color);\n }\n\n .wui-font-large-500,\n .wui-font-large-600,\n .wui-font-large-700 {\n font-size: var(--wui-font-size-large);\n letter-spacing: var(--wui-letter-spacing-large);\n }\n\n .wui-font-paragraph-500,\n .wui-font-paragraph-600,\n .wui-font-paragraph-700 {\n font-size: var(--wui-font-size-paragraph);\n letter-spacing: var(--wui-letter-spacing-paragraph);\n }\n\n .wui-font-small-400,\n .wui-font-small-500,\n .wui-font-small-600 {\n font-size: var(--wui-font-size-small);\n letter-spacing: var(--wui-letter-spacing-small);\n }\n\n .wui-font-tiny-500,\n .wui-font-tiny-600 {\n font-size: var(--wui-font-size-tiny);\n letter-spacing: var(--wui-letter-spacing-tiny);\n }\n\n .wui-font-micro-700,\n .wui-font-micro-600 {\n font-size: var(--wui-font-size-micro);\n letter-spacing: var(--wui-letter-spacing-micro);\n text-transform: uppercase;\n }\n\n .wui-font-small-400,\n .wui-font-paragraph-400 {\n font-weight: var(--wui-font-weight-light);\n }\n\n .wui-font-large-700,\n .wui-font-paragraph-700,\n .wui-font-micro-700 {\n font-weight: var(--wui-font-weight-bold);\n }\n\n .wui-font-large-600,\n .wui-font-paragraph-600,\n .wui-font-small-600,\n .wui-font-tiny-600,\n .wui-font-micro-600 {\n font-weight: var(--wui-font-weight-medium);\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiText = class WuiText extends LitElement {\n constructor() {\n super(...arguments);\n this.variant = 'paragraph-500';\n this.color = 'fg-300';\n this.align = 'left';\n }\n render() {\n const classes = {\n [`wui-font-${this.variant}`]: true,\n [`wui-color-${this.color}`]: true\n };\n this.style.cssText = `\n --local-align: ${this.align};\n --local-color: var(--wui-color-${this.color});\n `;\n return html``;\n }\n};\nWuiText.styles = [resetStyles, styles];\n__decorate([property()], WuiText.prototype, \"variant\", void 0);\n__decorate([property()], WuiText.prototype, \"color\", void 0);\n__decorate([property()], WuiText.prototype, \"align\", void 0);\nWuiText = __decorate([customElement('wui-text')], WuiText);\nexport { WuiText };\n","import { svg } from 'lit';\nexport const browserSvg = svg`\n \n \n \n \n \n \n \n `;\n","import { svg } from 'lit';\nexport const daoSvg = svg`\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n `;\n","import { svg } from 'lit';\nexport const defiSvg = svg`\n \n \n \n \n \n \n \n \n \n \n \n \n`;\n","import { svg } from 'lit';\nexport const defiAltSvg = svg`\n \n \n \n \n \n \n \n \n \n \n \n \n `;\n","import { svg } from 'lit';\nexport const ethSvg = svg`\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n `;\n","import { svg } from 'lit';\nexport const layersSvg = svg`\n \n \n \n \n \n`;\n","import { svg } from 'lit';\nexport const lockSvg = svg`\n \n \n \n \n \n`;\n","import { svg } from 'lit';\nexport const loginSvg = svg`\n \n \n \n \n \n \n \n \n \n `;\n","import { svg } from 'lit';\nexport const networkSvg = svg`\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n`;\n","import { svg } from 'lit';\nexport const nftSvg = svg`\n \n \n \n \n \n \n \n \n \n `;\n","import { svg } from 'lit';\nexport const nounSvg = svg`\n \n \n \n \n \n \n \n \n`;\n","import { svg } from 'lit';\nexport const profileSvg = svg`\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n `;\n","import { svg } from 'lit';\nexport const systemSvg = svg`\n \n \n \n \n \n \n \n \n \n \n \n \n \n `;\n","import { css } from 'lit';\nexport default css`\n :host {\n display: block;\n width: 55px;\n height: 55px;\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { browserSvg } from '../../assets/visual/browser.js';\nimport { daoSvg } from '../../assets/visual/dao.js';\nimport { defiSvg } from '../../assets/visual/defi.js';\nimport { defiAltSvg } from '../../assets/visual/defiAlt.js';\nimport { ethSvg } from '../../assets/visual/eth.js';\nimport { layersSvg } from '../../assets/visual/layers.js';\nimport { lockSvg } from '../../assets/visual/lock.js';\nimport { loginSvg } from '../../assets/visual/login.js';\nimport { networkSvg } from '../../assets/visual/network.js';\nimport { nftSvg } from '../../assets/visual/nft.js';\nimport { nounSvg } from '../../assets/visual/noun.js';\nimport { profileSvg } from '../../assets/visual/profile.js';\nimport { systemSvg } from '../../assets/visual/system.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nconst svgOptions = {\n browser: browserSvg,\n dao: daoSvg,\n defi: defiSvg,\n defiAlt: defiAltSvg,\n eth: ethSvg,\n layers: layersSvg,\n lock: lockSvg,\n login: loginSvg,\n network: networkSvg,\n nft: nftSvg,\n noun: nounSvg,\n profile: profileSvg,\n system: systemSvg\n};\nlet WuiVisual = class WuiVisual extends LitElement {\n constructor() {\n super(...arguments);\n this.name = 'browser';\n }\n render() {\n return html`${svgOptions[this.name]}`;\n }\n};\nWuiVisual.styles = [resetStyles, styles];\n__decorate([property()], WuiVisual.prototype, \"name\", void 0);\nWuiVisual = __decorate([customElement('wui-visual')], WuiVisual);\nexport { WuiVisual };\n","import { nothing as t } from \"../lit-html.js\";\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst o = o => o ?? t;\nexport { o as ifDefined };\n","export const UiHelperUtil = {\n getSpacingStyles(spacing, index) {\n if (Array.isArray(spacing)) {\n return spacing[index] ? `var(--wui-spacing-${spacing[index]})` : undefined;\n } else if (typeof spacing === 'string') {\n return `var(--wui-spacing-${spacing})`;\n }\n return undefined;\n },\n getFormattedDate(date) {\n return new Intl.DateTimeFormat('en-US', {\n month: 'short',\n day: 'numeric'\n }).format(date);\n },\n getHostName(url) {\n const newUrl = new URL(url);\n return newUrl.hostname;\n },\n getTruncateString({\n string,\n charsStart,\n charsEnd,\n truncate\n }) {\n if (string.length <= charsStart + charsEnd) {\n return string;\n }\n if (truncate === 'end') {\n return `${string.substring(0, charsStart)}...`;\n } else if (truncate === 'start') {\n return `...${string.substring(string.length - charsEnd)}`;\n }\n return `${string.substring(0, Math.floor(charsStart))}...${string.substring(string.length - Math.floor(charsEnd))}`;\n },\n generateAvatarColors(address) {\n const hash = address.toLowerCase().replace(/^0x/iu, '');\n const baseColor = hash.substring(0, 6);\n const rgbColor = this.hexToRgb(baseColor);\n const masterBorderRadius = getComputedStyle(document.documentElement).getPropertyValue('--w3m-border-radius-master');\n const radius = Number(masterBorderRadius?.replace('px', ''));\n const edge = 100 - 3 * radius;\n const gradientCircle = `${edge}% ${edge}% at 65% 40%`;\n const colors = [];\n for (let i = 0; i < 5; i += 1) {\n const tintedColor = this.tintColor(rgbColor, 0.15 * i);\n colors.push(`rgb(${tintedColor[0]}, ${tintedColor[1]}, ${tintedColor[2]})`);\n }\n return `\n --local-color-1: ${colors[0]};\n --local-color-2: ${colors[1]};\n --local-color-3: ${colors[2]};\n --local-color-4: ${colors[3]};\n --local-color-5: ${colors[4]};\n --local-radial-circle: ${gradientCircle}\n `;\n },\n hexToRgb(hex) {\n const bigint = parseInt(hex, 16);\n const r = bigint >> 16 & 255;\n const g = bigint >> 8 & 255;\n const b = bigint & 255;\n return [r, g, b];\n },\n tintColor(rgb, tint) {\n const [r, g, b] = rgb;\n const tintedR = Math.round(r + (255 - r) * tint);\n const tintedG = Math.round(g + (255 - g) * tint);\n const tintedB = Math.round(b + (255 - b) * tint);\n return [tintedR, tintedG, tintedB];\n },\n isNumber(character) {\n const regex = {\n number: /^[0-9]+$/u\n };\n return regex.number.test(character);\n },\n getColorTheme(theme) {\n if (theme) {\n return theme;\n } else if (typeof window !== 'undefined' && window.matchMedia) {\n if (window.matchMedia('(prefers-color-scheme: dark)').matches) {\n return 'dark';\n }\n return 'light';\n }\n return 'dark';\n }\n};\n","import { css } from 'lit';\nexport default css`\n :host {\n display: flex;\n width: inherit;\n height: inherit;\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { UiHelperUtil } from '../../utils/UiHelperUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiFlex = class WuiFlex extends LitElement {\n render() {\n this.style.cssText = `\n flex-direction: ${this.flexDirection};\n flex-wrap: ${this.flexWrap};\n flex-basis: ${this.flexBasis};\n flex-grow: ${this.flexGrow};\n flex-shrink: ${this.flexShrink};\n align-items: ${this.alignItems};\n justify-content: ${this.justifyContent};\n column-gap: ${this.columnGap && `var(--wui-spacing-${this.columnGap})`};\n row-gap: ${this.rowGap && `var(--wui-spacing-${this.rowGap})`};\n gap: ${this.gap && `var(--wui-spacing-${this.gap})`};\n padding-top: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 0)};\n padding-right: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 1)};\n padding-bottom: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 2)};\n padding-left: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 3)};\n margin-top: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 0)};\n margin-right: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 1)};\n margin-bottom: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 2)};\n margin-left: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 3)};\n `;\n return html``;\n }\n};\nWuiFlex.styles = [resetStyles, styles];\n__decorate([property()], WuiFlex.prototype, \"flexDirection\", void 0);\n__decorate([property()], WuiFlex.prototype, \"flexWrap\", void 0);\n__decorate([property()], WuiFlex.prototype, \"flexBasis\", void 0);\n__decorate([property()], WuiFlex.prototype, \"flexGrow\", void 0);\n__decorate([property()], WuiFlex.prototype, \"flexShrink\", void 0);\n__decorate([property()], WuiFlex.prototype, \"alignItems\", void 0);\n__decorate([property()], WuiFlex.prototype, \"justifyContent\", void 0);\n__decorate([property()], WuiFlex.prototype, \"columnGap\", void 0);\n__decorate([property()], WuiFlex.prototype, \"rowGap\", void 0);\n__decorate([property()], WuiFlex.prototype, \"gap\", void 0);\n__decorate([property()], WuiFlex.prototype, \"padding\", void 0);\n__decorate([property()], WuiFlex.prototype, \"margin\", void 0);\nWuiFlex = __decorate([customElement('wui-flex')], WuiFlex);\nexport { WuiFlex };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: block;\n width: var(--wui-icon-box-size-xl);\n height: var(--wui-icon-box-size-xl);\n border-radius: var(--wui-border-radius-3xl);\n box-shadow: 0 0 0 8px var(--wui-gray-glass-005);\n overflow: hidden;\n position: relative;\n }\n\n :host([data-variant='generated']) {\n --mixed-local-color-1: var(--local-color-1);\n --mixed-local-color-2: var(--local-color-2);\n --mixed-local-color-3: var(--local-color-3);\n --mixed-local-color-4: var(--local-color-4);\n --mixed-local-color-5: var(--local-color-5);\n }\n\n @supports (background: color-mix(in srgb, white 50%, black)) {\n :host([data-variant='generated']) {\n --mixed-local-color-1: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--local-color-1)\n );\n --mixed-local-color-2: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--local-color-2)\n );\n --mixed-local-color-3: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--local-color-3)\n );\n --mixed-local-color-4: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--local-color-4)\n );\n --mixed-local-color-5: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--local-color-5)\n );\n }\n }\n\n :host([data-variant='generated']) {\n box-shadow: 0 0 0 8px var(--wui-gray-glass-005);\n background: radial-gradient(\n var(--local-radial-circle),\n #fff 0.52%,\n var(--mixed-local-color-5) 31.25%,\n var(--mixed-local-color-3) 51.56%,\n var(--mixed-local-color-2) 65.63%,\n var(--mixed-local-color-1) 82.29%,\n var(--mixed-local-color-4) 100%\n );\n }\n\n :host([data-variant='default']) {\n box-shadow: 0 0 0 8px var(--wui-gray-glass-005);\n background: radial-gradient(\n 75.29% 75.29% at 64.96% 24.36%,\n #fff 0.52%,\n #f5ccfc 31.25%,\n #dba4f5 51.56%,\n #9a8ee8 65.63%,\n #6493da 82.29%,\n #6ebdea 100%\n );\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-image/index.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { UiHelperUtil } from '../../utils/UiHelperUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiAvatar = class WuiAvatar extends LitElement {\n constructor() {\n super(...arguments);\n this.imageSrc = undefined;\n this.alt = undefined;\n this.address = undefined;\n }\n render() {\n return html`${this.visualTemplate()}`;\n }\n visualTemplate() {\n if (this.imageSrc) {\n this.dataset['variant'] = 'image';\n return html``;\n } else if (this.address) {\n this.dataset['variant'] = 'generated';\n const cssColors = UiHelperUtil.generateAvatarColors(this.address);\n this.style.cssText = cssColors;\n return null;\n }\n this.dataset['variant'] = 'default';\n return null;\n }\n};\nWuiAvatar.styles = [resetStyles, styles];\n__decorate([property()], WuiAvatar.prototype, \"imageSrc\", void 0);\n__decorate([property()], WuiAvatar.prototype, \"alt\", void 0);\n__decorate([property()], WuiAvatar.prototype, \"address\", void 0);\nWuiAvatar = __decorate([customElement('wui-avatar')], WuiAvatar);\nexport { WuiAvatar };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n position: relative;\n overflow: hidden;\n background-color: var(--wui-gray-glass-020);\n border-radius: var(--local-border-radius);\n box-shadow: 0 0 0 1px var(--local-border);\n width: var(--local-size);\n height: var(--local-size);\n min-height: var(--local-size);\n min-width: var(--local-size);\n }\n\n @supports (background: color-mix(in srgb, white 50%, black)) {\n :host {\n background-color: color-mix(in srgb, var(--local-bg-value) var(--local-bg-mix), transparent);\n }\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-icon/index.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiIconBox = class WuiIconBox extends LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.backgroundColor = 'accent-100';\n this.iconColor = 'accent-100';\n this.background = 'transparent';\n this.border = false;\n this.borderColor = 'wui-color-bg-125';\n this.icon = 'copy';\n }\n render() {\n const iconSize = this.iconSize || this.size;\n const isLg = this.size === 'lg';\n const isXl = this.size === 'xl';\n const bgMix = isLg ? '12%' : '16%';\n const borderRadius = isLg ? 'xxs' : isXl ? 's' : '3xl';\n const isGray = this.background === 'gray';\n const isOpaque = this.background === 'opaque';\n const isColorChange = this.backgroundColor === 'accent-100' && isOpaque || this.backgroundColor === 'success-100' && isOpaque || this.backgroundColor === 'error-100' && isOpaque || this.backgroundColor === 'inverse-100' && isOpaque;\n let bgValueVariable = `var(--wui-color-${this.backgroundColor})`;\n if (isColorChange) {\n bgValueVariable = `var(--wui-icon-box-bg-${this.backgroundColor})`;\n } else if (isGray) {\n bgValueVariable = `var(--wui-gray-${this.backgroundColor})`;\n }\n this.style.cssText = `\n --local-bg-value: ${bgValueVariable};\n --local-bg-mix: ${isColorChange || isGray ? `100%` : bgMix};\n --local-border-radius: var(--wui-border-radius-${borderRadius});\n --local-size: var(--wui-icon-box-size-${this.size});\n --local-border: ${this.borderColor === 'wui-color-bg-125' ? `2px` : `1px`} solid ${this.border ? `var(--${this.borderColor})` : `transparent`}\n `;\n return html` `;\n }\n};\nWuiIconBox.styles = [resetStyles, elementStyles, styles];\n__decorate([property()], WuiIconBox.prototype, \"size\", void 0);\n__decorate([property()], WuiIconBox.prototype, \"backgroundColor\", void 0);\n__decorate([property()], WuiIconBox.prototype, \"iconColor\", void 0);\n__decorate([property()], WuiIconBox.prototype, \"iconSize\", void 0);\n__decorate([property()], WuiIconBox.prototype, \"background\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiIconBox.prototype, \"border\", void 0);\n__decorate([property()], WuiIconBox.prototype, \"borderColor\", void 0);\n__decorate([property()], WuiIconBox.prototype, \"icon\", void 0);\nWuiIconBox = __decorate([customElement('wui-icon-box')], WuiIconBox);\nexport { WuiIconBox };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: block;\n }\n\n button {\n border-radius: var(--wui-border-radius-3xl);\n background: var(--wui-gray-glass-002);\n display: flex;\n gap: var(--wui-spacing-xs);\n padding: var(--wui-spacing-3xs) var(--wui-spacing-xs) var(--wui-spacing-3xs)\n var(--wui-spacing-xs);\n border: 1px solid var(--wui-gray-glass-005);\n }\n\n button:disabled {\n background: var(--wui-gray-glass-015);\n }\n\n button:disabled > wui-text {\n color: var(--wui-gray-glass-015);\n }\n\n button:disabled > wui-flex > wui-text {\n color: var(--wui-gray-glass-015);\n }\n\n button:disabled > wui-image,\n button:disabled > wui-icon-box,\n button:disabled > wui-flex > wui-avatar {\n filter: grayscale(1);\n }\n\n button:has(wui-image) {\n padding: var(--wui-spacing-3xs) var(--wui-spacing-3xs) var(--wui-spacing-3xs)\n var(--wui-spacing-xs);\n }\n\n wui-text {\n color: var(--wui-color-fg-100);\n }\n\n wui-flex > wui-text {\n color: var(--wui-color-fg-200);\n transition: all var(--wui-ease-out-power-1) var(--wui-duration-lg);\n }\n\n wui-image,\n wui-icon-box {\n border-radius: var(--wui-border-radius-3xl);\n width: 24px;\n height: 24px;\n box-shadow: 0 0 0 2px var(--wui-gray-glass-005);\n }\n\n wui-flex {\n border-radius: var(--wui-border-radius-3xl);\n border: 1px solid var(--wui-gray-glass-005);\n background: var(--wui-gray-glass-005);\n padding: 4px var(--wui-spacing-m) 4px var(--wui-spacing-xxs);\n }\n\n button.local-no-balance {\n border-radius: 0px;\n border: none;\n background: transparent;\n }\n\n wui-avatar {\n width: 20px;\n height: 20px;\n box-shadow: 0 0 0 2px var(--wui-accent-glass-010);\n }\n\n @media (max-width: 500px) {\n button {\n gap: 0px;\n padding: var(--wui-spacing-3xs) var(--wui-spacing-xs) !important;\n height: 32px;\n }\n wui-image,\n wui-icon-box,\n button > wui-text {\n visibility: hidden;\n width: 0px;\n height: 0px;\n }\n button {\n border-radius: 0px;\n border: none;\n background: transparent;\n padding: 0px;\n }\n }\n\n @media (hover: hover) and (pointer: fine) {\n button:hover:enabled > wui-flex > wui-text {\n color: var(--wui-color-fg-175);\n }\n\n button:active:enabled > wui-flex > wui-text {\n color: var(--wui-color-fg-175);\n }\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport '../../components/wui-image/index.js';\nimport '../../components/wui-text/index.js';\nimport '../../layout/wui-flex/index.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { UiHelperUtil } from '../../utils/UiHelperUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport '../wui-avatar/index.js';\nimport '../wui-icon-box/index.js';\nimport styles from './styles.js';\nlet WuiAccountButton = class WuiAccountButton extends LitElement {\n constructor() {\n super(...arguments);\n this.networkSrc = undefined;\n this.avatarSrc = undefined;\n this.balance = undefined;\n this.disabled = false;\n this.isProfileName = false;\n this.address = '';\n this.charsStart = 4;\n this.charsEnd = 6;\n }\n render() {\n return html`\n \n ${this.balanceTemplate()}\n \n \n \n ${UiHelperUtil.getTruncateString({\n string: this.address,\n charsStart: this.isProfileName ? 18 : this.charsStart,\n charsEnd: this.isProfileName ? 0 : this.charsEnd,\n truncate: this.isProfileName ? 'end' : 'middle'\n })}\n \n \n \n `;\n }\n balanceTemplate() {\n if (this.balance) {\n const networkElement = this.networkSrc ? html`` : html`\n \n `;\n return html`\n ${networkElement}\n ${this.balance} \n `;\n }\n return null;\n }\n};\nWuiAccountButton.styles = [resetStyles, elementStyles, styles];\n__decorate([property()], WuiAccountButton.prototype, \"networkSrc\", void 0);\n__decorate([property()], WuiAccountButton.prototype, \"avatarSrc\", void 0);\n__decorate([property()], WuiAccountButton.prototype, \"balance\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiAccountButton.prototype, \"disabled\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiAccountButton.prototype, \"isProfileName\", void 0);\n__decorate([property()], WuiAccountButton.prototype, \"address\", void 0);\n__decorate([property()], WuiAccountButton.prototype, \"charsStart\", void 0);\n__decorate([property()], WuiAccountButton.prototype, \"charsEnd\", void 0);\nWuiAccountButton = __decorate([customElement('wui-account-button')], WuiAccountButton);\nexport { WuiAccountButton };\n","import { css } from 'lit';\nexport default css`\n :host {\n position: relative;\n background-color: var(--wui-gray-glass-002);\n display: flex;\n justify-content: center;\n align-items: center;\n width: var(--local-size);\n height: var(--local-size);\n border-radius: inherit;\n border-radius: var(--local-border-radius);\n }\n\n :host > wui-flex {\n overflow: hidden;\n border-radius: inherit;\n border-radius: var(--local-border-radius);\n }\n\n :host::after {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n border-radius: inherit;\n border: 1px solid var(--wui-gray-glass-010);\n pointer-events: none;\n }\n\n :host([name='Extension'])::after {\n border: 1px solid var(--wui-accent-glass-010);\n }\n\n :host([data-wallet-icon='allWallets']) {\n background-color: var(--wui-all-wallets-bg-100);\n }\n\n :host([data-wallet-icon='allWallets'])::after {\n border: 1px solid var(--wui-accent-glass-010);\n }\n\n wui-icon[data-parent-size='inherit'] {\n width: 75%;\n height: 75%;\n align-items: center;\n }\n\n wui-icon[data-parent-size='sm'] {\n width: 18px;\n height: 18px;\n }\n\n wui-icon[data-parent-size='md'] {\n width: 24px;\n height: 24px;\n }\n\n wui-icon[data-parent-size='lg'] {\n width: 42px;\n height: 42px;\n }\n\n wui-icon[data-parent-size='full'] {\n width: 100%;\n height: 100%;\n }\n\n :host > wui-icon-box {\n position: absolute;\n overflow: hidden;\n right: -1px;\n bottom: -2px;\n z-index: 1;\n border: 2px solid var(--wui-color-bg-base-150, #1e1f1f);\n padding: 1px;\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-icon/index.js';\nimport '../../components/wui-image/index.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport '../wui-icon-box/index.js';\nimport styles from './styles.js';\nlet WuiWalletImage = class WuiWalletImage extends LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.name = '';\n this.installed = false;\n this.badgeSize = 'xs';\n }\n render() {\n let borderRadius = 'xxs';\n if (this.size === 'lg') {\n borderRadius = 'm';\n } else if (this.size === 'md') {\n borderRadius = 'xs';\n } else {\n borderRadius = 'xxs';\n }\n this.style.cssText = `\n --local-border-radius: var(--wui-border-radius-${borderRadius});\n --local-size: var(--wui-wallet-image-size-${this.size});\n `;\n if (this.walletIcon) {\n this.dataset['walletIcon'] = this.walletIcon;\n }\n return html`\n ${this.templateVisual()} \n `;\n }\n templateVisual() {\n if (this.imageSrc) {\n return html``;\n } else if (this.walletIcon) {\n return html``;\n }\n return html``;\n }\n};\nWuiWalletImage.styles = [resetStyles, styles];\n__decorate([property()], WuiWalletImage.prototype, \"size\", void 0);\n__decorate([property()], WuiWalletImage.prototype, \"name\", void 0);\n__decorate([property()], WuiWalletImage.prototype, \"imageSrc\", void 0);\n__decorate([property()], WuiWalletImage.prototype, \"walletIcon\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiWalletImage.prototype, \"installed\", void 0);\n__decorate([property()], WuiWalletImage.prototype, \"badgeSize\", void 0);\nWuiWalletImage = __decorate([customElement('wui-wallet-image')], WuiWalletImage);\nexport { WuiWalletImage };\n","import { css } from 'lit';\nexport default css`\n :host {\n position: relative;\n border-radius: var(--wui-border-radius-xxs);\n width: 40px;\n height: 40px;\n overflow: hidden;\n background: var(--wui-gray-glass-002);\n display: flex;\n justify-content: center;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--wui-spacing-4xs);\n padding: 3.75px !important;\n }\n\n :host::after {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n border-radius: inherit;\n border: 1px solid var(--wui-gray-glass-010);\n pointer-events: none;\n }\n\n :host > wui-wallet-image {\n width: 14px;\n height: 14px;\n border-radius: var(--wui-border-radius-5xs);\n }\n\n :host > wui-flex {\n padding: 2px;\n position: fixed;\n overflow: hidden;\n left: 34px;\n bottom: 8px;\n background: var(--dark-background-150, #1e1f1f);\n border-radius: 50%;\n z-index: 2;\n display: flex;\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport '../wui-wallet-image/index.js';\nimport '../wui-icon-box/index.js';\nimport styles from './styles.js';\nconst TOTAL_IMAGES = 4;\nlet WuiAllWalletsImage = class WuiAllWalletsImage extends LitElement {\n constructor() {\n super(...arguments);\n this.walletImages = [];\n }\n render() {\n const isPlaceholders = this.walletImages.length < TOTAL_IMAGES;\n return html`${this.walletImages.slice(0, TOTAL_IMAGES).map(({\n src,\n walletName\n }) => html`\n \n `)}\n ${isPlaceholders ? [...Array(TOTAL_IMAGES - this.walletImages.length)].map(() => html` `) : null}\n \n \n `;\n }\n};\nWuiAllWalletsImage.styles = [resetStyles, styles];\n__decorate([property({\n type: Array\n})], WuiAllWalletsImage.prototype, \"walletImages\", void 0);\nWuiAllWalletsImage = __decorate([customElement('wui-all-wallets-image')], WuiAllWalletsImage);\nexport { WuiAllWalletsImage };\n","import { css } from 'lit';\nexport default css`\n :host {\n width: var(--local-width);\n position: relative;\n }\n\n button {\n border: 1px solid var(--wui-gray-glass-010);\n border-radius: var(--wui-border-radius-m);\n width: var(--local-width);\n }\n\n button:disabled {\n border: 1px solid var(--wui-gray-glass-010);\n }\n\n button[data-size='sm'] {\n padding: var(--wui-spacing-xxs) var(--wui-spacing-s);\n }\n\n button[data-size='sm'][data-icon-left='true'] {\n padding: var(--wui-spacing-xxs) var(--wui-spacing-s) var(--wui-spacing-xxs)\n var(--wui-spacing-xs);\n }\n\n button[data-size='sm'][data-icon-right='true'] {\n padding: var(--wui-spacing-xxs) var(--wui-spacing-xs) var(--wui-spacing-xxs)\n var(--wui-spacing-s);\n }\n\n ::slotted(*) {\n transition: opacity 200ms ease-in-out;\n opacity: var(--local-opacity-100);\n }\n\n button > wui-text {\n transition: opacity 200ms ease-in-out;\n opacity: var(--local-opacity-100);\n }\n\n button[data-size='md'] {\n padding: 8.2px var(--wui-spacing-l) 9px var(--wui-spacing-l);\n }\n\n button[data-size='md'][data-icon-left='true'] {\n padding: 8.2px var(--wui-spacing-l) 9px var(--wui-spacing-s);\n }\n\n button[data-size='md'][data-icon-right='true'] {\n padding: 8.2px var(--wui-spacing-s) 9px var(--wui-spacing-l);\n }\n\n wui-loading-spinner {\n position: absolute;\n left: 50%;\n top: 50%;\n transition: all 200ms ease-in-out;\n transform: translate(-50%, -50%);\n opacity: var(--local-opacity-000);\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-icon/index.js';\nimport '../../components/wui-loading-spinner/index.js';\nimport '../../components/wui-text/index.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiButton = class WuiButton extends LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.disabled = false;\n this.fullWidth = false;\n this.loading = false;\n this.variant = 'fill';\n this.hasIconLeft = false;\n this.hasIconRight = false;\n }\n render() {\n this.style.cssText = `\n --local-width: ${this.fullWidth ? '100%' : 'auto'};\n --local-opacity-100: ${this.loading ? 0 : 1};\n --local-opacity-000: ${this.loading ? 1 : 0};`;\n const textVariant = this.size === 'md' ? 'paragraph-600' : 'small-600';\n return html`\n \n ${this.loadingTemplate()}\n this.handleSlotLeftChange()}>\n \n \n \n this.handleSlotRightChange()}>\n \n `;\n }\n handleSlotLeftChange() {\n this.hasIconLeft = true;\n }\n handleSlotRightChange() {\n this.hasIconRight = true;\n }\n loadingTemplate() {\n if (this.loading) {\n return html``;\n }\n return html``;\n }\n};\nWuiButton.styles = [resetStyles, elementStyles, styles];\n__decorate([property()], WuiButton.prototype, \"size\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiButton.prototype, \"disabled\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiButton.prototype, \"fullWidth\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiButton.prototype, \"loading\", void 0);\n__decorate([property()], WuiButton.prototype, \"variant\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiButton.prototype, \"hasIconLeft\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiButton.prototype, \"hasIconRight\", void 0);\nWuiButton = __decorate([customElement('wui-button')], WuiButton);\nexport { WuiButton };\n","import { svg } from 'lit';\nexport const networkSvg = svg`\n \n`;\n","import { css } from 'lit';\nexport default css`\n :host {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 76px;\n row-gap: var(--wui-spacing-xs);\n padding: var(--wui-spacing-xs) 10px;\n background-color: var(--wui-gray-glass-002);\n border-radius: clamp(0px, var(--wui-border-radius-xs), 20px);\n position: relative;\n }\n\n wui-shimmer[data-type='network'] {\n border: none;\n -webkit-clip-path: var(--wui-path-network);\n clip-path: var(--wui-path-network);\n }\n\n svg {\n position: absolute;\n width: 48px;\n height: 54px;\n z-index: 1;\n }\n\n svg > path {\n stroke: var(--wui-gray-glass-010);\n stroke-width: 1px;\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { networkSvg } from '../../assets/svg/network.js';\nimport '../../components/wui-shimmer/index.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiCardSelectLoader = class WuiCardSelectLoader extends LitElement {\n constructor() {\n super(...arguments);\n this.type = 'wallet';\n }\n render() {\n return html`\n ${this.shimmerTemplate()}\n \n `;\n }\n shimmerTemplate() {\n if (this.type === 'network') {\n return html` \n ${networkSvg}`;\n }\n return html``;\n }\n};\nWuiCardSelectLoader.styles = [resetStyles, elementStyles, styles];\n__decorate([property()], WuiCardSelectLoader.prototype, \"type\", void 0);\nWuiCardSelectLoader = __decorate([customElement('wui-card-select-loader')], WuiCardSelectLoader);\nexport { WuiCardSelectLoader };\n","import { svg } from 'lit';\nexport const networkLgSvg = svg`\n \n`;\n","import { css } from 'lit';\nexport default css`\n :host {\n position: relative;\n border-radius: inherit;\n display: flex;\n justify-content: center;\n align-items: center;\n width: var(--local-width);\n height: var(--local-height);\n }\n\n svg {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 1;\n fill: var(--wui-gray-glass-002);\n }\n\n svg > path {\n stroke: var(--local-stroke);\n transition: stroke var(--wui-ease-out-power-1) var(--wui-duration-lg);\n }\n\n wui-image {\n width: 100%;\n height: 100%;\n -webkit-clip-path: var(--local-path);\n clip-path: var(--local-path);\n background: var(--wui-gray-glass-002);\n }\n\n wui-icon {\n transform: translateY(-5%);\n width: var(--local-icon-size);\n height: var(--local-icon-size);\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { networkSvg } from '../../assets/svg/network.js';\nimport { networkLgSvg } from '../../assets/svg/networkLg.js';\nimport '../../components/wui-icon/index.js';\nimport '../../components/wui-image/index.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiNetworkImage = class WuiNetworkImage extends LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.name = 'uknown';\n this.selected = false;\n }\n render() {\n const isLg = this.size === 'lg';\n this.style.cssText = `\n --local-stroke: ${this.selected ? 'var(--wui-color-accent-100)' : 'var(--wui-gray-glass-010)'};\n --local-path: ${isLg ? 'var(--wui-path-network-lg)' : 'var(--wui-path-network)'};\n --local-width: ${isLg ? '86px' : '48px'};\n --local-height: ${isLg ? '96px' : '54px'};\n --local-icon-size: ${isLg ? '42px' : '24px'};\n `;\n return html`${this.templateVisual()} ${isLg ? networkLgSvg : networkSvg}`;\n }\n templateVisual() {\n if (this.imageSrc) {\n return html``;\n }\n return html``;\n }\n};\nWuiNetworkImage.styles = [resetStyles, styles];\n__decorate([property()], WuiNetworkImage.prototype, \"size\", void 0);\n__decorate([property()], WuiNetworkImage.prototype, \"name\", void 0);\n__decorate([property()], WuiNetworkImage.prototype, \"imageSrc\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiNetworkImage.prototype, \"selected\", void 0);\nWuiNetworkImage = __decorate([customElement('wui-network-image')], WuiNetworkImage);\nexport { WuiNetworkImage };\n","import { css } from 'lit';\nexport default css`\n button {\n flex-direction: column;\n width: 76px;\n row-gap: var(--wui-spacing-xs);\n padding: var(--wui-spacing-xs) var(--wui-spacing-0);\n background-color: var(--wui-gray-glass-002);\n border-radius: clamp(0px, var(--wui-border-radius-xs), 20px);\n }\n\n button > wui-text {\n color: var(--wui-color-fg-100);\n max-width: var(--wui-icon-box-size-xl);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n justify-content: center;\n }\n\n button:disabled > wui-text {\n color: var(--wui-gray-glass-015);\n }\n\n [data-selected='true'] {\n background-color: var(--wui-accent-glass-020);\n }\n\n @media (hover: hover) and (pointer: fine) {\n [data-selected='true']:hover:enabled {\n background-color: var(--wui-accent-glass-015);\n }\n }\n\n [data-selected='true']:active:enabled {\n background-color: var(--wui-accent-glass-010);\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport '../../components/wui-text/index.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport '../wui-network-image/index.js';\nimport '../wui-wallet-image/index.js';\nimport styles from './styles.js';\nlet WuiCardSelect = class WuiCardSelect extends LitElement {\n constructor() {\n super(...arguments);\n this.name = 'Unknown';\n this.type = 'wallet';\n this.imageSrc = undefined;\n this.disabled = false;\n this.selected = false;\n this.installed = false;\n }\n render() {\n return html`\n \n `;\n }\n imageTemplate() {\n if (this.type === 'network') {\n return html`\n \n \n `;\n }\n return html`\n \n \n `;\n }\n};\nWuiCardSelect.styles = [resetStyles, elementStyles, styles];\n__decorate([property()], WuiCardSelect.prototype, \"name\", void 0);\n__decorate([property()], WuiCardSelect.prototype, \"type\", void 0);\n__decorate([property()], WuiCardSelect.prototype, \"imageSrc\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiCardSelect.prototype, \"disabled\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiCardSelect.prototype, \"selected\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiCardSelect.prototype, \"installed\", void 0);\nWuiCardSelect = __decorate([customElement('wui-card-select')], WuiCardSelect);\nexport { WuiCardSelect };\n","import { css } from 'lit';\nexport default css`\n a {\n border: 1px solid var(--wui-gray-glass-010);\n border-radius: var(--wui-border-radius-3xl);\n }\n\n wui-image {\n border-radius: var(--wui-border-radius-3xl);\n overflow: hidden;\n }\n\n a.disabled > wui-icon,\n a.disabled > wui-image {\n filter: grayscale(1);\n }\n\n a[data-variant='fill'] {\n color: var(--wui-color-inverse-100);\n background-color: var(--wui-color-accent-100);\n }\n\n a[data-variant='shade'],\n a[data-variant='shadeSmall'] {\n background-color: transparent;\n background-color: var(--wui-gray-glass-010);\n color: var(--wui-color-fg-200);\n }\n\n a[data-variant='success'] {\n column-gap: var(--wui-spacing-xxs);\n border: 1px solid var(--wui-success-glass-010);\n background-color: var(--wui-success-glass-010);\n color: var(--wui-color-success-100);\n }\n\n a[data-variant='transparent'] {\n column-gap: var(--wui-spacing-xxs);\n background-color: transparent;\n color: var(--wui-color-fg-150);\n }\n\n a[data-variant='transparent'],\n a[data-variant='success'],\n a[data-variant='shadeSmall'] {\n padding: 7px var(--wui-spacing-s) 7px 10px;\n }\n\n a[data-variant='transparent']:has(wui-text:first-child),\n a[data-variant='success']:has(wui-text:first-child),\n a[data-variant='shadeSmall']:has(wui-text:first-child) {\n padding: 7px var(--wui-spacing-s);\n }\n\n a[data-variant='fill'],\n a[data-variant='shade'] {\n column-gap: var(--wui-spacing-xs);\n padding: var(--wui-spacing-xxs) var(--wui-spacing-m) var(--wui-spacing-xxs)\n var(--wui-spacing-xs);\n }\n\n a[data-variant='fill']:has(wui-text:first-child),\n a[data-variant='shade']:has(wui-text:first-child) {\n padding: 9px var(--wui-spacing-m) 9px var(--wui-spacing-m);\n }\n\n a[data-variant='fill'] > wui-image,\n a[data-variant='shade'] > wui-image {\n width: 24px;\n height: 24px;\n }\n\n a[data-variant='fill'] > wui-image {\n box-shadow: inset 0 0 0 1px var(--wui-color-accent-090);\n }\n\n a[data-variant='shade'] > wui-image,\n a[data-variant='shadeSmall'] > wui-image {\n box-shadow: inset 0 0 0 1px var(--wui-gray-glass-010);\n }\n\n a[data-variant='fill'] > wui-icon,\n a[data-variant='shade'] > wui-icon {\n width: 14px;\n height: 14px;\n }\n\n a[data-variant='transparent'] > wui-image,\n a[data-variant='success'] > wui-image,\n a[data-variant='shadeSmall'] > wui-image {\n width: 14px;\n height: 14px;\n }\n\n a[data-variant='transparent'] > wui-icon,\n a[data-variant='success'] > wui-icon,\n a[data-variant='shadeSmall'] > wui-icon {\n width: 12px;\n height: 12px;\n }\n\n a[data-variant='fill']:focus-visible {\n background-color: var(--wui-color-accent-090);\n }\n\n a[data-variant='shade']:focus-visible,\n a[data-variant='shadeSmall']:focus-visible {\n background-color: var(--wui-gray-glass-015);\n }\n\n a[data-variant='transparent']:focus-visible {\n background-color: var(--wui-gray-glass-005);\n }\n\n a[data-variant='success']:focus-visible {\n background-color: var(--wui-success-glass-015);\n }\n\n a.disabled {\n color: var(--wui-gray-glass-015);\n background-color: var(--wui-gray-glass-015);\n pointer-events: none;\n }\n\n @media (hover: hover) and (pointer: fine) {\n a[data-variant='fill']:hover {\n background-color: var(--wui-color-accent-090);\n }\n\n a[data-variant='shade']:hover,\n a[data-variant='shadeSmall']:hover {\n background-color: var(--wui-gray-glass-015);\n }\n\n a[data-variant='transparent']:hover {\n background-color: var(--wui-gray-glass-005);\n }\n\n a[data-variant='success']:hover {\n background-color: var(--wui-success-glass-015);\n }\n }\n\n a[data-variant='fill']:active {\n background-color: var(--wui-color-accent-080);\n }\n\n a[data-variant='shade']:active,\n a[data-variant='shadeSmall']:active {\n background-color: var(--wui-gray-glass-020);\n }\n\n a[data-variant='transparent']:active {\n background-color: var(--wui-gray-glass-010);\n }\n\n a[data-variant='success']:active {\n background-color: var(--wui-success-glass-020);\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-icon/index.js';\nimport '../../components/wui-image/index.js';\nimport '../../components/wui-text/index.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { UiHelperUtil } from '../../utils/UiHelperUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiChip = class WuiChip extends LitElement {\n constructor() {\n super(...arguments);\n this.variant = 'fill';\n this.imageSrc = undefined;\n this.disabled = false;\n this.icon = 'externalLink';\n this.href = '';\n this.text = undefined;\n }\n render() {\n const isSmall = this.variant === 'success' || this.variant === 'transparent' || this.variant === 'shadeSmall';\n const textVariant = isSmall ? 'small-600' : 'paragraph-600';\n return html`\n \n ${this.imageTemplate()}\n \n ${this.title ? this.title : UiHelperUtil.getHostName(this.href)}\n \n \n \n `;\n }\n imageTemplate() {\n if (this.imageSrc) {\n return html``;\n }\n return null;\n }\n};\nWuiChip.styles = [resetStyles, elementStyles, styles];\n__decorate([property()], WuiChip.prototype, \"variant\", void 0);\n__decorate([property()], WuiChip.prototype, \"imageSrc\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiChip.prototype, \"disabled\", void 0);\n__decorate([property()], WuiChip.prototype, \"icon\", void 0);\n__decorate([property()], WuiChip.prototype, \"href\", void 0);\n__decorate([property()], WuiChip.prototype, \"text\", void 0);\nWuiChip = __decorate([customElement('wui-chip')], WuiChip);\nexport { WuiChip };\n","import { css } from 'lit';\nexport default css`\n :host {\n position: relative;\n display: block;\n }\n\n button {\n background: var(--wui-color-accent-100);\n border: 1px solid var(--wui-gray-glass-010);\n border-radius: var(--wui-border-radius-m);\n gap: var(--wui-spacing-xs);\n }\n\n button.loading {\n background: var(--wui-gray-glass-010);\n border: 1px solid var(--wui-gray-glass-010);\n pointer-events: none;\n }\n\n button:disabled {\n background-color: var(--wui-gray-glass-015);\n border: 1px solid var(--wui-gray-glass-010);\n }\n\n button:disabled > wui-text {\n color: var(--wui-gray-glass-015);\n }\n\n @media (hover: hover) and (pointer: fine) {\n button:hover:enabled {\n background-color: var(--wui-color-accent-090);\n }\n\n button:active:enabled {\n background-color: var(--wui-color-accent-080);\n }\n }\n\n button:focus-visible {\n border: 1px solid var(--wui-gray-glass-010);\n background-color: var(--wui-color-accent-090);\n -webkit-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n -moz-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n }\n\n button[data-size='sm'] {\n padding: 6.75px 10px 7.25px;\n }\n\n ::slotted(*) {\n transition: opacity 200ms ease-in-out;\n opacity: var(--local-opacity-100);\n }\n\n button > wui-text {\n transition: opacity 200ms ease-in-out;\n opacity: var(--local-opacity-100);\n color: var(--wui-color-inverse-100);\n }\n\n button[data-size='md'] {\n padding: 9px var(--wui-spacing-l) 9px var(--wui-spacing-l);\n }\n\n button[data-size='md'] + wui-text {\n padding-left: var(--wui-spacing-3xs);\n }\n\n @media (max-width: 500px) {\n button[data-size='md'] {\n height: 32px;\n padding: 5px 12px;\n }\n\n button[data-size='md'] > wui-text > slot {\n font-size: 14px !important;\n }\n }\n\n wui-loading-spinner {\n width: 14px;\n height: 14px;\n }\n\n wui-loading-spinner::slotted(svg) {\n width: 10px !important;\n height: 10px !important;\n }\n\n button[data-size='sm'] > wui-loading-spinner {\n width: 12px;\n height: 12px;\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-icon/index.js';\nimport '../../components/wui-loading-spinner/index.js';\nimport '../../components/wui-text/index.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiConnectButton = class WuiConnectButton extends LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.loading = false;\n }\n render() {\n const textVariant = this.size === 'md' ? 'paragraph-600' : 'small-600';\n return html`\n \n `;\n }\n loadingTemplate() {\n if (!this.loading) {\n return null;\n }\n return html``;\n }\n};\nWuiConnectButton.styles = [resetStyles, elementStyles, styles];\n__decorate([property()], WuiConnectButton.prototype, \"size\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiConnectButton.prototype, \"loading\", void 0);\nWuiConnectButton = __decorate([customElement('wui-connect-button')], WuiConnectButton);\nexport { WuiConnectButton };\n","import { css } from 'lit';\nexport default css`\n wui-flex {\n width: 100%;\n background-color: var(--wui-gray-glass-002);\n border-radius: var(--wui-border-radius-xs);\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-icon/index.js';\nimport '../../components/wui-text/index.js';\nimport '../../composites/wui-button/index.js';\nimport '../../layout/wui-flex/index.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiCtaButton = class WuiCtaButton extends LitElement {\n constructor() {\n super(...arguments);\n this.disabled = false;\n this.label = '';\n this.buttonLabel = '';\n }\n render() {\n return html`\n \n ${this.label}\n \n ${this.buttonLabel}\n \n \n \n `;\n }\n};\nWuiCtaButton.styles = [resetStyles, elementStyles, styles];\n__decorate([property({\n type: Boolean\n})], WuiCtaButton.prototype, \"disabled\", void 0);\n__decorate([property()], WuiCtaButton.prototype, \"label\", void 0);\n__decorate([property()], WuiCtaButton.prototype, \"buttonLabel\", void 0);\nWuiCtaButton = __decorate([customElement('wui-cta-button')], WuiCtaButton);\nexport { WuiCtaButton };\n","import { _$LH as o } from \"./lit-html.js\";\n/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst {\n I: t\n } = o,\n i = o => null === o || \"object\" != typeof o && \"function\" != typeof o,\n n = {\n HTML: 1,\n SVG: 2,\n MATHML: 3\n },\n e = (o, t) => void 0 === t ? void 0 !== o?._$litType$ : o?._$litType$ === t,\n l = o => null != o?._$litType$?.h,\n c = o => void 0 !== o?._$litDirective$,\n d = o => o?._$litDirective$,\n f = o => void 0 === o.strings,\n s = () => document.createComment(\"\"),\n r = (o, i, n) => {\n const e = o._$AA.parentNode,\n l = void 0 === i ? o._$AB : i._$AA;\n if (void 0 === n) {\n const i = e.insertBefore(s(), l),\n c = e.insertBefore(s(), l);\n n = new t(i, c, o, o.options);\n } else {\n const t = n._$AB.nextSibling,\n i = n._$AM,\n c = i !== o;\n if (c) {\n let t;\n n._$AQ?.(o), n._$AM = o, void 0 !== n._$AP && (t = o._$AU) !== i._$AU && n._$AP(t);\n }\n if (t !== l || c) {\n let o = n._$AA;\n for (; o !== t;) {\n const t = o.nextSibling;\n e.insertBefore(o, l), o = t;\n }\n }\n }\n return n;\n },\n v = (o, t, i = o) => (o._$AI(t, i), o),\n u = {},\n m = (o, t = u) => o._$AH = t,\n p = o => o._$AH,\n M = o => {\n o._$AP?.(!1, !0);\n let t = o._$AA;\n const i = o._$AB.nextSibling;\n for (; t !== i;) {\n const o = t.nextSibling;\n t.remove(), t = o;\n }\n },\n h = o => {\n o._$AR();\n };\nexport { n as TemplateResultType, h as clearPart, p as getCommittedValue, d as getDirectiveClass, r as insertPart, l as isCompiledTemplateResult, c as isDirectiveResult, i as isPrimitive, f as isSingleExpression, e as isTemplateResult, M as removePart, v as setChildPartValue, m as setCommittedValue };\n","import { isSingleExpression as i } from \"./directive-helpers.js\";\nimport { Directive as t, PartType as e } from \"./directive.js\";\nexport { directive } from \"./directive.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst s = (i, t) => {\n const e = i._$AN;\n if (void 0 === e) return !1;\n for (const i of e) i._$AO?.(t, !1), s(i, t);\n return !0;\n },\n o = i => {\n let t, e;\n do {\n if (void 0 === (t = i._$AM)) break;\n e = t._$AN, e.delete(i), i = t;\n } while (0 === e?.size);\n },\n r = i => {\n for (let t; t = i._$AM; i = t) {\n let e = t._$AN;\n if (void 0 === e) t._$AN = e = new Set();else if (e.has(i)) break;\n e.add(i), c(t);\n }\n };\nfunction h(i) {\n void 0 !== this._$AN ? (o(this), this._$AM = i, r(this)) : this._$AM = i;\n}\nfunction n(i, t = !1, e = 0) {\n const r = this._$AH,\n h = this._$AN;\n if (void 0 !== h && 0 !== h.size) if (t) {\n if (Array.isArray(r)) for (let i = e; i < r.length; i++) s(r[i], !1), o(r[i]);else null != r && (s(r, !1), o(r));\n } else s(this, i);\n}\nconst c = i => {\n i.type == e.CHILD && (i._$AP ??= n, i._$AQ ??= h);\n};\nclass f extends t {\n constructor() {\n super(...arguments), this._$AN = void 0;\n }\n _$AT(i, t, e) {\n super._$AT(i, t, e), r(this), this.isConnected = i._$AU;\n }\n _$AO(i, t = !0) {\n i !== this.isConnected && (this.isConnected = i, i ? this.reconnected?.() : this.disconnected?.()), t && (s(this, i), o(this));\n }\n setValue(t) {\n if (i(this._$Ct)) this._$Ct._$AI(t, this);else {\n const i = [...this._$Ct._$AH];\n i[this._$Ci] = t, this._$Ct._$AI(i, this, 0);\n }\n }\n disconnected() {}\n reconnected() {}\n}\nexport { f as AsyncDirective, t as Directive, e as PartType };\n","import { nothing as t } from \"../lit-html.js\";\nimport { AsyncDirective as i } from \"../async-directive.js\";\nimport { directive as s } from \"../directive.js\";\n/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst e = () => new h();\nclass h {}\nconst o = new WeakMap(),\n n = s(class extends i {\n render(i) {\n return t;\n }\n update(i, [s]) {\n const e = s !== this.Y;\n return e && void 0 !== this.Y && this.rt(void 0), (e || this.lt !== this.ct) && (this.Y = s, this.ht = i.options?.host, this.rt(this.ct = i.element)), t;\n }\n rt(t) {\n if (this.isConnected || (t = void 0), \"function\" == typeof this.Y) {\n const i = this.ht ?? globalThis;\n let s = o.get(i);\n void 0 === s && (s = new WeakMap(), o.set(i, s)), void 0 !== s.get(this.Y) && this.Y.call(this.ht, void 0), s.set(this.Y, t), void 0 !== t && this.Y.call(this.ht, t);\n } else this.Y.value = t;\n }\n get lt() {\n return \"function\" == typeof this.Y ? o.get(this.ht ?? globalThis)?.get(this.Y) : this.Y?.value;\n }\n disconnected() {\n this.lt === this.ct && this.rt(void 0);\n }\n reconnected() {\n this.rt(this.ct);\n }\n });\nexport { e as createRef, n as ref };\n","import { css } from 'lit';\nexport default css`\n :host {\n position: relative;\n width: 100%;\n display: inline-block;\n color: var(--wui-color-fg-275);\n }\n\n input {\n width: 100%;\n border-radius: var(--wui-border-radius-xs);\n border: 1px solid var(--wui-gray-glass-005);\n background: var(--wui-gray-glass-005);\n font-size: var(--wui-font-size-paragraph);\n font-weight: var(--wui-font-weight-light);\n letter-spacing: var(--wui-letter-spacing-paragraph);\n color: var(--wui-color-fg-100);\n transition: all var(--wui-ease-inout-power-1) var(--wui-duration-lg);\n caret-color: var(--wui-color-accent-100);\n }\n\n input:disabled {\n cursor: not-allowed;\n border: 1px solid var(--wui-gray-glass-010);\n }\n\n input:disabled::placeholder,\n input:disabled + wui-icon {\n color: var(--wui-color-fg-300);\n }\n\n input::placeholder {\n color: var(--wui-color-fg-275);\n }\n\n input:focus:enabled {\n transition: all var(--wui-ease-out-power-2) var(--wui-duration-sm);\n background-color: var(--wui-gray-glass-010);\n border: 1px solid var(--wui-color-accent-100);\n -webkit-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n -moz-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n }\n\n input:hover:enabled {\n background-color: var(--wui-gray-glass-010);\n }\n\n wui-icon {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n pointer-events: none;\n }\n\n .wui-size-sm {\n padding: 9px var(--wui-spacing-m) 10px var(--wui-spacing-s);\n }\n\n wui-icon + .wui-size-sm {\n padding: 9px var(--wui-spacing-m) 10px 36px;\n }\n\n wui-icon[data-input='sm'] {\n left: var(--wui-spacing-s);\n }\n\n .wui-size-md {\n padding: 15px var(--wui-spacing-m) var(--wui-spacing-l) var(--wui-spacing-m);\n }\n\n wui-icon + .wui-size-md,\n wui-loading-spinner + .wui-size-md {\n padding: 10.5px var(--wui-spacing-3xl) 10.5px 40px;\n }\n\n wui-icon[data-input='md'] {\n left: var(--wui-spacing-l);\n }\n\n input:placeholder-shown ~ ::slotted(wui-input-element),\n input:placeholder-shown ~ ::slotted(wui-icon) {\n opacity: 0;\n pointer-events: none;\n }\n\n ::slotted(wui-input-element),\n ::slotted(wui-icon) {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n transition: all var(--wui-ease-in-power-2) var(--wui-duration-md);\n }\n\n ::slotted(wui-input-element) {\n right: var(--wui-spacing-m);\n }\n\n ::slotted(wui-icon) {\n right: 0px;\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { createRef, ref } from 'lit/directives/ref.js';\nimport '../../components/wui-icon/index.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiInputText = class WuiInputText extends LitElement {\n constructor() {\n super(...arguments);\n this.inputElementRef = createRef();\n this.size = 'md';\n this.disabled = false;\n this.placeholder = '';\n this.type = 'text';\n }\n render() {\n const sizeClass = `wui-size-${this.size}`;\n return html` ${this.templateIcon()}\n \n `;\n }\n templateIcon() {\n if (this.icon) {\n return html``;\n }\n return null;\n }\n dispatchInputChangeEvent() {\n this.dispatchEvent(new CustomEvent('inputChange', {\n detail: this.inputElementRef.value?.value,\n bubbles: true,\n composed: true\n }));\n }\n};\nWuiInputText.styles = [resetStyles, elementStyles, styles];\n__decorate([property()], WuiInputText.prototype, \"size\", void 0);\n__decorate([property()], WuiInputText.prototype, \"icon\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiInputText.prototype, \"disabled\", void 0);\n__decorate([property()], WuiInputText.prototype, \"placeholder\", void 0);\n__decorate([property()], WuiInputText.prototype, \"type\", void 0);\n__decorate([property()], WuiInputText.prototype, \"keyHint\", void 0);\n__decorate([property()], WuiInputText.prototype, \"value\", void 0);\nWuiInputText = __decorate([customElement('wui-input-text')], WuiInputText);\nexport { WuiInputText };\n","import { css } from 'lit';\nexport default css`\n :host {\n position: relative;\n display: inline-block;\n }\n\n wui-text {\n margin: var(--wui-spacing-xxs) var(--wui-spacing-m) var(--wui-spacing-0) var(--wui-spacing-m);\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-icon/index.js';\nimport '../../components/wui-text/index.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport '../wui-input-text/index.js';\nimport styles from './styles.js';\nlet WuiEmailInput = class WuiEmailInput extends LitElement {\n constructor() {\n super(...arguments);\n this.disabled = false;\n }\n render() {\n return html`\n \n ${this.templateError()}\n `;\n }\n templateError() {\n if (this.errorMessage) {\n return html`${this.errorMessage}`;\n }\n return null;\n }\n};\nWuiEmailInput.styles = [resetStyles, styles];\n__decorate([property()], WuiEmailInput.prototype, \"errorMessage\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiEmailInput.prototype, \"disabled\", void 0);\n__decorate([property()], WuiEmailInput.prototype, \"value\", void 0);\nWuiEmailInput = __decorate([customElement('wui-email-input')], WuiEmailInput);\nexport { WuiEmailInput };\n","import { css } from 'lit';\nexport default css`\n button {\n border-radius: var(--wui-border-radius-xxs);\n color: var(--wui-color-fg-100);\n padding: var(--wui-spacing-2xs);\n }\n\n @media (max-width: 700px) {\n button {\n padding: var(--wui-spacing-s);\n }\n }\n\n button > wui-icon {\n pointer-events: none;\n }\n\n button:disabled > wui-icon {\n color: var(--wui-color-bg-300) !important;\n }\n\n button:disabled {\n background-color: transparent;\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-icon/index.js';\nimport { colorStyles, elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiIconLink = class WuiIconLink extends LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.disabled = false;\n this.icon = 'copy';\n this.iconColor = 'inherit';\n }\n render() {\n return html`\n \n `;\n }\n};\nWuiIconLink.styles = [resetStyles, elementStyles, colorStyles, styles];\n__decorate([property()], WuiIconLink.prototype, \"size\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiIconLink.prototype, \"disabled\", void 0);\n__decorate([property()], WuiIconLink.prototype, \"icon\", void 0);\n__decorate([property()], WuiIconLink.prototype, \"iconColor\", void 0);\nWuiIconLink = __decorate([customElement('wui-icon-link')], WuiIconLink);\nexport { WuiIconLink };\n","import { css } from 'lit';\nexport default css`\n button {\n background-color: var(--wui-color-fg-300);\n border-radius: var(--wui-border-radius-4xs);\n width: 16px;\n height: 16px;\n }\n\n button:disabled {\n background-color: var(--wui-color-bg-300);\n }\n\n wui-icon {\n color: var(--wui-color-bg-200) !important;\n }\n\n button:focus-visible {\n background-color: var(--wui-color-fg-250);\n border: 1px solid var(--wui-color-accent-100);\n }\n\n button:active:enabled {\n background-color: var(--wui-color-fg-225);\n }\n\n @media (hover: hover) and (pointer: fine) {\n button:hover:enabled {\n background-color: var(--wui-color-fg-250);\n }\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-icon/index.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiInputElement = class WuiInputElement extends LitElement {\n constructor() {\n super(...arguments);\n this.icon = 'copy';\n }\n render() {\n return html`\n \n `;\n }\n};\nWuiInputElement.styles = [resetStyles, elementStyles, styles];\n__decorate([property()], WuiInputElement.prototype, \"icon\", void 0);\nWuiInputElement = __decorate([customElement('wui-input-element')], WuiInputElement);\nexport { WuiInputElement };\n","import { css } from 'lit';\nexport default css`\n :host {\n position: relative;\n display: inline-block;\n }\n\n input {\n width: 50px;\n height: 50px;\n background: var(--wui-gray-glass-010);\n border-radius: var(--wui-border-radius-xs);\n border: 1px solid var(--wui-gray-glass-005);\n font-family: var(--wui-font-family);\n font-size: var(--wui-font-size-large);\n font-weight: var(--wui-font-weight-regular);\n letter-spacing: var(--wui-letter-spacing-large);\n text-align: center;\n color: var(--wui-color-fg-100);\n caret-color: var(--wui-color-accent-100);\n transition: all var(--wui-ease-inout-power-1) var(--wui-duration-lg);\n box-sizing: border-box;\n -webkit-appearance: none;\n -moz-appearance: textfield;\n padding: 0px;\n }\n\n input::-webkit-outer-spin-button,\n input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n input[type='number'] {\n -moz-appearance: textfield;\n }\n\n input:disabled {\n cursor: not-allowed;\n border: 1px solid var(--wui-gray-glass-010);\n background: var(--wui-gray-glass-005);\n }\n\n input:focus:enabled {\n transition: all var(--wui-ease-out-power-2) var(--wui-duration-sm);\n background-color: var(--wui-gray-glass-015);\n border: 1px solid var(--wui-color-accent-100);\n -webkit-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n -moz-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n }\n @media (hover: hover) and (pointer: fine) {\n input:hover:enabled {\n background-color: var(--wui-gray-glass-015);\n }\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiInputNumeric = class WuiInputNumeric extends LitElement {\n constructor() {\n super(...arguments);\n this.disabled = false;\n this.value = '';\n }\n render() {\n return html` `;\n }\n};\nWuiInputNumeric.styles = [resetStyles, elementStyles, styles];\n__decorate([property({\n type: Boolean\n})], WuiInputNumeric.prototype, \"disabled\", void 0);\n__decorate([property({\n type: String\n})], WuiInputNumeric.prototype, \"value\", void 0);\nWuiInputNumeric = __decorate([customElement('wui-input-numeric')], WuiInputNumeric);\nexport { WuiInputNumeric };\n","import { css } from 'lit';\nexport default css`\n button {\n padding: var(--wui-spacing-4xs) var(--wui-spacing-xxs);\n border-radius: var(--wui-border-radius-3xs);\n background-color: transparent;\n color: var(--wui-color-accent-100);\n }\n\n button:disabled {\n background-color: transparent;\n color: var(--wui-gray-glass-015);\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-icon/index.js';\nimport '../../components/wui-text/index.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiLink = class WuiLink extends LitElement {\n constructor() {\n super(...arguments);\n this.disabled = false;\n this.color = 'inherit';\n }\n render() {\n return html`\n \n `;\n }\n};\nWuiLink.styles = [resetStyles, elementStyles, styles];\n__decorate([property({\n type: Boolean\n})], WuiLink.prototype, \"disabled\", void 0);\n__decorate([property()], WuiLink.prototype, \"color\", void 0);\nWuiLink = __decorate([customElement('wui-link')], WuiLink);\nexport { WuiLink };\n","import { css } from 'lit';\nexport default css`\n button {\n column-gap: var(--wui-spacing-s);\n padding: 11px 18px 11px var(--wui-spacing-s);\n width: 100%;\n background-color: var(--wui-gray-glass-002);\n border-radius: var(--wui-border-radius-xs);\n color: var(--wui-color-fg-250);\n }\n\n button[data-iconvariant='square'],\n button[data-iconvariant='square-blue'] {\n padding: 6px 18px 6px 9px;\n }\n\n button > wui-flex {\n flex: 1;\n }\n\n button > wui-image {\n width: 32px;\n height: 32px;\n box-shadow: 0 0 0 2px var(--wui-gray-glass-005);\n border-radius: var(--wui-border-radius-3xl);\n }\n\n button > wui-icon {\n width: 36px;\n height: 36px;\n }\n\n button > wui-icon-box[data-variant='blue'] {\n box-shadow: 0 0 0 2px var(--wui-accent-glass-005);\n }\n\n button > wui-icon-box[data-variant='overlay'] {\n box-shadow: 0 0 0 2px var(--wui-gray-glass-005);\n }\n\n button > wui-icon-box[data-variant='square-blue'] {\n border-radius: var(--wui-border-radius-3xs);\n position: relative;\n border: none;\n width: 36px;\n height: 36px;\n }\n\n button > wui-icon-box[data-variant='square-blue']::after {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n border-radius: inherit;\n border: 1px solid var(--wui-accent-glass-010);\n pointer-events: none;\n }\n\n button > wui-icon:last-child {\n width: 14px;\n height: 14px;\n }\n\n button:disabled {\n background-color: var(--wui-gray-glass-015);\n color: var(--wui-gray-glass-015);\n }\n\n button[data-loading='true'] > wui-icon {\n transition: opacity 200ms ease-in-out;\n opacity: 0;\n }\n\n wui-loading-spinner {\n position: absolute;\n right: 18px;\n top: 50%;\n transform: translateY(-50%);\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport '../../components/wui-icon/index.js';\nimport '../../components/wui-image/index.js';\nimport '../../components/wui-loading-spinner/index.js';\nimport '../../components/wui-text/index.js';\nimport '../../layout/wui-flex/index.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport '../wui-icon-box/index.js';\nimport styles from './styles.js';\nlet WuiListItem = class WuiListItem extends LitElement {\n constructor() {\n super(...arguments);\n this.variant = 'icon';\n this.disabled = false;\n this.imageSrc = undefined;\n this.alt = undefined;\n this.chevron = false;\n this.loading = false;\n }\n render() {\n return html`\n \n ${this.loadingTemplate()} ${this.visualTemplate()}\n \n \n \n ${this.chevronTemplate()}\n \n `;\n }\n visualTemplate() {\n if (this.variant === 'image' && this.imageSrc) {\n return html``;\n } else if (this.iconVariant === 'square' && this.icon && this.variant === 'icon') {\n return html``;\n } else if (this.variant === 'icon' && this.icon && this.iconVariant) {\n const color = ['blue', 'square-blue'].includes(this.iconVariant) ? 'accent-100' : 'fg-200';\n const size = this.iconVariant === 'square-blue' ? 'mdl' : 'md';\n const iconSize = this.iconSize ? this.iconSize : size;\n return html`\n \n `;\n }\n return null;\n }\n loadingTemplate() {\n if (this.loading) {\n return html``;\n }\n return html``;\n }\n chevronTemplate() {\n if (this.chevron) {\n return html``;\n }\n return null;\n }\n};\nWuiListItem.styles = [resetStyles, elementStyles, styles];\n__decorate([property()], WuiListItem.prototype, \"icon\", void 0);\n__decorate([property()], WuiListItem.prototype, \"iconSize\", void 0);\n__decorate([property()], WuiListItem.prototype, \"variant\", void 0);\n__decorate([property()], WuiListItem.prototype, \"iconVariant\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiListItem.prototype, \"disabled\", void 0);\n__decorate([property()], WuiListItem.prototype, \"imageSrc\", void 0);\n__decorate([property()], WuiListItem.prototype, \"alt\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiListItem.prototype, \"chevron\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiListItem.prototype, \"loading\", void 0);\nWuiListItem = __decorate([customElement('wui-list-item')], WuiListItem);\nexport { WuiListItem };\n","export var TransactionTypePastTense = /*#__PURE__*/function (TransactionTypePastTense) {\n TransactionTypePastTense[\"approve\"] = \"approved\";\n TransactionTypePastTense[\"bought\"] = \"bought\";\n TransactionTypePastTense[\"borrow\"] = \"borrowed\";\n TransactionTypePastTense[\"burn\"] = \"burnt\";\n TransactionTypePastTense[\"cancel\"] = \"canceled\";\n TransactionTypePastTense[\"claim\"] = \"claimed\";\n TransactionTypePastTense[\"deploy\"] = \"deployed\";\n TransactionTypePastTense[\"deposit\"] = \"deposited\";\n TransactionTypePastTense[\"execute\"] = \"executed\";\n TransactionTypePastTense[\"mint\"] = \"minted\";\n TransactionTypePastTense[\"receive\"] = \"received\";\n TransactionTypePastTense[\"repay\"] = \"repaid\";\n TransactionTypePastTense[\"send\"] = \"sent\";\n TransactionTypePastTense[\"sell\"] = \"sold\";\n TransactionTypePastTense[\"stake\"] = \"staked\";\n TransactionTypePastTense[\"trade\"] = \"swapped\";\n TransactionTypePastTense[\"unstake\"] = \"unstaked\";\n TransactionTypePastTense[\"withdraw\"] = \"withdrawn\";\n return TransactionTypePastTense;\n}(TransactionTypePastTense || {});\n\n","import { css } from 'lit';\nexport default css`\n :host > wui-flex {\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n width: 40px;\n height: 40px;\n box-shadow: inset 0 0 0 1px var(--wui-gray-glass-005);\n background-color: var(--wui-gray-glass-005);\n }\n\n :host > wui-flex wui-image {\n display: block;\n z-index: -1;\n }\n\n :host > wui-flex,\n :host > wui-flex wui-image,\n .swap-images-container,\n .swap-images-container.nft,\n wui-image.nft {\n border-top-left-radius: var(--local-left-border-radius);\n border-top-right-radius: var(--local-right-border-radius);\n border-bottom-left-radius: var(--local-left-border-radius);\n border-bottom-right-radius: var(--local-right-border-radius);\n }\n\n wui-icon {\n width: 20px;\n height: 20px;\n }\n\n wui-icon-box {\n position: absolute;\n right: 0;\n bottom: 0;\n transform: translate(20%, 20%);\n }\n\n .swap-images-container {\n position: relative;\n width: 40px;\n height: 40px;\n overflow: hidden;\n }\n\n .swap-images-container wui-image:first-child {\n position: absolute;\n width: 40px;\n height: 40px;\n top: 0;\n left: 0%;\n clip-path: inset(0px calc(50% + 2px) 0px 0%);\n }\n\n .swap-images-container wui-image:last-child {\n clip-path: inset(0px 0px 0px calc(50% + 2px));\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport '../../components/wui-image/index.js';\nimport '../wui-icon-box/index.js';\nimport styles from './styles.js';\nlet WuiTransactionVisual = class WuiTransactionVisual extends LitElement {\n constructor() {\n super(...arguments);\n this.images = [];\n this.secondImage = {\n type: undefined,\n url: ''\n };\n }\n render() {\n const [firstImage, secondImage] = this.images;\n const isLeftNFT = firstImage?.type === 'NFT';\n const isRightNFT = secondImage?.url ? secondImage.type === 'NFT' : isLeftNFT;\n const leftRadius = isLeftNFT ? 'var(--wui-border-radius-xxs)' : 'var(--wui-border-radius-s)';\n const rightRadius = isRightNFT ? 'var(--wui-border-radius-xxs)' : 'var(--wui-border-radius-s)';\n this.style.cssText = `\n --local-left-border-radius: ${leftRadius};\n --local-right-border-radius: ${rightRadius};\n `;\n return html` ${this.templateVisual()} ${this.templateIcon()} `;\n }\n templateVisual() {\n const [firstImage, secondImage] = this.images;\n const firstImageType = firstImage?.type;\n const haveTwoImages = this.images.length === 2;\n if (haveTwoImages && (firstImage?.url || secondImage?.url)) {\n return html`
\n ${firstImage?.url ? html`` : null}\n ${secondImage?.url ? html`` : null}\n
`;\n } else if (firstImage?.url) {\n return html``;\n } else if (firstImageType === 'NFT') {\n return html``;\n }\n return html``;\n }\n templateIcon() {\n let color = 'accent-100';\n let icon = undefined;\n icon = this.getIcon();\n if (this.status) {\n color = this.getStatusColor();\n }\n if (!icon) {\n return null;\n }\n return html`\n \n `;\n }\n getDirectionIcon() {\n switch (this.direction) {\n case 'in':\n return 'arrowBottom';\n case 'out':\n return 'arrowTop';\n default:\n return undefined;\n }\n }\n getIcon() {\n if (this.onlyDirectionIcon) {\n return this.getDirectionIcon();\n }\n if (this.type === 'trade') {\n return 'swapHorizontalBold';\n } else if (this.type === 'approve') {\n return 'checkmark';\n } else if (this.type === 'cancel') {\n return 'close';\n }\n return this.getDirectionIcon();\n }\n getStatusColor() {\n switch (this.status) {\n case 'confirmed':\n return 'success-100';\n case 'failed':\n return 'error-100';\n case 'pending':\n return 'inverse-100';\n default:\n return 'accent-100';\n }\n }\n};\nWuiTransactionVisual.styles = [styles];\n__decorate([property()], WuiTransactionVisual.prototype, \"type\", void 0);\n__decorate([property()], WuiTransactionVisual.prototype, \"status\", void 0);\n__decorate([property()], WuiTransactionVisual.prototype, \"direction\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiTransactionVisual.prototype, \"onlyDirectionIcon\", void 0);\n__decorate([property({\n type: Array\n})], WuiTransactionVisual.prototype, \"images\", void 0);\n__decorate([property({\n type: Object\n})], WuiTransactionVisual.prototype, \"secondImage\", void 0);\nWuiTransactionVisual = __decorate([customElement('wui-transaction-visual')], WuiTransactionVisual);\nexport { WuiTransactionVisual };\n","import { css } from 'lit';\nexport default css`\n :host > wui-flex:first-child {\n align-items: center;\n column-gap: var(--wui-spacing-s);\n padding: 6.5px var(--wui-spacing-l) 6.5px var(--wui-spacing-xs);\n width: 100%;\n }\n\n :host > wui-flex:first-child wui-text:nth-child(1) {\n text-transform: capitalize;\n }\n\n wui-transaction-visual {\n width: 40px;\n height: 40px;\n }\n\n wui-flex {\n flex: 1;\n }\n\n :host wui-flex wui-flex {\n overflow: hidden;\n }\n\n :host .description-container wui-text span {\n word-break: break-all;\n }\n\n :host .description-container wui-text {\n overflow: hidden;\n }\n\n :host .description-separator-icon {\n margin: 0px 6px;\n }\n\n :host wui-text > span {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport { TransactionTypePastTense } from '../../utils/TypeUtil.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport '../../components/wui-text/index.js';\nimport '../wui-transaction-visual/index.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport styles from './styles.js';\nlet WuiTransactionListItem = class WuiTransactionListItem extends LitElement {\n constructor() {\n super(...arguments);\n this.type = 'approve';\n this.onlyDirectionIcon = false;\n this.images = [];\n }\n render() {\n return html`\n \n \n \n \n ${TransactionTypePastTense[this.type]}\n \n \n ${this.templateDescription()} ${this.templateSecondDescription()}\n \n \n ${this.date}\n \n `;\n }\n templateDescription() {\n const description = this.descriptions?.[0];\n return description ? html`\n \n ${description}\n \n ` : null;\n }\n templateSecondDescription() {\n const description = this.descriptions?.[1];\n return description ? html`\n \n \n ${description}\n \n ` : null;\n }\n};\nWuiTransactionListItem.styles = [resetStyles, styles];\n__decorate([property()], WuiTransactionListItem.prototype, \"type\", void 0);\n__decorate([property({\n type: Array\n})], WuiTransactionListItem.prototype, \"descriptions\", void 0);\n__decorate([property()], WuiTransactionListItem.prototype, \"date\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiTransactionListItem.prototype, \"onlyDirectionIcon\", void 0);\n__decorate([property()], WuiTransactionListItem.prototype, \"status\", void 0);\n__decorate([property()], WuiTransactionListItem.prototype, \"direction\", void 0);\n__decorate([property({\n type: Array\n})], WuiTransactionListItem.prototype, \"images\", void 0);\nWuiTransactionListItem = __decorate([customElement('wui-transaction-list-item')], WuiTransactionListItem);\nexport { WuiTransactionListItem };\n","import { css } from 'lit';\nexport default css`\n :host > wui-flex:first-child {\n column-gap: var(--wui-spacing-s);\n padding: 7px var(--wui-spacing-l) 7px var(--wui-spacing-xs);\n width: 100%;\n }\n\n wui-flex {\n display: flex;\n flex: 1;\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport '../../components/wui-text/index.js';\nimport '../wui-transaction-visual/index.js';\nimport styles from './styles.js';\nlet WuiTransactionListItemLoader = class WuiTransactionListItemLoader extends LitElement {\n render() {\n return html`\n \n \n \n \n \n \n \n \n `;\n }\n};\nWuiTransactionListItemLoader.styles = [resetStyles, styles];\nWuiTransactionListItemLoader = __decorate([customElement('wui-transaction-list-item-loader')], WuiTransactionListItemLoader);\nexport { WuiTransactionListItemLoader };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: block;\n padding: 3.5px 5px !important;\n border-radius: var(--wui-border-radius-5xs);\n }\n\n :host([data-variant='main']) {\n background-color: var(--wui-accent-glass-015);\n color: var(--wui-color-accent-100);\n }\n\n :host([data-variant='shade']) {\n background-color: var(--wui-gray-glass-010);\n color: var(--wui-color-fg-200);\n }\n\n :host([data-variant='success']) {\n background-color: var(--wui-icon-box-bg-success-100);\n color: var(--wui-color-success-100);\n }\n\n :host([data-variant='error']) {\n background-color: var(--wui-icon-box-bg-error-100);\n color: var(--wui-color-error-100);\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-text/index.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiTag = class WuiTag extends LitElement {\n constructor() {\n super(...arguments);\n this.variant = 'main';\n }\n render() {\n this.dataset['variant'] = this.variant;\n return html`\n \n \n \n `;\n }\n};\nWuiTag.styles = [resetStyles, styles];\n__decorate([property()], WuiTag.prototype, \"variant\", void 0);\nWuiTag = __decorate([customElement('wui-tag')], WuiTag);\nexport { WuiTag };\n","import { css } from 'lit';\nexport default css`\n button {\n column-gap: var(--wui-spacing-s);\n padding: 7px var(--wui-spacing-l) 7px var(--wui-spacing-xs);\n width: 100%;\n background-color: var(--wui-gray-glass-002);\n border-radius: var(--wui-border-radius-xs);\n color: var(--wui-color-fg-100);\n }\n\n button > wui-text:nth-child(2) {\n display: flex;\n flex: 1;\n }\n\n wui-icon {\n color: var(--wui-color-fg-200) !important;\n }\n\n button:disabled {\n background-color: var(--wui-gray-glass-015);\n color: var(--wui-gray-glass-015);\n }\n\n button:disabled > wui-tag {\n background-color: var(--wui-gray-glass-010);\n color: var(--wui-color-fg-300);\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-icon/index.js';\nimport '../../composites/wui-icon-box/index.js';\nimport '../../components/wui-text/index.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport '../wui-all-wallets-image/index.js';\nimport '../wui-tag/index.js';\nimport '../wui-wallet-image/index.js';\nimport styles from './styles.js';\nlet WuiListWallet = class WuiListWallet extends LitElement {\n constructor() {\n super(...arguments);\n this.walletImages = [];\n this.imageSrc = '';\n this.name = '';\n this.installed = false;\n this.disabled = false;\n this.showAllWallets = false;\n }\n render() {\n return html`\n \n `;\n }\n templateAllWallets() {\n if (this.showAllWallets && this.imageSrc) {\n return html` `;\n } else if (this.showAllWallets && this.walletIcon) {\n return html` `;\n }\n return null;\n }\n templateWalletImage() {\n if (!this.showAllWallets && this.imageSrc) {\n return html``;\n } else if (!this.showAllWallets && !this.imageSrc) {\n return html``;\n }\n return null;\n }\n templateStatus() {\n if (this.tagLabel && this.tagVariant) {\n return html`${this.tagLabel}`;\n } else if (this.icon) {\n return html``;\n }\n return null;\n }\n};\nWuiListWallet.styles = [resetStyles, elementStyles, styles];\n__decorate([property({\n type: Array\n})], WuiListWallet.prototype, \"walletImages\", void 0);\n__decorate([property()], WuiListWallet.prototype, \"imageSrc\", void 0);\n__decorate([property()], WuiListWallet.prototype, \"name\", void 0);\n__decorate([property()], WuiListWallet.prototype, \"tagLabel\", void 0);\n__decorate([property()], WuiListWallet.prototype, \"tagVariant\", void 0);\n__decorate([property()], WuiListWallet.prototype, \"icon\", void 0);\n__decorate([property()], WuiListWallet.prototype, \"walletIcon\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiListWallet.prototype, \"installed\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiListWallet.prototype, \"disabled\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiListWallet.prototype, \"showAllWallets\", void 0);\nWuiListWallet = __decorate([customElement('wui-list-wallet')], WuiListWallet);\nexport { WuiListWallet };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: block;\n width: 40px;\n height: 40px;\n border-radius: var(--wui-border-radius-3xl);\n border: 1px solid var(--wui-gray-glass-010);\n overflow: hidden;\n }\n\n wui-icon {\n width: 100%;\n height: 100%;\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-icon/index.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiLogo = class WuiLogo extends LitElement {\n constructor() {\n super(...arguments);\n this.logo = 'google';\n }\n render() {\n return html` `;\n }\n};\nWuiLogo.styles = [resetStyles, styles];\n__decorate([property()], WuiLogo.prototype, \"logo\", void 0);\nWuiLogo = __decorate([customElement('wui-logo')], WuiLogo);\nexport { WuiLogo };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: block;\n }\n\n button {\n width: 50px;\n height: 50px;\n background: var(--wui-gray-glass-002);\n border-radius: var(--wui-border-radius-xs);\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport '../wui-logo/index.js';\nimport styles from './styles.js';\nlet WuiLogoSelect = class WuiLogoSelect extends LitElement {\n constructor() {\n super(...arguments);\n this.logo = 'google';\n this.disabled = false;\n }\n render() {\n return html`\n \n `;\n }\n};\nWuiLogoSelect.styles = [resetStyles, elementStyles, styles];\n__decorate([property()], WuiLogoSelect.prototype, \"logo\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiLogoSelect.prototype, \"disabled\", void 0);\nWuiLogoSelect = __decorate([customElement('wui-logo-select')], WuiLogoSelect);\nexport { WuiLogoSelect };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: block;\n }\n\n button {\n border-radius: var(--wui-border-radius-3xl);\n display: flex;\n gap: var(--wui-spacing-xs);\n padding: var(--wui-spacing-2xs) var(--wui-spacing-s) var(--wui-spacing-2xs)\n var(--wui-spacing-xs);\n border: 1px solid var(--wui-gray-glass-010);\n background-color: var(--wui-gray-glass-005);\n color: var(--wui-color-fg-100);\n }\n\n button:disabled {\n border: 1px solid var(--wui-gray-glass-005);\n background-color: var(--wui-gray-glass-015);\n color: var(--wui-gray-glass-015);\n }\n\n @media (hover: hover) and (pointer: fine) {\n button:hover:enabled {\n background-color: var(--wui-gray-glass-010);\n }\n\n button:active:enabled {\n background-color: var(--wui-gray-glass-015);\n }\n }\n\n wui-image,\n wui-icon-box {\n border-radius: var(--wui-border-radius-3xl);\n width: 24px;\n height: 24px;\n box-shadow: 0 0 0 2px var(--wui-gray-glass-005);\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-image/index.js';\nimport '../../components/wui-text/index.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport '../wui-icon-box/index.js';\nimport styles from './styles.js';\nlet WuiNetworkButton = class WuiNetworkButton extends LitElement {\n constructor() {\n super(...arguments);\n this.imageSrc = undefined;\n this.disabled = false;\n }\n render() {\n return html`\n \n `;\n }\n visualTemplate() {\n if (this.imageSrc) {\n return html``;\n }\n return html`\n \n `;\n }\n};\nWuiNetworkButton.styles = [resetStyles, elementStyles, styles];\n__decorate([property()], WuiNetworkButton.prototype, \"imageSrc\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiNetworkButton.prototype, \"disabled\", void 0);\nWuiNetworkButton = __decorate([customElement('wui-network-button')], WuiNetworkButton);\nexport { WuiNetworkButton };\n","import { css } from 'lit';\nexport default css`\n :host {\n position: relative;\n display: block;\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport '../../layout/wui-flex/index.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { UiHelperUtil } from '../../utils/UiHelperUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport '../wui-input-numeric/index.js';\nimport { WuiInputNumeric } from '../wui-input-numeric/index.js';\nimport styles from './styles.js';\nlet WuiOtp = class WuiOtp extends LitElement {\n constructor() {\n super(...arguments);\n this.length = 6;\n this.otp = '';\n this.values = Array.from({\n length: this.length\n }).map(() => '');\n this.numerics = [];\n this.shouldInputBeEnabled = index => {\n const previousInputs = this.values.slice(0, index);\n return previousInputs.every(input => input !== '');\n };\n this.handleKeyDown = (e, index) => {\n const inputElement = e.target;\n const input = this.getInputElement(inputElement);\n const keyArr = ['ArrowLeft', 'ArrowRight', 'Shift', 'Delete'];\n if (!input) {\n return;\n }\n if (keyArr.includes(e.key)) {\n e.preventDefault();\n }\n const currentCaretPos = input.selectionStart;\n switch (e.key) {\n case 'ArrowLeft':\n if (currentCaretPos) {\n input.setSelectionRange(currentCaretPos + 1, currentCaretPos + 1);\n }\n this.focusInputField('prev', index);\n break;\n case 'ArrowRight':\n this.focusInputField('next', index);\n break;\n case 'Shift':\n this.focusInputField('next', index);\n break;\n case 'Delete':\n if (input.value === '') {\n this.focusInputField('prev', index);\n } else {\n this.updateInput(input, index, '');\n }\n break;\n case 'Backspace':\n if (input.value === '') {\n this.focusInputField('prev', index);\n } else {\n this.updateInput(input, index, '');\n }\n break;\n default:\n }\n };\n this.focusInputField = (dir, index) => {\n if (dir === 'next') {\n const nextIndex = index + 1;\n if (!this.shouldInputBeEnabled(nextIndex)) {\n return;\n }\n const numeric = this.numerics[nextIndex < this.length ? nextIndex : index];\n const input = numeric ? this.getInputElement(numeric) : undefined;\n if (input) {\n input.disabled = false;\n input.focus();\n }\n }\n if (dir === 'prev') {\n const nextIndex = index - 1;\n const numeric = this.numerics[nextIndex > -1 ? nextIndex : index];\n const input = numeric ? this.getInputElement(numeric) : undefined;\n if (input) {\n input.focus();\n }\n }\n };\n }\n firstUpdated() {\n if (this.otp) {\n this.values = this.otp.split('');\n }\n const numericElements = this.shadowRoot?.querySelectorAll('wui-input-numeric');\n if (numericElements) {\n this.numerics = Array.from(numericElements);\n }\n this.numerics[0]?.focus();\n }\n render() {\n return html`\n \n ${Array.from({\n length: this.length\n }).map((_, index) => html`\n this.handleInput(e, index)}\n @keydown=${e => this.handleKeyDown(e, index)}\n .disabled=${!this.shouldInputBeEnabled(index)}\n .value=${this.values[index] || ''}\n >\n \n `)}\n \n `;\n }\n updateInput(element, index, value) {\n const numeric = this.numerics[index];\n const input = element || (numeric ? this.getInputElement(numeric) : undefined);\n if (input) {\n input.value = value;\n this.values = this.values.map((val, i) => i === index ? value : val);\n }\n }\n handleInput(e, index) {\n const inputElement = e.target;\n const input = this.getInputElement(inputElement);\n if (input) {\n const inputValue = input.value;\n if (e.inputType === 'insertFromPaste') {\n this.handlePaste(input, inputValue, index);\n } else {\n const isValid = UiHelperUtil.isNumber(inputValue);\n if (isValid && e.data) {\n this.updateInput(input, index, e.data);\n this.focusInputField('next', index);\n } else {\n this.updateInput(input, index, '');\n }\n }\n }\n this.dispatchInputChangeEvent();\n }\n handlePaste(input, inputValue, index) {\n const value = inputValue[0];\n const isValid = value && UiHelperUtil.isNumber(value);\n if (isValid) {\n this.updateInput(input, index, value);\n const inputString = inputValue.substring(1);\n if (index + 1 < this.length && inputString.length) {\n const nextNumeric = this.numerics[index + 1];\n const nextInput = nextNumeric ? this.getInputElement(nextNumeric) : undefined;\n if (nextInput) {\n this.handlePaste(nextInput, inputString, index + 1);\n }\n } else {\n this.focusInputField('next', index);\n }\n } else {\n this.updateInput(input, index, '');\n }\n }\n getInputElement(el) {\n if (el.shadowRoot?.querySelector('input')) {\n return el.shadowRoot.querySelector('input');\n }\n return null;\n }\n dispatchInputChangeEvent() {\n const value = this.values.join('');\n this.dispatchEvent(new CustomEvent('inputChange', {\n detail: value,\n bubbles: true,\n composed: true\n }));\n }\n};\nWuiOtp.styles = [resetStyles, styles];\n__decorate([property({\n type: Number\n})], WuiOtp.prototype, \"length\", void 0);\n__decorate([property({\n type: String\n})], WuiOtp.prototype, \"otp\", void 0);\n__decorate([state()], WuiOtp.prototype, \"values\", void 0);\nWuiOtp = __decorate([customElement('wui-otp')], WuiOtp);\nexport { WuiOtp };\n","import { svg } from 'lit';\nimport QRCodeUtil from 'qrcode';\nconst CONNECTING_ERROR_MARGIN = 0.1;\nconst CIRCLE_SIZE_MODIFIER = 2.5;\nconst QRCODE_MATRIX_MARGIN = 7;\nfunction isAdjecentDots(cy, otherCy, cellSize) {\n if (cy === otherCy) {\n return false;\n }\n const diff = cy - otherCy < 0 ? otherCy - cy : cy - otherCy;\n return diff <= cellSize + CONNECTING_ERROR_MARGIN;\n}\nfunction getMatrix(value, errorCorrectionLevel) {\n const arr = Array.prototype.slice.call(QRCodeUtil.create(value, {\n errorCorrectionLevel\n }).modules.data, 0);\n const sqrt = Math.sqrt(arr.length);\n return arr.reduce((rows, key, index) => (index % sqrt === 0 ? rows.push([key]) : rows[rows.length - 1].push(key)) && rows, []);\n}\nexport const QrCodeUtil = {\n generate(uri, size, logoSize) {\n const dotColor = '#141414';\n const edgeColor = 'transparent';\n const strokeWidth = 5;\n const dots = [];\n const matrix = getMatrix(uri, 'Q');\n const cellSize = size / matrix.length;\n const qrList = [{\n x: 0,\n y: 0\n }, {\n x: 1,\n y: 0\n }, {\n x: 0,\n y: 1\n }];\n qrList.forEach(({\n x,\n y\n }) => {\n const x1 = (matrix.length - QRCODE_MATRIX_MARGIN) * cellSize * x;\n const y1 = (matrix.length - QRCODE_MATRIX_MARGIN) * cellSize * y;\n const borderRadius = 0.45;\n for (let i = 0; i < qrList.length; i += 1) {\n const dotSize = cellSize * (QRCODE_MATRIX_MARGIN - i * 2);\n dots.push(svg`\n \n `);\n }\n });\n const clearArenaSize = Math.floor((logoSize + 25) / cellSize);\n const matrixMiddleStart = matrix.length / 2 - clearArenaSize / 2;\n const matrixMiddleEnd = matrix.length / 2 + clearArenaSize / 2 - 1;\n const circles = [];\n matrix.forEach((row, i) => {\n row.forEach((_, j) => {\n if (matrix[i][j]) {\n if (!(i < QRCODE_MATRIX_MARGIN && j < QRCODE_MATRIX_MARGIN || i > matrix.length - (QRCODE_MATRIX_MARGIN + 1) && j < QRCODE_MATRIX_MARGIN || i < QRCODE_MATRIX_MARGIN && j > matrix.length - (QRCODE_MATRIX_MARGIN + 1))) {\n if (!(i > matrixMiddleStart && i < matrixMiddleEnd && j > matrixMiddleStart && j < matrixMiddleEnd)) {\n const cx = i * cellSize + cellSize / 2;\n const cy = j * cellSize + cellSize / 2;\n circles.push([cx, cy]);\n }\n }\n }\n });\n });\n const circlesToConnect = {};\n circles.forEach(([cx, cy]) => {\n if (circlesToConnect[cx]) {\n circlesToConnect[cx]?.push(cy);\n } else {\n circlesToConnect[cx] = [cy];\n }\n });\n Object.entries(circlesToConnect).map(([cx, cys]) => {\n const newCys = cys.filter(cy => cys.every(otherCy => !isAdjecentDots(cy, otherCy, cellSize)));\n return [Number(cx), newCys];\n }).forEach(([cx, cys]) => {\n cys.forEach(cy => {\n dots.push(svg``);\n });\n });\n Object.entries(circlesToConnect).filter(([_, cys]) => cys.length > 1).map(([cx, cys]) => {\n const newCys = cys.filter(cy => cys.some(otherCy => isAdjecentDots(cy, otherCy, cellSize)));\n return [Number(cx), newCys];\n }).map(([cx, cys]) => {\n cys.sort((a, b) => a < b ? -1 : 1);\n const groups = [];\n for (const cy of cys) {\n const group = groups.find(item => item.some(otherCy => isAdjecentDots(cy, otherCy, cellSize)));\n if (group) {\n group.push(cy);\n } else {\n groups.push([cy]);\n }\n }\n return [cx, groups.map(item => [item[0], item[item.length - 1]])];\n }).forEach(([cx, groups]) => {\n groups.forEach(([y1, y2]) => {\n dots.push(svg`\n \n `);\n });\n });\n return dots;\n }\n};\n","import { css } from 'lit';\nexport default css`\n :host {\n position: relative;\n user-select: none;\n display: block;\n overflow: hidden;\n aspect-ratio: 1 / 1;\n width: var(--local-size);\n }\n\n :host([data-theme='dark']) {\n border-radius: clamp(0px, var(--wui-border-radius-l), 40px);\n background-color: var(--wui-color-inverse-100);\n padding: var(--wui-spacing-l);\n }\n\n :host([data-theme='light']) {\n box-shadow: 0 0 0 1px var(--wui-color-bg-125);\n background-color: var(--wui-color-bg-125);\n }\n\n svg:first-child,\n wui-image,\n wui-icon {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateY(-50%) translateX(-50%);\n }\n\n wui-image {\n width: 25%;\n height: 25%;\n border-radius: var(--wui-border-radius-xs);\n }\n\n wui-icon {\n width: 100%;\n height: 100%;\n color: #3396ff !important;\n transform: translateY(-50%) translateX(-50%) scale(0.25);\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement, svg } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-icon/index.js';\nimport '../../components/wui-image/index.js';\nimport { QrCodeUtil } from '../../utils/QrCode.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiQrCode = class WuiQrCode extends LitElement {\n constructor() {\n super(...arguments);\n this.uri = '';\n this.size = 0;\n this.theme = 'dark';\n this.imageSrc = undefined;\n this.alt = undefined;\n }\n render() {\n this.dataset['theme'] = this.theme;\n this.style.cssText = `--local-size: ${this.size}px`;\n return html`${this.templateVisual()} ${this.templateSvg()}`;\n }\n templateSvg() {\n const size = this.theme === 'light' ? this.size : this.size - 16 * 2;\n return svg`\n \n ${QrCodeUtil.generate(this.uri, size, size / 4)}\n \n `;\n }\n templateVisual() {\n if (this.imageSrc) {\n return html``;\n }\n return html``;\n }\n};\nWuiQrCode.styles = [resetStyles, styles];\n__decorate([property()], WuiQrCode.prototype, \"uri\", void 0);\n__decorate([property({\n type: Number\n})], WuiQrCode.prototype, \"size\", void 0);\n__decorate([property()], WuiQrCode.prototype, \"theme\", void 0);\n__decorate([property()], WuiQrCode.prototype, \"imageSrc\", void 0);\n__decorate([property()], WuiQrCode.prototype, \"alt\", void 0);\nWuiQrCode = __decorate([customElement('wui-qr-code')], WuiQrCode);\nexport { WuiQrCode };\n","import { css } from 'lit';\nexport default css`\n :host {\n position: relative;\n display: inline-block;\n width: 100%;\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { createRef, ref } from 'lit/directives/ref.js';\nimport '../../composites/wui-input-element/index.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport '../wui-input-text/index.js';\nimport styles from './styles.js';\nlet WuiSearchBar = class WuiSearchBar extends LitElement {\n constructor() {\n super(...arguments);\n this.inputComponentRef = createRef();\n }\n render() {\n return html`\n \n \n \n `;\n }\n clearValue() {\n const inputComponent = this.inputComponentRef.value;\n const inputElement = inputComponent?.inputElementRef.value;\n if (inputElement) {\n inputElement.value = '';\n inputElement.focus();\n inputElement.dispatchEvent(new Event('input'));\n }\n }\n};\nWuiSearchBar.styles = [resetStyles, styles];\nWuiSearchBar = __decorate([customElement('wui-search-bar')], WuiSearchBar);\nexport { WuiSearchBar };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: flex;\n column-gap: var(--wui-spacing-xs);\n align-items: center;\n padding: var(--wui-spacing-xs) var(--wui-spacing-m) var(--wui-spacing-xs) var(--wui-spacing-xs);\n border-radius: var(--wui-border-radius-3xl);\n border: 1px solid var(--wui-gray-glass-005);\n background-color: var(--wui-color-bg-175);\n box-shadow:\n 0px 14px 64px -4px rgba(0, 0, 0, 0.15),\n 0px 8px 22px -6px rgba(0, 0, 0, 0.15);\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-text/index.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport '../wui-icon-box/index.js';\nimport styles from './styles.js';\nlet WuiSnackbar = class WuiSnackbar extends LitElement {\n constructor() {\n super(...arguments);\n this.backgroundColor = 'accent-100';\n this.iconColor = 'accent-100';\n this.icon = 'checkmark';\n this.message = '';\n }\n render() {\n return html`\n \n ${this.message}\n `;\n }\n};\nWuiSnackbar.styles = [resetStyles, styles];\n__decorate([property()], WuiSnackbar.prototype, \"backgroundColor\", void 0);\n__decorate([property()], WuiSnackbar.prototype, \"iconColor\", void 0);\n__decorate([property()], WuiSnackbar.prototype, \"icon\", void 0);\n__decorate([property()], WuiSnackbar.prototype, \"message\", void 0);\nWuiSnackbar = __decorate([customElement('wui-snackbar')], WuiSnackbar);\nexport { WuiSnackbar };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: inline-flex;\n background-color: var(--wui-gray-glass-002);\n border-radius: var(--wui-border-radius-3xl);\n padding: var(--wui-spacing-3xs);\n position: relative;\n height: 36px;\n overflow: hidden;\n }\n\n :host::before {\n content: '';\n position: absolute;\n pointer-events: none;\n top: 4px;\n left: 4px;\n display: block;\n width: var(--local-tab-width);\n height: 28px;\n border-radius: var(--wui-border-radius-3xl);\n background-color: var(--wui-gray-glass-002);\n box-shadow: inset 0 0 0 1px var(--wui-gray-glass-002);\n transform: translateX(calc(var(--local-tab) * var(--local-tab-width)));\n transition: transform var(--wui-ease-out-power-2) var(--wui-duration-lg);\n }\n\n :host([data-type='flex'])::before {\n left: 3px;\n transform: translateX(calc((var(--local-tab) * 34px) + (var(--local-tab) * 4px)));\n }\n\n :host([data-type='flex']) {\n display: flex;\n padding: 0px 0px 0px 12px;\n gap: 4px;\n }\n\n :host([data-type='flex']) > button > wui-text {\n position: absolute;\n left: 18px;\n opacity: 0;\n }\n\n button[data-active='true'] > wui-icon,\n button[data-active='true'] > wui-text {\n color: var(--wui-color-fg-100);\n }\n\n button[data-active='false'] > wui-icon,\n button[data-active='false'] > wui-text {\n color: var(--wui-color-fg-200);\n }\n\n button[data-active='true']:disabled,\n button[data-active='false']:disabled {\n background-color: transparent;\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n button[data-active='true']:disabled > wui-text {\n color: var(--wui-color-fg-200);\n }\n\n button[data-active='false']:disabled > wui-text {\n color: var(--wui-color-fg-300);\n }\n\n button > wui-icon,\n button > wui-text {\n pointer-events: none;\n transition: all var(--wui-ease-out-power-2) var(--wui-duration-lg);\n }\n\n button {\n width: var(--local-tab-width);\n }\n\n :host([data-type='flex']) > button {\n width: 34px;\n position: relative;\n display: flex;\n justify-content: flex-start;\n }\n\n button:hover:enabled,\n button:active:enabled {\n background-color: transparent !important;\n }\n\n button:hover:enabled > wui-icon,\n button:active:enabled > wui-icon {\n color: var(--wui-color-fg-125);\n }\n\n button:hover:enabled > wui-text,\n button:active:enabled > wui-text {\n color: var(--wui-color-fg-125);\n }\n\n button {\n border-radius: var(--wui-border-radius-3xl);\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiTabs = class WuiTabs extends LitElement {\n constructor() {\n super(...arguments);\n this.tabs = [];\n this.onTabChange = () => null;\n this.buttons = [];\n this.disabled = false;\n this.activeTab = 0;\n this.localTabWidth = '100px';\n this.isDense = false;\n }\n render() {\n this.isDense = this.tabs.length > 3;\n this.style.cssText = `\n --local-tab: ${this.activeTab};\n --local-tab-width: ${this.localTabWidth};\n `;\n this.dataset['type'] = this.isDense ? 'flex' : 'block';\n return this.tabs.map((tab, index) => {\n const isActive = index === this.activeTab;\n return html`\n this.onTabClick(index)}\n data-active=${isActive}\n >\n \n ${tab.label} \n \n `;\n });\n }\n firstUpdated() {\n if (this.shadowRoot && this.isDense) {\n this.buttons = [...this.shadowRoot.querySelectorAll('button')];\n setTimeout(() => {\n this.animateTabs(0, true);\n }, 0);\n }\n }\n onTabClick(index) {\n if (this.buttons) {\n this.animateTabs(index, false);\n }\n this.activeTab = index;\n this.onTabChange(index);\n }\n animateTabs(index, initialAnimation) {\n const passiveBtn = this.buttons[this.activeTab];\n const activeBtn = this.buttons[index];\n const passiveBtnText = passiveBtn?.querySelector('wui-text');\n const activeBtnText = activeBtn?.querySelector('wui-text');\n const activeBtnBounds = activeBtn?.getBoundingClientRect();\n const activeBtnTextBounds = activeBtnText?.getBoundingClientRect();\n if (passiveBtn && passiveBtnText && !initialAnimation && index !== this.activeTab) {\n passiveBtnText.animate([{\n opacity: 0\n }], {\n duration: 50,\n easing: 'ease',\n fill: 'forwards'\n });\n passiveBtn.animate([{\n width: `34px`\n }], {\n duration: 500,\n easing: 'ease',\n fill: 'forwards'\n });\n }\n if (activeBtn && activeBtnBounds && activeBtnTextBounds && activeBtnText) {\n if (index !== this.activeTab || initialAnimation) {\n this.localTabWidth = `${Math.round(activeBtnBounds.width + activeBtnTextBounds.width) + 6}px`;\n activeBtn.animate([{\n width: `${activeBtnBounds.width + activeBtnTextBounds.width}px`\n }], {\n duration: initialAnimation ? 0 : 500,\n fill: 'forwards',\n easing: 'ease'\n });\n activeBtnText.animate([{\n opacity: 1\n }], {\n duration: initialAnimation ? 0 : 125,\n delay: initialAnimation ? 0 : 200,\n fill: 'forwards',\n easing: 'ease'\n });\n }\n }\n }\n};\nWuiTabs.styles = [resetStyles, elementStyles, styles];\n__decorate([property({\n type: Array\n})], WuiTabs.prototype, \"tabs\", void 0);\n__decorate([property()], WuiTabs.prototype, \"onTabChange\", void 0);\n__decorate([property({\n type: Array\n})], WuiTabs.prototype, \"buttons\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiTabs.prototype, \"disabled\", void 0);\n__decorate([state()], WuiTabs.prototype, \"activeTab\", void 0);\n__decorate([state()], WuiTabs.prototype, \"localTabWidth\", void 0);\n__decorate([state()], WuiTabs.prototype, \"isDense\", void 0);\nWuiTabs = __decorate([customElement('wui-tabs')], WuiTabs);\nexport { WuiTabs };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: block;\n padding: 9px var(--wui-spacing-s) 10px var(--wui-spacing-s);\n border-radius: var(--wui-border-radius-xxs);\n background-color: var(--wui-color-fg-100);\n color: var(--wui-color-bg-100);\n position: relative;\n }\n\n wui-icon {\n position: absolute;\n width: 12px !important;\n height: 4px !important;\n }\n\n wui-icon[data-placement='top'] {\n bottom: 0;\n left: 50%;\n transform: translate(-50%, 95%);\n }\n\n wui-icon[data-placement='bottom'] {\n top: 0;\n left: 50%;\n transform: translate(-50%, -95%) rotate(180deg);\n }\n\n wui-icon[data-placement='right'] {\n top: 50%;\n left: 0;\n transform: translate(-65%, -50%) rotate(90deg);\n }\n\n wui-icon[data-placement='left'] {\n top: 50%;\n right: 0%;\n transform: translate(65%, -50%) rotate(270deg);\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-icon/index.js';\nimport '../../components/wui-text/index.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiTooltip = class WuiTooltip extends LitElement {\n constructor() {\n super(...arguments);\n this.placement = 'top';\n this.message = '';\n }\n render() {\n return html`\n ${this.message}`;\n }\n};\nWuiTooltip.styles = [resetStyles, elementStyles, styles];\n__decorate([property()], WuiTooltip.prototype, \"placement\", void 0);\n__decorate([property()], WuiTooltip.prototype, \"message\", void 0);\nWuiTooltip = __decorate([customElement('wui-tooltip')], WuiTooltip);\nexport { WuiTooltip };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: flex;\n justify-content: center;\n align-items: center;\n width: var(--wui-icon-box-size-xl);\n height: var(--wui-icon-box-size-xl);\n box-shadow: 0 0 0 8px var(--wui-thumbnail-border);\n border-radius: var(--local-border-radius);\n overflow: hidden;\n }\n\n wui-icon {\n width: 32px;\n height: 32px;\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-image/index.js';\nimport '../../components/wui-icon/index.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiVisualThumbnail = class WuiVisualThumbnail extends LitElement {\n render() {\n this.style.cssText = `--local-border-radius: ${this.borderRadiusFull ? '1000px' : '20px'};`;\n return html`${this.templateVisual()}`;\n }\n templateVisual() {\n if (this.imageSrc) {\n return html``;\n }\n return html``;\n }\n};\nWuiVisualThumbnail.styles = [resetStyles, styles];\n__decorate([property()], WuiVisualThumbnail.prototype, \"imageSrc\", void 0);\n__decorate([property()], WuiVisualThumbnail.prototype, \"alt\", void 0);\n__decorate([property({\n type: Boolean\n})], WuiVisualThumbnail.prototype, \"borderRadiusFull\", void 0);\nWuiVisualThumbnail = __decorate([customElement('wui-visual-thumbnail')], WuiVisualThumbnail);\nexport { WuiVisualThumbnail };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: block;\n }\n\n button {\n width: 100%;\n display: block;\n padding-top: var(--wui-spacing-l);\n padding-bottom: var(--wui-spacing-l);\n padding-left: var(--wui-spacing-s);\n padding-right: var(--wui-spacing-2l);\n border-radius: var(--wui-border-radius-s);\n background-color: var(--wui-accent-glass-015);\n }\n\n button:hover {\n background-color: var(--wui-accent-glass-010) !important;\n }\n\n button:active {\n background-color: var(--wui-accent-glass-020) !important;\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport '../../layout/wui-flex/index.js';\nimport '../../components/wui-text/index.js';\nimport '../../composites/wui-button/index.js';\nimport '../../composites/wui-icon-box/index.js';\nimport { resetStyles, elementStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nimport { property } from 'lit/decorators.js';\nlet WuiNoticeCard = class WuiNoticeCard extends LitElement {\n constructor() {\n super(...arguments);\n this.label = '';\n this.description = '';\n this.icon = 'wallet';\n }\n render() {\n return html`\n \n `;\n }\n};\nWuiNoticeCard.styles = [resetStyles, elementStyles, styles];\n__decorate([property()], WuiNoticeCard.prototype, \"label\", void 0);\n__decorate([property()], WuiNoticeCard.prototype, \"description\", void 0);\n__decorate([property()], WuiNoticeCard.prototype, \"icon\", void 0);\nWuiNoticeCard = __decorate([customElement('wui-notice-card')], WuiNoticeCard);\nexport { WuiNoticeCard };\n","import { css } from 'lit';\nexport default css`\n button {\n height: auto;\n position: relative;\n flex-direction: column;\n gap: var(--wui-spacing-s);\n padding: 17px 18px 17px var(--wui-spacing-m);\n width: 100%;\n background-color: var(--wui-gray-glass-002);\n border-radius: var(--wui-border-radius-xs);\n color: var(--wui-color-fg-250);\n }\n\n .overflowedContent {\n width: 100%;\n overflow: hidden;\n }\n\n .overflowedContent[data-active='false']:after {\n content: '';\n position: absolute;\n top: 50%;\n left: 0;\n right: 0;\n bottom: 0;\n background: linear-gradient(to top, var(--wui-color-bg-200), transparent);\n border-bottom-left-radius: var(--wui-border-radius-xs);\n border-bottom-right-radius: var(--wui-border-radius-xs);\n }\n\n .heightContent {\n max-height: 100px;\n }\n\n pre {\n text-align: left;\n white-space: pre-wrap;\n height: auto;\n overflow-x: auto;\n overflow-wrap: anywhere;\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-icon/index.js';\nimport '../../components/wui-text/index.js';\nimport '../../layout/wui-flex/index.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nconst MAX_HEIGHT = 100;\nlet WuiListAccordion = class WuiListAccordion extends LitElement {\n constructor() {\n super(...arguments);\n this.textTitle = '';\n this.overflowedContent = '';\n this.toggled = false;\n this.enableAccordion = false;\n this.scrollElement = undefined;\n this.scrollHeightElement = 0;\n }\n firstUpdated() {\n setTimeout(() => {\n const heightElement = this.shadowRoot?.querySelector('.heightContent');\n if (heightElement) {\n this.scrollElement = heightElement;\n const scrollHeight = heightElement?.scrollHeight;\n if (scrollHeight && scrollHeight > MAX_HEIGHT) {\n this.enableAccordion = true;\n this.scrollHeightElement = scrollHeight;\n this.requestUpdate();\n }\n }\n }, 0);\n }\n render() {\n return html`\n \n `;\n }\n onClick() {\n const icon = this.shadowRoot?.querySelector('wui-icon');\n if (this.enableAccordion) {\n this.toggled = !this.toggled;\n this.requestUpdate();\n if (this.scrollElement) {\n this.scrollElement.animate([{\n maxHeight: this.toggled ? `${MAX_HEIGHT}px` : `${this.scrollHeightElement}px`\n }, {\n maxHeight: this.toggled ? `${this.scrollHeightElement}px` : `${MAX_HEIGHT}px`\n }], {\n duration: 300,\n fill: 'forwards',\n easing: 'ease'\n });\n }\n if (icon) {\n icon.animate([{\n transform: this.toggled ? `rotate(0deg)` : `rotate(180deg)`\n }, {\n transform: this.toggled ? `rotate(180deg)` : `rotate(0deg)`\n }], {\n duration: 300,\n fill: 'forwards',\n easing: 'ease'\n });\n }\n }\n }\n chevronTemplate() {\n if (this.enableAccordion) {\n return html` `;\n }\n return null;\n }\n};\nWuiListAccordion.styles = [resetStyles, elementStyles, styles];\n__decorate([property()], WuiListAccordion.prototype, \"textTitle\", void 0);\n__decorate([property()], WuiListAccordion.prototype, \"overflowedContent\", void 0);\nWuiListAccordion = __decorate([customElement('wui-list-accordion')], WuiListAccordion);\nexport { WuiListAccordion };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: flex;\n column-gap: var(--wui-spacing-s);\n padding: 17px 18px 17px var(--wui-spacing-m);\n width: 100%;\n background-color: var(--wui-gray-glass-002);\n border-radius: var(--wui-border-radius-xs);\n color: var(--wui-color-fg-250);\n }\n\n wui-image {\n width: var(--wui-icon-size-lg);\n height: var(--wui-icon-size-lg);\n border-radius: var(--wui-border-radius-3xl);\n }\n\n wui-icon {\n width: var(--wui-icon-size-lg);\n height: var(--wui-icon-size-lg);\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-icon/index.js';\nimport '../../components/wui-image/index.js';\nimport '../../components/wui-text/index.js';\nimport '../../layout/wui-flex/index.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiListContent = class WuiListContent extends LitElement {\n constructor() {\n super(...arguments);\n this.imageSrc = undefined;\n this.textTitle = '';\n this.textValue = undefined;\n }\n render() {\n return html`\n \n \n ${this.textTitle}\n \n ${this.templateContent()}\n \n `;\n }\n templateContent() {\n if (this.imageSrc) {\n return html``;\n } else if (this.textValue) {\n return html` ${this.textValue} `;\n }\n return html``;\n }\n};\nWuiListContent.styles = [resetStyles, elementStyles, styles];\n__decorate([property()], WuiListContent.prototype, \"imageSrc\", void 0);\n__decorate([property()], WuiListContent.prototype, \"textTitle\", void 0);\n__decorate([property()], WuiListContent.prototype, \"textValue\", void 0);\nWuiListContent = __decorate([customElement('wui-list-content')], WuiListContent);\nexport { WuiListContent };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: flex;\n flex-direction: column;\n gap: var(--wui-spacing-l);\n padding: 17px 18px 17px var(--wui-spacing-m);\n width: 100%;\n background-color: var(--wui-gray-glass-002);\n border-radius: var(--wui-border-radius-xs);\n color: var(--wui-color-fg-250);\n }\n\n wui-image {\n width: var(--wui-icon-size-lg);\n height: var(--wui-icon-size-lg);\n border-radius: var(--wui-border-radius-3xl);\n }\n\n wui-icon {\n width: var(--wui-icon-size-lg);\n height: var(--wui-icon-size-lg);\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-icon/index.js';\nimport '../../components/wui-image/index.js';\nimport '../../components/wui-text/index.js';\nimport '../wui-chip/index.js';\nimport '../../layout/wui-flex/index.js';\nimport { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiListWalletTransaction = class WuiListWalletTransaction extends LitElement {\n constructor() {\n super(...arguments);\n this.amount = '';\n this.networkCurreny = '';\n this.networkImageUrl = '';\n this.receiverAddress = '';\n }\n render() {\n return html`\n \n Sending\n \n \n ${this.amount} ${this.networkCurreny}\n \n ${this.templateNetworkVisual()}\n \n \n \n To\n \n \n `;\n }\n templateNetworkVisual() {\n if (this.networkImageUrl) {\n return html``;\n }\n return html``;\n }\n};\nWuiListWalletTransaction.styles = [resetStyles, elementStyles, styles];\n__decorate([property()], WuiListWalletTransaction.prototype, \"amount\", void 0);\n__decorate([property()], WuiListWalletTransaction.prototype, \"networkCurreny\", void 0);\n__decorate([property()], WuiListWalletTransaction.prototype, \"networkImageUrl\", void 0);\n__decorate([property()], WuiListWalletTransaction.prototype, \"receiverAddress\", void 0);\nWuiListWalletTransaction = __decorate([customElement('wui-list-wallet-transaction')], WuiListWalletTransaction);\nexport { WuiListWalletTransaction };\n","import { css } from 'lit';\nexport default css`\n :host {\n display: grid;\n width: inherit;\n height: inherit;\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { UiHelperUtil } from '../../utils/UiHelperUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiGrid = class WuiGrid extends LitElement {\n render() {\n this.style.cssText = `\n grid-template-rows: ${this.gridTemplateRows};\n grid-template-columns: ${this.gridTemplateColumns};\n justify-items: ${this.justifyItems};\n align-items: ${this.alignItems};\n justify-content: ${this.justifyContent};\n align-content: ${this.alignContent};\n column-gap: ${this.columnGap && `var(--wui-spacing-${this.columnGap})`};\n row-gap: ${this.rowGap && `var(--wui-spacing-${this.rowGap})`};\n gap: ${this.gap && `var(--wui-spacing-${this.gap})`};\n padding-top: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 0)};\n padding-right: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 1)};\n padding-bottom: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 2)};\n padding-left: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 3)};\n margin-top: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 0)};\n margin-right: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 1)};\n margin-bottom: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 2)};\n margin-left: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 3)};\n `;\n return html``;\n }\n};\nWuiGrid.styles = [resetStyles, styles];\n__decorate([property()], WuiGrid.prototype, \"gridTemplateRows\", void 0);\n__decorate([property()], WuiGrid.prototype, \"gridTemplateColumns\", void 0);\n__decorate([property()], WuiGrid.prototype, \"justifyItems\", void 0);\n__decorate([property()], WuiGrid.prototype, \"alignItems\", void 0);\n__decorate([property()], WuiGrid.prototype, \"justifyContent\", void 0);\n__decorate([property()], WuiGrid.prototype, \"alignContent\", void 0);\n__decorate([property()], WuiGrid.prototype, \"columnGap\", void 0);\n__decorate([property()], WuiGrid.prototype, \"rowGap\", void 0);\n__decorate([property()], WuiGrid.prototype, \"gap\", void 0);\n__decorate([property()], WuiGrid.prototype, \"padding\", void 0);\n__decorate([property()], WuiGrid.prototype, \"margin\", void 0);\nWuiGrid = __decorate([customElement('wui-grid')], WuiGrid);\nexport { WuiGrid };\n","import { css } from 'lit';\nexport default css`\n :host {\n position: relative;\n display: flex;\n width: 100%;\n height: 1px;\n background-color: var(--wui-gray-glass-005);\n justify-content: center;\n align-items: center;\n }\n\n :host > wui-text {\n position: absolute;\n padding: 0px 10px;\n background-color: var(--wui-color-modal-bg);\n }\n`;\n","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport '../../components/wui-text/index.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport styles from './styles.js';\nlet WuiSeparator = class WuiSeparator extends LitElement {\n constructor() {\n super(...arguments);\n this.text = '';\n }\n render() {\n return html`${this.template()}`;\n }\n template() {\n if (this.text) {\n return html`${this.text}`;\n }\n return null;\n }\n};\nWuiSeparator.styles = [resetStyles, styles];\n__decorate([property()], WuiSeparator.prototype, \"text\", void 0);\nWuiSeparator = __decorate([customElement('wui-separator')], WuiSeparator);\nexport { WuiSeparator };\n","import dayjs from 'dayjs';\nimport updateLocale from 'dayjs/plugin/updateLocale.js';\nimport relativeTime from 'dayjs/plugin/relativeTime.js';\ndayjs.extend(relativeTime);\ndayjs.extend(updateLocale);\ndayjs.updateLocale('en', {\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: '%s sec',\n m: '1 min',\n mm: '%d min',\n h: '1 hr',\n hh: '%d hrs',\n d: '1 d',\n dd: '%d d',\n M: '1 mo',\n MM: '%d mo',\n y: '1 yr',\n yy: '%d yr'\n }\n});\nexport const DateUtil = {\n getYear(date = new Date().toISOString()) {\n return dayjs(date).year();\n },\n getRelativeDateFromNow(date) {\n return dayjs(date).fromNow(true);\n }\n};\n","import { DateUtil } from '@web3modal/common';\nimport { UiHelperUtil } from './UiHelperUtil.js';\nconst FLOAT_FIXED_VALUE = 3;\nconst plusTypes = ['receive', 'deposit', 'borrow', 'claim'];\nconst minusTypes = ['withdraw', 'repay', 'burn'];\nexport const TransactionUtil = {\n getTransactionGroupTitle(year) {\n const currentYear = DateUtil.getYear();\n const isCurrentYear = year === currentYear;\n const groupTitle = isCurrentYear ? 'This Year' : year;\n return groupTitle;\n },\n getTransactionImages(transfers) {\n const [transfer, secondTransfer] = transfers;\n const isAllNFT = Boolean(transfer) && transfers?.every(item => Boolean(item.nft_info));\n const haveMultipleTransfers = transfers?.length > 1;\n const haveTwoTransfers = transfers?.length === 2;\n if (haveTwoTransfers && !isAllNFT) {\n return [this.getTransactionImage(transfer), this.getTransactionImage(secondTransfer)];\n }\n if (haveMultipleTransfers) {\n return transfers.map(item => this.getTransactionImage(item));\n }\n return [this.getTransactionImage(transfer)];\n },\n getTransactionImage(transfer) {\n return {\n type: TransactionUtil.getTransactionTransferTokenType(transfer),\n url: TransactionUtil.getTransactionImageURL(transfer)\n };\n },\n getTransactionImageURL(transfer) {\n let imageURL = null;\n const isNFT = Boolean(transfer?.nft_info);\n const isFungible = Boolean(transfer?.fungible_info);\n if (transfer && isNFT) {\n imageURL = transfer?.nft_info?.content?.preview?.url;\n } else if (transfer && isFungible) {\n imageURL = transfer?.fungible_info?.icon?.url;\n }\n return imageURL;\n },\n getTransactionTransferTokenType(transfer) {\n if (transfer?.fungible_info) {\n return 'FUNGIBLE';\n } else if (transfer?.nft_info) {\n return 'NFT';\n }\n return null;\n },\n getTransactionDescriptions(transaction) {\n const type = transaction.metadata?.operationType;\n const transfers = transaction.transfers;\n const haveTransfer = transaction.transfers?.length > 0;\n const haveMultipleTransfers = transaction.transfers?.length > 1;\n const isFungible = haveTransfer && transfers?.every(transfer => Boolean(transfer.fungible_info));\n const [firstTransfer, secondTransfer] = transfers;\n let firstDescription = this.getTransferDescription(firstTransfer);\n let secondDescription = this.getTransferDescription(secondTransfer);\n if (!haveTransfer) {\n const isSendOrReceive = type === 'send' || type === 'receive';\n if (isSendOrReceive && isFungible) {\n firstDescription = UiHelperUtil.getTruncateString({\n string: transaction.metadata.sentFrom,\n charsStart: 4,\n charsEnd: 6,\n truncate: 'middle'\n });\n secondDescription = UiHelperUtil.getTruncateString({\n string: transaction.metadata.sentTo,\n charsStart: 4,\n charsEnd: 6,\n truncate: 'middle'\n });\n return [firstDescription, secondDescription];\n }\n return [transaction.metadata.status];\n }\n if (haveMultipleTransfers) {\n return transfers.map(item => this.getTransferDescription(item));\n }\n let prefix = '';\n if (plusTypes.includes(type)) {\n prefix = '+';\n } else if (minusTypes.includes(type)) {\n prefix = '-';\n }\n firstDescription = prefix.concat(firstDescription);\n return [firstDescription];\n },\n getTransferDescription(transfer) {\n let description = '';\n if (!transfer) {\n return description;\n }\n if (transfer?.nft_info) {\n description = transfer?.nft_info?.name || '-';\n } else if (transfer?.fungible_info) {\n description = this.getFungibleTransferDescription(transfer) || '-';\n }\n return description;\n },\n getFungibleTransferDescription(transfer) {\n if (!transfer) {\n return null;\n }\n const quantity = this.getQuantityFixedValue(transfer?.quantity.numeric);\n const description = [quantity, transfer?.fungible_info?.symbol].join(' ').trim();\n return description;\n },\n getQuantityFixedValue(value) {\n if (!value) {\n return null;\n }\n const parsedValue = parseFloat(value);\n return parsedValue.toFixed(FLOAT_FIXED_VALUE);\n }\n};\n"],"mappings":"yHAAA,IAAAA,GAAAC,EAAA,CAAAC,GAAAC,KAAA,cAIAA,GAAO,QAAU,UAAY,CAC3B,OAAO,OAAO,SAAY,YAAc,QAAQ,W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B,EAC1C,CAACA,CAAgB,CAC1B,EACA,uBAAuBZ,EAAU,CAC/B,IAAIgB,EAAc,GAClB,OAAKhB,IAGDA,GAAU,SACZgB,EAAchB,GAAU,UAAU,MAAQ,IACjCA,GAAU,gBACnBgB,EAAc,KAAK,+BAA+BhB,CAAQ,GAAK,MAE1DgB,CACT,EACA,+BAA+BhB,EAAU,CACvC,OAAKA,EAIe,CADH,KAAK,sBAAsBA,GAAU,SAAS,OAAO,EACvCA,GAAU,eAAe,MAAM,EAAE,KAAK,GAAG,EAAE,KAAK,EAHtE,IAKX,EACA,sBAAsBiB,EAAO,CAC3B,OAAKA,EAGe,WAAWA,CAAK,EACjB,QAAQzB,EAAiB,EAHnC,IAIX,CACF","names":["require_can_promise","__commonJSMin","exports","module","require_utils","__commonJSMin","exports","toSJISFunction","CODEWORDS_COUNT","version","data","digit","f","kanji","require_error_correction_level","__commonJSMin","exports","fromString","string","level","value","defaultValue","require_bit_buffer","__commonJSMin","exports","module","BitBuffer","index","bufIndex","num","length","i","bit","require_bit_matrix","__commonJSMin","exports","module","BitMatrix","size","row","col","value","reserved","index","require_alignment_pattern","__commonJSMin","exports","getSymbolSize","version","posCount","size","intervals","positions","i","coords","pos","posLength","j","require_finder_pattern","__commonJSMin","exports","getSymbolSize","FINDER_PATTERN_SIZE","version","size","require_mask_pattern","__commonJSMin","exports","PenaltyScores","mask","value","data","size","points","sameCountCol","sameCountRow","lastCol","lastRow","row","col","module","last","bitsCol","bitsRow","darkCount","modulesCount","getMaskAt","maskPattern","i","j","pattern","setupFormatFunc","numPatterns","bestPattern","lowerPenalty","p","penalty","require_error_correction_code","__commonJSMin","exports","ECLevel","EC_BLOCKS_TABLE","EC_CODEWORDS_TABLE","version","errorCorrectionLevel","require_galois_field","__commonJSMin","exports","EXP_TABLE","LOG_TABLE","x","i","n","y","require_polynomial","__commonJSMin","exports","GF","p1","p2","coeff","i","j","divident","divisor","result","offset","degree","poly","require_reed_solomon_encoder","__commonJSMin","exports","module","Polynomial","ReedSolomonEncoder","degree","data","paddedData","remainder","start","buff","require_version_check","__commonJSMin","exports","version","require_regex","__commonJSMin","exports","numeric","alphanumeric","kanji","byte","TEST_KANJI","TEST_NUMERIC","TEST_ALPHANUMERIC","str","require_mode","__commonJSMin","exports","VersionCheck","Regex","mode","version","dataStr","fromString","string","value","defaultValue","require_version","__commonJSMin","exports","Utils","ECCode","ECLevel","Mode","VersionCheck","G18","G18_BCH","getBestVersionForDataLength","mode","length","errorCorrectionLevel","currentVersion","getReservedBitsCount","version","getTotalBitsFromDataArray","segments","totalBits","data","reservedBits","getBestVersionForMixedData","value","defaultValue","totalCodewords","ecTotalCodewords","dataTotalCodewordsBits","usableBits","seg","ecl","d","require_format_info","__commonJSMin","exports","Utils","G15","G15_MASK","G15_BCH","errorCorrectionLevel","mask","data","d","require_numeric_data","__commonJSMin","exports","module","Mode","NumericData","data","length","bitBuffer","i","group","value","remainingNum","require_alphanumeric_data","__commonJSMin","exports","module","Mode","ALPHA_NUM_CHARS","AlphanumericData","data","length","bitBuffer","i","value","require_byte_data","__commonJSMin","exports","module","encodeUtf8","Mode","ByteData","data","length","bitBuffer","i","l","require_kanji_data","__commonJSMin","exports","module","Mode","Utils","KanjiData","data","length","bitBuffer","i","value","require_segments","__commonJSMin","exports","Mode","NumericData","AlphanumericData","ByteData","KanjiData","Regex","Utils","dijkstra","getStringByteLength","str","getSegments","regex","mode","segments","result","getSegmentsFromString","dataStr","numSegs","alphaNumSegs","byteSegs","kanjiSegs","s1","s2","obj","getSegmentBitsLength","length","mergeSegments","segs","acc","curr","prevSeg","buildNodes","nodes","i","seg","buildGraph","version","table","graph","prevNodeIds","nodeGroup","currentNodeIds","j","node","key","n","prevNodeId","buildSingleSegment","data","modesHint","bestMode","array","path","optimizedSegs","require_qrcode","__commonJSMin","exports","Utils","ECLevel","BitBuffer","BitMatrix","AlignmentPattern","FinderPattern","MaskPattern","ECCode","ReedSolomonEncoder","Version","FormatInfo","Mode","Segments","setupFinderPattern","matrix","version","size","pos","i","row","col","r","setupTimingPattern","value","setupAlignmentPattern","c","setupVersionInfo","bits","mod","setupFormatInfo","errorCorrectionLevel","maskPattern","setupData","data","inc","bitIndex","byteIndex","dark","createData","segments","buffer","totalCodewords","ecTotalCodewords","dataTotalCodewordsBits","remainingByte","createCodewords","bitBuffer","dataTotalCodewords","ecTotalBlocks","blocksInGroup2","blocksInGroup1","totalCodewordsInGroup1","dataCodewordsInGroup1","dataCodewordsInGroup2","ecCount","rs","offset","dcData","ecData","maxDataSize","b","dataSize","index","createSymbol","estimatedVersion","rawSegments","bestVersion","dataBits","moduleCount","modules","options","mask","require_utils","__commonJSMin","exports","hex2rgba","hex","hexCode","c","hexValue","options","margin","width","scale","qrSize","opts","imgData","qr","size","data","symbolSize","scaledMargin","palette","i","j","posDst","pxColor","iSrc","jSrc","require_canvas","__commonJSMin","exports","Utils","clearCanvas","ctx","canvas","size","getCanvasElement","qrData","options","opts","canvasEl","image","type","rendererOpts","require_svg_tag","__commonJSMin","exports","Utils","getColorAttrib","color","attrib","alpha","str","svgCmd","cmd","x","y","qrToPath","data","size","margin","path","moveBy","newRow","lineLength","i","col","row","qrData","options","cb","opts","qrcodesize","bg","viewBox","svgTag","require_browser","__commonJSMin","exports","canPromise","QRCode","CanvasRenderer","SvgRenderer","renderCanvas","renderFunc","canvas","text","opts","cb","args","argsNum","isLastArgCb","resolve","reject","data","e","_","require_dayjs_min","__commonJSMin","exports","module","t","e","n","r","i","s","u","a","o","c","f","h","d","l","$","y","M","m","v","g","D","p","S","_","w","O","b","k","require_updateLocale","__commonJSMin","exports","module","e","n","t","o","require_relativeTime","__commonJSMin","exports","module","e","t","n","o","r","i","d","u","f","a","s","l","h","m","c","y","p","v","M","t","e","s","o","n","r","i","S","c","i","e","r","h","o","n","a","c","l","p","d","t","s","u","f","y","b","S","__async","t","i","s","e","h","o","n","r","l","c","a","u","d","f","v","_","m","p","g","$","y","x","b","w","T","E","A","C","P","V","N","_N","H","I","L","k","S","M","R","z","_R","Z","j","B","r","b","s","B","T","i","themeTag","darkModeTag","lightModeTag","initializeTheming","themeVariables","themeMode","createRootStyles","setColorTheme","setThemeVariables","i","r","resetStyles","elementStyles","colorStyles","standardCustomElement","tagName","descriptor","kind","elements","clazz","legacyCustomElement","customElement","classOrDescriptor","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiCard","x","resetStyles","styles_default","customElement","o","u","f","r","t","e","n","i","s","__spreadProps","__spreadValues","r","n","__spreadProps","__spreadValues","styles_default","i","allWalletsSvg","b","appStoreSvg","b","appleSvg","b","arrowBottomSvg","b","arrowLeftSvg","b","arrowRightSvg","b","arrowTopSvg","b","browserSvg","b","checkmarkSvg","b","chevronBottomSvg","b","chevronLeftSvg","b","chevronRightSvg","b","chevronTopSvg","b","chromeStoreSvg","b","clockSvg","b","closeSvg","b","coinPlaceholderSvg","b","compassSvg","b","copySvg","b","cursorSvg","b","desktopSvg","b","disconnectSvg","b","discordSvg","b","etherscanSvg","b","extensionSvg","b","externalLinkSvg","b","facebookSvg","b","filtersSvg","b","githubSvg","b","googleSvg","b","helpCircleSvg","b","infoCircleSvg","b","mailSvg","b","mobileSvg","b","networkPlaceholderSvg","b","nftPlaceholderSvg","b","offSvg","b","playStoreSvg","b","qrCodeIcon","b","refreshSvg","b","searchSvg","b","swapHorizontalSvg","b","swapHorizontalBoldSvg","b","swapVerticalSvg","b","telegramSvg","b","twitchSvg","b","twitterSvg","b","twitterIconSvg","b","verifySvg","b","verifyFilledSvg","b","walletPlaceholderSvg","b","walletSvg","b","walletConnectSvg","b","warningCircleSvg","b","alphaSvg","b","__decorate","decorators","target","key","desc","c","r","d","i","svgOptions","allWalletsSvg","alphaSvg","appStoreSvg","chromeStoreSvg","appleSvg","arrowBottomSvg","arrowLeftSvg","arrowRightSvg","arrowTopSvg","browserSvg","checkmarkSvg","chevronBottomSvg","chevronLeftSvg","chevronRightSvg","chevronTopSvg","clockSvg","closeSvg","compassSvg","coinPlaceholderSvg","copySvg","cursorSvg","desktopSvg","disconnectSvg","discordSvg","etherscanSvg","extensionSvg","externalLinkSvg","facebookSvg","filtersSvg","githubSvg","googleSvg","helpCircleSvg","infoCircleSvg","mailSvg","mobileSvg","networkPlaceholderSvg","nftPlaceholderSvg","offSvg","playStoreSvg","qrCodeIcon","refreshSvg","searchSvg","swapHorizontalSvg","swapHorizontalBoldSvg","swapVerticalSvg","telegramSvg","twitchSvg","twitterSvg","twitterIconSvg","verifySvg","verifyFilledSvg","walletSvg","walletConnectSvg","walletPlaceholderSvg","warningCircleSvg","WuiIcon","x","resetStyles","colorStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiImage","x","resetStyles","colorStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiLoadingHexagon","x","resetStyles","styles_default","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiLoadingSpinner","x","resetStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiLoadingThumbnail","radius","radiusFactor","dashArrayStart","dashArrayEnd","dashOffset","x","resetStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiShimmer","x","styles_default","n","customElement","t","e","i","e","i","t","s","r","T","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiText","classes","x","e","resetStyles","styles_default","n","customElement","browserSvg","b","daoSvg","b","defiSvg","b","defiAltSvg","b","ethSvg","b","layersSvg","b","lockSvg","b","loginSvg","b","networkSvg","b","nftSvg","b","nounSvg","b","profileSvg","b","systemSvg","b","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","svgOptions","browserSvg","daoSvg","defiSvg","defiAltSvg","ethSvg","layersSvg","lockSvg","loginSvg","networkSvg","nftSvg","nounSvg","profileSvg","systemSvg","WuiVisual","x","resetStyles","styles_default","n","customElement","o","E","UiHelperUtil","spacing","index","date","url","string","charsStart","charsEnd","truncate","address","baseColor","rgbColor","masterBorderRadius","edge","gradientCircle","colors","i","tintedColor","hex","bigint","r","g","b","rgb","tint","tintedR","tintedG","tintedB","character","theme","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiFlex","UiHelperUtil","x","resetStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiAvatar","x","cssColors","UiHelperUtil","resetStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiIconBox","iconSize","isLg","isXl","bgMix","borderRadius","isGray","isOpaque","isColorChange","bgValueVariable","x","resetStyles","elementStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiAccountButton","x","o","UiHelperUtil","networkElement","resetStyles","elementStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiWalletImage","borderRadius","x","resetStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","TOTAL_IMAGES","WuiAllWalletsImage","isPlaceholders","x","src","walletName","o","resetStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiButton","textVariant","x","resetStyles","elementStyles","styles_default","n","customElement","networkSvg","b","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiCardSelectLoader","x","networkSvg","resetStyles","elementStyles","styles_default","n","customElement","networkLgSvg","b","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiNetworkImage","isLg","x","networkLgSvg","networkSvg","resetStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiCardSelect","x","o","resetStyles","elementStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiChip","textVariant","x","UiHelperUtil","resetStyles","elementStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiConnectButton","textVariant","x","resetStyles","elementStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiCtaButton","x","resetStyles","elementStyles","styles_default","n","customElement","t","Z","f","o","s","i","o","r","c","h","n","t","f","e","e","h","o","n","f","i","E","s","t","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiInputText","e","sizeClass","x","n","o","resetStyles","elementStyles","styles_default","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiEmailInput","x","resetStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiIconLink","x","resetStyles","elementStyles","colorStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiInputElement","x","resetStyles","elementStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiInputNumeric","x","resetStyles","elementStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiLink","x","resetStyles","elementStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiListItem","x","o","color","size","iconSize","resetStyles","elementStyles","styles_default","n","customElement","TransactionTypePastTense","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiTransactionVisual","firstImage","secondImage","isLeftNFT","isRightNFT","leftRadius","rightRadius","x","firstImageType","color","icon","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiTransactionListItem","x","o","TransactionTypePastTense","description","resetStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiTransactionListItemLoader","x","resetStyles","styles_default","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiTag","x","resetStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiListWallet","x","resetStyles","elementStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiLogo","x","resetStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiLogoSelect","x","resetStyles","elementStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiNetworkButton","x","resetStyles","elementStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiOtp","index","input","e","inputElement","keyArr","currentCaretPos","dir","nextIndex","numeric","numericElements","x","_","element","value","val","inputValue","UiHelperUtil","inputString","nextNumeric","nextInput","el","resetStyles","styles_default","n","customElement","import_qrcode","CONNECTING_ERROR_MARGIN","CIRCLE_SIZE_MODIFIER","QRCODE_MATRIX_MARGIN","isAdjecentDots","cy","otherCy","cellSize","getMatrix","value","errorCorrectionLevel","arr","QRCodeUtil","sqrt","rows","key","index","QrCodeUtil","uri","size","logoSize","dotColor","edgeColor","dots","matrix","qrList","x","y","x1","y1","borderRadius","i","dotSize","b","clearArenaSize","matrixMiddleStart","matrixMiddleEnd","circles","row","_","j","cx","circlesToConnect","cys","newCys","a","groups","group","item","y2","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiQrCode","x","size","b","QrCodeUtil","resetStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiSearchBar","e","x","n","inputElement","resetStyles","styles_default","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiSnackbar","x","resetStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiTabs","tab","index","isActive","x","initialAnimation","passiveBtn","activeBtn","passiveBtnText","activeBtnText","activeBtnBounds","activeBtnTextBounds","resetStyles","elementStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiTooltip","x","resetStyles","elementStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiVisualThumbnail","x","resetStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiNoticeCard","x","resetStyles","elementStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","MAX_HEIGHT","WuiListAccordion","heightElement","scrollHeight","x","icon","resetStyles","elementStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiListContent","x","resetStyles","elementStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiListWalletTransaction","x","resetStyles","elementStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiGrid","UiHelperUtil","x","resetStyles","styles_default","n","customElement","styles_default","i","__decorate","decorators","target","key","desc","c","r","d","i","WuiSeparator","x","resetStyles","styles_default","n","customElement","import_dayjs","import_updateLocale","import_relativeTime","dayjs","relativeTime","updateLocale","DateUtil","date","FLOAT_FIXED_VALUE","plusTypes","minusTypes","TransactionUtil","year","currentYear","DateUtil","transfers","transfer","secondTransfer","isAllNFT","item","haveMultipleTransfers","imageURL","isNFT","isFungible","transaction","type","haveTransfer","firstTransfer","firstDescription","secondDescription","UiHelperUtil","prefix","description","value"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218]}