@covalent/components 8.2.0 → 8.2.1
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/action-ribbon.js +3 -2
- package/action-ribbon.mjs +10 -9
- package/alert.js +3 -2
- package/alert.mjs +10 -9
- package/app-shell.js +2 -1
- package/app-shell.mjs +20 -19
- package/{base-element-atp_8bvP.js → base-element-58a3f9ea.js} +1 -1
- package/{base-element--jaKdI-8.mjs → base-element-67ae173f.mjs} +2 -2
- package/button.js +3 -2
- package/button.mjs +16 -15
- package/card.js +3 -2
- package/card.mjs +5 -4
- package/check-list-item.js +15 -11
- package/check-list-item.mjs +68 -62
- package/checkbox.js +2 -1
- package/checkbox.mjs +25 -23
- package/circular-progress.js +1 -1
- package/circular-progress.mjs +7 -7
- package/{class-map-YPXv0Hj4.mjs → class-map-4b94b017.mjs} +1 -1
- package/{class-map-wtcW44Of.js → class-map-b5efe8da.js} +1 -1
- package/code-snippet-2137b11c.js +13 -0
- package/code-snippet-ccca324f.mjs +12278 -0
- package/code-snippet.js +1 -12
- package/code-snippet.mjs +7 -12251
- package/{dialog-tIMorfuj.mjs → dialog-3ca1b701.mjs} +62 -60
- package/{dialog-SpbwRuWY.js → dialog-82b03745.js} +7 -6
- package/dialog.js +1 -1
- package/dialog.mjs +10 -10
- package/{directive-helpers--rJ2jf3N.js → directive-helpers-0ce1f995.js} +1 -1
- package/{directive-helpers-9566lOOl.mjs → directive-helpers-e3ea6592.mjs} +1 -1
- package/drawer.js +3 -2
- package/drawer.mjs +12 -11
- package/empty-state.js +2 -1
- package/empty-state.mjs +6 -5
- package/{event-options-2TJPtsKy.js → event-options-3f5eb195.js} +1 -1
- package/{event-options-0xzSdemG.mjs → event-options-78d6cf94.mjs} +1 -1
- package/{form-element-5s8gft-A.js → form-element-c553d6f5.js} +1 -1
- package/{form-element-gM33WEq3.mjs → form-element-ffcf59ff.mjs} +4 -4
- package/{foundation-3Wg80pI7.mjs → foundation-39dc72d2.mjs} +1 -1
- package/{foundation-1Vzfdey_.js → foundation-786bf879.js} +1 -1
- package/icon-button.js +3 -2
- package/icon-button.mjs +15 -14
- package/icon-check-toggle.js +5 -4
- package/icon-check-toggle.mjs +24 -22
- package/icon-radio-toggle.js +5 -4
- package/icon-radio-toggle.mjs +27 -25
- package/icon.js +5 -1
- package/icon.mjs +21 -15
- package/{if-defined-BH_l2PVl.mjs → if-defined-c367f208.mjs} +1 -1
- package/{if-defined-lAIUwAsA.js → if-defined-f1c45245.js} +1 -1
- package/index.js +560 -1
- package/index.mjs +3654 -124
- package/{inert.esm-vhZXthJr.mjs → inert.esm-359d4581.mjs} +1 -1
- package/linear-progress.js +3 -2
- package/linear-progress.mjs +13 -12
- package/{mwc-list-item.css-d-SHhq7Q.mjs → list-item-1fc0d619.mjs} +9 -199
- package/{mwc-list-item.css-yJ5bjNGc.js → list-item-209613bf.js} +6 -28
- package/list-item.js +3 -3
- package/list-item.mjs +25 -25
- package/list.js +8 -3
- package/list.mjs +37 -31
- package/menu.js +5 -1
- package/menu.mjs +34 -28
- package/mwc-checkbox-base-3d8c9549.js +41 -0
- package/mwc-checkbox-base-f10fd709.mjs +198 -0
- package/{mwc-checkbox.css-c44nPIEs.mjs → mwc-checkbox.css-8f4f1a9b.mjs} +3 -198
- package/{mwc-checkbox.css-JOD-Qh-9.js → mwc-checkbox.css-b3434429.js} +2 -42
- package/{mwc-drawer-base-8e_1aSuf.mjs → mwc-drawer-base-135de8a5.mjs} +26 -24
- package/{mwc-drawer-base-Fv3JVYPS.js → mwc-drawer-base-798b11f8.js} +5 -5
- package/{mwc-icon-eaW72Ei7.mjs → mwc-icon-bf656cf5.mjs} +5 -6
- package/{mwc-icon-r2y4-AXI.js → mwc-icon-f87639bc.js} +2 -2
- package/{mwc-line-ripple-directive-iRoAkPnW.js → mwc-line-ripple-directive-a6b39a3c.js} +1 -1
- package/{mwc-line-ripple-directive-Q_HMRGPE.mjs → mwc-line-ripple-directive-b24a914e.mjs} +6 -6
- package/mwc-list-base-400b00e2.js +111 -0
- package/{mwc-list.css-_OVL_dbR.mjs → mwc-list-base-76e37212.mjs} +212 -213
- package/mwc-list-item-base-297d86b0.js +28 -0
- package/mwc-list-item-base-fe4398c3.mjs +202 -0
- package/{mwc-menu.css-cKtc1ZD4.mjs → mwc-menu-base-c4bc88ea.mjs} +75 -74
- package/mwc-menu-base-c75ca473.js +190 -0
- package/mwc-radio-base-913e02e2.js +101 -0
- package/{mwc-radio.css-_lt-Vcvl.mjs → mwc-radio-base-a374fbd9.mjs} +117 -123
- package/mwc-radio.css-4e140252.js +5 -0
- package/mwc-radio.css-7454bb11.mjs +10 -0
- package/{mwc-slider.css-md7hPAE7.mjs → mwc-slider.css-8b6f275c.mjs} +11 -11
- package/{mwc-slider.css-lCfMVbO5.js → mwc-slider.css-c7107d94.js} +1 -1
- package/{mwc-tab.css-lT5vTf5I.mjs → mwc-tab-base-be0c887f.mjs} +123 -127
- package/{mwc-tab.css-q4Jsbyp5.js → mwc-tab-base-f28722aa.js} +22 -26
- package/{mwc-top-app-bar-base-nm6mdCR3.mjs → mwc-top-app-bar-base-55da3fe4.mjs} +13 -12
- package/{mwc-top-app-bar-base-8qOIX1me.js → mwc-top-app-bar-base-aec60f27.js} +3 -3
- package/nav-list-item.js +6 -5
- package/nav-list-item.mjs +38 -37
- package/package.json +1 -1
- package/{query-duvhtfSs.js → query-680f1868.js} +1 -1
- package/{query-assigned-nodes-1p7z6CEm.js → query-assigned-nodes-99eae71d.js} +1 -1
- package/{query-assigned-nodes-6yHI5ePh.mjs → query-assigned-nodes-df691e78.mjs} +1 -1
- package/{query-1WmuF6Bq.mjs → query-d843aa92.mjs} +1 -1
- package/radio-list-item.js +13 -9
- package/radio-list-item.mjs +64 -58
- package/radio.js +2 -1
- package/radio.mjs +25 -23
- package/{ripple-handlers-HeGhXgD2.js → ripple-handlers-5d5b21db.js} +8 -8
- package/{ripple-handlers-BwaZu9Ps.mjs → ripple-handlers-f37f21cf.mjs} +17 -16
- package/select.js +15 -10
- package/select.mjs +147 -139
- package/side-sheet.js +2 -1
- package/side-sheet.mjs +12 -11
- package/slider-range.js +1 -1
- package/slider-range.mjs +14 -14
- package/slider.js +1 -1
- package/slider.mjs +16 -16
- package/snackbar.js +11 -10
- package/snackbar.mjs +36 -34
- package/{state-LqPxt99W.js → state-0974a8e5.js} +1 -1
- package/{state-inNZe6rL.mjs → state-b5e865db.mjs} +1 -1
- package/status-header-item.js +2 -1
- package/status-header-item.mjs +4 -3
- package/status-header.js +3 -2
- package/status-header.mjs +5 -4
- package/{style-map-66_3wrLx.js → style-map-88d2563f.js} +1 -1
- package/{style-map-8yp6DGeh.mjs → style-map-bc3ed3e0.mjs} +2 -2
- package/style.css +1 -1
- package/switch.js +3 -2
- package/switch.mjs +16 -15
- package/tab-bar.js +22 -18
- package/tab-bar.mjs +203 -195
- package/tab.js +6 -1
- package/tab.mjs +32 -26
- package/text-lockup.js +2 -1
- package/text-lockup.mjs +9 -8
- package/textarea.js +19 -15
- package/textarea.mjs +65 -59
- package/textfield-62e16cc2.js +133 -0
- package/textfield-63d1859a.mjs +932 -0
- package/textfield.js +7 -3
- package/textfield.mjs +36 -30
- package/toolbar.js +2 -1
- package/toolbar.mjs +10 -9
- package/tooltip.js +3 -2
- package/tooltip.mjs +10 -9
- package/{top-app-bar-qcW2ucE3.js → top-app-bar-a531c1b4.js} +3 -2
- package/{top-app-bar-h0V-USh_.mjs → top-app-bar-f83386e0.mjs} +3 -2
- package/top-app-bar-fixed.js +6 -6
- package/top-app-bar-fixed.mjs +28 -27
- package/top-app-bar.js +1 -1
- package/top-app-bar.mjs +9 -9
- package/tree-list-item.js +2 -1
- package/tree-list-item.mjs +7 -6
- package/tree-list.js +2 -1
- package/tree-list.mjs +3 -2
- package/{tslib.es6-S8SvF2K1.mjs → tslib.es6-f3e988cd.mjs} +5 -5
- package/typography.js +2 -1
- package/typography.mjs +4 -3
- package/_commonjsHelpers-ZPn_iTGj.mjs +0 -28
- package/_commonjsHelpers-fFrWAeZI.js +0 -1
- package/chip-M5Vb5Kd6.js +0 -492
- package/chip-m2mKzWQT.mjs +0 -3115
- package/chip-set.js +0 -75
- package/chip-set.mjs +0 -531
- package/chip.js +0 -1
- package/chip.mjs +0 -12
- package/expansion-panel-item.js +0 -24
- package/expansion-panel-item.mjs +0 -106
- package/expansion-panel.js +0 -7
- package/expansion-panel.mjs +0 -59
- package/formfield.js +0 -79
- package/formfield.mjs +0 -275
- package/list-item-F2e6aWaj.mjs +0 -11
- package/list-item-Ze98reWt.js +0 -5
- package/mwc-list.css-DjU8XB1m.js +0 -111
- package/mwc-menu.css-qavo4jer.js +0 -190
- package/mwc-radio.css-h_Wv0Eag.js +0 -105
- package/textfield-7aU1kEO6.mjs +0 -936
- package/textfield-jvevIGSw.js +0 -136
- /package/{aria-property-52VAcg_f.js → aria-property-849c8816.js} +0 -0
- /package/{aria-property-wYjPNXcK.mjs → aria-property-fa2717fe.mjs} +0 -0
- /package/{inert.esm-TSRtlTFV.js → inert.esm-2cee6f2e.js} +0 -0
- /package/{observer-LlGBroG9.js → observer-a096ab43.js} +0 -0
- /package/{observer-cKAgu-MI.mjs → observer-be7b92e2.mjs} +0 -0
- /package/{property-iZpLBvy-.js → property-57f6f6fe.js} +0 -0
- /package/{property-K7hFBmOi.mjs → property-9b6ea53b.mjs} +0 -0
- /package/{query-assigned-elements-yFWOzcsT.mjs → query-assigned-elements-4a39219d.mjs} +0 -0
- /package/{query-assigned-elements-j_5ZiL65.js → query-assigned-elements-f623705d.js} +0 -0
- /package/{tslib.es6-5xG0QhxF.js → tslib.es6-98719205.js} +0 -0
- /package/{utils-xAXEDL0Y.mjs → utils-2932417c.mjs} +0 -0
- /package/{utils-W3ENJhq-.js → utils-a8190a39.js} +0 -0
package/index.js
CHANGED
@@ -1 +1,560 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
1
|
+
"use strict";var nt=Object.defineProperty;var rt=(i,t,e)=>t in i?nt(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e;var v=(i,t,e)=>(rt(i,typeof t!="symbol"?t+"":t,e),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ot=require("./action-ribbon.js"),at=require("./alert.js"),ct=require("./app-shell.js"),lt=require("./button.js"),st=require("./checkbox.js"),ut=require("./card.js"),A=require("./query-assigned-elements-f623705d.js"),dt=require("./utils-a8190a39.js"),d=require("./tslib.es6-98719205.js"),R=require("./property-57f6f6fe.js"),xe=require("./query-680f1868.js"),pt=require("./class-map-b5efe8da.js"),_=require("./code-snippet-2137b11c.js"),ht=require("./circular-progress.js"),mt=require("./dialog-82b03745.js"),ft=require("./drawer.js"),vt=require("./empty-state.js"),gt=require("./icon.js"),_t=require("./icon-button.js"),bt=require("./icon-check-toggle.js"),yt=require("./icon-radio-toggle.js"),At=require("./linear-progress.js"),Et=require("./check-list-item.js"),St=require("./list.js"),Ct=require("./list-item.js"),wt=require("./nav-list-item.js"),It=require("./radio-list-item.js"),Tt=require("./menu.js"),Rt=require("./radio.js"),Ot=require("./select.js"),Pt=require("./side-sheet.js"),Nt=require("./slider.js"),Dt=require("./slider-range.js"),Lt=require("./snackbar.js"),xt=require("./status-header.js"),Ft=require("./status-header-item.js"),Mt=require("./switch.js"),Ut=require("./tab.js"),zt=require("./tab-bar.js"),Ht=require("./textarea.js"),kt=require("./textfield.js"),jt=require("./text-lockup.js"),Bt=require("./toolbar.js"),qt=require("./tooltip.js"),Gt=require("./top-app-bar.js"),Wt=require("./top-app-bar-fixed.js"),Kt=require("./tree-list.js"),$t=require("./tree-list-item.js"),Xt=require("./typography.js");require("./observer-a096ab43.js");require("./foundation-786bf879.js");require("./mwc-drawer-base-798b11f8.js");require("./inert.esm-2cee6f2e.js");require("./base-element-58a3f9ea.js");require("./mwc-icon-f87639bc.js");require("./ripple-handlers-5d5b21db.js");require("./state-0974a8e5.js");require("./style-map-88d2563f.js");require("./aria-property-849c8816.js");require("./event-options-3f5eb195.js");require("./if-defined-f1c45245.js");require("./mwc-checkbox-base-3d8c9549.js");require("./form-element-c553d6f5.js");require("./mwc-checkbox.css-b3434429.js");require("./query-assigned-nodes-99eae71d.js");require("./mwc-radio-base-913e02e2.js");require("./mwc-radio.css-4e140252.js");require("./mwc-list-item-base-297d86b0.js");require("./list-item-209613bf.js");require("./mwc-list-base-400b00e2.js");require("./mwc-menu-base-c75ca473.js");require("./mwc-line-ripple-directive-a6b39a3c.js");require("./mwc-slider.css-c7107d94.js");require("./directive-helpers-0ce1f995.js");require("./mwc-tab-base-f28722aa.js");require("./textfield-62e16cc2.js");require("./mwc-top-app-bar-base-aec60f27.js");require("./top-app-bar-a531c1b4.js");var F={};/**
|
2
|
+
* @license
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
4
|
+
*/const D={};function Yt(i){if(i!==D)throw new Error("Bad secret")}/**
|
5
|
+
* @license
|
6
|
+
* SPDX-License-Identifier: Apache-2.0
|
7
|
+
*/class Fe{constructor(){v(this,"brand")}}class Me extends Fe{constructor(e,n){super();v(this,"privateDoNotAccessOrElseWrappedAttrPrefix");this.privateDoNotAccessOrElseWrappedAttrPrefix=e}toString(){return this.privateDoNotAccessOrElseWrappedAttrPrefix}}function Ue(i){return new Me(i,D)}function ze(i){if(i instanceof Me)return i.privateDoNotAccessOrElseWrappedAttrPrefix;{let t="";throw new Error(t)}}const Vt=Object.freeze(Object.defineProperty({__proto__:null,SafeAttributePrefix:Fe,createAttributePrefix:Ue,unwrapAttributePrefix:ze},Symbol.toStringTag,{value:"Module"}));/**
|
8
|
+
* @license
|
9
|
+
* SPDX-License-Identifier: Apache-2.0
|
10
|
+
*/function Zt(i){const t=i[0].toLowerCase();return Ue(t)}const Jt=Object.freeze(Object.defineProperty({__proto__:null,safeAttrPrefix:Zt},Symbol.toStringTag,{value:"Module"})),Qt=_.getAugmentedNamespace(Jt);/**
|
11
|
+
* @license
|
12
|
+
* SPDX-License-Identifier: Apache-2.0
|
13
|
+
*/let He="google#safe";function ei(){if(typeof window<"u")return window.trustedTypes}function K(){return He!==""?ei()??null:null}let Q;function le(){var i;if(Q===void 0)try{Q=((i=K())==null?void 0:i.createPolicy(He,{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t}))??null}catch{Q=null}return Q}/**
|
14
|
+
* @license
|
15
|
+
* SPDX-License-Identifier: Apache-2.0
|
16
|
+
*/class se{constructor(t,e){v(this,"privateDoNotAccessOrElseWrappedHtml");this.privateDoNotAccessOrElseWrappedHtml=t}toString(){return this.privateDoNotAccessOrElseWrappedHtml.toString()}}function ke(i,t){return t??new se(i,D)}const ti=typeof window!==void 0?window.TrustedHTML:void 0,je=ti??se;function k(i){var e;const t=i;return ke(t,(e=le())==null?void 0:e.createHTML(t))}const ii=(()=>{var i;return ke("",(i=K())==null?void 0:i.emptyHTML)})();function ni(i){return i instanceof je}function ue(i){var t;if((t=K())!=null&&t.isHTML(i))return i;if(i instanceof se)return i.privateDoNotAccessOrElseWrappedHtml;{let e="";throw new Error(e)}}const ri=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_HTML:ii,SafeHtml:je,createHtml:k,isHtml:ni,unwrapHtml:ue},Symbol.toStringTag,{value:"Module"}));/**
|
17
|
+
* @license
|
18
|
+
* SPDX-License-Identifier: Apache-2.0
|
19
|
+
*/class de{constructor(t,e){v(this,"privateDoNotAccessOrElseWrappedResourceUrl");this.privateDoNotAccessOrElseWrappedResourceUrl=t}toString(){return this.privateDoNotAccessOrElseWrappedResourceUrl.toString()}}const oi=typeof window!==void 0?window.TrustedScriptURL:void 0,Be=oi??de;function G(i){var n;const t=i;return((n=le())==null?void 0:n.createScriptURL(t))??new de(t,D)}function ai(i){return i instanceof Be}function re(i){var t;if((t=K())!=null&&t.isScriptURL(i))return i;if(i instanceof de)return i.privateDoNotAccessOrElseWrappedResourceUrl;{let e="";throw new Error(e)}}const ci=Object.freeze(Object.defineProperty({__proto__:null,TrustedResourceUrl:Be,createResourceUrl:G,isResourceUrl:ai,unwrapResourceUrl:re},Symbol.toStringTag,{value:"Module"}));/**
|
20
|
+
* @license
|
21
|
+
* SPDX-License-Identifier: Apache-2.0
|
22
|
+
*/class pe{constructor(t,e){v(this,"privateDoNotAccessOrElseWrappedScript");this.privateDoNotAccessOrElseWrappedScript=t}toString(){return this.privateDoNotAccessOrElseWrappedScript.toString()}}function qe(i,t){return t??new pe(i,D)}const li=typeof window!==void 0?window.TrustedScript:void 0,Ge=li??pe;function Y(i){var e;const t=i;return qe(t,(e=le())==null?void 0:e.createScript(t))}const si=(()=>{var i;return qe("",(i=K())==null?void 0:i.emptyScript)})();function ui(i){return i instanceof Ge}function oe(i){var t;if((t=K())!=null&&t.isScript(i))return i;if(i instanceof pe)return i.privateDoNotAccessOrElseWrappedScript;{let e="";throw new Error(e)}}const di=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_SCRIPT:si,SafeScript:Ge,createScript:Y,isScript:ui,unwrapScript:oe},Symbol.toStringTag,{value:"Module"}));/**
|
23
|
+
* @license
|
24
|
+
* SPDX-License-Identifier: Apache-2.0
|
25
|
+
*/function pi(i,t={}){let e=q(i);return t.preserveSpaces&&(e=e.replace(/(^|[\r\n\t ]) /g,"$1 ")),t.preserveNewlines&&(e=e.replace(/(\r\n|\n|\r)/g,"<br>")),t.preserveTabs&&(e=e.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>')),k(e)}function hi(i,t={}){const e=oe(i).toString();let n="<script";return t.id&&(n+=` id="${q(t.id)}"`),t.nonce&&(n+=` nonce="${q(t.nonce)}"`),t.type&&(n+=` type="${q(t.type)}"`),n+=`>${e}<\/script>`,k(n)}function mi(i,t,e){const n=re(i).toString();let r=`<script src="${q(n)}"`;return t&&(r+=" async"),e&&(r+=` nonce="${q(e)}"`),r+="><\/script>",k(r)}function q(i){return i.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function fi(i){return k(i.map(ue).join(""))}const vi=Object.freeze(Object.defineProperty({__proto__:null,concatHtmls:fi,createScript:hi,createScriptSrc:mi,htmlEscape:pi},Symbol.toStringTag,{value:"Module"})),gi=_.getAugmentedNamespace(vi);/**
|
26
|
+
* @license
|
27
|
+
* SPDX-License-Identifier: Apache-2.0
|
28
|
+
*/function _i(i){let t;try{t=new URL(i)}catch{return"https:"}return t.protocol}const bi=["data:","http:","https:","mailto:","ftp:"];function yi(i){const t=_i(i);return t!==void 0&&bi.indexOf(t.toLowerCase())!==-1?i:"about:invalid#zClosurez"}/**
|
29
|
+
* @license
|
30
|
+
* SPDX-License-Identifier: Apache-2.0
|
31
|
+
*/class We{constructor(){v(this,"brand")}}class he extends We{constructor(e,n){super();v(this,"privateDoNotAccessOrElseWrappedStyle");this.privateDoNotAccessOrElseWrappedStyle=e}toString(){return this.privateDoNotAccessOrElseWrappedStyle}}function me(i){return new he(i,D)}function Ai(i){return i instanceof he}function Ke(i){if(i instanceof he)return i.privateDoNotAccessOrElseWrappedStyle;{let t="";throw new Error(t)}}const Ei=Object.freeze(Object.defineProperty({__proto__:null,SafeStyle:We,createStyle:me,isStyle:Ai,unwrapStyle:Ke},Symbol.toStringTag,{value:"Module"}));/**
|
32
|
+
* @license
|
33
|
+
* SPDX-License-Identifier: Apache-2.0
|
34
|
+
*/function Si(i,t){wi(i)&&Ci(i),i.innerHTML=ue(t)}function $e(i,t,e,n){if(i.length===0)throw new Error("No prefixes are provided");const r=i.map(a=>ze(a)),o=e.toLowerCase();if(r.every(a=>o.indexOf(a)!==0))throw new Error(`Attribute "${e}" does not match any of the allowed prefixes.`);t.setAttribute(e,n)}function Ci(i){if(i.tagName.toLowerCase()==="script")throw new Error("Use setTextContent with a SafeScript.");if(i.tagName.toLowerCase()==="style")throw new Error("Use setTextContent with a SafeStyleSheet.")}function wi(i){return i.tagName!==void 0}/**
|
35
|
+
* @license
|
36
|
+
* SPDX-License-Identifier: Apache-2.0
|
37
|
+
*/function Ii(i){const t=document.createElement("template"),e=k(i);return Si(t,e),t.content}/**
|
38
|
+
* @license
|
39
|
+
* SPDX-License-Identifier: Apache-2.0
|
40
|
+
*/function be(i){const t=i.nodeName;return typeof t=="string"?t:"FORM"}function ye(i){return i.nodeType===Node.TEXT_NODE}function Ae(i){const t=i.nodeType;return t===Node.ELEMENT_NODE||typeof t!="number"}/**
|
41
|
+
* @license
|
42
|
+
* SPDX-License-Identifier: Apache-2.0
|
43
|
+
*/class U{constructor(t,e,n,r){v(this,"allowedElements");v(this,"elementPolicies");v(this,"allowedGlobalAttributes");v(this,"globalAttributePolicies");this.allowedElements=t,this.elementPolicies=e,this.allowedGlobalAttributes=n,this.globalAttributePolicies=r}isAllowedElement(t){return t.toLowerCase()!=="form"&&(this.allowedElements.has(t)||this.elementPolicies.has(t))}getAttributePolicy(t,e){const n=this.elementPolicies.get(e);return n!=null&&n.has(t)?n.get(t):this.allowedGlobalAttributes.has(t)?{policyAction:h.KEEP}:this.globalAttributePolicies.get(t)||{policyAction:h.DROP}}}var h;(function(i){i[i.DROP=0]="DROP",i[i.KEEP=1]="KEEP",i[i.KEEP_AND_SANITIZE_URL=2]="KEEP_AND_SANITIZE_URL",i[i.KEEP_AND_NORMALIZE=3]="KEEP_AND_NORMALIZE",i[i.KEEP_AND_SANITIZE_STYLE=4]="KEEP_AND_SANITIZE_STYLE"})(h||(h={}));/**
|
44
|
+
* @license
|
45
|
+
* SPDX-License-Identifier: Apache-2.0
|
46
|
+
*/const Xe=new U(new Set(["ARTICLE","SECTION","NAV","ASIDE","H1","H2","H3","H4","H5","H6","HEADER","FOOTER","ADDRESS","P","HR","PRE","BLOCKQUOTE","OL","UL","LH","LI","DL","DT","DD","FIGURE","FIGCAPTION","MAIN","DIV","EM","STRONG","SMALL","S","CITE","Q","DFN","ABBR","RUBY","RB","RT","RTC","RP","DATA","TIME","CODE","VAR","SAMP","KBD","SUB","SUP","I","B","U","MARK","BDI","BDO","SPAN","BR","WBR","INS","DEL","PICTURE","PARAM","TRACK","MAP","TABLE","CAPTION","COLGROUP","COL","TBODY","THEAD","TFOOT","TR","TD","TH","SELECT","DATALIST","OPTGROUP","OPTION","OUTPUT","PROGRESS","METER","FIELDSET","LEGEND","DETAILS","SUMMARY","MENU","DIALOG","SLOT","CANVAS","FONT","CENTER"]),new Map([["A",new Map([["href",{policyAction:h.KEEP_AND_SANITIZE_URL}]])],["AREA",new Map([["href",{policyAction:h.KEEP_AND_SANITIZE_URL}]])],["LINK",new Map([["href",{policyAction:h.KEEP_AND_SANITIZE_URL,conditions:new Map([["rel",new Set(["alternate","author","bookmark","canonical","cite","help","icon","license","next","prefetch","dns-prefetch","prerender","preconnect","preload","prev","search","subresource"])]])}]])],["SOURCE",new Map([["src",{policyAction:h.KEEP_AND_SANITIZE_URL}]])],["IMG",new Map([["src",{policyAction:h.KEEP_AND_SANITIZE_URL}]])],["VIDEO",new Map([["src",{policyAction:h.KEEP_AND_SANITIZE_URL}]])],["AUDIO",new Map([["src",{policyAction:h.KEEP_AND_SANITIZE_URL}]])]]),new Set(["title","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-current","aria-disabled","aria-dropeffect","aria-expanded","aria-haspopup","aria-hidden","aria-invalid","aria-label","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","alt","align","autocapitalize","autocomplete","autocorrect","autofocus","autoplay","bgcolor","border","cellpadding","cellspacing","checked","color","cols","colspan","controls","datetime","disabled","download","draggable","enctype","face","formenctype","frameborder","height","hreflang","hidden","ismap","label","lang","loop","max","maxlength","media","minlength","min","multiple","muted","nonce","open","placeholder","preload","rel","required","reversed","role","rows","rowspan","selected","shape","size","sizes","slot","span","spellcheck","start","step","summary","translate","type","valign","value","width","wrap","itemscope","itemtype","itemid","itemprop","itemref"]),new Map([["dir",{policyAction:h.KEEP_AND_NORMALIZE,conditions:new Map([["dir",new Set(["auto","ltr","rtl"])]])}],["async",{policyAction:h.KEEP_AND_NORMALIZE,conditions:new Map([["async",new Set(["async"])]])}],["cite",{policyAction:h.KEEP_AND_SANITIZE_URL}],["loading",{policyAction:h.KEEP_AND_NORMALIZE,conditions:new Map([["loading",new Set(["eager","lazy"])]])}],["poster",{policyAction:h.KEEP_AND_SANITIZE_URL}],["target",{policyAction:h.KEEP_AND_NORMALIZE,conditions:new Map([["target",new Set(["_self","_blank"])]])}]]));/**
|
47
|
+
* @license
|
48
|
+
* SPDX-License-Identifier: Apache-2.0
|
49
|
+
*/class fe{constructor(t,e){v(this,"sanitizerTable");v(this,"changes",[]);this.sanitizerTable=t,Yt(e)}sanitizeAssertUnchanged(t){this.changes=[];const e=this.sanitize(t);if(this.changes.length!==0){let n="";throw new Error(n)}return e}sanitize(t){const e=document.createElement("span");e.appendChild(this.sanitizeToFragment(t));let n=new XMLSerializer().serializeToString(e);return n=n.slice(n.indexOf(">")+1,n.lastIndexOf("</")),k(n)}sanitizeToFragment(t){const e=Ii(t),n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,c=>this.nodeFilter(c),!1);let r=n.nextNode();const o=document.createDocumentFragment();let a=o;for(;r!==null;){let c;if(ye(r))c=this.sanitizeTextNode(r);else if(Ae(r))c=this.sanitizeElementNode(r);else throw new Error("Node is not of type text or element");if(a.appendChild(c),r=n.firstChild(),r)a=c;else for(;!(r=n.nextSibling())&&(r=n.parentNode());)a=a.parentNode}return o}sanitizeTextNode(t){return document.createTextNode(t.data)}sanitizeElementNode(t){const e=be(t),n=document.createElement(e),r=t.attributes;for(const{name:o,value:a}of r){const c=this.sanitizerTable.getAttributePolicy(o,e);if(!this.satisfiesAllConditions(c.conditions,r)){this.recordChange(`Not all conditions satisfied for attribute: ${o}.`);continue}switch(c.policyAction){case h.KEEP:n.setAttribute(o,a);break;case h.KEEP_AND_SANITIZE_URL:const l=yi(a);l!==a&&this.recordChange(`Url in attribute ${o} was modified during sanitization. Original url:"${a}" was sanitized to: "${l}"`),n.setAttribute(o,l);break;case h.KEEP_AND_NORMALIZE:n.setAttribute(o,a.toLowerCase());break;case h.KEEP_AND_SANITIZE_STYLE:n.setAttribute(o,a);break;case h.DROP:this.recordChange(`Attribute: ${o} was dropped`);break;default:Pi(c.policyAction,"Unhandled AttributePolicyAction case")}}return n}nodeFilter(t){if(ye(t))return NodeFilter.FILTER_ACCEPT;if(!Ae(t))return NodeFilter.FILTER_REJECT;const e=be(t);return e===null?(this.recordChange(`Node name was null for node: ${t}`),NodeFilter.FILTER_REJECT):this.sanitizerTable.isAllowedElement(e)?NodeFilter.FILTER_ACCEPT:(this.recordChange(`Element: ${e} was dropped`),NodeFilter.FILTER_REJECT)}recordChange(t){this.changes.length===0&&this.changes.push("")}satisfiesAllConditions(t,e){var n;if(!t)return!0;for(const[r,o]of t){const a=(n=e.getNamedItem(r))==null?void 0:n.value;if(a&&!o.has(a))return!1}return!0}}const ve=(()=>new fe(Xe,D))();function Ti(i){return ve.sanitize(i)}function Ri(i){return ve.sanitizeAssertUnchanged(i)}function Oi(i){return ve.sanitizeToFragment(i)}function Pi(i,t=`unexpected value ${i}!`){throw new Error(t)}const Ni=Object.freeze(Object.defineProperty({__proto__:null,HtmlSanitizerImpl:fe,sanitizeHtml:Ti,sanitizeHtmlAssertUnchanged:Ri,sanitizeHtmlToFragment:Oi},Symbol.toStringTag,{value:"Module"})),Di=_.getAugmentedNamespace(Ni);/**
|
50
|
+
* @license
|
51
|
+
* SPDX-License-Identifier: Apache-2.0
|
52
|
+
*/class Li{constructor(){v(this,"sanitizerTable");v(this,"calledBuild",!1);this.sanitizerTable=Xe}onlyAllowElements(t){const e=new Set,n=new Map;for(let r of t){if(r=r.toUpperCase(),!this.sanitizerTable.isAllowedElement(r))throw new Error(`Element: ${r}, is not allowed by html5_contract.textpb`);const o=this.sanitizerTable.elementPolicies.get(r);o!==void 0?n.set(r,o):e.add(r)}return this.sanitizerTable=new U(e,n,this.sanitizerTable.allowedGlobalAttributes,this.sanitizerTable.globalAttributePolicies),this}onlyAllowAttributes(t){const e=new Set,n=new Map,r=new Map;for(const o of t)this.sanitizerTable.allowedGlobalAttributes.has(o)&&e.add(o),this.sanitizerTable.globalAttributePolicies.has(o)&&n.set(o,this.sanitizerTable.globalAttributePolicies.get(o));for(const[o,a]of this.sanitizerTable.elementPolicies.entries()){const c=new Map;for(const[l,u]of a.entries())t.has(l)&&c.set(l,u);r.set(o,c)}return this.sanitizerTable=new U(this.sanitizerTable.allowedElements,r,e,n),this}allowDataAttributes(t){const e=new Set(this.sanitizerTable.allowedGlobalAttributes);for(const n of t){if(n.indexOf("data-")!==0)throw new Error(`data attribute: ${n} does not begin with the prefix "data-"`);e.add(n)}return this.sanitizerTable=new U(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,e,this.sanitizerTable.globalAttributePolicies),this}allowStyleAttributes(){const t=new Map(this.sanitizerTable.globalAttributePolicies);return t.set("style",{policyAction:h.KEEP_AND_SANITIZE_STYLE}),this.sanitizerTable=new U(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,t),this}allowClassAttributes(){const t=new Map(this.sanitizerTable.globalAttributePolicies);return t.set("class",{policyAction:h.KEEP}),this.sanitizerTable=new U(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,t),this}allowIdAttributes(){const t=new Map(this.sanitizerTable.globalAttributePolicies);return t.set("id",{policyAction:h.KEEP}),this.sanitizerTable=new U(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,t),this}build(){if(this.calledBuild)throw new Error("this sanitizer has already called build");return this.calledBuild=!0,new fe(this.sanitizerTable,D)}}const xi=Object.freeze(Object.defineProperty({__proto__:null,HtmlSanitizerBuilder:Li},Symbol.toStringTag,{value:"Module"})),Fi=_.getAugmentedNamespace(xi);/**
|
53
|
+
* @license
|
54
|
+
* SPDX-License-Identifier: Apache-2.0
|
55
|
+
*/function Mi(i,...t){if(t.length===0)return G(i[0]);i[0].toLowerCase();const e=[i[0]];for(let n=0;n<t.length;n++)e.push(encodeURIComponent(t[n])),e.push(i[n+1]);return G(e.join(""))}function Ui(i,t){let e=re(i).toString();if(/#/.test(e)){let r="";throw new Error(r)}let n=/\?/.test(e)?"&":"?";return t.forEach((r,o)=>{const a=r instanceof Array?r:[r];for(let c=0;c<a.length;c++){const l=a[c];l!=null&&(e+=n+encodeURIComponent(o)+"="+encodeURIComponent(String(l)),n="&")}}),G(e)}const zi=/[^#]*/;function Hi(i,t){const e=re(i).toString();return G(zi.exec(e)[0]+"#"+t)}function ki(i){const t=oe(i).toString(),e=new Blob([t],{type:"text/javascript"});return G(URL.createObjectURL(e))}const ji=Object.freeze(Object.defineProperty({__proto__:null,appendParams:Ui,blobUrlFromScript:ki,replaceFragment:Hi,trustedResourceUrl:Mi},Symbol.toStringTag,{value:"Module"})),Bi=_.getAugmentedNamespace(ji);/**
|
56
|
+
* @license
|
57
|
+
* SPDX-License-Identifier: Apache-2.0
|
58
|
+
*/function qi(i){return Y(i[0])}function Gi(i){return Y(i.map(oe).join(""))}function Ye(i){return Y(JSON.stringify(i).replace(/</g,"\\x3c"))}function Wi(i,...t){return(...e)=>{const n=e.map(r=>Ye(r).toString());return Y(`(${i.join("")})(${n.join(",")})`)}}const Ki=Object.freeze(Object.defineProperty({__proto__:null,concatScripts:Gi,safeScript:qi,safeScriptWithArgs:Wi,scriptFromJson:Ye},Symbol.toStringTag,{value:"Module"})),$i=_.getAugmentedNamespace(Ki);/**
|
59
|
+
* @license
|
60
|
+
* SPDX-License-Identifier: Apache-2.0
|
61
|
+
*/function Xi(i){const t=i[0];return me(t)}function Yi(i){return me(i.map(Ke).join(""))}const Vi=Object.freeze(Object.defineProperty({__proto__:null,concatStyles:Yi,safeStyle:Xi},Symbol.toStringTag,{value:"Module"})),Zi=_.getAugmentedNamespace(Vi);/**
|
62
|
+
* @license
|
63
|
+
* SPDX-License-Identifier: Apache-2.0
|
64
|
+
*/class Ve{constructor(){v(this,"brand")}}class ge extends Ve{constructor(e,n){super();v(this,"privateDoNotAccessOrElseWrappedStyleSheet");this.privateDoNotAccessOrElseWrappedStyleSheet=e}toString(){return this.privateDoNotAccessOrElseWrappedStyleSheet}}function _e(i){return new ge(i,D)}function Ji(i){return i instanceof ge}function Ze(i){if(i instanceof ge)return i.privateDoNotAccessOrElseWrappedStyleSheet;{let t="";throw new Error(t)}}const Qi=Object.freeze(Object.defineProperty({__proto__:null,SafeStyleSheet:Ve,createStyleSheet:_e,isStyleSheet:Ji,unwrapStyleSheet:Ze},Symbol.toStringTag,{value:"Module"}));/**
|
65
|
+
* @license
|
66
|
+
* SPDX-License-Identifier: Apache-2.0
|
67
|
+
*/function en(i){const t=i[0];return _e(t)}function tn(i){return _e(i.map(Ze).join(""))}const nn=Object.freeze(Object.defineProperty({__proto__:null,concatStyleSheets:tn,safeStyleSheet:en},Symbol.toStringTag,{value:"Module"})),rn=_.getAugmentedNamespace(nn),on=_.getAugmentedNamespace(Vt),an=_.getAugmentedNamespace(ri),cn=_.getAugmentedNamespace(ci),ln=_.getAugmentedNamespace(di),sn=_.getAugmentedNamespace(Ei),un=_.getAugmentedNamespace(Qi);(function(i){/**
|
68
|
+
* @license
|
69
|
+
* SPDX-License-Identifier: Apache-2.0
|
70
|
+
*/Object.defineProperty(i,"__esModule",{value:!0}),i.unwrapStyleSheet=i.SafeStyleSheet=i.isStyleSheet=i.unwrapStyle=i.SafeStyle=i.isStyle=i.unwrapScript=i.SafeScript=i.isScript=i.EMPTY_SCRIPT=i.unwrapResourceUrl=i.TrustedResourceUrl=i.isResourceUrl=i.unwrapHtml=i.SafeHtml=i.isHtml=i.EMPTY_HTML=i.unwrapAttributePrefix=i.SafeAttributePrefix=i.safeStyleSheet=i.concatStyleSheets=i.safeStyle=i.concatStyles=i.scriptFromJson=i.safeScriptWithArgs=i.safeScript=i.concatScripts=i.trustedResourceUrl=i.replaceFragment=i.blobUrlFromScript=i.appendParams=i.HtmlSanitizerBuilder=i.sanitizeHtmlToFragment=i.sanitizeHtmlAssertUnchanged=i.sanitizeHtml=i.htmlEscape=i.createScriptSrc=i.createScript=i.concatHtmls=i.safeAttrPrefix=void 0;var t=Qt;Object.defineProperty(i,"safeAttrPrefix",{enumerable:!0,get:function(){return t.safeAttrPrefix}});var e=gi;Object.defineProperty(i,"concatHtmls",{enumerable:!0,get:function(){return e.concatHtmls}}),Object.defineProperty(i,"createScript",{enumerable:!0,get:function(){return e.createScript}}),Object.defineProperty(i,"createScriptSrc",{enumerable:!0,get:function(){return e.createScriptSrc}}),Object.defineProperty(i,"htmlEscape",{enumerable:!0,get:function(){return e.htmlEscape}});var n=Di;Object.defineProperty(i,"sanitizeHtml",{enumerable:!0,get:function(){return n.sanitizeHtml}}),Object.defineProperty(i,"sanitizeHtmlAssertUnchanged",{enumerable:!0,get:function(){return n.sanitizeHtmlAssertUnchanged}}),Object.defineProperty(i,"sanitizeHtmlToFragment",{enumerable:!0,get:function(){return n.sanitizeHtmlToFragment}});var r=Fi;Object.defineProperty(i,"HtmlSanitizerBuilder",{enumerable:!0,get:function(){return r.HtmlSanitizerBuilder}});var o=Bi;Object.defineProperty(i,"appendParams",{enumerable:!0,get:function(){return o.appendParams}}),Object.defineProperty(i,"blobUrlFromScript",{enumerable:!0,get:function(){return o.blobUrlFromScript}}),Object.defineProperty(i,"replaceFragment",{enumerable:!0,get:function(){return o.replaceFragment}}),Object.defineProperty(i,"trustedResourceUrl",{enumerable:!0,get:function(){return o.trustedResourceUrl}});var a=$i;Object.defineProperty(i,"concatScripts",{enumerable:!0,get:function(){return a.concatScripts}}),Object.defineProperty(i,"safeScript",{enumerable:!0,get:function(){return a.safeScript}}),Object.defineProperty(i,"safeScriptWithArgs",{enumerable:!0,get:function(){return a.safeScriptWithArgs}}),Object.defineProperty(i,"scriptFromJson",{enumerable:!0,get:function(){return a.scriptFromJson}});var c=Zi;Object.defineProperty(i,"concatStyles",{enumerable:!0,get:function(){return c.concatStyles}}),Object.defineProperty(i,"safeStyle",{enumerable:!0,get:function(){return c.safeStyle}});var l=rn;Object.defineProperty(i,"concatStyleSheets",{enumerable:!0,get:function(){return l.concatStyleSheets}}),Object.defineProperty(i,"safeStyleSheet",{enumerable:!0,get:function(){return l.safeStyleSheet}});var u=on;Object.defineProperty(i,"SafeAttributePrefix",{enumerable:!0,get:function(){return u.SafeAttributePrefix}}),Object.defineProperty(i,"unwrapAttributePrefix",{enumerable:!0,get:function(){return u.unwrapAttributePrefix}});var p=an;Object.defineProperty(i,"EMPTY_HTML",{enumerable:!0,get:function(){return p.EMPTY_HTML}}),Object.defineProperty(i,"isHtml",{enumerable:!0,get:function(){return p.isHtml}}),Object.defineProperty(i,"SafeHtml",{enumerable:!0,get:function(){return p.SafeHtml}}),Object.defineProperty(i,"unwrapHtml",{enumerable:!0,get:function(){return p.unwrapHtml}});var m=cn;Object.defineProperty(i,"isResourceUrl",{enumerable:!0,get:function(){return m.isResourceUrl}}),Object.defineProperty(i,"TrustedResourceUrl",{enumerable:!0,get:function(){return m.TrustedResourceUrl}}),Object.defineProperty(i,"unwrapResourceUrl",{enumerable:!0,get:function(){return m.unwrapResourceUrl}});var S=ln;Object.defineProperty(i,"EMPTY_SCRIPT",{enumerable:!0,get:function(){return S.EMPTY_SCRIPT}}),Object.defineProperty(i,"isScript",{enumerable:!0,get:function(){return S.isScript}}),Object.defineProperty(i,"SafeScript",{enumerable:!0,get:function(){return S.SafeScript}}),Object.defineProperty(i,"unwrapScript",{enumerable:!0,get:function(){return S.unwrapScript}});var O=sn;Object.defineProperty(i,"isStyle",{enumerable:!0,get:function(){return O.isStyle}}),Object.defineProperty(i,"SafeStyle",{enumerable:!0,get:function(){return O.SafeStyle}}),Object.defineProperty(i,"unwrapStyle",{enumerable:!0,get:function(){return O.unwrapStyle}});var j=un;Object.defineProperty(i,"isStyleSheet",{enumerable:!0,get:function(){return j.isStyleSheet}}),Object.defineProperty(i,"SafeStyleSheet",{enumerable:!0,get:function(){return j.SafeStyleSheet}}),Object.defineProperty(i,"unwrapStyleSheet",{enumerable:!0,get:function(){return j.unwrapStyleSheet}})})(F);/**
|
71
|
+
* @license
|
72
|
+
* Copyright 2020 Google Inc.
|
73
|
+
*
|
74
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
75
|
+
* of this software and associated documentation files (the "Software"), to deal
|
76
|
+
* in the Software without restriction, including without limitation the rights
|
77
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
78
|
+
* copies of the Software, and to permit persons to whom the Software is
|
79
|
+
* furnished to do so, subject to the following conditions:
|
80
|
+
*
|
81
|
+
* The above copyright notice and this permission notice shall be included in
|
82
|
+
* all copies or substantial portions of the Software.
|
83
|
+
*
|
84
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
85
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
86
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
87
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
88
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
89
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
90
|
+
* THE SOFTWARE.
|
91
|
+
*/var dn=function(){function i(){this.rafIDs=new Map}return i.prototype.request=function(t,e){var n=this;this.cancel(t);var r=requestAnimationFrame(function(o){n.rafIDs.delete(t),e(o)});this.rafIDs.set(t,r)},i.prototype.cancel=function(t){var e=this.rafIDs.get(t);e&&(cancelAnimationFrame(e),this.rafIDs.delete(t))},i.prototype.cancelAll=function(){var t=this;this.rafIDs.forEach(function(e,n){t.cancel(n)})},i.prototype.getQueue=function(){var t=[];return this.rafIDs.forEach(function(e,n){t.push(n)}),t},i}();/**
|
92
|
+
* @license
|
93
|
+
* Copyright 2016 Google Inc.
|
94
|
+
*
|
95
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
96
|
+
* of this software and associated documentation files (the "Software"), to deal
|
97
|
+
* in the Software without restriction, including without limitation the rights
|
98
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
99
|
+
* copies of the Software, and to permit persons to whom the Software is
|
100
|
+
* furnished to do so, subject to the following conditions:
|
101
|
+
*
|
102
|
+
* The above copyright notice and this permission notice shall be included in
|
103
|
+
* all copies or substantial portions of the Software.
|
104
|
+
*
|
105
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
106
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
107
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
108
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
109
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
110
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
111
|
+
* THE SOFTWARE.
|
112
|
+
*/var V=function(){function i(t){t===void 0&&(t={}),this.adapter=t}return Object.defineProperty(i,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(i,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(i,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(i,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),i.prototype.init=function(){},i.prototype.destroy=function(){},i}();/**
|
113
|
+
* @license
|
114
|
+
* Copyright 2020 Google Inc.
|
115
|
+
*
|
116
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
117
|
+
* of this software and associated documentation files (the "Software"), to deal
|
118
|
+
* in the Software without restriction, including without limitation the rights
|
119
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
120
|
+
* copies of the Software, and to permit persons to whom the Software is
|
121
|
+
* furnished to do so, subject to the following conditions:
|
122
|
+
*
|
123
|
+
* The above copyright notice and this permission notice shall be included in
|
124
|
+
* all copies or substantial portions of the Software.
|
125
|
+
*
|
126
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
127
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
128
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
129
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
130
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
131
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
132
|
+
* THE SOFTWARE.
|
133
|
+
*/var s={UNKNOWN:"Unknown",BACKSPACE:"Backspace",ENTER:"Enter",SPACEBAR:"Spacebar",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",END:"End",HOME:"Home",ARROW_LEFT:"ArrowLeft",ARROW_UP:"ArrowUp",ARROW_RIGHT:"ArrowRight",ARROW_DOWN:"ArrowDown",DELETE:"Delete",ESCAPE:"Escape",TAB:"Tab"},b=new Set;b.add(s.BACKSPACE);b.add(s.ENTER);b.add(s.SPACEBAR);b.add(s.PAGE_UP);b.add(s.PAGE_DOWN);b.add(s.END);b.add(s.HOME);b.add(s.ARROW_LEFT);b.add(s.ARROW_UP);b.add(s.ARROW_RIGHT);b.add(s.ARROW_DOWN);b.add(s.DELETE);b.add(s.ESCAPE);b.add(s.TAB);var E={BACKSPACE:8,ENTER:13,SPACEBAR:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,DELETE:46,ESCAPE:27,TAB:9},y=new Map;y.set(E.BACKSPACE,s.BACKSPACE);y.set(E.ENTER,s.ENTER);y.set(E.SPACEBAR,s.SPACEBAR);y.set(E.PAGE_UP,s.PAGE_UP);y.set(E.PAGE_DOWN,s.PAGE_DOWN);y.set(E.END,s.END);y.set(E.HOME,s.HOME);y.set(E.ARROW_LEFT,s.ARROW_LEFT);y.set(E.ARROW_UP,s.ARROW_UP);y.set(E.ARROW_RIGHT,s.ARROW_RIGHT);y.set(E.ARROW_DOWN,s.ARROW_DOWN);y.set(E.DELETE,s.DELETE);y.set(E.ESCAPE,s.ESCAPE);y.set(E.TAB,s.TAB);var L=new Set;L.add(s.PAGE_UP);L.add(s.PAGE_DOWN);L.add(s.END);L.add(s.HOME);L.add(s.ARROW_LEFT);L.add(s.ARROW_UP);L.add(s.ARROW_RIGHT);L.add(s.ARROW_DOWN);function Je(i){var t=i.key;if(b.has(t))return t;var e=y.get(i.keyCode);return e||s.UNKNOWN}function pn(i){return L.has(Je(i))}/**
|
134
|
+
* @license
|
135
|
+
* Copyright 2020 Google Inc.
|
136
|
+
*
|
137
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
138
|
+
* of this software and associated documentation files (the "Software"), to deal
|
139
|
+
* in the Software without restriction, including without limitation the rights
|
140
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
141
|
+
* copies of the Software, and to permit persons to whom the Software is
|
142
|
+
* furnished to do so, subject to the following conditions:
|
143
|
+
*
|
144
|
+
* The above copyright notice and this permission notice shall be included in
|
145
|
+
* all copies or substantial portions of the Software.
|
146
|
+
*
|
147
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
148
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
149
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
150
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
151
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
152
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
153
|
+
* THE SOFTWARE.
|
154
|
+
*/var X;(function(i){i.PRIMARY_ACTION="mdc-evolution-chip__action--primary",i.TRAILING_ACTION="mdc-evolution-chip__action--trailing",i.CHIP_ROOT="mdc-evolution-chip"})(X||(X={}));var N;(function(i){i[i.UNSPECIFIED=0]="UNSPECIFIED",i[i.CLICK=1]="CLICK",i[i.BACKSPACE_KEY=2]="BACKSPACE_KEY",i[i.DELETE_KEY=3]="DELETE_KEY",i[i.SPACEBAR_KEY=4]="SPACEBAR_KEY",i[i.ENTER_KEY=5]="ENTER_KEY"})(N||(N={}));var C;(function(i){i[i.UNSPECIFIED=0]="UNSPECIFIED",i[i.PRIMARY=1]="PRIMARY",i[i.TRAILING=2]="TRAILING"})(C||(C={}));var W;(function(i){i.INTERACTION="MDCChipAction:interaction",i.NAVIGATION="MDCChipAction:navigation"})(W||(W={}));var T;(function(i){i[i.FOCUSABLE=0]="FOCUSABLE",i[i.FOCUSABLE_AND_FOCUSED=1]="FOCUSABLE_AND_FOCUSED",i[i.NOT_FOCUSABLE=2]="NOT_FOCUSABLE"})(T||(T={}));var g;(function(i){i.ARIA_DISABLED="aria-disabled",i.ARIA_HIDDEN="aria-hidden",i.ARIA_SELECTED="aria-selected",i.DATA_DELETABLE="data-mdc-deletable",i.DISABLED="disabled",i.ROLE="role",i.TAB_INDEX="tabindex"})(g||(g={}));/**
|
155
|
+
* @license
|
156
|
+
* Copyright 2016 Google Inc.
|
157
|
+
*
|
158
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
159
|
+
* of this software and associated documentation files (the "Software"), to deal
|
160
|
+
* in the Software without restriction, including without limitation the rights
|
161
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
162
|
+
* copies of the Software, and to permit persons to whom the Software is
|
163
|
+
* furnished to do so, subject to the following conditions:
|
164
|
+
*
|
165
|
+
* The above copyright notice and this permission notice shall be included in
|
166
|
+
* all copies or substantial portions of the Software.
|
167
|
+
*
|
168
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
169
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
170
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
171
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
172
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
173
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
174
|
+
* THE SOFTWARE.
|
175
|
+
*/var f;(function(i){i.SELECTING="mdc-evolution-chip--selecting",i.DESELECTING="mdc-evolution-chip--deselecting",i.SELECTING_WITH_PRIMARY_ICON="mdc-evolution-chip--selecting-with-primary-icon",i.DESELECTING_WITH_PRIMARY_ICON="mdc-evolution-chip--deselecting-with-primary-icon",i.DISABLED="mdc-evolution-chip--disabled",i.ENTER="mdc-evolution-chip--enter",i.EXIT="mdc-evolution-chip--exit",i.SELECTED="mdc-evolution-chip--selected",i.HIDDEN="mdc-evolution-chip--hidden",i.WITH_PRIMARY_ICON="mdc-evolution-chip--with-primary-icon"})(f||(f={}));var w;(function(i){i.INTERACTION="MDCChip:interaction",i.NAVIGATION="MDCChip:navigation",i.ANIMATION="MDCChip:animation"})(w||(w={}));var ne;(function(i){i.DATA_REMOVED_ANNOUNCEMENT="data-mdc-removed-announcement",i.DATA_ADDED_ANNOUNCEMENT="data-mdc-added-announcement"})(ne||(ne={}));var I;(function(i){i.ENTER="mdc-evolution-chip-enter",i.EXIT="mdc-evolution-chip-exit"})(I||(I={}));/**
|
176
|
+
* @license
|
177
|
+
* Copyright 2020 Google Inc.
|
178
|
+
*
|
179
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
180
|
+
* of this software and associated documentation files (the "Software"), to deal
|
181
|
+
* in the Software without restriction, including without limitation the rights
|
182
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
183
|
+
* copies of the Software, and to permit persons to whom the Software is
|
184
|
+
* furnished to do so, subject to the following conditions:
|
185
|
+
*
|
186
|
+
* The above copyright notice and this permission notice shall be included in
|
187
|
+
* all copies or substantial portions of the Software.
|
188
|
+
*
|
189
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
190
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
191
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
192
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
193
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
194
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
195
|
+
* THE SOFTWARE.
|
196
|
+
*/var z;(function(i){i[i.UNSPECIFIED=0]="UNSPECIFIED",i[i.LEFT=1]="LEFT",i[i.RIGHT=2]="RIGHT"})(z||(z={}));var P;(function(i){i.SELECTION="selection",i.EXIT="exit"})(P||(P={}));var hn=function(i){d.__extends(t,i);function t(e){var n=i.call(this,d.__assign(d.__assign({},t.defaultAdapter),e))||this;return n.animFrame=new dn,n}return Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},emitEvent:function(){},getActions:function(){return[]},getAttribute:function(){return null},getElementID:function(){return""},getOffsetWidth:function(){return 0},hasClass:function(){return!1},isActionDisabled:function(){return!1},isActionFocusable:function(){return!1},isActionSelectable:function(){return!1},isActionSelected:function(){return!1},isRTL:function(){return!1},removeClass:function(){},setActionDisabled:function(){},setActionFocus:function(){},setActionSelected:function(){},setStyleProperty:function(){}}},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){this.animFrame.cancelAll()},t.prototype.getElementID=function(){return this.adapter.getElementID()},t.prototype.setDisabled=function(e){var n,r,o=this.getActions();try{for(var a=d.__values(o),c=a.next();!c.done;c=a.next()){var l=c.value;this.adapter.setActionDisabled(l,e)}}catch(u){n={error:u}}finally{try{c&&!c.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}e?this.adapter.addClass(f.DISABLED):this.adapter.removeClass(f.DISABLED)},t.prototype.isDisabled=function(){var e,n,r=this.getActions();try{for(var o=d.__values(r),a=o.next();!a.done;a=o.next()){var c=a.value;if(this.adapter.isActionDisabled(c))return!0}}catch(l){e={error:l}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return!1},t.prototype.getActions=function(){return this.adapter.getActions()},t.prototype.isActionFocusable=function(e){return this.adapter.isActionFocusable(e)},t.prototype.isActionSelectable=function(e){return this.adapter.isActionSelectable(e)},t.prototype.isActionSelected=function(e){return this.adapter.isActionSelected(e)},t.prototype.setActionFocus=function(e,n){this.adapter.setActionFocus(e,n)},t.prototype.setActionSelected=function(e,n){this.adapter.setActionSelected(e,n),this.animateSelection(n)},t.prototype.startAnimation=function(e){if(e===I.ENTER){this.adapter.addClass(f.ENTER);return}if(e===I.EXIT){this.adapter.addClass(f.EXIT);return}},t.prototype.handleAnimationEnd=function(e){var n=this,r=e.animationName;if(r===I.ENTER){this.adapter.removeClass(f.ENTER),this.adapter.emitEvent(w.ANIMATION,{chipID:this.getElementID(),animation:I.ENTER,addedAnnouncement:this.getAddedAnnouncement(),isComplete:!0});return}if(r===I.EXIT){this.adapter.removeClass(f.EXIT),this.adapter.addClass(f.HIDDEN);var o=this.adapter.getOffsetWidth();this.adapter.setStyleProperty("width",o+"px"),this.animFrame.request(P.EXIT,function(){n.animFrame.request(P.EXIT,function(){n.adapter.setStyleProperty("width","0")})})}},t.prototype.handleTransitionEnd=function(){this.adapter.hasClass(f.HIDDEN)&&this.adapter.emitEvent(w.ANIMATION,{chipID:this.getElementID(),animation:I.EXIT,removedAnnouncement:this.getRemovedAnnouncement(),isComplete:!0})},t.prototype.handleActionInteraction=function(e){var n=e.detail,r=n.source,o=n.actionID,a=this.adapter.isActionSelectable(r),c=this.adapter.isActionSelected(r);this.adapter.emitEvent(w.INTERACTION,{chipID:this.getElementID(),shouldRemove:this.shouldRemove(n),actionID:o,isSelectable:a,isSelected:c,source:r})},t.prototype.handleActionNavigation=function(e){var n=e.detail,r=n.source,o=n.key,a=this.adapter.isRTL(),c=this.adapter.isActionFocusable(C.TRAILING),l=this.adapter.isActionFocusable(C.PRIMARY),u=this.directionFromKey(o,a),p=r===C.PRIMARY&&u===z.RIGHT&&c,m=r===C.TRAILING&&u===z.LEFT&&l;if(p){this.navigateActions({from:r,to:C.TRAILING});return}if(m){this.navigateActions({from:r,to:C.PRIMARY});return}this.adapter.emitEvent(w.NAVIGATION,{chipID:this.getElementID(),isRTL:a,source:r,key:o})},t.prototype.directionFromKey=function(e,n){var r=e===s.ARROW_LEFT,o=e===s.ARROW_RIGHT;return!n&&r||n&&o?z.LEFT:!n&&o||n&&r?z.RIGHT:z.UNSPECIFIED},t.prototype.navigateActions=function(e){this.adapter.setActionFocus(e.from,T.NOT_FOCUSABLE),this.adapter.setActionFocus(e.to,T.FOCUSABLE_AND_FOCUSED)},t.prototype.shouldRemove=function(e){var n=e.source,r=e.trigger;return r===N.BACKSPACE_KEY||r===N.DELETE_KEY?!0:n===C.TRAILING},t.prototype.getRemovedAnnouncement=function(){var e=this.adapter.getAttribute(ne.DATA_REMOVED_ANNOUNCEMENT);return e||void 0},t.prototype.getAddedAnnouncement=function(){var e=this.adapter.getAttribute(ne.DATA_ADDED_ANNOUNCEMENT);return e||void 0},t.prototype.animateSelection=function(e){var n=this;this.resetAnimationStyles(),this.animFrame.request(P.SELECTION,function(){n.animFrame.request(P.SELECTION,function(){n.updateSelectionStyles(e)})})},t.prototype.resetAnimationStyles=function(){this.adapter.removeClass(f.SELECTING),this.adapter.removeClass(f.DESELECTING),this.adapter.removeClass(f.SELECTING_WITH_PRIMARY_ICON),this.adapter.removeClass(f.DESELECTING_WITH_PRIMARY_ICON)},t.prototype.updateSelectionStyles=function(e){var n=this,r=this.adapter.hasClass(f.WITH_PRIMARY_ICON);if(r&&e){this.adapter.addClass(f.SELECTING_WITH_PRIMARY_ICON),this.animFrame.request(P.SELECTION,function(){n.adapter.addClass(f.SELECTED)});return}if(r&&!e){this.adapter.addClass(f.DESELECTING_WITH_PRIMARY_ICON),this.animFrame.request(P.SELECTION,function(){n.adapter.removeClass(f.SELECTED)});return}if(e){this.adapter.addClass(f.SELECTING),this.animFrame.request(P.SELECTION,function(){n.adapter.addClass(f.SELECTED)});return}if(!e){this.adapter.addClass(f.DESELECTING),this.animFrame.request(P.SELECTION,function(){n.adapter.removeClass(f.SELECTED)});return}},t}(V);/**
|
197
|
+
* @license
|
198
|
+
* Copyright 2016 Google Inc.
|
199
|
+
*
|
200
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
201
|
+
* of this software and associated documentation files (the "Software"), to deal
|
202
|
+
* in the Software without restriction, including without limitation the rights
|
203
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
204
|
+
* copies of the Software, and to permit persons to whom the Software is
|
205
|
+
* furnished to do so, subject to the following conditions:
|
206
|
+
*
|
207
|
+
* The above copyright notice and this permission notice shall be included in
|
208
|
+
* all copies or substantial portions of the Software.
|
209
|
+
*
|
210
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
211
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
212
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
213
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
214
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
215
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
216
|
+
* THE SOFTWARE.
|
217
|
+
*/function mn(i){return String(i).replace(/\-([a-z])/g,function(t,e){return e.toUpperCase()})}var Qe=function(){function i(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];this.root=t,this.initialize.apply(this,d.__spreadArray([],d.__read(n))),this.foundation=e===void 0?this.getDefaultFoundation():e,this.foundation.init(),this.initialSyncWithDOM()}return i.attachTo=function(t){return new i(t,new V({}))},i.prototype.initialize=function(){},i.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},i.prototype.initialSyncWithDOM=function(){},i.prototype.destroy=function(){this.foundation.destroy()},i.prototype.listen=function(t,e,n){this.root.addEventListener(t,e,n)},i.prototype.unlisten=function(t,e,n){this.root.removeEventListener(t,e,n)},i.prototype.emit=function(t,e,n){n===void 0&&(n=!1);var r;typeof CustomEvent=="function"?r=new CustomEvent(t,{bubbles:n,detail:e}):(r=document.createEvent("CustomEvent"),r.initCustomEvent(t,n,!1,e)),this.root.dispatchEvent(r)},i.prototype.safeSetAttribute=function(t,e,n){if(e.toLowerCase()==="tabindex")t.tabIndex=Number(n);else if(e.indexOf("data-")===0){var r=mn(e.replace(/^data-/,""));t.dataset[r]=n}else $e([F.safeAttrPrefix(Ee||(Ee=d.__makeTemplateObject(["aria-"],["aria-"]))),F.safeAttrPrefix(Se||(Se=d.__makeTemplateObject(["role"],["role"])))],t,e,n)},i}(),Ee,Se;/**
|
218
|
+
* @license
|
219
|
+
* Copyright 2018 Google Inc.
|
220
|
+
*
|
221
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
222
|
+
* of this software and associated documentation files (the "Software"), to deal
|
223
|
+
* in the Software without restriction, including without limitation the rights
|
224
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
225
|
+
* copies of the Software, and to permit persons to whom the Software is
|
226
|
+
* furnished to do so, subject to the following conditions:
|
227
|
+
*
|
228
|
+
* The above copyright notice and this permission notice shall be included in
|
229
|
+
* all copies or substantial portions of the Software.
|
230
|
+
*
|
231
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
232
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
233
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
234
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
235
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
236
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
237
|
+
* THE SOFTWARE.
|
238
|
+
*/function fn(i,t){if(i.closest)return i.closest(t);for(var e=i;e;){if(et(e,t))return e;e=e.parentElement}return null}function et(i,t){var e=i.matches||i.webkitMatchesSelector||i.msMatchesSelector;return e.call(i,t)}/**
|
239
|
+
* @license
|
240
|
+
* Copyright 2019 Google Inc.
|
241
|
+
*
|
242
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
243
|
+
* of this software and associated documentation files (the "Software"), to deal
|
244
|
+
* in the Software without restriction, including without limitation the rights
|
245
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
246
|
+
* copies of the Software, and to permit persons to whom the Software is
|
247
|
+
* furnished to do so, subject to the following conditions:
|
248
|
+
*
|
249
|
+
* The above copyright notice and this permission notice shall be included in
|
250
|
+
* all copies or substantial portions of the Software.
|
251
|
+
*
|
252
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
253
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
254
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
255
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
256
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
257
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
258
|
+
* THE SOFTWARE.
|
259
|
+
*/function ee(i){return i===void 0&&(i=window),vn(i)?{passive:!0}:!1}function vn(i){i===void 0&&(i=window);var t=!1;try{var e={get passive(){return t=!0,!1}},n=function(){};i.document.addEventListener("test",n,e),i.document.removeEventListener("test",n,e)}catch{t=!1}return t}/**
|
260
|
+
* @license
|
261
|
+
* Copyright 2016 Google Inc.
|
262
|
+
*
|
263
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
264
|
+
* of this software and associated documentation files (the "Software"), to deal
|
265
|
+
* in the Software without restriction, including without limitation the rights
|
266
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
267
|
+
* copies of the Software, and to permit persons to whom the Software is
|
268
|
+
* furnished to do so, subject to the following conditions:
|
269
|
+
*
|
270
|
+
* The above copyright notice and this permission notice shall be included in
|
271
|
+
* all copies or substantial portions of the Software.
|
272
|
+
*
|
273
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
274
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
275
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
276
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
277
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
278
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
279
|
+
* THE SOFTWARE.
|
280
|
+
*/var gn={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},_n={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},Ce={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300},te;function bn(i,t){t===void 0&&(t=!1);var e=i.CSS,n=te;if(typeof te=="boolean"&&!t)return te;var r=e&&typeof e.supports=="function";if(!r)return!1;var o=e.supports("--css-vars","yes"),a=e.supports("(--css-vars: yes)")&&e.supports("color","#00000000");return n=o||a,t||(te=n),n}function yn(i,t,e){if(!i)return{x:0,y:0};var n=t.x,r=t.y,o=n+e.left,a=r+e.top,c,l;if(i.type==="touchstart"){var u=i;c=u.changedTouches[0].pageX-o,l=u.changedTouches[0].pageY-a}else{var p=i;c=p.pageX-o,l=p.pageY-a}return{x:c,y:l}}/**
|
281
|
+
* @license
|
282
|
+
* Copyright 2016 Google Inc.
|
283
|
+
*
|
284
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
285
|
+
* of this software and associated documentation files (the "Software"), to deal
|
286
|
+
* in the Software without restriction, including without limitation the rights
|
287
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
288
|
+
* copies of the Software, and to permit persons to whom the Software is
|
289
|
+
* furnished to do so, subject to the following conditions:
|
290
|
+
*
|
291
|
+
* The above copyright notice and this permission notice shall be included in
|
292
|
+
* all copies or substantial portions of the Software.
|
293
|
+
*
|
294
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
295
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
296
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
297
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
298
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
299
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
300
|
+
* THE SOFTWARE.
|
301
|
+
*/var we=["touchstart","pointerdown","mousedown","keydown"],Ie=["touchend","pointerup","mouseup","contextmenu"],ie=[],tt=function(i){d.__extends(t,i);function t(e){var n=i.call(this,d.__assign(d.__assign({},t.defaultAdapter),e))||this;return n.activationAnimationHasEnded=!1,n.activationTimer=0,n.fgDeactivationRemovalTimer=0,n.fgScale="0",n.frame={width:0,height:0},n.initialSize=0,n.layoutFrame=0,n.maxRadius=0,n.unboundedCoords={left:0,top:0},n.activationState=n.defaultActivationState(),n.activationTimerCallback=function(){n.activationAnimationHasEnded=!0,n.runDeactivationUXLogicIfReady()},n.activateHandler=function(r){n.activateImpl(r)},n.deactivateHandler=function(){n.deactivateImpl()},n.focusHandler=function(){n.handleFocus()},n.blurHandler=function(){n.handleBlur()},n.resizeHandler=function(){n.layout()},n}return Object.defineProperty(t,"cssClasses",{get:function(){return gn},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return _n},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return Ce},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this,n=this.supportsPressRipple();if(this.registerRootHandlers(n),n){var r=t.cssClasses,o=r.ROOT,a=r.UNBOUNDED;requestAnimationFrame(function(){e.adapter.addClass(o),e.adapter.isUnbounded()&&(e.adapter.addClass(a),e.layoutInternal())})}},t.prototype.destroy=function(){var e=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(t.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(t.cssClasses.FG_DEACTIVATION));var n=t.cssClasses,r=n.ROOT,o=n.UNBOUNDED;requestAnimationFrame(function(){e.adapter.removeClass(r),e.adapter.removeClass(o),e.removeCssVars()})}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},t.prototype.activate=function(e){this.activateImpl(e)},t.prototype.deactivate=function(){this.deactivateImpl()},t.prototype.layout=function(){var e=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame(function(){e.layoutInternal(),e.layoutFrame=0})},t.prototype.setUnbounded=function(e){var n=t.cssClasses.UNBOUNDED;e?this.adapter.addClass(n):this.adapter.removeClass(n)},t.prototype.handleFocus=function(){var e=this;requestAnimationFrame(function(){e.adapter.addClass(t.cssClasses.BG_FOCUSED)})},t.prototype.handleBlur=function(){var e=this;requestAnimationFrame(function(){e.adapter.removeClass(t.cssClasses.BG_FOCUSED)})},t.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},t.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},t.prototype.registerRootHandlers=function(e){var n,r;if(e){try{for(var o=d.__values(we),a=o.next();!a.done;a=o.next()){var c=a.value;this.adapter.registerInteractionHandler(c,this.activateHandler)}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},t.prototype.registerDeactivationHandlers=function(e){var n,r;if(e.type==="keydown")this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var o=d.__values(Ie),a=o.next();!a.done;a=o.next()){var c=a.value;this.adapter.registerDocumentInteractionHandler(c,this.deactivateHandler)}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}},t.prototype.deregisterRootHandlers=function(){var e,n;try{for(var r=d.__values(we),o=r.next();!o.done;o=r.next()){var a=o.value;this.adapter.deregisterInteractionHandler(a,this.activateHandler)}}catch(c){e={error:c}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},t.prototype.deregisterDeactivationHandlers=function(){var e,n;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var r=d.__values(Ie),o=r.next();!o.done;o=r.next()){var a=o.value;this.adapter.deregisterDocumentInteractionHandler(a,this.deactivateHandler)}}catch(c){e={error:c}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},t.prototype.removeCssVars=function(){var e=this,n=t.strings,r=Object.keys(n);r.forEach(function(o){o.indexOf("VAR_")===0&&e.adapter.updateCssVariable(n[o],null)})},t.prototype.activateImpl=function(e){var n=this;if(!this.adapter.isSurfaceDisabled()){var r=this.activationState;if(!r.isActivated){var o=this.previousActivationEvent,a=o&&e!==void 0&&o.type!==e.type;if(!a){r.isActivated=!0,r.isProgrammatic=e===void 0,r.activationEvent=e,r.wasActivatedByPointer=r.isProgrammatic?!1:e!==void 0&&(e.type==="mousedown"||e.type==="touchstart"||e.type==="pointerdown");var c=e!==void 0&&ie.length>0&&ie.some(function(l){return n.adapter.containsEventTarget(l)});if(c){this.resetActivationState();return}e!==void 0&&(ie.push(e.target),this.registerDeactivationHandlers(e)),r.wasElementMadeActive=this.checkElementMadeActive(e),r.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame(function(){ie=[],!r.wasElementMadeActive&&e!==void 0&&(e.key===" "||e.keyCode===32)&&(r.wasElementMadeActive=n.checkElementMadeActive(e),r.wasElementMadeActive&&n.animateActivation()),r.wasElementMadeActive||(n.activationState=n.defaultActivationState())})}}}},t.prototype.checkElementMadeActive=function(e){return e!==void 0&&e.type==="keydown"?this.adapter.isSurfaceActive():!0},t.prototype.animateActivation=function(){var e=this,n=t.strings,r=n.VAR_FG_TRANSLATE_START,o=n.VAR_FG_TRANSLATE_END,a=t.cssClasses,c=a.FG_DEACTIVATION,l=a.FG_ACTIVATION,u=t.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var p="",m="";if(!this.adapter.isUnbounded()){var S=this.getFgTranslationCoordinates(),O=S.startPoint,j=S.endPoint;p=O.x+"px, "+O.y+"px",m=j.x+"px, "+j.y+"px"}this.adapter.updateCssVariable(r,p),this.adapter.updateCssVariable(o,m),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(c),this.adapter.computeBoundingRect(),this.adapter.addClass(l),this.activationTimer=setTimeout(function(){e.activationTimerCallback()},u)},t.prototype.getFgTranslationCoordinates=function(){var e=this.activationState,n=e.activationEvent,r=e.wasActivatedByPointer,o;r?o=yn(n,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):o={x:this.frame.width/2,y:this.frame.height/2},o={x:o.x-this.initialSize/2,y:o.y-this.initialSize/2};var a={x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2};return{startPoint:o,endPoint:a}},t.prototype.runDeactivationUXLogicIfReady=function(){var e=this,n=t.cssClasses.FG_DEACTIVATION,r=this.activationState,o=r.hasDeactivationUXRun,a=r.isActivated,c=o||!a;c&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(n),this.fgDeactivationRemovalTimer=setTimeout(function(){e.adapter.removeClass(n)},Ce.FG_DEACTIVATION_MS))},t.prototype.rmBoundedActivationClasses=function(){var e=t.cssClasses.FG_ACTIVATION;this.adapter.removeClass(e),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},t.prototype.resetActivationState=function(){var e=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout(function(){return e.previousActivationEvent=void 0},t.numbers.TAP_DELAY_MS)},t.prototype.deactivateImpl=function(){var e=this,n=this.activationState;if(n.isActivated){var r=d.__assign({},n);n.isProgrammatic?(requestAnimationFrame(function(){e.animateDeactivation(r)}),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame(function(){e.activationState.hasDeactivationUXRun=!0,e.animateDeactivation(r),e.resetActivationState()}))}},t.prototype.animateDeactivation=function(e){var n=e.wasActivatedByPointer,r=e.wasElementMadeActive;(n||r)&&this.runDeactivationUXLogicIfReady()},t.prototype.layoutInternal=function(){var e=this;this.frame=this.adapter.computeBoundingRect();var n=Math.max(this.frame.height,this.frame.width),r=function(){var a=Math.sqrt(Math.pow(e.frame.width,2)+Math.pow(e.frame.height,2));return a+t.numbers.PADDING};this.maxRadius=this.adapter.isUnbounded()?n:r();var o=Math.floor(n*t.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&o%2!==0?this.initialSize=o-1:this.initialSize=o,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},t.prototype.updateLayoutCssVars=function(){var e=t.strings,n=e.VAR_FG_SIZE,r=e.VAR_LEFT,o=e.VAR_TOP,a=e.VAR_FG_SCALE;this.adapter.updateCssVariable(n,this.initialSize+"px"),this.adapter.updateCssVariable(a,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(r,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(o,this.unboundedCoords.top+"px"))},t}(V);/**
|
302
|
+
* @license
|
303
|
+
* Copyright 2016 Google Inc.
|
304
|
+
*
|
305
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
306
|
+
* of this software and associated documentation files (the "Software"), to deal
|
307
|
+
* in the Software without restriction, including without limitation the rights
|
308
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
309
|
+
* copies of the Software, and to permit persons to whom the Software is
|
310
|
+
* furnished to do so, subject to the following conditions:
|
311
|
+
*
|
312
|
+
* The above copyright notice and this permission notice shall be included in
|
313
|
+
* all copies or substantial portions of the Software.
|
314
|
+
*
|
315
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
316
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
317
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
318
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
319
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
320
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
321
|
+
* THE SOFTWARE.
|
322
|
+
*/var Te=function(i){d.__extends(t,i);function t(){var e=i!==null&&i.apply(this,arguments)||this;return e.disabled=!1,e}return t.attachTo=function(e,n){n===void 0&&(n={isUnbounded:void 0});var r=new t(e);return n.isUnbounded!==void 0&&(r.unbounded=n.isUnbounded),r},t.createAdapter=function(e){return{addClass:function(n){e.root.classList.add(n)},browserSupportsCssVars:function(){return bn(window)},computeBoundingRect:function(){return e.root.getBoundingClientRect()},containsEventTarget:function(n){return e.root.contains(n)},deregisterDocumentInteractionHandler:function(n,r){document.documentElement.removeEventListener(n,r,ee())},deregisterInteractionHandler:function(n,r){e.root.removeEventListener(n,r,ee())},deregisterResizeHandler:function(n){window.removeEventListener("resize",n)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return et(e.root,":active")},isSurfaceDisabled:function(){return!!e.disabled},isUnbounded:function(){return!!e.unbounded},registerDocumentInteractionHandler:function(n,r){document.documentElement.addEventListener(n,r,ee())},registerInteractionHandler:function(n,r){e.root.addEventListener(n,r,ee())},registerResizeHandler:function(n){window.addEventListener("resize",n)},removeClass:function(n){e.root.classList.remove(n)},updateCssVariable:function(n,r){e.root.style.setProperty(n,r)}}},Object.defineProperty(t.prototype,"unbounded",{get:function(){return!!this.isUnbounded},set:function(e){this.isUnbounded=!!e,this.setUnbounded()},enumerable:!1,configurable:!0}),t.prototype.activate=function(){this.foundation.activate()},t.prototype.deactivate=function(){this.foundation.deactivate()},t.prototype.layout=function(){this.foundation.layout()},t.prototype.getDefaultFoundation=function(){return new tt(t.createAdapter(this))},t.prototype.initialSyncWithDOM=function(){var e=this.root;this.isUnbounded="mdcRippleIsUnbounded"in e.dataset},t.prototype.setUnbounded=function(){this.foundation.setUnbounded(!!this.isUnbounded)},t}(Qe);/**
|
323
|
+
* @license
|
324
|
+
* Copyright 2020 Google Inc.
|
325
|
+
*
|
326
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
327
|
+
* of this software and associated documentation files (the "Software"), to deal
|
328
|
+
* in the Software without restriction, including without limitation the rights
|
329
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
330
|
+
* copies of the Software, and to permit persons to whom the Software is
|
331
|
+
* furnished to do so, subject to the following conditions:
|
332
|
+
*
|
333
|
+
* The above copyright notice and this permission notice shall be included in
|
334
|
+
* all copies or substantial portions of the Software.
|
335
|
+
*
|
336
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
337
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
338
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
339
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
340
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
341
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
342
|
+
* THE SOFTWARE.
|
343
|
+
*/function An(i,t){var e=Number(t.replace("px",""));return Number.isNaN(e)?i:{width:i.width+e,height:i.height,top:i.top,right:i.right,bottom:i.bottom,left:i.left}}var En="--mdc-chip-graphic-selected-width";/**
|
344
|
+
* @license
|
345
|
+
* Copyright 2020 Google Inc.
|
346
|
+
*
|
347
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
348
|
+
* of this software and associated documentation files (the "Software"), to deal
|
349
|
+
* in the Software without restriction, including without limitation the rights
|
350
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
351
|
+
* copies of the Software, and to permit persons to whom the Software is
|
352
|
+
* furnished to do so, subject to the following conditions:
|
353
|
+
*
|
354
|
+
* The above copyright notice and this permission notice shall be included in
|
355
|
+
* all copies or substantial portions of the Software.
|
356
|
+
*
|
357
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
358
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
359
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
360
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
361
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
362
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
363
|
+
* THE SOFTWARE.
|
364
|
+
*/var Z=new Map;Z.set(s.SPACEBAR,N.SPACEBAR_KEY);Z.set(s.ENTER,N.ENTER_KEY);Z.set(s.DELETE,N.DELETE_KEY);Z.set(s.BACKSPACE,N.BACKSPACE_KEY);var it=function(i){d.__extends(t,i);function t(e){return i.call(this,d.__assign(d.__assign({},t.defaultAdapter),e))||this}return Object.defineProperty(t,"defaultAdapter",{get:function(){return{emitEvent:function(){},focus:function(){},getAttribute:function(){return null},getElementID:function(){return""},removeAttribute:function(){},setAttribute:function(){}}},enumerable:!1,configurable:!0}),t.prototype.handleClick=function(){this.isDisabled()||this.emitInteraction(N.CLICK)},t.prototype.handleKeydown=function(e){var n=Je(e);if(this.shouldNotifyInteractionFromKey(n)){e.preventDefault(),this.emitInteraction(this.getTriggerFromKey(n));return}if(pn(e)){e.preventDefault(),this.emitNavigation(n);return}return!0},t.prototype.setDisabled=function(e){if(this.isSelectable()){this.adapter.setAttribute(g.ARIA_DISABLED,""+e);return}e?this.adapter.setAttribute(g.DISABLED,"true"):this.adapter.removeAttribute(g.DISABLED)},t.prototype.isDisabled=function(){return this.adapter.getAttribute(g.ARIA_DISABLED)==="true"||this.adapter.getAttribute(g.DISABLED)!==null},t.prototype.setFocus=function(e){if(this.isFocusable()){if(e===T.FOCUSABLE_AND_FOCUSED){this.adapter.setAttribute(g.TAB_INDEX,"0"),this.adapter.focus();return}if(e===T.FOCUSABLE){this.adapter.setAttribute(g.TAB_INDEX,"0");return}if(e===T.NOT_FOCUSABLE){this.adapter.setAttribute(g.TAB_INDEX,"-1");return}}},t.prototype.isFocusable=function(){return!(this.isDisabled()||this.adapter.getAttribute(g.ARIA_HIDDEN)==="true")},t.prototype.setSelected=function(e){this.isSelectable()&&this.adapter.setAttribute(g.ARIA_SELECTED,""+e)},t.prototype.isSelected=function(){return this.adapter.getAttribute(g.ARIA_SELECTED)==="true"},t.prototype.emitInteraction=function(e){this.adapter.emitEvent(W.INTERACTION,{actionID:this.adapter.getElementID(),source:this.actionType(),trigger:e})},t.prototype.emitNavigation=function(e){this.adapter.emitEvent(W.NAVIGATION,{source:this.actionType(),key:e})},t.prototype.shouldNotifyInteractionFromKey=function(e){var n=e===s.ENTER||e===s.SPACEBAR,r=e===s.BACKSPACE||e===s.DELETE;return!!(n||r&&this.shouldEmitInteractionOnRemoveKey())},t.prototype.getTriggerFromKey=function(e){var n=Z.get(e);return n||N.UNSPECIFIED},t}(V);/**
|
365
|
+
* @license
|
366
|
+
* Copyright 2020 Google Inc.
|
367
|
+
*
|
368
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
369
|
+
* of this software and associated documentation files (the "Software"), to deal
|
370
|
+
* in the Software without restriction, including without limitation the rights
|
371
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
372
|
+
* copies of the Software, and to permit persons to whom the Software is
|
373
|
+
* furnished to do so, subject to the following conditions:
|
374
|
+
*
|
375
|
+
* The above copyright notice and this permission notice shall be included in
|
376
|
+
* all copies or substantial portions of the Software.
|
377
|
+
*
|
378
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
379
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
380
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
381
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
382
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
383
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
384
|
+
* THE SOFTWARE.
|
385
|
+
*/var Sn=function(i){d.__extends(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.isSelectable=function(){return this.adapter.getAttribute(g.ROLE)==="option"},t.prototype.actionType=function(){return C.PRIMARY},t.prototype.shouldEmitInteractionOnRemoveKey=function(){return this.adapter.getAttribute(g.DATA_DELETABLE)==="true"},t}(it);/**
|
386
|
+
* @license
|
387
|
+
* Copyright 2020 Google Inc.
|
388
|
+
*
|
389
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
390
|
+
* of this software and associated documentation files (the "Software"), to deal
|
391
|
+
* in the Software without restriction, including without limitation the rights
|
392
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
393
|
+
* copies of the Software, and to permit persons to whom the Software is
|
394
|
+
* furnished to do so, subject to the following conditions:
|
395
|
+
*
|
396
|
+
* The above copyright notice and this permission notice shall be included in
|
397
|
+
* all copies or substantial portions of the Software.
|
398
|
+
*
|
399
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
400
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
401
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
402
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
403
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
404
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
405
|
+
* THE SOFTWARE.
|
406
|
+
*/var Cn=function(i){d.__extends(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.isSelectable=function(){return!1},t.prototype.actionType=function(){return C.TRAILING},t.prototype.shouldEmitInteractionOnRemoveKey=function(){return!0},t}(it);/**
|
407
|
+
* @license
|
408
|
+
* Copyright 2020 Google Inc.
|
409
|
+
*
|
410
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
411
|
+
* of this software and associated documentation files (the "Software"), to deal
|
412
|
+
* in the Software without restriction, including without limitation the rights
|
413
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
414
|
+
* copies of the Software, and to permit persons to whom the Software is
|
415
|
+
* furnished to do so, subject to the following conditions:
|
416
|
+
*
|
417
|
+
* The above copyright notice and this permission notice shall be included in
|
418
|
+
* all copies or substantial portions of the Software.
|
419
|
+
*
|
420
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
421
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
422
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
423
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
424
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
425
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
426
|
+
* THE SOFTWARE.
|
427
|
+
*/var wn=[F.safeAttrPrefix(Re||(Re=d.__makeTemplateObject(["aria-"],["aria-"]))),F.safeAttrPrefix(Oe||(Oe=d.__makeTemplateObject(["data-"],["data-"]))),F.safeAttrPrefix(Pe||(Pe=d.__makeTemplateObject(["disabled"],["disabled"]))),F.safeAttrPrefix(Ne||(Ne=d.__makeTemplateObject(["role"],["role"]))),F.safeAttrPrefix(De||(De=d.__makeTemplateObject(["tabindex"],["tabindex"])))],In=function(i){d.__extends(t,i);function t(){var e=i!==null&&i.apply(this,arguments)||this;return e.rootHTML=e.root,e}return t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"ripple",{get:function(){return this.rippleInstance},enumerable:!1,configurable:!0}),t.prototype.initialize=function(e){var n=this;e===void 0&&(e=function(o,a){return new Te(o,a)});var r=d.__assign(d.__assign({},Te.createAdapter(this)),{computeBoundingRect:function(){return n.computeRippleClientRect()}});this.rippleInstance=e(this.root,new tt(r))},t.prototype.initialSyncWithDOM=function(){var e=this;this.handleClick=function(){e.foundation.handleClick()},this.handleKeydown=function(n){e.foundation.handleKeydown(n)},this.listen("click",this.handleClick),this.listen("keydown",this.handleKeydown)},t.prototype.destroy=function(){this.ripple.destroy(),this.unlisten("click",this.handleClick),this.unlisten("keydown",this.handleKeydown),i.prototype.destroy.call(this)},t.prototype.getDefaultFoundation=function(){var e=this,n={emitEvent:function(r,o){e.emit(r,o,!0)},focus:function(){e.rootHTML.focus()},getAttribute:function(r){return e.root.getAttribute(r)},getElementID:function(){return e.root.id},removeAttribute:function(r){e.root.removeAttribute(r)},setAttribute:function(r,o){$e(wn,e.root,r,o)}};return this.root.classList.contains(X.TRAILING_ACTION)?new Cn(n):new Sn(n)},t.prototype.setDisabled=function(e){this.foundation.setDisabled(e)},t.prototype.isDisabled=function(){return this.foundation.isDisabled()},t.prototype.setFocus=function(e){this.foundation.setFocus(e)},t.prototype.isFocusable=function(){return this.foundation.isFocusable()},t.prototype.setSelected=function(e){this.foundation.setSelected(e)},t.prototype.isSelected=function(){return this.foundation.isSelected()},t.prototype.isSelectable=function(){return this.foundation.isSelectable()},t.prototype.actionType=function(){return this.foundation.actionType()},t.prototype.computeRippleClientRect=function(){if(this.root.classList.contains(X.PRIMARY_ACTION)){var e=fn(this.root,"."+X.CHIP_ROOT);if(!e)return this.root.getBoundingClientRect();var n=window.getComputedStyle(e).getPropertyValue(En);return An(e.getBoundingClientRect(),n)}return this.root.getBoundingClientRect()},t}(Qe),Re,Oe,Pe,Ne,De,Tn=Object.defineProperty,Rn=Object.getOwnPropertyDescriptor,M=(i,t,e,n)=>{for(var r=n>1?void 0:n?Rn(t,e):t,o=i.length-1,a;o>=0;o--)(a=i[o])&&(r=(n?a(t,e,r):a(r))||r);return n&&r&&Tn(t,e,r),r};let On=0;class x extends A.s{constructor(){super(),this.mdcFoundationClass=hn,this.label="",this.icon="",this.trailingIcon=!1,this.avatar=!1,this.disabled=!1,this.filter=!1,this.chipId=On++}render(){const t={"mdc-evolution-chip":!0,"mdc-evolution-chip--disabled":this.disabled,"mdc-evolution-chip--with-trailing-action":this.trailingIcon,"mdc-evolution-chip--with-primary-graphic":!this.trailingIcon&&this.icon,"mdc-evolution-chip--with-primary-icon":this.icon&&!this.filter,"mdc-evolution-chip--filter":this.filter,"mdc-evolution-chip--selectable":this.filter,"mdc-evolution-chip--with-avatar":this.avatar,secondary:this.state==="secondary",negative:this.state==="negative",caution:this.state==="caution"};return A.x`
|
428
|
+
<span
|
429
|
+
class="${pt.o(t)}"
|
430
|
+
role="${this.filter?"presentation":"row"}"
|
431
|
+
id="cv-chip-${this.chipId}"
|
432
|
+
>
|
433
|
+
<span
|
434
|
+
class="mdc-evolution-chip__cell mdc-evolution-chip__cell--primary"
|
435
|
+
role="${this.filter?"presentation":"gridcell"}"
|
436
|
+
>
|
437
|
+
<button
|
438
|
+
class="mdc-evolution-chip__action mdc-evolution-chip__action--primary"
|
439
|
+
role="${this.filter?"option":""}"
|
440
|
+
type="button"
|
441
|
+
tabindex="-1"
|
442
|
+
>
|
443
|
+
<span
|
444
|
+
class="mdc-evolution-chip__ripple mdc-evolution-chip__ripple--primary"
|
445
|
+
></span>
|
446
|
+
${!this.trailingIcon&&this.icon||this.filter?this.renderGraphic():""}
|
447
|
+
<span class="mdc-evolution-chip__text-label">${this.label}</span>
|
448
|
+
</button>
|
449
|
+
</span>
|
450
|
+
${this.trailingIcon?this.renderTrailing():""}
|
451
|
+
</span>
|
452
|
+
`}async firstUpdated(){this.mdcFoundation!==void 0&&this.mdcFoundation.destroy(),this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.actions=new Map;const t=this.mdcRoot.querySelectorAll(".mdc-evolution-chip__action");for(let e=0;e<t.length;e++){const n=new In(t[e]);this.actions.set(n.actionType(),n),t[e].addEventListener(W.INTERACTION,r=>{var o;(o=this.mdcFoundation)==null||o.handleActionInteraction(r)}),t[e].addEventListener(W.NAVIGATION,r=>{var o;(o=this.mdcFoundation)==null||o.handleActionNavigation(r)})}}renderGraphic(){const t=this.filter?this.renderCheckMark():this.renderIcon();return A.x`<span class="mdc-evolution-chip__graphic">
|
453
|
+
${t}
|
454
|
+
</span>`}renderCheckMark(){return A.x` <span class="mdc-evolution-chip__checkmark">
|
455
|
+
<svg class="mdc-evolution-chip__checkmark-svg" viewBox="-2 -3 30 30">
|
456
|
+
<path
|
457
|
+
class="mdc-evolution-chip__checkmark-path"
|
458
|
+
fill="none"
|
459
|
+
d="M1.73,12.91 8.1,19.28 22.79,4.59"
|
460
|
+
/>
|
461
|
+
</svg>
|
462
|
+
</span>`}renderIcon(t=!1){return A.x` <span
|
463
|
+
class="mdc-evolution-chip__icon mdc-evolution-chip__icon--${t?"trailing":"primary"}"
|
464
|
+
>
|
465
|
+
${this.icon}
|
466
|
+
</span>`}renderTrailing(){return A.x` <span
|
467
|
+
class="mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing"
|
468
|
+
role="gridcell"
|
469
|
+
>
|
470
|
+
<button
|
471
|
+
class="mdc-evolution-chip__action mdc-evolution-chip__action--trailing"
|
472
|
+
type="button"
|
473
|
+
tabindex="-1"
|
474
|
+
data-mdc-deletable="true"
|
475
|
+
aria-label="Remove ${this.label}"
|
476
|
+
>
|
477
|
+
<span
|
478
|
+
class="mdc-evolution-chip__ripple mdc-evolution-chip__ripple--trailing"
|
479
|
+
></span>
|
480
|
+
${this.renderIcon(!0)}
|
481
|
+
</button>
|
482
|
+
</span>`}createAdapter(){return{...dt.addHasRemoveClass(this.mdcRoot),emitEvent:(t,e)=>this.dispatchEvent(new CustomEvent(t,{bubbles:!0,detail:e})),getActions:()=>{const t=[];for(const[e]of this.actions)t.push(e);return t},getAttribute:t=>this.mdcRoot.getAttribute(t),getElementID:()=>this.mdcRoot.getAttribute("id")??"",getOffsetWidth:()=>this.mdcRoot.offsetWidth,hasClass:t=>this.mdcRoot.classList.contains(t),isActionSelectable:t=>{var e;return((e=this.actions.get(t))==null?void 0:e.isSelectable())??!0},isActionSelected:t=>{var e;return((e=this.actions.get(t))==null?void 0:e.isSelected())??!1},isActionFocusable:t=>{var e;return((e=this.actions.get(t))==null?void 0:e.isFocusable())??!0},isActionDisabled:t=>{var e;return((e=this.actions.get(t))==null?void 0:e.isDisabled())??!1},isRTL:()=>window.getComputedStyle(this.mdcRoot).getPropertyValue("direction")==="rtl",setActionDisabled:(t,e)=>{var n;return(n=this.actions.get(t))==null?void 0:n.setDisabled(e)},setActionFocus:(t,e)=>{var n;return(n=this.actions.get(t))==null?void 0:n.setFocus(e)},setActionSelected:(t,e)=>{var n;return(n=this.actions.get(t))==null?void 0:n.setSelected(e)},setStyleProperty:(t,e)=>this.mdcRoot.style.setProperty(t,e)}}getActions(){var t;return((t=this.mdcFoundation)==null?void 0:t.getActions())??[]}getElementID(){var t;return((t=this.mdcFoundation)==null?void 0:t.getElementID())??""}isActionFocusable(t){var e;return((e=this.mdcFoundation)==null?void 0:e.isActionFocusable(t))??!1}isActionSelectable(t){var e;return((e=this.mdcFoundation)==null?void 0:e.isActionSelectable(t))??!1}isActionSelected(t){var e;return((e=this.mdcFoundation)==null?void 0:e.isActionSelected(t))??!1}setActionFocus(t,e){var n;return(n=this.mdcFoundation)==null?void 0:n.setActionFocus(t,e)}setActionSelected(t,e){var n;return(n=this.mdcFoundation)==null?void 0:n.setActionSelected(t,e)}startAnimation(t){var e;return(e=this.mdcFoundation)==null?void 0:e.startAnimation(t)}}M([xe.i(".mdc-evolution-chip")],x.prototype,"mdcRoot",2);M([R.n()],x.prototype,"label",2);M([R.n({type:String})],x.prototype,"icon",2);M([R.n({type:Boolean,reflect:!0})],x.prototype,"trailingIcon",2);M([R.n({type:Boolean,reflect:!0})],x.prototype,"avatar",2);M([R.n({type:Boolean,reflect:!0})],x.prototype,"disabled",2);M([R.n({type:Boolean,reflect:!0})],x.prototype,"filter",2);M([R.n()],x.prototype,"state",2);const Pn=`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;-webkit-user-select:none;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width .15s 0ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform .15s 0ms cubic-bezier(.4,0,.2,1);transform:translate(-75%,-50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset .15s 45ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width .1s 0ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform .1s 0ms cubic-bezier(.4,0,.2,1);transform:translate(-75%,-50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset .15s 75ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity .15s 75ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(.4,0,.2,1);transform:translate(-50%,-50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%,-50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{0%{transform:scale(.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter .1s 0ms cubic-bezier(0,0,.2,1)}@keyframes mdc-evolution-chip-exit{0%{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(.4,0,1,1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width .15s 0ms cubic-bezier(.4,0,1,1)}.mdc-evolution-chip{height:32px;border-radius:16px;background-color:#e0e0e0}.mdc-evolution-chip .mdc-evolution-chip__ripple{border-radius:16px}.mdc-evolution-chip .mdc-evolution-chip__action--primary:before{border-radius:16px}.mdc-evolution-chip .mdc-evolution-chip__icon--primary{border-radius:16px}.mdc-evolution-chip .mdc-evolution-chip__action--primary,[dir=rtl] .mdc-evolution-chip .mdc-evolution-chip__action--primary,.mdc-evolution-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip .mdc-evolution-chip__text-label,.mdc-evolution-chip .mdc-evolution-chip__icon--primary,.mdc-evolution-chip .mdc-evolution-chip__checkmark,.mdc-evolution-chip .mdc-evolution-chip__icon--trailing{color:#000000de}.mdc-evolution-chip .mdc-evolution-chip__text-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mdc-evolution-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width: 20px}.mdc-evolution-chip .mdc-evolution-chip__graphic,.mdc-evolution-chip .mdc-evolution-chip__icon--primary{height:20px;width:20px;font-size:20px}.mdc-evolution-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mdc-evolution-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-evolution-chip.mdc-evolution-chip .mdc-evolution-chip__action--primary:before{border-color:CanvasText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:GrayText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-color:CanvasText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:GrayText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:GrayText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:Canvas}}.mdc-evolution-chip .mdc-evolution-chip__focus-ring{display:none}.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring,.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring{z-index:1;display:block;pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring,.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring{border-color:CanvasText}}.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring:after,.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring:after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring:after,.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring:after{border-color:CanvasText}}.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring,.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring{z-index:1;display:block;pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:calc(100% + 4px);width:calc(100% - 4px)}@media screen and (forced-colors: active){.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring,.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring{border-color:CanvasText}}.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring:after,.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring:after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring:after,.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring:after{border-color:CanvasText}}.mdc-evolution-chip--filter.mdc-evolution-chip--selected{background-color:#cecece}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width: 24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple:after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded) .mdc-evolution-chip__ripple:after{transition:opacity .15s linear}.mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):active .mdc-evolution-chip__ripple:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-evolution-chip__action--primary.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.mdc-evolution-chip__action--trailing .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--trailing .mdc-evolution-chip__ripple:after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-evolution-chip__action--trailing:hover .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--trailing.mdc-ripple-surface--hover .mdc-evolution-chip__ripple:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-evolution-chip__action--trailing.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--trailing:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-evolution-chip__action--trailing:not(.mdc-ripple-upgraded) .mdc-evolution-chip__ripple:after{transition:opacity .15s linear}.mdc-evolution-chip__action--trailing:not(.mdc-ripple-upgraded):active .mdc-evolution-chip__ripple:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-evolution-chip__action--trailing.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.mdc-evolution-chip__ripple--trailing{height:18px;width:18px}.mdc-evolution-chip__action{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-evolution-chip__action .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action .mdc-evolution-chip__ripple:after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-evolution-chip__action .mdc-evolution-chip__ripple:before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-evolution-chip__action .mdc-evolution-chip__ripple:after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-evolution-chip__action.mdc-ripple-upgraded .mdc-evolution-chip__ripple:before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-evolution-chip__action.mdc-ripple-upgraded .mdc-evolution-chip__ripple:after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-evolution-chip__action.mdc-ripple-upgraded--unbounded .mdc-evolution-chip__ripple:after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-evolution-chip__action.mdc-ripple-upgraded--foreground-activation .mdc-evolution-chip__ripple:after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-evolution-chip__action.mdc-ripple-upgraded--foreground-deactivation .mdc-evolution-chip__ripple:after{animation:mdc-ripple-fg-opacity-out .15s;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-evolution-chip__action .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action .mdc-evolution-chip__ripple:after{top:-50%;left:-50%;width:200%;height:200%}.mdc-evolution-chip__action.mdc-ripple-upgraded .mdc-evolution-chip__ripple:after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-evolution-chip__ripple{position:absolute;box-sizing:content-box;overflow:hidden;pointer-events:none}.mdc-evolution-chip__ripple--primary{height:100%;width:100%;top:0;left:0}.mdc-evolution-chip__ripple--trailing{top:50%;transform:translateY(-50%)}.mdc-evolution-chip{background-color:var(--mdc-theme-surface-neutral)}.mdc-evolution-chip .mdc-evolution-chip__text-label{color:var(--mdc-theme-text-primary-on-background)}.mdc-evolution-chip .mdc-evolution-chip__icon{font-family:var(--mdc-icon-font, "Material Symbols Rounded");color:var(--mdc-theme-text-icon-on-background)}.mdc-evolution-chip .mdc-evolution-chip__checkmark-path{stroke:var(--mdc-theme-text-icon-on-background)}.mdc-evolution-chip.mdc-evolution-chip--selected{background-color:var(--mdc-theme-surface-primary)}.mdc-evolution-chip.negative{background-color:var(--mdc-theme-surface-negative)}.mdc-evolution-chip.caution{background-color:var(--mdc-theme-surface-caution)}.mdc-evolution-chip.secondary{background-color:var(--mdc-theme-surface-secondary)}
|
483
|
+
`;var Nn=Object.defineProperty,Dn=Object.getOwnPropertyDescriptor,Ln=(i,t,e,n)=>{for(var r=n>1?void 0:n?Dn(t,e):t,o=i.length-1,a;o>=0;o--)(a=i[o])&&(r=(n?a(t,e,r):a(r))||r);return n&&r&&Nn(t,e,r),r};exports.CovalentChip=class extends x{};exports.CovalentChip.styles=[A.i`
|
484
|
+
${A.r(Pn)}
|
485
|
+
`];exports.CovalentChip=Ln([A.e("cv-chip")],exports.CovalentChip);/**
|
486
|
+
* @license
|
487
|
+
* Copyright 2016 Google Inc.
|
488
|
+
*
|
489
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
490
|
+
* of this software and associated documentation files (the "Software"), to deal
|
491
|
+
* in the Software without restriction, including without limitation the rights
|
492
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
493
|
+
* copies of the Software, and to permit persons to whom the Software is
|
494
|
+
* furnished to do so, subject to the following conditions:
|
495
|
+
*
|
496
|
+
* The above copyright notice and this permission notice shall be included in
|
497
|
+
* all copies or substantial portions of the Software.
|
498
|
+
*
|
499
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
500
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
501
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
502
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
503
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
504
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
505
|
+
* THE SOFTWARE.
|
506
|
+
*/var ae;(function(i){i.ARIA_MULTISELECTABLE="aria-multiselectable"})(ae||(ae={}));var Le;(function(i){i.CHIP="mdc-evolution-chip"})(Le||(Le={}));var B;(function(i){i.INTERACTION="MDCChipSet:interaction",i.REMOVAL="MDCChipSet:removal",i.SELECTION="MDCChipSet:selection"})(B||(B={}));/**
|
507
|
+
* @license
|
508
|
+
* Copyright 2020 Google Inc.
|
509
|
+
*
|
510
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
511
|
+
* of this software and associated documentation files (the "Software"), to deal
|
512
|
+
* in the Software without restriction, including without limitation the rights
|
513
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
514
|
+
* copies of the Software, and to permit persons to whom the Software is
|
515
|
+
* furnished to do so, subject to the following conditions:
|
516
|
+
*
|
517
|
+
* The above copyright notice and this permission notice shall be included in
|
518
|
+
* all copies or substantial portions of the Software.
|
519
|
+
*
|
520
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
521
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
522
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
523
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
524
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
525
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
526
|
+
* THE SOFTWARE.
|
527
|
+
*/var H;(function(i){i[i.INCREMENT=0]="INCREMENT",i[i.DECREMENT=1]="DECREMENT"})(H||(H={}));var xn=function(i){d.__extends(t,i);function t(e){return i.call(this,d.__assign(d.__assign({},t.defaultAdapter),e))||this}return Object.defineProperty(t,"defaultAdapter",{get:function(){return{announceMessage:function(){},emitEvent:function(){},getAttribute:function(){return null},getChipActionsAtIndex:function(){return[]},getChipCount:function(){return 0},getChipIdAtIndex:function(){return""},getChipIndexById:function(){return 0},isChipFocusableAtIndex:function(){return!1},isChipSelectableAtIndex:function(){return!1},isChipSelectedAtIndex:function(){return!1},removeChipAtIndex:function(){},setChipFocusAtIndex:function(){},setChipSelectedAtIndex:function(){},startChipAnimationAtIndex:function(){}}},enumerable:!1,configurable:!0}),t.prototype.handleChipAnimation=function(e){var n=e.detail,r=n.chipID,o=n.animation,a=n.isComplete,c=n.addedAnnouncement,l=n.removedAnnouncement,u=this.adapter.getChipIndexById(r);if(o===I.EXIT&&a){l&&this.adapter.announceMessage(l),this.removeAfterAnimation(u,r);return}if(o===I.ENTER&&a&&c){this.adapter.announceMessage(c);return}},t.prototype.handleChipInteraction=function(e){var n=e.detail,r=n.source,o=n.chipID,a=n.isSelectable,c=n.isSelected,l=n.shouldRemove,u=this.adapter.getChipIndexById(o);if(l){this.removeChip(u);return}this.focusChip(u,r,T.FOCUSABLE),this.adapter.emitEvent(B.INTERACTION,{chipIndex:u,chipID:o}),a&&this.setSelection(u,r,!c)},t.prototype.handleChipNavigation=function(e){var n=e.detail,r=n.chipID,o=n.key,a=n.isRTL,c=n.source,l=this.adapter.getChipIndexById(r),u=o===s.ARROW_RIGHT&&!a||o===s.ARROW_LEFT&&a;if(u){this.focusNextChipFrom(l+1);return}var p=o===s.ARROW_LEFT&&!a||o===s.ARROW_RIGHT&&a;if(p){this.focusPrevChipFrom(l-1);return}if(o===s.ARROW_DOWN){this.focusNextChipFrom(l+1,c);return}if(o===s.ARROW_UP){this.focusPrevChipFrom(l-1,c);return}if(o===s.HOME){this.focusNextChipFrom(0,c);return}if(o===s.END){this.focusPrevChipFrom(this.adapter.getChipCount()-1,c);return}},t.prototype.getSelectedChipIndexes=function(){for(var e,n,r=new Set,o=this.adapter.getChipCount(),a=0;a<o;a++){var c=this.adapter.getChipActionsAtIndex(a);try{for(var l=(e=void 0,d.__values(c)),u=l.next();!u.done;u=l.next()){var p=u.value;this.adapter.isChipSelectedAtIndex(a,p)&&r.add(a)}}catch(m){e={error:m}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(e)throw e.error}}}return r},t.prototype.setChipSelected=function(e,n,r){this.adapter.isChipSelectableAtIndex(e,n)&&this.setSelection(e,n,r)},t.prototype.isChipSelected=function(e,n){return this.adapter.isChipSelectedAtIndex(e,n)},t.prototype.removeChip=function(e){e>=this.adapter.getChipCount()||e<0||(this.adapter.startChipAnimationAtIndex(e,I.EXIT),this.adapter.emitEvent(B.REMOVAL,{chipID:this.adapter.getChipIdAtIndex(e),chipIndex:e,isComplete:!1}))},t.prototype.addChip=function(e){e>=this.adapter.getChipCount()||e<0||this.adapter.startChipAnimationAtIndex(e,I.ENTER)},t.prototype.focusNextChipFrom=function(e,n){for(var r=this.adapter.getChipCount(),o=e;o<r;o++){var a=this.getFocusableAction(o,H.INCREMENT,n);if(a){this.focusChip(o,a,T.FOCUSABLE_AND_FOCUSED);return}}},t.prototype.focusPrevChipFrom=function(e,n){for(var r=e;r>-1;r--){var o=this.getFocusableAction(r,H.DECREMENT,n);if(o){this.focusChip(r,o,T.FOCUSABLE_AND_FOCUSED);return}}},t.prototype.getFocusableAction=function(e,n,r){var o=this.adapter.getChipActionsAtIndex(e);return n===H.DECREMENT&&o.reverse(),r?this.getMatchingFocusableAction(e,o,r):this.getFirstFocusableAction(e,o)},t.prototype.getFirstFocusableAction=function(e,n){var r,o;try{for(var a=d.__values(n),c=a.next();!c.done;c=a.next()){var l=c.value;if(this.adapter.isChipFocusableAtIndex(e,l))return l}}catch(u){r={error:u}}finally{try{c&&!c.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return null},t.prototype.getMatchingFocusableAction=function(e,n,r){var o,a,c=null;try{for(var l=d.__values(n),u=l.next();!u.done;u=l.next()){var p=u.value;if(this.adapter.isChipFocusableAtIndex(e,p)&&(c=p),c===r)return c}}catch(m){o={error:m}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}return c},t.prototype.focusChip=function(e,n,r){var o,a;this.adapter.setChipFocusAtIndex(e,n,r);for(var c=this.adapter.getChipCount(),l=0;l<c;l++){var u=this.adapter.getChipActionsAtIndex(l);try{for(var p=(o=void 0,d.__values(u)),m=p.next();!m.done;m=p.next()){var S=m.value;S===n&&l===e||this.adapter.setChipFocusAtIndex(l,S,T.NOT_FOCUSABLE)}}catch(O){o={error:O}}finally{try{m&&!m.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}}},t.prototype.supportsMultiSelect=function(){return this.adapter.getAttribute(ae.ARIA_MULTISELECTABLE)==="true"},t.prototype.setSelection=function(e,n,r){var o,a;if(this.adapter.setChipSelectedAtIndex(e,n,r),this.adapter.emitEvent(B.SELECTION,{chipID:this.adapter.getChipIdAtIndex(e),chipIndex:e,isSelected:r}),!this.supportsMultiSelect())for(var c=this.adapter.getChipCount(),l=0;l<c;l++){var u=this.adapter.getChipActionsAtIndex(l);try{for(var p=(o=void 0,d.__values(u)),m=p.next();!m.done;m=p.next()){var S=m.value;S===n&&l===e||this.adapter.setChipSelectedAtIndex(l,S,!1)}}catch(O){o={error:O}}finally{try{m&&!m.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}}},t.prototype.removeAfterAnimation=function(e,n){this.adapter.removeChipAtIndex(e),this.adapter.emitEvent(B.REMOVAL,{chipIndex:e,isComplete:!0,chipID:n});var r=this.adapter.getChipCount();r<=0||this.focusNearestFocusableAction(e)},t.prototype.focusNearestFocusableAction=function(e){for(var n=this.adapter.getChipCount(),r=e,o=e;r>-1||o<n;){var a=this.getNearestFocusableAction(r,o,C.TRAILING);if(a){this.focusChip(a.index,a.action,T.FOCUSABLE_AND_FOCUSED);return}r--,o++}},t.prototype.getNearestFocusableAction=function(e,n,r){var o=this.getFocusableAction(e,H.DECREMENT,r);if(o)return{index:e,action:o};if(n===e)return null;var a=this.getFocusableAction(n,H.INCREMENT,r);return a?{index:n,action:a}:null},t}(V);/**
|
528
|
+
* @license
|
529
|
+
* Copyright 2020 Google Inc.
|
530
|
+
*
|
531
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
532
|
+
* of this software and associated documentation files (the "Software"), to deal
|
533
|
+
* in the Software without restriction, including without limitation the rights
|
534
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
535
|
+
* copies of the Software, and to permit persons to whom the Software is
|
536
|
+
* furnished to do so, subject to the following conditions:
|
537
|
+
*
|
538
|
+
* The above copyright notice and this permission notice shall be included in
|
539
|
+
* all copies or substantial portions of the Software.
|
540
|
+
*
|
541
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
542
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
543
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
544
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
545
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
546
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
547
|
+
* THE SOFTWARE.
|
548
|
+
*/var ce;(function(i){i.POLITE="polite",i.ASSERTIVE="assertive"})(ce||(ce={}));var Fn="data-mdc-dom-announce";function Mn(i,t){Un.getInstance().say(i,t)}var Un=function(){function i(){this.liveRegions=new Map}return i.getInstance=function(){return i.instance||(i.instance=new i),i.instance},i.prototype.say=function(t,e){var n,r,o=(n=e==null?void 0:e.priority)!==null&&n!==void 0?n:ce.POLITE,a=(r=e==null?void 0:e.ownerDocument)!==null&&r!==void 0?r:document,c=this.getLiveRegion(o,a);c.textContent="",setTimeout(function(){c.textContent=t,a.addEventListener("click",l)},1);function l(){c.textContent="",a.removeEventListener("click",l)}},i.prototype.getLiveRegion=function(t,e){var n=this.liveRegions.get(e);n||(n=new Map,this.liveRegions.set(e,n));var r=n.get(t);if(r&&e.body.contains(r))return r;var o=this.createLiveRegion(t,e);return n.set(t,o),o},i.prototype.createLiveRegion=function(t,e){var n=e.createElement("div");return n.style.position="absolute",n.style.top="-9999px",n.style.left="-9999px",n.style.height="1px",n.style.overflow="hidden",n.setAttribute("aria-atomic","true"),n.setAttribute("aria-live",t),n.setAttribute(Fn,"true"),e.body.appendChild(n),n},i}(),zn=Object.defineProperty,Hn=Object.getOwnPropertyDescriptor,J=(i,t,e,n)=>{for(var r=n>1?void 0:n?Hn(t,e):t,o=i.length-1,a;o>=0;o--)(a=i[o])&&(r=(n?a(t,e,r):a(r))||r);return n&&r&&zn(t,e,r),r};class $ extends A.s{constructor(){super(...arguments),this.selectable=!1,this.multi=!1,this.label="",this.activeIndex=0,this._previousActiveIndex=-1,this.chips=[]}render(){return A.x`<span
|
549
|
+
class="mdc-evolution-chip-set"
|
550
|
+
role="${this.selectable||this.multi?"listbox":"grid"}"
|
551
|
+
aria-label="${this.label}"
|
552
|
+
aria-multiselectable="${this.multi}"
|
553
|
+
>
|
554
|
+
<span class="mdc-evolution-chip-set__chips" role="presentation">
|
555
|
+
<slot></slot>
|
556
|
+
</span>
|
557
|
+
</span>`}async updated(t){super.updated(t),await this.updateComplete,this.activeIndex!=this._previousActiveIndex&&this.mdcFoundation.setChipSelected(this.activeIndex,C.PRIMARY,!0)}firstUpdated(t){var r;super.firstUpdated(t);const e=(r=this.shadowRoot)==null?void 0:r.querySelector("slot"),n=(e==null?void 0:e.assignedElements().filter(o=>o instanceof exports.CovalentChip))??[];for(let o=0;o<n.length;o++){const a=n[o];this.chips.push(a)}this.mdcFoundation!==void 0&&this.mdcFoundation.destroy(),this.mdcFoundation=new xn(this.createAdapter()),this.mdcFoundation.init()}connectedCallback(){super.connectedCallback(),this.addEventListener(w.ANIMATION,this._handleChipAnimation),this.addEventListener(w.INTERACTION,this._handleChipInteraction),this.addEventListener(w.NAVIGATION,this._handleChipNavigation)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(w.ANIMATION,this._handleChipAnimation),this.removeEventListener(w.INTERACTION,this._handleChipInteraction),this.removeEventListener(w.NAVIGATION,this._handleChipNavigation)}createAdapter(){return{announceMessage:Mn,emitEvent:(t,e)=>this.dispatchEvent(new CustomEvent(t,{bubbles:!0,detail:e})),getAttribute:t=>this.mdcRoot.getAttribute(t),getChipActionsAtIndex:t=>this.chips[t].getActions(),getChipCount:()=>this.chips.length,getChipIdAtIndex:t=>this.chips[t].getElementID(),getChipIndexById:t=>this.chips.findIndex(e=>e.getElementID()===t),isChipFocusableAtIndex:(t,e)=>this.chips[t].isActionFocusable(e),isChipSelectableAtIndex:(t,e)=>this.chips[t].isActionSelectable(e),isChipSelectedAtIndex:(t,e)=>this.chips[t].isActionSelected(e),removeChipAtIndex:t=>this.chips[t].remove(),setChipFocusAtIndex:(t,e,n)=>this.chips[t].setActionFocus(e,n),setChipSelectedAtIndex:(t,e,n)=>this.chips[t].setActionSelected(e,n),startChipAnimationAtIndex:(t,e)=>this.chips[t].startAnimation(e)}}_handleChipAnimation(t){this.mdcFoundation.handleChipAnimation(t)}_handleChipInteraction(t){this.mdcFoundation.handleChipInteraction(t)}_handleChipNavigation(t){this.mdcFoundation.handleChipNavigation(t)}}J([xe.i(".mdc-evolution-chip-set")],$.prototype,"mdcRoot",2);J([R.n({type:Boolean,reflect:!0})],$.prototype,"selectable",2);J([R.n({type:Boolean,reflect:!0})],$.prototype,"multi",2);J([R.n()],$.prototype,"label",2);J([R.n({type:Number})],$.prototype,"activeIndex",2);const kn=`.mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}::slotted(cv-chip){margin:4px 0 4px 8px}[dir=rtl] ::slotted(cv-chip),::slotted(cv-chip[dir=rtl]){margin-left:0;margin-right:8px}
|
558
|
+
`;var jn=Object.defineProperty,Bn=Object.getOwnPropertyDescriptor,qn=(i,t,e,n)=>{for(var r=n>1?void 0:n?Bn(t,e):t,o=i.length-1,a;o>=0;o--)(a=i[o])&&(r=(n?a(t,e,r):a(r))||r);return n&&r&&jn(t,e,r),r};exports.CovalentChipSet=class extends ${};exports.CovalentChipSet.styles=[A.i`
|
559
|
+
${A.r(kn)}
|
560
|
+
`];exports.CovalentChipSet=qn([A.e("cv-chip-set")],exports.CovalentChipSet);Object.defineProperty(exports,"CovalentActionRibbon",{enumerable:!0,get:()=>ot.CovalentActionRibbon});Object.defineProperty(exports,"CovalentAlert",{enumerable:!0,get:()=>at.CovalentAlert});Object.defineProperty(exports,"CovalentAppShell",{enumerable:!0,get:()=>ct.CovalentAppShell});Object.defineProperty(exports,"CovalentButton",{enumerable:!0,get:()=>lt.CovalentButton});Object.defineProperty(exports,"CovalentCheckbox",{enumerable:!0,get:()=>st.CovalentCheckbox});Object.defineProperty(exports,"CovalentCard",{enumerable:!0,get:()=>ut.CovalentCard});Object.defineProperty(exports,"CovalentCodeSnippet",{enumerable:!0,get:()=>_.CovalentCodeSnippet});Object.defineProperty(exports,"CovalentCircularProgress",{enumerable:!0,get:()=>ht.CovalentCircularProgress});Object.defineProperty(exports,"CovalentDialog",{enumerable:!0,get:()=>mt.CovalentDialog});Object.defineProperty(exports,"CovalentDrawer",{enumerable:!0,get:()=>ft.CovalentDrawer});Object.defineProperty(exports,"CovalentEmptyState",{enumerable:!0,get:()=>vt.CovalentEmptyState});Object.defineProperty(exports,"CovalentIcon",{enumerable:!0,get:()=>gt.CovalentIcon});Object.defineProperty(exports,"CovalentIconButton",{enumerable:!0,get:()=>_t.CovalentIconButton});Object.defineProperty(exports,"CovalentIconCheckToggle",{enumerable:!0,get:()=>bt.CovalentIconCheckToggle});Object.defineProperty(exports,"CovalentIconRadioToggle",{enumerable:!0,get:()=>yt.CovalentIconRadioToggle});Object.defineProperty(exports,"CovalentLinearProgress",{enumerable:!0,get:()=>At.CovalentLinearProgress});Object.defineProperty(exports,"CovalentCheckListItem",{enumerable:!0,get:()=>Et.CovalentCheckListItem});Object.defineProperty(exports,"CovalentList",{enumerable:!0,get:()=>St.CovalentList});Object.defineProperty(exports,"CovalentListItem",{enumerable:!0,get:()=>Ct.CovalentListItem});Object.defineProperty(exports,"CovalentNavRailListItem",{enumerable:!0,get:()=>wt.CovalentNavRailListItem});Object.defineProperty(exports,"CovalentRadioListItem",{enumerable:!0,get:()=>It.CovalentRadioListItem});Object.defineProperty(exports,"CovalentMenu",{enumerable:!0,get:()=>Tt.CovalentMenu});Object.defineProperty(exports,"CovalentRadio",{enumerable:!0,get:()=>Rt.CovalentRadio});Object.defineProperty(exports,"CovalentSelect",{enumerable:!0,get:()=>Ot.CovalentSelect});Object.defineProperty(exports,"CovalentSideSheet",{enumerable:!0,get:()=>Pt.CovalentSideSheet});Object.defineProperty(exports,"CovalentSlider",{enumerable:!0,get:()=>Nt.CovalentSlider});Object.defineProperty(exports,"CovalentSliderRange",{enumerable:!0,get:()=>Dt.CovalentSliderRange});Object.defineProperty(exports,"CovalentSnackbar",{enumerable:!0,get:()=>Lt.CovalentSnackbar});Object.defineProperty(exports,"CovalentStatusHeader",{enumerable:!0,get:()=>xt.CovalentStatusHeader});Object.defineProperty(exports,"CovalentStatusHeaderItem",{enumerable:!0,get:()=>Ft.CovalentStatusHeaderItem});Object.defineProperty(exports,"CovalentSwitch",{enumerable:!0,get:()=>Mt.CovalentSwitch});Object.defineProperty(exports,"CovalentTab",{enumerable:!0,get:()=>Ut.CovalentTab});Object.defineProperty(exports,"CovalentTabBar",{enumerable:!0,get:()=>zt.CovalentTabBar});Object.defineProperty(exports,"CovalentTextArea",{enumerable:!0,get:()=>Ht.CovalentTextArea});Object.defineProperty(exports,"CovalentTextField",{enumerable:!0,get:()=>kt.CovalentTextField});Object.defineProperty(exports,"CovalentTextLockup",{enumerable:!0,get:()=>jt.CovalentTextLockup});Object.defineProperty(exports,"CovalentToolbar",{enumerable:!0,get:()=>Bt.CovalentToolbar});Object.defineProperty(exports,"CovalentTooltip",{enumerable:!0,get:()=>qt.CovalentTooltip});Object.defineProperty(exports,"CovalentTopAppBar",{enumerable:!0,get:()=>Gt.CovalentTopAppBar});Object.defineProperty(exports,"CovalentTopAppBarFixed",{enumerable:!0,get:()=>Wt.CovalentTopAppBarFixed});Object.defineProperty(exports,"CovalentTreeList",{enumerable:!0,get:()=>Kt.CovalentTreeList});Object.defineProperty(exports,"CovalentTreeListItem",{enumerable:!0,get:()=>$t.CovalentTreeListItem});Object.defineProperty(exports,"CovalentTypography",{enumerable:!0,get:()=>Xt.CovalentTypography});
|