@loadsmart/miranda-wc 1.104.0 → 1.105.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{alert-circle-WKHFHOgl-G5ZXB2uF.js → alert-circle-BOItRzLf-Dads7vs7.js} +2 -2
- package/dist/{alert-circle-WKHFHOgl-G5ZXB2uF.js.map → alert-circle-BOItRzLf-Dads7vs7.js.map} +1 -1
- package/dist/{arrow-left-DVD-M1Tg-3rB0l3GW.js → arrow-left-B35a7y1j-BmjQ6TcY.js} +2 -2
- package/dist/{arrow-left-DVD-M1Tg-3rB0l3GW.js.map → arrow-left-B35a7y1j-BmjQ6TcY.js.map} +1 -1
- package/dist/{arrow-right-BT3FNkP--ZQtxua4u.js → arrow-right-DVMmsJzh-B6z_-jty.js} +2 -2
- package/dist/{arrow-right-BT3FNkP--ZQtxua4u.js.map → arrow-right-DVMmsJzh-B6z_-jty.js.map} +1 -1
- package/dist/{arrow-sort-down-pET_zsYl-CrcsfmGL.js → arrow-sort-down-EujIFsjk-DLJ8vbZP.js} +2 -2
- package/dist/arrow-sort-down-EujIFsjk-DLJ8vbZP.js.map +1 -0
- package/dist/{arrow-sort-up-CkdkpIfG-BzjiNfCC.js → arrow-sort-up-Db4WD7qf-B_5HbqeW.js} +2 -2
- package/dist/arrow-sort-up-Db4WD7qf-B_5HbqeW.js.map +1 -0
- package/dist/{arrow-sort-up-down-DRpdqYdW-CsulOByS.js → arrow-sort-up-down-DrcW5GN4-PbBe5VST.js} +2 -2
- package/dist/{arrow-sort-up-down-DRpdqYdW-CsulOByS.js.map → arrow-sort-up-down-DrcW5GN4-PbBe5VST.js.map} +1 -1
- package/dist/{attention-WzBtJYyl-CKozCitu.js → attention-2nfzUxyl-CYNGurId.js} +2 -2
- package/dist/{attention-WzBtJYyl-CKozCitu.js.map → attention-2nfzUxyl-CYNGurId.js.map} +1 -1
- package/dist/{bell-ZILmJjqp-C8Tr5QaF.js → bell-BatPtFrX-AMEVysL9.js} +2 -2
- package/dist/{bell-ZILmJjqp-C8Tr5QaF.js.map → bell-BatPtFrX-AMEVysL9.js.map} +1 -1
- package/dist/{calendar-DdQL4jIy-Cvk2QUmD.js → calendar-DupS1IlD-DF3kRg99.js} +2 -2
- package/dist/{calendar-DdQL4jIy-Cvk2QUmD.js.map → calendar-DupS1IlD-DF3kRg99.js.map} +1 -1
- package/dist/{canada-flag-BOzXRG6m-DA55yS3h.js → canada-flag-C06PSS4c-EXHehago.js} +2 -2
- package/dist/{canada-flag-BOzXRG6m-DA55yS3h.js.map → canada-flag-C06PSS4c-EXHehago.js.map} +1 -1
- package/dist/{caret-down-PwaB8Nl2-DOKkB0MP.js → caret-down-DFiepbD5-BZBIb9jl.js} +2 -2
- package/dist/{caret-down-PwaB8Nl2-DOKkB0MP.js.map → caret-down-DFiepbD5-BZBIb9jl.js.map} +1 -1
- package/dist/{caret-left-BX3yd7RM-CUh7BVZs.js → caret-left-B1p_vK6j-DyRI7qVK.js} +2 -2
- package/dist/{caret-left-BX3yd7RM-CUh7BVZs.js.map → caret-left-B1p_vK6j-DyRI7qVK.js.map} +1 -1
- package/dist/{caret-right-CAct3mBE-BMpYpCVu.js → caret-right-DGi8fpxz-Dr5zeq2c.js} +2 -2
- package/dist/{caret-right-CAct3mBE-BMpYpCVu.js.map → caret-right-DGi8fpxz-Dr5zeq2c.js.map} +1 -1
- package/dist/{caret-up-WNjNH8aH-BZ7iMFuA.js → caret-up-CK3XDCGN-DCAjajUy.js} +2 -2
- package/dist/{caret-up-WNjNH8aH-BZ7iMFuA.js.map → caret-up-CK3XDCGN-DCAjajUy.js.map} +1 -1
- package/dist/{check-1JDA_EWv-B7OrmONb.js → check-qTuRl3fo-BlPp0Z_B.js} +2 -2
- package/dist/check-qTuRl3fo-BlPp0Z_B.js.map +1 -0
- package/dist/{close-Bn_LXaci-Do2Wkwyc.js → close-leToHD8L-B8uK5HmV.js} +2 -2
- package/dist/{close-Bn_LXaci-Do2Wkwyc.js.map → close-leToHD8L-B8uK5HmV.js.map} +1 -1
- package/dist/components/pagination/pagination.d.ts.map +1 -1
- package/dist/components/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/table/index.d.ts.map +1 -1
- package/dist/components/table/table-actions.d.ts +22 -0
- package/dist/components/table/table-actions.d.ts.map +1 -0
- package/dist/components/table/table-feedback.d.ts +0 -1
- package/dist/components/table/table-feedback.d.ts.map +1 -1
- package/dist/components/table/table.d.ts.map +1 -1
- package/dist/components/table/table.styles.d.ts +1 -1
- package/dist/components/table/table.styles.d.ts.map +1 -1
- package/dist/{double-caret-left-DibBwBM6-CtJGvnpZ.js → double-caret-left-B-o4WwUj-DR5Mxk0S.js} +2 -2
- package/dist/{double-caret-left-DibBwBM6-CtJGvnpZ.js.map → double-caret-left-B-o4WwUj-DR5Mxk0S.js.map} +1 -1
- package/dist/{double-caret-right-DA6EpjhU-CNdhgJSj.js → double-caret-right-BA5B4MUg-Dk3-N2T5.js} +2 -2
- package/dist/{double-caret-right-DA6EpjhU-CNdhgJSj.js.map → double-caret-right-BA5B4MUg-Dk3-N2T5.js.map} +1 -1
- package/dist/{indeterminate-Bz4YKHrr-Bj3qm0j8.js → indeterminate-CD1dtrvM-CeAobzG1.js} +2 -2
- package/dist/indeterminate-CD1dtrvM-CeAobzG1.js.map +1 -0
- package/dist/{index-D-LJ8Rm0.js → index-E6IWJdVb.js} +108 -70
- package/dist/index-E6IWJdVb.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/{info-circle-z2IAY0-u-fjZGp2gl.js → info-circle-DEWLZPb0-IV62Rjda.js} +2 -2
- package/dist/{info-circle-z2IAY0-u-fjZGp2gl.js.map → info-circle-DEWLZPb0-IV62Rjda.js.map} +1 -1
- package/dist/{info-circle-light-B3HEYZlL-BNvQtE-r.js → info-circle-light-qMHTuwLo-D1y9AsiF.js} +2 -2
- package/dist/{info-circle-light-B3HEYZlL-BNvQtE-r.js.map → info-circle-light-qMHTuwLo-D1y9AsiF.js.map} +1 -1
- package/dist/{mexico-flag-DtzcjhKi-CEHg7xre.js → mexico-flag-CYtVHYJs-D02xhIrL.js} +2 -2
- package/dist/{mexico-flag-DtzcjhKi-CEHg7xre.js.map → mexico-flag-CYtVHYJs-D02xhIrL.js.map} +1 -1
- package/dist/{pencil-D8MV6cMP-CeQ8o0O1.js → pencil-DCW6axCH-DFG02cUt.js} +2 -2
- package/dist/{pencil-D8MV6cMP-CeQ8o0O1.js.map → pencil-DCW6axCH-DFG02cUt.js.map} +1 -1
- package/dist/{plus-CYyfhbfp-DO4WH0Kl.js → plus-DkeGmmSg-D04Zyhj0.js} +2 -2
- package/dist/{plus-CYyfhbfp-DO4WH0Kl.js.map → plus-DkeGmmSg-D04Zyhj0.js.map} +1 -1
- package/dist/{question-circle-CLOA6OFo-QaWEXzNB.js → question-circle-1FUc5IB0-BBSl4W1K.js} +2 -2
- package/dist/{question-circle-CLOA6OFo-QaWEXzNB.js.map → question-circle-1FUc5IB0-BBSl4W1K.js.map} +1 -1
- package/dist/{telephone-O_VXtrRk-TXsPhC3n.js → telephone-DXcX-tFW-DJPJn_do.js} +2 -2
- package/dist/{telephone-O_VXtrRk-TXsPhC3n.js.map → telephone-DXcX-tFW-DJPJn_do.js.map} +1 -1
- package/dist/{trash-CBe3YWXm-B7DqvaDu.js → trash-Du1aTyEB-C68mfJ6K.js} +2 -2
- package/dist/{trash-CBe3YWXm-B7DqvaDu.js.map → trash-Du1aTyEB-C68mfJ6K.js.map} +1 -1
- package/dist/{united-states-flag-BmNKXsQg-BjQ6cE5t.js → united-states-flag-Cg5izAJz-CzR2naCM.js} +2 -2
- package/dist/{united-states-flag-BmNKXsQg-BjQ6cE5t.js.map → united-states-flag-Cg5izAJz-CzR2naCM.js.map} +1 -1
- package/dist/{user-Bk-D1agc-CkxjTxo0.js → user-CvaftLP2-CkSvU20j.js} +2 -2
- package/dist/{user-Bk-D1agc-CkxjTxo0.js.map → user-CvaftLP2-CkSvU20j.js.map} +1 -1
- package/package.json +1 -1
- package/dist/arrow-sort-down-pET_zsYl-CrcsfmGL.js.map +0 -1
- package/dist/arrow-sort-up-CkdkpIfG-BzjiNfCC.js.map +0 -1
- package/dist/check-1JDA_EWv-B7OrmONb.js.map +0 -1
- package/dist/indeterminate-Bz4YKHrr-Bj3qm0j8.js.map +0 -1
- package/dist/index-D-LJ8Rm0.js.map +0 -1
|
@@ -31,7 +31,7 @@ var t$7;u$5[d$5]=!0,u$5.elementProperties=new Map,u$5.elementStyles=[],u$5.shado
|
|
|
31
31
|
* Copyright 2017 Google LLC
|
|
32
32
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
33
33
|
*/
|
|
34
|
-
var l$5,o$9;u$3[d$3]=!0,u$3.elementProperties=new Map,u$3.elementStyles=[],u$3.shadowRootOptions={mode:"open"},null==o$a||o$a({ReactiveElement:u$3}),(null!==(s$8=e$8.reactiveElementVersions)&&void 0!==s$8?s$8:e$8.reactiveElementVersions=[]).push("1.6.3");let s$7=class extends u$3{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const o=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=o.firstChild),o}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=D$1(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return T$1}};s$7.finalized=!0,s$7._$litElement$=!0,null===(l$5=globalThis.litElementHydrateSupport)||void 0===l$5||l$5.call(globalThis,{LitElement:s$7});const n$9=globalThis.litElementPolyfillSupport;function redispatchEvent(t,e){!e.bubbles||t.shadowRoot&&!e.composed||e.stopPropagation();const o=Reflect.construct(e.constructor,[e.type,e]),i=t.dispatchEvent(o);return i||e.preventDefault(),i}function isInsideElement(t,e){return e.shadowRoot?t.composedPath().includes(e):null!=t.target&&e.contains(t.target)}null==n$9||n$9({LitElement:s$7}),(null!==(o$9=globalThis.litElementVersions)&&void 0!==o$9?o$9:globalThis.litElementVersions=[]).push("3.3.3");class Component extends s$7{constructor(){super(...arguments),this.emit=(t,e)=>{const o=new CustomEvent(t,{bubbles:!0,cancelable:!0,composed:!0,...e});this.dispatchEvent(o)},this.reemit=t=>{redispatchEvent(this,t)}}}function getDefaultExportFromCjs(t){return t&&t.i&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var toSpacingCSSValue,toCSSValue$1,getToken$1,themes$1={};themes$1.LoadsmartTheme={"brand-color-brand":"20, 214, 77","brand-color-brand-accent-1":"0, 215, 215","brand-color-brand-accent-2":"132, 241, 30","border-radius-none":"0px","border-radius-s":"4px","border-radius-m":"8px","border-radius-l":"16px","border-radius-circle":"50%","border-none":0,"border-thin":"1px","border-medium":"2px","border-thick":"4px","color-background-primary":"252, 252, 255","color-background-secondary":"248, 249, 251","color-background-tertiary":"230, 237, 242","color-background-highlight":"202, 219, 221","color-background-inverted":"32, 41, 49","color-background-secondary-inverted":"61, 74, 85","color-border":"193, 206, 217","color-divider":"230, 237, 242","color-brand":"20, 214, 77","color-brand-accent-1":"0, 215, 215","color-brand-accent-2":"132, 241, 30","color-primary-20":"202, 219, 221","color-primary-60":"0, 84, 84","color-primary-100":"0, 51, 51","color-accent-20":"229, 245, 255","color-accent-60":"0, 98, 159","color-accent-100":"15, 66, 97","color-neutral-0":"252, 252, 255","color-neutral-10":"248, 249, 251","color-neutral-20":"230, 237, 242","color-neutral-40":"193, 206, 217","color-neutral-60":"94, 118, 138","color-neutral-80":"92, 106, 118","color-neutral-90":"61, 74, 85","color-neutral-100":"32, 41, 49","color-success-20":"227, 247, 239","color-success-60":"3, 124, 94","color-success-100":"0, 94, 71","color-danger-20":"255, 233, 230","color-danger-60":"186, 27, 27","color-danger-100":"104, 0, 3","color-warning-20":"255, 243, 214","color-warning-60":"248, 182, 14","color-warning-100":"102, 63, 25","color-text-primary":"32, 41, 49","color-text-secondary":"61, 74, 85","color-text-tertiary":"92, 106, 118","color-text-placeholder":"94, 118, 138","color-text-disabled":"193, 206, 217","color-text-inverted":"252, 252, 255","color-text-secondary-inverted":"193, 206, 217","color-text-error":"186, 27, 27","color-text-highlight":"0, 98, 159","color-text-link":"0, 84, 84","font-family-default":"'Manrope', sans-serif","font-family-title":"'PlusJakartaSans', 'Manrope', sans-serif","font-size-1":"0.625rem","font-size-2":"0.75rem","font-size-3":"0.875rem","font-size-4":"1rem","font-size-5":"1.25rem","font-size-6":"1.625rem","font-size-7":"2.375rem","font-size-8":"3rem","font-size-9":"3.625rem","font-weight-regular":500,"font-weight-medium":600,"font-weight-bold":700,"line-height-1":"100%","line-height-2":"125%","line-height-3":"130%","line-height-4":"140%","line-height-5":"150%","line-height-6":"180%","media-screen-desktop":"1025px","media-screen-tablet":"481px","opacity-0":"0%","opacity-20":"20%","opacity-40":"40%","opacity-60":"60%","opacity-100":"100%","elevation-1":"0px 0px 2px rgba(94, 118, 138, 0.1), 0px 1px 6px 2px rgba(61, 74, 85, 0.15)","elevation-2":"0px 1px 3px rgba(94, 118, 138, 0.2), 0px 4px 8px 3px rgba(61, 74, 85, 0.15)","elevation-3":"0px 0px 4px rgba(94, 118, 138, 0.2), 0px 6px 12px 6px rgba(61, 74, 85, 0.15)","elevation-4":"0px 5px 6px 4px rgba(94, 118, 138, 0.2), 0px 8px 10px rgba(61, 74, 85, 0.1)","glow-primary":"0.0px 0.0px 4.0px 0px rgb(3, 124, 94, .5)","glow-warning":"0.0px 0.0px 4.0px 0px rgba(255, 206, 79, 1.0)","spacing-1":"4px","spacing-2":"8px","spacing-3":"12px","spacing-4":"16px","spacing-5":"20px","spacing-6":"24px","spacing-8":"32px","spacing-10":"40px","spacing-12":"48px","spacing-14":"56px","spacing-16":"64px","spacing-20":"80px","spacing-30":"120px","spacing-0-5":"2px","global-height-small":"1.75rem","global-height-default":"2.5rem","global-height-large":"3rem","platform-font-default":"'Manrope', sans-serif","platform-font-title":"'PlusJakartaSans', 'Manrope', sans-serif"};var r$7=themes$1;function t$5(t,e,o){if(o||2===arguments.length)for(var i,r=0,n=e.length;r<n;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}function e$7(t,e){return t.filter((function(t){return t.startsWith(e)}))}function o$8(t,e){return t.filter((function(t){return!t.startsWith(e)}))}"function"==typeof SuppressedError&&SuppressedError;var n$8=Object.keys(r$7.LoadsmartTheme),a$5=t$5([],o$8(o$8(n$8,"brand-"),"platform-"),!0).sort((function(t,e){return t.localeCompare(e,void 0,{numeric:!0,sensitivity:"base"})}));e$7(a$5,"color-background-"),e$7(a$5,"border-radius-"),e$7(a$5,"border-"),e$7(a$5,"color-"),e$7(a$5,"elevation-"),e$7(a$5,"font-family-"),e$7(a$5,"font-size-"),e$7(a$5,"font-weight-"),e$7(a$5,"global-"),e$7(a$5,"glow-"),e$7(a$5,"line-height-"),e$7(a$5,"opacity-");var _$2=e$7(a$5,"spacing-");function K$1(t){return r$7.LoadsmartTheme[t]}function m$3(t){var e=K$1(t);return null==e?e:"--m-".concat(t)}function h$4(t,e){var o=K$1(t);return null==o?"":t.startsWith("color-")?"rgba(var(".concat(m$3(t),", ").concat(o,"), ").concat(null!=e?e:1,")"):"var(".concat(m$3(t),", ").concat(o,")")}function getToken(t){return r$9(toCSSValue$1(t))}function getColor(t,e=1){return r$9(toCSSValue$1(t,e))}function mr(t){return r$9(`\n\t\tmargin-inline-end: ${t}\n\t`)}function ml(t){return r$9(`\n\t\tmargin-inline-start: ${t}\n\t`)}function mx(t){return r$9(`\n\t\t${ml(t)};\n\t\t${mr(t)}\n\t`)}function mt(t){return r$9(`\n\t\tmargin-block-start: ${t}\n\t`)}function mb(t){return r$9(`\n\t\tmargin-block-end: ${t}\n\t`)}function my(t){return r$9(`\n\t\t${mt(t)};\n\t\t${mb(t)}\n\t`)}function m$2(t){return r$9(`\n\t\t${mx(t)};\n\t\t${my(t)}\n\t`)}function mediaDesktop(t){return r$9(`\n\t@media screen and (min-width: ${getToken$1("media-screen-desktop")}) {\n\t\t${t}\n\t}\n`)}function mediaTablet(t){return r$9(`\n\t@media screen and (min-width: ${getToken$1("media-screen-tablet")}) {\n\t\t${t}\n\t}\n`)}e$7(a$5,"media-"),t$5(["none"],_$2,!0),getToken$1=K$1,toCSSValue$1=h$4,toSpacingCSSValue=function(t,e){var o,i=e?h$4(e):"";return t&&null!==(o="none"===t?"0":h$4(t))&&void 0!==o?o:i};var toArray=function(t){return null==t?[]:Array.isArray(t)?t:[t]},toArray$1=getDefaultExportFromCjs(toArray);const pseudoClassMap={active:[":active"],disabled:[".is-disabled",":disabled"],focus:[".is-focused",":focus",":focus-visible",":focus-within"],hover:[":hover"],visited:[":visited"]};function isPseudoClass(t){return Object.keys(pseudoClassMap).includes(t)}function isNegated(t){return t.startsWith("not.")}function joinIs(t){const e=toArray$1(t).filter((t=>""!==t.trim()));return 0===e.length?"":1===e.length?e[0]:`:is(${e.join(", ")})`}function toString(t,e,o,i){let r=joinIs(t);for(const t of i)if(isNegated(t)){const e=t.slice(4);r=`${r}:not(${pseudoClassMap[e].join(", ")})`}else r=`${r}${joinIs(pseudoClassMap[t])}`;const n=joinIs(e);if(n){let t=` ${o} `;return null==o&&(t="")," "===o&&(t=o),`${r}${t}${n}`}return r}function on(t,e,o=" "){const i=[];let r=!1;const n=new Proxy(r$9(""),{get:(s,a,l)=>"cssText"===a?toString(t,e,o,i):"not"===a?(r=!r,n):isPseudoClass(a)?(i.push(r?`not.${a}`:a),r=!1,n):Reflect.get(s,a,l)});return n}function pr(t){return r$9(`\n\t\tpadding-inline-start: ${t}\n\t`)}function pl(t){return r$9(`\n\t\tpadding-inline-end: ${t}\n\t`)}function px(t){return r$9(`\n\t\t${pl(t)};\n\t\t${pr(t)}\n\t`)}function pt(t){return r$9(`\n\t\tpadding-block-start: ${t}\n\t`)}function pb(t){return r$9(`\n\t\tpadding-block-end: ${t}\n\t`)}function py(t){return r$9(`\n\t\t${pt(t)};\n\t\t${pb(t)}\n\t`)}function p$1(t){return r$9(`\n\t\t${px(t)};\n\t\t${py(t)}\n\t`)}function skeleton(){return r$9("animation: skeleton-loading 1s linear infinite alternate;")}skeleton.styles=()=>i$5`
|
|
34
|
+
var l$5,o$9;u$3[d$3]=!0,u$3.elementProperties=new Map,u$3.elementStyles=[],u$3.shadowRootOptions={mode:"open"},null==o$a||o$a({ReactiveElement:u$3}),(null!==(s$8=e$8.reactiveElementVersions)&&void 0!==s$8?s$8:e$8.reactiveElementVersions=[]).push("1.6.3");let s$7=class extends u$3{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const o=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=o.firstChild),o}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=D$1(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return T$1}};s$7.finalized=!0,s$7._$litElement$=!0,null===(l$5=globalThis.litElementHydrateSupport)||void 0===l$5||l$5.call(globalThis,{LitElement:s$7});const n$9=globalThis.litElementPolyfillSupport;function redispatchEvent(t,e){!e.bubbles||t.shadowRoot&&!e.composed||e.stopPropagation();const o=Reflect.construct(e.constructor,[e.type,e]),i=t.dispatchEvent(o);return i||e.preventDefault(),i}function isInsideElement(t,e){return e.shadowRoot?t.composedPath().includes(e):null!=t.target&&e.contains(t.target)}null==n$9||n$9({LitElement:s$7}),(null!==(o$9=globalThis.litElementVersions)&&void 0!==o$9?o$9:globalThis.litElementVersions=[]).push("3.3.3");class Component extends s$7{constructor(){super(...arguments),this.emit=(t,e)=>{const o=new CustomEvent(t,{bubbles:!0,cancelable:!0,composed:!0,...e});this.dispatchEvent(o)},this.reemit=t=>{redispatchEvent(this,t)}}}function getDefaultExportFromCjs(t){return t&&t.i&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var toSpacingCSSValue,toCSSValue$1,getToken$1,themes$1={};themes$1.LoadsmartTheme={"brand-color-brand":"20, 214, 77","brand-color-brand-accent-1":"0, 215, 215","brand-color-brand-accent-2":"132, 241, 30","border-radius-none":"0px","border-radius-s":"4px","border-radius-m":"8px","border-radius-l":"16px","border-radius-circle":"50%","border-none":0,"border-thin":"1px","border-medium":"2px","border-thick":"4px","color-background-primary":"252, 252, 255","color-background-secondary":"248, 249, 251","color-background-tertiary":"230, 237, 242","color-background-highlight":"202, 219, 221","color-background-inverted":"32, 41, 49","color-background-secondary-inverted":"61, 74, 85","color-border-input":"193, 206, 217","color-border":"230, 237, 242","color-divider":"230, 237, 242","color-brand":"20, 214, 77","color-brand-accent-1":"0, 215, 215","color-brand-accent-2":"132, 241, 30","color-primary-20":"202, 219, 221","color-primary-60":"0, 84, 84","color-primary-100":"0, 51, 51","color-accent-20":"229, 245, 255","color-accent-60":"0, 98, 159","color-accent-100":"15, 66, 97","color-neutral-0":"252, 252, 255","color-neutral-10":"248, 249, 251","color-neutral-20":"230, 237, 242","color-neutral-40":"193, 206, 217","color-neutral-60":"94, 118, 138","color-neutral-80":"92, 106, 118","color-neutral-90":"61, 74, 85","color-neutral-100":"32, 41, 49","color-success-20":"227, 247, 239","color-success-60":"3, 124, 94","color-success-100":"0, 94, 71","color-danger-20":"255, 233, 230","color-danger-60":"186, 27, 27","color-danger-100":"104, 0, 3","color-warning-20":"255, 243, 214","color-warning-60":"248, 182, 14","color-warning-100":"102, 63, 25","color-text-primary":"32, 41, 49","color-text-secondary":"61, 74, 85","color-text-tertiary":"92, 106, 118","color-text-placeholder":"94, 118, 138","color-text-disabled":"193, 206, 217","color-text-inverted":"252, 252, 255","color-text-secondary-inverted":"193, 206, 217","color-text-error":"186, 27, 27","color-text-highlight":"0, 98, 159","color-text-link":"0, 84, 84","font-family-default":"'Manrope', sans-serif","font-family-title":"'PlusJakartaSans', 'Manrope', sans-serif","font-size-1":"0.625rem","font-size-2":"0.75rem","font-size-3":"0.875rem","font-size-4":"1rem","font-size-5":"1.25rem","font-size-6":"1.625rem","font-size-7":"2.375rem","font-size-8":"3rem","font-size-9":"3.625rem","font-weight-regular":500,"font-weight-medium":600,"font-weight-bold":700,"line-height-1":"100%","line-height-2":"125%","line-height-3":"130%","line-height-4":"140%","line-height-5":"150%","line-height-6":"180%","media-screen-desktop":"1025px","media-screen-tablet":"481px","opacity-0":"0%","opacity-20":"20%","opacity-40":"40%","opacity-60":"60%","opacity-100":"100%","elevation-1":"0px 0px 2px rgba(94, 118, 138, 0.1), 0px 1px 6px 2px rgba(61, 74, 85, 0.15)","elevation-2":"0px 1px 3px rgba(94, 118, 138, 0.2), 0px 4px 8px 3px rgba(61, 74, 85, 0.15)","elevation-3":"0px 0px 4px rgba(94, 118, 138, 0.2), 0px 6px 12px 6px rgba(61, 74, 85, 0.15)","elevation-4":"0px 5px 6px 4px rgba(94, 118, 138, 0.2), 0px 8px 10px rgba(61, 74, 85, 0.1)","glow-primary":"0.0px 0.0px 4.0px 0px rgb(3, 124, 94, .5)","glow-warning":"0.0px 0.0px 4.0px 0px rgba(255, 206, 79, 1.0)","spacing-1":"4px","spacing-2":"8px","spacing-3":"12px","spacing-4":"16px","spacing-5":"20px","spacing-6":"24px","spacing-8":"32px","spacing-10":"40px","spacing-12":"48px","spacing-14":"56px","spacing-16":"64px","spacing-20":"80px","spacing-30":"120px","spacing-0-5":"2px","global-height-small":"1.75rem","global-height-default":"2.5rem","global-height-large":"3rem","platform-font-default":"'Manrope', sans-serif","platform-font-title":"'PlusJakartaSans', 'Manrope', sans-serif"};var r$7=themes$1;function t$5(t,e,o){if(o||2===arguments.length)for(var i,r=0,n=e.length;r<n;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}function e$7(t,e){return t.filter((function(t){return t.startsWith(e)}))}function o$8(t,e){return t.filter((function(t){return!t.startsWith(e)}))}"function"==typeof SuppressedError&&SuppressedError;var n$8=Object.keys(r$7.LoadsmartTheme),a$5=t$5([],o$8(o$8(n$8,"brand-"),"platform-"),!0).sort((function(t,e){return t.localeCompare(e,void 0,{numeric:!0,sensitivity:"base"})}));e$7(a$5,"color-background-"),e$7(a$5,"border-radius-"),e$7(a$5,"border-"),e$7(a$5,"color-"),e$7(a$5,"elevation-"),e$7(a$5,"font-family-"),e$7(a$5,"font-size-"),e$7(a$5,"font-weight-"),e$7(a$5,"global-"),e$7(a$5,"glow-"),e$7(a$5,"line-height-"),e$7(a$5,"opacity-");var _$2=e$7(a$5,"spacing-");function K$1(t){return r$7.LoadsmartTheme[t]}function m$3(t){var e=K$1(t);return null==e?e:"--m-".concat(t)}function h$4(t,e){var o=K$1(t);return null==o?"":t.startsWith("color-")?"rgba(var(".concat(m$3(t),", ").concat(o,"), ").concat(null!=e?e:1,")"):"var(".concat(m$3(t),", ").concat(o,")")}function getToken(t){return r$9(toCSSValue$1(t))}function getColor(t,e=1){return r$9(toCSSValue$1(t,e))}function mr(t){return r$9(`\n\t\tmargin-inline-end: ${t}\n\t`)}function ml(t){return r$9(`\n\t\tmargin-inline-start: ${t}\n\t`)}function mx(t){return r$9(`\n\t\t${ml(t)};\n\t\t${mr(t)}\n\t`)}function mt(t){return r$9(`\n\t\tmargin-block-start: ${t}\n\t`)}function mb(t){return r$9(`\n\t\tmargin-block-end: ${t}\n\t`)}function my(t){return r$9(`\n\t\t${mt(t)};\n\t\t${mb(t)}\n\t`)}function m$2(t){return r$9(`\n\t\t${mx(t)};\n\t\t${my(t)}\n\t`)}function mediaDesktop(t){return r$9(`\n\t@media screen and (min-width: ${getToken$1("media-screen-desktop")}) {\n\t\t${t}\n\t}\n`)}function mediaTablet(t){return r$9(`\n\t@media screen and (min-width: ${getToken$1("media-screen-tablet")}) {\n\t\t${t}\n\t}\n`)}e$7(a$5,"media-"),t$5(["none"],_$2,!0),getToken$1=K$1,toCSSValue$1=h$4,toSpacingCSSValue=function(t,e){var o,i=e?h$4(e):"";return t&&null!==(o="none"===t?"0":h$4(t))&&void 0!==o?o:i};var toArray=function(t){return null==t?[]:Array.isArray(t)?t:[t]},toArray$1=getDefaultExportFromCjs(toArray);const pseudoClassMap={active:[":active"],disabled:[".is-disabled",":disabled"],focus:[".is-focused",":focus",":focus-visible",":focus-within"],hover:[":hover"],visited:[":visited"]};function isPseudoClass(t){return Object.keys(pseudoClassMap).includes(t)}function isNegated(t){return t.startsWith("not.")}function joinIs(t){const e=toArray$1(t).filter((t=>""!==t.trim()));return 0===e.length?"":1===e.length?e[0]:`:is(${e.join(", ")})`}function toString(t,e,o,i){let r=joinIs(t);for(const t of i)if(isNegated(t)){const e=t.slice(4);r=`${r}:not(${pseudoClassMap[e].join(", ")})`}else r=`${r}${joinIs(pseudoClassMap[t])}`;const n=joinIs(e);if(n){let t=` ${o} `;return null==o&&(t="")," "===o&&(t=o),`${r}${t}${n}`}return r}function on(t,e,o=" "){const i=[];let r=!1;const n=new Proxy(r$9(""),{get:(s,a,l)=>"cssText"===a?toString(t,e,o,i):"not"===a?(r=!r,n):isPseudoClass(a)?(i.push(r?`not.${a}`:a),r=!1,n):Reflect.get(s,a,l)});return n}function pr(t){return r$9(`\n\t\tpadding-inline-start: ${t}\n\t`)}function pl(t){return r$9(`\n\t\tpadding-inline-end: ${t}\n\t`)}function px(t){return r$9(`\n\t\t${pl(t)};\n\t\t${pr(t)}\n\t`)}function pt(t){return r$9(`\n\t\tpadding-block-start: ${t}\n\t`)}function pb(t){return r$9(`\n\t\tpadding-block-end: ${t}\n\t`)}function py(t){return r$9(`\n\t\t${pt(t)};\n\t\t${pb(t)}\n\t`)}function p$1(t){return r$9(`\n\t\t${px(t)};\n\t\t${py(t)}\n\t`)}function skeleton(){return r$9("animation: skeleton-loading 1s linear infinite alternate;")}skeleton.styles=()=>i$5`
|
|
35
35
|
@keyframes skeleton-loading {
|
|
36
36
|
0% {
|
|
37
37
|
background-color: ${getColor("color-background-tertiary")};
|
|
@@ -61,7 +61,7 @@ var l$5,o$9;u$3[d$3]=!0,u$3.elementProperties=new Map,u$3.elementStyles=[],u$3.s
|
|
|
61
61
|
flex-direction: column;
|
|
62
62
|
align-items: flex-start;
|
|
63
63
|
border-radius: ${getToken("border-radius-s")};
|
|
64
|
-
border: 1px solid ${getColor("color-
|
|
64
|
+
border: 1px solid ${getColor("color-border-input")};
|
|
65
65
|
overflow: hidden;
|
|
66
66
|
}
|
|
67
67
|
|
|
@@ -176,7 +176,7 @@ const t$3$1=window,e$5$1=t$3$1.ShadowRoot&&(void 0===t$3$1.ShadyCSS||t$3$1.Shady
|
|
|
176
176
|
* @license
|
|
177
177
|
* Copyright 2017 Google LLC
|
|
178
178
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
179
|
-
*/var l$4,o$1$1;u[d]=!0,u.elementProperties=new Map,u.elementStyles=[],u.shadowRootOptions={mode:"open"},null==o$2$1||o$2$1({ReactiveElement:u}),(null!==(s$1$1=e$1$1.reactiveElementVersions)&&void 0!==s$1$1?s$1$1:e$1$1.reactiveElementVersions=[]).push("1.6.3");let s$6=class extends u{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const o=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=o.firstChild),o}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=D(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return T}};s$6.finalized=!0,s$6._$litElement$=!0,null===(l$4=globalThis.litElementHydrateSupport)||void 0===l$4||l$4.call(globalThis,{LitElement:s$6});const n$1$1=globalThis.litElementPolyfillSupport;null==n$1$1||n$1$1({LitElement:s$6}),(null!==(o$1$1=globalThis.litElementVersions)&&void 0!==o$1$1?o$1$1:globalThis.litElementVersions=[]).push("3.3.3");var toCSSValue,themes={LoadsmartTheme:{"brand-color-brand":"20, 214, 77","brand-color-brand-accent-1":"0, 215, 215","brand-color-brand-accent-2":"132, 241, 30","border-radius-none":"0px","border-radius-s":"4px","border-radius-m":"8px","border-radius-l":"16px","border-radius-circle":"50%","border-none":0,"border-thin":"1px","border-medium":"2px","border-thick":"4px","color-background-primary":"252, 252, 255","color-background-secondary":"248, 249, 251","color-background-tertiary":"230, 237, 242","color-background-highlight":"202, 219, 221","color-background-inverted":"32, 41, 49","color-background-secondary-inverted":"61, 74, 85","color-border":"193, 206, 217","color-divider":"230, 237, 242","color-brand":"20, 214, 77","color-brand-accent-1":"0, 215, 215","color-brand-accent-2":"132, 241, 30","color-primary-20":"202, 219, 221","color-primary-60":"0, 84, 84","color-primary-100":"0, 51, 51","color-accent-20":"229, 245, 255","color-accent-60":"0, 98, 159","color-accent-100":"15, 66, 97","color-neutral-0":"252, 252, 255","color-neutral-10":"248, 249, 251","color-neutral-20":"230, 237, 242","color-neutral-40":"193, 206, 217","color-neutral-60":"94, 118, 138","color-neutral-80":"92, 106, 118","color-neutral-90":"61, 74, 85","color-neutral-100":"32, 41, 49","color-success-20":"227, 247, 239","color-success-60":"3, 124, 94","color-success-100":"0, 94, 71","color-danger-20":"255, 233, 230","color-danger-60":"186, 27, 27","color-danger-100":"104, 0, 3","color-warning-20":"255, 243, 214","color-warning-60":"248, 182, 14","color-warning-100":"102, 63, 25","color-text-primary":"32, 41, 49","color-text-secondary":"61, 74, 85","color-text-tertiary":"92, 106, 118","color-text-placeholder":"94, 118, 138","color-text-disabled":"193, 206, 217","color-text-inverted":"252, 252, 255","color-text-secondary-inverted":"193, 206, 217","color-text-error":"186, 27, 27","color-text-highlight":"0, 98, 159","color-text-link":"0, 84, 84","font-family-default":"'Manrope', sans-serif","font-family-title":"'PlusJakartaSans', 'Manrope', sans-serif","font-size-1":"0.625rem","font-size-2":"0.75rem","font-size-3":"0.875rem","font-size-4":"1rem","font-size-5":"1.25rem","font-size-6":"1.625rem","font-size-7":"2.375rem","font-size-8":"3rem","font-size-9":"3.625rem","font-weight-regular":500,"font-weight-medium":600,"font-weight-bold":700,"line-height-1":"100%","line-height-2":"125%","line-height-3":"130%","line-height-4":"140%","line-height-5":"150%","line-height-6":"180%","media-screen-desktop":"1025px","media-screen-tablet":"481px","opacity-0":"0%","opacity-20":"20%","opacity-40":"40%","opacity-60":"60%","opacity-100":"100%","elevation-1":"0px 0px 2px rgba(94, 118, 138, 0.1), 0px 1px 6px 2px rgba(61, 74, 85, 0.15)","elevation-2":"0px 1px 3px rgba(94, 118, 138, 0.2), 0px 4px 8px 3px rgba(61, 74, 85, 0.15)","elevation-3":"0px 0px 4px rgba(94, 118, 138, 0.2), 0px 6px 12px 6px rgba(61, 74, 85, 0.15)","elevation-4":"0px 5px 6px 4px rgba(94, 118, 138, 0.2), 0px 8px 10px rgba(61, 74, 85, 0.1)","glow-primary":"0.0px 0.0px 4.0px 0px rgb(3, 124, 94, .5)","glow-warning":"0.0px 0.0px 4.0px 0px rgba(255, 206, 79, 1.0)","spacing-1":"4px","spacing-2":"8px","spacing-3":"12px","spacing-4":"16px","spacing-5":"20px","spacing-6":"24px","spacing-8":"32px","spacing-10":"40px","spacing-12":"48px","spacing-14":"56px","spacing-16":"64px","spacing-20":"80px","spacing-30":"120px","spacing-0-5":"2px","global-height-small":"1.75rem","global-height-default":"2.5rem","global-height-large":"3rem","platform-font-default":"'Manrope', sans-serif","platform-font-title":"'PlusJakartaSans', 'Manrope', sans-serif"}},r$6=themes;function t$4(t,e,o){if(o||2===arguments.length)for(var i,r=0,n=e.length;r<n;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}function e$6(t,e){return t.filter((function(t){return t.startsWith(e)}))}function o$7(t,e){return t.filter((function(t){return!t.startsWith(e)}))}"function"==typeof SuppressedError&&SuppressedError;var n$7=Object.keys(r$6.LoadsmartTheme),a$4=t$4([],o$7(o$7(n$7,"brand-"),"platform-"),!0).sort((function(t,e){return t.localeCompare(e,void 0,{numeric:!0,sensitivity:"base"})}));e$6(a$4,"color-background-"),e$6(a$4,"border-radius-"),e$6(a$4,"border-"),e$6(a$4,"color-"),e$6(a$4,"elevation-"),e$6(a$4,"font-family-"),e$6(a$4,"font-size-"),e$6(a$4,"font-weight-"),e$6(a$4,"global-"),e$6(a$4,"glow-"),e$6(a$4,"line-height-"),e$6(a$4,"opacity-");var _=e$6(a$4,"spacing-");function K(t){return r$6.LoadsmartTheme[t]}function m(t){var e=K(t);return null==e?e:"--m-".concat(t)}function h(t,e){var o=K(t);return null==o?"":t.startsWith("color-")?"rgba(var(".concat(m(t),", ").concat(o,"), ").concat(null!=e?e:1,")"):"var(".concat(m(t),", ").concat(o,")")}function styles$H(){return[i$4`
|
|
179
|
+
*/var l$4,o$1$1;u[d]=!0,u.elementProperties=new Map,u.elementStyles=[],u.shadowRootOptions={mode:"open"},null==o$2$1||o$2$1({ReactiveElement:u}),(null!==(s$1$1=e$1$1.reactiveElementVersions)&&void 0!==s$1$1?s$1$1:e$1$1.reactiveElementVersions=[]).push("1.6.3");let s$6=class extends u{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const o=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=o.firstChild),o}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=D(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return T}};s$6.finalized=!0,s$6._$litElement$=!0,null===(l$4=globalThis.litElementHydrateSupport)||void 0===l$4||l$4.call(globalThis,{LitElement:s$6});const n$1$1=globalThis.litElementPolyfillSupport;null==n$1$1||n$1$1({LitElement:s$6}),(null!==(o$1$1=globalThis.litElementVersions)&&void 0!==o$1$1?o$1$1:globalThis.litElementVersions=[]).push("3.3.3");var toCSSValue,themes={LoadsmartTheme:{"brand-color-brand":"20, 214, 77","brand-color-brand-accent-1":"0, 215, 215","brand-color-brand-accent-2":"132, 241, 30","border-radius-none":"0px","border-radius-s":"4px","border-radius-m":"8px","border-radius-l":"16px","border-radius-circle":"50%","border-none":0,"border-thin":"1px","border-medium":"2px","border-thick":"4px","color-background-primary":"252, 252, 255","color-background-secondary":"248, 249, 251","color-background-tertiary":"230, 237, 242","color-background-highlight":"202, 219, 221","color-background-inverted":"32, 41, 49","color-background-secondary-inverted":"61, 74, 85","color-border-input":"193, 206, 217","color-border":"230, 237, 242","color-divider":"230, 237, 242","color-brand":"20, 214, 77","color-brand-accent-1":"0, 215, 215","color-brand-accent-2":"132, 241, 30","color-primary-20":"202, 219, 221","color-primary-60":"0, 84, 84","color-primary-100":"0, 51, 51","color-accent-20":"229, 245, 255","color-accent-60":"0, 98, 159","color-accent-100":"15, 66, 97","color-neutral-0":"252, 252, 255","color-neutral-10":"248, 249, 251","color-neutral-20":"230, 237, 242","color-neutral-40":"193, 206, 217","color-neutral-60":"94, 118, 138","color-neutral-80":"92, 106, 118","color-neutral-90":"61, 74, 85","color-neutral-100":"32, 41, 49","color-success-20":"227, 247, 239","color-success-60":"3, 124, 94","color-success-100":"0, 94, 71","color-danger-20":"255, 233, 230","color-danger-60":"186, 27, 27","color-danger-100":"104, 0, 3","color-warning-20":"255, 243, 214","color-warning-60":"248, 182, 14","color-warning-100":"102, 63, 25","color-text-primary":"32, 41, 49","color-text-secondary":"61, 74, 85","color-text-tertiary":"92, 106, 118","color-text-placeholder":"94, 118, 138","color-text-disabled":"193, 206, 217","color-text-inverted":"252, 252, 255","color-text-secondary-inverted":"193, 206, 217","color-text-error":"186, 27, 27","color-text-highlight":"0, 98, 159","color-text-link":"0, 84, 84","font-family-default":"'Manrope', sans-serif","font-family-title":"'PlusJakartaSans', 'Manrope', sans-serif","font-size-1":"0.625rem","font-size-2":"0.75rem","font-size-3":"0.875rem","font-size-4":"1rem","font-size-5":"1.25rem","font-size-6":"1.625rem","font-size-7":"2.375rem","font-size-8":"3rem","font-size-9":"3.625rem","font-weight-regular":500,"font-weight-medium":600,"font-weight-bold":700,"line-height-1":"100%","line-height-2":"125%","line-height-3":"130%","line-height-4":"140%","line-height-5":"150%","line-height-6":"180%","media-screen-desktop":"1025px","media-screen-tablet":"481px","opacity-0":"0%","opacity-20":"20%","opacity-40":"40%","opacity-60":"60%","opacity-100":"100%","elevation-1":"0px 0px 2px rgba(94, 118, 138, 0.1), 0px 1px 6px 2px rgba(61, 74, 85, 0.15)","elevation-2":"0px 1px 3px rgba(94, 118, 138, 0.2), 0px 4px 8px 3px rgba(61, 74, 85, 0.15)","elevation-3":"0px 0px 4px rgba(94, 118, 138, 0.2), 0px 6px 12px 6px rgba(61, 74, 85, 0.15)","elevation-4":"0px 5px 6px 4px rgba(94, 118, 138, 0.2), 0px 8px 10px rgba(61, 74, 85, 0.1)","glow-primary":"0.0px 0.0px 4.0px 0px rgb(3, 124, 94, .5)","glow-warning":"0.0px 0.0px 4.0px 0px rgba(255, 206, 79, 1.0)","spacing-1":"4px","spacing-2":"8px","spacing-3":"12px","spacing-4":"16px","spacing-5":"20px","spacing-6":"24px","spacing-8":"32px","spacing-10":"40px","spacing-12":"48px","spacing-14":"56px","spacing-16":"64px","spacing-20":"80px","spacing-30":"120px","spacing-0-5":"2px","global-height-small":"1.75rem","global-height-default":"2.5rem","global-height-large":"3rem","platform-font-default":"'Manrope', sans-serif","platform-font-title":"'PlusJakartaSans', 'Manrope', sans-serif"}},r$6=themes;function t$4(t,e,o){if(o||2===arguments.length)for(var i,r=0,n=e.length;r<n;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}function e$6(t,e){return t.filter((function(t){return t.startsWith(e)}))}function o$7(t,e){return t.filter((function(t){return!t.startsWith(e)}))}"function"==typeof SuppressedError&&SuppressedError;var n$7=Object.keys(r$6.LoadsmartTheme),a$4=t$4([],o$7(o$7(n$7,"brand-"),"platform-"),!0).sort((function(t,e){return t.localeCompare(e,void 0,{numeric:!0,sensitivity:"base"})}));e$6(a$4,"color-background-"),e$6(a$4,"border-radius-"),e$6(a$4,"border-"),e$6(a$4,"color-"),e$6(a$4,"elevation-"),e$6(a$4,"font-family-"),e$6(a$4,"font-size-"),e$6(a$4,"font-weight-"),e$6(a$4,"global-"),e$6(a$4,"glow-"),e$6(a$4,"line-height-"),e$6(a$4,"opacity-");var _=e$6(a$4,"spacing-");function K(t){return r$6.LoadsmartTheme[t]}function m(t){var e=K(t);return null==e?e:"--m-".concat(t)}function h(t,e){var o=K(t);return null==o?"":t.startsWith("color-")?"rgba(var(".concat(m(t),", ").concat(o,"), ").concat(null!=e?e:1,")"):"var(".concat(m(t),", ").concat(o,")")}function styles$H(){return[i$4`
|
|
180
180
|
:host {
|
|
181
181
|
--m-icon-size: 16px;
|
|
182
182
|
--m-icon-color: ${r$2(toCSSValue("color-text-primary"))};
|
|
@@ -198,7 +198,7 @@ const t$3$1=window,e$5$1=t$3$1.ShadowRoot&&(void 0===t$3$1.ShadyCSS||t$3$1.Shady
|
|
|
198
198
|
color: var(--m-icon-color);
|
|
199
199
|
fill: var(--m-icon-color);
|
|
200
200
|
}
|
|
201
|
-
`]}e$6(a$4,"media-"),t$4(["none"],_,!0),toCSSValue=h;const icons=new Map([["alert-circle",()=>import("./alert-circle-
|
|
201
|
+
`]}e$6(a$4,"media-"),t$4(["none"],_,!0),toCSSValue=h;const icons=new Map([["alert-circle",()=>import("./alert-circle-BOItRzLf-Dads7vs7.js")],["arrow-left",()=>import("./arrow-left-B35a7y1j-BmjQ6TcY.js")],["arrow-right",()=>import("./arrow-right-DVMmsJzh-B6z_-jty.js")],["arrow-sort-down",()=>import("./arrow-sort-down-EujIFsjk-DLJ8vbZP.js")],["arrow-sort-up",()=>import("./arrow-sort-up-Db4WD7qf-B_5HbqeW.js")],["arrow-sort-up-down",()=>import("./arrow-sort-up-down-DrcW5GN4-PbBe5VST.js")],["attention",()=>import("./attention-2nfzUxyl-CYNGurId.js")],["bell",()=>import("./bell-BatPtFrX-AMEVysL9.js")],["calendar",()=>import("./calendar-DupS1IlD-DF3kRg99.js")],["canada-flag",()=>import("./canada-flag-C06PSS4c-EXHehago.js")],["caret-down",()=>import("./caret-down-DFiepbD5-BZBIb9jl.js")],["caret-left",()=>import("./caret-left-B1p_vK6j-DyRI7qVK.js")],["caret-right",()=>import("./caret-right-DGi8fpxz-Dr5zeq2c.js")],["caret-up",()=>import("./caret-up-CK3XDCGN-DCAjajUy.js")],["check",()=>import("./check-qTuRl3fo-BlPp0Z_B.js")],["close",()=>import("./close-leToHD8L-B8uK5HmV.js")],["double-caret-left",()=>import("./double-caret-left-B-o4WwUj-DR5Mxk0S.js")],["double-caret-right",()=>import("./double-caret-right-BA5B4MUg-Dk3-N2T5.js")],["indeterminate",()=>import("./indeterminate-CD1dtrvM-CeAobzG1.js")],["info-circle",()=>import("./info-circle-DEWLZPb0-IV62Rjda.js")],["mexico-flag",()=>import("./mexico-flag-CYtVHYJs-D02xhIrL.js")],["pencil",()=>import("./pencil-DCW6axCH-DFG02cUt.js")],["plus",()=>import("./plus-DkeGmmSg-D04Zyhj0.js")],["telephone",()=>import("./telephone-DXcX-tFW-DJPJn_do.js")],["trash",()=>import("./trash-Du1aTyEB-C68mfJ6K.js")],["united-states-flag",()=>import("./united-states-flag-Cg5izAJz-CzR2naCM.js")],["user",()=>import("./user-CvaftLP2-CkSvU20j.js")],["info-circle-light",()=>import("./info-circle-light-qMHTuwLo-D1y9AsiF.js")],["question-circle",()=>import("./question-circle-1FUc5IB0-BBSl4W1K.js")]]),AVAILABLE_ICONS=[...icons.keys()];var _Icon_loadIcon,_Accordion_instances,_Accordion_accordionTrigger_get,_Accordion_accordionPanel_get,_Accordion_accordionContent_get,_Accordion_handleExpand,_Accordion_toggle,_Accordion_handleTransition;class Icon extends s$6{static get properties(){return{name:{type:String},size:{type:String},color:{type:String},loading:{state:!0}}}constructor(){super(),this.icon=null,_Icon_loadIcon.set(this,(async()=>{icons.has(this.name);try{this.icon=null;const{default:t}=await icons.get(this.name)();this.icon=t}catch{}finally{this.requestUpdate()}})),this.icon=null}connectedCallback(){super.connectedCallback(),__classPrivateFieldGet(this,_Icon_loadIcon,"f").call(this)}update(t){super.update(t),t.has("name")&&__classPrivateFieldGet(this,_Icon_loadIcon,"f").call(this)}updated(t){super.updated(t),t.has("size")&&null!=this.size&&this.style.setProperty("--m-icon-size",`${parseInt(String(this.size),10)||16}px`),t.has("color")&&null!=this.color&&this.style.setProperty("--m-icon-color",toCSSValue(this.color))}render(){return null!=this.name&&icons.has(this.name)&&null!=this.icon?this.icon:A}}_Icon_loadIcon=new WeakMap,Icon.styles=[styles$H()],window.customElements.define("m-icon",Icon);class Accordion extends Component{static get properties(){return{disabled:{type:Boolean,reflect:!0},expanded:{type:Boolean,reflect:!0}}}constructor(){super(),_Accordion_instances.add(this),_Accordion_handleTransition.set(this,(()=>{this.expanded&&!this.disabled&&(__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionPanel_get).style.height="auto")})),this.disabled=!1,this.expanded=!1,this.resizeObserver=new ResizeObserver((t=>{this.panelHeight=t[0].target.scrollHeight}))}firstUpdated(){__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionContent_get).style.transition="visibility 0.35s",__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionContent_get).setAttribute("role","region"),this.resizeObserver.observe(__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionPanel_get)),__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionPanel_get).addEventListener("transitionend",__classPrivateFieldGet$1(this,_Accordion_handleTransition,"f"))}update(t){super.update(t),(t.has("expanded")||t.has("disabled"))&&__classPrivateFieldGet$1(this,_Accordion_instances,"m",_Accordion_handleExpand).call(this)}disconnectedCallback(){super.disconnectedCallback(),__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionPanel_get).removeEventListener("transitionend",__classPrivateFieldGet$1(this,_Accordion_handleTransition,"f")),this.resizeObserver.disconnect()}render(){return x`
|
|
202
202
|
<article class="m-accordion">
|
|
203
203
|
<h3 class="m-accordion-header">
|
|
204
204
|
<button
|
|
@@ -647,7 +647,7 @@ const t$3$1=window,e$5$1=t$3$1.ShadowRoot&&(void 0===t$3$1.ShadyCSS||t$3$1.Shady
|
|
|
647
647
|
block-size: var(--m-badge-size);
|
|
648
648
|
align-items: center;
|
|
649
649
|
justify-content: center;
|
|
650
|
-
color: ${getColor("color-
|
|
650
|
+
color: ${getColor("color-text-inverted")};
|
|
651
651
|
background-color: ${getColor("color-text-error")};
|
|
652
652
|
font-size: ${getToken("font-size-1")};
|
|
653
653
|
border-radius: var(--m-badge-border-radius);
|
|
@@ -714,7 +714,7 @@ const t$3$1=window,e$5$1=t$3$1.ShadowRoot&&(void 0===t$3$1.ShadyCSS||t$3$1.Shady
|
|
|
714
714
|
--m-banner-background-color,
|
|
715
715
|
${getColor("color-background-secondary")}
|
|
716
716
|
);
|
|
717
|
-
border: var(--m-banner-border, 1px solid ${getColor("color-border")});
|
|
717
|
+
border: var(--m-banner-border, 1px solid ${getColor("color-border-input")});
|
|
718
718
|
border-radius: var(--m-banner-border-radius, ${getToken("border-radius-m")});
|
|
719
719
|
padding-inline: var(--m-banner-padding-x, ${getToken("spacing-6")});
|
|
720
720
|
padding-block: var(--m-banner-padding-y, ${getToken("spacing-4")});
|
|
@@ -1076,7 +1076,7 @@ const i$1="important",n$3=" !"+i$1,o$1=e$4(class extends i$2{constructor(t){var
|
|
|
1076
1076
|
|
|
1077
1077
|
background-color: var(--m-card-background-color);
|
|
1078
1078
|
border-radius: ${getToken("border-radius-s")};
|
|
1079
|
-
border: solid 1px ${getColor("color-
|
|
1079
|
+
border: solid 1px ${getColor("color-border")};
|
|
1080
1080
|
}
|
|
1081
1081
|
|
|
1082
1082
|
.m-card-flag {
|
|
@@ -1217,7 +1217,7 @@ const i$1="important",n$3=" !"+i$1,o$1=e$4(class extends i$2{constructor(t){var
|
|
|
1217
1217
|
)
|
|
1218
1218
|
);
|
|
1219
1219
|
}
|
|
1220
|
-
`}_BaseLayout_setOrRemoveProperty=new WeakMap;const defaultBoxProps={padding:"spacing-4",borderRadius:"border-radius-s",borderWidth:"border-none",borderColor:"color-
|
|
1220
|
+
`}_BaseLayout_setOrRemoveProperty=new WeakMap;const defaultBoxProps={padding:"spacing-4",borderRadius:"border-radius-s",borderWidth:"border-none",borderColor:"color-border",textAlign:"left"};function boxStyles(){return i$5`
|
|
1221
1221
|
:host {
|
|
1222
1222
|
--m-box-padding: ${getToken(defaultBoxProps.padding)};
|
|
1223
1223
|
--m-box-background-color: transparent;
|
|
@@ -1469,12 +1469,12 @@ const i$1="important",n$3=" !"+i$1,o$1=e$4(class extends i$2{constructor(t){var
|
|
|
1469
1469
|
color: ${getColor("color-text-tertiary")};
|
|
1470
1470
|
width: var(--checkbox-input-size);
|
|
1471
1471
|
height: var(--checkbox-input-size);
|
|
1472
|
-
background: ${getColor("color-
|
|
1472
|
+
background: ${getColor("color-background-primary")};
|
|
1473
1473
|
appearance: none;
|
|
1474
1474
|
outline: none;
|
|
1475
1475
|
border-style: solid;
|
|
1476
1476
|
border-radius: ${getToken("border-radius-s")};
|
|
1477
|
-
border-color: ${getColor("color-border")};
|
|
1477
|
+
border-color: ${getColor("color-border-input")};
|
|
1478
1478
|
border-width: ${getToken("border-thin")};
|
|
1479
1479
|
margin: 0;
|
|
1480
1480
|
flex-grow: 0;
|
|
@@ -1496,8 +1496,8 @@ const i$1="important",n$3=" !"+i$1,o$1=e$4(class extends i$2{constructor(t){var
|
|
|
1496
1496
|
|
|
1497
1497
|
${on(".check-input:indeterminate").disabled},
|
|
1498
1498
|
${on(".check-input:checked").disabled} {
|
|
1499
|
-
background: ${getColor("color-
|
|
1500
|
-
border-color: ${getColor("color-
|
|
1499
|
+
background: ${getColor("color-primary-20")};
|
|
1500
|
+
border-color: ${getColor("color-primary-20")};
|
|
1501
1501
|
}
|
|
1502
1502
|
|
|
1503
1503
|
${on(".check-input:indeterminate").not.disabled.hover},
|
|
@@ -1518,7 +1518,7 @@ const i$1="important",n$3=" !"+i$1,o$1=e$4(class extends i$2{constructor(t){var
|
|
|
1518
1518
|
.check-icon,
|
|
1519
1519
|
.indeterminate-icon {
|
|
1520
1520
|
--m-icon-size: 1em;
|
|
1521
|
-
--m-icon-color: ${getColor("color-
|
|
1521
|
+
--m-icon-color: ${getColor("color-text-inverted")};
|
|
1522
1522
|
|
|
1523
1523
|
position: absolute;
|
|
1524
1524
|
|
|
@@ -1593,7 +1593,7 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
|
|
|
1593
1593
|
padding: calc(var(--padding) - (var(--gap) / 2)) 0;
|
|
1594
1594
|
border: none;
|
|
1595
1595
|
border-radius: ${getToken("border-radius-m")};
|
|
1596
|
-
background-color:
|
|
1596
|
+
background-color: ${getColor("color-background-primary")};
|
|
1597
1597
|
box-shadow: ${getToken("elevation-4")};
|
|
1598
1598
|
width: auto;
|
|
1599
1599
|
max-height: calc(100% - var(--margin));
|
|
@@ -1831,7 +1831,7 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
|
|
|
1831
1831
|
</m-group>
|
|
1832
1832
|
<slot name="close"></slot>
|
|
1833
1833
|
</m-group>
|
|
1834
|
-
`}}DrawerHeader.styles=[styles$n()],window.customElements.define("m-drawer-header",DrawerHeader);const sides=["top","right","bottom","left"],min=Math.min,max=Math.max,round=Math.round,floor=Math.floor,createCoords=t=>({x:t,y:t}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp$1(t,e,o){return max(t,min(e,o))}function evaluate(t,e){return"function"==typeof t?t(e):t}function getSide(t){return t.split("-")[0]}function getAlignment(t){return t.split("-")[1]}function getOppositeAxis(t){return"x"===t?"y":"x"}function getAxisLength(t){return"y"===t?"height":"width"}function getSideAxis(t){return["top","bottom"].includes(getSide(t))?"y":"x"}function getAlignmentAxis(t){return getOppositeAxis(getSideAxis(t))}function getAlignmentSides(t,e,o){void 0===o&&(o=!1);const i=getAlignment(t),r=getAlignmentAxis(t),n=getAxisLength(r);let s="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(s=getOppositePlacement(s)),[s,getOppositePlacement(s)]}function getExpandedPlacements(t){const e=getOppositePlacement(t);return[getOppositeAlignmentPlacement(t),e,getOppositeAlignmentPlacement(e)]}function getOppositeAlignmentPlacement(t){return t.replace(/start|end/g,(t=>oppositeAlignmentMap[t]))}function getSideList(t,e,o){const i=["left","right"],r=["right","left"],n=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return o?e?r:i:e?i:r;case"left":case"right":return e?n:s;default:return[]}}function getOppositeAxisPlacements(t,e,o,i){const r=getAlignment(t);let n=getSideList(getSide(t),"start"===o,i);return r&&(n=n.map((t=>t+"-"+r)),e&&(n=n.concat(n.map(getOppositeAlignmentPlacement)))),n}function getOppositePlacement(t){return t.replace(/left|right|bottom|top/g,(t=>oppositeSideMap[t]))}function expandPaddingObject(t){return{top:0,right:0,bottom:0,left:0,...t}}function getPaddingObject(t){return"number"!=typeof t?expandPaddingObject(t):{top:t,right:t,bottom:t,left:t}}function rectToClientRect(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function computeCoordsFromPlacement(t,e,o){let{reference:i,floating:r}=t;const n=getSideAxis(e),s=getAlignmentAxis(e),a=getAxisLength(s),l=getSide(e),c="y"===n,d=i.x+i.width/2-r.width/2,h=i.y+i.height/2-r.height/2,u=i[a]/2-r[a]/2;let g;switch(l){case"top":g={x:d,y:i.y-r.height};break;case"bottom":g={x:d,y:i.y+i.height};break;case"right":g={x:i.x+i.width,y:h};break;case"left":g={x:i.x-r.width,y:h};break;default:g={x:i.x,y:i.y}}switch(getAlignment(e)){case"start":g[s]-=u*(o&&c?-1:1);break;case"end":g[s]+=u*(o&&c?-1:1)}return g}const computePosition$1=async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:s}=o,a=n.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:d,y:h}=computeCoordsFromPlacement(c,i,l),u=i,g={},p=0;for(let o=0;o<a.length;o++){const{name:n,fn:m}=a[o],{x:b,y:$,data:_,reset:f}=await m({x:d,y:h,initialPlacement:i,placement:u,strategy:r,middlewareData:g,rects:c,platform:s,elements:{reference:t,floating:e}});d=null!=b?b:d,h=null!=$?$:h,g={...g,[n]:{...g[n],..._}},f&&p<=50&&(p++,"object"==typeof f&&(f.placement&&(u=f.placement),f.rects&&(c=!0===f.rects?await s.getElementRects({reference:t,floating:e,strategy:r}):f.rects),({x:d,y:h}=computeCoordsFromPlacement(c,u,l))),o=-1)}return{x:d,y:h,placement:u,strategy:r,middlewareData:g}};async function detectOverflow(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:u=!1,padding:g=0}=evaluate(e,t),p=getPaddingObject(g),m=a[u?"floating"===h?"reference":"floating":h],b=rectToClientRect(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(m)))||o?m:m.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),$="floating"===h?{...s.floating,x:i,y:r}:s.reference,_=await(null==n.getOffsetParent?void 0:n.getOffsetParent(a.floating)),f=await(null==n.isElement?void 0:n.isElement(_))&&await(null==n.getScale?void 0:n.getScale(_))||{x:1,y:1},y=rectToClientRect(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:$,offsetParent:_,strategy:l}):$);return{top:(b.top-y.top+p.top)/f.y,bottom:(y.bottom-b.bottom+p.bottom)/f.y,left:(b.left-y.left+p.left)/f.x,right:(y.right-b.right+p.right)/f.x}}const arrow$1=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:i,placement:r,rects:n,platform:s,elements:a,middlewareData:l}=e,{element:c,padding:d=0}=evaluate(t,e)||{};if(null==c)return{};const h=getPaddingObject(d),u={x:o,y:i},g=getAlignmentAxis(r),p=getAxisLength(g),m=await s.getDimensions(c),b="y"===g,$=b?"top":"left",_=b?"bottom":"right",f=b?"clientHeight":"clientWidth",y=n.reference[p]+n.reference[g]-u[g]-n.floating[p],v=u[g]-n.reference[g],x=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let w=x?x[f]:0;w&&await(null==s.isElement?void 0:s.isElement(x))||(w=a.floating[f]||n.floating[p]);const k=y/2-v/2,S=w/2-m[p]/2-1,C=min(h[$],S),T=min(h[_],S),P=C,A=w-m[p]-T,F=w/2-m[p]/2+k,B=clamp$1(P,F,A),z=!l.arrow&&null!=getAlignment(r)&&F!==B&&n.reference[p]/2-(F<P?C:T)-m[p]/2<0,E=z?F<P?F-P:F-A:0;return{[g]:u[g]+E,data:{[g]:B,centerOffset:F-B-E,...z&&{alignmentOffset:E}},reset:z}}}),flip$1=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var o,i;const{placement:r,middlewareData:n,rects:s,initialPlacement:a,platform:l,elements:c}=e,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:u,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...b}=evaluate(t,e);if(null!=(o=n.arrow)&&o.alignmentOffset)return{};const $=getSide(r),_=getSide(a)===a,f=await(null==l.isRTL?void 0:l.isRTL(c.floating)),y=u||(_||!m?[getOppositePlacement(a)]:getExpandedPlacements(a));u||"none"===p||y.push(...getOppositeAxisPlacements(a,m,p,f));const v=[a,...y],x=await detectOverflow(e,b),w=[];let k=(null==(i=n.flip)?void 0:i.overflows)||[];if(d&&w.push(x[$]),h){const t=getAlignmentSides(r,s,f);w.push(x[t[0]],x[t[1]])}if(k=[...k,{placement:r,overflows:w}],!w.every((t=>t<=0))){var S,C;const t=((null==(S=n.flip)?void 0:S.index)||0)+1,e=v[t];if(e)return{data:{index:t,overflows:k},reset:{placement:e}};let o=null==(C=k.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:C.placement;if(!o)switch(g){case"bestFit":{var T;const t=null==(T=k.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:T[0];t&&(o=t);break}case"initialPlacement":o=a}if(r!==o)return{reset:{placement:o}}}return{}}}};function getSideOffsets(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function isAnySideFullyClipped(t){return sides.some((e=>t[e]>=0))}const hide$1=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:o}=e,{strategy:i="referenceHidden",...r}=evaluate(t,e);switch(i){case"referenceHidden":{const t=getSideOffsets(await detectOverflow(e,{...r,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:isAnySideFullyClipped(t)}}}case"escaped":{const t=getSideOffsets(await detectOverflow(e,{...r,altBoundary:!0}),o.floating);return{data:{escapedOffsets:t,escaped:isAnySideFullyClipped(t)}}}default:return{}}}}},shift$1=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=evaluate(t,e),c={x:o,y:i},d=await detectOverflow(e,l),h=getSideAxis(getSide(r)),u=getOppositeAxis(h);let g=c[u],p=c[h];if(n){const t="y"===u?"bottom":"right";g=clamp$1(g+d["y"===u?"top":"left"],g,g-d[t])}if(s){const t="y"===h?"bottom":"right";p=clamp$1(p+d["y"===h?"top":"left"],p,p-d[t])}const m=a.fn({...e,[u]:g,[h]:p});return{...m,data:{x:m.x-o,y:m.y-i}}}}};function getNodeName(t){return isNode(t)?(t.nodeName||"").toLowerCase():"#document"}function getWindow(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function getDocumentElement(t){var e;return null==(e=(isNode(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function isNode(t){return t instanceof Node||t instanceof getWindow(t).Node}function isElement(t){return t instanceof Element||t instanceof getWindow(t).Element}function isHTMLElement(t){return t instanceof HTMLElement||t instanceof getWindow(t).HTMLElement}function isShadowRoot(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof getWindow(t).ShadowRoot)}function isOverflowElement(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=getComputedStyle$1(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function isTableElement(t){return["table","td","th"].includes(getNodeName(t))}function isContainingBlock(t){const e=isWebKit(),o=getComputedStyle$1(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function getContainingBlock(t){let e=getParentNode(t);for(;isHTMLElement(e)&&!isLastTraversableNode(e);){if(isContainingBlock(e))return e;e=getParentNode(e)}return null}function isWebKit(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(t){return["html","body","#document"].includes(getNodeName(t))}function getComputedStyle$1(t){return getWindow(t).getComputedStyle(t)}function getNodeScroll(t){return isElement(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function getParentNode(t){if("html"===getNodeName(t))return t;const e=t.assignedSlot||t.parentNode||isShadowRoot(t)&&t.host||getDocumentElement(t);return isShadowRoot(e)?e.host:e}function getNearestOverflowAncestor(t){const e=getParentNode(t);return isLastTraversableNode(e)?t.ownerDocument?t.ownerDocument.body:t.body:isHTMLElement(e)&&isOverflowElement(e)?e:getNearestOverflowAncestor(e)}function getOverflowAncestors(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=getNearestOverflowAncestor(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),s=getWindow(r);return n?e.concat(s,s.visualViewport||[],isOverflowElement(r)?r:[],s.frameElement&&o?getOverflowAncestors(s.frameElement):[]):e.concat(r,getOverflowAncestors(r,[],o))}function getCssDimensions(t){const e=getComputedStyle$1(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=isHTMLElement(t),n=r?t.offsetWidth:o,s=r?t.offsetHeight:i,a=round(o)!==n||round(i)!==s;return a&&(o=n,i=s),{width:o,height:i,$:a}}function unwrapElement(t){return isElement(t)?t:t.contextElement}function getScale(t){const e=unwrapElement(t);if(!isHTMLElement(e))return createCoords(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=getCssDimensions(e);let s=(n?round(o.width):o.width)/i,a=(n?round(o.height):o.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const noOffsets=createCoords(0);function getVisualOffsets(t){const e=getWindow(t);return isWebKit()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:noOffsets}function shouldAddVisualOffsets(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==getWindow(t))&&e}function getBoundingClientRect(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=unwrapElement(t);let s=createCoords(1);e&&(i?isElement(i)&&(s=getScale(i)):s=getScale(t));const a=shouldAddVisualOffsets(n,o,i)?getVisualOffsets(n):createCoords(0);let l=(r.left+a.x)/s.x,c=(r.top+a.y)/s.y,d=r.width/s.x,h=r.height/s.y;if(n){const t=getWindow(n),e=i&&isElement(i)?getWindow(i):i;let o=t,r=o.frameElement;for(;r&&i&&e!==o;){const t=getScale(r),e=r.getBoundingClientRect(),i=getComputedStyle$1(r),n=e.left+(r.clientLeft+parseFloat(i.paddingLeft))*t.x,s=e.top+(r.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,d*=t.x,h*=t.y,l+=n,c+=s,o=getWindow(r),r=o.frameElement}}return rectToClientRect({width:d,height:h,x:l,y:c})}const topLayerSelectors=[":popover-open",":modal"];function isTopLayer(t){return topLayerSelectors.some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function convertOffsetParentRelativeRectToViewportRelativeRect(t){let{elements:e,rect:o,offsetParent:i,strategy:r}=t;const n="fixed"===r,s=getDocumentElement(i),a=!!e&&isTopLayer(e.floating);if(i===s||a&&n)return o;let l={scrollLeft:0,scrollTop:0},c=createCoords(1);const d=createCoords(0),h=isHTMLElement(i);if((h||!h&&!n)&&(("body"!==getNodeName(i)||isOverflowElement(s))&&(l=getNodeScroll(i)),isHTMLElement(i))){const t=getBoundingClientRect(i);c=getScale(i),d.x=t.x+i.clientLeft,d.y=t.y+i.clientTop}return{width:o.width*c.x,height:o.height*c.y,x:o.x*c.x-l.scrollLeft*c.x+d.x,y:o.y*c.y-l.scrollTop*c.y+d.y}}function getClientRects(t){return Array.from(t.getClientRects())}function getWindowScrollBarX(t){return getBoundingClientRect(getDocumentElement(t)).left+getNodeScroll(t).scrollLeft}function getDocumentRect(t){const e=getDocumentElement(t),o=getNodeScroll(t),i=t.ownerDocument.body,r=max(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=max(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-o.scrollLeft+getWindowScrollBarX(t);const a=-o.scrollTop;return"rtl"===getComputedStyle$1(i).direction&&(s+=max(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:s,y:a}}function getViewportRect(t,e){const o=getWindow(t),i=getDocumentElement(t),r=o.visualViewport;let n=i.clientWidth,s=i.clientHeight,a=0,l=0;if(r){n=r.width,s=r.height;const t=isWebKit();(!t||t&&"fixed"===e)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:n,height:s,x:a,y:l}}function getInnerBoundingClientRect(t,e){const o=getBoundingClientRect(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=isHTMLElement(t)?getScale(t):createCoords(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}function getClientRectFromClippingAncestor(t,e,o){let i;if("viewport"===e)i=getViewportRect(t,o);else if("document"===e)i=getDocumentRect(getDocumentElement(t));else if(isElement(e))i=getInnerBoundingClientRect(e,o);else{const o=getVisualOffsets(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return rectToClientRect(i)}function hasFixedPositionAncestor(t,e){const o=getParentNode(t);return!(o===e||!isElement(o)||isLastTraversableNode(o))&&("fixed"===getComputedStyle$1(o).position||hasFixedPositionAncestor(o,e))}function getClippingElementAncestors(t,e){const o=e.get(t);if(o)return o;let i=getOverflowAncestors(t,[],!1).filter((t=>isElement(t)&&"body"!==getNodeName(t))),r=null;const n="fixed"===getComputedStyle$1(t).position;let s=n?getParentNode(t):t;for(;isElement(s)&&!isLastTraversableNode(s);){const e=getComputedStyle$1(s),o=isContainingBlock(s);o||"fixed"!==e.position||(r=null);(n?!o&&!r:!o&&"static"===e.position&&!!r&&["absolute","fixed"].includes(r.position)||isOverflowElement(s)&&!o&&hasFixedPositionAncestor(t,s))?i=i.filter((t=>t!==s)):r=e,s=getParentNode(s)}return e.set(t,i),i}function getClippingRect(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?getClippingElementAncestors(e,this._c):[].concat(o),i],s=n[0],a=n.reduce(((t,o)=>{const i=getClientRectFromClippingAncestor(e,o,r);return t.top=max(i.top,t.top),t.right=min(i.right,t.right),t.bottom=min(i.bottom,t.bottom),t.left=max(i.left,t.left),t}),getClientRectFromClippingAncestor(e,s,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function getDimensions(t){const{width:e,height:o}=getCssDimensions(t);return{width:e,height:o}}function getRectRelativeToOffsetParent(t,e,o){const i=isHTMLElement(e),r=getDocumentElement(e),n="fixed"===o,s=getBoundingClientRect(t,!0,n,e);let a={scrollLeft:0,scrollTop:0};const l=createCoords(0);if(i||!i&&!n)if(("body"!==getNodeName(e)||isOverflowElement(r))&&(a=getNodeScroll(e)),i){const t=getBoundingClientRect(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=getWindowScrollBarX(r));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function getTrueOffsetParent(t,e){return isHTMLElement(t)&&"fixed"!==getComputedStyle$1(t).position?e?e(t):t.offsetParent:null}function getOffsetParent(t,e){const o=getWindow(t);if(!isHTMLElement(t)||isTopLayer(t))return o;let i=getTrueOffsetParent(t,e);for(;i&&isTableElement(i)&&"static"===getComputedStyle$1(i).position;)i=getTrueOffsetParent(i,e);return i&&("html"===getNodeName(i)||"body"===getNodeName(i)&&"static"===getComputedStyle$1(i).position&&!isContainingBlock(i))?o:i||getContainingBlock(t)||o}const getElementRects=async function(t){const e=this.getOffsetParent||getOffsetParent,o=this.getDimensions;return{reference:getRectRelativeToOffsetParent(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,...await o(t.floating)}}};function isRTL(t){return"rtl"===getComputedStyle$1(t).direction}const platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function observeMove(t,e){let o,i=null;const r=getDocumentElement(t);function n(){var t;clearTimeout(o),null==(t=i)||t.disconnect(),i=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),n();const{left:c,top:d,width:h,height:u}=t.getBoundingClientRect();if(a||e(),!h||!u)return;const g={rootMargin:-floor(d)+"px "+-floor(r.clientWidth-(c+h))+"px "+-floor(r.clientHeight-(d+u))+"px "+-floor(c)+"px",threshold:max(0,min(1,l))||1};let p=!0;function m(t){const e=t[0].intersectionRatio;if(e!==l){if(!p)return s();e?s(!1,e):o=setTimeout((()=>{s(!1,1e-7)}),100)}p=!1}try{i=new IntersectionObserver(m,{...g,root:r.ownerDocument})}catch(t){i=new IntersectionObserver(m,g)}i.observe(t)}(!0),n}function autoUpdate(t,e,o,i){void 0===i&&(i={});const{ancestorScroll:r=!0,ancestorResize:n=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=i,c=unwrapElement(t),d=r||n?[...c?getOverflowAncestors(c):[],...getOverflowAncestors(e)]:[];d.forEach((t=>{r&&t.addEventListener("scroll",o,{passive:!0}),n&&t.addEventListener("resize",o)}));const h=c&&a?observeMove(c,o):null;let u,g=-1,p=null;s&&(p=new ResizeObserver((t=>{let[i]=t;i&&i.target===c&&p&&(p.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{var t;null==(t=p)||t.observe(e)}))),o()})),c&&!l&&p.observe(c),p.observe(e));let m=l?getBoundingClientRect(t):null;return l&&function e(){const i=getBoundingClientRect(t);!m||i.x===m.x&&i.y===m.y&&i.width===m.width&&i.height===m.height||o();m=i,u=requestAnimationFrame(e)}(),o(),()=>{var t;d.forEach((t=>{r&&t.removeEventListener("scroll",o),n&&t.removeEventListener("resize",o)})),null==h||h(),null==(t=p)||t.disconnect(),p=null,l&&cancelAnimationFrame(u)}}const shift=shift$1,flip=flip$1,hide=hide$1,arrow=arrow$1,computePosition=(t,e,o)=>{const i=new Map,r={platform,...o},n={...r.platform,_c:i};return computePosition$1(t,e,{...r,platform:n})};function offsetParent(t){return offsetParentPolyfill(t)}function flatTreeParent(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function offsetParentPolyfill(t){for(let e=t;e;e=flatTreeParent(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=flatTreeParent(t);e;e=flatTreeParent(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}function supportsPopover(){return Object.hasOwn(HTMLElement.prototype,"popover")}function isPopover(t){return!!t&&(supportsPopover()&&t.matches("[popover]"))}function getPositionOffset(t,e,o){const i="var(--m-popover-arrow-size)";switch(e){case"top":case"left":return t?`-1 * ${i} - ${o}px`:`-1 * ${o}px`;case"bottom":case"right":return t?`${i} + ${o}px`:`${o}px`;default:return"0px"}}var _Popover_updateCleanup,_Popover_getArrowPosition;const POPOVER_PLACEMENT_VALUES=["top","left","right","bottom","top-start","top-end","bottom-start","bottom-end"];class Popover extends Component{static get properties(){return{position:{type:String,reflect:!0},placement:{type:String},open:{type:Boolean,reflect:!0},asPopover:{type:Boolean,attribute:"as-popover"}}}constructor(){super(),_Popover_updateCleanup.set(this,void 0),this.getFloatingOffset=()=>10,this.renderArrow=()=>x`<span id="arrow"></span>`,this.reposition=async t=>{if(null==this.floating||null==this.reference)return;const{x:e,y:o,placement:i,middlewareData:r}=await computePosition(this.reference,this.floating,{strategy:this.position??"fixed",placement:this.placement??"bottom-start",platform:{...platform,getOffsetParent:t=>platform.getOffsetParent(t,offsetParent)},middleware:[flip(),shift(),this.arrow?arrow({element:this.arrow,padding:10}):void 0,hide()]});if(r.hide?.referenceHidden)return void Object.assign(this.floating.style,{visibility:"hidden"});const[n]=i.split("-"),s=null!=this.arrow,a={top:{x:"0px",y:getPositionOffset(s,"top",this.getFloatingOffset())},bottom:{x:"0px",y:getPositionOffset(s,"bottom",this.getFloatingOffset())},right:{x:getPositionOffset(s,"right",this.getFloatingOffset()),y:"0px"},left:{x:getPositionOffset(s,"left",this.getFloatingOffset()),y:"0px"}};Object.assign(this.floating.style,{visibility:"visible",top:`calc(${o}px + ${a[n].y})`,left:`calc(${e}px + ${a[n].x})`}),null!=this.arrow&&r.arrow&&Object.assign(this.arrow.style,__classPrivateFieldGet$1(this,_Popover_getArrowPosition,"f").call(this,r.arrow,n)),this.emit("m-popover-reposition",{detail:{reason:t}})},_Popover_getArrowPosition.set(this,((t,e)=>{if(null==this.floating||null==this.reference||null==this.arrow||null==t)return{};const o={top:"bottom",right:"left",bottom:"top",left:"right"}[e],{x:i,y:r}=t;return{left:null!=i?`${i}px`:"",top:null!=r?`${r}px`:"",right:"",bottom:"",[o]:-this.arrow.offsetWidth/2+"px"}})),this.position="fixed",this.placement="top-end",this.open=!1,this.asPopover=!1}disconnectedCallback(){super.disconnectedCallback(),__classPrivateFieldGet$1(this,_Popover_updateCleanup,"f")?.call(this)}firstUpdated(){this.asPopover&&supportsPopover()&&this.floating&&this.floating.setAttribute("popover","manual"),this.open&&this.show()}updated(t){super.updated(t),this.open&&null!=t.get("placement")&&null!=this.placement&&this.reposition("placement")}get reference(){return this.getReferenceElement()}get floating(){return this.getFloatingElement()}get arrow(){return this.getArrowElement()}show(){this.open||(this.open=!0,this.reference&&this.floating&&(isPopover(this.floating)&&this.floating.showPopover(),__classPrivateFieldSet(this,_Popover_updateCleanup,autoUpdate(this.reference,this.floating,(()=>{this.reposition("auto")})),"f")))}hide(){this.open&&(this.open=!1,null!=this.floating&&isPopover(this.floating)&&this.floating.hidePopover(),__classPrivateFieldGet$1(this,_Popover_updateCleanup,"f")?.call(this))}toggle(){this.open?this.hide():this.show()}}_Popover_updateCleanup=new WeakMap,_Popover_getArrowPosition=new WeakMap;const DEFAULT_SELECTORS={referenceSelector:"slot[name='reference']::slotted(*),",floatingSelector:"slot[name='floating']::slotted(*)"};function styles$m(t=DEFAULT_SELECTORS){const{referenceSelector:e,floatingSelector:o}={...DEFAULT_SELECTORS,...t};return[i$5`
|
|
1834
|
+
`}}DrawerHeader.styles=[styles$n()],window.customElements.define("m-drawer-header",DrawerHeader);const sides=["top","right","bottom","left"],min=Math.min,max=Math.max,round=Math.round,floor=Math.floor,createCoords=t=>({x:t,y:t}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp$1(t,e,o){return max(t,min(e,o))}function evaluate(t,e){return"function"==typeof t?t(e):t}function getSide(t){return t.split("-")[0]}function getAlignment(t){return t.split("-")[1]}function getOppositeAxis(t){return"x"===t?"y":"x"}function getAxisLength(t){return"y"===t?"height":"width"}function getSideAxis(t){return["top","bottom"].includes(getSide(t))?"y":"x"}function getAlignmentAxis(t){return getOppositeAxis(getSideAxis(t))}function getAlignmentSides(t,e,o){void 0===o&&(o=!1);const i=getAlignment(t),r=getAlignmentAxis(t),n=getAxisLength(r);let s="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(s=getOppositePlacement(s)),[s,getOppositePlacement(s)]}function getExpandedPlacements(t){const e=getOppositePlacement(t);return[getOppositeAlignmentPlacement(t),e,getOppositeAlignmentPlacement(e)]}function getOppositeAlignmentPlacement(t){return t.replace(/start|end/g,(t=>oppositeAlignmentMap[t]))}function getSideList(t,e,o){const i=["left","right"],r=["right","left"],n=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return o?e?r:i:e?i:r;case"left":case"right":return e?n:s;default:return[]}}function getOppositeAxisPlacements(t,e,o,i){const r=getAlignment(t);let n=getSideList(getSide(t),"start"===o,i);return r&&(n=n.map((t=>t+"-"+r)),e&&(n=n.concat(n.map(getOppositeAlignmentPlacement)))),n}function getOppositePlacement(t){return t.replace(/left|right|bottom|top/g,(t=>oppositeSideMap[t]))}function expandPaddingObject(t){return{top:0,right:0,bottom:0,left:0,...t}}function getPaddingObject(t){return"number"!=typeof t?expandPaddingObject(t):{top:t,right:t,bottom:t,left:t}}function rectToClientRect(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function computeCoordsFromPlacement(t,e,o){let{reference:i,floating:r}=t;const n=getSideAxis(e),s=getAlignmentAxis(e),a=getAxisLength(s),l=getSide(e),c="y"===n,d=i.x+i.width/2-r.width/2,h=i.y+i.height/2-r.height/2,u=i[a]/2-r[a]/2;let g;switch(l){case"top":g={x:d,y:i.y-r.height};break;case"bottom":g={x:d,y:i.y+i.height};break;case"right":g={x:i.x+i.width,y:h};break;case"left":g={x:i.x-r.width,y:h};break;default:g={x:i.x,y:i.y}}switch(getAlignment(e)){case"start":g[s]-=u*(o&&c?-1:1);break;case"end":g[s]+=u*(o&&c?-1:1)}return g}const computePosition$1=async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:s}=o,a=n.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:d,y:h}=computeCoordsFromPlacement(c,i,l),u=i,g={},p=0;for(let o=0;o<a.length;o++){const{name:n,fn:m}=a[o],{x:b,y:$,data:_,reset:f}=await m({x:d,y:h,initialPlacement:i,placement:u,strategy:r,middlewareData:g,rects:c,platform:s,elements:{reference:t,floating:e}});d=null!=b?b:d,h=null!=$?$:h,g={...g,[n]:{...g[n],..._}},f&&p<=50&&(p++,"object"==typeof f&&(f.placement&&(u=f.placement),f.rects&&(c=!0===f.rects?await s.getElementRects({reference:t,floating:e,strategy:r}):f.rects),({x:d,y:h}=computeCoordsFromPlacement(c,u,l))),o=-1)}return{x:d,y:h,placement:u,strategy:r,middlewareData:g}};async function detectOverflow(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:u=!1,padding:g=0}=evaluate(e,t),p=getPaddingObject(g),m=a[u?"floating"===h?"reference":"floating":h],b=rectToClientRect(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(m)))||o?m:m.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),$="floating"===h?{...s.floating,x:i,y:r}:s.reference,_=await(null==n.getOffsetParent?void 0:n.getOffsetParent(a.floating)),f=await(null==n.isElement?void 0:n.isElement(_))&&await(null==n.getScale?void 0:n.getScale(_))||{x:1,y:1},y=rectToClientRect(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:$,offsetParent:_,strategy:l}):$);return{top:(b.top-y.top+p.top)/f.y,bottom:(y.bottom-b.bottom+p.bottom)/f.y,left:(b.left-y.left+p.left)/f.x,right:(y.right-b.right+p.right)/f.x}}const arrow$1=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:i,placement:r,rects:n,platform:s,elements:a,middlewareData:l}=e,{element:c,padding:d=0}=evaluate(t,e)||{};if(null==c)return{};const h=getPaddingObject(d),u={x:o,y:i},g=getAlignmentAxis(r),p=getAxisLength(g),m=await s.getDimensions(c),b="y"===g,$=b?"top":"left",_=b?"bottom":"right",f=b?"clientHeight":"clientWidth",y=n.reference[p]+n.reference[g]-u[g]-n.floating[p],v=u[g]-n.reference[g],x=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let w=x?x[f]:0;w&&await(null==s.isElement?void 0:s.isElement(x))||(w=a.floating[f]||n.floating[p]);const k=y/2-v/2,S=w/2-m[p]/2-1,C=min(h[$],S),T=min(h[_],S),P=C,A=w-m[p]-T,F=w/2-m[p]/2+k,z=clamp$1(P,F,A),B=!l.arrow&&null!=getAlignment(r)&&F!==z&&n.reference[p]/2-(F<P?C:T)-m[p]/2<0,E=B?F<P?F-P:F-A:0;return{[g]:u[g]+E,data:{[g]:z,centerOffset:F-z-E,...B&&{alignmentOffset:E}},reset:B}}}),flip$1=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var o,i;const{placement:r,middlewareData:n,rects:s,initialPlacement:a,platform:l,elements:c}=e,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:u,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...b}=evaluate(t,e);if(null!=(o=n.arrow)&&o.alignmentOffset)return{};const $=getSide(r),_=getSide(a)===a,f=await(null==l.isRTL?void 0:l.isRTL(c.floating)),y=u||(_||!m?[getOppositePlacement(a)]:getExpandedPlacements(a));u||"none"===p||y.push(...getOppositeAxisPlacements(a,m,p,f));const v=[a,...y],x=await detectOverflow(e,b),w=[];let k=(null==(i=n.flip)?void 0:i.overflows)||[];if(d&&w.push(x[$]),h){const t=getAlignmentSides(r,s,f);w.push(x[t[0]],x[t[1]])}if(k=[...k,{placement:r,overflows:w}],!w.every((t=>t<=0))){var S,C;const t=((null==(S=n.flip)?void 0:S.index)||0)+1,e=v[t];if(e)return{data:{index:t,overflows:k},reset:{placement:e}};let o=null==(C=k.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:C.placement;if(!o)switch(g){case"bestFit":{var T;const t=null==(T=k.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:T[0];t&&(o=t);break}case"initialPlacement":o=a}if(r!==o)return{reset:{placement:o}}}return{}}}};function getSideOffsets(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function isAnySideFullyClipped(t){return sides.some((e=>t[e]>=0))}const hide$1=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:o}=e,{strategy:i="referenceHidden",...r}=evaluate(t,e);switch(i){case"referenceHidden":{const t=getSideOffsets(await detectOverflow(e,{...r,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:isAnySideFullyClipped(t)}}}case"escaped":{const t=getSideOffsets(await detectOverflow(e,{...r,altBoundary:!0}),o.floating);return{data:{escapedOffsets:t,escaped:isAnySideFullyClipped(t)}}}default:return{}}}}},shift$1=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=evaluate(t,e),c={x:o,y:i},d=await detectOverflow(e,l),h=getSideAxis(getSide(r)),u=getOppositeAxis(h);let g=c[u],p=c[h];if(n){const t="y"===u?"bottom":"right";g=clamp$1(g+d["y"===u?"top":"left"],g,g-d[t])}if(s){const t="y"===h?"bottom":"right";p=clamp$1(p+d["y"===h?"top":"left"],p,p-d[t])}const m=a.fn({...e,[u]:g,[h]:p});return{...m,data:{x:m.x-o,y:m.y-i}}}}};function getNodeName(t){return isNode(t)?(t.nodeName||"").toLowerCase():"#document"}function getWindow(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function getDocumentElement(t){var e;return null==(e=(isNode(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function isNode(t){return t instanceof Node||t instanceof getWindow(t).Node}function isElement(t){return t instanceof Element||t instanceof getWindow(t).Element}function isHTMLElement(t){return t instanceof HTMLElement||t instanceof getWindow(t).HTMLElement}function isShadowRoot(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof getWindow(t).ShadowRoot)}function isOverflowElement(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=getComputedStyle$1(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function isTableElement(t){return["table","td","th"].includes(getNodeName(t))}function isContainingBlock(t){const e=isWebKit(),o=getComputedStyle$1(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function getContainingBlock(t){let e=getParentNode(t);for(;isHTMLElement(e)&&!isLastTraversableNode(e);){if(isContainingBlock(e))return e;e=getParentNode(e)}return null}function isWebKit(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(t){return["html","body","#document"].includes(getNodeName(t))}function getComputedStyle$1(t){return getWindow(t).getComputedStyle(t)}function getNodeScroll(t){return isElement(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function getParentNode(t){if("html"===getNodeName(t))return t;const e=t.assignedSlot||t.parentNode||isShadowRoot(t)&&t.host||getDocumentElement(t);return isShadowRoot(e)?e.host:e}function getNearestOverflowAncestor(t){const e=getParentNode(t);return isLastTraversableNode(e)?t.ownerDocument?t.ownerDocument.body:t.body:isHTMLElement(e)&&isOverflowElement(e)?e:getNearestOverflowAncestor(e)}function getOverflowAncestors(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=getNearestOverflowAncestor(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),s=getWindow(r);return n?e.concat(s,s.visualViewport||[],isOverflowElement(r)?r:[],s.frameElement&&o?getOverflowAncestors(s.frameElement):[]):e.concat(r,getOverflowAncestors(r,[],o))}function getCssDimensions(t){const e=getComputedStyle$1(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=isHTMLElement(t),n=r?t.offsetWidth:o,s=r?t.offsetHeight:i,a=round(o)!==n||round(i)!==s;return a&&(o=n,i=s),{width:o,height:i,$:a}}function unwrapElement(t){return isElement(t)?t:t.contextElement}function getScale(t){const e=unwrapElement(t);if(!isHTMLElement(e))return createCoords(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=getCssDimensions(e);let s=(n?round(o.width):o.width)/i,a=(n?round(o.height):o.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const noOffsets=createCoords(0);function getVisualOffsets(t){const e=getWindow(t);return isWebKit()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:noOffsets}function shouldAddVisualOffsets(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==getWindow(t))&&e}function getBoundingClientRect(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=unwrapElement(t);let s=createCoords(1);e&&(i?isElement(i)&&(s=getScale(i)):s=getScale(t));const a=shouldAddVisualOffsets(n,o,i)?getVisualOffsets(n):createCoords(0);let l=(r.left+a.x)/s.x,c=(r.top+a.y)/s.y,d=r.width/s.x,h=r.height/s.y;if(n){const t=getWindow(n),e=i&&isElement(i)?getWindow(i):i;let o=t,r=o.frameElement;for(;r&&i&&e!==o;){const t=getScale(r),e=r.getBoundingClientRect(),i=getComputedStyle$1(r),n=e.left+(r.clientLeft+parseFloat(i.paddingLeft))*t.x,s=e.top+(r.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,d*=t.x,h*=t.y,l+=n,c+=s,o=getWindow(r),r=o.frameElement}}return rectToClientRect({width:d,height:h,x:l,y:c})}const topLayerSelectors=[":popover-open",":modal"];function isTopLayer(t){return topLayerSelectors.some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function convertOffsetParentRelativeRectToViewportRelativeRect(t){let{elements:e,rect:o,offsetParent:i,strategy:r}=t;const n="fixed"===r,s=getDocumentElement(i),a=!!e&&isTopLayer(e.floating);if(i===s||a&&n)return o;let l={scrollLeft:0,scrollTop:0},c=createCoords(1);const d=createCoords(0),h=isHTMLElement(i);if((h||!h&&!n)&&(("body"!==getNodeName(i)||isOverflowElement(s))&&(l=getNodeScroll(i)),isHTMLElement(i))){const t=getBoundingClientRect(i);c=getScale(i),d.x=t.x+i.clientLeft,d.y=t.y+i.clientTop}return{width:o.width*c.x,height:o.height*c.y,x:o.x*c.x-l.scrollLeft*c.x+d.x,y:o.y*c.y-l.scrollTop*c.y+d.y}}function getClientRects(t){return Array.from(t.getClientRects())}function getWindowScrollBarX(t){return getBoundingClientRect(getDocumentElement(t)).left+getNodeScroll(t).scrollLeft}function getDocumentRect(t){const e=getDocumentElement(t),o=getNodeScroll(t),i=t.ownerDocument.body,r=max(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=max(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-o.scrollLeft+getWindowScrollBarX(t);const a=-o.scrollTop;return"rtl"===getComputedStyle$1(i).direction&&(s+=max(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:s,y:a}}function getViewportRect(t,e){const o=getWindow(t),i=getDocumentElement(t),r=o.visualViewport;let n=i.clientWidth,s=i.clientHeight,a=0,l=0;if(r){n=r.width,s=r.height;const t=isWebKit();(!t||t&&"fixed"===e)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:n,height:s,x:a,y:l}}function getInnerBoundingClientRect(t,e){const o=getBoundingClientRect(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=isHTMLElement(t)?getScale(t):createCoords(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}function getClientRectFromClippingAncestor(t,e,o){let i;if("viewport"===e)i=getViewportRect(t,o);else if("document"===e)i=getDocumentRect(getDocumentElement(t));else if(isElement(e))i=getInnerBoundingClientRect(e,o);else{const o=getVisualOffsets(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return rectToClientRect(i)}function hasFixedPositionAncestor(t,e){const o=getParentNode(t);return!(o===e||!isElement(o)||isLastTraversableNode(o))&&("fixed"===getComputedStyle$1(o).position||hasFixedPositionAncestor(o,e))}function getClippingElementAncestors(t,e){const o=e.get(t);if(o)return o;let i=getOverflowAncestors(t,[],!1).filter((t=>isElement(t)&&"body"!==getNodeName(t))),r=null;const n="fixed"===getComputedStyle$1(t).position;let s=n?getParentNode(t):t;for(;isElement(s)&&!isLastTraversableNode(s);){const e=getComputedStyle$1(s),o=isContainingBlock(s);o||"fixed"!==e.position||(r=null);(n?!o&&!r:!o&&"static"===e.position&&!!r&&["absolute","fixed"].includes(r.position)||isOverflowElement(s)&&!o&&hasFixedPositionAncestor(t,s))?i=i.filter((t=>t!==s)):r=e,s=getParentNode(s)}return e.set(t,i),i}function getClippingRect(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?getClippingElementAncestors(e,this._c):[].concat(o),i],s=n[0],a=n.reduce(((t,o)=>{const i=getClientRectFromClippingAncestor(e,o,r);return t.top=max(i.top,t.top),t.right=min(i.right,t.right),t.bottom=min(i.bottom,t.bottom),t.left=max(i.left,t.left),t}),getClientRectFromClippingAncestor(e,s,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function getDimensions(t){const{width:e,height:o}=getCssDimensions(t);return{width:e,height:o}}function getRectRelativeToOffsetParent(t,e,o){const i=isHTMLElement(e),r=getDocumentElement(e),n="fixed"===o,s=getBoundingClientRect(t,!0,n,e);let a={scrollLeft:0,scrollTop:0};const l=createCoords(0);if(i||!i&&!n)if(("body"!==getNodeName(e)||isOverflowElement(r))&&(a=getNodeScroll(e)),i){const t=getBoundingClientRect(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=getWindowScrollBarX(r));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function getTrueOffsetParent(t,e){return isHTMLElement(t)&&"fixed"!==getComputedStyle$1(t).position?e?e(t):t.offsetParent:null}function getOffsetParent(t,e){const o=getWindow(t);if(!isHTMLElement(t)||isTopLayer(t))return o;let i=getTrueOffsetParent(t,e);for(;i&&isTableElement(i)&&"static"===getComputedStyle$1(i).position;)i=getTrueOffsetParent(i,e);return i&&("html"===getNodeName(i)||"body"===getNodeName(i)&&"static"===getComputedStyle$1(i).position&&!isContainingBlock(i))?o:i||getContainingBlock(t)||o}const getElementRects=async function(t){const e=this.getOffsetParent||getOffsetParent,o=this.getDimensions;return{reference:getRectRelativeToOffsetParent(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,...await o(t.floating)}}};function isRTL(t){return"rtl"===getComputedStyle$1(t).direction}const platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function observeMove(t,e){let o,i=null;const r=getDocumentElement(t);function n(){var t;clearTimeout(o),null==(t=i)||t.disconnect(),i=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),n();const{left:c,top:d,width:h,height:u}=t.getBoundingClientRect();if(a||e(),!h||!u)return;const g={rootMargin:-floor(d)+"px "+-floor(r.clientWidth-(c+h))+"px "+-floor(r.clientHeight-(d+u))+"px "+-floor(c)+"px",threshold:max(0,min(1,l))||1};let p=!0;function m(t){const e=t[0].intersectionRatio;if(e!==l){if(!p)return s();e?s(!1,e):o=setTimeout((()=>{s(!1,1e-7)}),100)}p=!1}try{i=new IntersectionObserver(m,{...g,root:r.ownerDocument})}catch(t){i=new IntersectionObserver(m,g)}i.observe(t)}(!0),n}function autoUpdate(t,e,o,i){void 0===i&&(i={});const{ancestorScroll:r=!0,ancestorResize:n=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=i,c=unwrapElement(t),d=r||n?[...c?getOverflowAncestors(c):[],...getOverflowAncestors(e)]:[];d.forEach((t=>{r&&t.addEventListener("scroll",o,{passive:!0}),n&&t.addEventListener("resize",o)}));const h=c&&a?observeMove(c,o):null;let u,g=-1,p=null;s&&(p=new ResizeObserver((t=>{let[i]=t;i&&i.target===c&&p&&(p.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{var t;null==(t=p)||t.observe(e)}))),o()})),c&&!l&&p.observe(c),p.observe(e));let m=l?getBoundingClientRect(t):null;return l&&function e(){const i=getBoundingClientRect(t);!m||i.x===m.x&&i.y===m.y&&i.width===m.width&&i.height===m.height||o();m=i,u=requestAnimationFrame(e)}(),o(),()=>{var t;d.forEach((t=>{r&&t.removeEventListener("scroll",o),n&&t.removeEventListener("resize",o)})),null==h||h(),null==(t=p)||t.disconnect(),p=null,l&&cancelAnimationFrame(u)}}const shift=shift$1,flip=flip$1,hide=hide$1,arrow=arrow$1,computePosition=(t,e,o)=>{const i=new Map,r={platform,...o},n={...r.platform,_c:i};return computePosition$1(t,e,{...r,platform:n})};function offsetParent(t){return offsetParentPolyfill(t)}function flatTreeParent(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function offsetParentPolyfill(t){for(let e=t;e;e=flatTreeParent(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=flatTreeParent(t);e;e=flatTreeParent(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}function supportsPopover(){return Object.hasOwn(HTMLElement.prototype,"popover")}function isPopover(t){return!!t&&(supportsPopover()&&t.matches("[popover]"))}function getPositionOffset(t,e,o){const i="var(--m-popover-arrow-size)";switch(e){case"top":case"left":return t?`-1 * ${i} - ${o}px`:`-1 * ${o}px`;case"bottom":case"right":return t?`${i} + ${o}px`:`${o}px`;default:return"0px"}}var _Popover_updateCleanup,_Popover_getArrowPosition;const POPOVER_PLACEMENT_VALUES=["top","left","right","bottom","top-start","top-end","bottom-start","bottom-end"];class Popover extends Component{static get properties(){return{position:{type:String,reflect:!0},placement:{type:String},open:{type:Boolean,reflect:!0},asPopover:{type:Boolean,attribute:"as-popover"}}}constructor(){super(),_Popover_updateCleanup.set(this,void 0),this.getFloatingOffset=()=>10,this.renderArrow=()=>x`<span id="arrow"></span>`,this.reposition=async t=>{if(null==this.floating||null==this.reference)return;const{x:e,y:o,placement:i,middlewareData:r}=await computePosition(this.reference,this.floating,{strategy:this.position??"fixed",placement:this.placement??"bottom-start",platform:{...platform,getOffsetParent:t=>platform.getOffsetParent(t,offsetParent)},middleware:[flip(),shift(),this.arrow?arrow({element:this.arrow,padding:10}):void 0,hide()]});if(r.hide?.referenceHidden)return void Object.assign(this.floating.style,{visibility:"hidden"});const[n]=i.split("-"),s=null!=this.arrow,a={top:{x:"0px",y:getPositionOffset(s,"top",this.getFloatingOffset())},bottom:{x:"0px",y:getPositionOffset(s,"bottom",this.getFloatingOffset())},right:{x:getPositionOffset(s,"right",this.getFloatingOffset()),y:"0px"},left:{x:getPositionOffset(s,"left",this.getFloatingOffset()),y:"0px"}};Object.assign(this.floating.style,{visibility:"visible",top:`calc(${o}px + ${a[n].y})`,left:`calc(${e}px + ${a[n].x})`}),null!=this.arrow&&r.arrow&&Object.assign(this.arrow.style,__classPrivateFieldGet$1(this,_Popover_getArrowPosition,"f").call(this,r.arrow,n)),this.emit("m-popover-reposition",{detail:{reason:t}})},_Popover_getArrowPosition.set(this,((t,e)=>{if(null==this.floating||null==this.reference||null==this.arrow||null==t)return{};const o={top:"bottom",right:"left",bottom:"top",left:"right"}[e],{x:i,y:r}=t;return{left:null!=i?`${i}px`:"",top:null!=r?`${r}px`:"",right:"",bottom:"",[o]:-this.arrow.offsetWidth/2+"px"}})),this.position="fixed",this.placement="top-end",this.open=!1,this.asPopover=!1}disconnectedCallback(){super.disconnectedCallback(),__classPrivateFieldGet$1(this,_Popover_updateCleanup,"f")?.call(this)}firstUpdated(){this.asPopover&&supportsPopover()&&this.floating&&this.floating.setAttribute("popover","manual"),this.open&&this.show()}updated(t){super.updated(t),this.open&&null!=t.get("placement")&&null!=this.placement&&this.reposition("placement")}get reference(){return this.getReferenceElement()}get floating(){return this.getFloatingElement()}get arrow(){return this.getArrowElement()}show(){this.open||(this.open=!0,this.reference&&this.floating&&(isPopover(this.floating)&&this.floating.showPopover(),__classPrivateFieldSet(this,_Popover_updateCleanup,autoUpdate(this.reference,this.floating,(()=>{this.reposition("auto")})),"f")))}hide(){this.open&&(this.open=!1,null!=this.floating&&isPopover(this.floating)&&this.floating.hidePopover(),__classPrivateFieldGet$1(this,_Popover_updateCleanup,"f")?.call(this))}toggle(){this.open?this.hide():this.show()}}_Popover_updateCleanup=new WeakMap,_Popover_getArrowPosition=new WeakMap;const DEFAULT_SELECTORS={referenceSelector:"slot[name='reference']::slotted(*),",floatingSelector:"slot[name='floating']::slotted(*)"};function styles$m(t=DEFAULT_SELECTORS){const{referenceSelector:e,floatingSelector:o}={...DEFAULT_SELECTORS,...t};return[i$5`
|
|
1835
1835
|
:host {
|
|
1836
1836
|
--m-popover-background-color: ${getColor("color-background-secondary-inverted")};
|
|
1837
1837
|
--m-popover-border-radius: ${getToken("border-radius-m")};
|
|
@@ -1944,7 +1944,7 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
|
|
|
1944
1944
|
`]}function triggerStyles(){return[i$5`
|
|
1945
1945
|
:host {
|
|
1946
1946
|
--m-dropdown-trigger-background-color: ${getColor("color-background-primary")};
|
|
1947
|
-
--m-dropdown-trigger-border-color: ${getColor("color-border")};
|
|
1947
|
+
--m-dropdown-trigger-border-color: ${getColor("color-border-input")};
|
|
1948
1948
|
--m-dropdown-trigger-border-radius: ${getToken("border-radius-s")};
|
|
1949
1949
|
--m-dropdown-trigger-color: ${getColor("color-text-tertiary")};
|
|
1950
1950
|
--m-dropdown-trigger-padding-x: ${getToken("spacing-2")};
|
|
@@ -2006,14 +2006,14 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
|
|
|
2006
2006
|
}
|
|
2007
2007
|
|
|
2008
2008
|
:host-context([size='small']) {
|
|
2009
|
-
--m-dropdown-trigger-border-color: ${getColor("color-border",0)};
|
|
2009
|
+
--m-dropdown-trigger-border-color: ${getColor("color-border-input",0)};
|
|
2010
2010
|
--m-dropdown-trigger-padding-y: ${getToken("spacing-1")};
|
|
2011
2011
|
--m-dropdown-trigger-height: ${getToken("global-height-small")};
|
|
2012
2012
|
--m-dropdown-trigger-background-color: transparent;
|
|
2013
2013
|
}
|
|
2014
2014
|
|
|
2015
2015
|
:host-context([size='small']:not([disabled]):hover) {
|
|
2016
|
-
--m-dropdown-trigger-border-color: ${getColor("color-border")};
|
|
2016
|
+
--m-dropdown-trigger-border-color: ${getColor("color-border-input")};
|
|
2017
2017
|
}
|
|
2018
2018
|
|
|
2019
2019
|
:host-context([size='small'][disabled]) {
|
|
@@ -2510,7 +2510,26 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
|
|
|
2510
2510
|
<slot name="page-body"></slot>
|
|
2511
2511
|
`}}function styles$f(){return i$5`
|
|
2512
2512
|
:host {
|
|
2513
|
+
--m-pagination-border-radius: ${getToken("border-radius-none")};
|
|
2514
|
+
--m-pagination-border-width: ${getToken("border-thin")};
|
|
2515
|
+
--m-pagination-border-color: ${getColor("color-border")};
|
|
2516
|
+
--m-pagination-border-style: solid;
|
|
2517
|
+
--m-pagination-background-color: ${getColor("color-background-primary")};
|
|
2518
|
+
|
|
2519
|
+
display: block;
|
|
2513
2520
|
width: 100%;
|
|
2521
|
+
|
|
2522
|
+
box-sizing: border-box;
|
|
2523
|
+
|
|
2524
|
+
background-color: var(--m-pagination-background-color);
|
|
2525
|
+
border-radius: var(--m-pagination-border-radius);
|
|
2526
|
+
border-style: var(--m-pagination-border-style);
|
|
2527
|
+
border-width: var(--m-pagination-border-width);
|
|
2528
|
+
border-color: var(--m-pagination-border-color);
|
|
2529
|
+
|
|
2530
|
+
text-align: left;
|
|
2531
|
+
|
|
2532
|
+
padding: ${getToken("spacing-4")};
|
|
2514
2533
|
}
|
|
2515
2534
|
|
|
2516
2535
|
.actions m-button {
|
|
@@ -2591,18 +2610,10 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
|
|
|
2591
2610
|
</m-button>
|
|
2592
2611
|
</m-group>
|
|
2593
2612
|
`}render(){return x`
|
|
2594
|
-
<m-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
border-radius="border-none"
|
|
2599
|
-
class="m-pagination"
|
|
2600
|
-
>
|
|
2601
|
-
<m-group justify="space-between" align="center">
|
|
2602
|
-
<m-text color="color-text-tertiary">${this.count} items</m-text>
|
|
2603
|
-
${this.renderActions()}
|
|
2604
|
-
</m-group>
|
|
2605
|
-
</m-box>
|
|
2613
|
+
<m-group class="m-pagination" justify="space-between" align="center">
|
|
2614
|
+
<m-text color="color-text-tertiary">${this.count} items</m-text>
|
|
2615
|
+
${this.renderActions()}
|
|
2616
|
+
</m-group>
|
|
2606
2617
|
`}}function clamp(t,e,o){return Math.min(Math.max(e,t),o)}function styles$e(){return i$5`
|
|
2607
2618
|
.bar {
|
|
2608
2619
|
display: flex;
|
|
@@ -2663,10 +2674,10 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
|
|
|
2663
2674
|
</div>
|
|
2664
2675
|
`}}_ProgressBar_instances=new WeakSet,_ProgressBar_safeMaxValue_get=function(){return this.max<=0?100:this.max},_ProgressBar_safeValue_get=function(){return clamp(this.value,0,__classPrivateFieldGet$1(this,_ProgressBar_instances,"a",_ProgressBar_safeMaxValue_get))},ProgressBar.styles=[styles$e()],window.customElements.define("m-progress-bar",ProgressBar);class ProgressBarCountdown extends ProgressBar{get currentVariant(){return this.percentage>=66?"success":this.percentage>=33?"warning":"danger"}}window.customElements.define("m-progress-bar-countdown",ProgressBarCountdown);const RADIO_EVENT="m-check";function styles$d(){return i$5`
|
|
2665
2676
|
:host {
|
|
2666
|
-
--m-radio-border-color: ${getColor("color-border")};
|
|
2677
|
+
--m-radio-border-color: ${getColor("color-border-input")};
|
|
2667
2678
|
--m-radio-dot-check-color: ${getColor("color-primary-60")};
|
|
2668
2679
|
--m-radio-size: 14px;
|
|
2669
|
-
--m-radio-background-color:
|
|
2680
|
+
--m-radio-background-color: ${getColor("color-background-primary")};
|
|
2670
2681
|
--m-radio-border-width: ${getToken("border-thin")};
|
|
2671
2682
|
--m-radio-label-color: ${getColor("color-text-tertiary")};
|
|
2672
2683
|
--m-radio-outline-color: ${getColor("color-primary-60")};
|
|
@@ -2727,12 +2738,12 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
|
|
|
2727
2738
|
|
|
2728
2739
|
${on(".radio-button").disabled} {
|
|
2729
2740
|
cursor: default;
|
|
2730
|
-
--m-radio-label-color: ${getColor("color-
|
|
2741
|
+
--m-radio-label-color: ${getColor("color-text-disabled")};
|
|
2731
2742
|
--m-radio-background-color: ${getColor("color-background-tertiary")};
|
|
2732
2743
|
}
|
|
2733
2744
|
|
|
2734
2745
|
${on('.radio-button[aria-checked="true"]',".radio-input").disabled} {
|
|
2735
|
-
--m-radio-border-color: ${getColor("color-border")};
|
|
2746
|
+
--m-radio-border-color: ${getColor("color-border-input")};
|
|
2736
2747
|
}
|
|
2737
2748
|
|
|
2738
2749
|
${on(".radio-button",".radio-input::before").disabled} {
|
|
@@ -2749,7 +2760,7 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
|
|
|
2749
2760
|
}
|
|
2750
2761
|
|
|
2751
2762
|
.radio-button .radio-input {
|
|
2752
|
-
--m-radio-border-color: ${getColor("color-border")};
|
|
2763
|
+
--m-radio-border-color: ${getColor("color-border-input")};
|
|
2753
2764
|
}
|
|
2754
2765
|
|
|
2755
2766
|
${on(".radio-button").not.disabled.hover} .radio-input {
|
|
@@ -3103,21 +3114,52 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
|
|
|
3103
3114
|
`}}function tableStyles(){return i$5`
|
|
3104
3115
|
:host {
|
|
3105
3116
|
--m-table-cell-height: 52px;
|
|
3117
|
+
--m-table-border-radius: ${getToken("border-radius-s")};
|
|
3106
3118
|
|
|
3107
3119
|
display: block;
|
|
3108
3120
|
width: 100%;
|
|
3109
|
-
border-collapse:
|
|
3121
|
+
border-collapse: collapse;
|
|
3122
|
+
|
|
3110
3123
|
border-style: solid;
|
|
3111
|
-
border-radius:
|
|
3124
|
+
border-radius: var(--m-table-border-radius);
|
|
3112
3125
|
border-width: ${getToken("border-thin")};
|
|
3113
3126
|
border-color: ${getColor("color-border")};
|
|
3114
|
-
background-color: ${getColor("color-background-primary")};
|
|
3115
3127
|
overflow: hidden;
|
|
3128
|
+
background-color: ${getColor("color-background-primary")};
|
|
3129
|
+
}
|
|
3130
|
+
|
|
3131
|
+
::slotted(:not(:first-child)) {
|
|
3132
|
+
border-top: ${getToken("border-thin")} solid ${getColor("color-divider")};
|
|
3133
|
+
}
|
|
3134
|
+
|
|
3135
|
+
::slotted(:first-child) {
|
|
3136
|
+
border-start-start-radius: var(--m-table-border-radius);
|
|
3137
|
+
border-start-end-radius: var(--m-table-border-radius);
|
|
3138
|
+
}
|
|
3139
|
+
|
|
3140
|
+
::slotted(:last-child) {
|
|
3141
|
+
border-end-start-radius: var(--m-table-border-radius);
|
|
3142
|
+
border-end-end-radius: var(--m-table-border-radius);
|
|
3116
3143
|
}
|
|
3117
3144
|
|
|
3118
3145
|
.table {
|
|
3119
3146
|
display: table;
|
|
3120
|
-
|
|
3147
|
+
width: 100%;
|
|
3148
|
+
}
|
|
3149
|
+
|
|
3150
|
+
:host([size='small']) {
|
|
3151
|
+
--m-table-cell-height: 32px;
|
|
3152
|
+
${typography("body-sm")};
|
|
3153
|
+
}
|
|
3154
|
+
|
|
3155
|
+
:host([size='default']) {
|
|
3156
|
+
--m-table-cell-height: 52px;
|
|
3157
|
+
${typography("body-md")};
|
|
3158
|
+
}
|
|
3159
|
+
|
|
3160
|
+
:host([size='large']) {
|
|
3161
|
+
--m-table-cell-height: 86px;
|
|
3162
|
+
${typography("body-md")};
|
|
3121
3163
|
}
|
|
3122
3164
|
`}function tableToolbarStyles(){return i$5`
|
|
3123
3165
|
:host {
|
|
@@ -3128,6 +3170,8 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
|
|
|
3128
3170
|
--m-table-cell-height: 44px;
|
|
3129
3171
|
|
|
3130
3172
|
display: table-header-group;
|
|
3173
|
+
|
|
3174
|
+
background-color: ${getColor("color-background-secondary")};
|
|
3131
3175
|
}
|
|
3132
3176
|
|
|
3133
3177
|
slot[name='table-row']::slotted(*) {
|
|
@@ -3148,25 +3192,16 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
|
|
|
3148
3192
|
background-color: ${getColor("color-background-tertiary")};
|
|
3149
3193
|
}
|
|
3150
3194
|
|
|
3151
|
-
:
|
|
3152
|
-
|
|
3153
|
-
${typography("body-sm")};
|
|
3154
|
-
}
|
|
3155
|
-
|
|
3156
|
-
:host-context([size='default']) {
|
|
3157
|
-
--m-table-cell-height: 52px;
|
|
3158
|
-
${typography("body-md")};
|
|
3159
|
-
}
|
|
3160
|
-
|
|
3161
|
-
:host-context([size='large']) {
|
|
3162
|
-
--m-table-cell-height: 86px;
|
|
3163
|
-
${typography("body-md")};
|
|
3195
|
+
::slotted(*:not(:first-child, :only-child)) {
|
|
3196
|
+
border-top: ${getToken("border-thin")} solid ${getColor("color-divider")};
|
|
3164
3197
|
}
|
|
3165
3198
|
`}function tableFootStyles(){return i$5`
|
|
3166
3199
|
:host {
|
|
3167
3200
|
--m-table-cell-height: 44px;
|
|
3168
3201
|
|
|
3169
3202
|
display: table-footer-group;
|
|
3203
|
+
|
|
3204
|
+
background-color: ${getColor("color-background-secondary")};
|
|
3170
3205
|
}
|
|
3171
3206
|
|
|
3172
3207
|
slot[name='table-row']::slotted(*) {
|
|
@@ -3188,10 +3223,6 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
|
|
|
3188
3223
|
padding-inline-end: ${getToken("spacing-4")};
|
|
3189
3224
|
vertical-align: middle;
|
|
3190
3225
|
text-align: var(--m-table-cell-text-align);
|
|
3191
|
-
|
|
3192
|
-
border-top-style: solid;
|
|
3193
|
-
border-top-width: ${getToken("border-thin")};
|
|
3194
|
-
border-top-color: ${getColor("color-divider")};
|
|
3195
3226
|
}
|
|
3196
3227
|
`}function tableHeadCellStyles(){return[tableCellStyles(),i$5`
|
|
3197
3228
|
:host {
|
|
@@ -3214,11 +3245,17 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
|
|
|
3214
3245
|
:host([disabled]) m-icon {
|
|
3215
3246
|
--m-icon-color: ${getColor("color-text-disabled")};
|
|
3216
3247
|
}
|
|
3217
|
-
`]}function
|
|
3248
|
+
`]}function tableActionsStyles(){return i$5`
|
|
3218
3249
|
:host {
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3250
|
+
background-color: ${getColor("color-background-primary")};
|
|
3251
|
+
}
|
|
3252
|
+
|
|
3253
|
+
::slotted(*:not(:first-child)) {
|
|
3254
|
+
border-top: ${getToken("border-thin")} solid ${getColor("color-divider")};
|
|
3255
|
+
}
|
|
3256
|
+
|
|
3257
|
+
::slotted(m-pagination) {
|
|
3258
|
+
--m-pagination-border-width: ${getToken("border-none")};
|
|
3222
3259
|
}
|
|
3223
3260
|
`}_Switch_controllers=new WeakMap,_Switch_handleClick=new WeakMap,_Switch_instances=new WeakSet,_Switch_toggle=function(){this.checked=!this.checked,this.emit("m-change",{detail:{name:this.name,checked:this.checked}})},Switch.styles=[styles$9()],window.customElements.define("m-switch",Switch);const defaultTableProps={size:"default"};class Table extends s$7{static get properties(){return{role:{type:String,reflect:!0},size:{type:String,reflect:!0}}}constructor(){super(),this.role="table",this.size=defaultTableProps.size}render(){return x`
|
|
3224
3261
|
<m-stack gap="none">
|
|
@@ -3229,11 +3266,12 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
|
|
|
3229
3266
|
<slot name="table-foot"></slot>
|
|
3230
3267
|
</div>
|
|
3231
3268
|
<slot name="table-feedback"></slot>
|
|
3269
|
+
<slot name="table-actions"></slot>
|
|
3232
3270
|
</m-stack>
|
|
3233
3271
|
`}}Table.styles=[tableStyles()],window.customElements.define("m-table",Table);class TableHead extends s$7{static get properties(){return{slot:{type:String,reflect:!0},role:{type:String,reflect:!0}}}constructor(){super(),this.slot="table-head",this.role="rowgroup"}render(){return x`<slot name="table-row"></slot>`}}var _TableHeadCell_instances,_TableHeadCell_isSortable,_TableHeadCell_isDisabled,_TableHeadCell_getSortIcon,_TableHeadCell_handleClick;TableHead.styles=[tableHeadStyles()],window.customElements.define("m-table-head",TableHead);const defaultTableHeadCellProps={alignment:"left",sortable:!1,sortDirection:void 0,disabled:!1};class TableHeadCell extends Component{static get properties(){return{slot:{type:String,reflect:!0},role:{type:String,reflect:!0},alignment:{type:String},columnId:{type:String,attribute:"column-id"},sortable:{type:Boolean,reflect:!0},sortDirection:{type:String,attribute:"sort-direction"},disabled:{type:Boolean,reflect:!0}}}constructor(){super(),_TableHeadCell_instances.add(this),_TableHeadCell_isSortable.set(this,(()=>Boolean(this.sortable))),_TableHeadCell_isDisabled.set(this,(()=>Boolean(this.disabled))),_TableHeadCell_handleClick.set(this,(()=>{if(__classPrivateFieldGet$1(this,_TableHeadCell_isDisabled,"f").call(this)||!__classPrivateFieldGet$1(this,_TableHeadCell_isSortable,"f").call(this))return;let t="asc";"asc"===this.sortDirection?t="desc":"desc"===this.sortDirection&&(t=void 0),this.emit("m-sort",{detail:{columnId:this.columnId,sortDirection:t}})})),this.slot="table-cell",this.role="columnheader",this.alignment=defaultTableHeadCellProps.alignment,this.sortable=defaultTableHeadCellProps.sortable,this.sortDirection=defaultTableHeadCellProps.sortDirection,this.disabled=defaultTableHeadCellProps.disabled}connectedCallback(){super.connectedCallback(),this.addEventListener("click",__classPrivateFieldGet$1(this,_TableHeadCell_handleClick,"f"))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",__classPrivateFieldGet$1(this,_TableHeadCell_handleClick,"f"))}update(t){super.update(t),t.has("alignment")&&this.style.setProperty("--m-table-cell-text-align",this.alignment??defaultTableHeadCellProps.alignment)}render(){return __classPrivateFieldGet$1(this,_TableHeadCell_isSortable,"f").call(this)?x`
|
|
3234
3272
|
<slot></slot>
|
|
3235
3273
|
<m-icon name="${__classPrivateFieldGet$1(this,_TableHeadCell_instances,"m",_TableHeadCell_getSortIcon).call(this)}" size="12"></m-icon>
|
|
3236
|
-
`:x`<slot></slot>`}}_TableHeadCell_isSortable=new WeakMap,_TableHeadCell_isDisabled=new WeakMap,_TableHeadCell_handleClick=new WeakMap,_TableHeadCell_instances=new WeakSet,_TableHeadCell_getSortIcon=function(){switch(this.sortDirection){case"asc":return"arrow-sort-up";case"desc":return"arrow-sort-down";default:return"arrow-sort-up-down"}},TableHeadCell.styles=[tableHeadCellStyles()],window.customElements.define("m-table-head-cell",TableHeadCell);class TableBody extends s$7{static get properties(){return{slot:{type:String,reflect:!0},role:{type:String,reflect:!0}}}constructor(){super(),this.slot="table-body",this.role="rowgroup"}render(){return x`<slot name="table-row"></slot>`}}TableBody.styles=[tableBodyStyles()],window.customElements.define("m-table-body",TableBody);class TableFoot extends s$7{static get properties(){return{slot:{type:String,reflect:!0},role:{type:String,reflect:!0}}}constructor(){super(),this.slot="table-foot",this.role="rowgroup"}render(){return x`<slot name="table-row"></slot>`}}TableFoot.styles=[tableFootStyles()],window.customElements.define("m-table-foot",TableFoot);class TableRow extends s$7{static get properties(){return{slot:{type:String,reflect:!0},role:{type:String,reflect:!0}}}constructor(){super(),this.slot="table-row",this.role="row"}render(){return x`<slot name="table-cell"></slot>`}}TableRow.styles=[tableRowStyles()],window.customElements.define("m-table-row",TableRow);const defaultTableCellProps={alignment:"left"};class TableCell extends s$7{static get properties(){return{slot:{type:String,reflect:!0},role:{type:String,reflect:!0},alignment:{type:String}}}constructor(){super(),this.slot="table-cell",this.alignment=defaultTableCellProps.alignment}firstUpdated(){const t=null!=this.closest("m-table-head");this.role=t?"columnheader":"cell"}update(t){super.update(t),t.has("alignment")&&this.style.setProperty("--m-table-cell-text-align",this.alignment??defaultTableCellProps.alignment)}render(){return x`<slot></slot>`}}TableCell.styles=[tableCellStyles()],window.customElements.define("m-table-cell",TableCell);class TableToolbar extends s$7{static get properties(){return{slot:{type:String,reflect:!0}}}constructor(){super(),this.slot="table-toolbar"}render(){return x`<slot></slot>`}}TableToolbar.styles=[tableToolbarStyles()],window.customElements.define("m-table-toolbar",TableToolbar);class TableFeedback extends s$7{static get properties(){return{slot:{type:String,reflect:!0}}}constructor(){super(),this.slot="table-feedback"}render(){return x`<slot></slot>`}}TableFeedback.styles=[
|
|
3274
|
+
`:x`<slot></slot>`}}_TableHeadCell_isSortable=new WeakMap,_TableHeadCell_isDisabled=new WeakMap,_TableHeadCell_handleClick=new WeakMap,_TableHeadCell_instances=new WeakSet,_TableHeadCell_getSortIcon=function(){switch(this.sortDirection){case"asc":return"arrow-sort-up";case"desc":return"arrow-sort-down";default:return"arrow-sort-up-down"}},TableHeadCell.styles=[tableHeadCellStyles()],window.customElements.define("m-table-head-cell",TableHeadCell);class TableBody extends s$7{static get properties(){return{slot:{type:String,reflect:!0},role:{type:String,reflect:!0}}}constructor(){super(),this.slot="table-body",this.role="rowgroup"}render(){return x`<slot name="table-row"></slot>`}}TableBody.styles=[tableBodyStyles()],window.customElements.define("m-table-body",TableBody);class TableFoot extends s$7{static get properties(){return{slot:{type:String,reflect:!0},role:{type:String,reflect:!0}}}constructor(){super(),this.slot="table-foot",this.role="rowgroup"}render(){return x`<slot name="table-row"></slot>`}}TableFoot.styles=[tableFootStyles()],window.customElements.define("m-table-foot",TableFoot);class TableRow extends s$7{static get properties(){return{slot:{type:String,reflect:!0},role:{type:String,reflect:!0}}}constructor(){super(),this.slot="table-row",this.role="row"}render(){return x`<slot name="table-cell"></slot>`}}TableRow.styles=[tableRowStyles()],window.customElements.define("m-table-row",TableRow);const defaultTableCellProps={alignment:"left"};class TableCell extends s$7{static get properties(){return{slot:{type:String,reflect:!0},role:{type:String,reflect:!0},alignment:{type:String}}}constructor(){super(),this.slot="table-cell",this.alignment=defaultTableCellProps.alignment}firstUpdated(){const t=null!=this.closest("m-table-head");this.role=t?"columnheader":"cell"}update(t){super.update(t),t.has("alignment")&&this.style.setProperty("--m-table-cell-text-align",this.alignment??defaultTableCellProps.alignment)}render(){return x`<slot></slot>`}}TableCell.styles=[tableCellStyles()],window.customElements.define("m-table-cell",TableCell);class TableToolbar extends s$7{static get properties(){return{slot:{type:String,reflect:!0}}}constructor(){super(),this.slot="table-toolbar"}render(){return x`<slot></slot>`}}TableToolbar.styles=[tableToolbarStyles()],window.customElements.define("m-table-toolbar",TableToolbar);class TableFeedback extends s$7{static get properties(){return{slot:{type:String,reflect:!0}}}constructor(){super(),this.slot="table-feedback"}render(){return x`<slot></slot>`}}window.customElements.define("m-table-feedback",TableFeedback);class TableActions extends s$7{static get properties(){return{slot:{type:String,reflect:!0},role:{type:String,reflect:!0}}}constructor(){super(),this.slot="table-actions"}render(){return x`<slot></slot>`}}TableActions.styles=[tableActionsStyles()],window.customElements.define("m-table-actions",TableActions);const tabsContext=n$2(Symbol("tabs")),TAB_SELECT_EVENT="m-select-tab";function styles$8(){return i$5`
|
|
3237
3275
|
:host {
|
|
3238
3276
|
--m-tabs-border-width: ${getToken("border-thin")};
|
|
3239
3277
|
--m-tabs-border-color: ${getColor("color-divider")};
|
|
@@ -3553,7 +3591,7 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
|
|
|
3553
3591
|
`}}_ActionableTag_isSkeleton=new WeakMap,_ActionableTag_isRemovable=new WeakMap,_ActionableTag_isSelectable=new WeakMap,_ActionableTag_isSelected=new WeakMap,_ActionableTag_isDisabled=new WeakMap,_ActionableTag_handleClose=new WeakMap,_ActionableTag_handleClick=new WeakMap,_ActionableTag_instances=new WeakSet,_ActionableTag_toggle=function(){this.selected=!this.selected,this.emit("m-change",{detail:{selected:this.selected}})},ActionableTag.styles=[actionableTagStyles()],window.customElements.define("m-actionable-tag",ActionableTag);var e=new Map;function t(t){var o=e.get(t);o&&o.destroy()}function o(t){var o=e.get(t);o&&o.update()}var r=null;"undefined"==typeof window?((r=function(t){return t}).destroy=function(t){return t},r.update=function(t){return t}):((r=function(t,o){return t&&Array.prototype.forEach.call(t.length?t:[t],(function(t){return function(t){if(t&&t.nodeName&&"TEXTAREA"===t.nodeName&&!e.has(t)){var o,i=null,r=window.getComputedStyle(t),n=(o=t.value,function(){a({testForHeightReduction:""===o||!t.value.startsWith(o),restoreTextAlign:null}),o=t.value}),s=function(o){t.removeEventListener("autosize:destroy",s),t.removeEventListener("autosize:update",l),t.removeEventListener("input",n),window.removeEventListener("resize",l),Object.keys(o).forEach((function(e){return t.style[e]=o[e]})),e.delete(t)}.bind(t,{height:t.style.height,resize:t.style.resize,textAlign:t.style.textAlign,overflowY:t.style.overflowY,overflowX:t.style.overflowX,wordWrap:t.style.wordWrap});t.addEventListener("autosize:destroy",s),t.addEventListener("autosize:update",l),t.addEventListener("input",n),window.addEventListener("resize",l),t.style.overflowX="hidden",t.style.wordWrap="break-word",e.set(t,{destroy:s,update:l}),l()}function a(e){var o,n,s=e.restoreTextAlign,l=void 0===s?null:s,c=e.testForHeightReduction,d=void 0===c||c,h=r.overflowY;if(0!==t.scrollHeight&&("vertical"===r.resize?t.style.resize="none":"both"===r.resize&&(t.style.resize="horizontal"),d&&(o=function(t){for(var e=[];t&&t.parentNode&&t.parentNode instanceof Element;)t.parentNode.scrollTop&&e.push([t.parentNode,t.parentNode.scrollTop]),t=t.parentNode;return function(){return e.forEach((function(t){var e=t[0],o=t[1];e.style.scrollBehavior="auto",e.scrollTop=o,e.style.scrollBehavior=null}))}}(t),t.style.height=""),n="content-box"===r.boxSizing?t.scrollHeight-(parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)):t.scrollHeight+parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth),"none"!==r.maxHeight&&n>parseFloat(r.maxHeight)?("hidden"===r.overflowY&&(t.style.overflow="scroll"),n=parseFloat(r.maxHeight)):"hidden"!==r.overflowY&&(t.style.overflow="hidden"),t.style.height=n+"px",l&&(t.style.textAlign=l),o&&o(),i!==n&&(t.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),i=n),h!==r.overflow&&!l)){var u=r.textAlign;"hidden"===r.overflow&&(t.style.textAlign="start"===u?"end":"start"),a({restoreTextAlign:u,testForHeightReduction:!0})}}function l(){a({testForHeightReduction:!0,restoreTextAlign:null})}}(t)})),t}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],t),e},r.update=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],o),t});var _TextArea_handleInput,_TextArea_updateStatusClass,_TextField_instances,_TextField_isClearVisible,_TextField_updateStatusClass,_TextField_handleInput,_TextField_handleClear,n=r;function styles$5(){return i$5`
|
|
3554
3592
|
:host {
|
|
3555
3593
|
--m-text-area-background-color: ${getColor("color-background-primary")};
|
|
3556
|
-
--m-text-area-border-color: ${getColor("color-border")};
|
|
3594
|
+
--m-text-area-border-color: ${getColor("color-border-input")};
|
|
3557
3595
|
--m-text-area-min-height: 135px;
|
|
3558
3596
|
--m-text-area-placeholder-color: ${getColor("color-text-placeholder")};
|
|
3559
3597
|
--m-text-area-color: ${getColor("color-text-primary")};
|
|
@@ -3649,7 +3687,7 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
|
|
|
3649
3687
|
color: var(--m-text-area-color);
|
|
3650
3688
|
|
|
3651
3689
|
scrollbar-width: thin;
|
|
3652
|
-
scrollbar-color: ${getColor("color-border")}
|
|
3690
|
+
scrollbar-color: ${getColor("color-border-input")}
|
|
3653
3691
|
${getColor("color-background-tertiary")};
|
|
3654
3692
|
|
|
3655
3693
|
outline: none;
|
|
@@ -3670,7 +3708,7 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
|
|
|
3670
3708
|
}
|
|
3671
3709
|
|
|
3672
3710
|
textarea::-webkit-scrollbar-thumb {
|
|
3673
|
-
background-color: ${getColor("color-border")};
|
|
3711
|
+
background-color: ${getColor("color-border-input")};
|
|
3674
3712
|
border-radius: ${getToken("border-radius-m")};
|
|
3675
3713
|
background-clip: padding-box;
|
|
3676
3714
|
}
|
|
@@ -3696,7 +3734,7 @@ ${this.value}</textarea
|
|
|
3696
3734
|
>`}get textarea(){return null==this.textAreaElement&&(this.textAreaElement=this.renderRoot?.querySelector("textArea")??null),this.textAreaElement}focus(){this.textarea?.focus()}}function styles$4(){return i$5`
|
|
3697
3735
|
:host {
|
|
3698
3736
|
--m-text-field-background-color: ${getColor("color-background-primary")};
|
|
3699
|
-
--m-text-field-border-color: ${getColor("color-border")};
|
|
3737
|
+
--m-text-field-border-color: ${getColor("color-border-input")};
|
|
3700
3738
|
--m-text-field-height: ${getToken("global-height-default")};
|
|
3701
3739
|
--m-text-field-padding-y: ${getToken("spacing-2")};
|
|
3702
3740
|
--m-text-field-placeholder-color: ${getColor("color-text-placeholder")};
|
|
@@ -3889,7 +3927,7 @@ ${this.value}</textarea
|
|
|
3889
3927
|
inline-size: 2px;
|
|
3890
3928
|
block-size: 100%;
|
|
3891
3929
|
|
|
3892
|
-
background-color: ${getColor("color-border")};
|
|
3930
|
+
background-color: ${getColor("color-border-input")};
|
|
3893
3931
|
}
|
|
3894
3932
|
|
|
3895
3933
|
.content {
|
|
@@ -3908,7 +3946,7 @@ ${this.value}</textarea
|
|
|
3908
3946
|
}
|
|
3909
3947
|
|
|
3910
3948
|
.content.-divider {
|
|
3911
|
-
border-bottom: 1px solid ${getColor("color-border")};
|
|
3949
|
+
border-bottom: 1px solid ${getColor("color-border-input")};
|
|
3912
3950
|
}
|
|
3913
3951
|
|
|
3914
3952
|
.circle {
|
|
@@ -4117,7 +4155,7 @@ ${this.value}</textarea
|
|
|
4117
4155
|
.toggle-group {
|
|
4118
4156
|
inline-size: max-content;
|
|
4119
4157
|
|
|
4120
|
-
border: 1px solid ${getColor("color-border")};
|
|
4158
|
+
border: 1px solid ${getColor("color-border-input")};
|
|
4121
4159
|
padding: ${getToken("spacing-1")};
|
|
4122
4160
|
|
|
4123
4161
|
border-radius: ${getToken("border-radius-s")};
|
|
@@ -4232,5 +4270,5 @@ ${this.value}</textarea
|
|
|
4232
4270
|
:host linearGradient {
|
|
4233
4271
|
transform-origin: center;
|
|
4234
4272
|
}
|
|
4235
|
-
`}var _LogoLoader_instances,_LogoLoader_getSize;const DEFAULT_SIZE="48";class LogoLoader extends s$7{constructor(){super(...arguments),_LogoLoader_instances.add(this)}static get properties(){return{size:{type:String,reflect:!0}}}connectedCallback(){super.connectedCallback(),this.style.setProperty("--m-logo-size",__classPrivateFieldGet$1(this,_LogoLoader_instances,"m",_LogoLoader_getSize).call(this))}update(t){super.update(t),t.has("size")&&this.style.setProperty("--m-logo-size",__classPrivateFieldGet$1(this,_LogoLoader_instances,"m",_LogoLoader_getSize).call(this))}render(){return b$1`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 49 48"><g opacity=".7"><mask id="a" width="49" height="16" x="0" y="32" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M32.1364 48H.5l15.1072-15.2727H48.5L33.4266 47.317c-.3323.3324-.818.683-1.2902.683Z"/></mask><g mask="url(#a)"><path fill="url(#b)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g></g><mask id="c" width="32" height="17" x="17" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M17.9546 16.3636V0H48.5L33.2273 16.3636H17.9546Z"/></mask><g mask="url(#c)"><path fill="url(#d)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g><g opacity=".7"><mask id="e" width="16" height="31" x="33" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M48.5 30.5455H33.2273V16.3637L48.5 0v30.5455Z"/></mask><g mask="url(#e)"><path fill="url(#f)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g></g><mask id="g" width="16" height="48" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M15.7727 0v32.7273L.5 48V16.94c0-.4722.18803-.9226.52036-1.2571L15.7727 0Z"/></mask><g mask="url(#g)"><path fill="url(#h)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g><defs><linearGradient id="b" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient><linearGradient id="d" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient><linearGradient id="f" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient><linearGradient id="h" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient></defs></svg>`}}_LogoLoader_instances=new WeakSet,_LogoLoader_getSize=function(){const t=parseInt(this.size??"48",10);return Number.isNaN(t)?"48px":`${t||"48"}px`},LogoLoader.styles=[styles()],window.customElements.define("m-logo-loader",LogoLoader);export{EmptyStateHeader as $,Accordion as A,BackButton as B,Card as C,Dialog as D,DialogActionPrimary as E,DialogActionSecondary as F,DialogActionTertiary as G,DialogActions as H,DialogBody as I,DialogClose as J,DialogFooter as K,DialogHeader as L,Divider as M,Drawer as N,DRAWER_SIZES as O,DrawerActionPrimary as P,DrawerActionSecondary as Q,DrawerActionTertiary as R,DrawerActions as S,DrawerBody as T,DrawerClose as U,DrawerHeader as V,Dropdown as W,DropdownTrigger as X,DropdownMenu as Y,DropdownItem as Z,EmptyStateAction as _,AccordionTitle as a,
|
|
4236
|
-
//# sourceMappingURL=index-
|
|
4273
|
+
`}var _LogoLoader_instances,_LogoLoader_getSize;const DEFAULT_SIZE="48";class LogoLoader extends s$7{constructor(){super(...arguments),_LogoLoader_instances.add(this)}static get properties(){return{size:{type:String,reflect:!0}}}connectedCallback(){super.connectedCallback(),this.style.setProperty("--m-logo-size",__classPrivateFieldGet$1(this,_LogoLoader_instances,"m",_LogoLoader_getSize).call(this))}update(t){super.update(t),t.has("size")&&this.style.setProperty("--m-logo-size",__classPrivateFieldGet$1(this,_LogoLoader_instances,"m",_LogoLoader_getSize).call(this))}render(){return b$1`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 49 48"><g opacity=".7"><mask id="a" width="49" height="16" x="0" y="32" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M32.1364 48H.5l15.1072-15.2727H48.5L33.4266 47.317c-.3323.3324-.818.683-1.2902.683Z"/></mask><g mask="url(#a)"><path fill="url(#b)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g></g><mask id="c" width="32" height="17" x="17" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M17.9546 16.3636V0H48.5L33.2273 16.3636H17.9546Z"/></mask><g mask="url(#c)"><path fill="url(#d)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g><g opacity=".7"><mask id="e" width="16" height="31" x="33" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M48.5 30.5455H33.2273V16.3637L48.5 0v30.5455Z"/></mask><g mask="url(#e)"><path fill="url(#f)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g></g><mask id="g" width="16" height="48" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M15.7727 0v32.7273L.5 48V16.94c0-.4722.18803-.9226.52036-1.2571L15.7727 0Z"/></mask><g mask="url(#g)"><path fill="url(#h)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g><defs><linearGradient id="b" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient><linearGradient id="d" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient><linearGradient id="f" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient><linearGradient id="h" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient></defs></svg>`}}_LogoLoader_instances=new WeakSet,_LogoLoader_getSize=function(){const t=parseInt(this.size??"48",10);return Number.isNaN(t)?"48px":`${t||"48"}px`},LogoLoader.styles=[styles()],window.customElements.define("m-logo-loader",LogoLoader);export{EmptyStateHeader as $,Accordion as A,BackButton as B,Card as C,Dialog as D,DialogActionPrimary as E,DialogActionSecondary as F,DialogActionTertiary as G,DialogActions as H,DialogBody as I,DialogClose as J,DialogFooter as K,DialogHeader as L,Divider as M,Drawer as N,DRAWER_SIZES as O,DrawerActionPrimary as P,DrawerActionSecondary as Q,DrawerActionTertiary as R,DrawerActions as S,DrawerBody as T,DrawerClose as U,DrawerHeader as V,Dropdown as W,DropdownTrigger as X,DropdownMenu as Y,DropdownItem as Z,EmptyStateAction as _,AccordionTitle as a,Tabs as a$,EmptyStateIllustration as a0,EmptyStateMessage as a1,EmptyState as a2,EMPTY_STATE_VARIANTS as a3,Field as a4,FieldHint as a5,FieldLabel as a6,FIELD_STATUSES as a7,Header as a8,HeaderActions as a9,Column as aA,Link as aB,PageContent as aC,Pagination as aD,ProgressBar as aE,ProgressBarCountdown as aF,Radio as aG,RadioGroup as aH,Section as aI,SectionTitle as aJ,SpinnerWheel as aK,Steps as aL,Step as aM,Switch as aN,Table as aO,defaultTableProps as aP,TableHead as aQ,TableHeadCell as aR,defaultTableHeadCellProps as aS,TableBody as aT,TableFoot as aU,TableRow as aV,TableCell as aW,defaultTableCellProps as aX,TableToolbar as aY,TableFeedback as aZ,TableActions as a_,HeaderContent as aa,HeaderTitle as ab,SubHeader as ac,AVAILABLE_ICONS as ad,Icon as ae,Label as af,defaultLabeledValueProps as ag,LabeledValue as ah,LabeledValueLabel as ai,LabeledValueValue as aj,ALIGN_ITEMS_VALUES as ak,JUSTIFY_CONTENT_VALUES as al,Box as am,defaultBoxProps as an,Group as ao,defaultGroupProps as ap,Stack as aq,defaultStackProps as ar,Grid as as,defaultGridProps as at,Sidebar as au,defaultSidebarProps as av,Switcher as aw,defaultSwitcherProps as ax,Container as ay,Row as az,b,Tab as b0,TabPanel as b1,Tag as b2,ActionableTag as b3,Text as b4,TextArea as b5,TextField as b6,Timeline as b7,TimelineExpandableItem as b8,TimelineItem as b9,TimelineItemBody as ba,TimelineItemFooter as bb,TimelineItemHeader as bc,TimelineItemHeaderSubtitle as bd,TimelineItemHeaderTitle as be,TimelineItemIcon as bf,ToggleGroup as bg,Toggle as bh,Tooltip as bi,TOOLTIP_PLACEMENT_VALUES as bj,LogoLoader as bk,AccordionContent as c,Badge as d,BannerActionPrimary as e,BannerActionSecondary as f,BannerActions as g,BannerDescription as h,BannerIcon as i,BannerTitle as j,Banner as k,Body as l,Button as m,CardBody as n,CardSubtitle as o,CardTitle as p,CardDivider as q,CardFooter as r,CardActionPrimary as s,typographyVariants as t,CardActionSecondary as u,CardActionTertiary as v,Checkbox as w,CloseButton as x,DIALOG_SIZES as y,DIALOG_VARIANTS as z};
|
|
4274
|
+
//# sourceMappingURL=index-E6IWJdVb.js.map
|