@covalent/components 8.1.0-beta.6 → 8.1.0-beta.7

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.
Files changed (183) hide show
  1. package/action-ribbon.js +2 -3
  2. package/action-ribbon.mjs +9 -10
  3. package/alert.js +2 -3
  4. package/alert.mjs +9 -10
  5. package/app-shell.js +1 -2
  6. package/app-shell.mjs +27 -28
  7. package/{base-element-67ae173f.mjs → base-element--jaKdI-8.mjs} +2 -2
  8. package/{base-element-58a3f9ea.js → base-element-atp_8bvP.js} +1 -1
  9. package/button.js +2 -3
  10. package/button.mjs +15 -16
  11. package/card.js +2 -3
  12. package/card.mjs +4 -5
  13. package/check-list-item.js +11 -15
  14. package/check-list-item.mjs +62 -68
  15. package/checkbox.js +1 -2
  16. package/checkbox.mjs +23 -25
  17. package/{chip-3c12a33d.js → chip-M5Vb5Kd6.js} +32 -33
  18. package/{chip-13877bb8.mjs → chip-m2mKzWQT.mjs} +82 -83
  19. package/chip-set.js +2 -3
  20. package/chip-set.mjs +9 -10
  21. package/chip.js +1 -1
  22. package/chip.mjs +8 -8
  23. package/circular-progress.js +1 -1
  24. package/circular-progress.mjs +7 -7
  25. package/{class-map-4b94b017.mjs → class-map-YPXv0Hj4.mjs} +1 -1
  26. package/{class-map-b5efe8da.js → class-map-wtcW44Of.js} +1 -1
  27. package/code-snippet.js +5 -6
  28. package/code-snippet.mjs +97 -98
  29. package/{dialog-82b03745.js → dialog-SpbwRuWY.js} +6 -7
  30. package/{dialog-3444dd4d.mjs → dialog-tIMorfuj.mjs} +53 -55
  31. package/dialog.js +1 -1
  32. package/dialog.mjs +10 -10
  33. package/{directive-helpers-0ce1f995.js → directive-helpers--rJ2jf3N.js} +1 -1
  34. package/{directive-helpers-e3ea6592.mjs → directive-helpers-9566lOOl.mjs} +1 -1
  35. package/drawer.js +2 -3
  36. package/drawer.mjs +11 -12
  37. package/empty-state.js +1 -2
  38. package/empty-state.mjs +5 -6
  39. package/{event-options-78d6cf94.mjs → event-options-0xzSdemG.mjs} +1 -1
  40. package/{event-options-3f5eb195.js → event-options-2TJPtsKy.js} +1 -1
  41. package/expansion-panel-item.js +1 -2
  42. package/expansion-panel-item.mjs +5 -6
  43. package/expansion-panel.js +1 -1
  44. package/expansion-panel.mjs +2 -2
  45. package/{form-element-c553d6f5.js → form-element-5s8gft-A.js} +1 -1
  46. package/{form-element-7353b3c4.mjs → form-element-gM33WEq3.mjs} +4 -4
  47. package/formfield.js +6 -7
  48. package/formfield.mjs +20 -22
  49. package/{foundation-786bf879.js → foundation-1Vzfdey_.js} +1 -1
  50. package/{foundation-eff81c1e.mjs → foundation-3Wg80pI7.mjs} +1 -1
  51. package/icon-button.js +2 -3
  52. package/icon-button.mjs +14 -15
  53. package/icon-check-toggle.js +4 -5
  54. package/icon-check-toggle.mjs +22 -24
  55. package/icon-radio-toggle.js +4 -5
  56. package/icon-radio-toggle.mjs +25 -27
  57. package/icon.js +1 -5
  58. package/icon.mjs +15 -21
  59. package/{if-defined-c367f208.mjs → if-defined-BH_l2PVl.mjs} +1 -1
  60. package/{if-defined-f1c45245.js → if-defined-lAIUwAsA.js} +1 -1
  61. package/index.js +1 -1
  62. package/index.mjs +124 -126
  63. package/{inert.esm-359d4581.mjs → inert.esm-vhZXthJr.mjs} +1 -1
  64. package/linear-progress.js +2 -3
  65. package/linear-progress.mjs +10 -11
  66. package/list-item-F2e6aWaj.mjs +11 -0
  67. package/list-item-Ze98reWt.js +5 -0
  68. package/list-item.js +3 -3
  69. package/list-item.mjs +25 -25
  70. package/list.js +3 -8
  71. package/list.mjs +31 -37
  72. package/menu.js +1 -5
  73. package/menu.mjs +28 -34
  74. package/{mwc-checkbox.css-b3434429.js → mwc-checkbox.css-JOD-Qh-9.js} +42 -2
  75. package/{mwc-checkbox.css-8f4f1a9b.mjs → mwc-checkbox.css-c44nPIEs.mjs} +198 -3
  76. package/{mwc-drawer-base-0c2b4060.mjs → mwc-drawer-base-8e_1aSuf.mjs} +24 -26
  77. package/{mwc-drawer-base-798b11f8.js → mwc-drawer-base-Fv3JVYPS.js} +5 -5
  78. package/{mwc-icon-28b10c70.mjs → mwc-icon-eaW72Ei7.mjs} +6 -5
  79. package/{mwc-icon-f87639bc.js → mwc-icon-r2y4-AXI.js} +2 -2
  80. package/{mwc-line-ripple-directive-315e996d.mjs → mwc-line-ripple-directive-Q_HMRGPE.mjs} +6 -6
  81. package/{mwc-line-ripple-directive-a6b39a3c.js → mwc-line-ripple-directive-iRoAkPnW.js} +1 -1
  82. package/{list-item-1fc0d619.mjs → mwc-list-item.css-d-SHhq7Q.mjs} +199 -9
  83. package/{list-item-209613bf.js → mwc-list-item.css-yJ5bjNGc.js} +28 -6
  84. package/mwc-list.css-DjU8XB1m.js +111 -0
  85. package/{mwc-list-base-8aa5bfd8.mjs → mwc-list.css-_OVL_dbR.mjs} +213 -212
  86. package/{mwc-menu-base-872420a4.mjs → mwc-menu.css-cKtc1ZD4.mjs} +74 -75
  87. package/mwc-menu.css-qavo4jer.js +190 -0
  88. package/{mwc-radio-base-18a887dd.mjs → mwc-radio.css-_lt-Vcvl.mjs} +123 -117
  89. package/mwc-radio.css-h_Wv0Eag.js +105 -0
  90. package/{mwc-slider.css-c7107d94.js → mwc-slider.css-lCfMVbO5.js} +1 -1
  91. package/{mwc-slider.css-03537082.mjs → mwc-slider.css-md7hPAE7.mjs} +11 -11
  92. package/{mwc-tab-base-cd1570e4.mjs → mwc-tab.css-lT5vTf5I.mjs} +127 -123
  93. package/{mwc-tab-base-f28722aa.js → mwc-tab.css-q4Jsbyp5.js} +26 -22
  94. package/{mwc-top-app-bar-base-aec60f27.js → mwc-top-app-bar-base-8qOIX1me.js} +3 -3
  95. package/{mwc-top-app-bar-base-c7380903.mjs → mwc-top-app-bar-base-nm6mdCR3.mjs} +12 -13
  96. package/nav-list-item.js +5 -6
  97. package/nav-list-item.mjs +37 -38
  98. package/package.json +1 -1
  99. package/{query-d843aa92.mjs → query-1WmuF6Bq.mjs} +1 -1
  100. package/{query-assigned-nodes-99eae71d.js → query-assigned-nodes-1p7z6CEm.js} +1 -1
  101. package/{query-assigned-nodes-df691e78.mjs → query-assigned-nodes-6yHI5ePh.mjs} +1 -1
  102. package/{query-680f1868.js → query-duvhtfSs.js} +1 -1
  103. package/radio-list-item.js +9 -13
  104. package/radio-list-item.mjs +58 -64
  105. package/radio.js +1 -2
  106. package/radio.mjs +23 -25
  107. package/{ripple-handlers-38a43e50.mjs → ripple-handlers-BwaZu9Ps.mjs} +16 -17
  108. package/{ripple-handlers-5d5b21db.js → ripple-handlers-HeGhXgD2.js} +8 -8
  109. package/select.js +10 -15
  110. package/select.mjs +139 -147
  111. package/side-sheet.js +1 -2
  112. package/side-sheet.mjs +11 -12
  113. package/slider-range.js +1 -1
  114. package/slider-range.mjs +14 -14
  115. package/slider.js +1 -1
  116. package/slider.mjs +14 -14
  117. package/snackbar.js +10 -11
  118. package/snackbar.mjs +34 -36
  119. package/{state-0974a8e5.js → state-LqPxt99W.js} +1 -1
  120. package/{state-b5e865db.mjs → state-inNZe6rL.mjs} +1 -1
  121. package/status-header-item.js +1 -2
  122. package/status-header-item.mjs +3 -4
  123. package/status-header.js +2 -3
  124. package/status-header.mjs +4 -5
  125. package/{style-map-88d2563f.js → style-map-66_3wrLx.js} +1 -1
  126. package/{style-map-bc3ed3e0.mjs → style-map-8yp6DGeh.mjs} +2 -2
  127. package/style.css +1 -1
  128. package/switch.js +2 -3
  129. package/switch.mjs +15 -16
  130. package/tab-bar.js +18 -22
  131. package/tab-bar.mjs +195 -203
  132. package/tab.js +1 -6
  133. package/tab.mjs +26 -32
  134. package/text-lockup.js +1 -2
  135. package/text-lockup.mjs +8 -9
  136. package/textarea.js +15 -19
  137. package/textarea.mjs +59 -65
  138. package/textfield-7aU1kEO6.mjs +936 -0
  139. package/textfield-jvevIGSw.js +136 -0
  140. package/textfield.js +3 -7
  141. package/textfield.mjs +30 -36
  142. package/toolbar.js +1 -2
  143. package/toolbar.mjs +9 -10
  144. package/tooltip.js +2 -3
  145. package/tooltip.mjs +9 -10
  146. package/top-app-bar-fixed.js +6 -6
  147. package/top-app-bar-fixed.mjs +27 -28
  148. package/{top-app-bar-f83386e0.mjs → top-app-bar-h0V-USh_.mjs} +2 -3
  149. package/{top-app-bar-a531c1b4.js → top-app-bar-qcW2ucE3.js} +2 -3
  150. package/top-app-bar.js +1 -1
  151. package/top-app-bar.mjs +9 -9
  152. package/tree-list-item.js +1 -2
  153. package/tree-list-item.mjs +6 -7
  154. package/tree-list.js +1 -2
  155. package/tree-list.mjs +2 -3
  156. package/typography.js +1 -2
  157. package/typography.mjs +3 -4
  158. package/mwc-checkbox-base-3d8c9549.js +0 -41
  159. package/mwc-checkbox-base-afeeff16.mjs +0 -198
  160. package/mwc-list-base-400b00e2.js +0 -111
  161. package/mwc-list-item-base-297d86b0.js +0 -28
  162. package/mwc-list-item-base-bf1a075b.mjs +0 -202
  163. package/mwc-menu-base-c75ca473.js +0 -190
  164. package/mwc-radio-base-913e02e2.js +0 -101
  165. package/mwc-radio.css-4e140252.js +0 -5
  166. package/mwc-radio.css-7454bb11.mjs +0 -10
  167. package/textfield-62e16cc2.js +0 -133
  168. package/textfield-a2e37241.mjs +0 -932
  169. /package/{_commonjsHelpers-de2741aa.mjs → _commonjsHelpers-ZPn_iTGj.mjs} +0 -0
  170. /package/{_commonjsHelpers-2367a3a2.js → _commonjsHelpers-fFrWAeZI.js} +0 -0
  171. /package/{aria-property-849c8816.js → aria-property-52VAcg_f.js} +0 -0
  172. /package/{aria-property-fa2717fe.mjs → aria-property-wYjPNXcK.mjs} +0 -0
  173. /package/{inert.esm-2cee6f2e.js → inert.esm-TSRtlTFV.js} +0 -0
  174. /package/{observer-a096ab43.js → observer-LlGBroG9.js} +0 -0
  175. /package/{observer-be7b92e2.mjs → observer-cKAgu-MI.mjs} +0 -0
  176. /package/{property-9b6ea53b.mjs → property-K7hFBmOi.mjs} +0 -0
  177. /package/{property-57f6f6fe.js → property-iZpLBvy-.js} +0 -0
  178. /package/{query-assigned-elements-f623705d.js → query-assigned-elements-j_5ZiL65.js} +0 -0
  179. /package/{query-assigned-elements-4a39219d.mjs → query-assigned-elements-yFWOzcsT.mjs} +0 -0
  180. /package/{tslib.es6-98719205.js → tslib.es6-5xG0QhxF.js} +0 -0
  181. /package/{tslib.es6-226581a4.mjs → tslib.es6-S8SvF2K1.mjs} +0 -0
  182. /package/{utils-a8190a39.js → utils-W3ENJhq-.js} +0 -0
  183. /package/{utils-2932417c.mjs → utils-xAXEDL0Y.mjs} +0 -0
