@covalent/components 1.0.14 → 4.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/actionRibbon.js +6 -182
  2. package/actionRibbon.js.LICENSE.txt +75 -0
  3. package/alert.js +8 -187
  4. package/alert.js.LICENSE.txt +75 -0
  5. package/appShell.js +61 -366
  6. package/appShell.js.LICENSE.txt +131 -0
  7. package/button.js +9 -251
  8. package/button.js.LICENSE.txt +91 -0
  9. package/checkbox.js +12 -242
  10. package/checkbox.js.LICENSE.txt +91 -0
  11. package/circularProgress.js +22 -148
  12. package/circularProgress.js.LICENSE.txt +41 -0
  13. package/dialog.js +6 -242
  14. package/dialog.js.LICENSE.txt +165 -0
  15. package/drawer.js +7 -174
  16. package/drawer.js.LICENSE.txt +90 -0
  17. package/emptyState.js +25 -0
  18. package/emptyState.js.LICENSE.txt +29 -0
  19. package/formField.js +4 -154
  20. package/formField.js.LICENSE.txt +61 -0
  21. package/icon.js +2 -99
  22. package/icon.js.LICENSE.txt +29 -0
  23. package/iconButton.js +9 -239
  24. package/iconButton.js.LICENSE.txt +85 -0
  25. package/iconCheckbox.js +51 -0
  26. package/iconCheckbox.js.LICENSE.txt +91 -0
  27. package/iconRadio.js +43 -0
  28. package/iconRadio.js.LICENSE.txt +85 -0
  29. package/icons/covalent-icons.css +138 -114
  30. package/icons/covalent-icons.eot +0 -0
  31. package/icons/covalent-icons.svg +6 -1
  32. package/icons/covalent-icons.ttf +0 -0
  33. package/icons/covalent-icons.woff +0 -0
  34. package/index.js +691 -1632
  35. package/index.js.LICENSE.txt +206 -0
  36. package/linearProgress.js +10 -136
  37. package/linearProgress.js.LICENSE.txt +41 -0
  38. package/list.js +30 -330
  39. package/list.js.LICENSE.txt +125 -0
  40. package/listExpansion.js +41 -340
  41. package/listExpansion.js.LICENSE.txt +125 -0
  42. package/listItem.js +13 -250
  43. package/listItem.js.LICENSE.txt +79 -0
  44. package/listRadioItem.js +36 -308
  45. package/listRadioItem.js.LICENSE.txt +85 -0
  46. package/menu.js +53 -455
  47. package/menu.js.LICENSE.txt +125 -0
  48. package/package.json +14 -5
  49. package/radio.js +9 -251
  50. package/radio.js.LICENSE.txt +85 -0
  51. package/select.js +83 -531
  52. package/select.js.LICENSE.txt +131 -0
  53. package/slider.js +16 -320
  54. package/slider.js.LICENSE.txt +108 -0
  55. package/sliderRange.js +28 -332
  56. package/sliderRange.js.LICENSE.txt +108 -0
  57. package/snackBar.js +6 -171
  58. package/snackBar.js.LICENSE.txt +85 -0
  59. package/styles.css +1 -1
  60. package/styles.js +1 -1
  61. package/switch.js +13 -310
  62. package/switch.js.LICENSE.txt +108 -0
  63. package/tab.js +13 -255
  64. package/tab.js.LICENSE.txt +79 -0
  65. package/tabBar.js +15 -314
  66. package/tabBar.js.LICENSE.txt +79 -0
  67. package/textArea.js +49 -244
  68. package/textArea.js.LICENSE.txt +85 -0
  69. package/textField.js +38 -221
  70. package/textField.js.LICENSE.txt +85 -0
  71. package/theme.css +1 -1
  72. package/theme.js +1 -1
  73. package/toolbar.js +39 -0
  74. package/toolbar.js.LICENSE.txt +96 -0
  75. package/topAppBar.js +5 -178
  76. package/topAppBar.js.LICENSE.txt +102 -0
  77. package/topAppBarFixed.js +5 -184
  78. package/topAppBarFixed.js.LICENSE.txt +102 -0
  79. package/treeList.js +8 -0
  80. package/treeList.js.LICENSE.txt +17 -0
  81. package/treeListItem.js +24 -0
  82. package/treeListItem.js.LICENSE.txt +23 -0
  83. package/appDetail.js +0 -69
  84. package/components/src/action-ribbon/action-ribbon-base.d.ts +0 -30
  85. package/components/src/action-ribbon/action-ribbon-base.d.ts.map +0 -1
  86. package/components/src/action-ribbon/action-ribbon.d.ts +0 -15
  87. package/components/src/action-ribbon/action-ribbon.d.ts.map +0 -1
  88. package/components/src/action-ribbon/foundation.d.ts +0 -53
  89. package/components/src/action-ribbon/foundation.d.ts.map +0 -1
  90. package/components/src/alert/alert-base.d.ts +0 -31
  91. package/components/src/alert/alert-base.d.ts.map +0 -1
  92. package/components/src/alert/alert.d.ts +0 -15
  93. package/components/src/alert/alert.d.ts.map +0 -1
  94. package/components/src/app-detail/app-detail-base.d.ts +0 -5
  95. package/components/src/app-detail/app-detail-base.d.ts.map +0 -1
  96. package/components/src/app-detail/app-detail.d.ts +0 -10
  97. package/components/src/app-detail/app-detail.d.ts.map +0 -1
  98. package/components/src/app-shell/app-shell.d.ts +0 -27
  99. package/components/src/app-shell/app-shell.d.ts.map +0 -1
  100. package/components/src/button/button.d.ts +0 -10
  101. package/components/src/button/button.d.ts.map +0 -1
  102. package/components/src/card/card-base.d.ts +0 -17
  103. package/components/src/card/card-base.d.ts.map +0 -1
  104. package/components/src/card/card.d.ts +0 -10
  105. package/components/src/card/card.d.ts.map +0 -1
  106. package/components/src/checkbox/checkbox.d.ts +0 -10
  107. package/components/src/checkbox/checkbox.d.ts.map +0 -1
  108. package/components/src/chips/chip-base.d.ts +0 -52
  109. package/components/src/chips/chip-base.d.ts.map +0 -1
  110. package/components/src/chips/chip-set-base.d.ts +0 -33
  111. package/components/src/chips/chip-set-base.d.ts.map +0 -1
  112. package/components/src/chips/chip-set.d.ts +0 -15
  113. package/components/src/chips/chip-set.d.ts.map +0 -1
  114. package/components/src/chips/chip.d.ts +0 -15
  115. package/components/src/chips/chip.d.ts.map +0 -1
  116. package/components/src/chips/foundation.d.ts +0 -38
  117. package/components/src/chips/foundation.d.ts.map +0 -1
  118. package/components/src/circular-progress/circular-progress.d.ts +0 -10
  119. package/components/src/circular-progress/circular-progress.d.ts.map +0 -1
  120. package/components/src/dialog/dialog.d.ts +0 -10
  121. package/components/src/dialog/dialog.d.ts.map +0 -1
  122. package/components/src/drawer/drawer.d.ts +0 -10
  123. package/components/src/drawer/drawer.d.ts.map +0 -1
  124. package/components/src/formfield/formfield.d.ts +0 -10
  125. package/components/src/formfield/formfield.d.ts.map +0 -1
  126. package/components/src/icon/icon.d.ts +0 -10
  127. package/components/src/icon/icon.d.ts.map +0 -1
  128. package/components/src/icon-button/icon-button.d.ts +0 -10
  129. package/components/src/icon-button/icon-button.d.ts.map +0 -1
  130. package/components/src/index.d.ts +0 -29
  131. package/components/src/index.d.ts.map +0 -1
  132. package/components/src/linear-progress/linear-progress.d.ts +0 -10
  133. package/components/src/linear-progress/linear-progress.d.ts.map +0 -1
  134. package/components/src/list/check-list-item.d.ts +0 -10
  135. package/components/src/list/check-list-item.d.ts.map +0 -1
  136. package/components/src/list/list-expansion.d.ts +0 -14
  137. package/components/src/list/list-expansion.d.ts.map +0 -1
  138. package/components/src/list/list-item.d.ts +0 -12
  139. package/components/src/list/list-item.d.ts.map +0 -1
  140. package/components/src/list/list.d.ts +0 -10
  141. package/components/src/list/list.d.ts.map +0 -1
  142. package/components/src/list/radio-list-item.d.ts +0 -10
  143. package/components/src/list/radio-list-item.d.ts.map +0 -1
  144. package/components/src/menu/menu.d.ts +0 -10
  145. package/components/src/menu/menu.d.ts.map +0 -1
  146. package/components/src/radio/radio.d.ts +0 -10
  147. package/components/src/radio/radio.d.ts.map +0 -1
  148. package/components/src/select/select.d.ts +0 -10
  149. package/components/src/select/select.d.ts.map +0 -1
  150. package/components/src/slider/slider-range.d.ts +0 -10
  151. package/components/src/slider/slider-range.d.ts.map +0 -1
  152. package/components/src/slider/slider.d.ts +0 -10
  153. package/components/src/slider/slider.d.ts.map +0 -1
  154. package/components/src/snackbar/snackbar.d.ts +0 -10
  155. package/components/src/snackbar/snackbar.d.ts.map +0 -1
  156. package/components/src/switch/switch.d.ts +0 -10
  157. package/components/src/switch/switch.d.ts.map +0 -1
  158. package/components/src/tab/tab-bar.d.ts +0 -10
  159. package/components/src/tab/tab-bar.d.ts.map +0 -1
  160. package/components/src/tab/tab.d.ts +0 -10
  161. package/components/src/tab/tab.d.ts.map +0 -1
  162. package/components/src/textarea/textarea.d.ts +0 -10
  163. package/components/src/textarea/textarea.d.ts.map +0 -1
  164. package/components/src/textfield/textfield.d.ts +0 -10
  165. package/components/src/textfield/textfield.d.ts.map +0 -1
  166. package/components/src/top-app-bar/top-app-bar-fixed.d.ts +0 -10
  167. package/components/src/top-app-bar/top-app-bar-fixed.d.ts.map +0 -1
  168. package/components/src/top-app-bar/top-app-bar.d.ts +0 -10
  169. package/components/src/top-app-bar/top-app-bar.d.ts.map +0 -1
  170. package/vendor.css +0 -13
  171. package/vendor.js +0 -1
