@dodoex/wallet-web3 0.6.3 → 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PhArrowCircleDown-4a08ae8e.js +14 -0
- package/dist/PhArrowClockwise-401ea1c0.js +14 -0
- package/dist/PhArrowDown-789ae7d2.js +14 -0
- package/dist/PhArrowLeft-2e6d4940.js +14 -0
- package/dist/PhArrowRight-2928b0dc.js +14 -0
- package/dist/PhArrowSquareOut-17d61d08.js +14 -0
- package/dist/PhArrowUp-1cfcf9df.js +14 -0
- package/dist/PhArrowUpRight-552c41cb.js +14 -0
- package/dist/PhArrowsClockwise-92a70162.js +14 -0
- package/dist/PhArrowsDownUp-ce27c8a7.js +14 -0
- package/dist/PhArrowsLeftRight-ed549dc7.js +14 -0
- package/dist/PhBank-92a1a1df.js +14 -0
- package/dist/PhBrowser-495dc3ce.js +14 -0
- package/dist/PhCaretDown-610f20fc.js +14 -0
- package/dist/PhCaretLeft-2a86ee53.js +14 -0
- package/dist/PhCaretRight-f3057f58.js +14 -0
- package/dist/PhCaretUp-7b74b8cb.js +14 -0
- package/dist/PhCheck-c514f32c.js +14 -0
- package/dist/PhCircleHalf-3bfd24c9.js +14 -0
- package/dist/PhClock-29284ead.js +14 -0
- package/dist/PhCompass-101d3241.js +14 -0
- package/dist/PhCopy-d92dcd27.js +14 -0
- package/dist/PhCreditCard-d8d77fc2.js +14 -0
- package/dist/PhCurrencyDollar-6553df79.js +14 -0
- package/dist/PhDesktop-91653c8e.js +14 -0
- package/dist/PhDeviceMobile-0f3d8fa2.js +14 -0
- package/dist/PhDotsThree-67debca2.js +14 -0
- package/dist/PhEnvelope-f83faab2.js +14 -0
- package/dist/PhFunnelSimple-5058af43.js +14 -0
- package/dist/PhGlobe-c4653621.js +14 -0
- package/dist/PhIdentificationCard-848bf9a1.js +14 -0
- package/dist/PhImage-de71fc6b.js +14 -0
- package/dist/PhInfo-9614a766.js +14 -0
- package/dist/PhLightbulb-7d582ae7.js +14 -0
- package/dist/PhMagnifyingGlass-c926bd63.js +14 -0
- package/dist/PhPaperPlaneRight-76b25832.js +14 -0
- package/dist/PhPlus-767ddc55.js +14 -0
- package/dist/PhPower-95f188dd.js +14 -0
- package/dist/PhPuzzlePiece-f016afe5.js +14 -0
- package/dist/PhQrCode-e9b7ab93.js +14 -0
- package/dist/PhQuestion-ea0e639d.js +14 -0
- package/dist/PhQuestionMark-13d6338e.js +14 -0
- package/dist/PhSealCheck-45bb7b9c.js +14 -0
- package/dist/PhSignOut-6b91c59c.js +14 -0
- package/dist/PhSpinner-eb9b7ac1.js +14 -0
- package/dist/PhTrash-758cc3b3.js +14 -0
- package/dist/PhUser-0834861d.js +14 -0
- package/dist/PhVault-e4d6f9af.js +14 -0
- package/dist/PhWallet-5e257abe.js +14 -0
- package/dist/PhWarning-6af3740e.js +14 -0
- package/dist/PhWarningCircle-a78fd8e8.js +14 -0
- package/dist/PhX-60c46532.js +14 -0
- package/dist/{__tslib-2b1b6d17.js → __tslib-6d6a586c.js} +1 -1
- package/dist/{alchemy-provider-5870b6fa-b23243a1.js → alchemy-provider-5870b6fa-a9fe5aa5.js} +1 -1
- package/dist/{alchemy-websocket-provider-213da986-559da73b.js → alchemy-websocket-provider-213da986-16164c2e.js} +1 -1
- package/dist/basic-77fe1b96.js +1320 -0
- package/dist/{blocto-8e69bccf.js → blocto-ab8ba330.js} +1 -1
- package/dist/{ccip-99b4ad16.js → ccip-e246f9cf.js} +1 -1
- package/dist/cjs/PhArrowCircleDown-df23d036.cjs +14 -0
- package/dist/cjs/PhArrowClockwise-440d23dc.cjs +14 -0
- package/dist/cjs/PhArrowDown-252590ed.cjs +14 -0
- package/dist/cjs/PhArrowLeft-d480faa4.cjs +14 -0
- package/dist/cjs/PhArrowRight-969dbdd8.cjs +14 -0
- package/dist/cjs/PhArrowSquareOut-eabfdecb.cjs +14 -0
- package/dist/cjs/PhArrowUp-66bd5f15.cjs +14 -0
- package/dist/cjs/PhArrowUpRight-6df3b31b.cjs +14 -0
- package/dist/cjs/PhArrowsClockwise-3a9d2dc6.cjs +14 -0
- package/dist/cjs/PhArrowsDownUp-47a7788f.cjs +14 -0
- package/dist/cjs/PhArrowsLeftRight-f90368dd.cjs +14 -0
- package/dist/cjs/PhBank-670a2708.cjs +14 -0
- package/dist/cjs/PhBrowser-b9c35fd1.cjs +14 -0
- package/dist/cjs/PhCaretDown-11a46455.cjs +14 -0
- package/dist/cjs/PhCaretLeft-04f11ca7.cjs +14 -0
- package/dist/cjs/PhCaretRight-391111c1.cjs +14 -0
- package/dist/cjs/PhCaretUp-b17dccf6.cjs +14 -0
- package/dist/cjs/PhCheck-08bf36b0.cjs +14 -0
- package/dist/cjs/PhCircleHalf-0a9eac35.cjs +14 -0
- package/dist/cjs/PhClock-cf1cc2cb.cjs +14 -0
- package/dist/cjs/PhCompass-e9671b30.cjs +14 -0
- package/dist/cjs/PhCopy-9132cbc5.cjs +14 -0
- package/dist/cjs/PhCreditCard-853e1556.cjs +14 -0
- package/dist/cjs/PhCurrencyDollar-34eea829.cjs +14 -0
- package/dist/cjs/PhDesktop-c02b883b.cjs +14 -0
- package/dist/cjs/PhDeviceMobile-93c2088c.cjs +14 -0
- package/dist/cjs/PhDotsThree-69beaba7.cjs +14 -0
- package/dist/cjs/PhEnvelope-86ee730e.cjs +14 -0
- package/dist/cjs/PhFunnelSimple-056c2f76.cjs +14 -0
- package/dist/cjs/PhGlobe-64c4ee8e.cjs +14 -0
- package/dist/cjs/PhIdentificationCard-ec7a98e0.cjs +14 -0
- package/dist/cjs/PhImage-07904cbb.cjs +14 -0
- package/dist/cjs/PhInfo-34eeeace.cjs +14 -0
- package/dist/cjs/PhLightbulb-39ebe854.cjs +14 -0
- package/dist/cjs/PhMagnifyingGlass-2fbe4400.cjs +14 -0
- package/dist/cjs/PhPaperPlaneRight-e06c210f.cjs +14 -0
- package/dist/cjs/PhPlus-03a04ed3.cjs +14 -0
- package/dist/cjs/PhPower-4cc2ecb8.cjs +14 -0
- package/dist/cjs/PhPuzzlePiece-035d561e.cjs +14 -0
- package/dist/cjs/PhQrCode-37e23b36.cjs +14 -0
- package/dist/cjs/PhQuestion-bfba435e.cjs +14 -0
- package/dist/cjs/PhQuestionMark-8ef38ecf.cjs +14 -0
- package/dist/cjs/PhSealCheck-5458de15.cjs +14 -0
- package/dist/cjs/PhSignOut-2d177ea1.cjs +14 -0
- package/dist/cjs/PhSpinner-e7c590df.cjs +14 -0
- package/dist/cjs/PhTrash-1920f5dc.cjs +14 -0
- package/dist/cjs/PhUser-84a1a685.cjs +14 -0
- package/dist/cjs/PhVault-1493c03f.cjs +14 -0
- package/dist/cjs/PhWallet-f0502f03.cjs +14 -0
- package/dist/cjs/PhWarning-1bf637ba.cjs +14 -0
- package/dist/cjs/PhWarningCircle-b1747661.cjs +14 -0
- package/dist/cjs/PhX-f864d86c.cjs +14 -0
- package/dist/cjs/{__tslib-91c50e46.cjs → __tslib-a9f27ba6.cjs} +1 -1
- package/dist/cjs/{alchemy-provider-5870b6fa-a824dbf0.cjs → alchemy-provider-5870b6fa-bb1c607e.cjs} +1 -1
- package/dist/cjs/{alchemy-websocket-provider-213da986-f96378c8.cjs → alchemy-websocket-provider-213da986-521569b5.cjs} +1 -1
- package/dist/cjs/basic-b777d2b1.cjs +1320 -0
- package/dist/cjs/{blocto-255deb25.cjs → blocto-09e0d574.cjs} +1 -1
- package/dist/cjs/{ccip-58f4c3ce.cjs → ccip-6ebee1cf.cjs} +1 -1
- package/dist/cjs/core-78a709db.cjs +210 -0
- package/dist/cjs/{draggabilly-b00ba129.cjs → draggabilly-76af6217.cjs} +1 -1
- package/dist/cjs/features-fa5c5622.cjs +1 -0
- package/dist/cjs/id-c0538166.cjs +1 -0
- package/dist/cjs/{index-4cb4044e.cjs → index-07e81389.cjs} +1 -1
- package/dist/cjs/{index-28fe8dc2.cjs → index-093cef5a.cjs} +2 -2
- package/dist/cjs/{index-0f3e4a4a.cjs → index-208df3f3.cjs} +1 -1
- package/dist/cjs/{index-9cbeb66d.cjs → index-253e7cce.cjs} +1 -1
- package/dist/cjs/index-2e8e7a50.cjs +4 -0
- package/dist/cjs/index-395b933d.cjs +2 -0
- package/dist/cjs/{index-b0eb86b6.cjs → index-54d7fc75.cjs} +1 -1
- package/dist/cjs/{index-5d1879f6.cjs → index-5d28acf4.cjs} +3 -3
- package/dist/cjs/{index-02043814.cjs → index-5dac528b.cjs} +4 -4
- package/dist/cjs/index-702e8f89.cjs +15 -0
- package/dist/cjs/{index-7d213984.cjs → index-823e17e6.cjs} +1 -1
- package/dist/cjs/{index-2c339ec0.cjs → index-916994aa.cjs} +1 -1
- package/dist/cjs/{index-96c22872.cjs → index-a2b665f4.cjs} +1 -1
- package/dist/cjs/{index-110f55af.cjs → index-b099293c.cjs} +1 -1
- package/dist/cjs/index-d72ddbc1.cjs +17 -0
- package/dist/cjs/index-ef4ef0cc.cjs +1449 -0
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/{interface-a67cd05c.cjs → interface-4947cfa6.cjs} +1 -1
- package/dist/cjs/lib-typedarrays-a9baf142.cjs +1 -0
- package/dist/cjs/native-55bb141d.cjs +1 -0
- package/dist/cjs/{portis-ec737dc5.cjs → portis-08d9d731.cjs} +1 -1
- package/dist/cjs/property-29e6f732.cjs +29 -0
- package/dist/cjs/providers/connector/safeGnosis/query.d.ts +2 -1
- package/dist/cjs/providers/connector/types.d.ts +1 -1
- package/dist/cjs/providers/wallets/index.d.ts +1 -0
- package/dist/cjs/rainbow-6e84bcfa.cjs +1 -0
- package/dist/cjs/sha224-b46bc3e6.cjs +1 -0
- package/dist/cjs/sha256-ccd47519.cjs +1 -0
- package/dist/cjs/{typed-data-65a82f1e.cjs → typed-data-5176b792.cjs} +1 -1
- package/dist/cjs/uAuth-b29d2670.cjs +1 -0
- package/dist/cjs/w3m-modal-70bcf6d8.cjs +2380 -0
- package/dist/cjs/walletConnect-20d477a9.cjs +1 -0
- package/dist/cjs/{walletLink-095edc5f.cjs → walletLink-08b8da20.cjs} +2 -2
- package/dist/core-4d7ad6f2.js +210 -0
- package/dist/{draggabilly-919fe798.js → draggabilly-daf3b444.js} +1 -1
- package/dist/features-d8d1c9ce.js +1 -0
- package/dist/id-d4d22b29.js +1 -0
- package/dist/{index-de7476e4.js → index-09298bd0.js} +7 -7
- package/dist/{index-085a063c.js → index-244a8189.js} +1 -1
- package/dist/{index-23ae718c.js → index-2ad0fb2a.js} +1 -1
- package/dist/index-35d87b79.js +17 -0
- package/dist/{index-bbaf7a43.js → index-587ff998.js} +1 -1
- package/dist/{index-601a6250.js → index-750a7dfe.js} +1 -1
- package/dist/{index-cc764016.js → index-8bd12de1.js} +1 -1
- package/dist/{index-6382b40b.js → index-938686fb.js} +1 -1
- package/dist/{index-3cf73206.js → index-9d7fee1e.js} +2 -2
- package/dist/{index-fd3058aa.js → index-aa744ca0.js} +1 -1
- package/dist/{index-7fabb817.js → index-b7d25e8a.js} +3 -3
- package/dist/index-bb1a0019.js +15 -0
- package/dist/index-c5ca8a4e.js +4 -0
- package/dist/{index-f5d95949.js → index-cddbc8e8.js} +1 -1
- package/dist/index-f095c09e.js +2 -0
- package/dist/index-ffdf981b.js +1449 -0
- package/dist/index.js +1 -1
- package/dist/{interface-82bdcddb.js → interface-0c535796.js} +1 -1
- package/dist/lib-typedarrays-979d2723.js +1 -0
- package/dist/native-029c50f7.js +1 -0
- package/dist/{portis-0a2bd95e.js → portis-9602ac9f.js} +1 -1
- package/dist/property-8eb37909.js +35 -0
- package/dist/providers/connector/safeGnosis/query.d.ts +2 -1
- package/dist/providers/connector/types.d.ts +1 -1
- package/dist/providers/wallets/index.d.ts +1 -0
- package/dist/rainbow-ccab7a95.js +1 -0
- package/dist/sha224-fe98e1bf.js +1 -0
- package/dist/sha256-5a24dfd5.js +1 -0
- package/dist/{typed-data-83d7ae9a.js → typed-data-3a3d44dc.js} +1 -1
- package/dist/uAuth-27f5728d.js +1 -0
- package/dist/w3m-modal-49add722.js +2380 -0
- package/dist/walletConnect-a541881e.js +1 -0
- package/dist/{walletLink-1b3cb067.js → walletLink-67264328.js} +2 -2
- package/package.json +5 -5
- package/dist/_commonjs-dynamic-modules-7cfc9805.js +0 -1
- package/dist/cjs/_commonjs-dynamic-modules-f09a98c7.cjs +0 -1
- package/dist/cjs/id-0c26cee0.cjs +0 -1
- package/dist/cjs/index-21f86827.cjs +0 -17
- package/dist/cjs/index-35edc6a0.cjs +0 -60
- package/dist/cjs/index-568647cf.cjs +0 -15
- package/dist/cjs/index-9f2a69d5.cjs +0 -1
- package/dist/cjs/index.es-2a36620f.cjs +0 -9
- package/dist/cjs/lib-typedarrays-f921c603.cjs +0 -1
- package/dist/cjs/rainbow-322fb6a9.cjs +0 -1
- package/dist/cjs/sha224-f0657d8a.cjs +0 -1
- package/dist/cjs/sha256-a0c6063a.cjs +0 -1
- package/dist/cjs/uAuth-d389b45d.cjs +0 -1
- package/dist/cjs/walletConnect-3c32ceb8.cjs +0 -1
- package/dist/id-bc1ef47c.js +0 -1
- package/dist/index-24d19ee3.js +0 -15
- package/dist/index-65d96278.js +0 -60
- package/dist/index-e4c02dc7.js +0 -17
- package/dist/index-f08d6a6b.js +0 -1
- package/dist/index.es-474ba2f2.js +0 -9
- package/dist/lib-typedarrays-becaa8ad.js +0 -1
- package/dist/rainbow-aa24fa3b.js +0 -1
- package/dist/sha224-e9d5a920.js +0 -1
- package/dist/sha256-65d6895c.js +0 -1
- package/dist/uAuth-8aef513a.js +0 -1
- package/dist/walletConnect-f12ca9e1.js +0 -1
|
@@ -0,0 +1,1449 @@
|
|
|
1
|
+
import{v as t,x as e,u as o,r as i,i as r,d as a,t as n,w as l,y as s,z as h,e as c,k as d}from"./core-4d7ad6f2.js";const p=".",g={getSpacingStyles:(t,e)=>Array.isArray(t)?t[e]?`var(--apkt-spacing-${t[e]})`:void 0:"string"==typeof t?`var(--apkt-spacing-${t})`:void 0,getFormattedDate:t=>new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t),formatCurrency(t=0,e={}){const o=Number(t);if(isNaN(o))return"$0.00";return new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2,...e}).format(o)},getHostName(t){try{return new URL(t).hostname}catch(t){return""}},getTruncateString:({string:t,charsStart:e,charsEnd:o,truncate:i})=>t.length<=e+o?t:"end"===i?`${t.substring(0,e)}...`:"start"===i?`...${t.substring(t.length-o)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(o))}`,generateAvatarColors(t){const e=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),o=this.hexToRgb(e),i=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),r=100-3*Number(i?.replace("px","")),a=`${r}% ${r}% at 65% 40%`,n=[];for(let t=0;t<5;t+=1){const e=this.tintColor(o,.15*t);n.push(`rgb(${e[0]}, ${e[1]}, ${e[2]})`)}return`\n --local-color-1: ${n[0]};\n --local-color-2: ${n[1]};\n --local-color-3: ${n[2]};\n --local-color-4: ${n[3]};\n --local-color-5: ${n[4]};\n --local-radial-circle: ${a}\n `},hexToRgb(t){const e=parseInt(t,16);return[e>>16&255,e>>8&255,255&e]},tintColor(t,e){const[o,i,r]=t;return[Math.round(o+(255-o)*e),Math.round(i+(255-i)*e),Math.round(r+(255-r)*e)]},isNumber:t=>/^[0-9]+$/u.test(t),getColorTheme:t=>t||("undefined"!=typeof window&&window.matchMedia&&"function"==typeof window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)")?.matches?"dark":"light":"dark"),splitBalance(t){const e=t.split(".");return 2===e.length?[e[0],e[1]]:["0","00"]},roundNumber:(t,e,o)=>t.toString().length>=e?Number(t).toFixed(o):t,cssDurationToNumber:t=>t.endsWith("s")?1e3*Number(t.replace("s","")):t.endsWith("ms")?Number(t.replace("ms","")):0,maskInput({value:t,decimals:e,integers:o}){if((t=t.replace(",","."))===p)return`0${p}`;const[i="",r]=t.split(p).map((t=>t.replace(/[^0-9]/gu,""))),a=o?i.substring(0,o):i,n=2===a.length?String(Number(a)):a,l="number"==typeof e?r?.substring(0,e):r;return("string"==typeof l&&("number"!=typeof e||e>0)?[n,l].join(p):n)??""},capitalize:t=>t?t.charAt(0).toUpperCase()+t.slice(1):""};function u(t){return function(e){return"function"==typeof e?function(t,e){return customElements.get(t)||customElements.define(t,e),e}(t,e):function(t,e){const{kind:o,elements:i}=e;return{kind:o,elements:i,finisher(e){customElements.get(t)||customElements.define(t,e)}}}(t,e)}}
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright 2017 Google LLC
|
|
5
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
|
+
*/const f={attribute:!0,type:String,converter:t,reflect:!1,hasChanged:e},m=(t=f,e,o)=>{const{kind:i,metadata:r}=o;let a=globalThis.litPropertyMetadata.get(r);if(void 0===a&&globalThis.litPropertyMetadata.set(r,a=new Map),"setter"===i&&((t=Object.create(t)).wrapped=!0),a.set(o.name,t),"accessor"===i){const{name:i}=o;return{set(o){const r=e.get.call(this);e.set.call(this,o),this.requestUpdate(i,r,t,!0,o)},init(e){return void 0!==e&&this.C(i,void 0,t,e),e}}}if("setter"===i){const{name:i}=o;return function(o){const r=this[i];e.call(this,o),this.requestUpdate(i,r,t,!0,o)}}throw Error("Unsupported decorator location: "+i)};function y(t){return(e,o)=>"object"==typeof o?m(t,e,o):((t,e,o)=>{const i=e.hasOwnProperty(o);return e.constructor.createProperty(o,t),i?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}
|
|
7
|
+
/**
|
|
8
|
+
* @license
|
|
9
|
+
* Copyright 2017 Google LLC
|
|
10
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11
|
+
*/function w(t){return y({...t,state:!0,attribute:!1})}var v=o`
|
|
12
|
+
:host {
|
|
13
|
+
display: flex;
|
|
14
|
+
width: inherit;
|
|
15
|
+
height: inherit;
|
|
16
|
+
box-sizing: border-box;
|
|
17
|
+
}
|
|
18
|
+
`,b=function(t,e,o,i){var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};let C=class extends r{render(){return 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(--apkt-spacing-${this.columnGap})`};\n row-gap: ${this.rowGap&&`var(--apkt-spacing-${this.rowGap})`};\n gap: ${this.gap&&`var(--apkt-spacing-${this.gap})`};\n padding-top: ${this.padding&&g.getSpacingStyles(this.padding,0)};\n padding-right: ${this.padding&&g.getSpacingStyles(this.padding,1)};\n padding-bottom: ${this.padding&&g.getSpacingStyles(this.padding,2)};\n padding-left: ${this.padding&&g.getSpacingStyles(this.padding,3)};\n margin-top: ${this.margin&&g.getSpacingStyles(this.margin,0)};\n margin-right: ${this.margin&&g.getSpacingStyles(this.margin,1)};\n margin-bottom: ${this.margin&&g.getSpacingStyles(this.margin,2)};\n margin-left: ${this.margin&&g.getSpacingStyles(this.margin,3)};\n width: ${this.width};\n `,a`<slot></slot>`}};C.styles=[i,v],b([y()],C.prototype,"flexDirection",void 0),b([y()],C.prototype,"flexWrap",void 0),b([y()],C.prototype,"flexBasis",void 0),b([y()],C.prototype,"flexGrow",void 0),b([y()],C.prototype,"flexShrink",void 0),b([y()],C.prototype,"alignItems",void 0),b([y()],C.prototype,"justifyContent",void 0),b([y()],C.prototype,"columnGap",void 0),b([y()],C.prototype,"rowGap",void 0),b([y()],C.prototype,"gap",void 0),b([y()],C.prototype,"padding",void 0),b([y()],C.prototype,"margin",void 0),b([y()],C.prototype,"width",void 0),C=b([u("wui-flex")],C);
|
|
19
|
+
/**
|
|
20
|
+
* @license
|
|
21
|
+
* Copyright 2018 Google LLC
|
|
22
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
+
*/
|
|
24
|
+
const $=t=>t??n
|
|
25
|
+
/**
|
|
26
|
+
* @license
|
|
27
|
+
* Copyright 2020 Google LLC
|
|
28
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
29
|
+
*/,x=Symbol.for(""),k=t=>{if(t?.r===x)return t?._$litStatic$},z=new Map,P=(t=>(e,...o)=>{const i=o.length;let r,a;const n=[],l=[];let s,h=0,c=!1;for(;h<i;){for(s=e[h];h<i&&void 0!==(a=o[h],r=k(a));)s+=r+e[++h],c=!0;h!==i&&l.push(a),n.push(s),h++}if(h===i&&n.push(e[i]),c){const t=n.join("$$lit$$");void 0===(e=z.get(t))&&(n.raw=n,z.set(t,e=n)),o=l}return t(e,...o)})(a),S=l`<svg width="30" height="30" viewBox="0 0 30 30" fill="none">
|
|
30
|
+
<g clip-path="url(#clip0_87_33)">
|
|
31
|
+
<path d="M23.9367 2.29447e-07H6.05917C5.26333 -0.000218805 4.47526 0.156384 3.73997 0.46086C3.00469 0.765337 2.33661 1.21172 1.77391 1.7745C1.21121 2.33727 0.764917 3.00542 0.460542 3.74074C0.156167 4.47607 -0.000327963 5.26417 5.16031e-07 6.06V23.9433C4.48257e-07 24.7389 0.156744 25.5267 0.461276 26.2617C0.765808 26.9967 1.21216 27.6645 1.77484 28.2269C2.33752 28.7894 3.0055 29.2355 3.74061 29.5397C4.47573 29.8439 5.26358 30.0003 6.05917 30H23.9417C25.5486 29.9996 27.0895 29.3609 28.2257 28.2245C29.3618 27.0881 30 25.5469 30 23.94V6.06C29.9993 4.45241 29.3602 2.91091 28.2232 1.77449C27.0861 0.638064 25.5443 -0.000220881 23.9367 2.29447e-07Z" fill="url(#paint0_linear_87_33)"/>
|
|
32
|
+
<path d="M14.8708 6.89259L15.4783 5.84259C15.5679 5.68703 15.6873 5.55064 15.8296 5.44122C15.9719 5.3318 16.1344 5.25148 16.3078 5.20486C16.4812 5.15824 16.662 5.14622 16.8401 5.1695C17.0181 5.19277 17.1898 5.25088 17.3453 5.34051C17.5009 5.43013 17.6373 5.54952 17.7467 5.69186C17.8561 5.83419 17.9364 5.99669 17.9831 6.17006C18.0297 6.34344 18.0417 6.5243 18.0184 6.70232C17.9952 6.88034 17.9371 7.05203 17.8474 7.20759L11.9949 17.3401H16.2283C17.5999 17.3401 18.3691 18.9526 17.7724 20.0701H5.36159C5.18215 20.0707 5.00436 20.0359 4.83845 19.9675C4.67254 19.8992 4.5218 19.7986 4.39492 19.6718C4.26803 19.5449 4.16751 19.3941 4.09915 19.2282C4.03079 19.0623 3.99593 18.8845 3.99659 18.7051C3.99659 17.9476 4.60492 17.3401 5.36159 17.3401H8.84159L13.2958 9.61926L11.9041 7.20426C11.738 6.89096 11.7 6.52543 11.7982 6.18469C11.8963 5.84395 12.1229 5.5546 12.4301 5.37763C12.7374 5.20065 13.1014 5.14987 13.4454 5.23599C13.7893 5.3221 14.0864 5.53838 14.2741 5.83926L14.8708 6.89259ZM9.60659 21.4759L8.29409 23.7526C8.20446 23.9082 8.08506 24.0446 7.94271 24.1541C7.80035 24.2636 7.63783 24.344 7.46441 24.3906C7.291 24.4373 7.11009 24.4493 6.93202 24.4261C6.75395 24.4028 6.58221 24.3447 6.42659 24.2551C6.27097 24.1655 6.13454 24.0461 6.02506 23.9037C5.91559 23.7613 5.83523 23.5988 5.78857 23.4254C5.74191 23.252 5.72986 23.0711 5.75311 22.893C5.77637 22.715 5.83446 22.5432 5.92409 22.3876L6.89909 20.7001C8.00159 20.3584 8.89742 20.6209 9.60659 21.4759ZM20.9066 17.3476H24.4583C25.2158 17.3476 25.8233 17.9551 25.8233 18.7126C25.8233 19.4701 25.2149 20.0776 24.4583 20.0776H22.4858L23.8166 22.3876C24.1916 23.0443 23.9708 23.8726 23.3149 24.2551C23.0006 24.4359 22.6274 24.4845 22.2772 24.3903C21.927 24.2961 21.6286 24.0667 21.4474 23.7526C19.2058 19.8643 17.5216 16.9534 16.4041 15.0151C15.2608 13.0426 16.0783 11.0626 16.8841 10.3909C17.7799 11.9293 19.1191 14.2501 20.9074 17.3476H20.9066Z" fill="white"/>
|
|
33
|
+
</g>
|
|
34
|
+
<defs>
|
|
35
|
+
<linearGradient id="paint0_linear_87_33" x1="15" y1="2.29447e-07" x2="15" y2="30" gradientUnits="userSpaceOnUse">
|
|
36
|
+
<stop stop-color="#18BFFB"/>
|
|
37
|
+
<stop offset="1" stop-color="#2072F3"/>
|
|
38
|
+
</linearGradient>
|
|
39
|
+
<clipPath id="clip0_87_33">
|
|
40
|
+
<rect width="30" height="30" fill="white"/>
|
|
41
|
+
</clipPath>
|
|
42
|
+
</defs>
|
|
43
|
+
</svg>`,L=l`<svg fill="none" viewBox="0 0 40 40">
|
|
44
|
+
<g clip-path="url(#a)">
|
|
45
|
+
<g clip-path="url(#b)">
|
|
46
|
+
<circle cx="20" cy="19.89" r="20" fill="#000" />
|
|
47
|
+
<g clip-path="url(#c)">
|
|
48
|
+
<path
|
|
49
|
+
fill="#fff"
|
|
50
|
+
d="M28.77 23.3c-.69 1.99-2.75 5.52-4.87 5.56-1.4.03-1.86-.84-3.46-.84-1.61 0-2.12.81-3.45.86-2.25.1-5.72-5.1-5.72-9.62 0-4.15 2.9-6.2 5.42-6.25 1.36-.02 2.64.92 3.47.92.83 0 2.38-1.13 4.02-.97.68.03 2.6.28 3.84 2.08-3.27 2.14-2.76 6.61.75 8.25ZM24.2 7.88c-2.47.1-4.49 2.69-4.2 4.84 2.28.17 4.47-2.39 4.2-4.84Z"
|
|
51
|
+
/>
|
|
52
|
+
</g>
|
|
53
|
+
</g>
|
|
54
|
+
</g>
|
|
55
|
+
<defs>
|
|
56
|
+
<clipPath id="a"><rect width="40" height="40" fill="#fff" rx="20" /></clipPath>
|
|
57
|
+
<clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
|
|
58
|
+
<clipPath id="c"><path fill="#fff" d="M8 7.89h24v24H8z" /></clipPath>
|
|
59
|
+
</defs>
|
|
60
|
+
</svg>`,j=l`
|
|
61
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 8 11">
|
|
62
|
+
<path
|
|
63
|
+
fill="var(--apkt-tokens-theme-textPrimary)"
|
|
64
|
+
d="M7.862 4.86c.159-1.064-.652-1.637-1.76-2.018l.36-1.443-.879-.218-.35 1.404c-.23-.058-.468-.112-.703-.166l.352-1.413-.877-.219-.36 1.442a29.02 29.02 0 0 1-.56-.132v-.005l-1.21-.302-.234.938s.652.15.638.158c.356.089.42.324.41.51l-.41 1.644a.715.715 0 0 1 .09.03l-.092-.024-.574 2.302c-.044.108-.154.27-.402.208.008.013-.639-.16-.639-.16L.227 8.403l1.142.285c.213.053.42.109.626.161l-.363 1.459.877.218.36-1.443c.239.065.472.125.7.182l-.36 1.436.879.219.363-1.456c1.497.283 2.623.17 3.097-1.185.381-1.09-.02-1.719-.807-2.129.574-.132 1.006-.51 1.12-1.289ZM5.856 7.673c-.272 1.09-2.107.5-2.702.353l.482-1.933c.595.149 2.503.443 2.22 1.58Zm.271-2.829c-.247.992-1.775.488-2.27.365l.436-1.753c.496.124 2.092.354 1.834 1.388Z"
|
|
65
|
+
/>
|
|
66
|
+
</svg>
|
|
67
|
+
`,H=l`<svg viewBox="0 0 32 32" fill="none">
|
|
68
|
+
<path d="M29.0612 10.0613L13.0612 26.0613C12.9218 26.2011 12.7563 26.3121 12.5739 26.3878C12.3916 26.4635 12.1961 26.5024 11.9987 26.5024C11.8013 26.5024 11.6058 26.4635 11.4235 26.3878C11.2411 26.3121 11.0756 26.2011 10.9362 26.0613L3.9362 19.0613C3.79667 18.9217 3.68599 18.7561 3.61047 18.5738C3.53496 18.3915 3.49609 18.1961 3.49609 17.9988C3.49609 17.8014 3.53496 17.606 3.61047 17.4237C3.68599 17.2414 3.79667 17.0758 3.9362 16.9363C4.07573 16.7967 4.24137 16.686 4.42367 16.6105C4.60598 16.535 4.80137 16.4962 4.9987 16.4962C5.19602 16.4962 5.39141 16.535 5.57372 16.6105C5.75602 16.686 5.92167 16.7967 6.0612 16.9363L11.9999 22.875L26.9387 7.93876C27.2205 7.65697 27.6027 7.49866 28.0012 7.49866C28.3997 7.49866 28.7819 7.65697 29.0637 7.93876C29.3455 8.22055 29.5038 8.60274 29.5038 9.00126C29.5038 9.39977 29.3455 9.78197 29.0637 10.0638L29.0612 10.0613Z" fill="currentColor"/>
|
|
69
|
+
</svg>
|
|
70
|
+
`,M=l`<svg width="30" height="30" viewBox="0 0 30 30" fill="none">
|
|
71
|
+
<path d="M14.9978 7.80003H27.4668C26.2032 5.61107 24.3857 3.79333 22.1968 2.52955C20.008 1.26577 17.525 0.600485 14.9975 0.600586C12.47 0.600687 9.98712 1.26617 7.79838 2.53012C5.60964 3.79408 3.79221 5.61197 2.52881 7.80103L8.76281 18.599L8.76881 18.598C8.13412 17.5044 7.79906 16.2628 7.79743 14.9983C7.79579 13.7339 8.12764 12.4914 8.7595 11.3961C9.39136 10.3008 10.3009 9.39159 11.3963 8.76005C12.4918 8.12851 13.7344 7.79702 14.9988 7.79903L14.9978 7.80003Z" fill="url(#paint0_linear_87_32)"/>
|
|
72
|
+
<path d="M21.237 18.5981L15.003 29.3961C17.5305 29.3961 20.0134 28.7308 22.2022 27.467C24.391 26.2032 26.2086 24.3854 27.4721 22.1965C28.7356 20.0075 29.4006 17.5245 29.4003 14.997C29.3999 12.4695 28.7342 9.9867 27.47 7.7981H15.002L15 7.8041C16.2642 7.80168 17.5067 8.13257 18.6022 8.76342C19.6977 9.39428 20.6076 10.3028 21.2401 11.3974C21.8726 12.492 22.2053 13.734 22.2048 14.9982C22.2042 16.2623 21.8704 17.504 21.237 18.5981Z" fill="url(#paint1_linear_87_32)"/>
|
|
73
|
+
<path d="M8.76502 18.601L2.53102 7.80298C1.26664 9.99172 0.600848 12.4748 0.600586 15.0025C0.600324 17.5302 1.2656 20.0134 2.52953 22.2024C3.79345 24.3914 5.61145 26.209 7.80071 27.4725C9.98998 28.736 12.4733 29.4008 15.001 29.4L21.236 18.602L21.232 18.598C20.6022 19.6941 19.6944 20.6049 18.6003 21.2383C17.5062 21.8717 16.2644 22.2055 15.0002 22.2059C13.7359 22.2063 12.4939 21.8733 11.3994 21.2406C10.3049 20.6079 9.39657 19.6977 8.76602 18.602L8.76502 18.601Z" fill="url(#paint2_linear_87_32)"/>
|
|
74
|
+
<path d="M14.9998 22.2C16.9094 22.2 18.7407 21.4415 20.091 20.0912C21.4412 18.741 22.1998 16.9096 22.1998 15C22.1998 13.0905 21.4412 11.2591 20.091 9.90888C18.7407 8.55862 16.9094 7.80005 14.9998 7.80005C13.0902 7.80005 11.2589 8.55862 9.90864 9.90888C8.55837 11.2591 7.7998 13.0905 7.7998 15C7.7998 16.9096 8.55837 18.741 9.90864 20.0912C11.2589 21.4415 13.0902 22.2 14.9998 22.2Z" fill="white"/>
|
|
75
|
+
<path d="M14.9998 20.7C16.5115 20.7 17.9614 20.0995 19.0303 19.0306C20.0993 17.9616 20.6998 16.5118 20.6998 15C20.6998 13.4883 20.0993 12.0385 19.0303 10.9695C17.9614 9.90058 16.5115 9.30005 14.9998 9.30005C13.4881 9.30005 12.0383 9.90058 10.9693 10.9695C9.90034 12.0385 9.2998 13.4883 9.2998 15C9.2998 16.5118 9.90034 17.9616 10.9693 19.0306C12.0383 20.0995 13.4881 20.7 14.9998 20.7Z" fill="#1A73E8"/>
|
|
76
|
+
<defs>
|
|
77
|
+
<linearGradient id="paint0_linear_87_32" x1="3.29381" y1="2.99503" x2="38.0998" y2="2.99503" gradientUnits="userSpaceOnUse">
|
|
78
|
+
<stop stop-color="#D93025"/>
|
|
79
|
+
<stop offset="1" stop-color="#EA4335"/>
|
|
80
|
+
</linearGradient>
|
|
81
|
+
<linearGradient id="paint1_linear_87_32" x1="17.953" y1="29.1431" x2="34.194" y2="-0.298904" gradientUnits="userSpaceOnUse">
|
|
82
|
+
<stop stop-color="#FCC934"/>
|
|
83
|
+
<stop offset="1" stop-color="#FBBC04"/>
|
|
84
|
+
</linearGradient>
|
|
85
|
+
<linearGradient id="paint2_linear_87_32" x1="22.873" y1="28.2" x2="6.63202" y2="-1.24102" gradientUnits="userSpaceOnUse">
|
|
86
|
+
<stop stop-color="#1E8E3E"/>
|
|
87
|
+
<stop offset="1" stop-color="#34A853"/>
|
|
88
|
+
</linearGradient>
|
|
89
|
+
</defs>
|
|
90
|
+
</svg>`,Z=l`<svg width="32" height="32" viewBox="0 0 32 32" fill="none">
|
|
91
|
+
<path d="M23 11.1962V10.5C23 7.365 18.2712 5 12 5C5.72875 5 1 7.365 1 10.5V15.5C1 18.1112 4.28125 20.1863 9 20.8075V21.5C9 24.635 13.7288 27 20 27C26.2712 27 31 24.635 31 21.5V16.5C31 13.9125 27.8225 11.835 23 11.1962ZM7 18.3587C4.55125 17.675 3 16.5487 3 15.5V13.7413C4.02 14.4637 5.38625 15.0463 7 15.4375V18.3587ZM17 15.4375C18.6138 15.0463 19.98 14.4637 21 13.7413V15.5C21 16.5487 19.4487 17.675 17 18.3587V15.4375ZM15 24.3587C12.5513 23.675 11 22.5487 11 21.5V20.9788C11.3287 20.9913 11.6613 21 12 21C12.485 21 12.9587 20.9837 13.4237 20.9562C13.9403 21.1412 14.4665 21.2981 15 21.4263V24.3587ZM15 18.7812C14.0068 18.928 13.004 19.0011 12 19C10.996 19.0011 9.99324 18.928 9 18.7812V15.8075C9.99472 15.9371 10.9969 16.0014 12 16C13.0031 16.0014 14.0053 15.9371 15 15.8075V18.7812ZM23 24.7812C21.0106 25.0729 18.9894 25.0729 17 24.7812V21.8C17.9944 21.9337 18.9967 22.0005 20 22C21.0031 22.0014 22.0053 21.9371 23 21.8075V24.7812ZM29 21.5C29 22.5487 27.4487 23.675 25 24.3587V21.4375C26.6138 21.0462 27.98 20.4637 29 19.7412V21.5Z" fill="currentColor"/>
|
|
92
|
+
</svg>
|
|
93
|
+
`,R=l` <svg fill="none" viewBox="0 0 13 4">
|
|
94
|
+
<path fill="currentColor" d="M.5 0h12L8.9 3.13a3.76 3.76 0 0 1-4.8 0L.5 0Z" />
|
|
95
|
+
</svg>`,A=l`<svg fill="none" viewBox="0 0 40 40">
|
|
96
|
+
<g clip-path="url(#a)">
|
|
97
|
+
<g clip-path="url(#b)">
|
|
98
|
+
<circle cx="20" cy="19.89" r="20" fill="#5865F2" />
|
|
99
|
+
<path
|
|
100
|
+
fill="#fff"
|
|
101
|
+
fill-rule="evenodd"
|
|
102
|
+
d="M25.71 28.15C30.25 28 32 25.02 32 25.02c0-6.61-2.96-11.98-2.96-11.98-2.96-2.22-5.77-2.15-5.77-2.15l-.29.32c3.5 1.07 5.12 2.61 5.12 2.61a16.75 16.75 0 0 0-10.34-1.93l-.35.04a15.43 15.43 0 0 0-5.88 1.9s1.71-1.63 5.4-2.7l-.2-.24s-2.81-.07-5.77 2.15c0 0-2.96 5.37-2.96 11.98 0 0 1.73 2.98 6.27 3.13l1.37-1.7c-2.6-.79-3.6-2.43-3.6-2.43l.58.35.09.06.08.04.02.01.08.05a17.25 17.25 0 0 0 4.52 1.58 14.4 14.4 0 0 0 8.3-.86c.72-.27 1.52-.66 2.37-1.21 0 0-1.03 1.68-3.72 2.44.61.78 1.35 1.67 1.35 1.67Zm-9.55-9.6c-1.17 0-2.1 1.03-2.1 2.28 0 1.25.95 2.28 2.1 2.28 1.17 0 2.1-1.03 2.1-2.28.01-1.25-.93-2.28-2.1-2.28Zm7.5 0c-1.17 0-2.1 1.03-2.1 2.28 0 1.25.95 2.28 2.1 2.28 1.17 0 2.1-1.03 2.1-2.28 0-1.25-.93-2.28-2.1-2.28Z"
|
|
103
|
+
clip-rule="evenodd"
|
|
104
|
+
/>
|
|
105
|
+
</g>
|
|
106
|
+
</g>
|
|
107
|
+
<defs>
|
|
108
|
+
<clipPath id="a"><rect width="40" height="40" fill="#fff" rx="20" /></clipPath>
|
|
109
|
+
<clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
|
|
110
|
+
</defs>
|
|
111
|
+
</svg>`,B=l`<svg
|
|
112
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
113
|
+
fill="none"
|
|
114
|
+
viewBox="0 0 9 12"
|
|
115
|
+
>
|
|
116
|
+
<path
|
|
117
|
+
fill="var(--apkt-tokens-theme-textPrimary)"
|
|
118
|
+
d="M4.666.001v4.435l3.748 1.675L4.666.001Zm0 0L.917 6.111l3.749-1.675V.001Zm0 8.984V12l3.75-5.19-3.75 2.176Zm0 3.014V8.985L.917 6.81 4.666 12Zm0-3.712 3.748-2.176-3.748-1.675v3.851Z"
|
|
119
|
+
/>
|
|
120
|
+
<path fill="var(--apkt-tokens-theme-textPrimary)" d="m.917 6.111 3.749 2.176v-3.85L.917 6.11Z" />
|
|
121
|
+
</svg>`,V=l`<svg fill="none" viewBox="0 0 16 16">
|
|
122
|
+
<path
|
|
123
|
+
fill="currentColor"
|
|
124
|
+
d="M4.25 7a.63.63 0 0 0-.63.63v3.97c0 .28-.2.51-.47.54l-.75.07a.93.93 0 0 1-.9-.47A7.51 7.51 0 0 1 5.54.92a7.5 7.5 0 0 1 9.54 4.62c.12.35.06.72-.16 1-.74.97-1.68 1.78-2.6 2.44V4.44a.64.64 0 0 0-.63-.64h-1.06c-.35 0-.63.3-.63.64v5.5c0 .23-.12.42-.32.5l-.52.23V6.05c0-.36-.3-.64-.64-.64H7.45c-.35 0-.64.3-.64.64v4.97c0 .25-.17.46-.4.52a5.8 5.8 0 0 0-.45.11v-4c0-.36-.3-.65-.64-.65H4.25ZM14.07 12.4A7.49 7.49 0 0 1 3.6 14.08c4.09-.58 9.14-2.5 11.87-6.6v.03a7.56 7.56 0 0 1-1.41 4.91Z"
|
|
125
|
+
/>
|
|
126
|
+
</svg>`,I=l`<svg fill="none" viewBox="0 0 40 40">
|
|
127
|
+
<g clip-path="url(#a)">
|
|
128
|
+
<g clip-path="url(#b)">
|
|
129
|
+
<circle cx="20" cy="19.89" r="20" fill="#1877F2" />
|
|
130
|
+
<g clip-path="url(#c)">
|
|
131
|
+
<path
|
|
132
|
+
fill="#fff"
|
|
133
|
+
d="M26 12.38h-2.89c-.92 0-1.61.38-1.61 1.34v1.66H26l-.36 4.5H21.5v12H17v-12h-3v-4.5h3V12.5c0-3.03 1.6-4.62 5.2-4.62H26v4.5Z"
|
|
134
|
+
/>
|
|
135
|
+
</g>
|
|
136
|
+
</g>
|
|
137
|
+
<path
|
|
138
|
+
fill="#1877F2"
|
|
139
|
+
d="M40 20a20 20 0 1 0-23.13 19.76V25.78H11.8V20h5.07v-4.4c0-5.02 3-7.79 7.56-7.79 2.19 0 4.48.4 4.48.4v4.91h-2.53c-2.48 0-3.25 1.55-3.25 3.13V20h5.54l-.88 5.78h-4.66v13.98A20 20 0 0 0 40 20Z"
|
|
140
|
+
/>
|
|
141
|
+
<path
|
|
142
|
+
fill="#fff"
|
|
143
|
+
d="m27.79 25.78.88-5.78h-5.55v-3.75c0-1.58.78-3.13 3.26-3.13h2.53V8.2s-2.3-.39-4.48-.39c-4.57 0-7.55 2.77-7.55 7.78V20H11.8v5.78h5.07v13.98a20.15 20.15 0 0 0 6.25 0V25.78h4.67Z"
|
|
144
|
+
/>
|
|
145
|
+
</g>
|
|
146
|
+
<defs>
|
|
147
|
+
<clipPath id="a"><rect width="40" height="40" fill="#fff" rx="20" /></clipPath>
|
|
148
|
+
<clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
|
|
149
|
+
<clipPath id="c"><path fill="#fff" d="M8 7.89h24v24H8z" /></clipPath>
|
|
150
|
+
</defs>
|
|
151
|
+
</svg>`,O=l`<svg style="border-radius: 9999px; overflow: hidden;" fill="none" viewBox="0 0 1000 1000">
|
|
152
|
+
<rect width="1000" height="1000" rx="9999" ry="9999" fill="#855DCD"/>
|
|
153
|
+
<path fill="#855DCD" d="M0 0h1000v1000H0V0Z" />
|
|
154
|
+
<path
|
|
155
|
+
fill="#fff"
|
|
156
|
+
d="M320 248h354v504h-51.96V521.13h-.5c-5.76-63.8-59.31-113.81-124.54-113.81s-118.78 50-124.53 113.81h-.5V752H320V248Z"
|
|
157
|
+
/>
|
|
158
|
+
<path
|
|
159
|
+
fill="#fff"
|
|
160
|
+
d="m225 320 21.16 71.46h17.9v289.09a16.29 16.29 0 0 0-16.28 16.24v19.49h-3.25a16.3 16.3 0 0 0-16.28 16.24V752h182.26v-19.48a16.22 16.22 0 0 0-16.28-16.24h-3.25v-19.5a16.22 16.22 0 0 0-16.28-16.23h-19.52V320H225Zm400.3 360.55a16.3 16.3 0 0 0-15.04 10.02 16.2 16.2 0 0 0-1.24 6.22v19.49h-3.25a16.29 16.29 0 0 0-16.27 16.24V752h182.24v-19.48a16.23 16.23 0 0 0-16.27-16.24h-3.25v-19.5a16.2 16.2 0 0 0-10.04-15 16.3 16.3 0 0 0-6.23-1.23v-289.1h17.9L775 320H644.82v360.55H625.3Z"
|
|
161
|
+
/>
|
|
162
|
+
</svg>`,W=l`<svg fill="none" viewBox="0 0 40 40">
|
|
163
|
+
<g clip-path="url(#a)">
|
|
164
|
+
<g clip-path="url(#b)">
|
|
165
|
+
<circle cx="20" cy="19.89" r="20" fill="#1B1F23" />
|
|
166
|
+
<g clip-path="url(#c)">
|
|
167
|
+
<path
|
|
168
|
+
fill="#fff"
|
|
169
|
+
d="M8 19.89a12 12 0 1 1 15.8 11.38c-.6.12-.8-.26-.8-.57v-3.3c0-1.12-.4-1.85-.82-2.22 2.67-.3 5.48-1.31 5.48-5.92 0-1.31-.47-2.38-1.24-3.22.13-.3.54-1.52-.12-3.18 0 0-1-.32-3.3 1.23a11.54 11.54 0 0 0-6 0c-2.3-1.55-3.3-1.23-3.3-1.23a4.32 4.32 0 0 0-.12 3.18 4.64 4.64 0 0 0-1.24 3.22c0 4.6 2.8 5.63 5.47 5.93-.34.3-.65.83-.76 1.6-.69.31-2.42.84-3.5-1 0 0-.63-1.15-1.83-1.23 0 0-1.18-.02-.09.73 0 0 .8.37 1.34 1.76 0 0 .7 2.14 4.03 1.41v2.24c0 .31-.2.68-.8.57A12 12 0 0 1 8 19.9Z"
|
|
170
|
+
/>
|
|
171
|
+
</g>
|
|
172
|
+
</g>
|
|
173
|
+
</g>
|
|
174
|
+
<defs>
|
|
175
|
+
<clipPath id="a"><rect width="40" height="40" fill="#fff" rx="20" /></clipPath>
|
|
176
|
+
<clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
|
|
177
|
+
<clipPath id="c"><path fill="#fff" d="M8 7.89h24v24H8z" /></clipPath>
|
|
178
|
+
</defs>
|
|
179
|
+
</svg>`,F=l`<svg fill="none" viewBox="0 0 40 40">
|
|
180
|
+
<path
|
|
181
|
+
fill="#4285F4"
|
|
182
|
+
d="M32.74 20.3c0-.93-.08-1.81-.24-2.66H20.26v5.03h7a6 6 0 0 1-2.62 3.91v3.28h4.22c2.46-2.27 3.88-5.6 3.88-9.56Z"
|
|
183
|
+
/>
|
|
184
|
+
<path
|
|
185
|
+
fill="#34A853"
|
|
186
|
+
d="M20.26 33a12.4 12.4 0 0 0 8.6-3.14l-4.22-3.28a7.74 7.74 0 0 1-4.38 1.26 7.76 7.76 0 0 1-7.28-5.36H8.65v3.36A12.99 12.99 0 0 0 20.26 33Z"
|
|
187
|
+
/>
|
|
188
|
+
<path
|
|
189
|
+
fill="#FBBC05"
|
|
190
|
+
d="M12.98 22.47a7.79 7.79 0 0 1 0-4.94v-3.36H8.65a12.84 12.84 0 0 0 0 11.66l3.37-2.63.96-.73Z"
|
|
191
|
+
/>
|
|
192
|
+
<path
|
|
193
|
+
fill="#EA4335"
|
|
194
|
+
d="M20.26 12.18a7.1 7.1 0 0 1 4.98 1.93l3.72-3.72A12.47 12.47 0 0 0 20.26 7c-5.08 0-9.47 2.92-11.6 7.17l4.32 3.36a7.76 7.76 0 0 1 7.28-5.35Z"
|
|
195
|
+
/>
|
|
196
|
+
</svg>`,E=l`<svg width="10" height="10" viewBox="0 0 10 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
197
|
+
<path d="M4.875 0C3.91082 0 2.96829 0.285914 2.1666 0.821586C1.36491 1.35726 0.740067 2.11863 0.371089 3.00942C0.00211226 3.90021 -0.094429 4.88041 0.093674 5.82607C0.281777 6.77172 0.746076 7.64036 1.42786 8.32215C2.10964 9.00393 2.97828 9.46823 3.92394 9.65633C4.86959 9.84443 5.84979 9.74789 6.74058 9.37891C7.63137 9.00994 8.39274 8.38509 8.92842 7.5834C9.46409 6.78171 9.75 5.83918 9.75 4.875C9.74864 3.58249 9.23458 2.34331 8.32064 1.42936C7.4067 0.515418 6.16751 0.00136492 4.875 0ZM4.6875 2.25C4.79875 2.25 4.90751 2.28299 5.00001 2.3448C5.09251 2.40661 5.16461 2.49446 5.20718 2.59724C5.24976 2.70002 5.2609 2.81312 5.23919 2.92224C5.21749 3.03135 5.16392 3.13158 5.08525 3.21025C5.00658 3.28891 4.90635 3.34249 4.79724 3.36419C4.68813 3.3859 4.57503 3.37476 4.47224 3.33218C4.36946 3.28961 4.28161 3.21751 4.2198 3.12501C4.15799 3.03251 4.125 2.92375 4.125 2.8125C4.125 2.66332 4.18427 2.52024 4.28975 2.41475C4.39524 2.30926 4.53832 2.25 4.6875 2.25ZM5.25 7.5C5.05109 7.5 4.86032 7.42098 4.71967 7.28033C4.57902 7.13968 4.5 6.94891 4.5 6.75V4.875C4.40055 4.875 4.30516 4.83549 4.23484 4.76516C4.16451 4.69484 4.125 4.59946 4.125 4.5C4.125 4.40054 4.16451 4.30516 4.23484 4.23484C4.30516 4.16451 4.40055 4.125 4.5 4.125C4.69891 4.125 4.88968 4.20402 5.03033 4.34467C5.17098 4.48532 5.25 4.67609 5.25 4.875V6.75C5.34946 6.75 5.44484 6.78951 5.51517 6.85983C5.58549 6.93016 5.625 7.02554 5.625 7.125C5.625 7.22446 5.58549 7.31984 5.51517 7.39017C5.44484 7.46049 5.34946 7.5 5.25 7.5Z" fill="#9A9A9A"/>
|
|
198
|
+
</svg>
|
|
199
|
+
`,T=l`<svg width="32" height="32" viewBox="0 0 32 32" fill="none">
|
|
200
|
+
<path d="M28.925 5.5425C28.925 5.5425 28.925 5.555 28.925 5.56125L21.65 29.5537C21.5399 29.9434 21.3132 30.2901 21.0004 30.5473C20.6876 30.8045 20.3036 30.9598 19.9 30.9925C19.8425 30.9975 19.785 31 19.7275 31C19.3493 31.0012 18.9786 30.8941 18.6592 30.6915C18.3398 30.4888 18.085 30.199 17.925 29.8563L13.375 20.5187C13.3295 20.4252 13.3143 20.3197 13.3315 20.2171C13.3488 20.1145 13.3976 20.0198 13.4713 19.9463L20.7113 12.7063C20.8909 12.5172 20.9895 12.2654 20.9862 12.0047C20.9829 11.7439 20.8778 11.4948 20.6934 11.3104C20.509 11.126 20.2599 11.0209 19.9991 11.0176C19.7383 11.0142 19.4866 11.1129 19.2975 11.2925L12.0538 18.5325C11.9802 18.6061 11.8855 18.655 11.7829 18.6722C11.6803 18.6895 11.5748 18.6743 11.4813 18.6287L2.13502 14.08C1.76954 13.9047 1.46598 13.6224 1.26454 13.2706C1.06311 12.9189 0.973316 12.5142 1.00707 12.1102C1.04082 11.7063 1.19652 11.3221 1.45354 11.0087C1.71056 10.6952 2.05676 10.4673 2.44627 10.355L26.4388 3.08H26.4575C26.7991 2.98403 27.1601 2.98066 27.5034 3.07025C27.8468 3.15984 28.1601 3.33916 28.4113 3.58981C28.6624 3.84045 28.8424 4.15341 28.9326 4.49656C29.0229 4.83971 29.0203 5.2007 28.925 5.5425Z" fill="currentColor"/>
|
|
201
|
+
</svg>
|
|
202
|
+
`,D=l` <svg width="27" height="30" viewBox="0 0 27 30" fill="none">
|
|
203
|
+
<path d="M12.5395 14.3237L0.116699 27.5049V27.5188C0.251527 28.0177 0.49972 28.4788 0.841941 28.866C1.18416 29.2533 1.61117 29.5563 2.0897 29.7515C2.56823 29.9467 3.08536 30.0287 3.60081 29.9913C4.11625 29.9538 4.61609 29.7979 5.06139 29.5356L5.0975 29.512L19.0718 21.4519L12.5395 14.3237Z" fill="#EA4335"/>
|
|
204
|
+
<path d="M25.103 12.0833L25.0919 12.0722L19.0611 8.57202L12.2607 14.6279L19.0847 21.4504L25.0919 17.9864C25.6229 17.6983 26.0665 17.2725 26.376 16.7537C26.6854 16.2349 26.8493 15.6422 26.8505 15.0381C26.8516 14.434 26.6899 13.8408 26.3824 13.3208C26.0749 12.8008 25.633 12.3734 25.103 12.0833Z" fill="#FBBC04"/>
|
|
205
|
+
<path d="M0.116672 2.49553C0.047224 2.7761 0 3.05528 0 3.35946V26.6537C0 26.9565 0.0347234 27.237 0.116672 27.5162L12.959 14.6725L0.116672 2.49553Z" fill="#4285F4"/>
|
|
206
|
+
<path d="M12.634 15.0001L19.0607 8.57198L5.0975 0.477133C4.65115 0.210463 4.14916 0.0506574 3.63079 0.0102139C3.11242 -0.0302296 2.59172 0.0497852 2.10941 0.244001C1.6271 0.438216 1.19625 0.741368 0.850556 1.12975C0.504864 1.51813 0.253698 1.98121 0.116699 2.48279L12.634 15.0001Z" fill="#34A853"/>
|
|
207
|
+
</svg>`,_=l`<svg width="75" height="20" viewBox="0 0 75 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
208
|
+
<path d="M11.6666 5.83334C11.6666 2.61168 14.2783 0 17.5 0H25.8334C29.055 0 31.6666 2.61168 31.6666 5.83334V14.1666C31.6666 17.3883 29.055 20 25.8334 20H17.5C14.2783 20 11.6666 17.3883 11.6666 14.1666V5.83334Z" fill="var(--apkt-tokens-theme-foregroundTertiary)"/>
|
|
209
|
+
<path d="M19.5068 13.7499L22.4309 5.83331H23.2895L20.3654 13.7499H19.5068Z" fill="var(--apkt-tokens-theme-textPrimary)"/>
|
|
210
|
+
<path d="M0 5.41666C0 2.42513 2.42513 0 5.41666 0C8.40821 0 10.8334 2.42513 10.8334 5.41666V14.5833C10.8334 17.5748 8.40821 20 5.41666 20C2.42513 20 0 17.5748 0 14.5833V5.41666Z" fill="var(--apkt-tokens-theme-foregroundTertiary)"/>
|
|
211
|
+
<path d="M4.89581 12.4997V11.458H5.93747V12.4997H4.89581Z" fill="var(--apkt-tokens-theme-textPrimary)"/>
|
|
212
|
+
<path d="M32.5 10C32.5 4.47715 36.6896 0 41.8578 0H65.6422C70.8104 0 75 4.47715 75 10C75 15.5229 70.8104 20 65.6422 20H41.8578C36.6896 20 32.5 15.5229 32.5 10Z" fill="var(--apkt-tokens-theme-foregroundTertiary)"/>
|
|
213
|
+
<path d="M61.7108 12.4475V7.82751H62.5266V8.52418C62.8199 8.01084 63.4157 7.70834 64.0757 7.70834C65.0749 7.70834 65.7715 8.34084 65.7715 9.56918V12.4475H64.9649V9.61503C64.9649 8.80831 64.5066 8.38668 63.8374 8.38668C63.1132 8.38668 62.5266 8.9642 62.5266 9.78001V12.4475H61.7108Z" fill="var(--apkt-tokens-theme-textPrimary)"/>
|
|
214
|
+
<path d="M56.5671 12.4475L55.7147 7.82748H56.4846L57.0896 11.6409L57.8871 9.12916H58.6479L59.4363 11.6134L60.0505 7.82748H60.8204L59.9679 12.4475H59.0513L58.2721 10.0458L57.4838 12.4475H56.5671Z" fill="var(--apkt-tokens-theme-textPrimary)"/>
|
|
215
|
+
<path d="M52.9636 12.5666C51.5611 12.5666 50.7361 11.5217 50.7361 10.1375C50.7361 8.76254 51.5611 7.70834 52.9636 7.70834C54.3661 7.70834 55.1911 8.76254 55.1911 10.1375C55.1911 11.5217 54.3661 12.5666 52.9636 12.5666ZM52.9636 11.8883C53.9719 11.8883 54.357 11.0266 54.357 10.1283C54.357 9.23914 53.9719 8.38668 52.9636 8.38668C51.9552 8.38668 51.5702 9.23914 51.5702 10.1283C51.5702 11.0266 51.9552 11.8883 52.9636 11.8883Z" fill="var(--apkt-tokens-theme-textPrimary)"/>
|
|
216
|
+
<path d="M47.8507 12.5666C46.494 12.5666 45.6415 11.5308 45.6415 10.1375C45.6415 8.75337 46.494 7.70834 47.8507 7.70834C48.9965 7.70834 50.0048 8.35917 49.8948 10.3483H46.4756C46.5398 11.2009 46.934 11.8975 47.8507 11.8975C48.4648 11.8975 48.8681 11.5217 49.0057 11.0908H49.8123C49.684 11.8609 48.9598 12.5666 47.8507 12.5666ZM46.494 9.73416H49.1065C49.0423 8.80831 48.6114 8.37751 47.8507 8.37751C47.0165 8.37751 46.604 8.98254 46.494 9.73416Z" fill="var(--apkt-tokens-theme-textPrimary)"/>
|
|
217
|
+
<path d="M41.7284 12.4475V7.82748H42.5625V8.60665C42.8559 8.09332 43.3601 7.82748 43.8825 7.82748H44.9917V8.60665H43.8184C43.0851 8.60665 42.5625 9.08331 42.5625 10.0092V12.4475H41.7284Z" fill="var(--apkt-tokens-theme-textPrimary)"/>
|
|
218
|
+
</svg>
|
|
219
|
+
|
|
220
|
+
`,U=l`
|
|
221
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 8">
|
|
222
|
+
<path
|
|
223
|
+
fill="var(--apkt-tokens-theme-textPrimary)"
|
|
224
|
+
d="m9.524 6.307-1.51 1.584A.35.35 0 0 1 7.76 8H.604a.178.178 0 0 1-.161-.103.168.168 0 0 1 .033-.186l1.51-1.583a.35.35 0 0 1 .256-.11h7.154c.034 0 .068.01.096.029a.168.168 0 0 1 .032.26Zm-1.51-3.189a.35.35 0 0 0-.255-.109H.604a.178.178 0 0 0-.161.103.168.168 0 0 0 .033.186l1.51 1.583a.35.35 0 0 0 .256.11h7.154a.178.178 0 0 0 .16-.104.168.168 0 0 0-.032-.185l-1.51-1.584ZM.605 1.981H7.76a.357.357 0 0 0 .256-.11L9.525.289a.17.17 0 0 0 .032-.185.173.173 0 0 0-.16-.103H2.241a.357.357 0 0 0-.256.109L.476 1.692a.17.17 0 0 0-.033.185.178.178 0 0 0 .16.103Z"
|
|
225
|
+
/>
|
|
226
|
+
</svg>
|
|
227
|
+
`,G=l`<svg width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
228
|
+
<g clip-path="url(#a)">
|
|
229
|
+
<path fill="url(#b)" d="M0 0h32v32H0z"/>
|
|
230
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.034 15.252c4.975-2.167 8.293-3.596 9.953-4.287 4.74-1.971 5.725-2.314 6.366-2.325.142-.002.457.033.662.198.172.14.22.33.243.463.022.132.05.435.028.671-.257 2.7-1.368 9.248-1.933 12.27-.24 1.28-.71 1.708-1.167 1.75-.99.091-1.743-.655-2.703-1.284-1.502-.985-2.351-1.598-3.81-2.558-1.684-1.11-.592-1.721.368-2.718.252-.261 4.619-4.233 4.703-4.594.01-.045.02-.213-.08-.301-.1-.09-.246-.059-.353-.035-.15.034-2.55 1.62-7.198 4.758-.682.468-1.298.696-1.851.684-.61-.013-1.782-.344-2.653-.628-1.069-.347-1.918-.53-1.845-1.12.039-.308.462-.623 1.27-.944Z" fill="#fff"/>
|
|
231
|
+
</g>
|
|
232
|
+
<path d="M.5 16C.5 7.44 7.44.5 16 .5 24.56.5 31.5 7.44 31.5 16c0 8.56-6.94 15.5-15.5 15.5C7.44 31.5.5 24.56.5 16Z" stroke="#141414" stroke-opacity=".05"/>
|
|
233
|
+
<defs>
|
|
234
|
+
<linearGradient id="b" x1="1600" y1="0" x2="1600" y2="3176.27" gradientUnits="userSpaceOnUse">
|
|
235
|
+
<stop stop-color="#2AABEE"/>
|
|
236
|
+
<stop offset="1" stop-color="#229ED9"/>
|
|
237
|
+
</linearGradient>
|
|
238
|
+
<clipPath id="a">
|
|
239
|
+
<path d="M0 16C0 7.163 7.163 0 16 0s16 7.163 16 16-7.163 16-16 16S0 24.837 0 16Z" fill="#fff"/>
|
|
240
|
+
</clipPath>
|
|
241
|
+
</defs>
|
|
242
|
+
</svg>`,N=l`
|
|
243
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10">
|
|
244
|
+
<path d="M8.37651 0H1.62309C0.381381 0 -0.405611 1.33944 0.219059 2.42225L4.38701 9.64649C4.659 10.1182 5.3406 10.1182 5.61259 9.64649L9.78139 2.42225C10.4052 1.34117 9.61822 0 8.37736 0H8.37651ZM4.38362 7.48005L3.47591 5.72329L1.2857 1.80606C1.14121 1.55534 1.31968 1.23405 1.62225 1.23405H4.38278V7.4809L4.38362 7.48005ZM8.71221 1.80521L6.52284 5.72414L5.61513 7.48005V1.2332H8.37566C8.67823 1.2332 8.85669 1.55449 8.71221 1.80521Z" fill="var(--apkt-tokens-theme-textPrimary)" />
|
|
245
|
+
</svg>
|
|
246
|
+
`,q=l`
|
|
247
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 64 64">
|
|
248
|
+
<path fill="var(--apkt-tokens-theme-textPrimary)" d="M61.55 19.28c-3-2.77-7.15-7-10.53-10l-.2-.14a3.82 3.82 0 0 0-1.11-.62l0 0C41.56 7 3.63-.09 2.89 0a1.4 1.4 0 0 0-.58.22L2.12.37a2.23 2.23 0 0 0-.52.84l-.05.13v.71l0 .11C5.82 14.05 22.68 53 26 62.14c.2.62.58 1.8 1.29 1.86h.16c.38 0 2-2.14 2-2.14S58.41 26.74 61.34 23a9.46 9.46 0 0 0 1-1.48A2.41 2.41 0 0 0 61.55 19.28ZM36.88 23.37 49.24 13.12l7.25 6.68Zm-4.8-.67L10.8 5.26l34.43 6.35ZM34 27.27l21.78-3.51-24.9 30ZM7.91 7 30.3 26 27.06 53.78Z"/>
|
|
249
|
+
</svg>
|
|
250
|
+
`,Q=l`<svg fill="none" viewBox="0 0 40 40">
|
|
251
|
+
<g clip-path="url(#a)">
|
|
252
|
+
<g clip-path="url(#b)">
|
|
253
|
+
<circle cx="20" cy="19.89" r="20" fill="#5A3E85" />
|
|
254
|
+
<g clip-path="url(#c)">
|
|
255
|
+
<path
|
|
256
|
+
fill="#fff"
|
|
257
|
+
d="M18.22 25.7 20 23.91h3.34l2.1-2.1v-6.68H15.4v8.78h2.82v1.77Zm3.87-8.16h1.25v3.66H22.1v-3.66Zm-3.34 0H20v3.66h-1.25v-3.66ZM20 7.9a12 12 0 1 0 0 24 12 12 0 0 0 0-24Zm6.69 14.56-3.66 3.66h-2.72l-1.77 1.78h-1.88V26.1H13.3v-9.82l.94-2.4H26.7v8.56Z"
|
|
258
|
+
/>
|
|
259
|
+
</g>
|
|
260
|
+
</g>
|
|
261
|
+
</g>
|
|
262
|
+
<defs>
|
|
263
|
+
<clipPath id="a"><rect width="40" height="40" fill="#fff" rx="20" /></clipPath>
|
|
264
|
+
<clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
|
|
265
|
+
<clipPath id="c"><path fill="#fff" d="M8 7.89h24v24H8z" /></clipPath>
|
|
266
|
+
</defs>
|
|
267
|
+
</svg>`,X=l`<svg fill="none" viewBox="0 0 16 16">
|
|
268
|
+
<path
|
|
269
|
+
fill="currentColor"
|
|
270
|
+
d="m14.36 4.74.01.42c0 4.34-3.3 9.34-9.34 9.34A9.3 9.3 0 0 1 0 13.03a6.6 6.6 0 0 0 4.86-1.36 3.29 3.29 0 0 1-3.07-2.28c.5.1 1 .07 1.48-.06A3.28 3.28 0 0 1 .64 6.11v-.04c.46.26.97.4 1.49.41A3.29 3.29 0 0 1 1.11 2.1a9.32 9.32 0 0 0 6.77 3.43 3.28 3.28 0 0 1 5.6-3 6.59 6.59 0 0 0 2.08-.8 3.3 3.3 0 0 1-1.45 1.82A6.53 6.53 0 0 0 16 3.04c-.44.66-1 1.23-1.64 1.7Z"
|
|
271
|
+
/>
|
|
272
|
+
</svg>`,Y=l`
|
|
273
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="89" height="89" viewBox="0 0 89 89" fill="none">
|
|
274
|
+
<path d="M60.0468 39.2502L65.9116 33.3854C52.6562 20.13 36.1858 20.13 22.9304 33.3854L28.7952 39.2502C38.8764 29.169 49.9725 29.169 60.0536 39.2502H60.0468Z" fill="var(--apkt-tokens-theme-textPrimary)"/>
|
|
275
|
+
<path d="M58.0927 52.9146L44.415 39.2369L30.7373 52.9146L17.0596 39.2369L11.2017 45.0949L30.7373 64.6374L44.415 50.9597L58.0927 64.6374L77.6284 45.0949L71.7704 39.2369L58.0927 52.9146Z" fill="var(--apkt-tokens-theme-textPrimary)"/>
|
|
276
|
+
</svg>`,J=l`
|
|
277
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="89" height="89" viewBox="0 0 89 89" fill="none">
|
|
278
|
+
<path d="M60.0468 39.2502L65.9116 33.3854C52.6562 20.13 36.1858 20.13 22.9304 33.3854L28.7952 39.2502C38.8764 29.169 49.9725 29.169 60.0536 39.2502H60.0468Z" fill="var(--apkt-tokens-theme-textInvert)"/>
|
|
279
|
+
<path d="M58.0927 52.9146L44.415 39.2369L30.7373 52.9146L17.0596 39.2369L11.2017 45.0949L30.7373 64.6374L44.415 50.9597L58.0927 64.6374L77.6284 45.0949L71.7704 39.2369L58.0927 52.9146Z" fill="var(--apkt-tokens-theme-textInvert)"/>
|
|
280
|
+
</svg>`,K=l`
|
|
281
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
282
|
+
<g clip-path="url(#clip0_22274_4692)">
|
|
283
|
+
<path d="M0 6.64C0 4.17295 0 2.93942 0.525474 2.01817C0.880399 1.39592 1.39592 0.880399 2.01817 0.525474C2.93942 0 4.17295 0 6.64 0H9.36C11.8271 0 13.0606 0 13.9818 0.525474C14.6041 0.880399 15.1196 1.39592 15.4745 2.01817C16 2.93942 16 4.17295 16 6.64V9.36C16 11.8271 16 13.0606 15.4745 13.9818C15.1196 14.6041 14.6041 15.1196 13.9818 15.4745C13.0606 16 11.8271 16 9.36 16H6.64C4.17295 16 2.93942 16 2.01817 15.4745C1.39592 15.1196 0.880399 14.6041 0.525474 13.9818C0 13.0606 0 11.8271 0 9.36V6.64Z" fill="#C7B994"/>
|
|
284
|
+
<path d="M4.49038 5.76609C6.42869 3.86833 9.5713 3.86833 11.5096 5.76609L11.7429 5.99449C11.8398 6.08938 11.8398 6.24323 11.7429 6.33811L10.9449 7.11942C10.8964 7.16686 10.8179 7.16686 10.7694 7.11942L10.4484 6.80512C9.09617 5.48119 6.90381 5.48119 5.5516 6.80512L5.20782 7.14171C5.15936 7.18915 5.08079 7.18915 5.03234 7.14171L4.23434 6.3604C4.13742 6.26552 4.13742 6.11167 4.23434 6.01678L4.49038 5.76609ZM13.1599 7.38192L13.8702 8.07729C13.9671 8.17217 13.9671 8.32602 13.8702 8.4209L10.6677 11.5564C10.5708 11.6513 10.4137 11.6513 10.3168 11.5564L8.04388 9.33105C8.01965 9.30733 7.98037 9.30733 7.95614 9.33105L5.6833 11.5564C5.58638 11.6513 5.42925 11.6513 5.33234 11.5564L2.12982 8.42087C2.0329 8.32598 2.0329 8.17213 2.12982 8.07724L2.84004 7.38188C2.93695 7.28699 3.09408 7.28699 3.191 7.38188L5.46392 9.60726C5.48815 9.63098 5.52743 9.63098 5.55166 9.60726L7.82447 7.38188C7.92138 7.28699 8.07851 7.28699 8.17543 7.38187L10.4484 9.60726C10.4726 9.63098 10.5119 9.63098 10.5361 9.60726L12.809 7.38192C12.9059 7.28703 13.063 7.28703 13.1599 7.38192Z" fill="currentColor"/>
|
|
285
|
+
</g>
|
|
286
|
+
<defs>
|
|
287
|
+
<clipPath id="clip0_22274_4692">
|
|
288
|
+
<path d="M0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8Z" fill="white"/>
|
|
289
|
+
</clipPath>
|
|
290
|
+
</defs>
|
|
291
|
+
</svg>
|
|
292
|
+
`,tt=l`
|
|
293
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
294
|
+
<circle cx="11" cy="11" r="11" transform="matrix(-1 0 0 1 23 1)" fill="#202020"/>
|
|
295
|
+
<circle cx="11" cy="11" r="11.5" transform="matrix(-1 0 0 1 23 1)" stroke="#C7B994" stroke-opacity="0.7"/>
|
|
296
|
+
<path d="M15.4523 11.0686L16.7472 9.78167C13.8205 6.87297 10.1838 6.87297 7.25708 9.78167L8.55201 11.0686C10.7779 8.85645 13.2279 8.85645 15.4538 11.0686H15.4523Z" fill="#C7B994"/>
|
|
297
|
+
<path d="M15.0199 14.067L12 11.0656L8.98 14.067L5.96004 11.0656L4.66663 12.3511L8.98 16.6393L12 13.638L15.0199 16.6393L19.3333 12.3511L18.0399 11.0656L15.0199 14.067Z" fill="#C7B994"/>
|
|
298
|
+
</svg>
|
|
299
|
+
`,et=l`<svg fill="none" viewBox="0 0 41 40">
|
|
300
|
+
<g clip-path="url(#a)">
|
|
301
|
+
<path fill="#000" d="M.8 0h40v40H.8z" />
|
|
302
|
+
<path
|
|
303
|
+
fill="#fff"
|
|
304
|
+
d="m22.63 18.46 7.14-8.3h-1.69l-6.2 7.2-4.96-7.2H11.2l7.5 10.9-7.5 8.71h1.7l6.55-7.61 5.23 7.61h5.72l-7.77-11.31Zm-9.13-7.03h2.6l11.98 17.13h-2.6L13.5 11.43Z"
|
|
305
|
+
/>
|
|
306
|
+
</g>
|
|
307
|
+
<defs>
|
|
308
|
+
<clipPath id="a"><path fill="#fff" d="M.8 20a20 20 0 1 1 40 0 20 20 0 0 1-40 0Z" /></clipPath>
|
|
309
|
+
</defs>
|
|
310
|
+
</svg>`;var ot=o`
|
|
311
|
+
:host {
|
|
312
|
+
display: flex;
|
|
313
|
+
justify-content: center;
|
|
314
|
+
align-items: center;
|
|
315
|
+
aspect-ratio: 1 / 1;
|
|
316
|
+
color: var(--local-color);
|
|
317
|
+
width: var(--local-width);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
svg {
|
|
321
|
+
height: inherit;
|
|
322
|
+
width: inherit;
|
|
323
|
+
object-fit: contain;
|
|
324
|
+
object-position: center;
|
|
325
|
+
}
|
|
326
|
+
`,it=function(t,e,o,i){var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};const rt={add:"ph-plus",allWallets:"ph-dots-three",arrowBottom:"ph-arrow-down",arrowBottomCircle:"ph-arrow-circle-down",arrowClockWise:"ph-arrow-clockwise",arrowLeft:"ph-arrow-left",arrowRight:"ph-arrow-right",arrowTop:"ph-arrow-up",arrowTopRight:"ph-arrow-up-right",bank:"ph-bank",bin:"ph-trash",browser:"ph-browser",card:"ph-credit-card",checkmarkBold:"ph-check",chevronBottom:"ph-caret-down",chevronLeft:"ph-caret-left",chevronRight:"ph-caret-right",chevronTop:"ph-caret-up",clock:"ph-clock",close:"ph-x",coinPlaceholder:"ph-circle-half",compass:"ph-compass",copy:"ph-copy",desktop:"ph-desktop",dollar:"ph-currency-dollar",download:"ph-vault",exclamationCircle:"ph-warning-circle",extension:"ph-puzzle-piece",externalLink:"ph-arrow-square-out",filters:"ph-funnel-simple",helpCircle:"ph-question",id:"ph-identification-card",image:"ph-image",info:"ph-info",lightbulb:"ph-lightbulb",mail:"ph-envelope",mobile:"ph-device-mobile",more:"ph-dots-three",networkPlaceholder:"ph-globe",nftPlaceholder:"ph-image",plus:"ph-plus",power:"ph-power",qrCode:"ph-qr-code",questionMark:"ph-question",refresh:"ph-arrow-clockwise",recycleHorizontal:"ph-arrows-clockwise",search:"ph-magnifying-glass",sealCheck:"ph-seal-check",send:"ph-paper-plane-right",signOut:"ph-sign-out",spinner:"ph-spinner",swapHorizontal:"ph-arrows-left-right",swapVertical:"ph-arrows-down-up",threeDots:"ph-dots-three",user:"ph-user",verify:"ph-seal-check",verifyFilled:"ph-seal-check",wallet:"ph-wallet",warning:"ph-warning",warningCircle:"ph-warning-circle",appStore:"",apple:"",bitcoin:"",coins:"",chromeStore:"",cursor:"",discord:"",ethereum:"",etherscan:"",facebook:"",farcaster:"",github:"",google:"",playStore:"",paperPlaneTitle:"",reown:"",solana:"",ton:"",tron:"",telegram:"",twitch:"",twitterIcon:"",twitter:"",walletConnect:"",walletConnectBrown:"",walletConnectLightBrown:"",x:"",infoSeal:"",checkmark:""},at={"ph-arrow-circle-down":()=>import("./PhArrowCircleDown-4a08ae8e.js"),"ph-arrow-clockwise":()=>import("./PhArrowClockwise-401ea1c0.js"),"ph-arrow-down":()=>import("./PhArrowDown-789ae7d2.js"),"ph-arrow-left":()=>import("./PhArrowLeft-2e6d4940.js"),"ph-arrow-right":()=>import("./PhArrowRight-2928b0dc.js"),"ph-arrow-square-out":()=>import("./PhArrowSquareOut-17d61d08.js"),"ph-arrows-down-up":()=>import("./PhArrowsDownUp-ce27c8a7.js"),"ph-arrows-left-right":()=>import("./PhArrowsLeftRight-ed549dc7.js"),"ph-arrow-up":()=>import("./PhArrowUp-1cfcf9df.js"),"ph-arrow-up-right":()=>import("./PhArrowUpRight-552c41cb.js"),"ph-arrows-clockwise":()=>import("./PhArrowsClockwise-92a70162.js"),"ph-bank":()=>import("./PhBank-92a1a1df.js"),"ph-browser":()=>import("./PhBrowser-495dc3ce.js"),"ph-caret-down":()=>import("./PhCaretDown-610f20fc.js"),"ph-caret-left":()=>import("./PhCaretLeft-2a86ee53.js"),"ph-caret-right":()=>import("./PhCaretRight-f3057f58.js"),"ph-caret-up":()=>import("./PhCaretUp-7b74b8cb.js"),"ph-check":()=>import("./PhCheck-c514f32c.js"),"ph-circle-half":()=>import("./PhCircleHalf-3bfd24c9.js"),"ph-clock":()=>import("./PhClock-29284ead.js"),"ph-compass":()=>import("./PhCompass-101d3241.js"),"ph-copy":()=>import("./PhCopy-d92dcd27.js"),"ph-credit-card":()=>import("./PhCreditCard-d8d77fc2.js"),"ph-currency-dollar":()=>import("./PhCurrencyDollar-6553df79.js"),"ph-desktop":()=>import("./PhDesktop-91653c8e.js"),"ph-device-mobile":()=>import("./PhDeviceMobile-0f3d8fa2.js"),"ph-dots-three":()=>import("./PhDotsThree-67debca2.js"),"ph-vault":()=>import("./PhVault-e4d6f9af.js"),"ph-envelope":()=>import("./PhEnvelope-f83faab2.js"),"ph-funnel-simple":()=>import("./PhFunnelSimple-5058af43.js"),"ph-globe":()=>import("./PhGlobe-c4653621.js"),"ph-identification-card":()=>import("./PhIdentificationCard-848bf9a1.js"),"ph-image":()=>import("./PhImage-de71fc6b.js"),"ph-info":()=>import("./PhInfo-9614a766.js"),"ph-lightbulb":()=>import("./PhLightbulb-7d582ae7.js"),"ph-magnifying-glass":()=>import("./PhMagnifyingGlass-c926bd63.js"),"ph-paper-plane-right":()=>import("./PhPaperPlaneRight-76b25832.js"),"ph-plus":()=>import("./PhPlus-767ddc55.js"),"ph-power":()=>import("./PhPower-95f188dd.js"),"ph-puzzle-piece":()=>import("./PhPuzzlePiece-f016afe5.js"),"ph-qr-code":()=>import("./PhQrCode-e9b7ab93.js"),"ph-question":()=>import("./PhQuestion-ea0e639d.js"),"ph-question-circle":()=>import("./PhQuestionMark-13d6338e.js"),"ph-seal-check":()=>import("./PhSealCheck-45bb7b9c.js"),"ph-sign-out":()=>import("./PhSignOut-6b91c59c.js"),"ph-spinner":()=>import("./PhSpinner-eb9b7ac1.js"),"ph-trash":()=>import("./PhTrash-758cc3b3.js"),"ph-user":()=>import("./PhUser-0834861d.js"),"ph-wallet":()=>import("./PhWallet-5e257abe.js"),"ph-warning":()=>import("./PhWarning-6af3740e.js"),"ph-warning-circle":()=>import("./PhWarningCircle-a78fd8e8.js"),"ph-x":()=>import("./PhX-60c46532.js")},nt={appStore:S,apple:L,bitcoin:j,coins:Z,chromeStore:M,cursor:R,discord:A,ethereum:B,etherscan:V,facebook:I,farcaster:O,github:W,google:F,playStore:D,paperPlaneTitle:T,reown:_,solana:U,ton:N,tron:q,telegram:G,twitch:Q,twitter:et,twitterIcon:X,walletConnect:Y,walletConnectInvert:J,walletConnectBrown:tt,walletConnectLightBrown:K,x:et,infoSeal:E,checkmark:H},lt={"accent-primary":s.tokens.core.iconAccentPrimary,"accent-certified":s.tokens.core.iconAccentCertified,"foreground-secondary":s.tokens.theme.foregroundSecondary,default:s.tokens.theme.iconDefault,success:s.tokens.core.iconSuccess,error:s.tokens.core.iconError,warning:s.tokens.core.iconWarning,inverse:s.tokens.theme.iconInverse};let st=class extends r{constructor(){super(...arguments),this.size="md",this.name="copy",this.weight="bold",this.color="inherit"}render(){this.style.cssText=`\n --local-width: ${"inherit"===this.size?"inherit":`var(--apkt-spacing-${{xxs:"2",xs:"3",sm:"3",md:"4",mdl:"5",lg:"5",xl:"6",xxl:"7",inherit:"inherit"}[this.size]})`};\n --local-color: ${"inherit"===this.color?"inherit":lt[this.color]}\n `;const t=rt[this.name];if(t&&""!==t){const e=at[t];e&&e();const o=(t=>({_$litStatic$:t,r:x}))(t);return P`<${o} size=${{xxs:"0.5em",xs:"0.75em",sm:"0.75em",md:"1em",mdl:"1.25em",lg:"1.25em",xl:"1.5em",xxl:"1.75em"}[this.size]} weight="${this.weight}"></${o}>`}return nt[this.name]||P``}};st.styles=[i,ot],it([y()],st.prototype,"size",void 0),it([y()],st.prototype,"name",void 0),it([y()],st.prototype,"weight",void 0),it([y()],st.prototype,"color",void 0),st=it([u("wui-icon")],st);
|
|
327
|
+
/**
|
|
328
|
+
* @license
|
|
329
|
+
* Copyright 2017 Google LLC
|
|
330
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
331
|
+
*/
|
|
332
|
+
const ht={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ct=t=>(...e)=>({_$litDirective$:t,values:e});class dt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
|
|
333
|
+
/**
|
|
334
|
+
* @license
|
|
335
|
+
* Copyright 2018 Google LLC
|
|
336
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
337
|
+
*/const pt=ct(class extends dt{constructor(t){if(super(t),t.type!==ht.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.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.st)t in e||(o.remove(t),this.st.delete(t));for(const t in e){const i=!!e[t];i===this.st.has(t)||this.nt?.has(t)||(i?(o.add(t),this.st.add(t)):(o.remove(t),this.st.delete(t)))}return h}});var gt=c`
|
|
338
|
+
slot {
|
|
339
|
+
width: 100%;
|
|
340
|
+
display: inline-block;
|
|
341
|
+
font-style: normal;
|
|
342
|
+
overflow: inherit;
|
|
343
|
+
text-overflow: inherit;
|
|
344
|
+
text-align: var(--local-align);
|
|
345
|
+
color: var(--local-color);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.wui-line-clamp-1 {
|
|
349
|
+
overflow: hidden;
|
|
350
|
+
display: -webkit-box;
|
|
351
|
+
-webkit-box-orient: vertical;
|
|
352
|
+
-webkit-line-clamp: 1;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.wui-line-clamp-2 {
|
|
356
|
+
overflow: hidden;
|
|
357
|
+
display: -webkit-box;
|
|
358
|
+
-webkit-box-orient: vertical;
|
|
359
|
+
-webkit-line-clamp: 2;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
/* -- Headings --------------------------------------------------- */
|
|
363
|
+
.wui-font-h1-regular-mono {
|
|
364
|
+
font-size: ${({textSize:t})=>t.h1};
|
|
365
|
+
line-height: ${({typography:t})=>t["h1-regular-mono"].lineHeight};
|
|
366
|
+
letter-spacing: ${({typography:t})=>t["h1-regular-mono"].letterSpacing};
|
|
367
|
+
font-weight: ${({fontWeight:t})=>t.regular};
|
|
368
|
+
font-family: ${({fontFamily:t})=>t.mono};
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.wui-font-h1-regular {
|
|
372
|
+
font-size: ${({textSize:t})=>t.h1};
|
|
373
|
+
line-height: ${({typography:t})=>t["h1-regular"].lineHeight};
|
|
374
|
+
letter-spacing: ${({typography:t})=>t["h1-regular"].letterSpacing};
|
|
375
|
+
font-weight: ${({fontWeight:t})=>t.regular};
|
|
376
|
+
font-family: ${({fontFamily:t})=>t.regular};
|
|
377
|
+
font-feature-settings:
|
|
378
|
+
'liga' off,
|
|
379
|
+
'clig' off;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.wui-font-h1-medium {
|
|
383
|
+
font-size: ${({textSize:t})=>t.h1};
|
|
384
|
+
line-height: ${({typography:t})=>t["h1-medium"].lineHeight};
|
|
385
|
+
letter-spacing: ${({typography:t})=>t["h1-medium"].letterSpacing};
|
|
386
|
+
font-weight: ${({fontWeight:t})=>t.medium};
|
|
387
|
+
font-family: ${({fontFamily:t})=>t.regular};
|
|
388
|
+
font-feature-settings:
|
|
389
|
+
'liga' off,
|
|
390
|
+
'clig' off;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.wui-font-h2-regular-mono {
|
|
394
|
+
font-size: ${({textSize:t})=>t.h2};
|
|
395
|
+
line-height: ${({typography:t})=>t["h2-regular-mono"].lineHeight};
|
|
396
|
+
letter-spacing: ${({typography:t})=>t["h2-regular-mono"].letterSpacing};
|
|
397
|
+
font-weight: ${({fontWeight:t})=>t.regular};
|
|
398
|
+
font-family: ${({fontFamily:t})=>t.mono};
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.wui-font-h2-regular {
|
|
402
|
+
font-size: ${({textSize:t})=>t.h2};
|
|
403
|
+
line-height: ${({typography:t})=>t["h2-regular"].lineHeight};
|
|
404
|
+
letter-spacing: ${({typography:t})=>t["h2-regular"].letterSpacing};
|
|
405
|
+
font-weight: ${({fontWeight:t})=>t.regular};
|
|
406
|
+
font-family: ${({fontFamily:t})=>t.regular};
|
|
407
|
+
font-feature-settings:
|
|
408
|
+
'liga' off,
|
|
409
|
+
'clig' off;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.wui-font-h2-medium {
|
|
413
|
+
font-size: ${({textSize:t})=>t.h2};
|
|
414
|
+
line-height: ${({typography:t})=>t["h2-medium"].lineHeight};
|
|
415
|
+
letter-spacing: ${({typography:t})=>t["h2-medium"].letterSpacing};
|
|
416
|
+
font-weight: ${({fontWeight:t})=>t.medium};
|
|
417
|
+
font-family: ${({fontFamily:t})=>t.regular};
|
|
418
|
+
font-feature-settings:
|
|
419
|
+
'liga' off,
|
|
420
|
+
'clig' off;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.wui-font-h3-regular-mono {
|
|
424
|
+
font-size: ${({textSize:t})=>t.h3};
|
|
425
|
+
line-height: ${({typography:t})=>t["h3-regular-mono"].lineHeight};
|
|
426
|
+
letter-spacing: ${({typography:t})=>t["h3-regular-mono"].letterSpacing};
|
|
427
|
+
font-weight: ${({fontWeight:t})=>t.regular};
|
|
428
|
+
font-family: ${({fontFamily:t})=>t.mono};
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.wui-font-h3-regular {
|
|
432
|
+
font-size: ${({textSize:t})=>t.h3};
|
|
433
|
+
line-height: ${({typography:t})=>t["h3-regular"].lineHeight};
|
|
434
|
+
letter-spacing: ${({typography:t})=>t["h3-regular"].letterSpacing};
|
|
435
|
+
font-weight: ${({fontWeight:t})=>t.regular};
|
|
436
|
+
font-family: ${({fontFamily:t})=>t.regular};
|
|
437
|
+
font-feature-settings:
|
|
438
|
+
'liga' off,
|
|
439
|
+
'clig' off;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.wui-font-h3-medium {
|
|
443
|
+
font-size: ${({textSize:t})=>t.h3};
|
|
444
|
+
line-height: ${({typography:t})=>t["h3-medium"].lineHeight};
|
|
445
|
+
letter-spacing: ${({typography:t})=>t["h3-medium"].letterSpacing};
|
|
446
|
+
font-weight: ${({fontWeight:t})=>t.medium};
|
|
447
|
+
font-family: ${({fontFamily:t})=>t.regular};
|
|
448
|
+
font-feature-settings:
|
|
449
|
+
'liga' off,
|
|
450
|
+
'clig' off;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.wui-font-h4-regular-mono {
|
|
454
|
+
font-size: ${({textSize:t})=>t.h4};
|
|
455
|
+
line-height: ${({typography:t})=>t["h4-regular-mono"].lineHeight};
|
|
456
|
+
letter-spacing: ${({typography:t})=>t["h4-regular-mono"].letterSpacing};
|
|
457
|
+
font-weight: ${({fontWeight:t})=>t.regular};
|
|
458
|
+
font-family: ${({fontFamily:t})=>t.mono};
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
.wui-font-h4-regular {
|
|
462
|
+
font-size: ${({textSize:t})=>t.h4};
|
|
463
|
+
line-height: ${({typography:t})=>t["h4-regular"].lineHeight};
|
|
464
|
+
letter-spacing: ${({typography:t})=>t["h4-regular"].letterSpacing};
|
|
465
|
+
font-weight: ${({fontWeight:t})=>t.regular};
|
|
466
|
+
font-family: ${({fontFamily:t})=>t.regular};
|
|
467
|
+
font-feature-settings:
|
|
468
|
+
'liga' off,
|
|
469
|
+
'clig' off;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.wui-font-h4-medium {
|
|
473
|
+
font-size: ${({textSize:t})=>t.h4};
|
|
474
|
+
line-height: ${({typography:t})=>t["h4-medium"].lineHeight};
|
|
475
|
+
letter-spacing: ${({typography:t})=>t["h4-medium"].letterSpacing};
|
|
476
|
+
font-weight: ${({fontWeight:t})=>t.medium};
|
|
477
|
+
font-family: ${({fontFamily:t})=>t.regular};
|
|
478
|
+
font-feature-settings:
|
|
479
|
+
'liga' off,
|
|
480
|
+
'clig' off;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.wui-font-h5-regular-mono {
|
|
484
|
+
font-size: ${({textSize:t})=>t.h5};
|
|
485
|
+
line-height: ${({typography:t})=>t["h5-regular-mono"].lineHeight};
|
|
486
|
+
letter-spacing: ${({typography:t})=>t["h5-regular-mono"].letterSpacing};
|
|
487
|
+
font-weight: ${({fontWeight:t})=>t.regular};
|
|
488
|
+
font-family: ${({fontFamily:t})=>t.mono};
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.wui-font-h5-regular {
|
|
492
|
+
font-size: ${({textSize:t})=>t.h5};
|
|
493
|
+
line-height: ${({typography:t})=>t["h5-regular"].lineHeight};
|
|
494
|
+
letter-spacing: ${({typography:t})=>t["h5-regular"].letterSpacing};
|
|
495
|
+
font-weight: ${({fontWeight:t})=>t.regular};
|
|
496
|
+
font-family: ${({fontFamily:t})=>t.regular};
|
|
497
|
+
font-feature-settings:
|
|
498
|
+
'liga' off,
|
|
499
|
+
'clig' off;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.wui-font-h5-medium {
|
|
503
|
+
font-size: ${({textSize:t})=>t.h5};
|
|
504
|
+
line-height: ${({typography:t})=>t["h5-medium"].lineHeight};
|
|
505
|
+
letter-spacing: ${({typography:t})=>t["h5-medium"].letterSpacing};
|
|
506
|
+
font-weight: ${({fontWeight:t})=>t.medium};
|
|
507
|
+
font-family: ${({fontFamily:t})=>t.regular};
|
|
508
|
+
font-feature-settings:
|
|
509
|
+
'liga' off,
|
|
510
|
+
'clig' off;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.wui-font-h6-regular-mono {
|
|
514
|
+
font-size: ${({textSize:t})=>t.h6};
|
|
515
|
+
line-height: ${({typography:t})=>t["h6-regular-mono"].lineHeight};
|
|
516
|
+
letter-spacing: ${({typography:t})=>t["h6-regular-mono"].letterSpacing};
|
|
517
|
+
font-weight: ${({fontWeight:t})=>t.regular};
|
|
518
|
+
font-family: ${({fontFamily:t})=>t.mono};
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
.wui-font-h6-regular {
|
|
522
|
+
font-size: ${({textSize:t})=>t.h6};
|
|
523
|
+
line-height: ${({typography:t})=>t["h6-regular"].lineHeight};
|
|
524
|
+
letter-spacing: ${({typography:t})=>t["h6-regular"].letterSpacing};
|
|
525
|
+
font-weight: ${({fontWeight:t})=>t.regular};
|
|
526
|
+
font-family: ${({fontFamily:t})=>t.regular};
|
|
527
|
+
font-feature-settings:
|
|
528
|
+
'liga' off,
|
|
529
|
+
'clig' off;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
.wui-font-h6-medium {
|
|
533
|
+
font-size: ${({textSize:t})=>t.h6};
|
|
534
|
+
line-height: ${({typography:t})=>t["h6-medium"].lineHeight};
|
|
535
|
+
letter-spacing: ${({typography:t})=>t["h6-medium"].letterSpacing};
|
|
536
|
+
font-weight: ${({fontWeight:t})=>t.medium};
|
|
537
|
+
font-family: ${({fontFamily:t})=>t.regular};
|
|
538
|
+
font-feature-settings:
|
|
539
|
+
'liga' off,
|
|
540
|
+
'clig' off;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.wui-font-lg-regular-mono {
|
|
544
|
+
font-size: ${({textSize:t})=>t.large};
|
|
545
|
+
line-height: ${({typography:t})=>t["lg-regular-mono"].lineHeight};
|
|
546
|
+
letter-spacing: ${({typography:t})=>t["lg-regular-mono"].letterSpacing};
|
|
547
|
+
font-weight: ${({fontWeight:t})=>t.regular};
|
|
548
|
+
font-family: ${({fontFamily:t})=>t.mono};
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.wui-font-lg-regular {
|
|
552
|
+
font-size: ${({textSize:t})=>t.large};
|
|
553
|
+
line-height: ${({typography:t})=>t["lg-regular"].lineHeight};
|
|
554
|
+
letter-spacing: ${({typography:t})=>t["lg-regular"].letterSpacing};
|
|
555
|
+
font-weight: ${({fontWeight:t})=>t.regular};
|
|
556
|
+
font-family: ${({fontFamily:t})=>t.regular};
|
|
557
|
+
font-feature-settings:
|
|
558
|
+
'liga' off,
|
|
559
|
+
'clig' off;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
.wui-font-lg-medium {
|
|
563
|
+
font-size: ${({textSize:t})=>t.large};
|
|
564
|
+
line-height: ${({typography:t})=>t["lg-medium"].lineHeight};
|
|
565
|
+
letter-spacing: ${({typography:t})=>t["lg-medium"].letterSpacing};
|
|
566
|
+
font-weight: ${({fontWeight:t})=>t.medium};
|
|
567
|
+
font-family: ${({fontFamily:t})=>t.regular};
|
|
568
|
+
font-feature-settings:
|
|
569
|
+
'liga' off,
|
|
570
|
+
'clig' off;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
.wui-font-md-regular-mono {
|
|
574
|
+
font-size: ${({textSize:t})=>t.medium};
|
|
575
|
+
line-height: ${({typography:t})=>t["md-regular-mono"].lineHeight};
|
|
576
|
+
letter-spacing: ${({typography:t})=>t["md-regular-mono"].letterSpacing};
|
|
577
|
+
font-weight: ${({fontWeight:t})=>t.regular};
|
|
578
|
+
font-family: ${({fontFamily:t})=>t.mono};
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
.wui-font-md-regular {
|
|
582
|
+
font-size: ${({textSize:t})=>t.medium};
|
|
583
|
+
line-height: ${({typography:t})=>t["md-regular"].lineHeight};
|
|
584
|
+
letter-spacing: ${({typography:t})=>t["md-regular"].letterSpacing};
|
|
585
|
+
font-weight: ${({fontWeight:t})=>t.regular};
|
|
586
|
+
font-family: ${({fontFamily:t})=>t.regular};
|
|
587
|
+
font-feature-settings:
|
|
588
|
+
'liga' off,
|
|
589
|
+
'clig' off;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
.wui-font-md-medium {
|
|
593
|
+
font-size: ${({textSize:t})=>t.medium};
|
|
594
|
+
line-height: ${({typography:t})=>t["md-medium"].lineHeight};
|
|
595
|
+
letter-spacing: ${({typography:t})=>t["md-medium"].letterSpacing};
|
|
596
|
+
font-weight: ${({fontWeight:t})=>t.medium};
|
|
597
|
+
font-family: ${({fontFamily:t})=>t.regular};
|
|
598
|
+
font-feature-settings:
|
|
599
|
+
'liga' off,
|
|
600
|
+
'clig' off;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.wui-font-sm-regular-mono {
|
|
604
|
+
font-size: ${({textSize:t})=>t.small};
|
|
605
|
+
line-height: ${({typography:t})=>t["sm-regular-mono"].lineHeight};
|
|
606
|
+
letter-spacing: ${({typography:t})=>t["sm-regular-mono"].letterSpacing};
|
|
607
|
+
font-weight: ${({fontWeight:t})=>t.regular};
|
|
608
|
+
font-family: ${({fontFamily:t})=>t.mono};
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
.wui-font-sm-regular {
|
|
612
|
+
font-size: ${({textSize:t})=>t.small};
|
|
613
|
+
line-height: ${({typography:t})=>t["sm-regular"].lineHeight};
|
|
614
|
+
letter-spacing: ${({typography:t})=>t["sm-regular"].letterSpacing};
|
|
615
|
+
font-weight: ${({fontWeight:t})=>t.regular};
|
|
616
|
+
font-family: ${({fontFamily:t})=>t.regular};
|
|
617
|
+
font-feature-settings:
|
|
618
|
+
'liga' off,
|
|
619
|
+
'clig' off;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
.wui-font-sm-medium {
|
|
623
|
+
font-size: ${({textSize:t})=>t.small};
|
|
624
|
+
line-height: ${({typography:t})=>t["sm-medium"].lineHeight};
|
|
625
|
+
letter-spacing: ${({typography:t})=>t["sm-medium"].letterSpacing};
|
|
626
|
+
font-weight: ${({fontWeight:t})=>t.medium};
|
|
627
|
+
font-family: ${({fontFamily:t})=>t.regular};
|
|
628
|
+
font-feature-settings:
|
|
629
|
+
'liga' off,
|
|
630
|
+
'clig' off;
|
|
631
|
+
}
|
|
632
|
+
`,ut=function(t,e,o,i){var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};const ft={primary:s.tokens.theme.textPrimary,secondary:s.tokens.theme.textSecondary,tertiary:s.tokens.theme.textTertiary,invert:s.tokens.theme.textInvert,error:s.tokens.core.textError,success:s.tokens.core.textSuccess,warning:s.tokens.core.textWarning,"accent-primary":s.tokens.core.textAccentPrimary};let mt=class extends r{constructor(){super(...arguments),this.variant="md-regular",this.color="inherit",this.align="left",this.lineClamp=void 0,this.display="inline-flex"}render(){const t={[`wui-font-${this.variant}`]:!0,[`wui-line-clamp-${this.lineClamp}`]:!!this.lineClamp};return this.style.cssText=`\n display: ${this.display};\n --local-align: ${this.align};\n --local-color: ${"inherit"===this.color?"inherit":ft[this.color??"primary"]};\n `,a`<slot class=${pt(t)}></slot>`}};mt.styles=[i,gt],ut([y()],mt.prototype,"variant",void 0),ut([y()],mt.prototype,"color",void 0),ut([y()],mt.prototype,"align",void 0),ut([y()],mt.prototype,"lineClamp",void 0),ut([y()],mt.prototype,"display",void 0),mt=ut([u("wui-text")],mt);var yt=c`
|
|
633
|
+
:host {
|
|
634
|
+
display: inline-flex;
|
|
635
|
+
justify-content: center;
|
|
636
|
+
align-items: center;
|
|
637
|
+
border-radius: ${({borderRadius:t})=>t[2]};
|
|
638
|
+
padding: ${({spacing:t})=>t[1]} !important;
|
|
639
|
+
background-color: ${({tokens:t})=>t.theme.backgroundPrimary};
|
|
640
|
+
position: relative;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
:host([data-padding='2']) {
|
|
644
|
+
padding: ${({spacing:t})=>t[2]} !important;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
:host:after {
|
|
648
|
+
content: '';
|
|
649
|
+
position: absolute;
|
|
650
|
+
top: 0;
|
|
651
|
+
left: 0;
|
|
652
|
+
width: 100%;
|
|
653
|
+
height: 100%;
|
|
654
|
+
border-radius: ${({borderRadius:t})=>t[2]};
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
:host > wui-icon {
|
|
658
|
+
z-index: 10;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
/* -- Colors --------------------------------------------------- */
|
|
662
|
+
:host([data-color='accent-primary']) {
|
|
663
|
+
color: ${({tokens:t})=>t.core.iconAccentPrimary};
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
:host([data-color='accent-primary']):after {
|
|
667
|
+
background-color: ${({tokens:t})=>t.core.foregroundAccent010};
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
:host([data-color='default']),
|
|
671
|
+
:host([data-color='secondary']) {
|
|
672
|
+
color: ${({tokens:t})=>t.theme.iconDefault};
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
:host([data-color='default']):after {
|
|
676
|
+
background-color: ${({tokens:t})=>t.theme.foregroundPrimary};
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
:host([data-color='secondary']):after {
|
|
680
|
+
background-color: ${({tokens:t})=>t.theme.foregroundSecondary};
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
:host([data-color='success']) {
|
|
684
|
+
color: ${({tokens:t})=>t.core.iconSuccess};
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
:host([data-color='success']):after {
|
|
688
|
+
background-color: ${({tokens:t})=>t.core.backgroundSuccess};
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
:host([data-color='error']) {
|
|
692
|
+
color: ${({tokens:t})=>t.core.iconError};
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
:host([data-color='error']):after {
|
|
696
|
+
background-color: ${({tokens:t})=>t.core.backgroundError};
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
:host([data-color='warning']) {
|
|
700
|
+
color: ${({tokens:t})=>t.core.iconWarning};
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
:host([data-color='warning']):after {
|
|
704
|
+
background-color: ${({tokens:t})=>t.core.backgroundWarning};
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
:host([data-color='inverse']) {
|
|
708
|
+
color: ${({tokens:t})=>t.theme.iconInverse};
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
:host([data-color='inverse']):after {
|
|
712
|
+
background-color: transparent;
|
|
713
|
+
}
|
|
714
|
+
`,wt=function(t,e,o,i){var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};let vt=class extends r{constructor(){super(...arguments),this.icon="copy",this.size="md",this.padding="1",this.color="default"}render(){return this.dataset.padding=this.padding,this.dataset.color=this.color,a`
|
|
715
|
+
<wui-icon size=${$(this.size)} name=${this.icon} color="inherit"></wui-icon>
|
|
716
|
+
`}};vt.styles=[i,d,yt],wt([y()],vt.prototype,"icon",void 0),wt([y()],vt.prototype,"size",void 0),wt([y()],vt.prototype,"padding",void 0),wt([y()],vt.prototype,"color",void 0),vt=wt([u("wui-icon-box")],vt);var bt=c`
|
|
717
|
+
:host {
|
|
718
|
+
display: block;
|
|
719
|
+
width: var(--local-width);
|
|
720
|
+
height: var(--local-height);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
img {
|
|
724
|
+
display: block;
|
|
725
|
+
width: 100%;
|
|
726
|
+
height: 100%;
|
|
727
|
+
object-fit: cover;
|
|
728
|
+
object-position: center center;
|
|
729
|
+
border-radius: inherit;
|
|
730
|
+
user-select: none;
|
|
731
|
+
user-drag: none;
|
|
732
|
+
-webkit-user-drag: none;
|
|
733
|
+
-khtml-user-drag: none;
|
|
734
|
+
-moz-user-drag: none;
|
|
735
|
+
-o-user-drag: none;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
:host([data-boxed='true']) {
|
|
739
|
+
width: 40px;
|
|
740
|
+
height: 40px;
|
|
741
|
+
display: flex;
|
|
742
|
+
align-items: center;
|
|
743
|
+
justify-content: center;
|
|
744
|
+
background-color: ${({tokens:t})=>t.theme.foregroundPrimary};
|
|
745
|
+
border-radius: ${({borderRadius:t})=>t[2]};
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
:host([data-boxed='true']) img {
|
|
749
|
+
width: 20px;
|
|
750
|
+
height: 20px;
|
|
751
|
+
border-radius: ${({borderRadius:t})=>t[16]};
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
:host([data-full='true']) img {
|
|
755
|
+
width: 100%;
|
|
756
|
+
height: 100%;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
:host([data-boxed='true']) wui-icon {
|
|
760
|
+
width: 20px;
|
|
761
|
+
height: 20px;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
:host([data-icon='error']) {
|
|
765
|
+
background-color: ${({tokens:t})=>t.core.backgroundError};
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
:host([data-rounded='true']) {
|
|
769
|
+
border-radius: ${({borderRadius:t})=>t[16]};
|
|
770
|
+
}
|
|
771
|
+
`,Ct=function(t,e,o,i){var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};let $t=class extends r{constructor(){super(...arguments),this.src="./path/to/image.jpg",this.alt="Image",this.size=void 0,this.boxed=!1,this.rounded=!1,this.fullSize=!1}render(){const t={inherit:"inherit",xxs:"2",xs:"3",sm:"4",md:"4",mdl:"5",lg:"5",xl:"6",xxl:"7","3xl":"8","4xl":"9","5xl":"10"};return this.style.cssText=`\n --local-width: ${this.size?`var(--apkt-spacing-${t[this.size]});`:"100%"};\n --local-height: ${this.size?`var(--apkt-spacing-${t[this.size]});`:"100%"};\n `,this.dataset.boxed=this.boxed?"true":"false",this.dataset.rounded=this.rounded?"true":"false",this.dataset.full=this.fullSize?"true":"false",this.dataset.icon=this.iconColor||"inherit",this.icon?a`<wui-icon
|
|
772
|
+
color=${this.iconColor||"inherit"}
|
|
773
|
+
name=${this.icon}
|
|
774
|
+
size="lg"
|
|
775
|
+
></wui-icon> `:this.logo?a`<wui-icon size="lg" color="inherit" name=${this.logo}></wui-icon> `:a`<img src=${$(this.src)} alt=${this.alt} @error=${this.handleImageError} />`}handleImageError(){this.dispatchEvent(new CustomEvent("onLoadError",{bubbles:!0,composed:!0}))}};$t.styles=[i,bt],Ct([y()],$t.prototype,"src",void 0),Ct([y()],$t.prototype,"logo",void 0),Ct([y()],$t.prototype,"icon",void 0),Ct([y()],$t.prototype,"iconColor",void 0),Ct([y()],$t.prototype,"alt",void 0),Ct([y()],$t.prototype,"size",void 0),Ct([y({type:Boolean})],$t.prototype,"boxed",void 0),Ct([y({type:Boolean})],$t.prototype,"rounded",void 0),Ct([y({type:Boolean})],$t.prototype,"fullSize",void 0),$t=Ct([u("wui-image")],$t);var xt=c`
|
|
776
|
+
:host {
|
|
777
|
+
position: relative;
|
|
778
|
+
background-color: ${({tokens:t})=>t.theme.foregroundTertiary};
|
|
779
|
+
display: flex;
|
|
780
|
+
justify-content: center;
|
|
781
|
+
align-items: center;
|
|
782
|
+
border-radius: inherit;
|
|
783
|
+
border-radius: var(--local-border-radius);
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
:host([data-image='true']) {
|
|
787
|
+
background-color: transparent;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
:host > wui-flex {
|
|
791
|
+
overflow: hidden;
|
|
792
|
+
border-radius: inherit;
|
|
793
|
+
border-radius: var(--local-border-radius);
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
:host([data-size='sm']) {
|
|
797
|
+
width: 32px;
|
|
798
|
+
height: 32px;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
:host([data-size='md']) {
|
|
802
|
+
width: 40px;
|
|
803
|
+
height: 40px;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
:host([data-size='lg']) {
|
|
807
|
+
width: 56px;
|
|
808
|
+
height: 56px;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
:host([name='Extension'])::after {
|
|
812
|
+
border: 1px solid ${({colors:t})=>t.accent010};
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
:host([data-wallet-icon='allWallets'])::after {
|
|
816
|
+
border: 1px solid ${({colors:t})=>t.accent010};
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
wui-icon[data-parent-size='inherit'] {
|
|
820
|
+
width: 75%;
|
|
821
|
+
height: 75%;
|
|
822
|
+
align-items: center;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
wui-icon {
|
|
826
|
+
color: ${({tokens:t})=>t.theme.iconDefault};
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
wui-icon[data-parent-size='sm'] {
|
|
830
|
+
width: 24px;
|
|
831
|
+
height: 24px;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
wui-icon[data-parent-size='md'] {
|
|
835
|
+
width: 32px;
|
|
836
|
+
height: 32px;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
:host > wui-icon-box {
|
|
840
|
+
position: absolute;
|
|
841
|
+
overflow: hidden;
|
|
842
|
+
right: -1px;
|
|
843
|
+
bottom: -2px;
|
|
844
|
+
z-index: 1;
|
|
845
|
+
border: 2px solid ${({tokens:t})=>t.theme.backgroundPrimary};
|
|
846
|
+
padding: 1px;
|
|
847
|
+
}
|
|
848
|
+
`,kt=function(t,e,o,i){var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};let zt=class extends r{constructor(){super(...arguments),this.size="md",this.name="",this.installed=!1,this.badgeSize="xs"}render(){let t="1";return"lg"===this.size?t="4":"md"===this.size?t="2":"sm"===this.size&&(t="1"),this.style.cssText=`\n --local-border-radius: var(--apkt-borderRadius-${t});\n `,this.dataset.size=this.size,this.imageSrc&&(this.dataset.image="true"),this.walletIcon&&(this.dataset.walletIcon=this.walletIcon),a`
|
|
849
|
+
<wui-flex justifyContent="center" alignItems="center"> ${this.templateVisual()} </wui-flex>
|
|
850
|
+
`}templateVisual(){return this.imageSrc?a`<wui-image src=${this.imageSrc} alt=${this.name}></wui-image>`:this.walletIcon?a`<wui-icon size="md" color="default" name=${this.walletIcon}></wui-icon>`:a`<wui-icon
|
|
851
|
+
data-parent-size=${this.size}
|
|
852
|
+
size="inherit"
|
|
853
|
+
color="inherit"
|
|
854
|
+
name="wallet"
|
|
855
|
+
></wui-icon>`}};zt.styles=[i,xt],kt([y()],zt.prototype,"size",void 0),kt([y()],zt.prototype,"name",void 0),kt([y()],zt.prototype,"imageSrc",void 0),kt([y()],zt.prototype,"walletIcon",void 0),kt([y({type:Boolean})],zt.prototype,"installed",void 0),kt([y()],zt.prototype,"badgeSize",void 0),zt=kt([u("wui-wallet-image")],zt);var Pt=c`
|
|
856
|
+
:host {
|
|
857
|
+
position: relative;
|
|
858
|
+
border-radius: ${({borderRadius:t})=>t[2]};
|
|
859
|
+
width: 40px;
|
|
860
|
+
height: 40px;
|
|
861
|
+
overflow: hidden;
|
|
862
|
+
background: ${({tokens:t})=>t.theme.foregroundPrimary};
|
|
863
|
+
display: flex;
|
|
864
|
+
justify-content: center;
|
|
865
|
+
align-items: center;
|
|
866
|
+
flex-wrap: wrap;
|
|
867
|
+
column-gap: ${({spacing:t})=>t[1]};
|
|
868
|
+
padding: ${({spacing:t})=>t[1]};
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
:host > wui-wallet-image {
|
|
872
|
+
width: 14px;
|
|
873
|
+
height: 14px;
|
|
874
|
+
border-radius: 2px;
|
|
875
|
+
}
|
|
876
|
+
`,St=function(t,e,o,i){var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};let Lt=class extends r{constructor(){super(...arguments),this.walletImages=[]}render(){const t=this.walletImages.length<4;return a`${this.walletImages.slice(0,4).map((({src:t,walletName:e})=>a`
|
|
877
|
+
<wui-wallet-image
|
|
878
|
+
size="sm"
|
|
879
|
+
imageSrc=${t}
|
|
880
|
+
name=${$(e)}
|
|
881
|
+
></wui-wallet-image>
|
|
882
|
+
`))}
|
|
883
|
+
${t?[...Array(4-this.walletImages.length)].map((()=>a` <wui-wallet-image size="sm" name=""></wui-wallet-image>`)):null} `}};Lt.styles=[i,Pt],St([y({type:Array})],Lt.prototype,"walletImages",void 0),Lt=St([u("wui-all-wallets-image")],Lt);var jt=c`
|
|
884
|
+
:host {
|
|
885
|
+
display: flex;
|
|
886
|
+
justify-content: center;
|
|
887
|
+
align-items: center;
|
|
888
|
+
gap: ${({spacing:t})=>t[1]};
|
|
889
|
+
text-transform: uppercase;
|
|
890
|
+
white-space: nowrap;
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
:host([data-variant='accent']) {
|
|
894
|
+
background-color: ${({tokens:t})=>t.core.foregroundAccent010};
|
|
895
|
+
color: ${({tokens:t})=>t.core.textAccentPrimary};
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
:host([data-variant='info']) {
|
|
899
|
+
background-color: ${({tokens:t})=>t.theme.foregroundSecondary};
|
|
900
|
+
color: ${({tokens:t})=>t.theme.textSecondary};
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
:host([data-variant='success']) {
|
|
904
|
+
background-color: ${({tokens:t})=>t.core.backgroundSuccess};
|
|
905
|
+
color: ${({tokens:t})=>t.core.textSuccess};
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
:host([data-variant='warning']) {
|
|
909
|
+
background-color: ${({tokens:t})=>t.core.backgroundWarning};
|
|
910
|
+
color: ${({tokens:t})=>t.core.textWarning};
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
:host([data-variant='error']) {
|
|
914
|
+
background-color: ${({tokens:t})=>t.core.backgroundError};
|
|
915
|
+
color: ${({tokens:t})=>t.core.textError};
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
:host([data-variant='certified']) {
|
|
919
|
+
background-color: ${({tokens:t})=>t.theme.foregroundSecondary};
|
|
920
|
+
color: ${({tokens:t})=>t.theme.textSecondary};
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
:host([data-size='md']) {
|
|
924
|
+
height: 30px;
|
|
925
|
+
padding: 0 ${({spacing:t})=>t[2]};
|
|
926
|
+
border-radius: ${({borderRadius:t})=>t[2]};
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
:host([data-size='sm']) {
|
|
930
|
+
height: 20px;
|
|
931
|
+
padding: 0 ${({spacing:t})=>t[1]};
|
|
932
|
+
border-radius: ${({borderRadius:t})=>t[1]};
|
|
933
|
+
}
|
|
934
|
+
`,Ht=function(t,e,o,i){var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};let Mt=class extends r{constructor(){super(...arguments),this.variant="accent",this.size="md",this.icon=void 0}render(){this.dataset.variant=this.variant,this.dataset.size=this.size;const t="md"===this.size?"md-medium":"sm-medium",e="md"===this.size?"md":"sm";return a`
|
|
935
|
+
${this.icon?a`<wui-icon size=${e} name=${this.icon}></wui-icon>`:null}
|
|
936
|
+
<wui-text
|
|
937
|
+
display="inline"
|
|
938
|
+
data-variant=${this.variant}
|
|
939
|
+
variant=${t}
|
|
940
|
+
color="inherit"
|
|
941
|
+
>
|
|
942
|
+
<slot></slot>
|
|
943
|
+
</wui-text>
|
|
944
|
+
`}};Mt.styles=[i,jt],Ht([y()],Mt.prototype,"variant",void 0),Ht([y()],Mt.prototype,"size",void 0),Ht([y()],Mt.prototype,"icon",void 0),Mt=Ht([u("wui-tag")],Mt);var Zt=c`
|
|
945
|
+
:host {
|
|
946
|
+
width: 100%;
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
button {
|
|
950
|
+
column-gap: ${({spacing:t})=>t[2]};
|
|
951
|
+
padding: ${({spacing:t})=>t[3]};
|
|
952
|
+
width: 100%;
|
|
953
|
+
background-color: transparent;
|
|
954
|
+
border-radius: ${({borderRadius:t})=>t[4]};
|
|
955
|
+
color: ${({tokens:t})=>t.theme.textPrimary};
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
button > wui-wallet-image {
|
|
959
|
+
background: ${({tokens:t})=>t.theme.foregroundSecondary};
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
button > wui-text:nth-child(2) {
|
|
963
|
+
display: flex;
|
|
964
|
+
flex: 1;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
button:hover:enabled {
|
|
968
|
+
background-color: ${({tokens:t})=>t.theme.foregroundPrimary};
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
button[data-all-wallets='true'] {
|
|
972
|
+
background-color: ${({tokens:t})=>t.theme.foregroundPrimary};
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
button[data-all-wallets='true']:hover:enabled {
|
|
976
|
+
background-color: ${({tokens:t})=>t.theme.foregroundSecondary};
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
button:focus-visible:enabled {
|
|
980
|
+
background-color: ${({tokens:t})=>t.theme.foregroundPrimary};
|
|
981
|
+
box-shadow: 0 0 0 4px ${({tokens:t})=>t.core.foregroundAccent020};
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
button:disabled {
|
|
985
|
+
background-color: ${({tokens:t})=>t.theme.foregroundPrimary};
|
|
986
|
+
opacity: 0.5;
|
|
987
|
+
cursor: not-allowed;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
button:disabled > wui-tag {
|
|
991
|
+
background-color: ${({tokens:t})=>t.core.glass010};
|
|
992
|
+
color: ${({tokens:t})=>t.theme.foregroundTertiary};
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
wui-flex.namespace-icon {
|
|
996
|
+
width: 16px;
|
|
997
|
+
height: 16px;
|
|
998
|
+
border-radius: ${({borderRadius:t})=>t.round};
|
|
999
|
+
background-color: ${({tokens:t})=>t.theme.foregroundSecondary};
|
|
1000
|
+
box-shadow: 0 0 0 2px ${({tokens:t})=>t.theme.backgroundPrimary};
|
|
1001
|
+
transition: box-shadow var(--apkt-durations-lg) var(--apkt-easings-ease-out-power-2);
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
button:hover:enabled wui-flex.namespace-icon {
|
|
1005
|
+
box-shadow: 0 0 0 2px ${({tokens:t})=>t.theme.foregroundPrimary};
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
wui-flex.namespace-icon > wui-icon {
|
|
1009
|
+
width: 10px;
|
|
1010
|
+
height: 10px;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
wui-flex.namespace-icon:not(:first-child) {
|
|
1014
|
+
margin-left: -4px;
|
|
1015
|
+
}
|
|
1016
|
+
`,Rt=function(t,e,o,i){var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};const At={eip155:"ethereum",solana:"solana",bip122:"bitcoin",polkadot:void 0,cosmos:void 0,sui:void 0,stacks:void 0,ton:"ton",tron:"tron"};let Bt=class extends r{constructor(){super(...arguments),this.walletImages=[],this.imageSrc="",this.name="",this.size="md",this.tabIdx=void 0,this.namespaces=[],this.disabled=!1,this.showAllWallets=!1,this.loading=!1,this.loadingSpinnerColor="accent-100"}render(){return this.dataset.size=this.size,a`
|
|
1017
|
+
<button
|
|
1018
|
+
?disabled=${this.disabled}
|
|
1019
|
+
data-all-wallets=${this.showAllWallets}
|
|
1020
|
+
tabindex=${$(this.tabIdx)}
|
|
1021
|
+
>
|
|
1022
|
+
${this.templateAllWallets()} ${this.templateWalletImage()}
|
|
1023
|
+
<wui-flex flexDirection="column" justifyContent="center" alignItems="flex-start" gap="1">
|
|
1024
|
+
<wui-text variant="lg-regular" color="inherit">${this.name}</wui-text>
|
|
1025
|
+
${this.templateNamespaces()}
|
|
1026
|
+
</wui-flex>
|
|
1027
|
+
${this.templateStatus()}
|
|
1028
|
+
<wui-icon name="chevronRight" size="lg" color="default"></wui-icon>
|
|
1029
|
+
</button>
|
|
1030
|
+
`}templateNamespaces(){return this.namespaces?.length?a`<wui-flex alignItems="center" gap="0">
|
|
1031
|
+
${this.namespaces.map(((t,e)=>a`<wui-flex
|
|
1032
|
+
alignItems="center"
|
|
1033
|
+
justifyContent="center"
|
|
1034
|
+
zIndex=${2*(this.namespaces?.length??0)-e}
|
|
1035
|
+
class="namespace-icon"
|
|
1036
|
+
>
|
|
1037
|
+
<wui-icon
|
|
1038
|
+
name=${$(At[t])}
|
|
1039
|
+
size="sm"
|
|
1040
|
+
color="default"
|
|
1041
|
+
></wui-icon>
|
|
1042
|
+
</wui-flex>`))}
|
|
1043
|
+
</wui-flex>`:null}templateAllWallets(){return this.showAllWallets&&this.imageSrc?a` <wui-all-wallets-image .imageeSrc=${this.imageSrc}> </wui-all-wallets-image> `:this.showAllWallets&&this.walletIcon?a` <wui-wallet-image .walletIcon=${this.walletIcon} size="sm"> </wui-wallet-image> `:null}templateWalletImage(){return!this.showAllWallets&&this.imageSrc?a`<wui-wallet-image
|
|
1044
|
+
size=${$("sm"===this.size?"sm":"md")}
|
|
1045
|
+
imageSrc=${this.imageSrc}
|
|
1046
|
+
name=${this.name}
|
|
1047
|
+
></wui-wallet-image>`:this.showAllWallets||this.imageSrc?null:a`<wui-wallet-image size="sm" name=${this.name}></wui-wallet-image>`}templateStatus(){return this.loading?a`<wui-loading-spinner size="lg" color="accent-primary"></wui-loading-spinner>`:this.tagLabel&&this.tagVariant?a`<wui-tag size="sm" variant=${this.tagVariant}>${this.tagLabel}</wui-tag>`:null}};Bt.styles=[i,d,Zt],Rt([y({type:Array})],Bt.prototype,"walletImages",void 0),Rt([y()],Bt.prototype,"imageSrc",void 0),Rt([y()],Bt.prototype,"name",void 0),Rt([y()],Bt.prototype,"size",void 0),Rt([y()],Bt.prototype,"tagLabel",void 0),Rt([y()],Bt.prototype,"tagVariant",void 0),Rt([y()],Bt.prototype,"walletIcon",void 0),Rt([y()],Bt.prototype,"tabIdx",void 0),Rt([y({type:Array})],Bt.prototype,"namespaces",void 0),Rt([y({type:Boolean})],Bt.prototype,"disabled",void 0),Rt([y({type:Boolean})],Bt.prototype,"showAllWallets",void 0),Rt([y({type:Boolean})],Bt.prototype,"loading",void 0),Rt([y({type:String})],Bt.prototype,"loadingSpinnerColor",void 0),Bt=Rt([u("wui-list-wallet")],Bt);var Vt=o`
|
|
1048
|
+
:host {
|
|
1049
|
+
display: flex;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
:host([data-size='sm']) > svg {
|
|
1053
|
+
width: 12px;
|
|
1054
|
+
height: 12px;
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
:host([data-size='md']) > svg {
|
|
1058
|
+
width: 16px;
|
|
1059
|
+
height: 16px;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
:host([data-size='lg']) > svg {
|
|
1063
|
+
width: 24px;
|
|
1064
|
+
height: 24px;
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
:host([data-size='xl']) > svg {
|
|
1068
|
+
width: 32px;
|
|
1069
|
+
height: 32px;
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
svg {
|
|
1073
|
+
animation: rotate 1.4s linear infinite;
|
|
1074
|
+
color: var(--local-color);
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
:host([data-size='md']) > svg > circle {
|
|
1078
|
+
stroke-width: 6px;
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
:host([data-size='sm']) > svg > circle {
|
|
1082
|
+
stroke-width: 8px;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
@keyframes rotate {
|
|
1086
|
+
100% {
|
|
1087
|
+
transform: rotate(360deg);
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
`,It=function(t,e,o,i){var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};let Ot=class extends r{constructor(){super(...arguments),this.color="primary",this.size="lg"}render(){const t={primary:s.tokens.theme.textPrimary,secondary:s.tokens.theme.textSecondary,tertiary:s.tokens.theme.textTertiary,invert:s.tokens.theme.textInvert,error:s.tokens.core.textError,warning:s.tokens.core.textWarning,"accent-primary":s.tokens.core.textAccentPrimary};return this.style.cssText=`\n --local-color: ${"inherit"===this.color?"inherit":t[this.color]};\n `,this.dataset.size=this.size,a`<svg viewBox="0 0 16 17" fill="none">
|
|
1091
|
+
<path
|
|
1092
|
+
d="M8.75 2.65625V4.65625C8.75 4.85516 8.67098 5.04593 8.53033 5.18658C8.38968 5.32723 8.19891 5.40625 8 5.40625C7.80109 5.40625 7.61032 5.32723 7.46967 5.18658C7.32902 5.04593 7.25 4.85516 7.25 4.65625V2.65625C7.25 2.45734 7.32902 2.26657 7.46967 2.12592C7.61032 1.98527 7.80109 1.90625 8 1.90625C8.19891 1.90625 8.38968 1.98527 8.53033 2.12592C8.67098 2.26657 8.75 2.45734 8.75 2.65625ZM14 7.90625H12C11.8011 7.90625 11.6103 7.98527 11.4697 8.12592C11.329 8.26657 11.25 8.45734 11.25 8.65625C11.25 8.85516 11.329 9.04593 11.4697 9.18658C11.6103 9.32723 11.8011 9.40625 12 9.40625H14C14.1989 9.40625 14.3897 9.32723 14.5303 9.18658C14.671 9.04593 14.75 8.85516 14.75 8.65625C14.75 8.45734 14.671 8.26657 14.5303 8.12592C14.3897 7.98527 14.1989 7.90625 14 7.90625ZM11.3588 10.9544C11.289 10.8846 11.2062 10.8293 11.115 10.7915C11.0239 10.7538 10.9262 10.7343 10.8275 10.7343C10.7288 10.7343 10.6311 10.7538 10.54 10.7915C10.4488 10.8293 10.366 10.8846 10.2963 10.9544C10.2265 11.0241 10.1711 11.107 10.1334 11.1981C10.0956 11.2893 10.0762 11.387 10.0762 11.4856C10.0762 11.5843 10.0956 11.682 10.1334 11.7731C10.1711 11.8643 10.2265 11.9471 10.2963 12.0169L11.7106 13.4312C11.8515 13.5721 12.0426 13.6513 12.2419 13.6513C12.4411 13.6513 12.6322 13.5721 12.7731 13.4312C12.914 13.2904 12.9932 13.0993 12.9932 12.9C12.9932 12.7007 12.914 12.5096 12.7731 12.3687L11.3588 10.9544ZM8 11.9062C7.80109 11.9062 7.61032 11.9853 7.46967 12.1259C7.32902 12.2666 7.25 12.4573 7.25 12.6562V14.6562C7.25 14.8552 7.32902 15.0459 7.46967 15.1866C7.61032 15.3272 7.80109 15.4062 8 15.4062C8.19891 15.4062 8.38968 15.3272 8.53033 15.1866C8.67098 15.0459 8.75 14.8552 8.75 14.6562V12.6562C8.75 12.4573 8.67098 12.2666 8.53033 12.1259C8.38968 11.9853 8.19891 11.9062 8 11.9062ZM4.64125 10.9544L3.22688 12.3687C3.08598 12.5096 3.00682 12.7007 3.00682 12.9C3.00682 13.0993 3.08598 13.2904 3.22688 13.4312C3.36777 13.5721 3.55887 13.6513 3.75813 13.6513C3.95738 13.6513 4.14848 13.5721 4.28937 13.4312L5.70375 12.0169C5.84465 11.876 5.9238 11.6849 5.9238 11.4856C5.9238 11.2864 5.84465 11.0953 5.70375 10.9544C5.56285 10.8135 5.37176 10.7343 5.1725 10.7343C4.97324 10.7343 4.78215 10.8135 4.64125 10.9544ZM4.75 8.65625C4.75 8.45734 4.67098 8.26657 4.53033 8.12592C4.38968 7.98527 4.19891 7.90625 4 7.90625H2C1.80109 7.90625 1.61032 7.98527 1.46967 8.12592C1.32902 8.26657 1.25 8.45734 1.25 8.65625C1.25 8.85516 1.32902 9.04593 1.46967 9.18658C1.61032 9.32723 1.80109 9.40625 2 9.40625H4C4.19891 9.40625 4.38968 9.32723 4.53033 9.18658C4.67098 9.04593 4.75 8.85516 4.75 8.65625ZM4.2875 3.88313C4.1466 3.74223 3.95551 3.66307 3.75625 3.66307C3.55699 3.66307 3.3659 3.74223 3.225 3.88313C3.0841 4.02402 3.00495 4.21512 3.00495 4.41438C3.00495 4.61363 3.0841 4.80473 3.225 4.94562L4.64125 6.35813C4.78215 6.49902 4.97324 6.57818 5.1725 6.57818C5.37176 6.57818 5.56285 6.49902 5.70375 6.35813C5.84465 6.21723 5.9238 6.02613 5.9238 5.82688C5.9238 5.62762 5.84465 5.43652 5.70375 5.29563L4.2875 3.88313Z"
|
|
1093
|
+
fill="currentColor"
|
|
1094
|
+
/>
|
|
1095
|
+
</svg>`}};Ot.styles=[i,Vt],It([y()],Ot.prototype,"color",void 0),It([y()],Ot.prototype,"size",void 0),Ot=It([u("wui-loading-spinner")],Ot);var Wt=c`
|
|
1096
|
+
:host {
|
|
1097
|
+
width: var(--local-width);
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
button {
|
|
1101
|
+
width: var(--local-width);
|
|
1102
|
+
white-space: nowrap;
|
|
1103
|
+
column-gap: ${({spacing:t})=>t[2]};
|
|
1104
|
+
transition:
|
|
1105
|
+
scale ${({durations:t})=>t.lg} ${({easings:t})=>t["ease-out-power-1"]},
|
|
1106
|
+
background-color ${({durations:t})=>t.lg}
|
|
1107
|
+
${({easings:t})=>t["ease-out-power-2"]},
|
|
1108
|
+
border-radius ${({durations:t})=>t.lg}
|
|
1109
|
+
${({easings:t})=>t["ease-out-power-1"]};
|
|
1110
|
+
will-change: scale, background-color, border-radius;
|
|
1111
|
+
cursor: pointer;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
/* -- Sizes --------------------------------------------------- */
|
|
1115
|
+
button[data-size='sm'] {
|
|
1116
|
+
border-radius: ${({borderRadius:t})=>t[2]};
|
|
1117
|
+
padding: 0 ${({spacing:t})=>t[2]};
|
|
1118
|
+
height: 28px;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
button[data-size='md'] {
|
|
1122
|
+
border-radius: ${({borderRadius:t})=>t[3]};
|
|
1123
|
+
padding: 0 ${({spacing:t})=>t[4]};
|
|
1124
|
+
height: 38px;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
button[data-size='lg'] {
|
|
1128
|
+
border-radius: ${({borderRadius:t})=>t[4]};
|
|
1129
|
+
padding: 0 ${({spacing:t})=>t[5]};
|
|
1130
|
+
height: 48px;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
/* -- Variants --------------------------------------------------------- */
|
|
1134
|
+
button[data-variant='accent-primary'] {
|
|
1135
|
+
background-color: ${({tokens:t})=>t.core.backgroundAccentPrimary};
|
|
1136
|
+
color: ${({tokens:t})=>t.theme.textInvert};
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
button[data-variant='accent-secondary'] {
|
|
1140
|
+
background-color: ${({tokens:t})=>t.core.foregroundAccent010};
|
|
1141
|
+
color: ${({tokens:t})=>t.core.textAccentPrimary};
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
button[data-variant='neutral-primary'] {
|
|
1145
|
+
background-color: ${({tokens:t})=>t.theme.backgroundInvert};
|
|
1146
|
+
color: ${({tokens:t})=>t.theme.textInvert};
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
button[data-variant='neutral-secondary'] {
|
|
1150
|
+
background-color: transparent;
|
|
1151
|
+
border: 1px solid ${({tokens:t})=>t.theme.borderSecondary};
|
|
1152
|
+
color: ${({tokens:t})=>t.theme.textPrimary};
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
button[data-variant='neutral-tertiary'] {
|
|
1156
|
+
background-color: ${({tokens:t})=>t.theme.foregroundPrimary};
|
|
1157
|
+
color: ${({tokens:t})=>t.theme.textPrimary};
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
button[data-variant='error-primary'] {
|
|
1161
|
+
background-color: ${({tokens:t})=>t.core.textError};
|
|
1162
|
+
color: ${({tokens:t})=>t.theme.textInvert};
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
button[data-variant='error-secondary'] {
|
|
1166
|
+
background-color: ${({tokens:t})=>t.core.backgroundError};
|
|
1167
|
+
color: ${({tokens:t})=>t.core.textError};
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
button[data-variant='shade'] {
|
|
1171
|
+
background: var(--wui-color-gray-glass-002);
|
|
1172
|
+
color: var(--wui-color-fg-200);
|
|
1173
|
+
border: none;
|
|
1174
|
+
box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-005);
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
/* -- Focus states --------------------------------------------------- */
|
|
1178
|
+
button[data-size='sm']:focus-visible:enabled {
|
|
1179
|
+
border-radius: 28px;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
button[data-size='md']:focus-visible:enabled {
|
|
1183
|
+
border-radius: 38px;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
button[data-size='lg']:focus-visible:enabled {
|
|
1187
|
+
border-radius: 48px;
|
|
1188
|
+
}
|
|
1189
|
+
button[data-variant='shade']:focus-visible:enabled {
|
|
1190
|
+
background: var(--wui-color-gray-glass-005);
|
|
1191
|
+
box-shadow:
|
|
1192
|
+
inset 0 0 0 1px var(--wui-color-gray-glass-010),
|
|
1193
|
+
0 0 0 4px var(--wui-color-gray-glass-002);
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
/* -- Hover & Active states ----------------------------------------------------------- */
|
|
1197
|
+
@media (hover: hover) {
|
|
1198
|
+
button[data-size='sm']:hover:enabled {
|
|
1199
|
+
border-radius: 28px;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
button[data-size='md']:hover:enabled {
|
|
1203
|
+
border-radius: 38px;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
button[data-size='lg']:hover:enabled {
|
|
1207
|
+
border-radius: 48px;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
button[data-variant='shade']:hover:enabled {
|
|
1211
|
+
background: var(--wui-color-gray-glass-002);
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
button[data-variant='shade']:active:enabled {
|
|
1215
|
+
background: var(--wui-color-gray-glass-005);
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
button[data-size='sm']:active:enabled {
|
|
1220
|
+
border-radius: 28px;
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
button[data-size='md']:active:enabled {
|
|
1224
|
+
border-radius: 38px;
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
button[data-size='lg']:active:enabled {
|
|
1228
|
+
border-radius: 48px;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
/* -- Disabled states --------------------------------------------------- */
|
|
1232
|
+
button:disabled {
|
|
1233
|
+
opacity: 0.3;
|
|
1234
|
+
}
|
|
1235
|
+
`,Ft=function(t,e,o,i){var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};const Et={lg:"lg-regular-mono",md:"md-regular-mono",sm:"sm-regular-mono"},Tt={lg:"md",md:"md",sm:"sm"};let Dt=class extends r{constructor(){super(...arguments),this.size="lg",this.disabled=!1,this.fullWidth=!1,this.loading=!1,this.variant="accent-primary"}render(){this.style.cssText=`\n --local-width: ${this.fullWidth?"100%":"auto"};\n `;const t=this.textVariant??Et[this.size];return a`
|
|
1236
|
+
<button data-variant=${this.variant} data-size=${this.size} ?disabled=${this.disabled}>
|
|
1237
|
+
${this.loadingTemplate()}
|
|
1238
|
+
<slot name="iconLeft"></slot>
|
|
1239
|
+
<wui-text variant=${t} color="inherit">
|
|
1240
|
+
<slot></slot>
|
|
1241
|
+
</wui-text>
|
|
1242
|
+
<slot name="iconRight"></slot>
|
|
1243
|
+
</button>
|
|
1244
|
+
`}loadingTemplate(){if(this.loading){const t=Tt[this.size],e="neutral-primary"===this.variant||"accent-primary"===this.variant?"invert":"primary";return a`<wui-loading-spinner color=${e} size=${t}></wui-loading-spinner>`}return null}};Dt.styles=[i,d,Wt],Ft([y()],Dt.prototype,"size",void 0),Ft([y({type:Boolean})],Dt.prototype,"disabled",void 0),Ft([y({type:Boolean})],Dt.prototype,"fullWidth",void 0),Ft([y({type:Boolean})],Dt.prototype,"loading",void 0),Ft([y()],Dt.prototype,"variant",void 0),Ft([y()],Dt.prototype,"textVariant",void 0),Dt=Ft([u("wui-button")],Dt);var _t=c`
|
|
1245
|
+
button {
|
|
1246
|
+
border: none;
|
|
1247
|
+
background: transparent;
|
|
1248
|
+
height: 20px;
|
|
1249
|
+
padding: ${({spacing:t})=>t[2]};
|
|
1250
|
+
column-gap: ${({spacing:t})=>t[1]};
|
|
1251
|
+
border-radius: ${({borderRadius:t})=>t[1]};
|
|
1252
|
+
padding: 0 ${({spacing:t})=>t[1]};
|
|
1253
|
+
border-radius: ${({spacing:t})=>t[1]};
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
/* -- Variants --------------------------------------------------------- */
|
|
1257
|
+
button[data-variant='accent'] {
|
|
1258
|
+
color: ${({tokens:t})=>t.core.textAccentPrimary};
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
button[data-variant='secondary'] {
|
|
1262
|
+
color: ${({tokens:t})=>t.theme.textSecondary};
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
/* -- Focus states --------------------------------------------------- */
|
|
1266
|
+
button:focus-visible:enabled {
|
|
1267
|
+
box-shadow: 0px 0px 0px 4px rgba(9, 136, 240, 0.2);
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
button[data-variant='accent']:focus-visible:enabled {
|
|
1271
|
+
background-color: ${({tokens:t})=>t.core.foregroundAccent010};
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
button[data-variant='secondary']:focus-visible:enabled {
|
|
1275
|
+
background-color: ${({tokens:t})=>t.theme.foregroundSecondary};
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
/* -- Hover & Active states ----------------------------------------------------------- */
|
|
1279
|
+
button[data-variant='accent']:hover:enabled {
|
|
1280
|
+
background-color: ${({tokens:t})=>t.core.foregroundAccent010};
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
button[data-variant='secondary']:hover:enabled {
|
|
1284
|
+
background-color: ${({tokens:t})=>t.theme.foregroundSecondary};
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
button[data-variant='accent']:focus-visible {
|
|
1288
|
+
background-color: ${({tokens:t})=>t.core.foregroundAccent010};
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
button[data-variant='secondary']:focus-visible {
|
|
1292
|
+
background-color: ${({tokens:t})=>t.theme.foregroundSecondary};
|
|
1293
|
+
box-shadow: 0px 0px 0px 4px rgba(9, 136, 240, 0.2);
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
button[disabled] {
|
|
1297
|
+
opacity: 0.5;
|
|
1298
|
+
cursor: not-allowed;
|
|
1299
|
+
}
|
|
1300
|
+
`,Ut=function(t,e,o,i){var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};const Gt={sm:"sm-medium",md:"md-medium"},Nt={accent:"accent-primary",secondary:"secondary"};let qt=class extends r{constructor(){super(...arguments),this.size="md",this.disabled=!1,this.variant="accent",this.icon=void 0}render(){return a`
|
|
1301
|
+
<button ?disabled=${this.disabled} data-variant=${this.variant}>
|
|
1302
|
+
<slot name="iconLeft"></slot>
|
|
1303
|
+
<wui-text
|
|
1304
|
+
color=${Nt[this.variant]}
|
|
1305
|
+
variant=${Gt[this.size]}
|
|
1306
|
+
>
|
|
1307
|
+
<slot></slot>
|
|
1308
|
+
</wui-text>
|
|
1309
|
+
${this.iconTemplate()}
|
|
1310
|
+
</button>
|
|
1311
|
+
`}iconTemplate(){return this.icon?a`<wui-icon name=${this.icon} size="sm"></wui-icon>`:null}};qt.styles=[i,d,_t],Ut([y()],qt.prototype,"size",void 0),Ut([y({type:Boolean})],qt.prototype,"disabled",void 0),Ut([y()],qt.prototype,"variant",void 0),Ut([y()],qt.prototype,"icon",void 0),qt=Ut([u("wui-link")],qt);var Qt=c`
|
|
1312
|
+
:host {
|
|
1313
|
+
display: block;
|
|
1314
|
+
background: linear-gradient(
|
|
1315
|
+
90deg,
|
|
1316
|
+
${({tokens:t})=>t.theme.foregroundPrimary} 0%,
|
|
1317
|
+
${({tokens:t})=>t.theme.foregroundSecondary} 50%,
|
|
1318
|
+
${({tokens:t})=>t.theme.foregroundPrimary} 100%
|
|
1319
|
+
);
|
|
1320
|
+
background-size: 200% 100%;
|
|
1321
|
+
animation: shimmer 2s linear infinite;
|
|
1322
|
+
border-radius: ${({borderRadius:t})=>t[1]};
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
:host([data-rounded='true']) {
|
|
1326
|
+
border-radius: ${({borderRadius:t})=>t[16]};
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
@keyframes shimmer {
|
|
1330
|
+
0% {
|
|
1331
|
+
background-position: 100% 0;
|
|
1332
|
+
}
|
|
1333
|
+
100% {
|
|
1334
|
+
background-position: -100% 0;
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
`,Xt=function(t,e,o,i){var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};let Yt=class extends r{constructor(){super(...arguments),this.width="",this.height="",this.variant="default",this.rounded=!1}render(){return this.style.cssText=`\n width: ${this.width};\n height: ${this.height};\n `,this.dataset.rounded=this.rounded?"true":"false",a`<slot></slot>`}};Yt.styles=[Qt],Xt([y()],Yt.prototype,"width",void 0),Xt([y()],Yt.prototype,"height",void 0),Xt([y()],Yt.prototype,"variant",void 0),Xt([y({type:Boolean})],Yt.prototype,"rounded",void 0),Yt=Xt([u("wui-shimmer")],Yt);var Jt=c`
|
|
1338
|
+
.reown-logo {
|
|
1339
|
+
height: 24px;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
a {
|
|
1343
|
+
text-decoration: none;
|
|
1344
|
+
cursor: pointer;
|
|
1345
|
+
color: ${({tokens:t})=>t.theme.textSecondary};
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
a:hover {
|
|
1349
|
+
opacity: 0.9;
|
|
1350
|
+
}
|
|
1351
|
+
`,Kt=function(t,e,o,i){var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};let te=class extends r{render(){return a`
|
|
1352
|
+
<a
|
|
1353
|
+
data-testid="ux-branding-reown"
|
|
1354
|
+
href=${"https://reown.com"}
|
|
1355
|
+
rel="noreferrer"
|
|
1356
|
+
target="_blank"
|
|
1357
|
+
style="text-decoration: none;"
|
|
1358
|
+
>
|
|
1359
|
+
<wui-flex
|
|
1360
|
+
justifyContent="center"
|
|
1361
|
+
alignItems="center"
|
|
1362
|
+
gap="1"
|
|
1363
|
+
.padding=${["01","0","3","0"]}
|
|
1364
|
+
>
|
|
1365
|
+
<wui-text variant="sm-regular" color="inherit"> UX by </wui-text>
|
|
1366
|
+
<wui-icon name="reown" size="inherit" class="reown-logo"></wui-icon>
|
|
1367
|
+
</wui-flex>
|
|
1368
|
+
</a>
|
|
1369
|
+
`}};te.styles=[i,d,Jt],te=Kt([u("wui-ux-by-reown")],te);const ee=l`<svg viewBox="0 0 48 54" fill="none">
|
|
1370
|
+
<path
|
|
1371
|
+
d="M43.4605 10.7248L28.0485 1.61089C25.5438 0.129705 22.4562 0.129705 19.9515 1.61088L4.53951 10.7248C2.03626 12.2051 0.5 14.9365 0.5 17.886V36.1139C0.5 39.0635 2.03626 41.7949 4.53951 43.2752L19.9515 52.3891C22.4562 53.8703 25.5438 53.8703 28.0485 52.3891L43.4605 43.2752C45.9637 41.7949 47.5 39.0635 47.5 36.114V17.8861C47.5 14.9365 45.9637 12.2051 43.4605 10.7248Z"
|
|
1372
|
+
/>
|
|
1373
|
+
</svg>`;var oe=c`
|
|
1374
|
+
:host {
|
|
1375
|
+
width: 100%;
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
:host([data-type='primary']) > button {
|
|
1379
|
+
background-color: ${({tokens:t})=>t.theme.backgroundPrimary};
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
:host([data-type='secondary']) > button {
|
|
1383
|
+
background-color: ${({tokens:t})=>t.theme.foregroundPrimary};
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
button {
|
|
1387
|
+
display: flex;
|
|
1388
|
+
align-items: center;
|
|
1389
|
+
justify-content: space-between;
|
|
1390
|
+
padding: ${({spacing:t})=>t[3]};
|
|
1391
|
+
width: 100%;
|
|
1392
|
+
border-radius: ${({borderRadius:t})=>t[4]};
|
|
1393
|
+
transition:
|
|
1394
|
+
background-color ${({durations:t})=>t.lg}
|
|
1395
|
+
${({easings:t})=>t["ease-out-power-2"]},
|
|
1396
|
+
scale ${({durations:t})=>t.lg} ${({easings:t})=>t["ease-out-power-2"]};
|
|
1397
|
+
will-change: background-color, scale;
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
wui-text {
|
|
1401
|
+
text-transform: capitalize;
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
wui-image {
|
|
1405
|
+
color: ${({tokens:t})=>t.theme.textPrimary};
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
@media (hover: hover) {
|
|
1409
|
+
:host([data-type='primary']) > button:hover:enabled {
|
|
1410
|
+
background-color: ${({tokens:t})=>t.theme.foregroundPrimary};
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
:host([data-type='secondary']) > button:hover:enabled {
|
|
1414
|
+
background-color: ${({tokens:t})=>t.theme.foregroundSecondary};
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
button:disabled {
|
|
1419
|
+
opacity: 0.5;
|
|
1420
|
+
cursor: not-allowed;
|
|
1421
|
+
}
|
|
1422
|
+
`,ie=function(t,e,o,i){var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};let re=class extends r{constructor(){super(...arguments),this.type="primary",this.imageSrc="google",this.imageSize=void 0,this.loading=!1,this.boxColor="foregroundPrimary",this.disabled=!1,this.rightIcon=!0,this.boxed=!0,this.rounded=!1,this.fullSize=!1}render(){return this.dataset.rounded=this.rounded?"true":"false",this.dataset.type=this.type,a`
|
|
1423
|
+
<button
|
|
1424
|
+
?disabled=${!!this.loading||Boolean(this.disabled)}
|
|
1425
|
+
data-loading=${this.loading}
|
|
1426
|
+
tabindex=${$(this.tabIdx)}
|
|
1427
|
+
>
|
|
1428
|
+
<wui-flex gap="2" alignItems="center">
|
|
1429
|
+
${this.templateLeftIcon()}
|
|
1430
|
+
<wui-flex gap="1">
|
|
1431
|
+
<slot></slot>
|
|
1432
|
+
</wui-flex>
|
|
1433
|
+
</wui-flex>
|
|
1434
|
+
${this.templateRightIcon()}
|
|
1435
|
+
</button>
|
|
1436
|
+
`}templateLeftIcon(){return this.icon?a`<wui-image
|
|
1437
|
+
icon=${this.icon}
|
|
1438
|
+
iconColor=${$(this.iconColor)}
|
|
1439
|
+
?boxed=${this.boxed}
|
|
1440
|
+
?rounded=${this.rounded}
|
|
1441
|
+
boxColor=${this.boxColor}
|
|
1442
|
+
></wui-image>`:a`<wui-image
|
|
1443
|
+
?boxed=${this.boxed}
|
|
1444
|
+
?rounded=${this.rounded}
|
|
1445
|
+
?fullSize=${this.fullSize}
|
|
1446
|
+
size=${$(this.imageSize)}
|
|
1447
|
+
src=${this.imageSrc}
|
|
1448
|
+
boxColor=${this.boxColor}
|
|
1449
|
+
></wui-image>`}templateRightIcon(){return this.rightIcon?this.loading?a`<wui-loading-spinner size="md" color="accent-primary"></wui-loading-spinner>`:a`<wui-icon name="chevronRight" size="lg" color="default"></wui-icon>`:null}};re.styles=[i,d,oe],ie([y()],re.prototype,"type",void 0),ie([y()],re.prototype,"imageSrc",void 0),ie([y()],re.prototype,"imageSize",void 0),ie([y()],re.prototype,"icon",void 0),ie([y()],re.prototype,"iconColor",void 0),ie([y({type:Boolean})],re.prototype,"loading",void 0),ie([y()],re.prototype,"tabIdx",void 0),ie([y()],re.prototype,"boxColor",void 0),ie([y({type:Boolean})],re.prototype,"disabled",void 0),ie([y({type:Boolean})],re.prototype,"rightIcon",void 0),ie([y({type:Boolean})],re.prototype,"boxed",void 0),ie([y({type:Boolean})],re.prototype,"rounded",void 0),ie([y({type:Boolean})],re.prototype,"fullSize",void 0),re=ie([u("wui-list-item")],re);export{g as U,ee as a,pt as b,u as c,ct as e,dt as i,y as n,$ as o,w as r,ht as t};
|