@maggioli-design-system/magma 1.12.1 → 1.12.3
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/cjs/mds-button_3.cjs.entry.js +59 -36
- package/dist/cjs/mds-calendar_2.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date.cjs.entry.js +1 -1
- package/dist/collection/components/mds-calendar/mds-calendar.css +4 -2
- package/dist/collection/components/mds-icon/services/icons-set.service.js +38 -16
- package/dist/collection/components/mds-input-date/mds-input-date.css +3 -2
- package/dist/collection/components/mds-input-date/test/mds-input-date.stories.js +75 -0
- package/dist/components/mds-calendar2.js +1 -1
- package/dist/components/mds-icon2.js +59 -36
- package/dist/components/mds-input-date.js +1 -1
- package/dist/documentation.json +1 -1
- package/dist/esm/mds-button_3.entry.js +59 -36
- package/dist/esm/mds-calendar_2.entry.js +1 -1
- package/dist/esm/mds-input-date.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +1 -1
- package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
- package/dist/esm-es5/mds-input-date.entry.js +1 -1
- package/dist/hydrate/index.js +61 -38
- package/dist/hydrate/index.mjs +61 -38
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/{p-20e0f9e3.entry.js → p-19522afa.entry.js} +1 -1
- package/dist/magma-components/p-25c84410.system.entry.js +1 -0
- package/dist/magma-components/p-26cd6ec8.system.js +1 -1
- package/dist/magma-components/{p-c6785782.entry.js → p-3183791a.entry.js} +1 -1
- package/dist/magma-components/p-44889d04.system.entry.js +1 -0
- package/dist/magma-components/p-5214b07e.entry.js +1 -0
- package/dist/magma-components/{p-68dde65c.system.entry.js → p-8465aa1a.system.entry.js} +1 -1
- package/dist/stats.json +40 -40
- package/dist/types/components/mds-icon/services/icons-set.service.d.ts +9 -9
- package/dist/types/components/mds-input-date/test/mds-input-date.stories.d.ts +4 -0
- package/package.json +2 -2
- package/dist/magma-components/p-3e72a9f4.entry.js +0 -1
- package/dist/magma-components/p-a776c78c.system.entry.js +0 -1
- package/dist/magma-components/p-ca4ee5b5.system.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,n,r,o){function a(t){return t instanceof r?t:new r((function(n){n(t)}))}return new(r||(r=Promise))((function(r,e){function s(t){try{i(o.next(t))}catch(t){e(t)}}function d(t){try{i(o["throw"](t))}catch(t){e(t)}}function i(t){t.done?r(t.value):a(t.value).then(s,d)}i((o=o.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var r={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},o,a,e,s;return s={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function d(t){return function(n){return i([t,n])}}function i(d){if(o)throw new TypeError("Generator is already executing.");while(s&&(s=0,d[0]&&(r=0)),r)try{if(o=1,a&&(e=d[0]&2?a["return"]:d[0]?a["throw"]||((e=a["return"])&&e.call(a),0):a.next)&&!(e=e.call(a,d[1])).done)return e;if(a=0,e)d=[d[0]&2,e.value];switch(d[0]){case 0:case 1:e=d;break;case 4:r.label++;return{value:d[1],done:false};case 5:r.label++;a=d[1];d=[0];continue;case 7:d=r.ops.pop();r.trys.pop();continue;default:if(!(e=r.trys,e=e.length>0&&e[e.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!e||d[1]>e[0]&&d[1]<e[3])){r.label=d[1];break}if(d[0]===6&&r.label<e[1]){r.label=e[1];e=d;break}if(e&&r.label<e[2]){r.label=e[2];r.ops.push(d);break}if(e[2])r.ops.pop();r.trys.pop();continue}d=n.call(t,r)}catch(t){d=[6,t];a=0}finally{o=e=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};import{r as registerInstance,h,H as Host,g as getElement}from"./index-7f153b9b.js";import{K as KeyboardManager}from"./keyboard-manager-f2f2f64c.js";import{u as unslugName,s as setAttributeIfEmpty}from"./aria-ed9d415d.js";var buttonSizeTypographyVariant={sm:"action",md:"action",lg:"h6",xl:"h4"};var BASE64_SVG_ICON="data:image/svg+xml;base64,";var MARKUP_SVG_ICON="<svg ";var isIconFormatIsBase64=function(t){if(!t){return false}return t.startsWith(BASE64_SVG_ICON)};var isIconFormatIsSVG=function(t){if(!t){return false}return t.startsWith(MARKUP_SVG_ICON)};var mdiApple='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-apple" viewBox="0 0 24 24"><path d="M18.71,19.5C17.88,20.74 17,21.95 15.66,21.97C14.32,22 13.89,21.18 12.37,21.18C10.84,21.18 10.37,21.95 9.1,22C7.79,22.05 6.8,20.68 5.96,19.47C4.25,17 2.94,12.45 4.7,9.39C5.57,7.87 7.13,6.91 8.82,6.88C10.1,6.86 11.32,7.75 12.11,7.75C12.89,7.75 14.37,6.68 15.92,6.84C16.57,6.87 18.39,7.1 19.56,8.82C19.47,8.88 17.39,10.1 17.41,12.63C17.44,15.65 20.06,16.66 20.09,16.67C20.06,16.74 19.67,18.11 18.71,19.5M13,3.5C13.73,2.67 14.94,2.04 15.94,2C16.07,3.17 15.6,4.35 14.9,5.19C14.21,6.04 13.07,6.7 11.95,6.61C11.8,5.46 12.36,4.26 13,3.5Z" /></svg>';var logoGoogle='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" xmlnsXlink="http://www.w3.org/1999/xlink"><path fill="#EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"></path><path fill="#4285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"></path><path fill="#FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"></path><path fill="#34A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"></path><path fill="none" d="M0 0h48v48H0z"></path></svg>\n';var mdsButtonCss='@-webkit-keyframes focus-bounce {\n 0%, 75%, 100% {\n outline-offset: var(--magma-outline-focus-offset, 6px);\n }\n\n 50% {\n outline-offset: var(--magma-outline-blur-offset, 2px);\n }\n}\n\n@keyframes focus-bounce {\n 0%, 75%, 100% {\n outline-offset: var(--magma-outline-focus-offset, 6px);\n }\n\n 50% {\n outline-offset: var(--magma-outline-blur-offset, 2px);\n }\n}\n\n@tailwind components;\n\n\n/**\n * @prop --mds-button-await-duration: Sets the duration of the rotation of the spinner await component\n * @prop --mds-button-background: Sets the background-color of the component\n * @prop --mds-button-border-color: Sets the color of the border of the component (based on box-shadow declaration)\n * @prop --mds-button-border-default-opacity: Sets the default opacity of the border color of the component (based on box-shadow declaration)\n * @prop --mds-button-border-high-contrast-hover-width: Sets the width of the border when the component is hovered and the contrast is high (based on box-shadow declaration)\n * @prop --mds-button-border-high-contrast-width: Sets the width of the border of the component and the contrast is high (based on box-shadow declaration)\n * @prop --mds-button-border-hover-opacity: Sets the opacity of the border color when the component is hovered (based on box-shadow declaration)\n * @prop --mds-button-border-opacity: Sets the border opacity of the component (based on box-shadow declaration)\n * @prop --mds-button-border-tone-ghost-hover-width: Sets the width of the border when the component is hovered when the tone is set to `ghost` (based on box-shadow declaration)\n * @prop --mds-button-border-tone-strong-hover-width: Sets the width of the border when the component is hovered when the tone is set to `strong` (based on box-shadow declaration)\n * @prop --mds-button-border-tone-weak-hover-width: Sets the width of the border when the component is hovered when the tone is set to `weak` (based on box-shadow declaration)\n * @prop --mds-button-border-width: Sets the border width of the component (based on box-shadow declaration)\n * @prop --mds-button-color: Sets the text color of the component\n * @prop --mds-button-gap: Sets the distance betwen element inside the components, use it instead of setting gap property directly.\n * @prop --mds-button-radius: Sets the border-radius of the component\n */\n\n:host {\n --mds-button-await-duration: 0.725s;\n --mds-button-background: rgb(var(--variant-primary-02));\n --mds-button-border-color: 0 0 0;\n --mds-button-border-hover-opacity: 0.75;\n --mds-button-border-default-opacity: 0.5;\n --mds-button-border-tone-strong-hover-width: 0.0625rem;\n --mds-button-border-tone-ghost-hover-width: 3px;\n --mds-button-border-tone-weak-hover-width: 0.0625rem;\n --mds-button-border-high-contrast-width: 0.125rem;\n --mds-button-border-high-contrast-hover-width: 3px;\n --mds-button-border-opacity: 0;\n --mds-button-border-width: 0.125rem;\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-gap: 0.5rem;\n --mds-button-line-clamp: 1;\n --mds-button-radius: 0.5rem;\n -webkit-animation-duration: var(--magma-outline-animation-duration, 1s);\n animation-duration: var(--magma-outline-animation-duration, 1s);\n -webkit-animation-fill-mode: forwards;\n animation-fill-mode: forwards;\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n -webkit-animation-name: focus-bounce;\n animation-name: focus-bounce;\n -webkit-animation-play-state: paused;\n animation-play-state: paused;\n -webkit-animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n outline: var(--magma-outline-blur);\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-property: background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;\n transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;\n -webkit-transition-timing-function: ease-in-out;\n transition-timing-function: ease-in-out;\n}\n\n:host:focus-visible {\n --magma-outline-blur: var(--magma-outline-focus);\n\n -webkit-animation-play-state: running;\n\n animation-play-state: running;\n }\n\n:host {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n\n -ms-flex-align: center;\n\n align-items: center;\n background-color: var(--mds-button-background);\n border-radius: var(--mds-button-radius);\n -webkit-box-shadow: 0 0 0 var(--mds-button-border-width) rgb(var(--mds-button-border-color) / var(--mds-button-border-opacity));\n box-shadow: 0 0 0 var(--mds-button-border-width) rgb(var(--mds-button-border-color) / var(--mds-button-border-opacity));\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: var(--mds-button-color);\n cursor: pointer;\n display: -ms-inline-flexbox;\n display: inline-flex;\n fill: currentcolor;\n gap: var(--mds-button-gap);\n -ms-flex-pack: center;\n justify-content: center;\n position: relative;\n -webkit-transition-property: background-color, border-color, color, outline, outline-offset, padding-left, padding-right, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, color, outline, outline-offset, padding-left, padding-right, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, box-shadow, color, outline, outline-offset, padding-left, padding-right, transform;\n transition-property: background-color, border-color, box-shadow, color, outline, outline-offset, padding-left, padding-right, transform, -webkit-box-shadow, -webkit-transform;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n:host(:focus-visible) {\n --magma-outline-blur: var(--magma-outline-focus);\n\n -webkit-animation-play-state: running;\n\n animation-play-state: running;\n\n z-index: 10;\n }\n\n.text {\n --mds-text-line-clamp: var(--mds-button-line-clamp);\n}\n\n.text::first-letter {\n text-transform: uppercase;\n}\n\n.icon {\n -webkit-transition-duration: 300ms;\n transition-duration: 300ms;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n -ms-flex-align: center;\n\n align-items: center;\n display: -ms-inline-flexbox;\n display: inline-flex;\n fill: inherit;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n -ms-flex-pack: center;\n justify-content: center;\n pointer-events: none;\n -webkit-transition-property: fill;\n transition-property: fill;\n}\n\n:host-context(mds-button-group):host(:not(:first-child)) {\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n}\n\n:host-context(mds-button-group):host(:not(:last-child)) {\n border-bottom-right-radius: 0;\n border-top-right-radius: 0;\n}\n\n.await {\n height: 1.5rem;\n width: 1.5rem;\n -webkit-transition-duration: 300ms;\n transition-duration: 300ms;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n display: none;\n margin-right: calc(calc(-1 * var(--mds-button-gap)) - 1.5rem);\n -webkit-transform: scale(0);\n transform: scale(0);\n transition-behavior: allow-discrete;\n -webkit-transition-property: display, margin-right, opacity, width, -webkit-transform;\n transition-property: display, margin-right, opacity, width, -webkit-transform;\n transition-property: display, margin-right, opacity, transform, width;\n transition-property: display, margin-right, opacity, transform, width, -webkit-transform;\n}\n\n.spinner {\n height: 1.5rem;\n width: 1.5rem;\n\n --mds-spinner-duration: var(--mds-button-await-duration);\n\n color: currentcolor;\n}\n\n:host(:not([await])) .spinner,\n:host([await="false"]) .spinner {\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n\n:host([await]:not([await="false"])) .await {\n margin-right: 0rem;\n opacity: 1;\n\n display: -ms-flexbox;\n\n display: flex;\n -webkit-transform: scale(1);\n transform: scale(1);\n\n @starting-style {\n margin-right: calc(calc(-1 * var(--mds-button-gap)) - 1.5rem);\n opacity: 0;\n -webkit-transform: scale(0);\n transform: scale(0);\n }\n}\n\n:host([await]:not([await="false"])) {\n pointer-events: none;\n}\n\n:host([disabled]:not([disabled="false"])) {\n opacity: 0.5;\n\n pointer-events: none;\n}\n\n:host([size="sm"]) {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n padding-top: 0rem;\n padding-bottom: 0rem;\n\n --mds-button-radius: 0.375rem;\n\n min-height: 1.75rem;\n min-width: 1.75rem;\n}\n\n:host([size="sm"]:not([has-text])) {\n padding: 0rem;\n}\n\n:host([size="sm"]) .text {\n font-weight: 500;\n}\n\n:host([size="sm"]) .icon {\n height: 1rem;\n width: 1rem;\n}\n\n:host([size="sm"][await]:not([await="false"]) ) .await {\n -webkit-transform: scale(.75);\n transform: scale(.75);\n}\n\n:host([size="md"]) {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n\n min-height: 2.25rem;\n min-width: 2.25rem;\n}\n\n:host([size="md"]:not([has-text])) {\n padding: 0.25rem;\n}\n\n:host([size="lg"]) {\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n\n min-height: 3rem;\n min-width: 3rem;\n}\n\n:host([size="lg"]:not([has-text])) {\n padding: 0.5rem;\n}\n\n:host([size="xl"]) {\n padding-left: 2rem;\n padding-right: 2rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n\n min-height: 3.25rem;\n min-width: 3.25rem;\n}\n\n:host([size="xl"]:not([has-text])) {\n padding: 0.5rem;\n}\n\n:host(:not([has-text])) .text {\n display: none;\n}\n\n:host([variant="dark"][tone="strong"]) {\n --mds-button-background: rgb(var(--tone-neutral-04));\n --mds-button-border-color: var(--tone-neutral-04);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="dark"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--tone-neutral-05));\n --mds-button-border-color: var(--tone-neutral-05);\n}\n\n:host([variant="dark"][tone="weak"]) {\n --mds-button-background: rgb(var(--tone-neutral-08));\n --mds-button-border-color: var(--tone-neutral-08);\n --mds-button-color: rgb(var(--tone-neutral-03));\n\n fill: rgb(var(--tone-neutral-03));\n}\n\n:host([variant="dark"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--tone-neutral-07));\n --mds-button-border-color: var(--tone-neutral-07);\n --mds-button-color: rgb(var(--tone-neutral-02));\n}\n\n:host([variant="dark"][tone="ghost"]) {\n --mds-button-border-color: var(--tone-neutral-04);\n --mds-button-color: rgb(var(--tone-neutral-03));\n}\n\n:host([variant="dark"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--tone-neutral-04);\n --mds-button-color: rgb(var(--tone-neutral-02));\n}\n\n:host([variant="dark"][tone="quiet"]) {\n --mds-button-color: rgb(var(--tone-neutral-02));\n}\n\n:host([variant="dark"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--tone-neutral-04));\n}\n\n:host([variant="dark"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--tone-neutral-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-ai-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--variant-ai-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="ai"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-02));\n --mds-button-border-color: var(--variant-ai-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-ai-09));\n --mds-button-color: rgb(var(--variant-ai-02));\n --mds-button-border-color: var(--variant-ai-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-ai-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-10));\n --mds-button-color: rgb(var(--variant-ai-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-ai-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-ai-08));\n --mds-button-color: rgb(var(--variant-ai-01));\n\n fill: rgb(var(--variant-ai-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-ai-03);\n --mds-button-color: rgb(var(--variant-ai-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-ai-03);\n --mds-button-color: rgb(var(--variant-ai-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-ai-04);\n --mds-button-color: rgb(var(--variant-ai-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-ai-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-ai-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-ai-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="ai"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-ai-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="ai"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-02));\n --mds-button-border-color: var(--variant-ai-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-ai-09));\n --mds-button-color: rgb(var(--variant-ai-02));\n --mds-button-border-color: var(--variant-ai-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-ai-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-10));\n --mds-button-color: rgb(var(--variant-ai-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-ai-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-ai-08));\n --mds-button-color: rgb(var(--variant-ai-01));\n\n fill: rgb(var(--variant-ai-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-ai-03);\n --mds-button-color: rgb(var(--variant-ai-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-ai-03);\n --mds-button-color: rgb(var(--variant-ai-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-ai-04);\n --mds-button-color: rgb(var(--variant-ai-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-ai-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-ai-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-ai-01));\n }\n}\n\n:host([variant="ai"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-ai-05));\n --mds-button-border-color: var(--variant-ai-05);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="ai"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-04));\n --mds-button-border-color: var(--variant-ai-04);\n}\n\n:host([variant="ai"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-ai-09));\n --mds-button-border-color: var(--variant-ai-09);\n --mds-button-color: rgb(var(--variant-ai-03));\n\n fill: rgb(var(--variant-ai-03));\n}\n\n:host([variant="ai"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-08));\n --mds-button-border-color: var(--variant-ai-08);\n}\n\n:host([variant="ai"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-ai-04);\n --mds-button-color: rgb(var(--variant-ai-03));\n}\n\n:host([variant="ai"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-ai-04);\n --mds-button-color: rgb(var(--variant-ai-02));\n}\n\n:host([variant="ai"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-ai-02));\n}\n\n:host([variant="ai"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-ai-04));\n}\n\n:host([variant="ai"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-ai-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-error-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--status-error-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="error"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-error-02));\n --mds-button-border-color: var(--status-error-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-error-09));\n --mds-button-color: rgb(var(--status-error-02));\n --mds-button-border-color: var(--status-error-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-error-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-error-10));\n --mds-button-color: rgb(var(--status-error-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-error-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-error-08));\n --mds-button-color: rgb(var(--status-error-01));\n\n fill: rgb(var(--status-error-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="ghost"]) {\n --mds-button-border-color: var(--status-error-03);\n --mds-button-color: rgb(var(--status-error-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-error-03);\n --mds-button-color: rgb(var(--status-error-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-error-04);\n --mds-button-color: rgb(var(--status-error-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-error-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-error-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-error-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="error"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-error-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="error"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-error-02));\n --mds-button-border-color: var(--status-error-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-error-09));\n --mds-button-color: rgb(var(--status-error-02));\n --mds-button-border-color: var(--status-error-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-error-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-error-10));\n --mds-button-color: rgb(var(--status-error-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-error-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-error-08));\n --mds-button-color: rgb(var(--status-error-01));\n\n fill: rgb(var(--status-error-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="ghost"]) {\n --mds-button-border-color: var(--status-error-03);\n --mds-button-color: rgb(var(--status-error-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-error-03);\n --mds-button-color: rgb(var(--status-error-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-error-04);\n --mds-button-color: rgb(var(--status-error-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-error-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-error-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-error-01));\n }\n}\n\n:host([variant="error"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-error-05));\n --mds-button-border-color: var(--status-error-05);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="error"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-error-04));\n --mds-button-border-color: var(--status-error-04);\n}\n\n:host([variant="error"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-error-09));\n --mds-button-border-color: var(--status-error-09);\n --mds-button-color: rgb(var(--status-error-03));\n\n fill: rgb(var(--status-error-03));\n}\n\n:host([variant="error"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-error-08));\n --mds-button-border-color: var(--status-error-08);\n}\n\n:host([variant="error"][tone="ghost"]) {\n --mds-button-border-color: var(--status-error-04);\n --mds-button-color: rgb(var(--status-error-03));\n}\n\n:host([variant="error"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-error-04);\n --mds-button-color: rgb(var(--status-error-02));\n}\n\n:host([variant="error"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-error-02));\n}\n\n:host([variant="error"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-error-04));\n}\n\n:host([variant="error"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-error-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-info-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--status-info-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="info"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-info-02));\n --mds-button-border-color: var(--status-info-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-info-09));\n --mds-button-color: rgb(var(--status-info-02));\n --mds-button-border-color: var(--status-info-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-info-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-info-10));\n --mds-button-color: rgb(var(--status-info-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-info-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-info-08));\n --mds-button-color: rgb(var(--status-info-01));\n\n fill: rgb(var(--status-info-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="ghost"]) {\n --mds-button-border-color: var(--status-info-03);\n --mds-button-color: rgb(var(--status-info-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-info-03);\n --mds-button-color: rgb(var(--status-info-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-info-04);\n --mds-button-color: rgb(var(--status-info-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-info-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-info-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-info-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="info"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-info-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="info"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-info-02));\n --mds-button-border-color: var(--status-info-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-info-09));\n --mds-button-color: rgb(var(--status-info-02));\n --mds-button-border-color: var(--status-info-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-info-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-info-10));\n --mds-button-color: rgb(var(--status-info-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-info-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-info-08));\n --mds-button-color: rgb(var(--status-info-01));\n\n fill: rgb(var(--status-info-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="ghost"]) {\n --mds-button-border-color: var(--status-info-03);\n --mds-button-color: rgb(var(--status-info-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-info-03);\n --mds-button-color: rgb(var(--status-info-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-info-04);\n --mds-button-color: rgb(var(--status-info-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-info-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-info-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-info-01));\n }\n}\n\n:host([variant="info"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-info-05));\n --mds-button-border-color: var(--status-info-05);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="info"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-info-04));\n --mds-button-border-color: var(--status-info-04);\n}\n\n:host([variant="info"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-info-09));\n --mds-button-border-color: var(--status-info-09);\n --mds-button-color: rgb(var(--status-info-03));\n\n fill: rgb(var(--status-info-03));\n}\n\n:host([variant="info"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-info-08));\n --mds-button-border-color: var(--status-info-08);\n}\n\n:host([variant="info"][tone="ghost"]) {\n --mds-button-border-color: var(--status-info-04);\n --mds-button-color: rgb(var(--status-info-03));\n}\n\n:host([variant="info"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-info-04);\n --mds-button-color: rgb(var(--status-info-02));\n}\n\n:host([variant="info"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-info-02));\n}\n\n:host([variant="info"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-info-04));\n}\n\n:host([variant="info"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-info-01));\n}\n\n:host([variant="light"][tone="strong"]) {\n --mds-button-background: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--tone-neutral);\n --mds-button-color: rgb(var(--tone-neutral-03));\n}\n\n:host([variant="light"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--tone-neutral);\n}\n\n:host([variant="light"][tone="weak"]) {\n --mds-button-background: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--tone-neutral);\n --mds-button-color: rgb(var(--tone-neutral-03));\n\n fill: rgb(var(--tone-neutral-03));\n}\n\n:host([variant="light"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--tone-neutral);\n --mds-button-color: rgb(var(--tone-neutral-02));\n}\n\n:host([variant="light"][tone="ghost"]) {\n --mds-button-border-color: var(--tone-neutral);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="light"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--tone-neutral);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="light"][tone="quiet"]) {\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="light"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="light"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-primary-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--variant-primary-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="primary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-02));\n --mds-button-border-color: var(--variant-primary-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-primary-09));\n --mds-button-color: rgb(var(--variant-primary-02));\n --mds-button-border-color: var(--variant-primary-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-primary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-10));\n --mds-button-color: rgb(var(--variant-primary-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-primary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-primary-08));\n --mds-button-color: rgb(var(--variant-primary-01));\n\n fill: rgb(var(--variant-primary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-primary-03);\n --mds-button-color: rgb(var(--variant-primary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-primary-03);\n --mds-button-color: rgb(var(--variant-primary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-primary-04);\n --mds-button-color: rgb(var(--variant-primary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-primary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-primary-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-primary-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="primary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-primary-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="primary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-02));\n --mds-button-border-color: var(--variant-primary-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-primary-09));\n --mds-button-color: rgb(var(--variant-primary-02));\n --mds-button-border-color: var(--variant-primary-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-primary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-10));\n --mds-button-color: rgb(var(--variant-primary-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-primary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-primary-08));\n --mds-button-color: rgb(var(--variant-primary-01));\n\n fill: rgb(var(--variant-primary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-primary-03);\n --mds-button-color: rgb(var(--variant-primary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-primary-03);\n --mds-button-color: rgb(var(--variant-primary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-primary-04);\n --mds-button-color: rgb(var(--variant-primary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-primary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-primary-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-primary-01));\n }\n}\n\n:host([variant="primary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-primary-04));\n --mds-button-border-color: var(--variant-primary-04);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="primary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-03));\n --mds-button-border-color: var(--variant-primary-03);\n}\n\n:host([variant="primary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-primary-09));\n --mds-button-border-color: var(--variant-primary-09);\n --mds-button-color: rgb(var(--variant-primary-03));\n\n fill: rgb(var(--variant-primary-03));\n}\n\n:host([variant="primary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-08));\n --mds-button-border-color: var(--variant-primary-08);\n}\n\n:host([variant="primary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-primary-04);\n --mds-button-color: rgb(var(--variant-primary-03));\n}\n\n:host([variant="primary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-primary-04);\n --mds-button-color: rgb(var(--variant-primary-02));\n}\n\n:host([variant="primary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-primary-02));\n}\n\n:host([variant="primary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-primary-04));\n}\n\n:host([variant="primary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-primary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-secondary-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--variant-secondary-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-02));\n --mds-button-border-color: var(--variant-secondary-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-secondary-09));\n --mds-button-color: rgb(var(--variant-secondary-02));\n --mds-button-border-color: var(--variant-secondary-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-secondary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-10));\n --mds-button-color: rgb(var(--variant-secondary-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-secondary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-secondary-08));\n --mds-button-color: rgb(var(--variant-secondary-01));\n\n fill: rgb(var(--variant-secondary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-secondary-03);\n --mds-button-color: rgb(var(--variant-secondary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-secondary-03);\n --mds-button-color: rgb(var(--variant-secondary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-secondary-04);\n --mds-button-color: rgb(var(--variant-secondary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-secondary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-secondary-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-secondary-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-secondary-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-02));\n --mds-button-border-color: var(--variant-secondary-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-secondary-09));\n --mds-button-color: rgb(var(--variant-secondary-02));\n --mds-button-border-color: var(--variant-secondary-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-secondary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-10));\n --mds-button-color: rgb(var(--variant-secondary-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-secondary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-secondary-08));\n --mds-button-color: rgb(var(--variant-secondary-01));\n\n fill: rgb(var(--variant-secondary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-secondary-03);\n --mds-button-color: rgb(var(--variant-secondary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-secondary-03);\n --mds-button-color: rgb(var(--variant-secondary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-secondary-04);\n --mds-button-color: rgb(var(--variant-secondary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-secondary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-secondary-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-secondary-01));\n }\n}\n\n:host([variant="secondary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-secondary-04));\n --mds-button-border-color: var(--variant-secondary-04);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="secondary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-03));\n --mds-button-border-color: var(--variant-secondary-03);\n}\n\n:host([variant="secondary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-secondary-09));\n --mds-button-border-color: var(--variant-secondary-09);\n --mds-button-color: rgb(var(--variant-secondary-03));\n\n fill: rgb(var(--variant-secondary-03));\n}\n\n:host([variant="secondary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-08));\n --mds-button-border-color: var(--variant-secondary-08);\n}\n\n:host([variant="secondary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-secondary-04);\n --mds-button-color: rgb(var(--variant-secondary-03));\n}\n\n:host([variant="secondary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-secondary-04);\n --mds-button-color: rgb(var(--variant-secondary-02));\n}\n\n:host([variant="secondary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-secondary-02));\n}\n\n:host([variant="secondary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-secondary-04));\n}\n\n:host([variant="secondary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-secondary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-success-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--status-success-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="success"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-success-02));\n --mds-button-border-color: var(--status-success-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-success-09));\n --mds-button-color: rgb(var(--status-success-02));\n --mds-button-border-color: var(--status-success-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-success-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-success-10));\n --mds-button-color: rgb(var(--status-success-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-success-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-success-08));\n --mds-button-color: rgb(var(--status-success-01));\n\n fill: rgb(var(--status-success-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="ghost"]) {\n --mds-button-border-color: var(--status-success-03);\n --mds-button-color: rgb(var(--status-success-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-success-03);\n --mds-button-color: rgb(var(--status-success-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-success-04);\n --mds-button-color: rgb(var(--status-success-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-success-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-success-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-success-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="success"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-success-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="success"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-success-02));\n --mds-button-border-color: var(--status-success-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-success-09));\n --mds-button-color: rgb(var(--status-success-02));\n --mds-button-border-color: var(--status-success-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-success-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-success-10));\n --mds-button-color: rgb(var(--status-success-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-success-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-success-08));\n --mds-button-color: rgb(var(--status-success-01));\n\n fill: rgb(var(--status-success-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="ghost"]) {\n --mds-button-border-color: var(--status-success-03);\n --mds-button-color: rgb(var(--status-success-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-success-03);\n --mds-button-color: rgb(var(--status-success-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-success-04);\n --mds-button-color: rgb(var(--status-success-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-success-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-success-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-success-01));\n }\n}\n\n:host([variant="success"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-success-05));\n --mds-button-border-color: var(--status-success-05);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="success"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-success-04));\n --mds-button-border-color: var(--status-success-04);\n}\n\n:host([variant="success"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-success-09));\n --mds-button-border-color: var(--status-success-09);\n --mds-button-color: rgb(var(--status-success-03));\n\n fill: rgb(var(--status-success-03));\n}\n\n:host([variant="success"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-success-08));\n --mds-button-border-color: var(--status-success-08);\n}\n\n:host([variant="success"][tone="ghost"]) {\n --mds-button-border-color: var(--status-success-04);\n --mds-button-color: rgb(var(--status-success-03));\n}\n\n:host([variant="success"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-success-04);\n --mds-button-color: rgb(var(--status-success-02));\n}\n\n:host([variant="success"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-success-02));\n}\n\n:host([variant="success"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-success-04));\n}\n\n:host([variant="success"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-success-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-warning-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--status-warning-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="warning"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-warning-02));\n --mds-button-border-color: var(--status-warning-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-warning-09));\n --mds-button-color: rgb(var(--status-warning-02));\n --mds-button-border-color: var(--status-warning-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-warning-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-warning-10));\n --mds-button-color: rgb(var(--status-warning-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-warning-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-warning-08));\n --mds-button-color: rgb(var(--status-warning-01));\n\n fill: rgb(var(--status-warning-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="ghost"]) {\n --mds-button-border-color: var(--status-warning-03);\n --mds-button-color: rgb(var(--status-warning-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-warning-03);\n --mds-button-color: rgb(var(--status-warning-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-warning-04);\n --mds-button-color: rgb(var(--status-warning-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-warning-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-warning-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-warning-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="warning"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-warning-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="warning"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-warning-02));\n --mds-button-border-color: var(--status-warning-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-warning-09));\n --mds-button-color: rgb(var(--status-warning-02));\n --mds-button-border-color: var(--status-warning-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-warning-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-warning-10));\n --mds-button-color: rgb(var(--status-warning-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-warning-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-warning-08));\n --mds-button-color: rgb(var(--status-warning-01));\n\n fill: rgb(var(--status-warning-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="ghost"]) {\n --mds-button-border-color: var(--status-warning-03);\n --mds-button-color: rgb(var(--status-warning-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-warning-03);\n --mds-button-color: rgb(var(--status-warning-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-warning-04);\n --mds-button-color: rgb(var(--status-warning-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-warning-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-warning-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-warning-01));\n }\n}\n\n:host([variant="warning"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-warning-05));\n --mds-button-border-color: var(--status-warning-05);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="warning"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-warning-04));\n --mds-button-border-color: var(--status-warning-04);\n}\n\n:host([variant="warning"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-warning-09));\n --mds-button-border-color: var(--status-warning-09);\n --mds-button-color: rgb(var(--status-warning-03));\n\n fill: rgb(var(--status-warning-03));\n}\n\n:host([variant="warning"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-warning-08));\n --mds-button-border-color: var(--status-warning-08);\n}\n\n:host([variant="warning"][tone="ghost"]) {\n --mds-button-border-color: var(--status-warning-04);\n --mds-button-color: rgb(var(--status-warning-03));\n}\n\n:host([variant="warning"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-warning-04);\n --mds-button-color: rgb(var(--status-warning-02));\n}\n\n:host([variant="warning"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-warning-02));\n}\n\n:host([variant="warning"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-warning-04));\n}\n\n:host([variant="warning"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-warning-01));\n}\n\n:host([tone="quiet"]),\n:host([tone="quiet"]:hover),\n:host([tone="ghost"]) {\n --mds-button-background: transparent;\n}\n\n:host([tone="strong"]),\n:host([tone="weak"]) {\n --mds-button-border-default-opacity: 1;\n --mds-button-border-width: 0;\n}\n\n:host([tone="strong"]),\n:host([tone="weak"]),\n:host([tone="ghost"]) {\n --mds-button-border-opacity: var(--mds-button-border-default-opacity);\n}\n\n:host([tone="strong"]:hover),\n:host([tone="strong"][active]) {\n --mds-button-border-width: var(--mds-button-border-tone-strong-hover-width);\n}\n\n:host([tone="weak"]:hover),\n:host([tone="weak"][active]) {\n --mds-button-border-width: var(--mds-button-border-tone-weak-hover-width);\n}\n\n:host([tone="ghost"]:hover),\n:host([tone="ghost"][active]) {\n --mds-button-background: transparent;\n --mds-button-border-width: var(--mds-button-border-tone-ghost-hover-width);\n --mds-button-border-opacity: var(--mds-button-border-hover-opacity);\n}\n\n:host([variant="google"]),\n:host([variant="google"][tone]) {\n --mds-button-background: rgb(var(--tone-neutral));\n --mds-button-border-hover-opacity: 0.5;\n --mds-button-border-hover-width: 0.125rem;\n --mds-button-border-opacity: 0.2;\n --mds-button-border-width: 0.0625rem;\n --mds-button-color: rgb(var(--tone-neutral-03));\n --mds-button-border-color: var(--tone-neutral-01);\n\n -webkit-box-shadow: 0 0 0 var(--mds-button-border-width) rgb(var(--mds-button-border-color) / var(--mds-button-border-opacity));\n\n box-shadow: 0 0 0 var(--mds-button-border-width) rgb(var(--mds-button-border-color) / var(--mds-button-border-opacity));\n}\n\n:host([variant="google"]:hover),\n:host([variant="google"][tone]:hover) {\n --mds-button-border-width: var(--mds-button-border-hover-width);\n --mds-button-border-opacity: var(--mds-button-border-hover-opacity);\n}\n\n:host([variant="apple"]),\n:host([variant="apple"][tone]) {\n --mds-button-background: rgb(var(--tone-neutral-02));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-width: 0;\n}\n\n:host-context(.pref-theme-dark):host([variant="google"]),\n:host-context(.pref-theme-dark):host([variant="google"][tone]) {\n --mds-button-border-width: 0.125rem;\n --mds-button-border-opacity: 0.3;\n}\n\n:host-context(.pref-theme-dark):host([variant="google"]:hover),\n:host-context(.pref-theme-dark):host([variant="google"][tone]:hover) {\n --mds-button-border-opacity: 0.5;\n}\n\n:host-context(.pref-theme-dark):host([variant="apple"]),\n:host-context(.pref-theme-dark):host([variant="apple"][tone]) {\n --mds-button-background: rgb(var(--tone-neutral-01));\n}\n\n@media (prefers-color-scheme: dark) {\n :host-context(.pref-theme-system):host([variant="apple"]),\n :host-context(.pref-theme-system):host([variant="apple"][tone]) {\n --mds-button-background: rgb(var(--tone-neutral-01));\n }\n\n :host-context(.pref-theme-system):host([variant="google"]),\n :host-context(.pref-theme-system):host([variant="google"][tone]) {\n --mds-button-border-width: 0.125rem;\n --mds-button-border-opacity: 0.3;\n }\n\n :host-context(.pref-theme-system):host([variant="google"]:hover),\n :host-context(.pref-theme-system):host([variant="google"][tone]:hover) {\n --mds-button-border-opacity: 0.5;\n }\n}\n\n:host-context(.pref-animation-reduce),\n:host-context(.pref-animation-reduce) .await,\n:host-context(.pref-animation-reduce) .icon {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n}\n\n@media (prefers-reduced-motion) {\n :host-context(.pref-animation-system),\n :host-context(.pref-animation-system) .await,\n :host-context(.pref-animation-system) .icon {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n:host(:not(:is([hydrated], .hydrated))) {\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n/* TODO refact(stencil): Uses only used selector from parent shadowDOM component */\n\nmds-accordion:not(:is([hydrated], .hydrated)),\nmds-accordion-item:not(:is([hydrated], .hydrated)),\nmds-accordion-timer:not(:is([hydrated], .hydrated)),\nmds-accordion-timer-item:not(:is([hydrated], .hydrated)),\nmds-author:not(:is([hydrated], .hydrated)),\nmds-avatar:not(:is([hydrated], .hydrated)),\nmds-badge:not(:is([hydrated], .hydrated)),\nmds-banner:not(:is([hydrated], .hydrated)),\nmds-benchmark-bar:not(:is([hydrated], .hydrated)),\nmds-bibliography:not(:is([hydrated], .hydrated)),\nmds-breadcrumb:not(:is([hydrated], .hydrated)),\nmds-breadcrumb-item:not(:is([hydrated], .hydrated)),\nmds-button:not(:is([hydrated], .hydrated)),\nmds-card:not(:is([hydrated], .hydrated)),\nmds-card-content:not(:is([hydrated], .hydrated)),\nmds-card-footer:not(:is([hydrated], .hydrated)),\nmds-card-header:not(:is([hydrated], .hydrated)),\nmds-card-media:not(:is([hydrated], .hydrated)),\nmds-chip:not(:is([hydrated], .hydrated)),\nmds-details:not(:is([hydrated], .hydrated)),\nmds-dropdown:not(:is([hydrated], .hydrated)),\nmds-entity:not(:is([hydrated], .hydrated)),\nmds-file:not(:is([hydrated], .hydrated)),\nmds-file-preview:not(:is([hydrated], .hydrated)),\nmds-filter:not(:is([hydrated], .hydrated)),\nmds-filter-item:not(:is([hydrated], .hydrated)),\nmds-header:not(:is([hydrated], .hydrated)),\nmds-header-bar:not(:is([hydrated], .hydrated)),\nmds-help:not(:is([hydrated], .hydrated)),\nmds-horizontal-scroll:not(:is([hydrated], .hydrated)),\nmds-hr:not(:is([hydrated], .hydrated)),\nmds-icon:not(:is([hydrated], .hydrated)),\nmds-img:not(:is([hydrated], .hydrated)),\nmds-input:not(:is([hydrated], .hydrated)),\nmds-input-field:not(:is([hydrated], .hydrated)),\nmds-input-range:not(:is([hydrated], .hydrated)),\nmds-input-select:not(:is([hydrated], .hydrated)),\nmds-input-switch:not(:is([hydrated], .hydrated)),\nmds-input-tip:not(:is([hydrated], .hydrated)),\nmds-input-tip-item:not(:is([hydrated], .hydrated)),\nmds-input-upload:not(:is([hydrated], .hydrated)),\nmds-keyboard:not(:is([hydrated], .hydrated)),\nmds-keyboard-key:not(:is([hydrated], .hydrated)),\nmds-kpi:not(:is([hydrated], .hydrated)),\nmds-kpi-item:not(:is([hydrated], .hydrated)),\nmds-label:not(:is([hydrated], .hydrated)),\nmds-list:not(:is([hydrated], .hydrated)),\nmds-list-item:not(:is([hydrated], .hydrated)),\nmds-modal:not(:is([hydrated], .hydrated)),\nmds-note:not(:is([hydrated], .hydrated)),\nmds-notification:not(:is([hydrated], .hydrated)),\nmds-paginator:not(:is([hydrated], .hydrated)),\nmds-paginator-item:not(:is([hydrated], .hydrated)),\nmds-pref:not(:is([hydrated], .hydrated)),\nmds-pref-animation:not(:is([hydrated], .hydrated)),\nmds-pref-consumption:not(:is([hydrated], .hydrated)),\nmds-pref-contrast:not(:is([hydrated], .hydrated)),\nmds-pref-language:not(:is([hydrated], .hydrated)),\nmds-pref-language-item:not(:is([hydrated], .hydrated)),\nmds-pref-theme:not(:is([hydrated], .hydrated)),\nmds-price-table:not(:is([hydrated], .hydrated)),\nmds-price-table-features:not(:is([hydrated], .hydrated)),\nmds-price-table-features-cell:not(:is([hydrated], .hydrated)),\nmds-price-table-features-row:not(:is([hydrated], .hydrated)),\nmds-price-table-header:not(:is([hydrated], .hydrated)),\nmds-price-table-list:not(:is([hydrated], .hydrated)),\nmds-price-table-list-item:not(:is([hydrated], .hydrated)),\nmds-progress:not(:is([hydrated], .hydrated)),\nmds-push-notification:not(:is([hydrated], .hydrated)),\nmds-push-notifications:not(:is([hydrated], .hydrated)),\nmds-quote:not(:is([hydrated], .hydrated)),\nmds-separator:not(:is([hydrated], .hydrated)),\nmds-spinner:not(:is([hydrated], .hydrated)),\nmds-stepper-bar:not(:is([hydrated], .hydrated)),\nmds-stepper-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab:not(:is([hydrated], .hydrated)),\nmds-tab-bar:not(:is([hydrated], .hydrated)),\nmds-tab-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab-item:not(:is([hydrated], .hydrated)),\nmds-table:not(:is([hydrated], .hydrated)),\nmds-table-body:not(:is([hydrated], .hydrated)),\nmds-table-cell:not(:is([hydrated], .hydrated)),\nmds-table-footer:not(:is([hydrated], .hydrated)),\nmds-table-header:not(:is([hydrated], .hydrated)),\nmds-table-header-cell:not(:is([hydrated], .hydrated)),\nmds-table-row:not(:is([hydrated], .hydrated)),\nmds-text:not(:is([hydrated], .hydrated)),\nmds-toast:not(:is([hydrated], .hydrated)),\nmds-tooltip:not(:is([hydrated], .hydrated)),\nmds-tree:not(:is([hydrated], .hydrated)),\nmds-tree-item:not(:is([hydrated], .hydrated)),\nmds-url-view:not(:is([hydrated], .hydrated)),\nmds-usage:not(:is([hydrated], .hydrated)),\nmds-video-wall:not(:is([hydrated], .hydrated)),\nmds-zero:not(:is([hydrated], .hydrated))\n{\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n';var MdsButtonStyle0=mdsButtonCss;var MdsButton=function(){function t(t){var n=this;registerInstance(this,t);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}this.km=new KeyboardManager;this.iconPosition="left";this.type="submit";this.variant="primary";this.tone="strong";this.size="md";this.target="self";this.truncate="word";this.handleRequestSubmitForm=function(t){var r;t.preventDefault();(r=n.internals.form)===null||r===void 0?void 0:r.requestSubmit()};this.handleReset=function(t){var r;t.preventDefault();(r=n.internals.form)===null||r===void 0?void 0:r.reset()};this.mouseDown=function(){n.active=true};this.mouseUp=function(){n.active=false};this.redirectBlank=function(){if(typeof window!=="undefined"){window.open(n.href,"_blank");return}throw Error("Object window is not defined")};this.onSlotChangeHandler=function(){n.hasText=n.host.innerHTML.trim()!==""||n.host.children.length>0}}t.prototype.disabledChanged=function(t){if(t){this.km.attachClickBehavior();return}this.km.detachClickBehavior();this.disabled=undefined};t.prototype.awaitChanged=function(t){this.host.setAttribute("aria-busy",(!!t).toString());if(t){this.km.attachClickBehavior();return}this.km.detachClickBehavior()};t.prototype.handleTypeChange=function(t){if(!this.internals.form)return;if(t==="submit"){this.host.removeEventListener("click",this.handleReset);this.host.addEventListener("click",this.handleRequestSubmitForm)}else if(t==="reset"){this.host.removeEventListener("click",this.handleRequestSubmitForm);this.host.addEventListener("click",this.handleReset)}else{this.host.removeEventListener("click",this.handleRequestSubmitForm);this.host.removeEventListener("click",this.handleReset)}};t.prototype.handleVariantChange=function(t){if(t==="google"){this.icon=logoGoogle;return}if(t==="apple"){this.icon=mdiApple;return}};t.prototype.componentWillLoad=function(){var t=this;this.hasNotification=this.host.querySelector(':scope > [slot="notification"]')!==null;this.hasText=this.host.innerHTML.trim()!==""||this.host.children.length>0;this.handleVariantChange(this.variant);if(this.href){this.host.addEventListener("click",(function(n){var r;n.preventDefault();if(t.target==="blank"){t.redirectBlank();return}if(typeof window!=="undefined"){window.location.href=(r=t.href)!==null&&r!==void 0?r:""}}))}else if(this.internals.form){if(this.type==="submit"){this.host.addEventListener("click",this.handleRequestSubmitForm)}else if(this.type==="reset"){this.host.addEventListener("click",this.handleReset)}}};t.prototype.componentDidLoad=function(){this.km.addElement(this.host);if(!this.await){this.km.attachClickBehavior()}this.host.setAttribute("aria-busy",this.await?"true":"false");if(this.autoFocus){this.host.focus()}if(isIconFormatIsBase64(this.icon)){return}if(isIconFormatIsSVG(this.icon)){return}if(!this.hasText&&this.icon){var t=unslugName(this.icon);if(!this.host.hasAttribute("aria-label")){setAttributeIfEmpty(this.host,"title",t)}if(!this.host.hasAttribute("title")){setAttributeIfEmpty(this.host,"aria-label",t)}}setAttributeIfEmpty(this.host,"role","button")};t.prototype.handleAwaitChange=function(t){if(t===false){this.await=undefined;this.km.detachClickBehavior();return}this.km.attachClickBehavior()};t.prototype.connectedCallback=function(){if(!this.disabled)this.host.removeAttribute("disabled")};t.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};t.prototype.render=function(){var t;this.typography=(t=buttonSizeTypographyVariant[this.size])!==null&&t!==void 0?t:buttonSizeTypographyVariant.md;return h(Host,{key:"680ba324eacade3bbd8f36508574cb6dad57566b",onMouseDown:this.mouseDown,onMouseUp:this.mouseUp,onMouseOut:this.mouseUp,tabindex:"0"},h("div",{key:"5136e1431685a185d32e9dc8493cd28e7281bb52",class:"await"},h("mds-spinner",{key:"a3760887578e2e69d1e429a253aab3c9624c6c91",class:"spinner",running:this.await})),this.icon&&this.iconPosition==="left"&&h("mds-icon",{key:"9007494247bb1890fafccd4029af9933fb6dcb56","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}),h("mds-text",{key:"4103a169c1cd6cca7c698685d520cb4b9f178765",class:"text",part:"label",typography:this.typography,truncate:this.truncate},h("slot",{key:"41645942af98977c653ada8f65f12f00c55568e2",onSlotchange:this.onSlotChangeHandler})),this.hasNotification&&h("slot",{key:"8b98cd1f404b15b94c8e6e70bad62bda6dca3848",name:"notification"}),this.icon&&this.iconPosition==="right"&&h("mds-icon",{key:"e6d27b07a707896b25fb5728ad8c38cbbd8abee1","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["disabledChanged"],await:["awaitChanged","handleAwaitChange"],type:["handleTypeChange"],variant:["handleVariantChange"]}},enumerable:false,configurable:true});return t}();MdsButton.style=MdsButtonStyle0;function promisifyRequest(t){return new Promise((function(n,r){t.oncomplete=t.onsuccess=function(){return n(t.result)};t.onabort=t.onerror=function(){return r(t.error)}}))}function createStore(t,n){var r=indexedDB.open(t);r.onupgradeneeded=function(){return r.result.createObjectStore(n)};var o=promisifyRequest(r);return function(t,r){return o.then((function(o){return r(o.transaction(n,t).objectStore(n))}))}}var defaultGetStoreFunc;function defaultGetStore(){if(!defaultGetStoreFunc){defaultGetStoreFunc=createStore("keyval-store","keyval")}return defaultGetStoreFunc}function get(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:defaultGetStore();return n("readonly",(function(n){return promisifyRequest(n.get(t))}))}function set(t,n){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:defaultGetStore();return r("readwrite",(function(r){r.put(n,t);return promisifyRequest(r.transaction)}))}function del(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:defaultGetStore();return n("readwrite",(function(n){n.delete(t);return promisifyRequest(n.transaction)}))}var MdsIconSet=function(){function t(t,n,r){this.name=t;this.path=n;this._resolveIconName=r}t.prototype.resolveIconName=function(t){return this._resolveIconName(t,this.name,this.path)};Object.defineProperty(t.prototype,"resolver",{get:function(){return this._resolveIconName},enumerable:false,configurable:true});return t}();var IconsSetController=function(){function t(){var t=this;this._svgPathKey="mdsIconSvgPath";this._iconsSets=new Map;this._svgPathUpdate="mdsIconSvgPathUpdate";this.cacheExp=60*60*1e3*24;this.listeners=[];this.memoryCache={};this.isCacheAvailable=function(n){return __awaiter(t,void 0,void 0,(function(){var t,r,o;return __generator(this,(function(a){switch(a.label){case 0:a.trys.push([0,2,,3]);return[4,get("loader_".concat(n))];case 1:t=a.sent();if(!t){return[2,false]}r=JSON.parse(t);if(Date.now()<r.expiry){return[2,r.data]}del("loader_".concat(n));return[2,false];case 2:o=a.sent();console.error("isCacheAvailable error",o);return[2,false];case 3:return[2]}}))}))};this.setCache=function(n,r){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(o){switch(o.label){case 0:o.trys.push([0,2,,3]);return[4,set("loader_".concat(n),JSON.stringify({data:r,expiry:Date.now()+this.cacheExp}))];case 1:o.sent();return[3,3];case 2:t=o.sent();console.error("setCache error",t);return[3,3];case 3:return[2]}}))}))};this.setUpListener()}t.prototype.addIconSet=function(t,n,r){var o=r;var a=this._iconsSets.get(t);if(!o&&a&&typeof a.resolver==="function"){o=a.resolver}else if(o&&typeof o!=="function"){console.error("MdsIconSvg: the third input of addIconSet should be a function that parses and returns the icons's filename.");return false}else if(!o){console.error("MdsIconSvg: the set ".concat(t," needs a resolve function for the icon names."));return false}this._iconsSets.set(t,new MdsIconSet(t,n,o));return true};t.prototype.getIconSet=function(t){if(!t)return{set:null};return{set:this._iconsSets.get(t.split("/")[0])}};t.prototype.setSvgPath=function(t){var n=/^(((https?:\/\/)?[.\w]+(:\d+)?)|\/)([\w/-]+)*/;var r=n.exec(t);if(!r){throw Error("Svg path not recognize ".concat(t,", ensure is a absolute path starting with '/' or a url"))}if(typeof window!=="undefined"){this._svgPath=r[1]?r[0]:window.location.origin.concat(r[0]);window.dispatchEvent(new Event(this._svgPathUpdate))}};t.prototype.getSvgPath=function(){return this._svgPath};t.prototype.registerListener=function(t){this.listeners.push(t)};t.prototype.setUpListener=function(){var t=this;if(typeof window!=="undefined"){window.addEventListener(this._svgPathUpdate,(function(){for(var n=0,r=t.listeners;n<r.length;n++){var o=r[n];o()}}))}};t.prototype.fetchSvg=function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,o,a,e,s,d;return __generator(this,(function(i){switch(i.label){case 0:i.trys.push([0,4,,5]);if(!this._svgPath&&typeof window==="undefined"){throw Error("Cant find svgPath, ensure you set it")}if(!this._svgPath){this.setSvgPath((n=window.sessionStorage.getItem(IconsSetService._svgPathKey))!==null&&n!==void 0?n:"")}r=this._svgPath&&!t.startsWith("http")?this._svgPath.concat(t,".svg"):t;return[4,this.isCacheAvailable(r)];case 1:o=i.sent();if(this.memoryCache[r]||o){return[2,this.memoryCache[r]||o]}return[4,fetch(r)];case 2:a=i.sent();if(!a.ok){throw Error("Request for '".concat(r,"' returned ").concat(a.status," (").concat(a.statusText,")"))}return[4,a.text()];case 3:e=i.sent();s=e.toLowerCase().trim();if(!(s.startsWith("<svg")||s.startsWith("<?xml"))){throw Error("Resource '".concat(r,"' returned an invalid SVG file"))}this.setCache(r,e);this.memoryCache[r]=e;return[2,e];case 4:d=i.sent();console.error("fetchSvg error",d);return[2,""];case 5:return[2]}}))}))};return t}();var IconsSetService=new IconsSetController;var mdsIconCss=":host{aspect-ratio:1/1;width:1.5rem;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center}.icon{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;font-style:normal;-ms-flex-pack:center;justify-content:center;width:100%}.icon svg{height:auto;width:100%}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";var MdsIconStyle0=mdsIconCss;var MdsIcon=function(){function t(t){var n=this;registerInstance(this,t);this.convertBase64ToSvg=function(){var t=n.name.replace(BASE64_SVG_ICON,"").replace(/\=/i,"");return atob(t)}}t.prototype.componentWillLoad=function(){var t=this;this.updateIcon();IconsSetService.registerListener((function(){return t.updateIcon()}))};t.setSvgPathStatic=function(t){IconsSetService.setSvgPath(t)};t.prototype.setSvgPath=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){IconsSetService.setSvgPath(t);return[2]}))}))};t.prototype.updateIcon=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){switch(n.label){case 0:if(!this.name)return[2,Promise.resolve()];if(isIconFormatIsBase64(this.name)){this.svgHTML=this.convertBase64ToSvg();return[2,Promise.resolve()]}if(isIconFormatIsSVG(this.name)){this.svgHTML=this.name;return[2,Promise.resolve()]}t=this;return[4,IconsSetService.fetchSvg(this.name)];case 1:t.svgHTML=n.sent();return[2]}}))}))};t.prototype.render=function(){return h(Host,{key:"43b9527b1f2650abead16b06c90286fea09adb34"},this.svgHTML&&h("i",{key:"8527fafd0f60b6aa32a2d8e35cd33e9d2403d7b5","aria-hidden":"true",class:"icon",part:"svg",innerHTML:this.svgHTML}))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{name:["updateIcon"]}},enumerable:false,configurable:true});return t}();MdsIcon.style=MdsIconStyle0;var awaitIcon='<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path opacity="0.25" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" stroke="currentColor" stroke-width="4"/>\n <path opacity="0.75" d="M10 2.2002C5.43552 3.12674 2 7.16224 2 12.0002C2 13.5118 2.3354 14.9451 2.93585 16.2297" stroke="currentColor" stroke-width="4" stroke-linecap="round"/>\n</svg>\n';var mdsSpinnerCss=":host{--mds-spinner-duration:0.725s;height:3rem;width:3rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.77, 0, 0.175, 1);transition-timing-function:cubic-bezier(0.77, 0, 0.175, 1);-ms-flex-align:center;align-items:center;color:rgb(var(--variant-primary-03));display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;opacity:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:opacity, transform;transition-property:opacity, transform, -webkit-transform}:host([running]){-webkit-transition-duration:700ms;transition-duration:700ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);opacity:1;-webkit-transform:scale(1);transform:scale(1)}.await-icon{aspect-ratio:1/1;width:100%}@-webkit-keyframes spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.await-icon{-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);-webkit-animation-duration:var(--mds-spinner-duration);animation-duration:var(--mds-spinner-duration);-webkit-animation-play-state:paused;animation-play-state:paused;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;stroke:currentcolor;-webkit-transition-property:stroke;transition-property:stroke}.await-icon svg{width:100%}:host([running]) .await-icon{-webkit-animation-play-state:running;animation-play-state:running}:host-context(.pref-animation-reduce){--mds-spinner-duration:8s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){--mds-spinner-duration:8s}}:host-context(.pref-contrast-more){color:rgb(var(--variant-primary-01))}@media (prefers-contrast: more){:host-context(.pref-contrast-system){color:rgb(var(--variant-primary-01))}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";var MdsSpinnerStyle0=mdsSpinnerCss;var MdsSpinner=function(){function t(t){registerInstance(this,t);this.running=false}t.prototype.handleRunning=function(t){if(t===false){this.running=undefined}};t.prototype.render=function(){return h(Host,{key:"26cc04164b95792fbabf4248eceff7b630d14171"},h("i",{key:"15a3883a3c6777b5475974269e1a946a955b315a",class:"await-icon",innerHTML:awaitIcon}))};Object.defineProperty(t,"watchers",{get:function(){return{running:["handleRunning"]}},enumerable:false,configurable:true});return t}();MdsSpinner.style=MdsSpinnerStyle0;export{MdsButton as mds_button,MdsIcon as mds_icon,MdsSpinner as mds_spinner};
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,n,r,o){function a(t){return t instanceof r?t:new r((function(n){n(t)}))}return new(r||(r=Promise))((function(r,e){function s(t){try{i(o.next(t))}catch(t){e(t)}}function d(t){try{i(o["throw"](t))}catch(t){e(t)}}function i(t){t.done?r(t.value):a(t.value).then(s,d)}i((o=o.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var r={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},o,a,e,s;return s={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function d(t){return function(n){return i([t,n])}}function i(d){if(o)throw new TypeError("Generator is already executing.");while(s&&(s=0,d[0]&&(r=0)),r)try{if(o=1,a&&(e=d[0]&2?a["return"]:d[0]?a["throw"]||((e=a["return"])&&e.call(a),0):a.next)&&!(e=e.call(a,d[1])).done)return e;if(a=0,e)d=[d[0]&2,e.value];switch(d[0]){case 0:case 1:e=d;break;case 4:r.label++;return{value:d[1],done:false};case 5:r.label++;a=d[1];d=[0];continue;case 7:d=r.ops.pop();r.trys.pop();continue;default:if(!(e=r.trys,e=e.length>0&&e[e.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!e||d[1]>e[0]&&d[1]<e[3])){r.label=d[1];break}if(d[0]===6&&r.label<e[1]){r.label=e[1];e=d;break}if(e&&r.label<e[2]){r.label=e[2];r.ops.push(d);break}if(e[2])r.ops.pop();r.trys.pop();continue}d=n.call(t,r)}catch(t){d=[6,t];a=0}finally{o=e=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};import{r as registerInstance,h,H as Host,g as getElement}from"./index-7f153b9b.js";import{K as KeyboardManager}from"./keyboard-manager-f2f2f64c.js";import{u as unslugName,s as setAttributeIfEmpty}from"./aria-ed9d415d.js";var buttonSizeTypographyVariant={sm:"action",md:"action",lg:"h6",xl:"h4"};var BASE64_SVG_ICON="data:image/svg+xml;base64,";var MARKUP_SVG_ICON="<svg ";var isIconFormatIsBase64=function(t){if(!t){return false}return t.startsWith(BASE64_SVG_ICON)};var isIconFormatIsSVG=function(t){if(!t){return false}return t.startsWith(MARKUP_SVG_ICON)};var mdiApple='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-apple" viewBox="0 0 24 24"><path d="M18.71,19.5C17.88,20.74 17,21.95 15.66,21.97C14.32,22 13.89,21.18 12.37,21.18C10.84,21.18 10.37,21.95 9.1,22C7.79,22.05 6.8,20.68 5.96,19.47C4.25,17 2.94,12.45 4.7,9.39C5.57,7.87 7.13,6.91 8.82,6.88C10.1,6.86 11.32,7.75 12.11,7.75C12.89,7.75 14.37,6.68 15.92,6.84C16.57,6.87 18.39,7.1 19.56,8.82C19.47,8.88 17.39,10.1 17.41,12.63C17.44,15.65 20.06,16.66 20.09,16.67C20.06,16.74 19.67,18.11 18.71,19.5M13,3.5C13.73,2.67 14.94,2.04 15.94,2C16.07,3.17 15.6,4.35 14.9,5.19C14.21,6.04 13.07,6.7 11.95,6.61C11.8,5.46 12.36,4.26 13,3.5Z" /></svg>';var logoGoogle='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" xmlnsXlink="http://www.w3.org/1999/xlink"><path fill="#EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"></path><path fill="#4285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"></path><path fill="#FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"></path><path fill="#34A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"></path><path fill="none" d="M0 0h48v48H0z"></path></svg>\n';var mdsButtonCss='@-webkit-keyframes focus-bounce {\n 0%, 75%, 100% {\n outline-offset: var(--magma-outline-focus-offset, 6px);\n }\n\n 50% {\n outline-offset: var(--magma-outline-blur-offset, 2px);\n }\n}\n\n@keyframes focus-bounce {\n 0%, 75%, 100% {\n outline-offset: var(--magma-outline-focus-offset, 6px);\n }\n\n 50% {\n outline-offset: var(--magma-outline-blur-offset, 2px);\n }\n}\n\n@tailwind components;\n\n\n/**\n * @prop --mds-button-await-duration: Sets the duration of the rotation of the spinner await component\n * @prop --mds-button-background: Sets the background-color of the component\n * @prop --mds-button-border-color: Sets the color of the border of the component (based on box-shadow declaration)\n * @prop --mds-button-border-default-opacity: Sets the default opacity of the border color of the component (based on box-shadow declaration)\n * @prop --mds-button-border-high-contrast-hover-width: Sets the width of the border when the component is hovered and the contrast is high (based on box-shadow declaration)\n * @prop --mds-button-border-high-contrast-width: Sets the width of the border of the component and the contrast is high (based on box-shadow declaration)\n * @prop --mds-button-border-hover-opacity: Sets the opacity of the border color when the component is hovered (based on box-shadow declaration)\n * @prop --mds-button-border-opacity: Sets the border opacity of the component (based on box-shadow declaration)\n * @prop --mds-button-border-tone-ghost-hover-width: Sets the width of the border when the component is hovered when the tone is set to `ghost` (based on box-shadow declaration)\n * @prop --mds-button-border-tone-strong-hover-width: Sets the width of the border when the component is hovered when the tone is set to `strong` (based on box-shadow declaration)\n * @prop --mds-button-border-tone-weak-hover-width: Sets the width of the border when the component is hovered when the tone is set to `weak` (based on box-shadow declaration)\n * @prop --mds-button-border-width: Sets the border width of the component (based on box-shadow declaration)\n * @prop --mds-button-color: Sets the text color of the component\n * @prop --mds-button-gap: Sets the distance betwen element inside the components, use it instead of setting gap property directly.\n * @prop --mds-button-radius: Sets the border-radius of the component\n */\n\n:host {\n --mds-button-await-duration: 0.725s;\n --mds-button-background: rgb(var(--variant-primary-02));\n --mds-button-border-color: 0 0 0;\n --mds-button-border-hover-opacity: 0.75;\n --mds-button-border-default-opacity: 0.5;\n --mds-button-border-tone-strong-hover-width: 0.0625rem;\n --mds-button-border-tone-ghost-hover-width: 3px;\n --mds-button-border-tone-weak-hover-width: 0.0625rem;\n --mds-button-border-high-contrast-width: 0.125rem;\n --mds-button-border-high-contrast-hover-width: 3px;\n --mds-button-border-opacity: 0;\n --mds-button-border-width: 0.125rem;\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-gap: 0.5rem;\n --mds-button-line-clamp: 1;\n --mds-button-radius: 0.5rem;\n -webkit-animation-duration: var(--magma-outline-animation-duration, 1s);\n animation-duration: var(--magma-outline-animation-duration, 1s);\n -webkit-animation-fill-mode: forwards;\n animation-fill-mode: forwards;\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n -webkit-animation-name: focus-bounce;\n animation-name: focus-bounce;\n -webkit-animation-play-state: paused;\n animation-play-state: paused;\n -webkit-animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n outline: var(--magma-outline-blur);\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-property: background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;\n transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;\n -webkit-transition-timing-function: ease-in-out;\n transition-timing-function: ease-in-out;\n}\n\n:host:focus-visible {\n --magma-outline-blur: var(--magma-outline-focus);\n\n -webkit-animation-play-state: running;\n\n animation-play-state: running;\n }\n\n:host {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n\n -ms-flex-align: center;\n\n align-items: center;\n background-color: var(--mds-button-background);\n border-radius: var(--mds-button-radius);\n -webkit-box-shadow: 0 0 0 var(--mds-button-border-width) rgb(var(--mds-button-border-color) / var(--mds-button-border-opacity));\n box-shadow: 0 0 0 var(--mds-button-border-width) rgb(var(--mds-button-border-color) / var(--mds-button-border-opacity));\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: var(--mds-button-color);\n cursor: pointer;\n display: -ms-inline-flexbox;\n display: inline-flex;\n fill: currentcolor;\n gap: var(--mds-button-gap);\n -ms-flex-pack: center;\n justify-content: center;\n position: relative;\n -webkit-transition-property: background-color, border-color, color, outline, outline-offset, padding-left, padding-right, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, color, outline, outline-offset, padding-left, padding-right, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, box-shadow, color, outline, outline-offset, padding-left, padding-right, transform;\n transition-property: background-color, border-color, box-shadow, color, outline, outline-offset, padding-left, padding-right, transform, -webkit-box-shadow, -webkit-transform;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n:host(:focus-visible) {\n --magma-outline-blur: var(--magma-outline-focus);\n\n -webkit-animation-play-state: running;\n\n animation-play-state: running;\n\n z-index: 10;\n }\n\n.text {\n --mds-text-line-clamp: var(--mds-button-line-clamp);\n}\n\n.text::first-letter {\n text-transform: uppercase;\n}\n\n.icon {\n -webkit-transition-duration: 300ms;\n transition-duration: 300ms;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n -ms-flex-align: center;\n\n align-items: center;\n display: -ms-inline-flexbox;\n display: inline-flex;\n fill: inherit;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n -ms-flex-pack: center;\n justify-content: center;\n pointer-events: none;\n -webkit-transition-property: fill;\n transition-property: fill;\n}\n\n:host-context(mds-button-group):host(:not(:first-child)) {\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n}\n\n:host-context(mds-button-group):host(:not(:last-child)) {\n border-bottom-right-radius: 0;\n border-top-right-radius: 0;\n}\n\n.await {\n height: 1.5rem;\n width: 1.5rem;\n -webkit-transition-duration: 300ms;\n transition-duration: 300ms;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n display: none;\n margin-right: calc(calc(-1 * var(--mds-button-gap)) - 1.5rem);\n -webkit-transform: scale(0);\n transform: scale(0);\n transition-behavior: allow-discrete;\n -webkit-transition-property: display, margin-right, opacity, width, -webkit-transform;\n transition-property: display, margin-right, opacity, width, -webkit-transform;\n transition-property: display, margin-right, opacity, transform, width;\n transition-property: display, margin-right, opacity, transform, width, -webkit-transform;\n}\n\n.spinner {\n height: 1.5rem;\n width: 1.5rem;\n\n --mds-spinner-duration: var(--mds-button-await-duration);\n\n color: currentcolor;\n}\n\n:host(:not([await])) .spinner,\n:host([await="false"]) .spinner {\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n\n:host([await]:not([await="false"])) .await {\n margin-right: 0rem;\n opacity: 1;\n\n display: -ms-flexbox;\n\n display: flex;\n -webkit-transform: scale(1);\n transform: scale(1);\n\n @starting-style {\n margin-right: calc(calc(-1 * var(--mds-button-gap)) - 1.5rem);\n opacity: 0;\n -webkit-transform: scale(0);\n transform: scale(0);\n }\n}\n\n:host([await]:not([await="false"])) {\n pointer-events: none;\n}\n\n:host([disabled]:not([disabled="false"])) {\n opacity: 0.5;\n\n pointer-events: none;\n}\n\n:host([size="sm"]) {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n padding-top: 0rem;\n padding-bottom: 0rem;\n\n --mds-button-radius: 0.375rem;\n\n min-height: 1.75rem;\n min-width: 1.75rem;\n}\n\n:host([size="sm"]:not([has-text])) {\n padding: 0rem;\n}\n\n:host([size="sm"]) .text {\n font-weight: 500;\n}\n\n:host([size="sm"]) .icon {\n height: 1rem;\n width: 1rem;\n}\n\n:host([size="sm"][await]:not([await="false"]) ) .await {\n -webkit-transform: scale(.75);\n transform: scale(.75);\n}\n\n:host([size="md"]) {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n\n min-height: 2.25rem;\n min-width: 2.25rem;\n}\n\n:host([size="md"]:not([has-text])) {\n padding: 0.25rem;\n}\n\n:host([size="lg"]) {\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n\n min-height: 3rem;\n min-width: 3rem;\n}\n\n:host([size="lg"]:not([has-text])) {\n padding: 0.5rem;\n}\n\n:host([size="xl"]) {\n padding-left: 2rem;\n padding-right: 2rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n\n min-height: 3.25rem;\n min-width: 3.25rem;\n}\n\n:host([size="xl"]:not([has-text])) {\n padding: 0.5rem;\n}\n\n:host(:not([has-text])) .text {\n display: none;\n}\n\n:host([variant="dark"][tone="strong"]) {\n --mds-button-background: rgb(var(--tone-neutral-04));\n --mds-button-border-color: var(--tone-neutral-04);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="dark"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--tone-neutral-05));\n --mds-button-border-color: var(--tone-neutral-05);\n}\n\n:host([variant="dark"][tone="weak"]) {\n --mds-button-background: rgb(var(--tone-neutral-08));\n --mds-button-border-color: var(--tone-neutral-08);\n --mds-button-color: rgb(var(--tone-neutral-03));\n\n fill: rgb(var(--tone-neutral-03));\n}\n\n:host([variant="dark"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--tone-neutral-07));\n --mds-button-border-color: var(--tone-neutral-07);\n --mds-button-color: rgb(var(--tone-neutral-02));\n}\n\n:host([variant="dark"][tone="ghost"]) {\n --mds-button-border-color: var(--tone-neutral-04);\n --mds-button-color: rgb(var(--tone-neutral-03));\n}\n\n:host([variant="dark"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--tone-neutral-04);\n --mds-button-color: rgb(var(--tone-neutral-02));\n}\n\n:host([variant="dark"][tone="quiet"]) {\n --mds-button-color: rgb(var(--tone-neutral-02));\n}\n\n:host([variant="dark"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--tone-neutral-04));\n}\n\n:host([variant="dark"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--tone-neutral-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-ai-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--variant-ai-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="ai"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-02));\n --mds-button-border-color: var(--variant-ai-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-ai-09));\n --mds-button-color: rgb(var(--variant-ai-02));\n --mds-button-border-color: var(--variant-ai-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-ai-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-10));\n --mds-button-color: rgb(var(--variant-ai-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-ai-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-ai-08));\n --mds-button-color: rgb(var(--variant-ai-01));\n\n fill: rgb(var(--variant-ai-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-ai-03);\n --mds-button-color: rgb(var(--variant-ai-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-ai-03);\n --mds-button-color: rgb(var(--variant-ai-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-ai-04);\n --mds-button-color: rgb(var(--variant-ai-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-ai-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-ai-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-ai-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="ai"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-ai-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="ai"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-02));\n --mds-button-border-color: var(--variant-ai-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-ai-09));\n --mds-button-color: rgb(var(--variant-ai-02));\n --mds-button-border-color: var(--variant-ai-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-ai-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-10));\n --mds-button-color: rgb(var(--variant-ai-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-ai-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-ai-08));\n --mds-button-color: rgb(var(--variant-ai-01));\n\n fill: rgb(var(--variant-ai-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-ai-03);\n --mds-button-color: rgb(var(--variant-ai-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-ai-03);\n --mds-button-color: rgb(var(--variant-ai-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-ai-04);\n --mds-button-color: rgb(var(--variant-ai-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-ai-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-ai-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-ai-01));\n }\n}\n\n:host([variant="ai"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-ai-05));\n --mds-button-border-color: var(--variant-ai-05);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="ai"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-04));\n --mds-button-border-color: var(--variant-ai-04);\n}\n\n:host([variant="ai"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-ai-09));\n --mds-button-border-color: var(--variant-ai-09);\n --mds-button-color: rgb(var(--variant-ai-03));\n\n fill: rgb(var(--variant-ai-03));\n}\n\n:host([variant="ai"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-08));\n --mds-button-border-color: var(--variant-ai-08);\n}\n\n:host([variant="ai"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-ai-04);\n --mds-button-color: rgb(var(--variant-ai-03));\n}\n\n:host([variant="ai"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-ai-04);\n --mds-button-color: rgb(var(--variant-ai-02));\n}\n\n:host([variant="ai"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-ai-02));\n}\n\n:host([variant="ai"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-ai-04));\n}\n\n:host([variant="ai"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-ai-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-error-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--status-error-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="error"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-error-02));\n --mds-button-border-color: var(--status-error-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-error-09));\n --mds-button-color: rgb(var(--status-error-02));\n --mds-button-border-color: var(--status-error-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-error-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-error-10));\n --mds-button-color: rgb(var(--status-error-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-error-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-error-08));\n --mds-button-color: rgb(var(--status-error-01));\n\n fill: rgb(var(--status-error-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="ghost"]) {\n --mds-button-border-color: var(--status-error-03);\n --mds-button-color: rgb(var(--status-error-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-error-03);\n --mds-button-color: rgb(var(--status-error-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-error-04);\n --mds-button-color: rgb(var(--status-error-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-error-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-error-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-error-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="error"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-error-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="error"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-error-02));\n --mds-button-border-color: var(--status-error-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-error-09));\n --mds-button-color: rgb(var(--status-error-02));\n --mds-button-border-color: var(--status-error-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-error-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-error-10));\n --mds-button-color: rgb(var(--status-error-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-error-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-error-08));\n --mds-button-color: rgb(var(--status-error-01));\n\n fill: rgb(var(--status-error-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="ghost"]) {\n --mds-button-border-color: var(--status-error-03);\n --mds-button-color: rgb(var(--status-error-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-error-03);\n --mds-button-color: rgb(var(--status-error-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-error-04);\n --mds-button-color: rgb(var(--status-error-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-error-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-error-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-error-01));\n }\n}\n\n:host([variant="error"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-error-05));\n --mds-button-border-color: var(--status-error-05);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="error"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-error-04));\n --mds-button-border-color: var(--status-error-04);\n}\n\n:host([variant="error"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-error-09));\n --mds-button-border-color: var(--status-error-09);\n --mds-button-color: rgb(var(--status-error-03));\n\n fill: rgb(var(--status-error-03));\n}\n\n:host([variant="error"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-error-08));\n --mds-button-border-color: var(--status-error-08);\n}\n\n:host([variant="error"][tone="ghost"]) {\n --mds-button-border-color: var(--status-error-04);\n --mds-button-color: rgb(var(--status-error-03));\n}\n\n:host([variant="error"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-error-04);\n --mds-button-color: rgb(var(--status-error-02));\n}\n\n:host([variant="error"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-error-02));\n}\n\n:host([variant="error"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-error-04));\n}\n\n:host([variant="error"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-error-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-info-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--status-info-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="info"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-info-02));\n --mds-button-border-color: var(--status-info-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-info-09));\n --mds-button-color: rgb(var(--status-info-02));\n --mds-button-border-color: var(--status-info-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-info-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-info-10));\n --mds-button-color: rgb(var(--status-info-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-info-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-info-08));\n --mds-button-color: rgb(var(--status-info-01));\n\n fill: rgb(var(--status-info-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="ghost"]) {\n --mds-button-border-color: var(--status-info-03);\n --mds-button-color: rgb(var(--status-info-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-info-03);\n --mds-button-color: rgb(var(--status-info-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-info-04);\n --mds-button-color: rgb(var(--status-info-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-info-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-info-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-info-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="info"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-info-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="info"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-info-02));\n --mds-button-border-color: var(--status-info-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-info-09));\n --mds-button-color: rgb(var(--status-info-02));\n --mds-button-border-color: var(--status-info-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-info-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-info-10));\n --mds-button-color: rgb(var(--status-info-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-info-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-info-08));\n --mds-button-color: rgb(var(--status-info-01));\n\n fill: rgb(var(--status-info-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="ghost"]) {\n --mds-button-border-color: var(--status-info-03);\n --mds-button-color: rgb(var(--status-info-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-info-03);\n --mds-button-color: rgb(var(--status-info-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-info-04);\n --mds-button-color: rgb(var(--status-info-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-info-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-info-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-info-01));\n }\n}\n\n:host([variant="info"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-info-05));\n --mds-button-border-color: var(--status-info-05);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="info"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-info-04));\n --mds-button-border-color: var(--status-info-04);\n}\n\n:host([variant="info"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-info-09));\n --mds-button-border-color: var(--status-info-09);\n --mds-button-color: rgb(var(--status-info-03));\n\n fill: rgb(var(--status-info-03));\n}\n\n:host([variant="info"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-info-08));\n --mds-button-border-color: var(--status-info-08);\n}\n\n:host([variant="info"][tone="ghost"]) {\n --mds-button-border-color: var(--status-info-04);\n --mds-button-color: rgb(var(--status-info-03));\n}\n\n:host([variant="info"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-info-04);\n --mds-button-color: rgb(var(--status-info-02));\n}\n\n:host([variant="info"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-info-02));\n}\n\n:host([variant="info"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-info-04));\n}\n\n:host([variant="info"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-info-01));\n}\n\n:host([variant="light"][tone="strong"]) {\n --mds-button-background: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--tone-neutral);\n --mds-button-color: rgb(var(--tone-neutral-03));\n}\n\n:host([variant="light"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--tone-neutral);\n}\n\n:host([variant="light"][tone="weak"]) {\n --mds-button-background: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--tone-neutral);\n --mds-button-color: rgb(var(--tone-neutral-03));\n\n fill: rgb(var(--tone-neutral-03));\n}\n\n:host([variant="light"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--tone-neutral);\n --mds-button-color: rgb(var(--tone-neutral-02));\n}\n\n:host([variant="light"][tone="ghost"]) {\n --mds-button-border-color: var(--tone-neutral);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="light"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--tone-neutral);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="light"][tone="quiet"]) {\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="light"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="light"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-primary-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--variant-primary-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="primary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-02));\n --mds-button-border-color: var(--variant-primary-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-primary-09));\n --mds-button-color: rgb(var(--variant-primary-02));\n --mds-button-border-color: var(--variant-primary-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-primary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-10));\n --mds-button-color: rgb(var(--variant-primary-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-primary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-primary-08));\n --mds-button-color: rgb(var(--variant-primary-01));\n\n fill: rgb(var(--variant-primary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-primary-03);\n --mds-button-color: rgb(var(--variant-primary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-primary-03);\n --mds-button-color: rgb(var(--variant-primary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-primary-04);\n --mds-button-color: rgb(var(--variant-primary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-primary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-primary-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-primary-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="primary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-primary-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="primary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-02));\n --mds-button-border-color: var(--variant-primary-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-primary-09));\n --mds-button-color: rgb(var(--variant-primary-02));\n --mds-button-border-color: var(--variant-primary-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-primary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-10));\n --mds-button-color: rgb(var(--variant-primary-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-primary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-primary-08));\n --mds-button-color: rgb(var(--variant-primary-01));\n\n fill: rgb(var(--variant-primary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-primary-03);\n --mds-button-color: rgb(var(--variant-primary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-primary-03);\n --mds-button-color: rgb(var(--variant-primary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-primary-04);\n --mds-button-color: rgb(var(--variant-primary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-primary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-primary-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-primary-01));\n }\n}\n\n:host([variant="primary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-primary-04));\n --mds-button-border-color: var(--variant-primary-04);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="primary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-03));\n --mds-button-border-color: var(--variant-primary-03);\n}\n\n:host([variant="primary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-primary-09));\n --mds-button-border-color: var(--variant-primary-09);\n --mds-button-color: rgb(var(--variant-primary-03));\n\n fill: rgb(var(--variant-primary-03));\n}\n\n:host([variant="primary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-08));\n --mds-button-border-color: var(--variant-primary-08);\n}\n\n:host([variant="primary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-primary-04);\n --mds-button-color: rgb(var(--variant-primary-03));\n}\n\n:host([variant="primary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-primary-04);\n --mds-button-color: rgb(var(--variant-primary-02));\n}\n\n:host([variant="primary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-primary-02));\n}\n\n:host([variant="primary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-primary-04));\n}\n\n:host([variant="primary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-primary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-secondary-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--variant-secondary-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-02));\n --mds-button-border-color: var(--variant-secondary-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-secondary-09));\n --mds-button-color: rgb(var(--variant-secondary-02));\n --mds-button-border-color: var(--variant-secondary-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-secondary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-10));\n --mds-button-color: rgb(var(--variant-secondary-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-secondary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-secondary-08));\n --mds-button-color: rgb(var(--variant-secondary-01));\n\n fill: rgb(var(--variant-secondary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-secondary-03);\n --mds-button-color: rgb(var(--variant-secondary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-secondary-03);\n --mds-button-color: rgb(var(--variant-secondary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-secondary-04);\n --mds-button-color: rgb(var(--variant-secondary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-secondary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-secondary-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-secondary-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-secondary-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-02));\n --mds-button-border-color: var(--variant-secondary-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-secondary-09));\n --mds-button-color: rgb(var(--variant-secondary-02));\n --mds-button-border-color: var(--variant-secondary-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-secondary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-10));\n --mds-button-color: rgb(var(--variant-secondary-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-secondary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-secondary-08));\n --mds-button-color: rgb(var(--variant-secondary-01));\n\n fill: rgb(var(--variant-secondary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-secondary-03);\n --mds-button-color: rgb(var(--variant-secondary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-secondary-03);\n --mds-button-color: rgb(var(--variant-secondary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-secondary-04);\n --mds-button-color: rgb(var(--variant-secondary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-secondary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-secondary-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-secondary-01));\n }\n}\n\n:host([variant="secondary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-secondary-04));\n --mds-button-border-color: var(--variant-secondary-04);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="secondary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-03));\n --mds-button-border-color: var(--variant-secondary-03);\n}\n\n:host([variant="secondary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-secondary-09));\n --mds-button-border-color: var(--variant-secondary-09);\n --mds-button-color: rgb(var(--variant-secondary-03));\n\n fill: rgb(var(--variant-secondary-03));\n}\n\n:host([variant="secondary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-08));\n --mds-button-border-color: var(--variant-secondary-08);\n}\n\n:host([variant="secondary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-secondary-04);\n --mds-button-color: rgb(var(--variant-secondary-03));\n}\n\n:host([variant="secondary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-secondary-04);\n --mds-button-color: rgb(var(--variant-secondary-02));\n}\n\n:host([variant="secondary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-secondary-02));\n}\n\n:host([variant="secondary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-secondary-04));\n}\n\n:host([variant="secondary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-secondary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-success-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--status-success-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="success"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-success-02));\n --mds-button-border-color: var(--status-success-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-success-09));\n --mds-button-color: rgb(var(--status-success-02));\n --mds-button-border-color: var(--status-success-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-success-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-success-10));\n --mds-button-color: rgb(var(--status-success-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-success-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-success-08));\n --mds-button-color: rgb(var(--status-success-01));\n\n fill: rgb(var(--status-success-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="ghost"]) {\n --mds-button-border-color: var(--status-success-03);\n --mds-button-color: rgb(var(--status-success-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-success-03);\n --mds-button-color: rgb(var(--status-success-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-success-04);\n --mds-button-color: rgb(var(--status-success-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-success-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-success-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-success-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="success"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-success-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="success"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-success-02));\n --mds-button-border-color: var(--status-success-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-success-09));\n --mds-button-color: rgb(var(--status-success-02));\n --mds-button-border-color: var(--status-success-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-success-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-success-10));\n --mds-button-color: rgb(var(--status-success-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-success-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-success-08));\n --mds-button-color: rgb(var(--status-success-01));\n\n fill: rgb(var(--status-success-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="ghost"]) {\n --mds-button-border-color: var(--status-success-03);\n --mds-button-color: rgb(var(--status-success-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-success-03);\n --mds-button-color: rgb(var(--status-success-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-success-04);\n --mds-button-color: rgb(var(--status-success-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-success-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-success-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-success-01));\n }\n}\n\n:host([variant="success"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-success-05));\n --mds-button-border-color: var(--status-success-05);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="success"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-success-04));\n --mds-button-border-color: var(--status-success-04);\n}\n\n:host([variant="success"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-success-09));\n --mds-button-border-color: var(--status-success-09);\n --mds-button-color: rgb(var(--status-success-03));\n\n fill: rgb(var(--status-success-03));\n}\n\n:host([variant="success"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-success-08));\n --mds-button-border-color: var(--status-success-08);\n}\n\n:host([variant="success"][tone="ghost"]) {\n --mds-button-border-color: var(--status-success-04);\n --mds-button-color: rgb(var(--status-success-03));\n}\n\n:host([variant="success"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-success-04);\n --mds-button-color: rgb(var(--status-success-02));\n}\n\n:host([variant="success"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-success-02));\n}\n\n:host([variant="success"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-success-04));\n}\n\n:host([variant="success"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-success-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-warning-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--status-warning-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="warning"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-warning-02));\n --mds-button-border-color: var(--status-warning-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-warning-09));\n --mds-button-color: rgb(var(--status-warning-02));\n --mds-button-border-color: var(--status-warning-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-warning-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-warning-10));\n --mds-button-color: rgb(var(--status-warning-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-warning-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-warning-08));\n --mds-button-color: rgb(var(--status-warning-01));\n\n fill: rgb(var(--status-warning-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="ghost"]) {\n --mds-button-border-color: var(--status-warning-03);\n --mds-button-color: rgb(var(--status-warning-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-warning-03);\n --mds-button-color: rgb(var(--status-warning-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-warning-04);\n --mds-button-color: rgb(var(--status-warning-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-warning-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-warning-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-warning-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="warning"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-warning-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="warning"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-warning-02));\n --mds-button-border-color: var(--status-warning-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-warning-09));\n --mds-button-color: rgb(var(--status-warning-02));\n --mds-button-border-color: var(--status-warning-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-warning-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-warning-10));\n --mds-button-color: rgb(var(--status-warning-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-warning-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-warning-08));\n --mds-button-color: rgb(var(--status-warning-01));\n\n fill: rgb(var(--status-warning-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="ghost"]) {\n --mds-button-border-color: var(--status-warning-03);\n --mds-button-color: rgb(var(--status-warning-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-warning-03);\n --mds-button-color: rgb(var(--status-warning-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-warning-04);\n --mds-button-color: rgb(var(--status-warning-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-warning-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-warning-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-warning-01));\n }\n}\n\n:host([variant="warning"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-warning-05));\n --mds-button-border-color: var(--status-warning-05);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="warning"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-warning-04));\n --mds-button-border-color: var(--status-warning-04);\n}\n\n:host([variant="warning"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-warning-09));\n --mds-button-border-color: var(--status-warning-09);\n --mds-button-color: rgb(var(--status-warning-03));\n\n fill: rgb(var(--status-warning-03));\n}\n\n:host([variant="warning"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-warning-08));\n --mds-button-border-color: var(--status-warning-08);\n}\n\n:host([variant="warning"][tone="ghost"]) {\n --mds-button-border-color: var(--status-warning-04);\n --mds-button-color: rgb(var(--status-warning-03));\n}\n\n:host([variant="warning"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-warning-04);\n --mds-button-color: rgb(var(--status-warning-02));\n}\n\n:host([variant="warning"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-warning-02));\n}\n\n:host([variant="warning"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-warning-04));\n}\n\n:host([variant="warning"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-warning-01));\n}\n\n:host([tone="quiet"]),\n:host([tone="quiet"]:hover),\n:host([tone="ghost"]) {\n --mds-button-background: transparent;\n}\n\n:host([tone="strong"]),\n:host([tone="weak"]) {\n --mds-button-border-default-opacity: 1;\n --mds-button-border-width: 0;\n}\n\n:host([tone="strong"]),\n:host([tone="weak"]),\n:host([tone="ghost"]) {\n --mds-button-border-opacity: var(--mds-button-border-default-opacity);\n}\n\n:host([tone="strong"]:hover),\n:host([tone="strong"][active]) {\n --mds-button-border-width: var(--mds-button-border-tone-strong-hover-width);\n}\n\n:host([tone="weak"]:hover),\n:host([tone="weak"][active]) {\n --mds-button-border-width: var(--mds-button-border-tone-weak-hover-width);\n}\n\n:host([tone="ghost"]:hover),\n:host([tone="ghost"][active]) {\n --mds-button-background: transparent;\n --mds-button-border-width: var(--mds-button-border-tone-ghost-hover-width);\n --mds-button-border-opacity: var(--mds-button-border-hover-opacity);\n}\n\n:host([variant="google"]),\n:host([variant="google"][tone]) {\n --mds-button-background: rgb(var(--tone-neutral));\n --mds-button-border-hover-opacity: 0.5;\n --mds-button-border-hover-width: 0.125rem;\n --mds-button-border-opacity: 0.2;\n --mds-button-border-width: 0.0625rem;\n --mds-button-color: rgb(var(--tone-neutral-03));\n --mds-button-border-color: var(--tone-neutral-01);\n\n -webkit-box-shadow: 0 0 0 var(--mds-button-border-width) rgb(var(--mds-button-border-color) / var(--mds-button-border-opacity));\n\n box-shadow: 0 0 0 var(--mds-button-border-width) rgb(var(--mds-button-border-color) / var(--mds-button-border-opacity));\n}\n\n:host([variant="google"]:hover),\n:host([variant="google"][tone]:hover) {\n --mds-button-border-width: var(--mds-button-border-hover-width);\n --mds-button-border-opacity: var(--mds-button-border-hover-opacity);\n}\n\n:host([variant="apple"]),\n:host([variant="apple"][tone]) {\n --mds-button-background: rgb(var(--tone-neutral-02));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-width: 0;\n}\n\n:host-context(.pref-theme-dark):host([variant="google"]),\n:host-context(.pref-theme-dark):host([variant="google"][tone]) {\n --mds-button-border-width: 0.125rem;\n --mds-button-border-opacity: 0.3;\n}\n\n:host-context(.pref-theme-dark):host([variant="google"]:hover),\n:host-context(.pref-theme-dark):host([variant="google"][tone]:hover) {\n --mds-button-border-opacity: 0.5;\n}\n\n:host-context(.pref-theme-dark):host([variant="apple"]),\n:host-context(.pref-theme-dark):host([variant="apple"][tone]) {\n --mds-button-background: rgb(var(--tone-neutral-01));\n}\n\n@media (prefers-color-scheme: dark) {\n :host-context(.pref-theme-system):host([variant="apple"]),\n :host-context(.pref-theme-system):host([variant="apple"][tone]) {\n --mds-button-background: rgb(var(--tone-neutral-01));\n }\n\n :host-context(.pref-theme-system):host([variant="google"]),\n :host-context(.pref-theme-system):host([variant="google"][tone]) {\n --mds-button-border-width: 0.125rem;\n --mds-button-border-opacity: 0.3;\n }\n\n :host-context(.pref-theme-system):host([variant="google"]:hover),\n :host-context(.pref-theme-system):host([variant="google"][tone]:hover) {\n --mds-button-border-opacity: 0.5;\n }\n}\n\n:host-context(.pref-animation-reduce),\n:host-context(.pref-animation-reduce) .await,\n:host-context(.pref-animation-reduce) .icon {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n}\n\n@media (prefers-reduced-motion) {\n :host-context(.pref-animation-system),\n :host-context(.pref-animation-system) .await,\n :host-context(.pref-animation-system) .icon {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n:host(:not(:is([hydrated], .hydrated))) {\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n/* TODO refact(stencil): Uses only used selector from parent shadowDOM component */\n\nmds-accordion:not(:is([hydrated], .hydrated)),\nmds-accordion-item:not(:is([hydrated], .hydrated)),\nmds-accordion-timer:not(:is([hydrated], .hydrated)),\nmds-accordion-timer-item:not(:is([hydrated], .hydrated)),\nmds-author:not(:is([hydrated], .hydrated)),\nmds-avatar:not(:is([hydrated], .hydrated)),\nmds-badge:not(:is([hydrated], .hydrated)),\nmds-banner:not(:is([hydrated], .hydrated)),\nmds-benchmark-bar:not(:is([hydrated], .hydrated)),\nmds-bibliography:not(:is([hydrated], .hydrated)),\nmds-breadcrumb:not(:is([hydrated], .hydrated)),\nmds-breadcrumb-item:not(:is([hydrated], .hydrated)),\nmds-button:not(:is([hydrated], .hydrated)),\nmds-card:not(:is([hydrated], .hydrated)),\nmds-card-content:not(:is([hydrated], .hydrated)),\nmds-card-footer:not(:is([hydrated], .hydrated)),\nmds-card-header:not(:is([hydrated], .hydrated)),\nmds-card-media:not(:is([hydrated], .hydrated)),\nmds-chip:not(:is([hydrated], .hydrated)),\nmds-details:not(:is([hydrated], .hydrated)),\nmds-dropdown:not(:is([hydrated], .hydrated)),\nmds-entity:not(:is([hydrated], .hydrated)),\nmds-file:not(:is([hydrated], .hydrated)),\nmds-file-preview:not(:is([hydrated], .hydrated)),\nmds-filter:not(:is([hydrated], .hydrated)),\nmds-filter-item:not(:is([hydrated], .hydrated)),\nmds-header:not(:is([hydrated], .hydrated)),\nmds-header-bar:not(:is([hydrated], .hydrated)),\nmds-help:not(:is([hydrated], .hydrated)),\nmds-horizontal-scroll:not(:is([hydrated], .hydrated)),\nmds-hr:not(:is([hydrated], .hydrated)),\nmds-icon:not(:is([hydrated], .hydrated)),\nmds-img:not(:is([hydrated], .hydrated)),\nmds-input:not(:is([hydrated], .hydrated)),\nmds-input-field:not(:is([hydrated], .hydrated)),\nmds-input-range:not(:is([hydrated], .hydrated)),\nmds-input-select:not(:is([hydrated], .hydrated)),\nmds-input-switch:not(:is([hydrated], .hydrated)),\nmds-input-tip:not(:is([hydrated], .hydrated)),\nmds-input-tip-item:not(:is([hydrated], .hydrated)),\nmds-input-upload:not(:is([hydrated], .hydrated)),\nmds-keyboard:not(:is([hydrated], .hydrated)),\nmds-keyboard-key:not(:is([hydrated], .hydrated)),\nmds-kpi:not(:is([hydrated], .hydrated)),\nmds-kpi-item:not(:is([hydrated], .hydrated)),\nmds-label:not(:is([hydrated], .hydrated)),\nmds-list:not(:is([hydrated], .hydrated)),\nmds-list-item:not(:is([hydrated], .hydrated)),\nmds-modal:not(:is([hydrated], .hydrated)),\nmds-note:not(:is([hydrated], .hydrated)),\nmds-notification:not(:is([hydrated], .hydrated)),\nmds-paginator:not(:is([hydrated], .hydrated)),\nmds-paginator-item:not(:is([hydrated], .hydrated)),\nmds-pref:not(:is([hydrated], .hydrated)),\nmds-pref-animation:not(:is([hydrated], .hydrated)),\nmds-pref-consumption:not(:is([hydrated], .hydrated)),\nmds-pref-contrast:not(:is([hydrated], .hydrated)),\nmds-pref-language:not(:is([hydrated], .hydrated)),\nmds-pref-language-item:not(:is([hydrated], .hydrated)),\nmds-pref-theme:not(:is([hydrated], .hydrated)),\nmds-price-table:not(:is([hydrated], .hydrated)),\nmds-price-table-features:not(:is([hydrated], .hydrated)),\nmds-price-table-features-cell:not(:is([hydrated], .hydrated)),\nmds-price-table-features-row:not(:is([hydrated], .hydrated)),\nmds-price-table-header:not(:is([hydrated], .hydrated)),\nmds-price-table-list:not(:is([hydrated], .hydrated)),\nmds-price-table-list-item:not(:is([hydrated], .hydrated)),\nmds-progress:not(:is([hydrated], .hydrated)),\nmds-push-notification:not(:is([hydrated], .hydrated)),\nmds-push-notifications:not(:is([hydrated], .hydrated)),\nmds-quote:not(:is([hydrated], .hydrated)),\nmds-separator:not(:is([hydrated], .hydrated)),\nmds-spinner:not(:is([hydrated], .hydrated)),\nmds-stepper-bar:not(:is([hydrated], .hydrated)),\nmds-stepper-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab:not(:is([hydrated], .hydrated)),\nmds-tab-bar:not(:is([hydrated], .hydrated)),\nmds-tab-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab-item:not(:is([hydrated], .hydrated)),\nmds-table:not(:is([hydrated], .hydrated)),\nmds-table-body:not(:is([hydrated], .hydrated)),\nmds-table-cell:not(:is([hydrated], .hydrated)),\nmds-table-footer:not(:is([hydrated], .hydrated)),\nmds-table-header:not(:is([hydrated], .hydrated)),\nmds-table-header-cell:not(:is([hydrated], .hydrated)),\nmds-table-row:not(:is([hydrated], .hydrated)),\nmds-text:not(:is([hydrated], .hydrated)),\nmds-toast:not(:is([hydrated], .hydrated)),\nmds-tooltip:not(:is([hydrated], .hydrated)),\nmds-tree:not(:is([hydrated], .hydrated)),\nmds-tree-item:not(:is([hydrated], .hydrated)),\nmds-url-view:not(:is([hydrated], .hydrated)),\nmds-usage:not(:is([hydrated], .hydrated)),\nmds-video-wall:not(:is([hydrated], .hydrated)),\nmds-zero:not(:is([hydrated], .hydrated))\n{\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n';var MdsButtonStyle0=mdsButtonCss;var MdsButton=function(){function t(t){var n=this;registerInstance(this,t);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}this.km=new KeyboardManager;this.iconPosition="left";this.type="submit";this.variant="primary";this.tone="strong";this.size="md";this.target="self";this.truncate="word";this.handleRequestSubmitForm=function(t){var r;t.preventDefault();(r=n.internals.form)===null||r===void 0?void 0:r.requestSubmit()};this.handleReset=function(t){var r;t.preventDefault();(r=n.internals.form)===null||r===void 0?void 0:r.reset()};this.mouseDown=function(){n.active=true};this.mouseUp=function(){n.active=false};this.redirectBlank=function(){if(typeof window!=="undefined"){window.open(n.href,"_blank");return}throw Error("Object window is not defined")};this.onSlotChangeHandler=function(){n.hasText=n.host.innerHTML.trim()!==""||n.host.children.length>0}}t.prototype.disabledChanged=function(t){if(t){this.km.attachClickBehavior();return}this.km.detachClickBehavior();this.disabled=undefined};t.prototype.awaitChanged=function(t){this.host.setAttribute("aria-busy",(!!t).toString());if(t){this.km.attachClickBehavior();return}this.km.detachClickBehavior()};t.prototype.handleTypeChange=function(t){if(!this.internals.form)return;if(t==="submit"){this.host.removeEventListener("click",this.handleReset);this.host.addEventListener("click",this.handleRequestSubmitForm)}else if(t==="reset"){this.host.removeEventListener("click",this.handleRequestSubmitForm);this.host.addEventListener("click",this.handleReset)}else{this.host.removeEventListener("click",this.handleRequestSubmitForm);this.host.removeEventListener("click",this.handleReset)}};t.prototype.handleVariantChange=function(t){if(t==="google"){this.icon=logoGoogle;return}if(t==="apple"){this.icon=mdiApple;return}};t.prototype.componentWillLoad=function(){var t=this;this.hasNotification=this.host.querySelector(':scope > [slot="notification"]')!==null;this.hasText=this.host.innerHTML.trim()!==""||this.host.children.length>0;this.handleVariantChange(this.variant);if(this.href){this.host.addEventListener("click",(function(n){var r;n.preventDefault();if(t.target==="blank"){t.redirectBlank();return}if(typeof window!=="undefined"){window.location.href=(r=t.href)!==null&&r!==void 0?r:""}}))}else if(this.internals.form){if(this.type==="submit"){this.host.addEventListener("click",this.handleRequestSubmitForm)}else if(this.type==="reset"){this.host.addEventListener("click",this.handleReset)}}};t.prototype.componentDidLoad=function(){this.km.addElement(this.host);if(!this.await){this.km.attachClickBehavior()}this.host.setAttribute("aria-busy",this.await?"true":"false");if(this.autoFocus){this.host.focus()}if(isIconFormatIsBase64(this.icon)){return}if(isIconFormatIsSVG(this.icon)){return}if(!this.hasText&&this.icon){var t=unslugName(this.icon);if(!this.host.hasAttribute("aria-label")){setAttributeIfEmpty(this.host,"title",t)}if(!this.host.hasAttribute("title")){setAttributeIfEmpty(this.host,"aria-label",t)}}setAttributeIfEmpty(this.host,"role","button")};t.prototype.handleAwaitChange=function(t){if(t===false){this.await=undefined;this.km.detachClickBehavior();return}this.km.attachClickBehavior()};t.prototype.connectedCallback=function(){if(!this.disabled)this.host.removeAttribute("disabled")};t.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};t.prototype.render=function(){var t;this.typography=(t=buttonSizeTypographyVariant[this.size])!==null&&t!==void 0?t:buttonSizeTypographyVariant.md;return h(Host,{key:"680ba324eacade3bbd8f36508574cb6dad57566b",onMouseDown:this.mouseDown,onMouseUp:this.mouseUp,onMouseOut:this.mouseUp,tabindex:"0"},h("div",{key:"5136e1431685a185d32e9dc8493cd28e7281bb52",class:"await"},h("mds-spinner",{key:"a3760887578e2e69d1e429a253aab3c9624c6c91",class:"spinner",running:this.await})),this.icon&&this.iconPosition==="left"&&h("mds-icon",{key:"9007494247bb1890fafccd4029af9933fb6dcb56","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}),h("mds-text",{key:"4103a169c1cd6cca7c698685d520cb4b9f178765",class:"text",part:"label",typography:this.typography,truncate:this.truncate},h("slot",{key:"41645942af98977c653ada8f65f12f00c55568e2",onSlotchange:this.onSlotChangeHandler})),this.hasNotification&&h("slot",{key:"8b98cd1f404b15b94c8e6e70bad62bda6dca3848",name:"notification"}),this.icon&&this.iconPosition==="right"&&h("mds-icon",{key:"e6d27b07a707896b25fb5728ad8c38cbbd8abee1","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["disabledChanged"],await:["awaitChanged","handleAwaitChange"],type:["handleTypeChange"],variant:["handleVariantChange"]}},enumerable:false,configurable:true});return t}();MdsButton.style=MdsButtonStyle0;function promisifyRequest(t){return new Promise((function(n,r){t.oncomplete=t.onsuccess=function(){return n(t.result)};t.onabort=t.onerror=function(){return r(t.error)}}))}function createStore(t,n){var r;var o=function o(){if(r)return r;var a=indexedDB.open(t);a.onupgradeneeded=function(){return a.result.createObjectStore(n)};r=promisifyRequest(a);r.then((function(t){t.onclose=function(){return r=undefined}}),(function(){r=undefined}));return r};return function(t,r){return o().then((function(o){return r(o.transaction(n,t).objectStore(n))}))}}var defaultGetStoreFunc;function defaultGetStore(){if(!defaultGetStoreFunc){defaultGetStoreFunc=createStore("keyval-store","keyval")}return defaultGetStoreFunc}function get(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:defaultGetStore();return n("readonly",(function(n){return promisifyRequest(n.get(t))}))}function set(t,n){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:defaultGetStore();return r("readwrite",(function(r){r.put(n,t);return promisifyRequest(r.transaction)}))}function del(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:defaultGetStore();return n("readwrite",(function(n){n.delete(t);return promisifyRequest(n.transaction)}))}var MdsIconSet=function(){function t(t,n,r){this.name=t;this.path=n;this._resolveIconName=r}t.prototype.resolveIconName=function(t){return this._resolveIconName(t,this.name,this.path)};Object.defineProperty(t.prototype,"resolver",{get:function(){return this._resolveIconName},enumerable:false,configurable:true});return t}();var IconsSetController=function(){function t(){var t=this;this._svgPathKey="mdsIconSvgPath";this._iconsSets=new Map;this._svgPathUpdate="mdsIconSvgPathUpdate";this.cacheExp=60*60*1e3*24;this.listeners=[];this.memoryCache={};this.isCacheAvailable=function(n){return __awaiter(t,void 0,void 0,(function(){var t,r,o;return __generator(this,(function(a){switch(a.label){case 0:a.trys.push([0,2,,3]);return[4,get("loader_".concat(n))];case 1:t=a.sent();if(!t){return[2,false]}r=JSON.parse(t);if(Date.now()<r.expiry){return[2,r.data]}del("loader_".concat(n));return[2,false];case 2:o=a.sent();console.error("isCacheAvailable error",o);return[2,false];case 3:return[2]}}))}))};this.setCache=function(n,r){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(o){switch(o.label){case 0:o.trys.push([0,2,,3]);return[4,set("loader_".concat(n),JSON.stringify({data:r,expiry:Date.now()+this.cacheExp}))];case 1:o.sent();return[3,3];case 2:t=o.sent();console.error("setCache error",t);return[3,3];case 3:return[2]}}))}))};this.setUpListener()}t.prototype.addIconSet=function(t,n,r){var o=r;var a=this._iconsSets.get(t);if(!o&&a&&typeof a.resolver==="function"){o=a.resolver}else if(o&&typeof o!=="function"){console.error("MdsIconSvg: the third input of addIconSet should be a function that parses and returns the icons's filename.");return false}else if(!o){console.error("MdsIconSvg: the set ".concat(t," needs a resolve function for the icon names."));return false}this._iconsSets.set(t,new MdsIconSet(t,n,o));return true};t.prototype.getIconSet=function(t){if(!t)return{set:null};return{set:this._iconsSets.get(t.split("/")[0])}};t.prototype.setSvgPath=function(t){var n=Error("Svg path not recognize ".concat(t,", ensure is a absolute path starting with '/' or a url"));if(typeof t!=="string"||t.trim()===""){throw n}var r=t.trim();var o=/^[\w.-]+:\d+(\/|$)/.test(r)?"//".concat(r):r;var a;try{a=new URL(o,"http://localhost/")}catch(t){throw n}if(typeof window!=="undefined"){if(/^[a-z][a-z\d+.-]*:/i.test(o)){a.search="";a.hash="";this._svgPath=a.href}else{this._svgPath=o.replace(/[?#].*$/,"")}window.dispatchEvent(new Event(this._svgPathUpdate))}};t.prototype.getSvgPath=function(){return this._svgPath};t.prototype.registerListener=function(t){this.listeners.push(t)};t.prototype.setUpListener=function(){var t=this;if(typeof window!=="undefined"){window.addEventListener(this._svgPathUpdate,(function(){for(var n=0,r=t.listeners;n<r.length;n++){var o=r[n];o()}}))}};t.prototype.fetchSvg=function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,o,a,e,s,d;return __generator(this,(function(i){switch(i.label){case 0:i.trys.push([0,4,,5]);if(!this._svgPath&&typeof window==="undefined"){throw Error("Cant find svgPath, ensure you set it")}if(!this._svgPath){this.setSvgPath((n=window.sessionStorage.getItem(IconsSetService._svgPathKey))!==null&&n!==void 0?n:"")}r=this._svgPath&&!t.startsWith("http")?this._svgPath.concat(t,".svg"):t;if(this.memoryCache[r]){return[2,this.memoryCache[r]]}return[4,this.isCacheAvailable(r)];case 1:o=i.sent();if(o){this.memoryCache[r]=o;return[2,o]}return[4,fetch(r)];case 2:a=i.sent();if(!a.ok){throw Error("Request for '".concat(r,"' returned ").concat(a.status," (").concat(a.statusText,")"))}return[4,a.text()];case 3:e=i.sent();s=e.toLowerCase().trim();if(!(s.startsWith("<svg")||s.startsWith("<?xml"))){throw Error("Resource '".concat(r,"' returned an invalid SVG file"))}this.setCache(r,e);this.memoryCache[r]=e;return[2,e];case 4:d=i.sent();console.error("fetchSvg error",d);return[2,""];case 5:return[2]}}))}))};return t}();var IconsSetService=new IconsSetController;var mdsIconCss=":host{aspect-ratio:1/1;width:1.5rem;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center}.icon{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;font-style:normal;-ms-flex-pack:center;justify-content:center;width:100%}.icon svg{height:auto;width:100%}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";var MdsIconStyle0=mdsIconCss;var MdsIcon=function(){function t(t){var n=this;registerInstance(this,t);this.convertBase64ToSvg=function(){var t=n.name.replace(BASE64_SVG_ICON,"").replace(/\=/i,"");return atob(t)}}t.prototype.componentWillLoad=function(){var t=this;this.updateIcon();IconsSetService.registerListener((function(){return t.updateIcon()}))};t.setSvgPathStatic=function(t){IconsSetService.setSvgPath(t)};t.prototype.setSvgPath=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){IconsSetService.setSvgPath(t);return[2]}))}))};t.prototype.updateIcon=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){switch(n.label){case 0:if(!this.name)return[2,Promise.resolve()];if(isIconFormatIsBase64(this.name)){this.svgHTML=this.convertBase64ToSvg();return[2,Promise.resolve()]}if(isIconFormatIsSVG(this.name)){this.svgHTML=this.name;return[2,Promise.resolve()]}t=this;return[4,IconsSetService.fetchSvg(this.name)];case 1:t.svgHTML=n.sent();return[2]}}))}))};t.prototype.render=function(){return h(Host,{key:"43b9527b1f2650abead16b06c90286fea09adb34"},this.svgHTML&&h("i",{key:"8527fafd0f60b6aa32a2d8e35cd33e9d2403d7b5","aria-hidden":"true",class:"icon",part:"svg",innerHTML:this.svgHTML}))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{name:["updateIcon"]}},enumerable:false,configurable:true});return t}();MdsIcon.style=MdsIconStyle0;var awaitIcon='<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path opacity="0.25" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" stroke="currentColor" stroke-width="4"/>\n <path opacity="0.75" d="M10 2.2002C5.43552 3.12674 2 7.16224 2 12.0002C2 13.5118 2.3354 14.9451 2.93585 16.2297" stroke="currentColor" stroke-width="4" stroke-linecap="round"/>\n</svg>\n';var mdsSpinnerCss=":host{--mds-spinner-duration:0.725s;height:3rem;width:3rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.77, 0, 0.175, 1);transition-timing-function:cubic-bezier(0.77, 0, 0.175, 1);-ms-flex-align:center;align-items:center;color:rgb(var(--variant-primary-03));display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;opacity:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:opacity, transform;transition-property:opacity, transform, -webkit-transform}:host([running]){-webkit-transition-duration:700ms;transition-duration:700ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);opacity:1;-webkit-transform:scale(1);transform:scale(1)}.await-icon{aspect-ratio:1/1;width:100%}@-webkit-keyframes spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.await-icon{-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);-webkit-animation-duration:var(--mds-spinner-duration);animation-duration:var(--mds-spinner-duration);-webkit-animation-play-state:paused;animation-play-state:paused;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;stroke:currentcolor;-webkit-transition-property:stroke;transition-property:stroke}.await-icon svg{width:100%}:host([running]) .await-icon{-webkit-animation-play-state:running;animation-play-state:running}:host-context(.pref-animation-reduce){--mds-spinner-duration:8s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){--mds-spinner-duration:8s}}:host-context(.pref-contrast-more){color:rgb(var(--variant-primary-01))}@media (prefers-contrast: more){:host-context(.pref-contrast-system){color:rgb(var(--variant-primary-01))}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";var MdsSpinnerStyle0=mdsSpinnerCss;var MdsSpinner=function(){function t(t){registerInstance(this,t);this.running=false}t.prototype.handleRunning=function(t){if(t===false){this.running=undefined}};t.prototype.render=function(){return h(Host,{key:"26cc04164b95792fbabf4248eceff7b630d14171"},h("i",{key:"15a3883a3c6777b5475974269e1a946a955b315a",class:"await-icon",innerHTML:awaitIcon}))};Object.defineProperty(t,"watchers",{get:function(){return{running:["handleRunning"]}},enumerable:false,configurable:true});return t}();MdsSpinner.style=MdsSpinnerStyle0;export{MdsButton as mds_button,MdsIcon as mds_icon,MdsSpinner as mds_spinner};
|