package/alert.js CHANGED
@@ -1,198 +1,19 @@
1
- !function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=87)}([function(t,e,n){"use strict";var i=n(6);n.d(e,"b",(function(){return i.b}));var r=n(2);n.d(e,"e",(function(){return r.b}));var o=n(14);n.d(e,"a",(function(){return o.a}));n(4);var s=n(15);n.d(e,"c",(function(){return s.a}));var a=n(8);n.d(e,"f",(function(){return a.a}));var c=n(16);n.d(e,"j",(function(){return c.a}));var d=n(17);n.d(e,"d",(function(){return d.a}));var l=n(18);n.d(e,"g",(function(){return l.a}));n(19);var h=n(20);n.d(e,"i",(function(){return h.a}));var u=n(21);n.d(e,"h",(function(){return u.a})),
2
- /**
3
- * @license
4
- * Copyright 2017 Google LLC
5
- * SPDX-License-Identifier: BSD-3-Clause
6
- */
7
- console.warn("The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.")},,function(t,e,n){"use strict";
8
- /**
9
- * @license
10
- * Copyright 2017 Google LLC
11
- * SPDX-License-Identifier: BSD-3-Clause
12
- */
13
- var i;n.d(e,"a",(function(){return H})),n.d(e,"b",(function(){return x})),n.d(e,"c",(function(){return A})),n.d(e,"d",(function(){return E})),n.d(e,"e",(function(){return O}));const r=globalThis.trustedTypes,o=r?r.createPolicy("lit-html",{createHTML:t=>t}):void 0,s=`lit$${(Math.random()+"").slice(9)}$`,a="?"+s,c=`<${a}>`,d=document,l=(t="")=>d.createComment(t),h=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u=Array.isArray,m=t=>{var e;return u(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},p=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,f=/-->/g,b=/>/g,v=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,_=/'/g,g=/"/g,y=/^(?:script|style|textarea)$/i,$=t=>(e,...n)=>({_$litType$:t,strings:e,values:n}),x=$(1),A=($(2),Symbol.for("lit-noChange")),E=Symbol.for("lit-nothing"),S=new WeakMap,O=(t,e,n)=>{var i,r;const o=null!==(i=null==n?void 0:n.renderBefore)&&void 0!==i?i:e;let s=o._$litPart$;if(void 0===s){const t=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:null;o._$litPart$=s=new k(e.insertBefore(l(),t),t,void 0,null!=n?n:{})}return s._$AI(t),s},C=d.createTreeWalker(d,129,null,!1),w=(t,e)=>{const n=t.length-1,i=[];let r,a=2===e?"<svg>":"",d=p;for(let e=0;e<n;e++){const n=t[e];let o,l,h=-1,u=0;for(;u<n.length&&(d.lastIndex=u,l=d.exec(n),null!==l);)u=d.lastIndex,d===p?"!--"===l[1]?d=f:void 0!==l[1]?d=b:void 0!==l[2]?(y.test(l[2])&&(r=RegExp("</"+l[2],"g")),d=v):void 0!==l[3]&&(d=v):d===v?">"===l[0]?(d=null!=r?r:p,h=-1):void 0===l[1]?h=-2:(h=d.lastIndex-l[2].length,o=l[1],d=void 0===l[3]?v:'"'===l[3]?g:_):d===g||d===_?d=v:d===f||d===b?d=p:(d=v,r=void 0);const m=d===v&&t[e+1].startsWith("/>")?" ":"";a+=d===p?n+c:h>=0?(i.push(o),n.slice(0,h)+"$lit$"+n.slice(h)+s+m):n+s+(-2===h?(i.push(void 0),e):m)}const l=a+(t[n]||"<?>")+(2===e?"</svg>":"");return[void 0!==o?o.createHTML(l):l,i]};class T{constructor({strings:t,_$litType$:e},n){let i;this.parts=[];let o=0,c=0;const d=t.length-1,h=this.parts,[u,m]=w(t,e);if(this.el=T.createElement(u,n),C.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(i=C.nextNode())&&h.length<d;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const e of i.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(s)){const n=m[c++];if(t.push(e),void 0!==n){const t=i.getAttribute(n.toLowerCase()+"$lit$").split(s),e=/([.?@])?(.*)/.exec(n);h.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?M:"?"===e[1]?U:"@"===e[1]?j:R})}else h.push({type:6,index:o})}for(const e of t)i.removeAttribute(e)}if(y.test(i.tagName)){const t=i.textContent.split(s),e=t.length-1;if(e>0){i.textContent=r?r.emptyScript:"";for(let n=0;n<e;n++)i.append(t[n],l()),C.nextNode(),h.push({type:2,index:++o});i.append(t[e],l())}}}else if(8===i.nodeType)if(i.data===a)h.push({type:2,index:o});else{let t=-1;for(;-1!==(t=i.data.indexOf(s,t+1));)h.push({type:7,index:o}),t+=s.length-1}o++}}static createElement(t,e){const n=d.createElement("template");return n.innerHTML=t,n}}function N(t,e,n=t,i){var r,o,s,a;if(e===A)return e;let c=void 0!==i?null===(r=n._$Cl)||void 0===r?void 0:r[i]:n._$Cu;const d=h(e)?void 0:e._$litDirective$;return(null==c?void 0:c.constructor)!==d&&(null===(o=null==c?void 0:c._$AO)||void 0===o||o.call(c,!1),void 0===d?c=void 0:(c=new d(t),c._$AT(t,n,i)),void 0!==i?(null!==(s=(a=n)._$Cl)&&void 0!==s?s:a._$Cl=[])[i]=c:n._$Cu=c),void 0!==c&&(e=N(t,c._$AS(t,e.values),c,i)),e}class P{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:n},parts:i}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:d).importNode(n,!0);C.currentNode=r;let o=C.nextNode(),s=0,a=0,c=i[0];for(;void 0!==c;){if(s===c.index){let e;2===c.type?e=new k(o,o.nextSibling,this,t):1===c.type?e=new c.ctor(o,c.name,c.strings,this,t):6===c.type&&(e=new I(o,this,t)),this.v.push(e),c=i[++a]}s!==(null==c?void 0:c.index)&&(o=C.nextNode(),s++)}return r}m(t){let e=0;for(const n of this.v)void 0!==n&&(void 0!==n.strings?(n._$AI(t,n,e),e+=n.strings.length-2):n._$AI(t[e])),e++}}class k{constructor(t,e,n,i){var r;this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=n,this.options=i,this._$Cg=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=N(this,t,e),h(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==A&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):m(t)?this.M(t):this.$(t)}A(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.A(t))}$(t){this._$AH!==E&&h(this._$AH)?this._$AA.nextSibling.data=t:this.S(d.createTextNode(t)),this._$AH=t}T(t){var e;const{values:n,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=T.createElement(i.h,this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.m(n);else{const t=new P(r,this),e=t.p(this.options);t.m(n),this.S(e),this._$AH=t}}_$AC(t){let e=S.get(t.strings);return void 0===e&&S.set(t.strings,e=new T(t)),e}M(t){u(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let n,i=0;for(const r of t)i===e.length?e.push(n=new k(this.A(l()),this.A(l()),this,this.options)):n=e[i],n._$AI(r),i++;i<e.length&&(this._$AR(n&&n._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var n;for(null===(n=this._$AP)||void 0===n||n.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class R{constructor(t,e,n,i,r){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=E}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,n,i){const r=this.strings;let o=!1;if(void 0===r)t=N(this,t,e,0),o=!h(t)||t!==this._$AH&&t!==A,o&&(this._$AH=t);else{const i=t;let s,a;for(t=r[0],s=0;s<r.length-1;s++)a=N(this,i[n+s],e,s),a===A&&(a=this._$AH[s]),o||(o=!h(a)||a!==this._$AH[s]),a===E?t=E:t!==E&&(t+=(null!=a?a:"")+r[s+1]),this._$AH[s]=a}o&&!i&&this.k(t)}k(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class M extends R{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===E?void 0:t}}class U extends R{constructor(){super(...arguments),this.type=4}k(t){t&&t!==E?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)}}class j extends R{constructor(t,e,n,i,r){super(t,e,n,i,r),this.type=5}_$AI(t,e=this){var n;if((t=null!==(n=N(this,t,e,0))&&void 0!==n?n:E)===A)return;const i=this._$AH,r=t===E&&i!==E||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,o=t!==E&&(i===E||r);r&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,n;"function"==typeof this._$AH?this._$AH.call(null!==(n=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==n?n:this.element,t):this._$AH.handleEvent(t)}}class I{constructor(t,e,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){N(this,t)}}const H={P:"$lit$",V:s,L:a,I:1,N:w,R:P,D:m,j:N,H:k,O:R,F:U,B:j,W:M,Z:I},L=window.litHtmlPolyfillSupport;null==L||L(T,k),(null!==(i=globalThis.litHtmlVersions)&&void 0!==i?i:globalThis.litHtmlVersions=[]).push("2.0.1")},,function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));
14
- /**
15
- * @license
16
- * Copyright 2017 Google LLC
17
- * SPDX-License-Identifier: BSD-3-Clause
18
- */
19
- const i=({finisher:t,descriptor:e})=>(n,i)=>{var r;if(void 0===i){const i=null!==(r=n.originalKey)&&void 0!==r?r:n.key,o=null!=e?{kind:"method",placement:"prototype",key:i,descriptor:e(n.key)}:{...n,key:i};return null!=t&&(o.finisher=function(e){t(e,i)}),o}{const r=n.constructor;void 0!==e&&Object.defineProperty(n,i,e(i)),null==t||t(r,i)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r}));
20
- /**
21
- * @license
22
- * Copyright 2017 Google LLC
23
- * SPDX-License-Identifier: BSD-3-Clause
24
- */
25
- const i={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},r=t=>(...e)=>({_$litDirective$:t,values:e});class o{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,n){this._$Ct=t,this._$AM=e,this._$Ci=n}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return p}));
26
- /**
27
- * @license
28
- * Copyright 2019 Google LLC
29
- * SPDX-License-Identifier: BSD-3-Clause
30
- */
31
- const i=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),o=new Map;class s{constructor(t,e){if(this._$cssResult$=!0,e!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=o.get(this.cssText);return i&&void 0===t&&(o.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const a=(t,...e)=>{const n=1===t.length?t[0]:e.reduce((e,n,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[i+1],t[0]);return new s(n,r)},c=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const n of t.cssRules)e+=n.cssText;return(t=>new s("string"==typeof t?t:t+"",r))(e)})(t):t
32
- /**
33
- * @license
34
- * Copyright 2017 Google LLC
35
- * SPDX-License-Identifier: BSD-3-Clause
36
- */;var d;const l=window.reactiveElementPolyfillSupport,h={toAttribute(t,e){switch(e){case Boolean:t=t?"":null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let n=t;switch(e){case Boolean:n=null!==t;break;case Number:n=null===t?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch(t){n=null}}return n}},u=(t,e)=>e!==t&&(e==e||t==t),m={attribute:!0,type:String,converter:h,reflect:!1,hasChanged:u};class p extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,n)=>{const i=this._$Eh(n,e);void 0!==i&&(this._$Eu.set(i,n),t.push(i))}),t}static createProperty(t,e=m){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const n="symbol"==typeof t?Symbol():"__"+t,i=this.getPropertyDescriptor(t,n,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,n){return{get(){return this[e]},set(i){const r=this[t];this[e]=i,this.requestUpdate(t,r,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||m}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const n of e)this.createProperty(n,t[n])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const n=new Set(t.flat(1/0).reverse());for(const t of n)e.unshift(c(t))}else void 0!==t&&e.push(c(t));return e}static _$Eh(t,e){const n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ev=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Ep(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach(t=>t(this))}addController(t){var e,n;(null!==(e=this._$Em)&&void 0!==e?e:this._$Em=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(n=t.hostConnected)||void 0===n||n.call(t))}removeController(t){var e;null===(e=this._$Em)||void 0===e||e.splice(this._$Em.indexOf(t)>>>0,1)}_$Ep(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return n=e,r=this.constructor.elementStyles,i?n.adoptedStyleSheets=r.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):r.forEach(t=>{const e=document.createElement("style"),i=window.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=t.cssText,n.appendChild(e)}),e;var n,r}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Em)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Em)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)})}attributeChangedCallback(t,e,n){this._$AK(t,n)}_$Eg(t,e,n=m){var i,r;const o=this.constructor._$Eh(t,n);if(void 0!==o&&!0===n.reflect){const s=(null!==(r=null===(i=n.converter)||void 0===i?void 0:i.toAttribute)&&void 0!==r?r:h.toAttribute)(e,n.type);this._$Ei=t,null==s?this.removeAttribute(o):this.setAttribute(o,s),this._$Ei=null}}_$AK(t,e){var n,i,r;const o=this.constructor,s=o._$Eu.get(t);if(void 0!==s&&this._$Ei!==s){const t=o.getPropertyOptions(s),a=t.converter,c=null!==(r=null!==(i=null===(n=a)||void 0===n?void 0:n.fromAttribute)&&void 0!==i?i:"function"==typeof a?a:null)&&void 0!==r?r:h.fromAttribute;this._$Ei=s,this[s]=c(e,t.type),this._$Ei=null}}requestUpdate(t,e,n){let i=!0;void 0!==t&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||u)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===n.reflect&&this._$Ei!==t&&(void 0===this._$ES&&(this._$ES=new Map),this._$ES.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$Ev=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ev}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach((t,e)=>this[e]=t),this._$Et=void 0);let e=!1;const n=this._$AL;try{e=this.shouldUpdate(n),e?(this.willUpdate(n),null===(t=this._$Em)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)}),this.update(n)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(n)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Em)||void 0===e||e.forEach(t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ev}shouldUpdate(t){return!0}update(t){void 0!==this._$ES&&(this._$ES.forEach((t,e)=>this._$Eg(e,this[e],t)),this._$ES=void 0),this._$EU()}updated(t){}firstUpdated(t){}}p.finalized=!0,p.elementProperties=new Map,p.elementStyles=[],p.shadowRootOptions={mode:"open"},null==l||l({ReactiveElement:p}),(null!==(d=globalThis.reactiveElementVersions)&&void 0!==d?d:globalThis.reactiveElementVersions=[]).push("1.0.1")},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n(2),r=n(5);
37
- /**
38
- * @license
39
- * Copyright 2018 Google LLC
40
- * SPDX-License-Identifier: BSD-3-Clause
41
- */
42
- const o=Object(r.c)(class extends r.a{constructor(t){var e;if(super(t),t.type!==r.b.ATTRIBUTE||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){var n,r;if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.et=new Set(t.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in e)e[t]&&!(null===(n=this.et)||void 0===n?void 0:n.has(t))&&this.st.add(t);return this.render(e)}const o=t.element.classList;this.st.forEach(t=>{t in e||(o.remove(t),this.st.delete(t))});for(const t in e){const n=!!e[t];n===this.st.has(t)||(null===(r=this.et)||void 0===r?void 0:r.has(t))||(n?(o.add(t),this.st.add(t)):(o.remove(t),this.st.delete(t)))}return i.c}})},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));
43
- /**
44
- * @license
45
- * Copyright 2017 Google LLC
46
- * SPDX-License-Identifier: BSD-3-Clause
47
- */
48
- const i=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(n){n.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(n){n.createProperty(e.key,t)}};function r(t){return(e,n)=>void 0!==n?((t,e,n)=>{e.constructor.createProperty(n,t)})(t,e,n):i(t,e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n(0),r=n(23);n.d(e,"b",(function(){return r.a}));
49
- /**
50
- * @license
51
- * Copyright 2018 Google LLC
52
- * SPDX-License-Identifier: Apache-2.0
53
- */
54
- class o extends i.a{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}},function(t,e,n){"use strict";var i=n(15);n.d(e,"a",(function(){return i.a}));var r=n(8);n.d(e,"b",(function(){return r.a}));n(16),n(17);var o=n(18);n.d(e,"c",(function(){return o.a}));n(19),n(20),n(21)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));
55
- /**
56
- * @license
57
- * Copyright 2018 Google LLC
58
- * SPDX-License-Identifier: Apache-2.0
59
- */
60
- const i=t=>(e,n)=>{if(e.constructor._observers){if(!e.constructor.hasOwnProperty("_observers")){const t=e.constructor._observers;e.constructor._observers=new Map,t.forEach((t,n)=>e.constructor._observers.set(n,t))}}else{e.constructor._observers=new Map;const t=e.updated;e.updated=function(e){t.call(this,e),e.forEach((t,e)=>{const n=this.constructor._observers.get(e);void 0!==n&&n.call(this,this[e],t)})}}e.constructor._observers.set(n,t)}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));
61
- /**
62
- * @license
63
- * Copyright 2016 Google Inc.
64
- *
65
- * Permission is hereby granted, free of charge, to any person obtaining a copy
66
- * of this software and associated documentation files (the "Software"), to deal
67
- * in the Software without restriction, including without limitation the rights
68
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
69
- * copies of the Software, and to permit persons to whom the Software is
70
- * furnished to do so, subject to the following conditions:
71
- *
72
- * The above copyright notice and this permission notice shall be included in
73
- * all copies or substantial portions of the Software.
74
- *
75
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
76
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
77
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
78
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
79
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
80
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
81
- * THE SOFTWARE.
82
- */
83
- var i=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n(6);n.d(e,"b",(function(){return i.b}));var r,o,s=n(2);n.d(e,"c",(function(){return s.b}));i.a;class a extends i.a{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const n=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=n.firstChild),n}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=Object(s.e)(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return s.c}}a.finalized=!0,a._$litElement$=!0,null===(r=globalThis.litElementHydrateSupport)||void 0===r||r.call(globalThis,{LitElement:a});const c=globalThis.litElementPolyfillSupport;null==c||c({LitElement:a});(null!==(o=globalThis.litElementVersions)&&void 0!==o?o:globalThis.litElementVersions=[]).push("3.0.1")},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));
84
- /**
85
- * @license
86
- * Copyright 2017 Google LLC
87
- * SPDX-License-Identifier: BSD-3-Clause
88
- */
89
- const i=t=>e=>"function"==typeof e?((t,e)=>(window.customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:n,elements:i}=e;return{kind:n,elements:i,finisher(e){window.customElements.define(t,e)}}})(t,e)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(8);
90
- /**
91
- * @license
92
- * Copyright 2017 Google LLC
93
- * SPDX-License-Identifier: BSD-3-Clause
94
- */function r(t){return Object(i.a)({...t,state:!0})}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(4);
95
- /**
96
- * @license
97
- * Copyright 2017 Google LLC
98
- * SPDX-License-Identifier: BSD-3-Clause
99
- */function r(t){return Object(i.a)({finisher:(e,n)=>{Object.assign(e.prototype[n],t)}})}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(4);
100
- /**
101
- * @license
102
- * Copyright 2017 Google LLC
103
- * SPDX-License-Identifier: BSD-3-Clause
104
- */function r(t,e){return Object(i.a)({descriptor:n=>{const i={get(){var e,n;return null!==(n=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==n?n:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof n?Symbol():"__"+n;i.get=function(){var n,i;return void 0===this[e]&&(this[e]=null!==(i=null===(n=this.renderRoot)||void 0===n?void 0:n.querySelector(t))&&void 0!==i?i:null),this[e]}}return i}})}},function(t,e,n){"use strict";n(4);
105
- /**
106
- * @license
107
- * Copyright 2017 Google LLC
108
- * SPDX-License-Identifier: BSD-3-Clause
109
- */},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(4);
110
- /**
111
- * @license
112
- * Copyright 2017 Google LLC
113
- * SPDX-License-Identifier: BSD-3-Clause
114
- */function r(t){return Object(i.a)({descriptor:e=>({async get(){var e;return await this.updateComplete,null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t)},enumerable:!0,configurable:!0})})}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(4);
115
- /**
116
- * @license
117
- * Copyright 2017 Google LLC
118
- * SPDX-License-Identifier: BSD-3-Clause
119
- */function r(t="",e=!1,n=""){return Object(i.a)({descriptor:i=>({get(){var i,r,o;const s="slot"+(t?`[name=${t}]`:":not([name])");let a=null!==(o=null===(r=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(s))||void 0===r?void 0:r.assignedNodes({flatten:e}))&&void 0!==o?o:[];return n&&(a=a.filter(t=>t.nodeType===Node.ELEMENT_NODE&&t.matches(n))),a},enumerable:!0,configurable:!0})})}},,function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"a",(function(){return r})),n.d(e,"e",(function(){return c})),n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return l}));
120
- /**
121
- * @license
122
- * Copyright 2018 Google LLC
123
- * SPDX-License-Identifier: Apache-2.0
124
- */
125
- const i=t=>t.nodeType===Node.ELEMENT_NODE;function r(t){return{addClass:e=>{t.classList.add(e)},removeClass:e=>{t.classList.remove(e)},hasClass:e=>t.classList.contains(e)}}let o=!1;const s=()=>{},a={get passive(){return o=!0,!1}};document.addEventListener("x",s,a),document.removeEventListener("x",s);const c=o,d=(t=window.document)=>{let e=t.activeElement;const n=[];if(!e)return n;for(;e&&(n.push(e),e.shadowRoot);)e=e.shadowRoot.activeElement;return n},l=t=>{const e=d();if(!e.length)return!1;const n=e[e.length-1],i=new Event("check-if-focused",{bubbles:!0,composed:!0});let r=[];const o=t=>{r=t.composedPath()};return document.body.addEventListener("check-if-focused",o),n.dispatchEvent(i),document.body.removeEventListener("check-if-focused",o),-1!==r.indexOf(t)}},,,,function(t,e,n){"use strict";n(6),n(2);var i=n(14);n.d(e,"a",(function(){return i.a})),n.d(e,"b",(function(){return i.b})),n.d(e,"c",(function(){return i.c}))},,,,,,,function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"e",(function(){return a})),n.d(e,"a",(function(){return i}));
126
- /**
127
- * @license
128
- * Copyright 2020 Google Inc.
129
- *
130
- * Permission is hereby granted, free of charge, to any person obtaining a copy
131
- * of this software and associated documentation files (the "Software"), to deal
132
- * in the Software without restriction, including without limitation the rights
133
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
134
- * copies of the Software, and to permit persons to whom the Software is
135
- * furnished to do so, subject to the following conditions:
136
- *
137
- * The above copyright notice and this permission notice shall be included in
138
- * all copies or substantial portions of the Software.
139
- *
140
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
141
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
142
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
143
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
144
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
145
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
146
- * THE SOFTWARE.
147
- */
148
- var i,r={CLOSING:"mdc-banner--closing",OPEN:"mdc-banner--open",OPENING:"mdc-banner--opening"},o={BANNER_ANIMATION_CLOSE_TIME_MS:250,BANNER_ANIMATION_OPEN_TIME_MS:300},s={CLOSED:"MDCBanner:closed",CLOSING:"MDCBanner:closing",OPENED:"MDCBanner:opened",OPENING:"MDCBanner:opening"},a={CONTENT:".mdc-banner__content",PRIMARY_ACTION:".mdc-banner__primary-action",SECONDARY_ACTION:".mdc-banner__secondary-action",TEXT:".mdc-banner__text"};!function(t){t[t.PRIMARY=0]="PRIMARY",t[t.SECONDARY=1]="SECONDARY",t[t.UNSPECIFIED=2]="UNSPECIFIED"}(i||(i={}))},,,,,function(t,e,n){"use strict";var i=n(7);n.d(e,"a",(function(){return i.a}))},,,,,,,,,,,,,,,function(t,e,n){"use strict";var i=n(13),r=n(34);
149
- /**
150
- * @license
151
- * Copyright 2020 Google Inc.
152
- *
153
- * Permission is hereby granted, free of charge, to any person obtaining a copy
154
- * of this software and associated documentation files (the "Software"), to deal
155
- * in the Software without restriction, including without limitation the rights
156
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
157
- * copies of the Software, and to permit persons to whom the Software is
158
- * furnished to do so, subject to the following conditions:
159
- *
160
- * The above copyright notice and this permission notice shall be included in
161
- * all copies or substantial portions of the Software.
162
- *
163
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
164
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
165
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
166
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
167
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
168
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
169
- * THE SOFTWARE.
170
- */
171
- const{OPENING:o,OPEN:s,CLOSING:a}=r.b;class c extends i.a{constructor(t){super(Object.assign(Object.assign({},c.defaultAdapter),t)),this.isOpened=!1,this.animationFrame=0,this.animationTimer=0}static get defaultAdapter(){return{addClass:()=>{},getContentHeight:()=>0,notifyClosed:()=>{},notifyClosing:()=>{},notifyOpened:()=>{},notifyOpening:()=>{},releaseFocus:()=>{},removeClass:()=>{},setStyleProperty:()=>{},trapFocus:()=>{}}}destroy(){cancelAnimationFrame(this.animationFrame),this.animationFrame=0,clearTimeout(this.animationTimer),this.animationTimer=0}open(){this.isOpened=!0,this.adapter.notifyOpening(),this.adapter.removeClass(a),this.adapter.addClass(o);const t=this.adapter.getContentHeight();this.animationFrame=requestAnimationFrame(()=>{this.adapter.addClass(s),this.adapter.setStyleProperty("height",t+"px"),this.animationTimer=setTimeout(()=>{this.handleAnimationTimerEnd(),this.adapter.trapFocus(),this.adapter.notifyOpened()},r.d.BANNER_ANIMATION_OPEN_TIME_MS)})}close(t){this.isOpened&&(cancelAnimationFrame(this.animationFrame),this.animationFrame=0,this.isOpened=!1,this.adapter.notifyClosing(t),this.adapter.addClass(a),this.adapter.setStyleProperty("height","0"),this.adapter.removeClass(s),this.adapter.removeClass(o),clearTimeout(this.animationTimer),this.animationTimer=setTimeout(()=>{this.adapter.releaseFocus(),this.handleAnimationTimerEnd(),this.adapter.notifyClosed(t)},r.d.BANNER_ANIMATION_CLOSE_TIME_MS))}isOpen(){return this.isOpened}handlePrimaryActionClick(){this.close(r.a.PRIMARY)}handleSecondaryActionClick(){this.close(r.a.SECONDARY)}layout(){const t=this.adapter.getContentHeight();console.log("he",t),this.adapter.setStyleProperty("height",t+"px")}handleAnimationTimerEnd(){this.animationTimer=0,this.adapter.removeClass(o),this.adapter.removeClass(a)}}e.a=c},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"CovalentAlert",(function(){return p}));var i=n(10),r=n(9),o=n(11),s=n(34),a=n(54),c=n(27),d=n(39),l=function(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};class h extends r.a{constructor(){super(...arguments),this.mdcFoundationClass=a.a,this.open=!0,this.titleText="",this.descriptionText="",this.icon="",this.inline=!1,this.state="",this.reason=s.a.UNSPECIFIED}render(){const t={"mdc-banner":!0,"td-banner--inline":this.inline,negative:"negative"===this.state,positive:"positive"===this.state,caution:"caution"===this.state,active:"active"===this.state};return c.c`
172
- <div class="${Object(d.a)(t)}" role="banner">
173
- <div class="mdc-banner__content"
174
- role="alertdialog"
175
- aria-live="assertive">
176
-
1
+ /*! For license information please see alert.js.LICENSE.txt */
2
+ (()=>{"use strict";var t={1996:(t,e,n)=>{n.d(e,{GB:()=>i,KT:()=>s,U3:()=>a,UX:()=>o});var i,r,o={CLOSING:"mdc-banner--closing",OPEN:"mdc-banner--open",OPENING:"mdc-banner--opening"},s={BANNER_ANIMATION_CLOSE_TIME_MS:250,BANNER_ANIMATION_OPEN_TIME_MS:300},a={CLOSED:"MDCBanner:closed",CLOSING:"MDCBanner:closing",OPENED:"MDCBanner:opened",OPENING:"MDCBanner:opening",ACTION_CLICKED:"MDCBanner:actionClicked"};!function(t){t[t.PRIMARY=0]="PRIMARY",t[t.SECONDARY=1]="SECONDARY",t[t.UNSPECIFIED=2]="UNSPECIFIED"}(i||(i={})),function(t){t[t.PRIMARY=0]="PRIMARY",t[t.SECONDARY=1]="SECONDARY",t[t.UNKNOWN=2]="UNKNOWN"}(r||(r={}))},6308:(t,e,n)=>{n.d(e,{K:()=>i});var i=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}()},7392:(t,e,n)=>{n.d(e,{H:()=>o,q:()=>r.qN});var i=n(5862),r=n(5610);class o extends i.oi{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}},6551:(t,e,n)=>{n.d(e,{P:()=>i});const i=t=>(e,n)=>{if(e.constructor._observers){if(!e.constructor.hasOwnProperty("_observers")){const t=e.constructor._observers;e.constructor._observers=new Map,t.forEach(((t,n)=>e.constructor._observers.set(n,t)))}}else{e.constructor._observers=new Map;const t=e.updated;e.updated=function(e){t.call(this,e),e.forEach(((t,e)=>{const n=this.constructor._observers.get(e);void 0!==n&&n.call(this,this[e],t)}))}}e.constructor._observers.set(n,t)}},5610:(t,e,n)=>{function i(t){return{addClass:e=>{t.classList.add(e)},removeClass:e=>{t.classList.remove(e)},hasClass:e=>t.classList.contains(e)}}n.d(e,{qN:()=>i});let r=!1;const o=()=>{},s={get passive(){return r=!0,!1}};document.addEventListener("x",o,s),document.removeEventListener("x",o)},3727:(t,e,n)=>{n.d(e,{Z:()=>c});var i=n(6308),r=n(1996);const{OPENING:o,OPEN:s,CLOSING:a}=r.UX;class d extends i.K{constructor(t){super(Object.assign(Object.assign({},d.defaultAdapter),t)),this.isOpened=!1,this.animationFrame=0,this.animationTimer=0}static get defaultAdapter(){return{addClass:()=>{},getContentHeight:()=>0,notifyActionClicked:()=>{},notifyClosed:()=>{},notifyClosing:()=>{},notifyOpened:()=>{},notifyOpening:()=>{},releaseFocus:()=>{},removeClass:()=>{},setStyleProperty:()=>{},trapFocus:()=>{}}}destroy(){cancelAnimationFrame(this.animationFrame),this.animationFrame=0,clearTimeout(this.animationTimer),this.animationTimer=0}open(){this.isOpened=!0,this.adapter.notifyOpening(),this.adapter.removeClass(a),this.adapter.addClass(o);const t=this.adapter.getContentHeight();this.animationFrame=requestAnimationFrame((()=>{this.adapter.addClass(s),this.adapter.setStyleProperty("height",`${t}px`),this.animationTimer=setTimeout((()=>{this.handleAnimationTimerEnd(),this.adapter.trapFocus(),this.adapter.notifyOpened()}),r.KT.BANNER_ANIMATION_OPEN_TIME_MS)}))}close(t){this.isOpened&&(cancelAnimationFrame(this.animationFrame),this.animationFrame=0,this.isOpened=!1,this.adapter.notifyClosing(t),this.adapter.addClass(a),this.adapter.setStyleProperty("height","0"),this.adapter.removeClass(s),this.adapter.removeClass(o),clearTimeout(this.animationTimer),this.animationTimer=setTimeout((()=>{this.adapter.releaseFocus(),this.handleAnimationTimerEnd(),this.adapter.notifyClosed(t)}),r.KT.BANNER_ANIMATION_CLOSE_TIME_MS))}isOpen(){return this.isOpened}handlePrimaryActionClick(){this.close(r.GB.PRIMARY)}handleSecondaryActionClick(){this.close(r.GB.SECONDARY)}layout(){const t=this.adapter.getContentHeight();console.log("he",t),this.adapter.setStyleProperty("height",`${t}px`)}handleAnimationTimerEnd(){this.animationTimer=0,this.adapter.removeClass(o),this.adapter.removeClass(a)}}const c=d},655:(t,e,n)=>{function i(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function r(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}n.d(e,{gn:()=>i,w6:()=>r}),Object.create,Object.create},8701:(t,e,n)=>{n.d(e,{ec:()=>c,i1:()=>l,iv:()=>d});const i=window,r=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol(),s=new WeakMap;class a{constructor(t,e,n){if(this._$cssResult$=!0,n!==o)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(r&&void 0===t){const n=void 0!==e&&1===e.length;n&&(t=s.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&s.set(e,t))}return t}toString(){return this.cssText}}const d=(t,...e)=>{const n=1===t.length?t[0]:e.reduce(((e,n,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[i+1]),t[0]);return new a(n,t,o)},c=(t,e)=>{r?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const n=document.createElement("style"),r=i.litNonce;void 0!==r&&n.setAttribute("nonce",r),n.textContent=e.cssText,t.appendChild(n)}))},l=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const n of t.cssRules)e+=n.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,o))(e)})(t):t},5674:(t,e,n)=>{n.d(e,{eZ:()=>i});const i=({finisher:t,descriptor:e})=>(n,i)=>{var r;if(void 0===i){const i=null!==(r=n.originalKey)&&void 0!==r?r:n.key,o=null!=e?{kind:"method",placement:"prototype",key:i,descriptor:e(n.key)}:{...n,key:i};return null!=t&&(o.finisher=function(e){t(e,i)}),o}{const r=n.constructor;void 0!==e&&Object.defineProperty(n,i,e(i)),null==t||t(r,i)}}},5713:(t,e,n)=>{n.d(e,{M:()=>i});const i=t=>e=>"function"==typeof e?((t,e)=>(customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:n,elements:i}=e;return{kind:n,elements:i,finisher(e){customElements.define(t,e)}}})(t,e)},760:(t,e,n)=>{n.d(e,{C:()=>r});const i=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(n){n.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(n){n.createProperty(e.key,t)}};function r(t){return(e,n)=>void 0!==n?((t,e,n)=>{e.constructor.createProperty(n,t)})(t,e,n):i(t,e)}},7935:(t,e,n)=>{var i;null===(i=window.HTMLSlotElement)||void 0===i||i.prototype.assignedElements},43:(t,e,n)=>{n(7935)},2669:(t,e,n)=>{n.d(e,{I:()=>r});var i=n(5674);function r(t,e){return(0,i.eZ)({descriptor:n=>{const i={get(){var e,n;return null!==(n=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==n?n:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof n?Symbol():"__"+n;i.get=function(){var n,i;return void 0===this[e]&&(this[e]=null!==(i=null===(n=this.renderRoot)||void 0===n?void 0:n.querySelector(t))&&void 0!==i?i:null),this[e]}}return i}})}},8732:(t,e,n)=>{n.d(e,{fl:()=>p,iv:()=>r.iv});var i,r=n(8701);const o=window,s=o.trustedTypes,a=s?s.emptyScript:"",d=o.reactiveElementPolyfillSupport,c={toAttribute(t,e){switch(e){case Boolean:t=t?a:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let n=t;switch(e){case Boolean:n=null!==t;break;case Number:n=null===t?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch(t){n=null}}return n}},l=(t,e)=>e!==t&&(e==e||t==t),h={attribute:!0,type:String,converter:c,reflect:!1,hasChanged:l};class p extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;null!==(e=this.h)&&void 0!==e||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,n)=>{const i=this._$Ep(n,e);void 0!==i&&(this._$Ev.set(i,n),t.push(i))})),t}static createProperty(t,e=h){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const n="symbol"==typeof t?Symbol():"__"+t,i=this.getPropertyDescriptor(t,n,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,n){return{get(){return this[e]},set(i){const r=this[t];this[e]=i,this.requestUpdate(t,r,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||h}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const n of e)this.createProperty(n,t[n])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const n=new Set(t.flat(1/0).reverse());for(const t of n)e.unshift((0,r.i1)(t))}else void 0!==t&&e.push((0,r.i1)(t));return e}static _$Ep(t,e){const n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,n;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(n=t.hostConnected)||void 0===n||n.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return(0,r.ec)(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,n){this._$AK(t,n)}_$EO(t,e,n=h){var i;const r=this.constructor._$Ep(t,n);if(void 0!==r&&!0===n.reflect){const o=(void 0!==(null===(i=n.converter)||void 0===i?void 0:i.toAttribute)?n.converter:c).toAttribute(e,n.type);this._$El=t,null==o?this.removeAttribute(r):this.setAttribute(r,o),this._$El=null}}_$AK(t,e){var n;const i=this.constructor,r=i._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=i.getPropertyOptions(r),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(n=t.converter)||void 0===n?void 0:n.fromAttribute)?t.converter:c;this._$El=r,this[r]=o.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,n){let i=!0;void 0!==t&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||l)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===n.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const n=this._$AL;try{e=this.shouldUpdate(n),e?(this.willUpdate(n),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(n)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(n)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}p.finalized=!0,p.elementProperties=new Map,p.elementStyles=[],p.shadowRootOptions={mode:"open"},null==d||d({ReactiveElement:p}),(null!==(i=o.reactiveElementVersions)&&void 0!==i?i:o.reactiveElementVersions=[]).push("1.4.0")},8922:(t,e,n)=>{n.d(e,{dy:()=>s.dy,iv:()=>o.iv,oi:()=>a});var i,r,o=n(8732),s=n(3692);class a extends o.fl{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const n=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=n.firstChild),n}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,s.sY)(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return s.Jb}}a.finalized=!0,a._$litElement$=!0,null===(i=globalThis.litElementHydrateSupport)||void 0===i||i.call(globalThis,{LitElement:a});const d=globalThis.litElementPolyfillSupport;null==d||d({LitElement:a}),(null!==(r=globalThis.litElementVersions)&&void 0!==r?r:globalThis.litElementVersions=[]).push("3.2.2")},875:(t,e,n)=>{n.d(e,{XM:()=>r,Xe:()=>o,pX:()=>i});const i={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},r=t=>(...e)=>({_$litDirective$:t,values:e});class o{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,n){this._$Ct=t,this._$AM=e,this._$Ci=n}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},7499:(t,e,n)=>{n.d(e,{$:()=>o});var i=n(3692),r=n(875);const o=(0,r.XM)(class extends r.Xe{constructor(t){var e;if(super(t),t.type!==r.pX.ATTRIBUTE||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var n,r;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(n=this.st)||void 0===n?void 0:n.has(t))&&this.nt.add(t);return this.render(e)}const o=t.element.classList;this.nt.forEach((t=>{t in e||(o.remove(t),this.nt.delete(t))}));for(const t in e){const n=!!e[t];n===this.nt.has(t)||(null===(r=this.st)||void 0===r?void 0:r.has(t))||(n?(o.add(t),this.nt.add(t)):(o.remove(t),this.nt.delete(t)))}return i.Jb}})},3692:(t,e,n)=>{var i;n.d(e,{Jb:()=>x,dy:()=>A,sY:()=>S});const r=window,o=r.trustedTypes,s=o?o.createPolicy("lit-html",{createHTML:t=>t}):void 0,a=`lit$${(Math.random()+"").slice(9)}$`,d="?"+a,c=`<${d}>`,l=document,h=(t="")=>l.createComment(t),p=t=>null===t||"object"!=typeof t&&"function"!=typeof t,m=Array.isArray,u=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,b=/-->/g,v=/>/g,_=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),f=/'/g,g=/"/g,y=/^(?:script|style|textarea|title)$/i,$=t=>(e,...n)=>({_$litType$:t,strings:e,values:n}),A=$(1),x=($(2),Symbol.for("lit-noChange")),E=Symbol.for("lit-nothing"),C=new WeakMap,S=(t,e,n)=>{var i,r;const o=null!==(i=null==n?void 0:n.renderBefore)&&void 0!==i?i:e;let s=o._$litPart$;if(void 0===s){const t=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:null;o._$litPart$=s=new k(e.insertBefore(h(),t),t,void 0,null!=n?n:{})}return s._$AI(t),s},w=l.createTreeWalker(l,129,null,!1),O=(t,e)=>{const n=t.length-1,i=[];let r,o=2===e?"<svg>":"",d=u;for(let e=0;e<n;e++){const n=t[e];let s,l,h=-1,p=0;for(;p<n.length&&(d.lastIndex=p,l=d.exec(n),null!==l);)p=d.lastIndex,d===u?"!--"===l[1]?d=b:void 0!==l[1]?d=v:void 0!==l[2]?(y.test(l[2])&&(r=RegExp("</"+l[2],"g")),d=_):void 0!==l[3]&&(d=_):d===_?">"===l[0]?(d=null!=r?r:u,h=-1):void 0===l[1]?h=-2:(h=d.lastIndex-l[2].length,s=l[1],d=void 0===l[3]?_:'"'===l[3]?g:f):d===g||d===f?d=_:d===b||d===v?d=u:(d=_,r=void 0);const m=d===_&&t[e+1].startsWith("/>")?" ":"";o+=d===u?n+c:h>=0?(i.push(s),n.slice(0,h)+"$lit$"+n.slice(h)+a+m):n+a+(-2===h?(i.push(void 0),e):m)}const l=o+(t[n]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==s?s.createHTML(l):l,i]};class P{constructor({strings:t,_$litType$:e},n){let i;this.parts=[];let r=0,s=0;const c=t.length-1,l=this.parts,[p,m]=O(t,e);if(this.el=P.createElement(p,n),w.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(i=w.nextNode())&&l.length<c;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const e of i.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(a)){const n=m[s++];if(t.push(e),void 0!==n){const t=i.getAttribute(n.toLowerCase()+"$lit$").split(a),e=/([.?@])?(.*)/.exec(n);l.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?M:"?"===e[1]?U:"@"===e[1]?H:R})}else l.push({type:6,index:r})}for(const e of t)i.removeAttribute(e)}if(y.test(i.tagName)){const t=i.textContent.split(a),e=t.length-1;if(e>0){i.textContent=o?o.emptyScript:"";for(let n=0;n<e;n++)i.append(t[n],h()),w.nextNode(),l.push({type:2,index:++r});i.append(t[e],h())}}}else if(8===i.nodeType)if(i.data===d)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(a,t+1));)l.push({type:7,index:r}),t+=a.length-1}r++}}static createElement(t,e){const n=l.createElement("template");return n.innerHTML=t,n}}function N(t,e,n=t,i){var r,o,s,a;if(e===x)return e;let d=void 0!==i?null===(r=n._$Cl)||void 0===r?void 0:r[i]:n._$Cu;const c=p(e)?void 0:e._$litDirective$;return(null==d?void 0:d.constructor)!==c&&(null===(o=null==d?void 0:d._$AO)||void 0===o||o.call(d,!1),void 0===c?d=void 0:(d=new c(t),d._$AT(t,n,i)),void 0!==i?(null!==(s=(a=n)._$Cl)&&void 0!==s?s:a._$Cl=[])[i]=d:n._$Cu=d),void 0!==d&&(e=N(t,d._$AS(t,e.values),d,i)),e}class T{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:n},parts:i}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:l).importNode(n,!0);w.currentNode=r;let o=w.nextNode(),s=0,a=0,d=i[0];for(;void 0!==d;){if(s===d.index){let e;2===d.type?e=new k(o,o.nextSibling,this,t):1===d.type?e=new d.ctor(o,d.name,d.strings,this,t):6===d.type&&(e=new j(o,this,t)),this.v.push(e),d=i[++a]}s!==(null==d?void 0:d.index)&&(o=w.nextNode(),s++)}return r}m(t){let e=0;for(const n of this.v)void 0!==n&&(void 0!==n.strings?(n._$AI(t,n,e),e+=n.strings.length-2):n._$AI(t[e])),e++}}class k{constructor(t,e,n,i){var r;this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=n,this.options=i,this._$C_=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$C_}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=N(this,t,e),p(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==x&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>m(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.O(t):this.$(t)}S(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}$(t){this._$AH!==E&&p(this._$AH)?this._$AA.nextSibling.data=t:this.k(l.createTextNode(t)),this._$AH=t}T(t){var e;const{values:n,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=P.createElement(i.h,this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.m(n);else{const t=new T(r,this),e=t.p(this.options);t.m(n),this.k(e),this._$AH=t}}_$AC(t){let e=C.get(t.strings);return void 0===e&&C.set(t.strings,e=new P(t)),e}O(t){m(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let n,i=0;for(const r of t)i===e.length?e.push(n=new k(this.S(h()),this.S(h()),this,this.options)):n=e[i],n._$AI(r),i++;i<e.length&&(this._$AR(n&&n._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var n;for(null===(n=this._$AP)||void 0===n||n.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class R{constructor(t,e,n,i,r){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=E}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,n,i){const r=this.strings;let o=!1;if(void 0===r)t=N(this,t,e,0),o=!p(t)||t!==this._$AH&&t!==x,o&&(this._$AH=t);else{const i=t;let s,a;for(t=r[0],s=0;s<r.length-1;s++)a=N(this,i[n+s],e,s),a===x&&(a=this._$AH[s]),o||(o=!p(a)||a!==this._$AH[s]),a===E?t=E:t!==E&&(t+=(null!=a?a:"")+r[s+1]),this._$AH[s]=a}o&&!i&&this.P(t)}P(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class M extends R{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===E?void 0:t}}const I=o?o.emptyScript:"";class U extends R{constructor(){super(...arguments),this.type=4}P(t){t&&t!==E?this.element.setAttribute(this.name,I):this.element.removeAttribute(this.name)}}class H extends R{constructor(t,e,n,i,r){super(t,e,n,i,r),this.type=5}_$AI(t,e=this){var n;if((t=null!==(n=N(this,t,e,0))&&void 0!==n?n:E)===x)return;const i=this._$AH,r=t===E&&i!==E||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,o=t!==E&&(i===E||r);r&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,n;"function"==typeof this._$AH?this._$AH.call(null!==(n=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==n?n:this.element,t):this._$AH.handleEvent(t)}}class j{constructor(t,e,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){N(this,t)}}const L=r.litHtmlPolyfillSupport;null==L||L(P,k),(null!==(i=r.litHtmlVersions)&&void 0!==i?i:r.litHtmlVersions=[]).push("2.3.0")},9662:(t,e,n)=>{n.d(e,{Cb:()=>r.C,IO:()=>o.I,Mo:()=>i.M});var i=n(5713),r=n(760),o=n(2669);n(7935),n(43)},8810:(t,e,n)=>{n.d(e,{$:()=>i.$});var i=n(7499)},5862:(t,e,n)=>{n.d(e,{dy:()=>i.dy,iv:()=>i.iv,oi:()=>i.oi}),n(8732),n(3692);var i=n(8922)}},e={};function n(i){var r=e[i];if(void 0!==r)return r.exports;var o=e[i]={exports:{}};return t[i](o,o.exports,n),o.exports}n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t=n(655),e=n(9662),i=n(7392),r=n(6551),o=n(1996),s=n(3727),a=n(5862),d=n(8810);class c extends i.H{constructor(){super(...arguments),this.mdcFoundationClass=s.Z,this.open=!0,this.titleText="",this.descriptionText="",this.icon="",this.inline=!1,this.state="",this.reason=o.GB.UNSPECIFIED}render(){const t={"mdc-banner":!0,"td-banner--inline":this.inline,negative:"negative"===this.state,positive:"positive"===this.state,caution:"caution"===this.state,active:"active"===this.state};return a.dy` <div class="${(0,d.$)(t)}" role="banner">
3
+ <div class="mdc-banner__content" role="alertdialog" aria-live="assertive">
177
4
  <div class="mdc-banner__graphic-text-wrapper">
178
5
  ${this.icon?this.renderIcon():""}
179
6
  <div class="mdc-banner__text">
180
7
  <span class="mdc-typography--body2">${this.titleText}</span>
181
- <div class="mdc-typography--body1">
182
- ${this.descriptionText}
183
- </div>
8
+ <div class="mdc-typography--body1">${this.descriptionText}</div>
184
9
  </div>
185
-
186
10
  </div>
187
11
  <div class="mdc-banner__actions">
188
- <slot name="action-items"></slot>
12
+ <slot name="action-items"></slot>
189
13
  </div>
190
14
  </div>
191
- </div>`}renderIcon(){return c.c`
192
- <div class="mdc-banner__graphic" role="img" alt="">
15
+ </div>`}renderIcon(){return a.dy` <div class="mdc-banner__graphic" role="img" alt="">
193
16
  <slot name="icon">
194
- <td-icon class="mdc-banner__icon">
195
- ${this.icon}
196
- </td-icon>
17
+ <td-icon class="mdc-banner__icon"> ${this.icon} </td-icon>
197
18
  </slot>
198
- </div>`}createAdapter(){return Object.assign(Object.assign({},Object(r.b)(this.mdcRoot)),{getContentHeight:()=>this.mdcContent.offsetHeight,setStyleProperty:(t,e)=>{this.mdcRoot.style.setProperty(t,e)},trapFocus:()=>{},releaseFocus:()=>{},notifyClosed:t=>{},notifyClosing:t=>{this.open=!1},notifyOpened:()=>{},notifyOpening:()=>{this.open=!0}})}show(){this.open=!0}close(t=s.a.UNSPECIFIED){this.reason=t,this.open=!1}firstUpdated(){super.firstUpdated(),this.open&&this.mdcFoundation.open()}}l([Object(i.c)(".mdc-banner")],h.prototype,"mdcRoot",void 0),l([Object(i.c)(".mdc-banner__content")],h.prototype,"mdcContent",void 0),l([Object(i.b)({type:Boolean,reflect:!0}),Object(o.a)((function(t){this.mdcFoundation&&(t?this.mdcFoundation.open():(this.mdcFoundation.close(this.reason),this.reason=s.a.UNSPECIFIED))}))],h.prototype,"open",void 0),l([Object(i.b)({type:String})],h.prototype,"titleText",void 0),l([Object(i.b)({type:String})],h.prototype,"descriptionText",void 0),l([Object(i.b)({type:String})],h.prototype,"icon",void 0),l([Object(i.b)({type:Boolean})],h.prototype,"inline",void 0),l([Object(i.b)()],h.prototype,"state",void 0);var u=c.b`:host .mdc-banner__graphic{color:#fff;color:var(--mdc-theme-surface,#fff)}:host .mdc-banner__graphic{background-color:#6200ee;background-color:var(--mdc-theme-primary,#6200ee)}:host .mdc-banner__content,:host .mdc-banner__fixed{min-width:344px}@media(max-width:480px),(max-width:344px){:host .mdc-banner__content,:host .mdc-banner__fixed{min-width:100%}}:host .mdc-banner__content{max-width:720px}:host .mdc-banner{z-index:1;border-bottom-style:solid;box-sizing:border-box;display:none;flex-shrink:0;height:0;position:relative;width:100%}@media(max-width:480px){:host .mdc-banner .mdc-banner__fixed{left:0;right:0}:host .mdc-banner .mdc-banner__text{margin-left:16px;margin-right:36px}:host .mdc-banner .mdc-banner__text[dir=rtl],[dir=rtl] :host .mdc-banner .mdc-banner__text{margin-left:36px;margin-right:16px}}@media(max-width:480px){:host .mdc-banner.mdc-banner--mobile-stacked .mdc-banner__content{flex-wrap:wrap}:host .mdc-banner.mdc-banner--mobile-stacked .mdc-banner__graphic{margin-bottom:12px}:host .mdc-banner.mdc-banner--mobile-stacked .mdc-banner__text{margin-left:16px;margin-right:8px;padding-bottom:4px}:host .mdc-banner.mdc-banner--mobile-stacked .mdc-banner__text[dir=rtl],[dir=rtl] :host .mdc-banner.mdc-banner--mobile-stacked .mdc-banner__text{margin-left:8px;margin-right:16px}:host .mdc-banner.mdc-banner--mobile-stacked .mdc-banner__actions{margin-left:auto}}:host .mdc-banner--closing,:host .mdc-banner--open,:host .mdc-banner--opening{display:flex}:host .mdc-banner--open{transition:height .3s ease}:host .mdc-banner--open .mdc-banner__content{transition:transform .3s ease;transform:translateY(0)}:host .mdc-banner--closing{transition:height 250ms ease}:host .mdc-banner--closing .mdc-banner__content{transition:transform 250ms ease}:host .mdc-banner--centered .mdc-banner__content{left:0;margin-left:auto;margin-right:auto;right:0}:host .mdc-banner__fixed{border-bottom-style:solid;box-sizing:border-box;height:inherit;position:fixed;width:100%}:host .mdc-banner__content{display:flex;min-height:52px;position:absolute;transform:translateY(-100%);width:100%}:host .mdc-banner__graphic-text-wrapper{display:flex;width:100%}:host .mdc-banner__graphic{margin-left:16px;margin-right:0;flex-shrink:0;margin-top:16px;margin-bottom:16px;text-align:center}:host .mdc-banner__graphic[dir=rtl],[dir=rtl] :host .mdc-banner__graphic{margin-left:0;margin-right:16px}:host .mdc-banner__icon{position:relative;top:50%;transform:translateY(-50%)}:host .mdc-banner__text{margin-left:24px;margin-right:90px;align-self:center;flex-grow:1;padding-top:16px;padding-bottom:16px}:host .mdc-banner__text[dir=rtl],[dir=rtl] :host .mdc-banner__text{margin-left:90px;margin-right:24px}:host .mdc-banner__actions{padding-left:0;padding-right:8px;align-self:flex-end;display:flex;flex-shrink:0;padding-bottom:8px;padding-top:8px}:host .mdc-banner__actions[dir=rtl],[dir=rtl] :host .mdc-banner__actions{padding-left:8px;padding-right:0}:host .mdc-banner__secondary-action{margin-left:0;margin-right:8px}:host .mdc-banner__secondary-action[dir=rtl],[dir=rtl] :host .mdc-banner__secondary-action{margin-left:8px;margin-right:0}:host .mdc-banner{background-color:#fff;border-bottom-color:rgba(0,0,0,.12);border-bottom-width:1px;border-radius:0}:host .mdc-banner .mdc-banner__text{color:#000}:host .mdc-banner .mdc-banner__text{letter-spacing:.0178571429em;font-size:.875rem;font-family:Roboto,sans-serif;font-weight:400;line-height:1.25rem}:host .mdc-banner .mdc-banner__graphic{border-radius:50%}:host .mdc-banner .mdc-banner__graphic{height:40px;width:40px}:host .mdc-banner .mdc-banner__fixed{background-color:#fff}:host .mdc-banner .mdc-banner__fixed{border-bottom-color:rgba(0,0,0,.12)}:host .mdc-banner .mdc-banner__fixed{border-bottom-width:1px}:host .mdc-banner .mdc-button:not(:disabled){color:#6200ee;color:var(--mdc-text-button-label-text-color,#6200ee)}:host .mdc-banner .mdc-button .mdc-button__ripple::after,:host .mdc-banner .mdc-button .mdc-button__ripple::before{background-color:#6200ee;background-color:var(--mdc-text-button-hover-state-layer-color,#6200ee)}:host .mdc-banner .mdc-button.mdc-ripple-surface--hover .mdc-button__ripple::before,:host .mdc-banner .mdc-button:hover .mdc-button__ripple::before{opacity:.04;opacity:var(--mdc-text-button-hover-state-layer-opacity,.04)}:host .mdc-banner .mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__ripple::before,:host .mdc-banner .mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__ripple::before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-text-button-focus-state-layer-opacity,.12)}:host .mdc-banner .mdc-button:not(.mdc-ripple-upgraded) .mdc-button__ripple::after{transition:opacity 150ms linear}:host .mdc-banner .mdc-button:not(.mdc-ripple-upgraded):active .mdc-button__ripple::after{transition-duration:75ms;opacity:.1;opacity:var(--mdc-text-button-pressed-state-layer-opacity,.1)}:host .mdc-banner .mdc-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-text-button-pressed-state-layer-opacity, 0.1)}:host .mdc-banner__secondary-action{margin-left:0;margin-right:8px}:host .mdc-banner__secondary-action[dir=rtl],[dir=rtl] :host .mdc-banner__secondary-action{margin-left:8px;margin-right:0}:host .mdc-banner{--mdc-theme-surface:var(--mdc-theme-surface-neutral);background-color:var(--mdc-theme-surface)}:host .mdc-banner .mdc-banner__graphic{--mdc-theme-surface:var(--mdc-theme-text-icon-on-background)}:host .mdc-banner .mdc-banner__text{color:var(--mdc-theme-text-primary-on-background)}:host .mdc-banner .mdc-banner__text .mdc-typography--body2{font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:700;line-height:var(--mdc-typography-body2-line-height)}:host .mdc-banner .mdc-banner__text .mdc-typography--body1{color:var(--mdc-theme-text-secondary-on-background);font-family:var(--mdc-typography-body1-font-family);font-size:var(--mdc-typography-body1-font-size);font-weight:var(--mdc-typography-body1-font-weight);line-height:var(--mdc-typography-body1-line-height)}:host .mdc-banner.caution{--mdc-theme-surface:var(--mdc-theme-surface-caution)}:host .mdc-banner.caution.td-banner--inline{--mdc-theme-surface:var(--mdc-theme-surface-caution-highlight)}:host .mdc-banner.caution.td-banner--inline .mdc-banner__graphic,:host .mdc-banner.caution.td-banner--inline .mdc-banner__text{--mdc-theme-surface:var(--mdc-theme-caution);--mdc-theme-text-primary-on-background:var(--mdc-theme-caution)}:host .mdc-banner.negative{--mdc-theme-surface:var(--mdc-theme-surface-negative)}:host .mdc-banner.negative.td-banner--inline{--mdc-theme-surface:var(--mdc-theme-surface-negative-highlight)}:host .mdc-banner.negative.td-banner--inline .mdc-banner__graphic,:host .mdc-banner.negative.td-banner--inline .mdc-banner__text{--mdc-theme-surface:var(--mdc-theme-negative);--mdc-theme-text-primary-on-background:var(--mdc-theme-negative)}:host .mdc-banner.active{--mdc-theme-surface:var(--mdc-theme-surface-secondary)}:host .mdc-banner.active.td-banner--inline{--mdc-theme-surface:var(--mdc-theme-surface-secondary-highlight)}:host .mdc-banner.active.td-banner--inline .mdc-banner__graphic,:host .mdc-banner.active.td-banner--inline .mdc-banner__text{--mdc-theme-surface:var(--mdc-theme-secondary);--mdc-theme-text-primary-on-background:var(--mdc-theme-secondary)}:host .mdc-banner.positive{--mdc-theme-surface:var(--mdc-theme-surface-positive)}:host .mdc-banner.positive.td-banner--inline{--mdc-theme-surface:var(--mdc-theme-surface-positive-highlight)}:host .mdc-banner.positive.td-banner--inline .mdc-banner__graphic,:host .mdc-banner.positive.td-banner--inline .mdc-banner__text{--mdc-theme-surface:var(--mdc-theme-positive);--mdc-theme-text-primary-on-background:var(--mdc-theme-positive)}:host .mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity,0);transition:opacity 280ms cubic-bezier(.4,0,.2,1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color,#fff)}:host .mdc-banner{border-radius:8px;position:relative;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);overflow:hidden;border:none}:host .mdc-banner .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}:host .mdc-banner .mdc-banner__content{max-width:inherit}:host .mdc-banner .mdc-banner__graphic{background:0 0;margin-left:24px;width:24px}:host .mdc-banner .mdc-banner__text{margin-left:24px}:host .mdc-banner .mdc-banner__actions{align-self:center;align-items:center}:host .mdc-banner.td-banner--inline{border-radius:0;box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}:host ::slotted(*){margin-left:8px}`,m=function(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};let p=class extends h{};p.styles=[u],p=m([Object(i.a)("td-alert")],p)}]);
19
+ </div>`}createAdapter(){return Object.assign(Object.assign({},(0,i.q)(this.mdcRoot)),{getContentHeight:()=>this.mdcContent.offsetHeight,setStyleProperty:(t,e)=>{this.mdcRoot.style.setProperty(t,e)},trapFocus:()=>{},releaseFocus:()=>{},notifyActionClicked:t=>this.dispatchEvent(new CustomEvent(o.U3.ACTION_CLICKED,{bubbles:!0,cancelable:!0,detail:{reason:t}})),notifyClosed:()=>{},notifyClosing:()=>{this.open=!1},notifyOpened:()=>{},notifyOpening:()=>{this.open=!0}})}show(){this.open=!0}close(t=o.GB.UNSPECIFIED){this.reason=t,this.open=!1}firstUpdated(){super.firstUpdated(),this.open&&this.mdcFoundation.open()}}(0,t.gn)([(0,e.IO)(".mdc-banner"),(0,t.w6)("design:type",HTMLElement)],c.prototype,"mdcRoot",void 0),(0,t.gn)([(0,e.IO)(".mdc-banner__content"),(0,t.w6)("design:type",HTMLElement)],c.prototype,"mdcContent",void 0),(0,t.gn)([(0,e.Cb)({type:Boolean,reflect:!0}),(0,r.P)((function(t){this.mdcFoundation&&(t?this.mdcFoundation.open():(this.mdcFoundation.close(this.reason),this.reason=o.GB.UNSPECIFIED))})),(0,t.w6)("design:type",Object)],c.prototype,"open",void 0),(0,t.gn)([(0,e.Cb)({type:String}),(0,t.w6)("design:type",Object)],c.prototype,"titleText",void 0),(0,t.gn)([(0,e.Cb)({type:String}),(0,t.w6)("design:type",Object)],c.prototype,"descriptionText",void 0),(0,t.gn)([(0,e.Cb)({type:String}),(0,t.w6)("design:type",Object)],c.prototype,"icon",void 0),(0,t.gn)([(0,e.Cb)({type:Boolean}),(0,t.w6)("design:type",Object)],c.prototype,"inline",void 0),(0,t.gn)([(0,e.Cb)(),(0,t.w6)("design:type",Object)],c.prototype,"state",void 0);const l=a.iv`:host .mdc-banner__graphic{color:#fff;color:var(--mdc-theme-surface,#fff)}:host .mdc-banner__graphic{background-color:#6200ee;background-color:var(--mdc-theme-primary,#6200ee)}:host .mdc-banner__content,:host .mdc-banner__fixed{min-width:344px}@media(max-width:480px),(max-width:344px){:host .mdc-banner__content,:host .mdc-banner__fixed{min-width:100%}}:host .mdc-banner__content{max-width:720px}:host .mdc-banner{z-index:1;border-bottom-style:solid;box-sizing:border-box;display:none;flex-shrink:0;height:0;position:relative;width:100%}@media(max-width:480px){:host .mdc-banner .mdc-banner__fixed{left:0;right:0}:host .mdc-banner .mdc-banner__text{margin-left:16px;margin-right:36px}:host .mdc-banner .mdc-banner__text[dir=rtl],[dir=rtl] :host .mdc-banner .mdc-banner__text{margin-left:36px;margin-right:16px}}@media(max-width:480px){:host .mdc-banner.mdc-banner--mobile-stacked .mdc-banner__content{flex-wrap:wrap}:host .mdc-banner.mdc-banner--mobile-stacked .mdc-banner__graphic{margin-bottom:12px}:host .mdc-banner.mdc-banner--mobile-stacked .mdc-banner__text{margin-left:16px;margin-right:8px;padding-bottom:4px}:host .mdc-banner.mdc-banner--mobile-stacked .mdc-banner__text[dir=rtl],[dir=rtl] :host .mdc-banner.mdc-banner--mobile-stacked .mdc-banner__text{margin-left:8px;margin-right:16px}:host .mdc-banner.mdc-banner--mobile-stacked .mdc-banner__actions{margin-left:auto}}:host .mdc-banner--closing,:host .mdc-banner--open,:host .mdc-banner--opening{display:flex}:host .mdc-banner--open{transition:height .3s ease}:host .mdc-banner--open .mdc-banner__content{transition:transform .3s ease;transform:translateY(0)}:host .mdc-banner--closing{transition:height 250ms ease}:host .mdc-banner--closing .mdc-banner__content{transition:transform 250ms ease}:host .mdc-banner--centered .mdc-banner__content{left:0;margin-left:auto;margin-right:auto;right:0}:host .mdc-banner__fixed{border-bottom-style:solid;box-sizing:border-box;height:inherit;position:fixed;width:100%}:host .mdc-banner__content{display:flex;min-height:52px;position:absolute;transform:translateY(-100%);width:100%}:host .mdc-banner__graphic-text-wrapper{display:flex;width:100%}:host .mdc-banner__graphic{margin-left:16px;margin-right:0;flex-shrink:0;margin-top:16px;margin-bottom:16px;text-align:center}:host .mdc-banner__graphic[dir=rtl],[dir=rtl] :host .mdc-banner__graphic{margin-left:0;margin-right:16px}:host .mdc-banner__icon{position:relative;top:50%;transform:translateY(-50%)}:host .mdc-banner__text{margin-left:24px;margin-right:90px;align-self:center;flex-grow:1;padding-top:16px;padding-bottom:16px}:host .mdc-banner__text[dir=rtl],[dir=rtl] :host .mdc-banner__text{margin-left:90px;margin-right:24px}:host .mdc-banner__actions{padding-left:0;padding-right:8px;align-self:flex-end;display:flex;flex-shrink:0;padding-bottom:8px;padding-top:8px}:host .mdc-banner__actions[dir=rtl],[dir=rtl] :host .mdc-banner__actions{padding-left:8px;padding-right:0}:host .mdc-banner__secondary-action{margin-left:0;margin-right:8px}:host .mdc-banner__secondary-action[dir=rtl],[dir=rtl] :host .mdc-banner__secondary-action{margin-left:8px;margin-right:0}:host .mdc-banner{background-color:#fff;border-bottom-color:rgba(0,0,0,.12);border-bottom-width:1px;border-radius:0}:host .mdc-banner .mdc-banner__text{color:#000}:host .mdc-banner .mdc-banner__text{letter-spacing:.0178571429em;font-size:.875rem;font-family:Roboto,sans-serif;font-weight:400;line-height:1.25rem}:host .mdc-banner .mdc-banner__graphic{border-radius:50%}:host .mdc-banner .mdc-banner__graphic{height:40px;width:40px}:host .mdc-banner .mdc-banner__fixed{background-color:#fff}:host .mdc-banner .mdc-banner__fixed{border-bottom-color:rgba(0,0,0,.12)}:host .mdc-banner .mdc-banner__fixed{border-bottom-width:1px}:host .mdc-banner .mdc-button:not(:disabled){color:#6200ee;color:var(--mdc-text-button-label-text-color,#6200ee)}:host .mdc-banner .mdc-button .mdc-button__ripple::after,:host .mdc-banner .mdc-button .mdc-button__ripple::before{background-color:#6200ee;background-color:var(--mdc-text-button-hover-state-layer-color,#6200ee)}:host .mdc-banner .mdc-button.mdc-ripple-surface--hover .mdc-button__ripple::before,:host .mdc-banner .mdc-button:hover .mdc-button__ripple::before{opacity:.04;opacity:var(--mdc-text-button-hover-state-layer-opacity,.04)}:host .mdc-banner .mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__ripple::before,:host .mdc-banner .mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__ripple::before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-text-button-focus-state-layer-opacity,.12)}:host .mdc-banner .mdc-button:not(.mdc-ripple-upgraded) .mdc-button__ripple::after{transition:opacity 150ms linear}:host .mdc-banner .mdc-button:not(.mdc-ripple-upgraded):active .mdc-button__ripple::after{transition-duration:75ms;opacity:.1;opacity:var(--mdc-text-button-pressed-state-layer-opacity,.1)}:host .mdc-banner .mdc-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-text-button-pressed-state-layer-opacity, 0.1)}:host .mdc-banner__secondary-action{margin-left:0;margin-right:8px}:host .mdc-banner__secondary-action[dir=rtl],[dir=rtl] :host .mdc-banner__secondary-action{margin-left:8px;margin-right:0}:host .mdc-banner{--mdc-theme-surface:var(--mdc-theme-surface-neutral);background-color:var(--mdc-theme-surface)}:host .mdc-banner .mdc-banner__graphic{--mdc-theme-surface:var(--mdc-theme-text-icon-on-background)}:host .mdc-banner .mdc-banner__text{color:var(--mdc-theme-text-primary-on-background)}:host .mdc-banner .mdc-banner__text .mdc-typography--body2{font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:700;line-height:var(--mdc-typography-body2-line-height)}:host .mdc-banner .mdc-banner__text .mdc-typography--body1{color:var(--mdc-theme-text-secondary-on-background);font-family:var(--mdc-typography-body1-font-family);font-size:var(--mdc-typography-body1-font-size);font-weight:var(--mdc-typography-body1-font-weight);line-height:var(--mdc-typography-body1-line-height)}:host .mdc-banner.caution{--mdc-theme-surface:var(--mdc-theme-surface-caution)}:host .mdc-banner.caution.td-banner--inline{--mdc-theme-surface:var(--mdc-theme-surface-caution-highlight)}:host .mdc-banner.caution.td-banner--inline .mdc-banner__graphic,:host .mdc-banner.caution.td-banner--inline .mdc-banner__text{--mdc-theme-surface:var(--mdc-theme-caution);--mdc-theme-text-primary-on-background:var(--mdc-theme-caution)}:host .mdc-banner.negative{--mdc-theme-surface:var(--mdc-theme-surface-negative)}:host .mdc-banner.negative.td-banner--inline{--mdc-theme-surface:var(--mdc-theme-surface-negative-highlight)}:host .mdc-banner.negative.td-banner--inline .mdc-banner__graphic,:host .mdc-banner.negative.td-banner--inline .mdc-banner__text{--mdc-theme-surface:var(--mdc-theme-negative);--mdc-theme-text-primary-on-background:var(--mdc-theme-negative)}:host .mdc-banner.active{--mdc-theme-surface:var(--mdc-theme-surface-secondary)}:host .mdc-banner.active.td-banner--inline{--mdc-theme-surface:var(--mdc-theme-surface-secondary-highlight)}:host .mdc-banner.active.td-banner--inline .mdc-banner__graphic,:host .mdc-banner.active.td-banner--inline .mdc-banner__text{--mdc-theme-surface:var(--mdc-theme-secondary);--mdc-theme-text-primary-on-background:var(--mdc-theme-secondary)}:host .mdc-banner.positive{--mdc-theme-surface:var(--mdc-theme-surface-positive)}:host .mdc-banner.positive.td-banner--inline{--mdc-theme-surface:var(--mdc-theme-surface-positive-highlight)}:host .mdc-banner.positive.td-banner--inline .mdc-banner__graphic,:host .mdc-banner.positive.td-banner--inline .mdc-banner__text{--mdc-theme-surface:var(--mdc-theme-positive);--mdc-theme-text-primary-on-background:var(--mdc-theme-positive)}:host .mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity,0);transition:opacity 280ms cubic-bezier(.4,0,.2,1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color,#fff)}:host .mdc-banner{border-radius:8px;position:relative;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);overflow:hidden;border:none}:host .mdc-banner .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}:host .mdc-banner .mdc-banner__content{max-width:inherit}:host .mdc-banner .mdc-banner__graphic{background:0 0;margin-left:24px;width:24px}:host .mdc-banner .mdc-banner__text{margin-left:24px}:host .mdc-banner .mdc-banner__actions{align-self:center;align-items:center}:host .mdc-banner.td-banner--inline{border-radius:0;box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}:host ::slotted(*){margin-left:8px}`;let h=class extends c{};h.styles=[l],h=(0,t.gn)([(0,e.Mo)("td-alert")],h)})()})();
@@ -0,0 +1,75 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2016 Google Inc.
4
+ *
5
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ * of this software and associated documentation files (the "Software"), to deal
7
+ * in the Software without restriction, including without limitation the rights
8
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ * copies of the Software, and to permit persons to whom the Software is
10
+ * furnished to do so, subject to the following conditions:
11
+ *
12
+ * The above copyright notice and this permission notice shall be included in
13
+ * all copies or substantial portions of the Software.
14
+ *
15
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ * THE SOFTWARE.
22
+ */
23
+
24
+ /**
25
+ * @license
26
+ * Copyright 2017 Google LLC
27
+ * SPDX-License-Identifier: BSD-3-Clause
28
+ */
29
+
30
+ /**
31
+ * @license
32
+ * Copyright 2018 Google LLC
33
+ * SPDX-License-Identifier: Apache-2.0
34
+ */
35
+
36
+ /**
37
+ * @license
38
+ * Copyright 2018 Google LLC
39
+ * SPDX-License-Identifier: BSD-3-Clause
40
+ */
41
+
42
+ /**
43
+ * @license
44
+ * Copyright 2019 Google LLC
45
+ * SPDX-License-Identifier: BSD-3-Clause
46
+ */
47
+
48
+ /**
49
+ * @license
50
+ * Copyright 2020 Google Inc.
51
+ *
52
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
53
+ * of this software and associated documentation files (the "Software"), to deal
54
+ * in the Software without restriction, including without limitation the rights
55
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
56
+ * copies of the Software, and to permit persons to whom the Software is
57
+ * furnished to do so, subject to the following conditions:
58
+ *
59
+ * The above copyright notice and this permission notice shall be included in
60
+ * all copies or substantial portions of the Software.
61
+ *
62
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
63
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
64
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
65
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
66
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
67
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
68
+ * THE SOFTWARE.
69
+ */
70
+
71
+ /**
72
+ * @license
73
+ * Copyright 2021 Google LLC
74
+ * SPDX-License-Identifier: BSD-3-Clause
75
+ */