@@ -1,31 +1,31 @@
1
- "use strict";var Vt=Object.defineProperty;var qt=(t,e,i)=>e in t?Vt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var h=(t,e,i)=>(qt(t,typeof e!="symbol"?e+"":e,i),i);const S=require("./query-assigned-elements-f623705d.js"),Yt=require("./utils-a8190a39.js"),u=require("./tslib.es6-98719205.js"),L=require("./property-57f6f6fe.js"),Xt=require("./query-680f1868.js"),Zt=require("./class-map-b5efe8da.js"),_=require("./_commonjsHelpers-2367a3a2.js");var C={};/**
1
+ "use strict";var $t=Object.defineProperty;var Vt=(t,e,i)=>e in t?$t(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var h=(t,e,i)=>(Vt(t,typeof e!="symbol"?e+"":e,i),i);const S=require("./query-assigned-elements-j_5ZiL65.js"),qt=require("./utils-W3ENJhq-.js"),d=require("./tslib.es6-5xG0QhxF.js"),L=require("./property-iZpLBvy-.js"),Yt=require("./query-duvhtfSs.js"),Xt=require("./class-map-wtcW44Of.js"),_=require("./_commonjsHelpers-fFrWAeZI.js");var C={};/**
2
2
  * @license
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */const w={};function F(t){if(t!==w)throw new Error("Bad secret")}/**
5
5
  * @license
6
6
  * SPDX-License-Identifier: Apache-2.0
7
- */class Tt{constructor(){h(this,"brand")}}class Dt extends Tt{constructor(i,n){super();h(this,"privateDoNotAccessOrElseWrappedAttrPrefix");process.env.NODE_ENV!=="production"&&F(n),this.privateDoNotAccessOrElseWrappedAttrPrefix=i}toString(){return this.privateDoNotAccessOrElseWrappedAttrPrefix}}function Rt(t){return new Dt(t,w)}function Ct(t){if(t instanceof Dt)return t.privateDoNotAccessOrElseWrappedAttrPrefix;{let e="";throw process.env.NODE_ENV!=="production"&&(e="Unexpected type when unwrapping SafeAttributePrefix"),new Error(e)}}const Jt=Object.freeze(Object.defineProperty({__proto__:null,SafeAttributePrefix:Tt,createAttributePrefix:Rt,unwrapAttributePrefix:Ct},Symbol.toStringTag,{value:"Module"}));/**
7
+ */class Tt{constructor(){h(this,"brand")}}class Dt extends Tt{constructor(i,n){super();h(this,"privateDoNotAccessOrElseWrappedAttrPrefix");process.env.NODE_ENV!=="production"&&F(n),this.privateDoNotAccessOrElseWrappedAttrPrefix=i}toString(){return this.privateDoNotAccessOrElseWrappedAttrPrefix}}function Rt(t){return new Dt(t,w)}function Ct(t){if(t instanceof Dt)return t.privateDoNotAccessOrElseWrappedAttrPrefix;{let e="";throw process.env.NODE_ENV!=="production"&&(e="Unexpected type when unwrapping SafeAttributePrefix"),new Error(e)}}const Zt=Object.freeze(Object.defineProperty({__proto__:null,SafeAttributePrefix:Tt,createAttributePrefix:Rt,unwrapAttributePrefix:Ct},Symbol.toStringTag,{value:"Module"}));/**
8
8
  * @license
9
9
  * SPDX-License-Identifier: Apache-2.0
10
10
  */function B(t,e,i){if(!Array.isArray(t)||!Array.isArray(t.raw)||!e&&t.length!==1)throw new TypeError(i)}/**
11
11
  * @license
12
12
  * SPDX-License-Identifier: Apache-2.0
13
- */const Qt=["href","rel","src","srcdoc","action","formaction","sandbox","cite","poster","icon"];/**
13
+ */const Jt=["href","rel","src","srcdoc","action","formaction","sandbox","cite","poster","icon"];/**
14
14
  * @license
15
15
  * SPDX-License-Identifier: Apache-2.0
16
- */function te(t){process.env.NODE_ENV!=="production"&&B(t,!0,"safeAttr is a template literal tag function and should be called using the tagged template syntax. For example, safeAttr`foo`;");const e=t[0].toLowerCase();if(process.env.NODE_ENV!=="production"){if(e.indexOf("on")===0||"on".indexOf(e)===0)throw new Error(`Prefix '${t[0]}' does not guarantee the attribute to be safe as it is also a prefix for event handler attributesPlease use 'addEventListener' to set event handlers.`);Qt.forEach(i=>{if(i.indexOf(e)===0)throw new Error(`Prefix '${t[0]}' does not guarantee the attribute to be safe as it is also a prefix for the security sensitive attribute '${i}'. Please use native or safe DOM APIs to set the attribute.`)})}return Rt(e)}const ee=Object.freeze(Object.defineProperty({__proto__:null,safeAttrPrefix:te},Symbol.toStringTag,{value:"Module"})),ie=_.getAugmentedNamespace(ee);/**
16
+ */function Qt(t){process.env.NODE_ENV!=="production"&&B(t,!0,"safeAttr is a template literal tag function and should be called using the tagged template syntax. For example, safeAttr`foo`;");const e=t[0].toLowerCase();if(process.env.NODE_ENV!=="production"){if(e.indexOf("on")===0||"on".indexOf(e)===0)throw new Error(`Prefix '${t[0]}' does not guarantee the attribute to be safe as it is also a prefix for event handler attributesPlease use 'addEventListener' to set event handlers.`);Jt.forEach(i=>{if(i.indexOf(e)===0)throw new Error(`Prefix '${t[0]}' does not guarantee the attribute to be safe as it is also a prefix for the security sensitive attribute '${i}'. Please use native or safe DOM APIs to set the attribute.`)})}return Rt(e)}const te=Object.freeze(Object.defineProperty({__proto__:null,safeAttrPrefix:Qt},Symbol.toStringTag,{value:"Module"})),ee=_.getAugmentedNamespace(te);/**
17
17
  * @license
18
18
  * SPDX-License-Identifier: Apache-2.0
19
- */let It="google#safe";function ne(){if(typeof window<"u")return window.trustedTypes}function G(){return It!==""?ne()??null:null}let V;function tt(){var t;if(V===void 0)try{V=((t=G())==null?void 0:t.createPolicy(It,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))??null}catch{V=null}return V}/**
19
+ */let ie="google#safe";function ne(){if(typeof window<"u")return window.trustedTypes}function G(){return ne()??null}let V;function tt(){var t;if(V===void 0)try{V=((t=G())==null?void 0:t.createPolicy(ie,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))??null}catch{V=null}return V}/**
20
20
  * @license
21
21
  * SPDX-License-Identifier: Apache-2.0
22
- */class et{constructor(e,i){h(this,"privateDoNotAccessOrElseWrappedHtml");process.env.NODE_ENV!=="production"&&F(i),this.privateDoNotAccessOrElseWrappedHtml=e}toString(){return this.privateDoNotAccessOrElseWrappedHtml.toString()}}function Nt(t,e){return e??new et(t,w)}const re=typeof window!==void 0?window.TrustedHTML:void 0,Ot=re??et;function x(t){var i;const e=t;return Nt(e,(i=tt())==null?void 0:i.createHTML(e))}const oe=(()=>{var t;return Nt("",(t=G())==null?void 0:t.emptyHTML)})();function ae(t){return t instanceof Ot}function it(t){var e;if((e=G())!=null&&e.isHTML(t))return t;if(t instanceof et)return t.privateDoNotAccessOrElseWrappedHtml;{let i="";throw process.env.NODE_ENV!=="production"&&(i="Unexpected type when unwrapping SafeHtml"),new Error(i)}}const ce=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_HTML:oe,SafeHtml:Ot,createHtml:x,isHtml:ae,unwrapHtml:it},Symbol.toStringTag,{value:"Module"}));/**
22
+ */class et{constructor(e,i){h(this,"privateDoNotAccessOrElseWrappedHtml");process.env.NODE_ENV!=="production"&&F(i),this.privateDoNotAccessOrElseWrappedHtml=e}toString(){return this.privateDoNotAccessOrElseWrappedHtml.toString()}}function It(t,e){return e??new et(t,w)}const re=typeof window!==void 0?window.TrustedHTML:void 0,Nt=re??et;function x(t){var i;const e=t;return It(e,(i=tt())==null?void 0:i.createHTML(e))}const oe=(()=>{var t;return It("",(t=G())==null?void 0:t.emptyHTML)})();function ae(t){return t instanceof Nt}function it(t){var e;if((e=G())!=null&&e.isHTML(t))return t;if(t instanceof et)return t.privateDoNotAccessOrElseWrappedHtml;{let i="";throw process.env.NODE_ENV!=="production"&&(i="Unexpected type when unwrapping SafeHtml"),new Error(i)}}const ce=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_HTML:oe,SafeHtml:Nt,createHtml:x,isHtml:ae,unwrapHtml:it},Symbol.toStringTag,{value:"Module"}));/**
23
23
  * @license
24
24
  * SPDX-License-Identifier: Apache-2.0
25
- */class nt{constructor(e,i){h(this,"privateDoNotAccessOrElseWrappedResourceUrl");process.env.NODE_ENV!=="production"&&F(i),this.privateDoNotAccessOrElseWrappedResourceUrl=e}toString(){return this.privateDoNotAccessOrElseWrappedResourceUrl.toString()}}const se=typeof window!==void 0?window.TrustedScriptURL:void 0,Pt=se??nt;function H(t){var n;const e=t;return((n=tt())==null?void 0:n.createScriptURL(e))??new nt(e,w)}function le(t){return t instanceof Pt}function J(t){var e;if((e=G())!=null&&e.isScriptURL(t))return t;if(t instanceof nt)return t.privateDoNotAccessOrElseWrappedResourceUrl;{let i="";throw process.env.NODE_ENV!=="production"&&(i="Unexpected type when unwrapping TrustedResourceUrl"),new Error(i)}}const ue=Object.freeze(Object.defineProperty({__proto__:null,TrustedResourceUrl:Pt,createResourceUrl:H,isResourceUrl:le,unwrapResourceUrl:J},Symbol.toStringTag,{value:"Module"}));/**
25
+ */class nt{constructor(e,i){h(this,"privateDoNotAccessOrElseWrappedResourceUrl");process.env.NODE_ENV!=="production"&&F(i),this.privateDoNotAccessOrElseWrappedResourceUrl=e}toString(){return this.privateDoNotAccessOrElseWrappedResourceUrl.toString()}}const se=typeof window!==void 0?window.TrustedScriptURL:void 0,Ot=se??nt;function H(t){var n;const e=t;return((n=tt())==null?void 0:n.createScriptURL(e))??new nt(e,w)}function le(t){return t instanceof Ot}function J(t){var e;if((e=G())!=null&&e.isScriptURL(t))return t;if(t instanceof nt)return t.privateDoNotAccessOrElseWrappedResourceUrl;{let i="";throw process.env.NODE_ENV!=="production"&&(i="Unexpected type when unwrapping TrustedResourceUrl"),new Error(i)}}const de=Object.freeze(Object.defineProperty({__proto__:null,TrustedResourceUrl:Ot,createResourceUrl:H,isResourceUrl:le,unwrapResourceUrl:J},Symbol.toStringTag,{value:"Module"}));/**
26
26
  * @license
27
27
  * SPDX-License-Identifier: Apache-2.0
28
- */class rt{constructor(e,i){h(this,"privateDoNotAccessOrElseWrappedScript");process.env.NODE_ENV!=="production"&&F(i),this.privateDoNotAccessOrElseWrappedScript=e}toString(){return this.privateDoNotAccessOrElseWrappedScript.toString()}}function Lt(t,e){return e??new rt(t,w)}const de=typeof window!==void 0?window.TrustedScript:void 0,Ft=de??rt;function W(t){var i;const e=t;return Lt(e,(i=tt())==null?void 0:i.createScript(e))}const pe=(()=>{var t;return Lt("",(t=G())==null?void 0:t.emptyScript)})();function he(t){return t instanceof Ft}function Q(t){var e;if((e=G())!=null&&e.isScript(t))return t;if(t instanceof rt)return t.privateDoNotAccessOrElseWrappedScript;{let i="";throw process.env.NODE_ENV!=="production"&&(i="Unexpected type when unwrapping SafeScript"),new Error(i)}}const me=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_SCRIPT:pe,SafeScript:Ft,createScript:W,isScript:he,unwrapScript:Q},Symbol.toStringTag,{value:"Module"}));/**
28
+ */class rt{constructor(e,i){h(this,"privateDoNotAccessOrElseWrappedScript");process.env.NODE_ENV!=="production"&&F(i),this.privateDoNotAccessOrElseWrappedScript=e}toString(){return this.privateDoNotAccessOrElseWrappedScript.toString()}}function Pt(t,e){return e??new rt(t,w)}const ue=typeof window!==void 0?window.TrustedScript:void 0,Lt=ue??rt;function W(t){var i;const e=t;return Pt(e,(i=tt())==null?void 0:i.createScript(e))}const pe=(()=>{var t;return Pt("",(t=G())==null?void 0:t.emptyScript)})();function he(t){return t instanceof Lt}function Q(t){var e;if((e=G())!=null&&e.isScript(t))return t;if(t instanceof rt)return t.privateDoNotAccessOrElseWrappedScript;{let i="";throw process.env.NODE_ENV!=="production"&&(i="Unexpected type when unwrapping SafeScript"),new Error(i)}}const me=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_SCRIPT:pe,SafeScript:Lt,createScript:W,isScript:he,unwrapScript:Q},Symbol.toStringTag,{value:"Module"}));/**
29
29
  * @license
30
30
  * SPDX-License-Identifier: Apache-2.0
31
31
  */function fe(t,e={}){let i=z(t);return e.preserveSpaces&&(i=i.replace(/(^|[\r\n\t ]) /g,"$1&#160;")),e.preserveNewlines&&(i=i.replace(/(\r\n|\n|\r)/g,"<br>")),e.preserveTabs&&(i=i.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>')),x(i)}function ve(t,e={}){const i=Q(t).toString();let n="<script";return e.id&&(n+=` id="${z(e.id)}"`),e.nonce&&(n+=` nonce="${z(e.nonce)}"`),e.type&&(n+=` type="${z(e.type)}"`),n+=`>${i}<\/script>`,x(n)}function ge(t,e,i){const n=J(t).toString();let r=`<script src="${z(n)}"`;return e&&(r+=" async"),i&&(r+=` nonce="${z(i)}"`),r+="><\/script>",x(r)}function z(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function _e(t){return x(t.map(it).join(""))}const ye=Object.freeze(Object.defineProperty({__proto__:null,concatHtmls:_e,createScript:ve,createScriptSrc:ge,htmlEscape:fe},Symbol.toStringTag,{value:"Module"})),be=_.getAugmentedNamespace(ye);/**
@@ -34,48 +34,48 @@
34
34
  */function Ae(t){let e;try{e=new URL(t)}catch{return"https:"}return e.protocol}const Ee=["data:","http:","https:","mailto:","ftp:"];function Se(t){const e=Ae(t);return e!==void 0&&Ee.indexOf(e.toLowerCase())!==-1?t:"about:invalid#zClosurez"}/**
35
35
  * @license
36
36
  * SPDX-License-Identifier: Apache-2.0
37
- */class xt{constructor(){h(this,"brand")}}class ot extends xt{constructor(i,n){super();h(this,"privateDoNotAccessOrElseWrappedStyle");process.env.NODE_ENV!=="production"&&F(n),this.privateDoNotAccessOrElseWrappedStyle=i}toString(){return this.privateDoNotAccessOrElseWrappedStyle}}function at(t){return new ot(t,w)}function we(t){return t instanceof ot}function Ut(t){if(t instanceof ot)return t.privateDoNotAccessOrElseWrappedStyle;{let e="";throw process.env.NODE_ENV!=="production"&&(e="Unexpected type when unwrapping SafeStyle"),new Error(e)}}const Te=Object.freeze(Object.defineProperty({__proto__:null,SafeStyle:xt,createStyle:at,isStyle:we,unwrapStyle:Ut},Symbol.toStringTag,{value:"Module"}));/**
37
+ */class Ft{constructor(){h(this,"brand")}}class ot extends Ft{constructor(i,n){super();h(this,"privateDoNotAccessOrElseWrappedStyle");process.env.NODE_ENV!=="production"&&F(n),this.privateDoNotAccessOrElseWrappedStyle=i}toString(){return this.privateDoNotAccessOrElseWrappedStyle}}function at(t){return new ot(t,w)}function we(t){return t instanceof ot}function xt(t){if(t instanceof ot)return t.privateDoNotAccessOrElseWrappedStyle;{let e="";throw process.env.NODE_ENV!=="production"&&(e="Unexpected type when unwrapping SafeStyle"),new Error(e)}}const Te=Object.freeze(Object.defineProperty({__proto__:null,SafeStyle:Ft,createStyle:at,isStyle:we,unwrapStyle:xt},Symbol.toStringTag,{value:"Module"}));/**
38
38
  * @license
39
39
  * SPDX-License-Identifier: Apache-2.0
40
- */function De(t,e){Ce(t)&&Re(t),t.innerHTML=it(e)}function Mt(t,e,i,n){if(t.length===0)throw new Error("No prefixes are provided");const r=t.map(a=>Ct(a)),o=i.toLowerCase();if(r.every(a=>o.indexOf(a)!==0))throw new Error(`Attribute "${i}" does not match any of the allowed prefixes.`);e.setAttribute(i,n)}function Re(t){if(t.tagName.toLowerCase()==="script")throw new Error("Use setTextContent with a SafeScript.");if(t.tagName.toLowerCase()==="style")throw new Error("Use setTextContent with a SafeStyleSheet.")}function Ce(t){return t.tagName!==void 0}/**
40
+ */function De(t,e){Ce(t)&&Re(t),t.innerHTML=it(e)}function Ut(t,e,i,n){if(t.length===0)throw new Error("No prefixes are provided");const r=t.map(a=>Ct(a)),o=i.toLowerCase();if(r.every(a=>o.indexOf(a)!==0))throw new Error(`Attribute "${i}" does not match any of the allowed prefixes.`);e.setAttribute(i,n)}function Re(t){if(t.tagName.toLowerCase()==="script")throw new Error("Use setTextContent with a SafeScript.");if(t.tagName.toLowerCase()==="style")throw new Error("Use setTextContent with a SafeStyleSheet.")}function Ce(t){return t.tagName!==void 0}/**
41
41
  * @license
42
42
  * SPDX-License-Identifier: Apache-2.0
43
43
  */function Ie(t){const e=document.createElement("template"),i=x(t);return De(e,i),e.content}/**
44
44
  * @license
45
45
  * SPDX-License-Identifier: Apache-2.0
46
- */function dt(t){const e=t.nodeName;return typeof e=="string"?e:"FORM"}function pt(t){return t.nodeType===Node.TEXT_NODE}function ht(t){const e=t.nodeType;return e===Node.ELEMENT_NODE||typeof e!="number"}/**
46
+ */function ut(t){const e=t.nodeName;return typeof e=="string"?e:"FORM"}function pt(t){return t.nodeType===Node.TEXT_NODE}function ht(t){const e=t.nodeType;return e===Node.ELEMENT_NODE||typeof e!="number"}/**
47
47
  * @license
48
48
  * SPDX-License-Identifier: Apache-2.0
49
- */class O{constructor(e,i,n,r){h(this,"allowedElements");h(this,"elementPolicies");h(this,"allowedGlobalAttributes");h(this,"globalAttributePolicies");this.allowedElements=e,this.elementPolicies=i,this.allowedGlobalAttributes=n,this.globalAttributePolicies=r}isAllowedElement(e){return e.toLowerCase()!=="form"&&(this.allowedElements.has(e)||this.elementPolicies.has(e))}getAttributePolicy(e,i){const n=this.elementPolicies.get(i);return n!=null&&n.has(e)?n.get(e):this.allowedGlobalAttributes.has(e)?{policyAction:d.KEEP}:this.globalAttributePolicies.get(e)||{policyAction:d.DROP}}}var d;(function(t){t[t.DROP=0]="DROP",t[t.KEEP=1]="KEEP",t[t.KEEP_AND_SANITIZE_URL=2]="KEEP_AND_SANITIZE_URL",t[t.KEEP_AND_NORMALIZE=3]="KEEP_AND_NORMALIZE",t[t.KEEP_AND_SANITIZE_STYLE=4]="KEEP_AND_SANITIZE_STYLE"})(d||(d={}));/**
49
+ */class O{constructor(e,i,n,r){h(this,"allowedElements");h(this,"elementPolicies");h(this,"allowedGlobalAttributes");h(this,"globalAttributePolicies");this.allowedElements=e,this.elementPolicies=i,this.allowedGlobalAttributes=n,this.globalAttributePolicies=r}isAllowedElement(e){return e.toLowerCase()!=="form"&&(this.allowedElements.has(e)||this.elementPolicies.has(e))}getAttributePolicy(e,i){const n=this.elementPolicies.get(i);return n!=null&&n.has(e)?n.get(e):this.allowedGlobalAttributes.has(e)?{policyAction:u.KEEP}:this.globalAttributePolicies.get(e)||{policyAction:u.DROP}}}var u;(function(t){t[t.DROP=0]="DROP",t[t.KEEP=1]="KEEP",t[t.KEEP_AND_SANITIZE_URL=2]="KEEP_AND_SANITIZE_URL",t[t.KEEP_AND_NORMALIZE=3]="KEEP_AND_NORMALIZE",t[t.KEEP_AND_SANITIZE_STYLE=4]="KEEP_AND_SANITIZE_STYLE"})(u||(u={}));/**
50
50
  * @license
51
51
  * SPDX-License-Identifier: Apache-2.0
52
- */const zt=new O(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:d.KEEP_AND_SANITIZE_URL}]])],["AREA",new Map([["href",{policyAction:d.KEEP_AND_SANITIZE_URL}]])],["LINK",new Map([["href",{policyAction:d.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:d.KEEP_AND_SANITIZE_URL}]])],["IMG",new Map([["src",{policyAction:d.KEEP_AND_SANITIZE_URL}]])],["VIDEO",new Map([["src",{policyAction:d.KEEP_AND_SANITIZE_URL}]])],["AUDIO",new Map([["src",{policyAction:d.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:d.KEEP_AND_NORMALIZE,conditions:new Map([["dir",new Set(["auto","ltr","rtl"])]])}],["async",{policyAction:d.KEEP_AND_NORMALIZE,conditions:new Map([["async",new Set(["async"])]])}],["cite",{policyAction:d.KEEP_AND_SANITIZE_URL}],["loading",{policyAction:d.KEEP_AND_NORMALIZE,conditions:new Map([["loading",new Set(["eager","lazy"])]])}],["poster",{policyAction:d.KEEP_AND_SANITIZE_URL}],["target",{policyAction:d.KEEP_AND_NORMALIZE,conditions:new Map([["target",new Set(["_self","_blank"])]])}]]));/**
52
+ */const Mt=new O(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:u.KEEP_AND_SANITIZE_URL}]])],["AREA",new Map([["href",{policyAction:u.KEEP_AND_SANITIZE_URL}]])],["LINK",new Map([["href",{policyAction:u.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:u.KEEP_AND_SANITIZE_URL}]])],["IMG",new Map([["src",{policyAction:u.KEEP_AND_SANITIZE_URL}]])],["VIDEO",new Map([["src",{policyAction:u.KEEP_AND_SANITIZE_URL}]])],["AUDIO",new Map([["src",{policyAction:u.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:u.KEEP_AND_NORMALIZE,conditions:new Map([["dir",new Set(["auto","ltr","rtl"])]])}],["async",{policyAction:u.KEEP_AND_NORMALIZE,conditions:new Map([["async",new Set(["async"])]])}],["cite",{policyAction:u.KEEP_AND_SANITIZE_URL}],["loading",{policyAction:u.KEEP_AND_NORMALIZE,conditions:new Map([["loading",new Set(["eager","lazy"])]])}],["poster",{policyAction:u.KEEP_AND_SANITIZE_URL}],["target",{policyAction:u.KEEP_AND_NORMALIZE,conditions:new Map([["target",new Set(["_self","_blank"])]])}]]));/**
53
53
  * @license
54
54
  * SPDX-License-Identifier: Apache-2.0
55
55
  */class ct{constructor(e,i){h(this,"sanitizerTable");h(this,"changes",[]);this.sanitizerTable=e,F(i)}sanitizeAssertUnchanged(e){this.changes=[];const i=this.sanitize(e);if(this.changes.length!==0){let n="";throw process.env.NODE_ENV!=="production"&&(n=`Unexpected change to HTML value as a result of sanitization. Input: "${e}", sanitized output: "${i}"
56
56
  List of changes:${this.changes.join(`
57
- `)}`),new Error(n)}return i}sanitize(e){const i=document.createElement("span");i.appendChild(this.sanitizeToFragment(e));let n=new XMLSerializer().serializeToString(i);return n=n.slice(n.indexOf(">")+1,n.lastIndexOf("</")),x(n)}sanitizeToFragment(e){const i=Ie(e),n=document.createTreeWalker(i,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(pt(r))c=this.sanitizeTextNode(r);else if(ht(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(e){return document.createTextNode(e.data)}sanitizeElementNode(e){const i=dt(e),n=document.createElement(i),r=e.attributes;for(const{name:o,value:a}of r){const c=this.sanitizerTable.getAttributePolicy(o,i);if(!this.satisfiesAllConditions(c.conditions,r)){this.recordChange(`Not all conditions satisfied for attribute: ${o}.`);continue}switch(c.policyAction){case d.KEEP:n.setAttribute(o,a);break;case d.KEEP_AND_SANITIZE_URL:const l=Se(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 d.KEEP_AND_NORMALIZE:n.setAttribute(o,a.toLowerCase());break;case d.KEEP_AND_SANITIZE_STYLE:n.setAttribute(o,a);break;case d.DROP:this.recordChange(`Attribute: ${o} was dropped`);break;default:Le(c.policyAction,"Unhandled AttributePolicyAction case")}}return n}nodeFilter(e){if(pt(e))return NodeFilter.FILTER_ACCEPT;if(!ht(e))return NodeFilter.FILTER_REJECT;const i=dt(e);return i===null?(this.recordChange(`Node name was null for node: ${e}`),NodeFilter.FILTER_REJECT):this.sanitizerTable.isAllowedElement(i)?NodeFilter.FILTER_ACCEPT:(this.recordChange(`Element: ${i} was dropped`),NodeFilter.FILTER_REJECT)}recordChange(e){process.env.NODE_ENV!=="production"?this.changes.push(e):this.changes.length===0&&this.changes.push("")}satisfiesAllConditions(e,i){var n;if(!e)return!0;for(const[r,o]of e){const a=(n=i.getNamedItem(r))==null?void 0:n.value;if(a&&!o.has(a))return!1}return!0}}const st=(()=>new ct(zt,w))();function Ne(t){return st.sanitize(t)}function Oe(t){return st.sanitizeAssertUnchanged(t)}function Pe(t){return st.sanitizeToFragment(t)}function Le(t,e=`unexpected value ${t}!`){throw new Error(e)}const Fe=Object.freeze(Object.defineProperty({__proto__:null,HtmlSanitizerImpl:ct,sanitizeHtml:Ne,sanitizeHtmlAssertUnchanged:Oe,sanitizeHtmlToFragment:Pe},Symbol.toStringTag,{value:"Module"})),xe=_.getAugmentedNamespace(Fe);/**
57
+ `)}`),new Error(n)}return i}sanitize(e){const i=document.createElement("span");i.appendChild(this.sanitizeToFragment(e));let n=new XMLSerializer().serializeToString(i);return n=n.slice(n.indexOf(">")+1,n.lastIndexOf("</")),x(n)}sanitizeToFragment(e){const i=Ie(e),n=document.createTreeWalker(i,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(pt(r))c=this.sanitizeTextNode(r);else if(ht(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(e){return document.createTextNode(e.data)}sanitizeElementNode(e){const i=ut(e),n=document.createElement(i),r=e.attributes;for(const{name:o,value:a}of r){const c=this.sanitizerTable.getAttributePolicy(o,i);if(!this.satisfiesAllConditions(c.conditions,r)){this.recordChange(`Not all conditions satisfied for attribute: ${o}.`);continue}switch(c.policyAction){case u.KEEP:n.setAttribute(o,a);break;case u.KEEP_AND_SANITIZE_URL:const l=Se(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 u.KEEP_AND_NORMALIZE:n.setAttribute(o,a.toLowerCase());break;case u.KEEP_AND_SANITIZE_STYLE:n.setAttribute(o,a);break;case u.DROP:this.recordChange(`Attribute: ${o} was dropped`);break;default:Le(c.policyAction,"Unhandled AttributePolicyAction case")}}return n}nodeFilter(e){if(pt(e))return NodeFilter.FILTER_ACCEPT;if(!ht(e))return NodeFilter.FILTER_REJECT;const i=ut(e);return i===null?(this.recordChange(`Node name was null for node: ${e}`),NodeFilter.FILTER_REJECT):this.sanitizerTable.isAllowedElement(i)?NodeFilter.FILTER_ACCEPT:(this.recordChange(`Element: ${i} was dropped`),NodeFilter.FILTER_REJECT)}recordChange(e){process.env.NODE_ENV!=="production"?this.changes.push(e):this.changes.length===0&&this.changes.push("")}satisfiesAllConditions(e,i){var n;if(!e)return!0;for(const[r,o]of e){const a=(n=i.getNamedItem(r))==null?void 0:n.value;if(a&&!o.has(a))return!1}return!0}}const st=new ct(Mt,w);function Ne(t){return st.sanitize(t)}function Oe(t){return st.sanitizeAssertUnchanged(t)}function Pe(t){return st.sanitizeToFragment(t)}function Le(t,e=`unexpected value ${t}!`){throw new Error(e)}const Fe=Object.freeze(Object.defineProperty({__proto__:null,HtmlSanitizerImpl:ct,sanitizeHtml:Ne,sanitizeHtmlAssertUnchanged:Oe,sanitizeHtmlToFragment:Pe},Symbol.toStringTag,{value:"Module"})),xe=_.getAugmentedNamespace(Fe);/**
58
58
  * @license
59
59
  * SPDX-License-Identifier: Apache-2.0
60
- */class Ue{constructor(){h(this,"sanitizerTable");h(this,"calledBuild",!1);this.sanitizerTable=zt}onlyAllowElements(e){const i=new Set,n=new Map;for(let r of e){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):i.add(r)}return this.sanitizerTable=new O(i,n,this.sanitizerTable.allowedGlobalAttributes,this.sanitizerTable.globalAttributePolicies),this}onlyAllowAttributes(e){const i=new Set,n=new Map,r=new Map;for(const o of e)this.sanitizerTable.allowedGlobalAttributes.has(o)&&i.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,g]of a.entries())e.has(l)&&c.set(l,g);r.set(o,c)}return this.sanitizerTable=new O(this.sanitizerTable.allowedElements,r,i,n),this}allowDataAttributes(e){const i=new Set(this.sanitizerTable.allowedGlobalAttributes);for(const n of e){if(n.indexOf("data-")!==0)throw new Error(`data attribute: ${n} does not begin with the prefix "data-"`);i.add(n)}return this.sanitizerTable=new O(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,i,this.sanitizerTable.globalAttributePolicies),this}allowStyleAttributes(){const e=new Map(this.sanitizerTable.globalAttributePolicies);return e.set("style",{policyAction:d.KEEP_AND_SANITIZE_STYLE}),this.sanitizerTable=new O(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,e),this}allowClassAttributes(){const e=new Map(this.sanitizerTable.globalAttributePolicies);return e.set("class",{policyAction:d.KEEP}),this.sanitizerTable=new O(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,e),this}allowIdAttributes(){const e=new Map(this.sanitizerTable.globalAttributePolicies);return e.set("id",{policyAction:d.KEEP}),this.sanitizerTable=new O(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,e),this}build(){if(this.calledBuild)throw new Error("this sanitizer has already called build");return this.calledBuild=!0,new ct(this.sanitizerTable,w)}}const Me=Object.freeze(Object.defineProperty({__proto__:null,HtmlSanitizerBuilder:Ue},Symbol.toStringTag,{value:"Module"})),ze=_.getAugmentedNamespace(Me);/**
60
+ */class Ue{constructor(){h(this,"sanitizerTable");h(this,"calledBuild",!1);this.sanitizerTable=Mt}onlyAllowElements(e){const i=new Set,n=new Map;for(let r of e){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):i.add(r)}return this.sanitizerTable=new O(i,n,this.sanitizerTable.allowedGlobalAttributes,this.sanitizerTable.globalAttributePolicies),this}onlyAllowAttributes(e){const i=new Set,n=new Map,r=new Map;for(const o of e)this.sanitizerTable.allowedGlobalAttributes.has(o)&&i.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,g]of a.entries())e.has(l)&&c.set(l,g);r.set(o,c)}return this.sanitizerTable=new O(this.sanitizerTable.allowedElements,r,i,n),this}allowDataAttributes(e){const i=new Set(this.sanitizerTable.allowedGlobalAttributes);for(const n of e){if(n.indexOf("data-")!==0)throw new Error(`data attribute: ${n} does not begin with the prefix "data-"`);i.add(n)}return this.sanitizerTable=new O(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,i,this.sanitizerTable.globalAttributePolicies),this}allowStyleAttributes(){const e=new Map(this.sanitizerTable.globalAttributePolicies);return e.set("style",{policyAction:u.KEEP_AND_SANITIZE_STYLE}),this.sanitizerTable=new O(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,e),this}allowClassAttributes(){const e=new Map(this.sanitizerTable.globalAttributePolicies);return e.set("class",{policyAction:u.KEEP}),this.sanitizerTable=new O(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,e),this}allowIdAttributes(){const e=new Map(this.sanitizerTable.globalAttributePolicies);return e.set("id",{policyAction:u.KEEP}),this.sanitizerTable=new O(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,e),this}build(){if(this.calledBuild)throw new Error("this sanitizer has already called build");return this.calledBuild=!0,new ct(this.sanitizerTable,w)}}const Me=Object.freeze(Object.defineProperty({__proto__:null,HtmlSanitizerBuilder:Ue},Symbol.toStringTag,{value:"Module"})),ze=_.getAugmentedNamespace(Me);/**
61
61
  * @license
62
62
  * SPDX-License-Identifier: Apache-2.0
63
63
  */function He(t){if(!(/^https:\/\//.test(t)||/^\/\//.test(t)))return!1;const e=t.indexOf("//")+2,i=t.indexOf("/",e);if(i<=e)throw new Error("Can't interpolate data in a url's origin, Please make sure to fully specify the origin, terminated with '/'.");const n=t.substring(e,i);if(!/^[0-9a-z.:-]+$/i.test(n))throw new Error("The origin contains unsupported characters.");if(!/^[^:]*(:[0-9]+)?$/i.test(n))throw new Error("Invalid port number.");if(!/(^|\.)[a-z][^.]*$/i.test(n))throw new Error("The top-level domain must start with a letter.");return!0}function ke(t){if(!/^about:blank/.test(t))return!1;if(t!=="about:blank"&&!/^about:blank#/.test(t))throw new Error("The about url is invalid.");return!0}function Be(t){if(!/^\//.test(t))return!1;if(t==="/"||t.length>1&&t[1]!=="/"&&t[1]!=="\\")return!0;throw new Error("The path start in the url is invalid.")}function Ge(t,...e){if(process.env.NODE_ENV!=="production"&&B(t,!0,"trustedResourceUrl is a template literal tag function and can only be called as such (e.g. trustedResourceUrl`/somepath.js`)"),e.length===0)return H(t[0]);const i=t[0].toLowerCase();if(process.env.NODE_ENV!=="production"){if(/^data:/.test(i))throw new Error("Data URLs cannot have expressions in the template literal input.");if(!He(i)&&!Be(i)&&!ke(i))throw new Error("Trying to interpolate expressions in an unsupported url format.")}const n=[t[0]];for(let r=0;r<e.length;r++)n.push(encodeURIComponent(e[r])),n.push(t[r+1]);return H(n.join(""))}function je(t,e){let i=J(t).toString();if(/#/.test(i)){let r="";throw process.env.NODE_ENV!=="production"&&(r=`Found a hash in url (${i}), appending not supported`),new Error(r)}let n=/\?/.test(i)?"&":"?";return e.forEach((r,o)=>{const a=r instanceof Array?r:[r];for(let c=0;c<a.length;c++){const l=a[c];l!=null&&(i+=n+encodeURIComponent(o)+"="+encodeURIComponent(String(l)),n="&")}}),H(i)}const We=/[^#]*/;function Ke(t,e){const i=J(t).toString();return H(We.exec(i)[0]+"#"+e)}function $e(t){const e=Q(t).toString(),i=new Blob([e],{type:"text/javascript"});return H(URL.createObjectURL(i))}const Ve=Object.freeze(Object.defineProperty({__proto__:null,appendParams:je,blobUrlFromScript:$e,replaceFragment:Ke,trustedResourceUrl:Ge},Symbol.toStringTag,{value:"Module"})),qe=_.getAugmentedNamespace(Ve);/**
64
64
  * @license
65
65
  * SPDX-License-Identifier: Apache-2.0
66
- */function Ye(t){return process.env.NODE_ENV!=="production"&&B(t,!1,"safeScript is a template literal tag function that only accepts template literals without expressions. For example, safeScript`foo`;"),W(t[0])}function Xe(t){return W(t.map(Q).join(""))}function Ht(t){return W(JSON.stringify(t).replace(/</g,"\\x3c"))}function Ze(t,...e){if(process.env.NODE_ENV!=="production"){if(e.some(i=>i!==""))throw new Error("safeScriptWithArgs only allows empty string expressions to enable inline comments.");B(t,!0,"safeScriptWithArgs is a template literal tag function that only accepts template literals. For example, safeScriptWithArgs`foo`;")}return(...i)=>{const n=i.map(r=>Ht(r).toString());return W(`(${t.join("")})(${n.join(",")})`)}}const Je=Object.freeze(Object.defineProperty({__proto__:null,concatScripts:Xe,safeScript:Ye,safeScriptWithArgs:Ze,scriptFromJson:Ht},Symbol.toStringTag,{value:"Module"})),Qe=_.getAugmentedNamespace(Je);/**
66
+ */function Ye(t){return process.env.NODE_ENV!=="production"&&B(t,!1,"safeScript is a template literal tag function that only accepts template literals without expressions. For example, safeScript`foo`;"),W(t[0])}function Xe(t){return W(t.map(Q).join(""))}function zt(t){return W(JSON.stringify(t).replace(/</g,"\\x3c"))}function Ze(t,...e){if(process.env.NODE_ENV!=="production"){if(e.some(i=>i!==""))throw new Error("safeScriptWithArgs only allows empty string expressions to enable inline comments.");B(t,!0,"safeScriptWithArgs is a template literal tag function that only accepts template literals. For example, safeScriptWithArgs`foo`;")}return(...i)=>{const n=i.map(r=>zt(r).toString());return W(`(${t.join("")})(${n.join(",")})`)}}const Je=Object.freeze(Object.defineProperty({__proto__:null,concatScripts:Xe,safeScript:Ye,safeScriptWithArgs:Ze,scriptFromJson:zt},Symbol.toStringTag,{value:"Module"})),Qe=_.getAugmentedNamespace(Je);/**
67
67
  * @license
68
68
  * SPDX-License-Identifier: Apache-2.0
69
- */function ti(t){process.env.NODE_ENV!=="production"&&B(t,!1,"safeStyle is a template literal tag function that only accepts template literals without expressions. For example, safeStyle`foo`;");const e=t[0];if(process.env.NODE_ENV!=="production"){if(/[<>]/.test(e))throw new Error("Forbidden characters in style string: "+e);if(!/;$/.test(e))throw new Error('Style string does not end with ";": '+e);if(!/:/.test(e))throw new Error('Style string should contain one or more ":": '+e)}return at(e)}function ei(t){return at(t.map(Ut).join(""))}const ii=Object.freeze(Object.defineProperty({__proto__:null,concatStyles:ei,safeStyle:ti},Symbol.toStringTag,{value:"Module"})),ni=_.getAugmentedNamespace(ii);/**
69
+ */function ti(t){process.env.NODE_ENV!=="production"&&B(t,!1,"safeStyle is a template literal tag function that only accepts template literals without expressions. For example, safeStyle`foo`;");const e=t[0];if(process.env.NODE_ENV!=="production"){if(/[<>]/.test(e))throw new Error("Forbidden characters in style string: "+e);if(!/;$/.test(e))throw new Error('Style string does not end with ";": '+e);if(!/:/.test(e))throw new Error('Style string should contain one or more ":": '+e)}return at(e)}function ei(t){return at(t.map(xt).join(""))}const ii=Object.freeze(Object.defineProperty({__proto__:null,concatStyles:ei,safeStyle:ti},Symbol.toStringTag,{value:"Module"})),ni=_.getAugmentedNamespace(ii);/**
70
70
  * @license
71
71
  * SPDX-License-Identifier: Apache-2.0
72
- */class kt{constructor(){h(this,"brand")}}class lt extends kt{constructor(i,n){super();h(this,"privateDoNotAccessOrElseWrappedStyleSheet");process.env.NODE_ENV!=="production"&&F(n),this.privateDoNotAccessOrElseWrappedStyleSheet=i}toString(){return this.privateDoNotAccessOrElseWrappedStyleSheet}}function ut(t){return new lt(t,w)}function ri(t){return t instanceof lt}function Bt(t){if(t instanceof lt)return t.privateDoNotAccessOrElseWrappedStyleSheet;{let e="";throw process.env.NODE_ENV!=="production"&&(e="Unexpected type when unwrapping SafeStyleSheet"),new Error(e)}}const oi=Object.freeze(Object.defineProperty({__proto__:null,SafeStyleSheet:kt,createStyleSheet:ut,isStyleSheet:ri,unwrapStyleSheet:Bt},Symbol.toStringTag,{value:"Module"}));/**
72
+ */class Ht{constructor(){h(this,"brand")}}class lt extends Ht{constructor(i,n){super();h(this,"privateDoNotAccessOrElseWrappedStyleSheet");process.env.NODE_ENV!=="production"&&F(n),this.privateDoNotAccessOrElseWrappedStyleSheet=i}toString(){return this.privateDoNotAccessOrElseWrappedStyleSheet}}function dt(t){return new lt(t,w)}function ri(t){return t instanceof lt}function kt(t){if(t instanceof lt)return t.privateDoNotAccessOrElseWrappedStyleSheet;{let e="";throw process.env.NODE_ENV!=="production"&&(e="Unexpected type when unwrapping SafeStyleSheet"),new Error(e)}}const oi=Object.freeze(Object.defineProperty({__proto__:null,SafeStyleSheet:Ht,createStyleSheet:dt,isStyleSheet:ri,unwrapStyleSheet:kt},Symbol.toStringTag,{value:"Module"}));/**
73
73
  * @license
74
74
  * SPDX-License-Identifier: Apache-2.0
75
- */function ai(t){process.env.NODE_ENV!=="production"&&B(t,!1,"safeStyleSheet is a template literal tag function that only accepts template literals without expressions. For example, safeStyleSheet`foo`;");const e=t[0];if(process.env.NODE_ENV!=="production"&&/[<>]/.test(e))throw new Error("Forbidden characters in styleSheet string: "+e);return ut(e)}function ci(t){return ut(t.map(Bt).join(""))}const si=Object.freeze(Object.defineProperty({__proto__:null,concatStyleSheets:ci,safeStyleSheet:ai},Symbol.toStringTag,{value:"Module"})),li=_.getAugmentedNamespace(si),ui=_.getAugmentedNamespace(Jt),di=_.getAugmentedNamespace(ce),pi=_.getAugmentedNamespace(ue),hi=_.getAugmentedNamespace(me),mi=_.getAugmentedNamespace(Te),fi=_.getAugmentedNamespace(oi);(function(t){/**
75
+ */function ai(t){process.env.NODE_ENV!=="production"&&B(t,!1,"safeStyleSheet is a template literal tag function that only accepts template literals without expressions. For example, safeStyleSheet`foo`;");const e=t[0];if(process.env.NODE_ENV!=="production"&&/[<>]/.test(e))throw new Error("Forbidden characters in styleSheet string: "+e);return dt(e)}function ci(t){return dt(t.map(kt).join(""))}const si=Object.freeze(Object.defineProperty({__proto__:null,concatStyleSheets:ci,safeStyleSheet:ai},Symbol.toStringTag,{value:"Module"})),li=_.getAugmentedNamespace(si),di=_.getAugmentedNamespace(Zt),ui=_.getAugmentedNamespace(ce),pi=_.getAugmentedNamespace(de),hi=_.getAugmentedNamespace(me),mi=_.getAugmentedNamespace(Te),fi=_.getAugmentedNamespace(oi);(function(t){/**
76
76
  * @license
77
77
  * SPDX-License-Identifier: Apache-2.0
78
- */Object.defineProperty(t,"__esModule",{value:!0}),t.unwrapStyleSheet=t.SafeStyleSheet=t.isStyleSheet=t.unwrapStyle=t.SafeStyle=t.isStyle=t.unwrapScript=t.SafeScript=t.isScript=t.EMPTY_SCRIPT=t.unwrapResourceUrl=t.TrustedResourceUrl=t.isResourceUrl=t.unwrapHtml=t.SafeHtml=t.isHtml=t.EMPTY_HTML=t.unwrapAttributePrefix=t.SafeAttributePrefix=t.safeStyleSheet=t.concatStyleSheets=t.safeStyle=t.concatStyles=t.scriptFromJson=t.safeScriptWithArgs=t.safeScript=t.concatScripts=t.trustedResourceUrl=t.replaceFragment=t.blobUrlFromScript=t.appendParams=t.HtmlSanitizerBuilder=t.sanitizeHtmlToFragment=t.sanitizeHtmlAssertUnchanged=t.sanitizeHtml=t.htmlEscape=t.createScriptSrc=t.createScript=t.concatHtmls=t.safeAttrPrefix=void 0;var e=ie;Object.defineProperty(t,"safeAttrPrefix",{enumerable:!0,get:function(){return e.safeAttrPrefix}});var i=be;Object.defineProperty(t,"concatHtmls",{enumerable:!0,get:function(){return i.concatHtmls}}),Object.defineProperty(t,"createScript",{enumerable:!0,get:function(){return i.createScript}}),Object.defineProperty(t,"createScriptSrc",{enumerable:!0,get:function(){return i.createScriptSrc}}),Object.defineProperty(t,"htmlEscape",{enumerable:!0,get:function(){return i.htmlEscape}});var n=xe;Object.defineProperty(t,"sanitizeHtml",{enumerable:!0,get:function(){return n.sanitizeHtml}}),Object.defineProperty(t,"sanitizeHtmlAssertUnchanged",{enumerable:!0,get:function(){return n.sanitizeHtmlAssertUnchanged}}),Object.defineProperty(t,"sanitizeHtmlToFragment",{enumerable:!0,get:function(){return n.sanitizeHtmlToFragment}});var r=ze;Object.defineProperty(t,"HtmlSanitizerBuilder",{enumerable:!0,get:function(){return r.HtmlSanitizerBuilder}});var o=qe;Object.defineProperty(t,"appendParams",{enumerable:!0,get:function(){return o.appendParams}}),Object.defineProperty(t,"blobUrlFromScript",{enumerable:!0,get:function(){return o.blobUrlFromScript}}),Object.defineProperty(t,"replaceFragment",{enumerable:!0,get:function(){return o.replaceFragment}}),Object.defineProperty(t,"trustedResourceUrl",{enumerable:!0,get:function(){return o.trustedResourceUrl}});var a=Qe;Object.defineProperty(t,"concatScripts",{enumerable:!0,get:function(){return a.concatScripts}}),Object.defineProperty(t,"safeScript",{enumerable:!0,get:function(){return a.safeScript}}),Object.defineProperty(t,"safeScriptWithArgs",{enumerable:!0,get:function(){return a.safeScriptWithArgs}}),Object.defineProperty(t,"scriptFromJson",{enumerable:!0,get:function(){return a.scriptFromJson}});var c=ni;Object.defineProperty(t,"concatStyles",{enumerable:!0,get:function(){return c.concatStyles}}),Object.defineProperty(t,"safeStyle",{enumerable:!0,get:function(){return c.safeStyle}});var l=li;Object.defineProperty(t,"concatStyleSheets",{enumerable:!0,get:function(){return l.concatStyleSheets}}),Object.defineProperty(t,"safeStyleSheet",{enumerable:!0,get:function(){return l.safeStyleSheet}});var g=ui;Object.defineProperty(t,"SafeAttributePrefix",{enumerable:!0,get:function(){return g.SafeAttributePrefix}}),Object.defineProperty(t,"unwrapAttributePrefix",{enumerable:!0,get:function(){return g.unwrapAttributePrefix}});var b=di;Object.defineProperty(t,"EMPTY_HTML",{enumerable:!0,get:function(){return b.EMPTY_HTML}}),Object.defineProperty(t,"isHtml",{enumerable:!0,get:function(){return b.isHtml}}),Object.defineProperty(t,"SafeHtml",{enumerable:!0,get:function(){return b.SafeHtml}}),Object.defineProperty(t,"unwrapHtml",{enumerable:!0,get:function(){return b.unwrapHtml}});var R=pi;Object.defineProperty(t,"isResourceUrl",{enumerable:!0,get:function(){return R.isResourceUrl}}),Object.defineProperty(t,"TrustedResourceUrl",{enumerable:!0,get:function(){return R.TrustedResourceUrl}}),Object.defineProperty(t,"unwrapResourceUrl",{enumerable:!0,get:function(){return R.unwrapResourceUrl}});var N=hi;Object.defineProperty(t,"EMPTY_SCRIPT",{enumerable:!0,get:function(){return N.EMPTY_SCRIPT}}),Object.defineProperty(t,"isScript",{enumerable:!0,get:function(){return N.isScript}}),Object.defineProperty(t,"SafeScript",{enumerable:!0,get:function(){return N.SafeScript}}),Object.defineProperty(t,"unwrapScript",{enumerable:!0,get:function(){return N.unwrapScript}});var U=mi;Object.defineProperty(t,"isStyle",{enumerable:!0,get:function(){return U.isStyle}}),Object.defineProperty(t,"SafeStyle",{enumerable:!0,get:function(){return U.SafeStyle}}),Object.defineProperty(t,"unwrapStyle",{enumerable:!0,get:function(){return U.unwrapStyle}});var M=fi;Object.defineProperty(t,"isStyleSheet",{enumerable:!0,get:function(){return M.isStyleSheet}}),Object.defineProperty(t,"SafeStyleSheet",{enumerable:!0,get:function(){return M.SafeStyleSheet}}),Object.defineProperty(t,"unwrapStyleSheet",{enumerable:!0,get:function(){return M.unwrapStyleSheet}})})(C);/**
78
+ */Object.defineProperty(t,"__esModule",{value:!0}),t.unwrapStyleSheet=t.SafeStyleSheet=t.isStyleSheet=t.unwrapStyle=t.SafeStyle=t.isStyle=t.unwrapScript=t.SafeScript=t.isScript=t.EMPTY_SCRIPT=t.unwrapResourceUrl=t.TrustedResourceUrl=t.isResourceUrl=t.unwrapHtml=t.SafeHtml=t.isHtml=t.EMPTY_HTML=t.unwrapAttributePrefix=t.SafeAttributePrefix=t.safeStyleSheet=t.concatStyleSheets=t.safeStyle=t.concatStyles=t.scriptFromJson=t.safeScriptWithArgs=t.safeScript=t.concatScripts=t.trustedResourceUrl=t.replaceFragment=t.blobUrlFromScript=t.appendParams=t.HtmlSanitizerBuilder=t.sanitizeHtmlToFragment=t.sanitizeHtmlAssertUnchanged=t.sanitizeHtml=t.htmlEscape=t.createScriptSrc=t.createScript=t.concatHtmls=t.safeAttrPrefix=void 0;var e=ee;Object.defineProperty(t,"safeAttrPrefix",{enumerable:!0,get:function(){return e.safeAttrPrefix}});var i=be;Object.defineProperty(t,"concatHtmls",{enumerable:!0,get:function(){return i.concatHtmls}}),Object.defineProperty(t,"createScript",{enumerable:!0,get:function(){return i.createScript}}),Object.defineProperty(t,"createScriptSrc",{enumerable:!0,get:function(){return i.createScriptSrc}}),Object.defineProperty(t,"htmlEscape",{enumerable:!0,get:function(){return i.htmlEscape}});var n=xe;Object.defineProperty(t,"sanitizeHtml",{enumerable:!0,get:function(){return n.sanitizeHtml}}),Object.defineProperty(t,"sanitizeHtmlAssertUnchanged",{enumerable:!0,get:function(){return n.sanitizeHtmlAssertUnchanged}}),Object.defineProperty(t,"sanitizeHtmlToFragment",{enumerable:!0,get:function(){return n.sanitizeHtmlToFragment}});var r=ze;Object.defineProperty(t,"HtmlSanitizerBuilder",{enumerable:!0,get:function(){return r.HtmlSanitizerBuilder}});var o=qe;Object.defineProperty(t,"appendParams",{enumerable:!0,get:function(){return o.appendParams}}),Object.defineProperty(t,"blobUrlFromScript",{enumerable:!0,get:function(){return o.blobUrlFromScript}}),Object.defineProperty(t,"replaceFragment",{enumerable:!0,get:function(){return o.replaceFragment}}),Object.defineProperty(t,"trustedResourceUrl",{enumerable:!0,get:function(){return o.trustedResourceUrl}});var a=Qe;Object.defineProperty(t,"concatScripts",{enumerable:!0,get:function(){return a.concatScripts}}),Object.defineProperty(t,"safeScript",{enumerable:!0,get:function(){return a.safeScript}}),Object.defineProperty(t,"safeScriptWithArgs",{enumerable:!0,get:function(){return a.safeScriptWithArgs}}),Object.defineProperty(t,"scriptFromJson",{enumerable:!0,get:function(){return a.scriptFromJson}});var c=ni;Object.defineProperty(t,"concatStyles",{enumerable:!0,get:function(){return c.concatStyles}}),Object.defineProperty(t,"safeStyle",{enumerable:!0,get:function(){return c.safeStyle}});var l=li;Object.defineProperty(t,"concatStyleSheets",{enumerable:!0,get:function(){return l.concatStyleSheets}}),Object.defineProperty(t,"safeStyleSheet",{enumerable:!0,get:function(){return l.safeStyleSheet}});var g=di;Object.defineProperty(t,"SafeAttributePrefix",{enumerable:!0,get:function(){return g.SafeAttributePrefix}}),Object.defineProperty(t,"unwrapAttributePrefix",{enumerable:!0,get:function(){return g.unwrapAttributePrefix}});var b=ui;Object.defineProperty(t,"EMPTY_HTML",{enumerable:!0,get:function(){return b.EMPTY_HTML}}),Object.defineProperty(t,"isHtml",{enumerable:!0,get:function(){return b.isHtml}}),Object.defineProperty(t,"SafeHtml",{enumerable:!0,get:function(){return b.SafeHtml}}),Object.defineProperty(t,"unwrapHtml",{enumerable:!0,get:function(){return b.unwrapHtml}});var R=pi;Object.defineProperty(t,"isResourceUrl",{enumerable:!0,get:function(){return R.isResourceUrl}}),Object.defineProperty(t,"TrustedResourceUrl",{enumerable:!0,get:function(){return R.TrustedResourceUrl}}),Object.defineProperty(t,"unwrapResourceUrl",{enumerable:!0,get:function(){return R.unwrapResourceUrl}});var N=hi;Object.defineProperty(t,"EMPTY_SCRIPT",{enumerable:!0,get:function(){return N.EMPTY_SCRIPT}}),Object.defineProperty(t,"isScript",{enumerable:!0,get:function(){return N.isScript}}),Object.defineProperty(t,"SafeScript",{enumerable:!0,get:function(){return N.SafeScript}}),Object.defineProperty(t,"unwrapScript",{enumerable:!0,get:function(){return N.unwrapScript}});var U=mi;Object.defineProperty(t,"isStyle",{enumerable:!0,get:function(){return U.isStyle}}),Object.defineProperty(t,"SafeStyle",{enumerable:!0,get:function(){return U.SafeStyle}}),Object.defineProperty(t,"unwrapStyle",{enumerable:!0,get:function(){return U.unwrapStyle}});var M=fi;Object.defineProperty(t,"isStyleSheet",{enumerable:!0,get:function(){return M.isStyleSheet}}),Object.defineProperty(t,"SafeStyleSheet",{enumerable:!0,get:function(){return M.SafeStyleSheet}}),Object.defineProperty(t,"unwrapStyleSheet",{enumerable:!0,get:function(){return M.unwrapStyleSheet}})})(C);/**
79
79
  * @license
80
80
  * Copyright 2020 Google Inc.
81
81
  *
@@ -138,7 +138,7 @@ List of changes:${this.changes.join(`
138
138
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
139
139
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
140
140
  * THE SOFTWARE.
141
- */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"},f=new Set;f.add(s.BACKSPACE);f.add(s.ENTER);f.add(s.SPACEBAR);f.add(s.PAGE_UP);f.add(s.PAGE_DOWN);f.add(s.END);f.add(s.HOME);f.add(s.ARROW_LEFT);f.add(s.ARROW_UP);f.add(s.ARROW_RIGHT);f.add(s.ARROW_DOWN);f.add(s.DELETE);f.add(s.ESCAPE);f.add(s.TAB);var y={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},v=new Map;v.set(y.BACKSPACE,s.BACKSPACE);v.set(y.ENTER,s.ENTER);v.set(y.SPACEBAR,s.SPACEBAR);v.set(y.PAGE_UP,s.PAGE_UP);v.set(y.PAGE_DOWN,s.PAGE_DOWN);v.set(y.END,s.END);v.set(y.HOME,s.HOME);v.set(y.ARROW_LEFT,s.ARROW_LEFT);v.set(y.ARROW_UP,s.ARROW_UP);v.set(y.ARROW_RIGHT,s.ARROW_RIGHT);v.set(y.ARROW_DOWN,s.ARROW_DOWN);v.set(y.DELETE,s.DELETE);v.set(y.ESCAPE,s.ESCAPE);v.set(y.TAB,s.TAB);var T=new Set;T.add(s.PAGE_UP);T.add(s.PAGE_DOWN);T.add(s.END);T.add(s.HOME);T.add(s.ARROW_LEFT);T.add(s.ARROW_UP);T.add(s.ARROW_RIGHT);T.add(s.ARROW_DOWN);function Gt(t){var e=t.key;if(f.has(e))return e;var i=v.get(t.keyCode);return i||s.UNKNOWN}function gi(t){return T.has(Gt(t))}/**
141
+ */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"},f=new Set;f.add(s.BACKSPACE);f.add(s.ENTER);f.add(s.SPACEBAR);f.add(s.PAGE_UP);f.add(s.PAGE_DOWN);f.add(s.END);f.add(s.HOME);f.add(s.ARROW_LEFT);f.add(s.ARROW_UP);f.add(s.ARROW_RIGHT);f.add(s.ARROW_DOWN);f.add(s.DELETE);f.add(s.ESCAPE);f.add(s.TAB);var y={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},v=new Map;v.set(y.BACKSPACE,s.BACKSPACE);v.set(y.ENTER,s.ENTER);v.set(y.SPACEBAR,s.SPACEBAR);v.set(y.PAGE_UP,s.PAGE_UP);v.set(y.PAGE_DOWN,s.PAGE_DOWN);v.set(y.END,s.END);v.set(y.HOME,s.HOME);v.set(y.ARROW_LEFT,s.ARROW_LEFT);v.set(y.ARROW_UP,s.ARROW_UP);v.set(y.ARROW_RIGHT,s.ARROW_RIGHT);v.set(y.ARROW_DOWN,s.ARROW_DOWN);v.set(y.DELETE,s.DELETE);v.set(y.ESCAPE,s.ESCAPE);v.set(y.TAB,s.TAB);var T=new Set;T.add(s.PAGE_UP);T.add(s.PAGE_DOWN);T.add(s.END);T.add(s.HOME);T.add(s.ARROW_LEFT);T.add(s.ARROW_UP);T.add(s.ARROW_RIGHT);T.add(s.ARROW_DOWN);function Bt(t){var e=t.key;if(f.has(e))return e;var i=v.get(t.keyCode);return i||s.UNKNOWN}function gi(t){return T.has(Bt(t))}/**
142
142
  * @license
143
143
  * Copyright 2020 Google Inc.
144
144
  *
@@ -201,7 +201,7 @@ List of changes:${this.changes.join(`
201
201
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
202
202
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
203
203
  * THE SOFTWARE.
204
- */var P;(function(t){t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT"})(P||(P={}));var A;(function(t){t.SELECTION="selection",t.EXIT="exit"})(A||(A={}));var _i=function(t){u.__extends(e,t);function e(i){var n=t.call(this,u.__assign(u.__assign({},e.defaultAdapter),i))||this;return n.animFrame=new vi,n}return Object.defineProperty(e,"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}),e.prototype.destroy=function(){this.animFrame.cancelAll()},e.prototype.getElementID=function(){return this.adapter.getElementID()},e.prototype.setDisabled=function(i){var n,r,o=this.getActions();try{for(var a=u.__values(o),c=a.next();!c.done;c=a.next()){var l=c.value;this.adapter.setActionDisabled(l,i)}}catch(g){n={error:g}}finally{try{c&&!c.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}i?this.adapter.addClass(p.DISABLED):this.adapter.removeClass(p.DISABLED)},e.prototype.isDisabled=function(){var i,n,r=this.getActions();try{for(var o=u.__values(r),a=o.next();!a.done;a=o.next()){var c=a.value;if(this.adapter.isActionDisabled(c))return!0}}catch(l){i={error:l}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return!1},e.prototype.getActions=function(){return this.adapter.getActions()},e.prototype.isActionFocusable=function(i){return this.adapter.isActionFocusable(i)},e.prototype.isActionSelectable=function(i){return this.adapter.isActionSelectable(i)},e.prototype.isActionSelected=function(i){return this.adapter.isActionSelected(i)},e.prototype.setActionFocus=function(i,n){this.adapter.setActionFocus(i,n)},e.prototype.setActionSelected=function(i,n){this.adapter.setActionSelected(i,n),this.animateSelection(n)},e.prototype.startAnimation=function(i){if(i===exports.MDCChipAnimation.ENTER){this.adapter.addClass(p.ENTER);return}if(i===exports.MDCChipAnimation.EXIT){this.adapter.addClass(p.EXIT);return}},e.prototype.handleAnimationEnd=function(i){var n=this,r=i.animationName;if(r===exports.MDCChipAnimation.ENTER){this.adapter.removeClass(p.ENTER),this.adapter.emitEvent(exports.MDCChipEvents.ANIMATION,{chipID:this.getElementID(),animation:exports.MDCChipAnimation.ENTER,addedAnnouncement:this.getAddedAnnouncement(),isComplete:!0});return}if(r===exports.MDCChipAnimation.EXIT){this.adapter.removeClass(p.EXIT),this.adapter.addClass(p.HIDDEN);var o=this.adapter.getOffsetWidth();this.adapter.setStyleProperty("width",o+"px"),this.animFrame.request(A.EXIT,function(){n.animFrame.request(A.EXIT,function(){n.adapter.setStyleProperty("width","0")})})}},e.prototype.handleTransitionEnd=function(){this.adapter.hasClass(p.HIDDEN)&&this.adapter.emitEvent(exports.MDCChipEvents.ANIMATION,{chipID:this.getElementID(),animation:exports.MDCChipAnimation.EXIT,removedAnnouncement:this.getRemovedAnnouncement(),isComplete:!0})},e.prototype.handleActionInteraction=function(i){var n=i.detail,r=n.source,o=n.actionID,a=this.adapter.isActionSelectable(r),c=this.adapter.isActionSelected(r);this.adapter.emitEvent(exports.MDCChipEvents.INTERACTION,{chipID:this.getElementID(),shouldRemove:this.shouldRemove(n),actionID:o,isSelectable:a,isSelected:c,source:r})},e.prototype.handleActionNavigation=function(i){var n=i.detail,r=n.source,o=n.key,a=this.adapter.isRTL(),c=this.adapter.isActionFocusable(exports.MDCChipActionType.TRAILING),l=this.adapter.isActionFocusable(exports.MDCChipActionType.PRIMARY),g=this.directionFromKey(o,a),b=r===exports.MDCChipActionType.PRIMARY&&g===P.RIGHT&&c,R=r===exports.MDCChipActionType.TRAILING&&g===P.LEFT&&l;if(b){this.navigateActions({from:r,to:exports.MDCChipActionType.TRAILING});return}if(R){this.navigateActions({from:r,to:exports.MDCChipActionType.PRIMARY});return}this.adapter.emitEvent(exports.MDCChipEvents.NAVIGATION,{chipID:this.getElementID(),isRTL:a,source:r,key:o})},e.prototype.directionFromKey=function(i,n){var r=i===s.ARROW_LEFT,o=i===s.ARROW_RIGHT;return!n&&r||n&&o?P.LEFT:!n&&o||n&&r?P.RIGHT:P.UNSPECIFIED},e.prototype.navigateActions=function(i){this.adapter.setActionFocus(i.from,exports.MDCChipActionFocusBehavior.NOT_FOCUSABLE),this.adapter.setActionFocus(i.to,exports.MDCChipActionFocusBehavior.FOCUSABLE_AND_FOCUSED)},e.prototype.shouldRemove=function(i){var n=i.source,r=i.trigger;return r===E.BACKSPACE_KEY||r===E.DELETE_KEY?!0:n===exports.MDCChipActionType.TRAILING},e.prototype.getRemovedAnnouncement=function(){var i=this.adapter.getAttribute(Z.DATA_REMOVED_ANNOUNCEMENT);return i||void 0},e.prototype.getAddedAnnouncement=function(){var i=this.adapter.getAttribute(Z.DATA_ADDED_ANNOUNCEMENT);return i||void 0},e.prototype.animateSelection=function(i){var n=this;this.resetAnimationStyles(),this.animFrame.request(A.SELECTION,function(){n.animFrame.request(A.SELECTION,function(){n.updateSelectionStyles(i)})})},e.prototype.resetAnimationStyles=function(){this.adapter.removeClass(p.SELECTING),this.adapter.removeClass(p.DESELECTING),this.adapter.removeClass(p.SELECTING_WITH_PRIMARY_ICON),this.adapter.removeClass(p.DESELECTING_WITH_PRIMARY_ICON)},e.prototype.updateSelectionStyles=function(i){var n=this,r=this.adapter.hasClass(p.WITH_PRIMARY_ICON);if(r&&i){this.adapter.addClass(p.SELECTING_WITH_PRIMARY_ICON),this.animFrame.request(A.SELECTION,function(){n.adapter.addClass(p.SELECTED)});return}if(r&&!i){this.adapter.addClass(p.DESELECTING_WITH_PRIMARY_ICON),this.animFrame.request(A.SELECTION,function(){n.adapter.removeClass(p.SELECTED)});return}if(i){this.adapter.addClass(p.SELECTING),this.animFrame.request(A.SELECTION,function(){n.adapter.addClass(p.SELECTED)});return}if(!i){this.adapter.addClass(p.DESELECTING),this.animFrame.request(A.SELECTION,function(){n.adapter.removeClass(p.SELECTED)});return}},e}(K);/**
204
+ */var P;(function(t){t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT"})(P||(P={}));var A;(function(t){t.SELECTION="selection",t.EXIT="exit"})(A||(A={}));var _i=function(t){d.__extends(e,t);function e(i){var n=t.call(this,d.__assign(d.__assign({},e.defaultAdapter),i))||this;return n.animFrame=new vi,n}return Object.defineProperty(e,"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}),e.prototype.destroy=function(){this.animFrame.cancelAll()},e.prototype.getElementID=function(){return this.adapter.getElementID()},e.prototype.setDisabled=function(i){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,i)}}catch(g){n={error:g}}finally{try{c&&!c.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}i?this.adapter.addClass(p.DISABLED):this.adapter.removeClass(p.DISABLED)},e.prototype.isDisabled=function(){var i,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){i={error:l}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return!1},e.prototype.getActions=function(){return this.adapter.getActions()},e.prototype.isActionFocusable=function(i){return this.adapter.isActionFocusable(i)},e.prototype.isActionSelectable=function(i){return this.adapter.isActionSelectable(i)},e.prototype.isActionSelected=function(i){return this.adapter.isActionSelected(i)},e.prototype.setActionFocus=function(i,n){this.adapter.setActionFocus(i,n)},e.prototype.setActionSelected=function(i,n){this.adapter.setActionSelected(i,n),this.animateSelection(n)},e.prototype.startAnimation=function(i){if(i===exports.MDCChipAnimation.ENTER){this.adapter.addClass(p.ENTER);return}if(i===exports.MDCChipAnimation.EXIT){this.adapter.addClass(p.EXIT);return}},e.prototype.handleAnimationEnd=function(i){var n=this,r=i.animationName;if(r===exports.MDCChipAnimation.ENTER){this.adapter.removeClass(p.ENTER),this.adapter.emitEvent(exports.MDCChipEvents.ANIMATION,{chipID:this.getElementID(),animation:exports.MDCChipAnimation.ENTER,addedAnnouncement:this.getAddedAnnouncement(),isComplete:!0});return}if(r===exports.MDCChipAnimation.EXIT){this.adapter.removeClass(p.EXIT),this.adapter.addClass(p.HIDDEN);var o=this.adapter.getOffsetWidth();this.adapter.setStyleProperty("width",o+"px"),this.animFrame.request(A.EXIT,function(){n.animFrame.request(A.EXIT,function(){n.adapter.setStyleProperty("width","0")})})}},e.prototype.handleTransitionEnd=function(){this.adapter.hasClass(p.HIDDEN)&&this.adapter.emitEvent(exports.MDCChipEvents.ANIMATION,{chipID:this.getElementID(),animation:exports.MDCChipAnimation.EXIT,removedAnnouncement:this.getRemovedAnnouncement(),isComplete:!0})},e.prototype.handleActionInteraction=function(i){var n=i.detail,r=n.source,o=n.actionID,a=this.adapter.isActionSelectable(r),c=this.adapter.isActionSelected(r);this.adapter.emitEvent(exports.MDCChipEvents.INTERACTION,{chipID:this.getElementID(),shouldRemove:this.shouldRemove(n),actionID:o,isSelectable:a,isSelected:c,source:r})},e.prototype.handleActionNavigation=function(i){var n=i.detail,r=n.source,o=n.key,a=this.adapter.isRTL(),c=this.adapter.isActionFocusable(exports.MDCChipActionType.TRAILING),l=this.adapter.isActionFocusable(exports.MDCChipActionType.PRIMARY),g=this.directionFromKey(o,a),b=r===exports.MDCChipActionType.PRIMARY&&g===P.RIGHT&&c,R=r===exports.MDCChipActionType.TRAILING&&g===P.LEFT&&l;if(b){this.navigateActions({from:r,to:exports.MDCChipActionType.TRAILING});return}if(R){this.navigateActions({from:r,to:exports.MDCChipActionType.PRIMARY});return}this.adapter.emitEvent(exports.MDCChipEvents.NAVIGATION,{chipID:this.getElementID(),isRTL:a,source:r,key:o})},e.prototype.directionFromKey=function(i,n){var r=i===s.ARROW_LEFT,o=i===s.ARROW_RIGHT;return!n&&r||n&&o?P.LEFT:!n&&o||n&&r?P.RIGHT:P.UNSPECIFIED},e.prototype.navigateActions=function(i){this.adapter.setActionFocus(i.from,exports.MDCChipActionFocusBehavior.NOT_FOCUSABLE),this.adapter.setActionFocus(i.to,exports.MDCChipActionFocusBehavior.FOCUSABLE_AND_FOCUSED)},e.prototype.shouldRemove=function(i){var n=i.source,r=i.trigger;return r===E.BACKSPACE_KEY||r===E.DELETE_KEY?!0:n===exports.MDCChipActionType.TRAILING},e.prototype.getRemovedAnnouncement=function(){var i=this.adapter.getAttribute(Z.DATA_REMOVED_ANNOUNCEMENT);return i||void 0},e.prototype.getAddedAnnouncement=function(){var i=this.adapter.getAttribute(Z.DATA_ADDED_ANNOUNCEMENT);return i||void 0},e.prototype.animateSelection=function(i){var n=this;this.resetAnimationStyles(),this.animFrame.request(A.SELECTION,function(){n.animFrame.request(A.SELECTION,function(){n.updateSelectionStyles(i)})})},e.prototype.resetAnimationStyles=function(){this.adapter.removeClass(p.SELECTING),this.adapter.removeClass(p.DESELECTING),this.adapter.removeClass(p.SELECTING_WITH_PRIMARY_ICON),this.adapter.removeClass(p.DESELECTING_WITH_PRIMARY_ICON)},e.prototype.updateSelectionStyles=function(i){var n=this,r=this.adapter.hasClass(p.WITH_PRIMARY_ICON);if(r&&i){this.adapter.addClass(p.SELECTING_WITH_PRIMARY_ICON),this.animFrame.request(A.SELECTION,function(){n.adapter.addClass(p.SELECTED)});return}if(r&&!i){this.adapter.addClass(p.DESELECTING_WITH_PRIMARY_ICON),this.animFrame.request(A.SELECTION,function(){n.adapter.removeClass(p.SELECTED)});return}if(i){this.adapter.addClass(p.SELECTING),this.animFrame.request(A.SELECTION,function(){n.adapter.addClass(p.SELECTED)});return}if(!i){this.adapter.addClass(p.DESELECTING),this.animFrame.request(A.SELECTION,function(){n.adapter.removeClass(p.SELECTED)});return}},e}(K);/**
205
205
  * @license
206
206
  * Copyright 2016 Google Inc.
207
207
  *
@@ -222,7 +222,7 @@ List of changes:${this.changes.join(`
222
222
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
223
223
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
224
224
  * THE SOFTWARE.
225
- */function yi(t){return String(t).replace(/\-([a-z])/g,function(e,i){return i.toUpperCase()})}var jt=function(){function t(e,i){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];this.root=e,this.initialize.apply(this,u.__spreadArray([],u.__read(n))),this.foundation=i===void 0?this.getDefaultFoundation():i,this.foundation.init(),this.initialSyncWithDOM()}return t.attachTo=function(e){return new t(e,new K({}))},t.prototype.initialize=function(){},t.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},t.prototype.initialSyncWithDOM=function(){},t.prototype.destroy=function(){this.foundation.destroy()},t.prototype.listen=function(e,i,n){this.root.addEventListener(e,i,n)},t.prototype.unlisten=function(e,i,n){this.root.removeEventListener(e,i,n)},t.prototype.emit=function(e,i,n){n===void 0&&(n=!1);var r;typeof CustomEvent=="function"?r=new CustomEvent(e,{bubbles:n,detail:i}):(r=document.createEvent("CustomEvent"),r.initCustomEvent(e,n,!1,i)),this.root.dispatchEvent(r)},t.prototype.safeSetAttribute=function(e,i,n){if(i.toLowerCase()==="tabindex")e.tabIndex=Number(n);else if(i.indexOf("data-")===0){var r=yi(i.replace(/^data-/,""));e.dataset[r]=n}else Mt([C.safeAttrPrefix(mt||(mt=u.__makeTemplateObject(["aria-"],["aria-"]))),C.safeAttrPrefix(ft||(ft=u.__makeTemplateObject(["role"],["role"])))],e,i,n)},t}(),mt,ft;/**
225
+ */function yi(t){return String(t).replace(/\-([a-z])/g,function(e,i){return i.toUpperCase()})}var Gt=function(){function t(e,i){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];this.root=e,this.initialize.apply(this,d.__spreadArray([],d.__read(n))),this.foundation=i===void 0?this.getDefaultFoundation():i,this.foundation.init(),this.initialSyncWithDOM()}return t.attachTo=function(e){return new t(e,new K({}))},t.prototype.initialize=function(){},t.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},t.prototype.initialSyncWithDOM=function(){},t.prototype.destroy=function(){this.foundation.destroy()},t.prototype.listen=function(e,i,n){this.root.addEventListener(e,i,n)},t.prototype.unlisten=function(e,i,n){this.root.removeEventListener(e,i,n)},t.prototype.emit=function(e,i,n){n===void 0&&(n=!1);var r;typeof CustomEvent=="function"?r=new CustomEvent(e,{bubbles:n,detail:i}):(r=document.createEvent("CustomEvent"),r.initCustomEvent(e,n,!1,i)),this.root.dispatchEvent(r)},t.prototype.safeSetAttribute=function(e,i,n){if(i.toLowerCase()==="tabindex")e.tabIndex=Number(n);else if(i.indexOf("data-")===0){var r=yi(i.replace(/^data-/,""));e.dataset[r]=n}else Ut([C.safeAttrPrefix(mt||(mt=d.__makeTemplateObject(["aria-"],["aria-"]))),C.safeAttrPrefix(ft||(ft=d.__makeTemplateObject(["role"],["role"])))],e,i,n)},t}(),mt,ft;/**
226
226
  * @license
227
227
  * Copyright 2018 Google Inc.
228
228
  *
@@ -243,7 +243,7 @@ List of changes:${this.changes.join(`
243
243
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
244
244
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
245
245
  * THE SOFTWARE.
246
- */function bi(t,e){if(t.closest)return t.closest(e);for(var i=t;i;){if(Wt(i,e))return i;i=i.parentElement}return null}function Wt(t,e){var i=t.matches||t.webkitMatchesSelector||t.msMatchesSelector;return i.call(t,e)}/**
246
+ */function bi(t,e){if(t.closest)return t.closest(e);for(var i=t;i;){if(jt(i,e))return i;i=i.parentElement}return null}function jt(t,e){var i=t.matches||t.webkitMatchesSelector||t.msMatchesSelector;return i.call(t,e)}/**
247
247
  * @license
248
248
  * Copyright 2019 Google Inc.
249
249
  *
@@ -306,7 +306,7 @@ List of changes:${this.changes.join(`
306
306
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
307
307
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
308
308
  * THE SOFTWARE.
309
- */var gt=["touchstart","pointerdown","mousedown","keydown"],_t=["touchend","pointerup","mouseup","contextmenu"],X=[],Kt=function(t){u.__extends(e,t);function e(i){var n=t.call(this,u.__assign(u.__assign({},e.defaultAdapter),i))||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(e,"cssClasses",{get:function(){return Ei},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return Si},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return vt},enumerable:!1,configurable:!0}),Object.defineProperty(e,"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}),e.prototype.init=function(){var i=this,n=this.supportsPressRipple();if(this.registerRootHandlers(n),n){var r=e.cssClasses,o=r.ROOT,a=r.UNBOUNDED;requestAnimationFrame(function(){i.adapter.addClass(o),i.adapter.isUnbounded()&&(i.adapter.addClass(a),i.layoutInternal())})}},e.prototype.destroy=function(){var i=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(e.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(e.cssClasses.FG_DEACTIVATION));var n=e.cssClasses,r=n.ROOT,o=n.UNBOUNDED;requestAnimationFrame(function(){i.adapter.removeClass(r),i.adapter.removeClass(o),i.removeCssVars()})}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},e.prototype.activate=function(i){this.activateImpl(i)},e.prototype.deactivate=function(){this.deactivateImpl()},e.prototype.layout=function(){var i=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame(function(){i.layoutInternal(),i.layoutFrame=0})},e.prototype.setUnbounded=function(i){var n=e.cssClasses.UNBOUNDED;i?this.adapter.addClass(n):this.adapter.removeClass(n)},e.prototype.handleFocus=function(){var i=this;requestAnimationFrame(function(){i.adapter.addClass(e.cssClasses.BG_FOCUSED)})},e.prototype.handleBlur=function(){var i=this;requestAnimationFrame(function(){i.adapter.removeClass(e.cssClasses.BG_FOCUSED)})},e.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},e.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},e.prototype.registerRootHandlers=function(i){var n,r;if(i){try{for(var o=u.__values(gt),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)},e.prototype.registerDeactivationHandlers=function(i){var n,r;if(i.type==="keydown")this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var o=u.__values(_t),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}}},e.prototype.deregisterRootHandlers=function(){var i,n;try{for(var r=u.__values(gt),o=r.next();!o.done;o=r.next()){var a=o.value;this.adapter.deregisterInteractionHandler(a,this.activateHandler)}}catch(c){i={error:c}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},e.prototype.deregisterDeactivationHandlers=function(){var i,n;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var r=u.__values(_t),o=r.next();!o.done;o=r.next()){var a=o.value;this.adapter.deregisterDocumentInteractionHandler(a,this.deactivateHandler)}}catch(c){i={error:c}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}},e.prototype.removeCssVars=function(){var i=this,n=e.strings,r=Object.keys(n);r.forEach(function(o){o.indexOf("VAR_")===0&&i.adapter.updateCssVariable(n[o],null)})},e.prototype.activateImpl=function(i){var n=this;if(!this.adapter.isSurfaceDisabled()){var r=this.activationState;if(!r.isActivated){var o=this.previousActivationEvent,a=o&&i!==void 0&&o.type!==i.type;if(!a){r.isActivated=!0,r.isProgrammatic=i===void 0,r.activationEvent=i,r.wasActivatedByPointer=r.isProgrammatic?!1:i!==void 0&&(i.type==="mousedown"||i.type==="touchstart"||i.type==="pointerdown");var c=i!==void 0&&X.length>0&&X.some(function(l){return n.adapter.containsEventTarget(l)});if(c){this.resetActivationState();return}i!==void 0&&(X.push(i.target),this.registerDeactivationHandlers(i)),r.wasElementMadeActive=this.checkElementMadeActive(i),r.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame(function(){X=[],!r.wasElementMadeActive&&i!==void 0&&(i.key===" "||i.keyCode===32)&&(r.wasElementMadeActive=n.checkElementMadeActive(i),r.wasElementMadeActive&&n.animateActivation()),r.wasElementMadeActive||(n.activationState=n.defaultActivationState())})}}}},e.prototype.checkElementMadeActive=function(i){return i!==void 0&&i.type==="keydown"?this.adapter.isSurfaceActive():!0},e.prototype.animateActivation=function(){var i=this,n=e.strings,r=n.VAR_FG_TRANSLATE_START,o=n.VAR_FG_TRANSLATE_END,a=e.cssClasses,c=a.FG_DEACTIVATION,l=a.FG_ACTIVATION,g=e.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var b="",R="";if(!this.adapter.isUnbounded()){var N=this.getFgTranslationCoordinates(),U=N.startPoint,M=N.endPoint;b=U.x+"px, "+U.y+"px",R=M.x+"px, "+M.y+"px"}this.adapter.updateCssVariable(r,b),this.adapter.updateCssVariable(o,R),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(c),this.adapter.computeBoundingRect(),this.adapter.addClass(l),this.activationTimer=setTimeout(function(){i.activationTimerCallback()},g)},e.prototype.getFgTranslationCoordinates=function(){var i=this.activationState,n=i.activationEvent,r=i.wasActivatedByPointer,o;r?o=Ti(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}},e.prototype.runDeactivationUXLogicIfReady=function(){var i=this,n=e.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(){i.adapter.removeClass(n)},vt.FG_DEACTIVATION_MS))},e.prototype.rmBoundedActivationClasses=function(){var i=e.cssClasses.FG_ACTIVATION;this.adapter.removeClass(i),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},e.prototype.resetActivationState=function(){var i=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout(function(){return i.previousActivationEvent=void 0},e.numbers.TAP_DELAY_MS)},e.prototype.deactivateImpl=function(){var i=this,n=this.activationState;if(n.isActivated){var r=u.__assign({},n);n.isProgrammatic?(requestAnimationFrame(function(){i.animateDeactivation(r)}),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame(function(){i.activationState.hasDeactivationUXRun=!0,i.animateDeactivation(r),i.resetActivationState()}))}},e.prototype.animateDeactivation=function(i){var n=i.wasActivatedByPointer,r=i.wasElementMadeActive;(n||r)&&this.runDeactivationUXLogicIfReady()},e.prototype.layoutInternal=function(){var i=this;this.frame=this.adapter.computeBoundingRect();var n=Math.max(this.frame.height,this.frame.width),r=function(){var a=Math.sqrt(Math.pow(i.frame.width,2)+Math.pow(i.frame.height,2));return a+e.numbers.PADDING};this.maxRadius=this.adapter.isUnbounded()?n:r();var o=Math.floor(n*e.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()},e.prototype.updateLayoutCssVars=function(){var i=e.strings,n=i.VAR_FG_SIZE,r=i.VAR_LEFT,o=i.VAR_TOP,a=i.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"))},e}(K);/**
309
+ */var gt=["touchstart","pointerdown","mousedown","keydown"],_t=["touchend","pointerup","mouseup","contextmenu"],X=[],Wt=function(t){d.__extends(e,t);function e(i){var n=t.call(this,d.__assign(d.__assign({},e.defaultAdapter),i))||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(e,"cssClasses",{get:function(){return Ei},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return Si},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return vt},enumerable:!1,configurable:!0}),Object.defineProperty(e,"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}),e.prototype.init=function(){var i=this,n=this.supportsPressRipple();if(this.registerRootHandlers(n),n){var r=e.cssClasses,o=r.ROOT,a=r.UNBOUNDED;requestAnimationFrame(function(){i.adapter.addClass(o),i.adapter.isUnbounded()&&(i.adapter.addClass(a),i.layoutInternal())})}},e.prototype.destroy=function(){var i=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(e.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(e.cssClasses.FG_DEACTIVATION));var n=e.cssClasses,r=n.ROOT,o=n.UNBOUNDED;requestAnimationFrame(function(){i.adapter.removeClass(r),i.adapter.removeClass(o),i.removeCssVars()})}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},e.prototype.activate=function(i){this.activateImpl(i)},e.prototype.deactivate=function(){this.deactivateImpl()},e.prototype.layout=function(){var i=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame(function(){i.layoutInternal(),i.layoutFrame=0})},e.prototype.setUnbounded=function(i){var n=e.cssClasses.UNBOUNDED;i?this.adapter.addClass(n):this.adapter.removeClass(n)},e.prototype.handleFocus=function(){var i=this;requestAnimationFrame(function(){i.adapter.addClass(e.cssClasses.BG_FOCUSED)})},e.prototype.handleBlur=function(){var i=this;requestAnimationFrame(function(){i.adapter.removeClass(e.cssClasses.BG_FOCUSED)})},e.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},e.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},e.prototype.registerRootHandlers=function(i){var n,r;if(i){try{for(var o=d.__values(gt),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)},e.prototype.registerDeactivationHandlers=function(i){var n,r;if(i.type==="keydown")this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var o=d.__values(_t),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}}},e.prototype.deregisterRootHandlers=function(){var i,n;try{for(var r=d.__values(gt),o=r.next();!o.done;o=r.next()){var a=o.value;this.adapter.deregisterInteractionHandler(a,this.activateHandler)}}catch(c){i={error:c}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},e.prototype.deregisterDeactivationHandlers=function(){var i,n;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var r=d.__values(_t),o=r.next();!o.done;o=r.next()){var a=o.value;this.adapter.deregisterDocumentInteractionHandler(a,this.deactivateHandler)}}catch(c){i={error:c}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}},e.prototype.removeCssVars=function(){var i=this,n=e.strings,r=Object.keys(n);r.forEach(function(o){o.indexOf("VAR_")===0&&i.adapter.updateCssVariable(n[o],null)})},e.prototype.activateImpl=function(i){var n=this;if(!this.adapter.isSurfaceDisabled()){var r=this.activationState;if(!r.isActivated){var o=this.previousActivationEvent,a=o&&i!==void 0&&o.type!==i.type;if(!a){r.isActivated=!0,r.isProgrammatic=i===void 0,r.activationEvent=i,r.wasActivatedByPointer=r.isProgrammatic?!1:i!==void 0&&(i.type==="mousedown"||i.type==="touchstart"||i.type==="pointerdown");var c=i!==void 0&&X.length>0&&X.some(function(l){return n.adapter.containsEventTarget(l)});if(c){this.resetActivationState();return}i!==void 0&&(X.push(i.target),this.registerDeactivationHandlers(i)),r.wasElementMadeActive=this.checkElementMadeActive(i),r.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame(function(){X=[],!r.wasElementMadeActive&&i!==void 0&&(i.key===" "||i.keyCode===32)&&(r.wasElementMadeActive=n.checkElementMadeActive(i),r.wasElementMadeActive&&n.animateActivation()),r.wasElementMadeActive||(n.activationState=n.defaultActivationState())})}}}},e.prototype.checkElementMadeActive=function(i){return i!==void 0&&i.type==="keydown"?this.adapter.isSurfaceActive():!0},e.prototype.animateActivation=function(){var i=this,n=e.strings,r=n.VAR_FG_TRANSLATE_START,o=n.VAR_FG_TRANSLATE_END,a=e.cssClasses,c=a.FG_DEACTIVATION,l=a.FG_ACTIVATION,g=e.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var b="",R="";if(!this.adapter.isUnbounded()){var N=this.getFgTranslationCoordinates(),U=N.startPoint,M=N.endPoint;b=U.x+"px, "+U.y+"px",R=M.x+"px, "+M.y+"px"}this.adapter.updateCssVariable(r,b),this.adapter.updateCssVariable(o,R),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(c),this.adapter.computeBoundingRect(),this.adapter.addClass(l),this.activationTimer=setTimeout(function(){i.activationTimerCallback()},g)},e.prototype.getFgTranslationCoordinates=function(){var i=this.activationState,n=i.activationEvent,r=i.wasActivatedByPointer,o;r?o=Ti(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}},e.prototype.runDeactivationUXLogicIfReady=function(){var i=this,n=e.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(){i.adapter.removeClass(n)},vt.FG_DEACTIVATION_MS))},e.prototype.rmBoundedActivationClasses=function(){var i=e.cssClasses.FG_ACTIVATION;this.adapter.removeClass(i),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},e.prototype.resetActivationState=function(){var i=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout(function(){return i.previousActivationEvent=void 0},e.numbers.TAP_DELAY_MS)},e.prototype.deactivateImpl=function(){var i=this,n=this.activationState;if(n.isActivated){var r=d.__assign({},n);n.isProgrammatic?(requestAnimationFrame(function(){i.animateDeactivation(r)}),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame(function(){i.activationState.hasDeactivationUXRun=!0,i.animateDeactivation(r),i.resetActivationState()}))}},e.prototype.animateDeactivation=function(i){var n=i.wasActivatedByPointer,r=i.wasElementMadeActive;(n||r)&&this.runDeactivationUXLogicIfReady()},e.prototype.layoutInternal=function(){var i=this;this.frame=this.adapter.computeBoundingRect();var n=Math.max(this.frame.height,this.frame.width),r=function(){var a=Math.sqrt(Math.pow(i.frame.width,2)+Math.pow(i.frame.height,2));return a+e.numbers.PADDING};this.maxRadius=this.adapter.isUnbounded()?n:r();var o=Math.floor(n*e.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()},e.prototype.updateLayoutCssVars=function(){var i=e.strings,n=i.VAR_FG_SIZE,r=i.VAR_LEFT,o=i.VAR_TOP,a=i.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"))},e}(K);/**
310
310
  * @license
311
311
  * Copyright 2016 Google Inc.
312
312
  *
@@ -327,7 +327,7 @@ List of changes:${this.changes.join(`
327
327
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
328
328
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
329
329
  * THE SOFTWARE.
330
- */var yt=function(t){u.__extends(e,t);function e(){var i=t!==null&&t.apply(this,arguments)||this;return i.disabled=!1,i}return e.attachTo=function(i,n){n===void 0&&(n={isUnbounded:void 0});var r=new e(i);return n.isUnbounded!==void 0&&(r.unbounded=n.isUnbounded),r},e.createAdapter=function(i){return{addClass:function(n){i.root.classList.add(n)},browserSupportsCssVars:function(){return wi(window)},computeBoundingRect:function(){return i.root.getBoundingClientRect()},containsEventTarget:function(n){return i.root.contains(n)},deregisterDocumentInteractionHandler:function(n,r){document.documentElement.removeEventListener(n,r,q())},deregisterInteractionHandler:function(n,r){i.root.removeEventListener(n,r,q())},deregisterResizeHandler:function(n){window.removeEventListener("resize",n)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return Wt(i.root,":active")},isSurfaceDisabled:function(){return!!i.disabled},isUnbounded:function(){return!!i.unbounded},registerDocumentInteractionHandler:function(n,r){document.documentElement.addEventListener(n,r,q())},registerInteractionHandler:function(n,r){i.root.addEventListener(n,r,q())},registerResizeHandler:function(n){window.addEventListener("resize",n)},removeClass:function(n){i.root.classList.remove(n)},updateCssVariable:function(n,r){i.root.style.setProperty(n,r)}}},Object.defineProperty(e.prototype,"unbounded",{get:function(){return!!this.isUnbounded},set:function(i){this.isUnbounded=!!i,this.setUnbounded()},enumerable:!1,configurable:!0}),e.prototype.activate=function(){this.foundation.activate()},e.prototype.deactivate=function(){this.foundation.deactivate()},e.prototype.layout=function(){this.foundation.layout()},e.prototype.getDefaultFoundation=function(){return new Kt(e.createAdapter(this))},e.prototype.initialSyncWithDOM=function(){var i=this.root;this.isUnbounded="mdcRippleIsUnbounded"in i.dataset},e.prototype.setUnbounded=function(){this.foundation.setUnbounded(!!this.isUnbounded)},e}(jt);/**
330
+ */var yt=function(t){d.__extends(e,t);function e(){var i=t!==null&&t.apply(this,arguments)||this;return i.disabled=!1,i}return e.attachTo=function(i,n){n===void 0&&(n={isUnbounded:void 0});var r=new e(i);return n.isUnbounded!==void 0&&(r.unbounded=n.isUnbounded),r},e.createAdapter=function(i){return{addClass:function(n){i.root.classList.add(n)},browserSupportsCssVars:function(){return wi(window)},computeBoundingRect:function(){return i.root.getBoundingClientRect()},containsEventTarget:function(n){return i.root.contains(n)},deregisterDocumentInteractionHandler:function(n,r){document.documentElement.removeEventListener(n,r,q())},deregisterInteractionHandler:function(n,r){i.root.removeEventListener(n,r,q())},deregisterResizeHandler:function(n){window.removeEventListener("resize",n)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return jt(i.root,":active")},isSurfaceDisabled:function(){return!!i.disabled},isUnbounded:function(){return!!i.unbounded},registerDocumentInteractionHandler:function(n,r){document.documentElement.addEventListener(n,r,q())},registerInteractionHandler:function(n,r){i.root.addEventListener(n,r,q())},registerResizeHandler:function(n){window.addEventListener("resize",n)},removeClass:function(n){i.root.classList.remove(n)},updateCssVariable:function(n,r){i.root.style.setProperty(n,r)}}},Object.defineProperty(e.prototype,"unbounded",{get:function(){return!!this.isUnbounded},set:function(i){this.isUnbounded=!!i,this.setUnbounded()},enumerable:!1,configurable:!0}),e.prototype.activate=function(){this.foundation.activate()},e.prototype.deactivate=function(){this.foundation.deactivate()},e.prototype.layout=function(){this.foundation.layout()},e.prototype.getDefaultFoundation=function(){return new Wt(e.createAdapter(this))},e.prototype.initialSyncWithDOM=function(){var i=this.root;this.isUnbounded="mdcRippleIsUnbounded"in i.dataset},e.prototype.setUnbounded=function(){this.foundation.setUnbounded(!!this.isUnbounded)},e}(Gt);/**
331
331
  * @license
332
332
  * Copyright 2020 Google Inc.
333
333
  *
@@ -369,7 +369,7 @@ List of changes:${this.changes.join(`
369
369
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
370
370
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
371
371
  * THE SOFTWARE.
372
- */var $=new Map;$.set(s.SPACEBAR,E.SPACEBAR_KEY);$.set(s.ENTER,E.ENTER_KEY);$.set(s.DELETE,E.DELETE_KEY);$.set(s.BACKSPACE,E.BACKSPACE_KEY);var $t=function(t){u.__extends(e,t);function e(i){return t.call(this,u.__assign(u.__assign({},e.defaultAdapter),i))||this}return Object.defineProperty(e,"defaultAdapter",{get:function(){return{emitEvent:function(){},focus:function(){},getAttribute:function(){return null},getElementID:function(){return""},removeAttribute:function(){},setAttribute:function(){}}},enumerable:!1,configurable:!0}),e.prototype.handleClick=function(){this.isDisabled()||this.emitInteraction(E.CLICK)},e.prototype.handleKeydown=function(i){var n=Gt(i);if(this.shouldNotifyInteractionFromKey(n)){i.preventDefault(),this.emitInteraction(this.getTriggerFromKey(n));return}if(gi(i)){i.preventDefault(),this.emitNavigation(n);return}return!0},e.prototype.setDisabled=function(i){if(this.isSelectable()){this.adapter.setAttribute(m.ARIA_DISABLED,""+i);return}i?this.adapter.setAttribute(m.DISABLED,"true"):this.adapter.removeAttribute(m.DISABLED)},e.prototype.isDisabled=function(){return this.adapter.getAttribute(m.ARIA_DISABLED)==="true"||this.adapter.getAttribute(m.DISABLED)!==null},e.prototype.setFocus=function(i){if(this.isFocusable()){if(i===exports.MDCChipActionFocusBehavior.FOCUSABLE_AND_FOCUSED){this.adapter.setAttribute(m.TAB_INDEX,"0"),this.adapter.focus();return}if(i===exports.MDCChipActionFocusBehavior.FOCUSABLE){this.adapter.setAttribute(m.TAB_INDEX,"0");return}if(i===exports.MDCChipActionFocusBehavior.NOT_FOCUSABLE){this.adapter.setAttribute(m.TAB_INDEX,"-1");return}}},e.prototype.isFocusable=function(){return!(this.isDisabled()||this.adapter.getAttribute(m.ARIA_HIDDEN)==="true")},e.prototype.setSelected=function(i){this.isSelectable()&&this.adapter.setAttribute(m.ARIA_SELECTED,""+i)},e.prototype.isSelected=function(){return this.adapter.getAttribute(m.ARIA_SELECTED)==="true"},e.prototype.emitInteraction=function(i){this.adapter.emitEvent(k.INTERACTION,{actionID:this.adapter.getElementID(),source:this.actionType(),trigger:i})},e.prototype.emitNavigation=function(i){this.adapter.emitEvent(k.NAVIGATION,{source:this.actionType(),key:i})},e.prototype.shouldNotifyInteractionFromKey=function(i){var n=i===s.ENTER||i===s.SPACEBAR,r=i===s.BACKSPACE||i===s.DELETE;return!!(n||r&&this.shouldEmitInteractionOnRemoveKey())},e.prototype.getTriggerFromKey=function(i){var n=$.get(i);return n||E.UNSPECIFIED},e}(K);/**
372
+ */var $=new Map;$.set(s.SPACEBAR,E.SPACEBAR_KEY);$.set(s.ENTER,E.ENTER_KEY);$.set(s.DELETE,E.DELETE_KEY);$.set(s.BACKSPACE,E.BACKSPACE_KEY);var Kt=function(t){d.__extends(e,t);function e(i){return t.call(this,d.__assign(d.__assign({},e.defaultAdapter),i))||this}return Object.defineProperty(e,"defaultAdapter",{get:function(){return{emitEvent:function(){},focus:function(){},getAttribute:function(){return null},getElementID:function(){return""},removeAttribute:function(){},setAttribute:function(){}}},enumerable:!1,configurable:!0}),e.prototype.handleClick=function(){this.isDisabled()||this.emitInteraction(E.CLICK)},e.prototype.handleKeydown=function(i){var n=Bt(i);if(this.shouldNotifyInteractionFromKey(n)){i.preventDefault(),this.emitInteraction(this.getTriggerFromKey(n));return}if(gi(i)){i.preventDefault(),this.emitNavigation(n);return}return!0},e.prototype.setDisabled=function(i){if(this.isSelectable()){this.adapter.setAttribute(m.ARIA_DISABLED,""+i);return}i?this.adapter.setAttribute(m.DISABLED,"true"):this.adapter.removeAttribute(m.DISABLED)},e.prototype.isDisabled=function(){return this.adapter.getAttribute(m.ARIA_DISABLED)==="true"||this.adapter.getAttribute(m.DISABLED)!==null},e.prototype.setFocus=function(i){if(this.isFocusable()){if(i===exports.MDCChipActionFocusBehavior.FOCUSABLE_AND_FOCUSED){this.adapter.setAttribute(m.TAB_INDEX,"0"),this.adapter.focus();return}if(i===exports.MDCChipActionFocusBehavior.FOCUSABLE){this.adapter.setAttribute(m.TAB_INDEX,"0");return}if(i===exports.MDCChipActionFocusBehavior.NOT_FOCUSABLE){this.adapter.setAttribute(m.TAB_INDEX,"-1");return}}},e.prototype.isFocusable=function(){return!(this.isDisabled()||this.adapter.getAttribute(m.ARIA_HIDDEN)==="true")},e.prototype.setSelected=function(i){this.isSelectable()&&this.adapter.setAttribute(m.ARIA_SELECTED,""+i)},e.prototype.isSelected=function(){return this.adapter.getAttribute(m.ARIA_SELECTED)==="true"},e.prototype.emitInteraction=function(i){this.adapter.emitEvent(k.INTERACTION,{actionID:this.adapter.getElementID(),source:this.actionType(),trigger:i})},e.prototype.emitNavigation=function(i){this.adapter.emitEvent(k.NAVIGATION,{source:this.actionType(),key:i})},e.prototype.shouldNotifyInteractionFromKey=function(i){var n=i===s.ENTER||i===s.SPACEBAR,r=i===s.BACKSPACE||i===s.DELETE;return!!(n||r&&this.shouldEmitInteractionOnRemoveKey())},e.prototype.getTriggerFromKey=function(i){var n=$.get(i);return n||E.UNSPECIFIED},e}(K);/**
373
373
  * @license
374
374
  * Copyright 2020 Google Inc.
375
375
  *
@@ -390,7 +390,7 @@ List of changes:${this.changes.join(`
390
390
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
391
391
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
392
392
  * THE SOFTWARE.
393
- */var Ci=function(t){u.__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.isSelectable=function(){return this.adapter.getAttribute(m.ROLE)==="option"},e.prototype.actionType=function(){return exports.MDCChipActionType.PRIMARY},e.prototype.shouldEmitInteractionOnRemoveKey=function(){return this.adapter.getAttribute(m.DATA_DELETABLE)==="true"},e}($t);/**
393
+ */var Ci=function(t){d.__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.isSelectable=function(){return this.adapter.getAttribute(m.ROLE)==="option"},e.prototype.actionType=function(){return exports.MDCChipActionType.PRIMARY},e.prototype.shouldEmitInteractionOnRemoveKey=function(){return this.adapter.getAttribute(m.DATA_DELETABLE)==="true"},e}(Kt);/**
394
394
  * @license
395
395
  * Copyright 2020 Google Inc.
396
396
  *
@@ -411,7 +411,7 @@ List of changes:${this.changes.join(`
411
411
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
412
412
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
413
413
  * THE SOFTWARE.
414
- */var Ii=function(t){u.__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.isSelectable=function(){return!1},e.prototype.actionType=function(){return exports.MDCChipActionType.TRAILING},e.prototype.shouldEmitInteractionOnRemoveKey=function(){return!0},e}($t);/**
414
+ */var Ii=function(t){d.__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.isSelectable=function(){return!1},e.prototype.actionType=function(){return exports.MDCChipActionType.TRAILING},e.prototype.shouldEmitInteractionOnRemoveKey=function(){return!0},e}(Kt);/**
415
415
  * @license
416
416
  * Copyright 2020 Google Inc.
417
417
  *
@@ -432,9 +432,9 @@ List of changes:${this.changes.join(`
432
432
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
433
433
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
434
434
  * THE SOFTWARE.
435
- */var Ni=[C.safeAttrPrefix(bt||(bt=u.__makeTemplateObject(["aria-"],["aria-"]))),C.safeAttrPrefix(At||(At=u.__makeTemplateObject(["data-"],["data-"]))),C.safeAttrPrefix(Et||(Et=u.__makeTemplateObject(["disabled"],["disabled"]))),C.safeAttrPrefix(St||(St=u.__makeTemplateObject(["role"],["role"]))),C.safeAttrPrefix(wt||(wt=u.__makeTemplateObject(["tabindex"],["tabindex"])))],Oi=function(t){u.__extends(e,t);function e(){var i=t!==null&&t.apply(this,arguments)||this;return i.rootHTML=i.root,i}return e.attachTo=function(i){return new e(i)},Object.defineProperty(e.prototype,"ripple",{get:function(){return this.rippleInstance},enumerable:!1,configurable:!0}),e.prototype.initialize=function(i){var n=this;i===void 0&&(i=function(o,a){return new yt(o,a)});var r=u.__assign(u.__assign({},yt.createAdapter(this)),{computeBoundingRect:function(){return n.computeRippleClientRect()}});this.rippleInstance=i(this.root,new Kt(r))},e.prototype.initialSyncWithDOM=function(){var i=this;this.handleClick=function(){i.foundation.handleClick()},this.handleKeydown=function(n){i.foundation.handleKeydown(n)},this.listen("click",this.handleClick),this.listen("keydown",this.handleKeydown)},e.prototype.destroy=function(){this.ripple.destroy(),this.unlisten("click",this.handleClick),this.unlisten("keydown",this.handleKeydown),t.prototype.destroy.call(this)},e.prototype.getDefaultFoundation=function(){var i=this,n={emitEvent:function(r,o){i.emit(r,o,!0)},focus:function(){i.rootHTML.focus()},getAttribute:function(r){return i.root.getAttribute(r)},getElementID:function(){return i.root.id},removeAttribute:function(r){i.root.removeAttribute(r)},setAttribute:function(r,o){Mt(Ni,i.root,r,o)}};return this.root.classList.contains(j.TRAILING_ACTION)?new Ii(n):new Ci(n)},e.prototype.setDisabled=function(i){this.foundation.setDisabled(i)},e.prototype.isDisabled=function(){return this.foundation.isDisabled()},e.prototype.setFocus=function(i){this.foundation.setFocus(i)},e.prototype.isFocusable=function(){return this.foundation.isFocusable()},e.prototype.setSelected=function(i){this.foundation.setSelected(i)},e.prototype.isSelected=function(){return this.foundation.isSelected()},e.prototype.isSelectable=function(){return this.foundation.isSelectable()},e.prototype.actionType=function(){return this.foundation.actionType()},e.prototype.computeRippleClientRect=function(){if(this.root.classList.contains(j.PRIMARY_ACTION)){var i=bi(this.root,"."+j.CHIP_ROOT);if(!i)return this.root.getBoundingClientRect();var n=window.getComputedStyle(i).getPropertyValue(Ri);return Di(i.getBoundingClientRect(),n)}return this.root.getBoundingClientRect()},e}(jt),bt,At,Et,St,wt,Pi=Object.defineProperty,Li=Object.getOwnPropertyDescriptor,I=(t,e,i,n)=>{for(var r=n>1?void 0:n?Li(e,i):e,o=t.length-1,a;o>=0;o--)(a=t[o])&&(r=(n?a(e,i,r):a(r))||r);return n&&r&&Pi(e,i,r),r};let Fi=0;class D extends S.s{constructor(){super(),this.mdcFoundationClass=_i,this.label="",this.icon="",this.trailingIcon=!1,this.avatar=!1,this.disabled=!1,this.filter=!1,this.chipId=Fi++}render(){const e={"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 S.x`
435
+ */var Ni=[C.safeAttrPrefix(bt||(bt=d.__makeTemplateObject(["aria-"],["aria-"]))),C.safeAttrPrefix(At||(At=d.__makeTemplateObject(["data-"],["data-"]))),C.safeAttrPrefix(Et||(Et=d.__makeTemplateObject(["disabled"],["disabled"]))),C.safeAttrPrefix(St||(St=d.__makeTemplateObject(["role"],["role"]))),C.safeAttrPrefix(wt||(wt=d.__makeTemplateObject(["tabindex"],["tabindex"])))],Oi=function(t){d.__extends(e,t);function e(){var i=t!==null&&t.apply(this,arguments)||this;return i.rootHTML=i.root,i}return e.attachTo=function(i){return new e(i)},Object.defineProperty(e.prototype,"ripple",{get:function(){return this.rippleInstance},enumerable:!1,configurable:!0}),e.prototype.initialize=function(i){var n=this;i===void 0&&(i=function(o,a){return new yt(o,a)});var r=d.__assign(d.__assign({},yt.createAdapter(this)),{computeBoundingRect:function(){return n.computeRippleClientRect()}});this.rippleInstance=i(this.root,new Wt(r))},e.prototype.initialSyncWithDOM=function(){var i=this;this.handleClick=function(){i.foundation.handleClick()},this.handleKeydown=function(n){i.foundation.handleKeydown(n)},this.listen("click",this.handleClick),this.listen("keydown",this.handleKeydown)},e.prototype.destroy=function(){this.ripple.destroy(),this.unlisten("click",this.handleClick),this.unlisten("keydown",this.handleKeydown),t.prototype.destroy.call(this)},e.prototype.getDefaultFoundation=function(){var i=this,n={emitEvent:function(r,o){i.emit(r,o,!0)},focus:function(){i.rootHTML.focus()},getAttribute:function(r){return i.root.getAttribute(r)},getElementID:function(){return i.root.id},removeAttribute:function(r){i.root.removeAttribute(r)},setAttribute:function(r,o){Ut(Ni,i.root,r,o)}};return this.root.classList.contains(j.TRAILING_ACTION)?new Ii(n):new Ci(n)},e.prototype.setDisabled=function(i){this.foundation.setDisabled(i)},e.prototype.isDisabled=function(){return this.foundation.isDisabled()},e.prototype.setFocus=function(i){this.foundation.setFocus(i)},e.prototype.isFocusable=function(){return this.foundation.isFocusable()},e.prototype.setSelected=function(i){this.foundation.setSelected(i)},e.prototype.isSelected=function(){return this.foundation.isSelected()},e.prototype.isSelectable=function(){return this.foundation.isSelectable()},e.prototype.actionType=function(){return this.foundation.actionType()},e.prototype.computeRippleClientRect=function(){if(this.root.classList.contains(j.PRIMARY_ACTION)){var i=bi(this.root,"."+j.CHIP_ROOT);if(!i)return this.root.getBoundingClientRect();var n=window.getComputedStyle(i).getPropertyValue(Ri);return Di(i.getBoundingClientRect(),n)}return this.root.getBoundingClientRect()},e}(Gt),bt,At,Et,St,wt,Pi=Object.defineProperty,Li=Object.getOwnPropertyDescriptor,I=(t,e,i,n)=>{for(var r=n>1?void 0:n?Li(e,i):e,o=t.length-1,a;o>=0;o--)(a=t[o])&&(r=(n?a(e,i,r):a(r))||r);return n&&r&&Pi(e,i,r),r};let Fi=0;class D extends S.s{constructor(){super(),this.mdcFoundationClass=_i,this.label="",this.icon="",this.trailingIcon=!1,this.avatar=!1,this.disabled=!1,this.filter=!1,this.chipId=Fi++}render(){const e={"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 S.x`
436
436
  <span
437
- class="${Zt.o(e)}"
437
+ class="${Xt.o(e)}"
438
438
  role="${this.filter?"presentation":"row"}"
439
439
  id="cv-chip-${this.chipId}"
440
440
  >
@@ -487,7 +487,6 @@ List of changes:${this.changes.join(`
487
487
  ></span>
488
488
  ${this.renderIcon(!0)}
489
489
  </button>
490
- </span>`}createAdapter(){return{...Yt.addHasRemoveClass(this.mdcRoot),emitEvent:(e,i)=>this.dispatchEvent(new CustomEvent(e,{bubbles:!0,detail:i})),getActions:()=>{const e=[];for(const[i]of this.actions)e.push(i);return e},getAttribute:e=>this.mdcRoot.getAttribute(e),getElementID:()=>this.mdcRoot.getAttribute("id")??"",getOffsetWidth:()=>this.mdcRoot.offsetWidth,hasClass:e=>this.mdcRoot.classList.contains(e),isActionSelectable:e=>{var i;return((i=this.actions.get(e))==null?void 0:i.isSelectable())??!0},isActionSelected:e=>{var i;return((i=this.actions.get(e))==null?void 0:i.isSelected())??!1},isActionFocusable:e=>{var i;return((i=this.actions.get(e))==null?void 0:i.isFocusable())??!0},isActionDisabled:e=>{var i;return((i=this.actions.get(e))==null?void 0:i.isDisabled())??!1},isRTL:()=>window.getComputedStyle(this.mdcRoot).getPropertyValue("direction")==="rtl",setActionDisabled:(e,i)=>{var n;return(n=this.actions.get(e))==null?void 0:n.setDisabled(i)},setActionFocus:(e,i)=>{var n;return(n=this.actions.get(e))==null?void 0:n.setFocus(i)},setActionSelected:(e,i)=>{var n;return(n=this.actions.get(e))==null?void 0:n.setSelected(i)},setStyleProperty:(e,i)=>this.mdcRoot.style.setProperty(e,i)}}getActions(){var e;return((e=this.mdcFoundation)==null?void 0:e.getActions())??[]}getElementID(){var e;return((e=this.mdcFoundation)==null?void 0:e.getElementID())??""}isActionFocusable(e){var i;return((i=this.mdcFoundation)==null?void 0:i.isActionFocusable(e))??!1}isActionSelectable(e){var i;return((i=this.mdcFoundation)==null?void 0:i.isActionSelectable(e))??!1}isActionSelected(e){var i;return((i=this.mdcFoundation)==null?void 0:i.isActionSelected(e))??!1}setActionFocus(e,i){var n;return(n=this.mdcFoundation)==null?void 0:n.setActionFocus(e,i)}setActionSelected(e,i){var n;return(n=this.mdcFoundation)==null?void 0:n.setActionSelected(e,i)}startAnimation(e){var i;return(i=this.mdcFoundation)==null?void 0:i.startAnimation(e)}}I([Xt.i(".mdc-evolution-chip")],D.prototype,"mdcRoot",2);I([L.n()],D.prototype,"label",2);I([L.n({type:String})],D.prototype,"icon",2);I([L.n({type:Boolean,reflect:!0})],D.prototype,"trailingIcon",2);I([L.n({type:Boolean,reflect:!0})],D.prototype,"avatar",2);I([L.n({type:Boolean,reflect:!0})],D.prototype,"disabled",2);I([L.n({type:Boolean,reflect:!0})],D.prototype,"filter",2);I([L.n()],D.prototype,"state",2);const xi=`.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)}
491
- `;var Ui=Object.defineProperty,Mi=Object.getOwnPropertyDescriptor,zi=(t,e,i,n)=>{for(var r=n>1?void 0:n?Mi(e,i):e,o=t.length-1,a;o>=0;o--)(a=t[o])&&(r=(n?a(e,i,r):a(r))||r);return n&&r&&Ui(e,i,r),r};exports.CovalentChip=class extends D{};exports.CovalentChip.styles=[S.i`
490
+ </span>`}createAdapter(){return{...qt.addHasRemoveClass(this.mdcRoot),emitEvent:(e,i)=>this.dispatchEvent(new CustomEvent(e,{bubbles:!0,detail:i})),getActions:()=>{const e=[];for(const[i]of this.actions)e.push(i);return e},getAttribute:e=>this.mdcRoot.getAttribute(e),getElementID:()=>this.mdcRoot.getAttribute("id")??"",getOffsetWidth:()=>this.mdcRoot.offsetWidth,hasClass:e=>this.mdcRoot.classList.contains(e),isActionSelectable:e=>{var i;return((i=this.actions.get(e))==null?void 0:i.isSelectable())??!0},isActionSelected:e=>{var i;return((i=this.actions.get(e))==null?void 0:i.isSelected())??!1},isActionFocusable:e=>{var i;return((i=this.actions.get(e))==null?void 0:i.isFocusable())??!0},isActionDisabled:e=>{var i;return((i=this.actions.get(e))==null?void 0:i.isDisabled())??!1},isRTL:()=>window.getComputedStyle(this.mdcRoot).getPropertyValue("direction")==="rtl",setActionDisabled:(e,i)=>{var n;return(n=this.actions.get(e))==null?void 0:n.setDisabled(i)},setActionFocus:(e,i)=>{var n;return(n=this.actions.get(e))==null?void 0:n.setFocus(i)},setActionSelected:(e,i)=>{var n;return(n=this.actions.get(e))==null?void 0:n.setSelected(i)},setStyleProperty:(e,i)=>this.mdcRoot.style.setProperty(e,i)}}getActions(){var e;return((e=this.mdcFoundation)==null?void 0:e.getActions())??[]}getElementID(){var e;return((e=this.mdcFoundation)==null?void 0:e.getElementID())??""}isActionFocusable(e){var i;return((i=this.mdcFoundation)==null?void 0:i.isActionFocusable(e))??!1}isActionSelectable(e){var i;return((i=this.mdcFoundation)==null?void 0:i.isActionSelectable(e))??!1}isActionSelected(e){var i;return((i=this.mdcFoundation)==null?void 0:i.isActionSelected(e))??!1}setActionFocus(e,i){var n;return(n=this.mdcFoundation)==null?void 0:n.setActionFocus(e,i)}setActionSelected(e,i){var n;return(n=this.mdcFoundation)==null?void 0:n.setActionSelected(e,i)}startAnimation(e){var i;return(i=this.mdcFoundation)==null?void 0:i.startAnimation(e)}}I([Yt.i(".mdc-evolution-chip")],D.prototype,"mdcRoot",2);I([L.n()],D.prototype,"label",2);I([L.n({type:String})],D.prototype,"icon",2);I([L.n({type:Boolean,reflect:!0})],D.prototype,"trailingIcon",2);I([L.n({type:Boolean,reflect:!0})],D.prototype,"avatar",2);I([L.n({type:Boolean,reflect:!0})],D.prototype,"disabled",2);I([L.n({type:Boolean,reflect:!0})],D.prototype,"filter",2);I([L.n()],D.prototype,"state",2);const xi='.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)}';var Ui=Object.defineProperty,Mi=Object.getOwnPropertyDescriptor,zi=(t,e,i,n)=>{for(var r=n>1?void 0:n?Mi(e,i):e,o=t.length-1,a;o>=0;o--)(a=t[o])&&(r=(n?a(e,i,r):a(r))||r);return n&&r&&Ui(e,i,r),r};exports.CovalentChip=class extends D{};exports.CovalentChip.styles=[S.i`
492
491
  ${S.r(xi)}
493
492
  `];exports.CovalentChip=zi([S.e("cv-chip")],exports.CovalentChip);const Hi=exports.CovalentChip;exports.CovalentChip$1=Hi;exports.KEY=s;exports.MDCFoundation=K;