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