@covalent/components 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actionRibbon.js +192 -0
- package/alert.js +198 -0
- package/appDetail.js +69 -0
- package/appShell.js +399 -0
- package/button.js +280 -0
- package/checkbox.js +270 -0
- package/circularProgress.js +184 -0
- package/components/{action-ribbon → src/action-ribbon}/action-ribbon-base.d.ts +2 -2
- package/components/src/action-ribbon/action-ribbon-base.d.ts.map +1 -0
- package/components/{action-ribbon/action-ribbon.component.d.ts → src/action-ribbon/action-ribbon.d.ts} +1 -1
- package/components/src/action-ribbon/action-ribbon.d.ts.map +1 -0
- package/components/{action-ribbon → src/action-ribbon}/foundation.d.ts +0 -0
- package/components/src/action-ribbon/foundation.d.ts.map +1 -0
- package/components/src/alert/alert-base.d.ts +31 -0
- package/components/src/alert/alert-base.d.ts.map +1 -0
- package/components/src/alert/alert.d.ts +15 -0
- package/components/src/alert/alert.d.ts.map +1 -0
- package/components/src/app-detail/app-detail-base.d.ts +5 -0
- package/components/src/app-detail/app-detail-base.d.ts.map +1 -0
- package/components/src/app-detail/app-detail.d.ts +10 -0
- package/components/src/app-detail/app-detail.d.ts.map +1 -0
- package/components/{app-shell/app-shell.component.d.ts → src/app-shell/app-shell.d.ts} +1 -1
- package/components/src/app-shell/app-shell.d.ts.map +1 -0
- package/components/{button/button.component.d.ts → src/button/button.d.ts} +1 -1
- package/components/src/button/button.d.ts.map +1 -0
- package/components/src/card/card-base.d.ts +17 -0
- package/components/src/card/card-base.d.ts.map +1 -0
- package/components/src/card/card.d.ts +10 -0
- package/components/src/card/card.d.ts.map +1 -0
- package/components/src/checkbox/checkbox.d.ts +10 -0
- package/components/src/checkbox/checkbox.d.ts.map +1 -0
- package/components/src/chips/chip-base.d.ts +52 -0
- package/components/src/chips/chip-base.d.ts.map +1 -0
- package/components/src/chips/chip-set-base.d.ts +33 -0
- package/components/src/chips/chip-set-base.d.ts.map +1 -0
- package/components/src/chips/chip-set.d.ts +15 -0
- package/components/src/chips/chip-set.d.ts.map +1 -0
- package/components/src/chips/chip.d.ts +15 -0
- package/components/src/chips/chip.d.ts.map +1 -0
- package/components/src/chips/foundation.d.ts +38 -0
- package/components/src/chips/foundation.d.ts.map +1 -0
- package/components/src/circular-progress/circular-progress.d.ts +10 -0
- package/components/src/circular-progress/circular-progress.d.ts.map +1 -0
- package/components/src/dialog/dialog.d.ts +10 -0
- package/components/src/dialog/dialog.d.ts.map +1 -0
- package/components/src/drawer/drawer.d.ts +10 -0
- package/components/src/drawer/drawer.d.ts.map +1 -0
- package/components/src/formfield/formfield.d.ts +10 -0
- package/components/src/formfield/formfield.d.ts.map +1 -0
- package/components/src/icon/icon.d.ts +10 -0
- package/components/src/icon/icon.d.ts.map +1 -0
- package/components/src/icon-button/icon-button.d.ts +10 -0
- package/components/src/icon-button/icon-button.d.ts.map +1 -0
- package/components/src/index.d.ts +29 -0
- package/components/src/index.d.ts.map +1 -0
- package/components/src/linear-progress/linear-progress.d.ts +10 -0
- package/components/src/linear-progress/linear-progress.d.ts.map +1 -0
- package/components/src/list/check-list-item.d.ts +10 -0
- package/components/src/list/check-list-item.d.ts.map +1 -0
- package/components/{list/td-list-expansion.component.d.ts → src/list/list-expansion.d.ts} +1 -1
- package/components/src/list/list-expansion.d.ts.map +1 -0
- package/components/{list/td-list-item.component.d.ts → src/list/list-item.d.ts} +1 -1
- package/components/src/list/list-item.d.ts.map +1 -0
- package/components/src/list/list.d.ts +10 -0
- package/components/src/list/list.d.ts.map +1 -0
- package/components/src/list/radio-list-item.d.ts +10 -0
- package/components/src/list/radio-list-item.d.ts.map +1 -0
- package/components/src/menu/menu.d.ts +10 -0
- package/components/src/menu/menu.d.ts.map +1 -0
- package/components/src/radio/radio.d.ts +10 -0
- package/components/src/radio/radio.d.ts.map +1 -0
- package/components/src/select/select.d.ts +10 -0
- package/components/src/select/select.d.ts.map +1 -0
- package/components/src/slider/slider-range.d.ts +10 -0
- package/components/src/slider/slider-range.d.ts.map +1 -0
- package/components/src/slider/slider.d.ts +10 -0
- package/components/src/slider/slider.d.ts.map +1 -0
- package/components/src/snackbar/snackbar.d.ts +10 -0
- package/components/src/snackbar/snackbar.d.ts.map +1 -0
- package/components/src/switch/switch.d.ts +10 -0
- package/components/src/switch/switch.d.ts.map +1 -0
- package/components/src/tab/tab-bar.d.ts +10 -0
- package/components/src/tab/tab-bar.d.ts.map +1 -0
- package/components/src/tab/tab.d.ts +10 -0
- package/components/src/tab/tab.d.ts.map +1 -0
- package/components/src/textarea/textarea.d.ts +10 -0
- package/components/src/textarea/textarea.d.ts.map +1 -0
- package/components/src/textfield/textfield.d.ts +10 -0
- package/components/src/textfield/textfield.d.ts.map +1 -0
- package/components/src/top-app-bar/top-app-bar-fixed.d.ts +10 -0
- package/components/src/top-app-bar/top-app-bar-fixed.d.ts.map +1 -0
- package/components/src/top-app-bar/top-app-bar.d.ts +10 -0
- package/components/src/top-app-bar/top-app-bar.d.ts.map +1 -0
- package/dialog.js +264 -0
- package/drawer.js +185 -0
- package/formField.js +157 -0
- package/icon.js +99 -0
- package/iconButton.js +256 -0
- package/{covalent-icons/lib/icons/covalent-icons → icons}/covalent-icons.css +0 -0
- package/{covalent-icons/lib/icons/covalent-icons → icons}/covalent-icons.eot +0 -0
- package/{covalent-icons/lib/icons/covalent-icons → icons}/covalent-icons.svg +0 -0
- package/{covalent-icons/lib/icons/covalent-icons → icons}/covalent-icons.ttf +0 -0
- package/{covalent-icons/lib/icons/covalent-icons → icons}/covalent-icons.woff +0 -0
- package/icons/favicon.ico +0 -0
- package/index.js +1522 -324
- package/linearProgress.js +154 -0
- package/list.js +344 -0
- package/listExpansion.js +360 -0
- package/listItem.js +264 -0
- package/listRadioItem.js +342 -0
- package/menu.js +485 -0
- package/package.json +1 -1
- package/radio.js +275 -0
- package/select.js +624 -0
- package/slider.js +367 -0
- package/sliderRange.js +417 -0
- package/snackBar.js +177 -0
- package/styles.css +1 -0
- package/styles.js +1 -0
- package/switch.js +360 -0
- package/tab.js +277 -0
- package/tabBar.js +352 -0
- package/textArea.js +291 -0
- package/textField.js +252 -0
- package/theme.css +1 -0
- package/theme.js +1 -0
- package/topAppBar.js +192 -0
- package/topAppBarFixed.js +198 -0
- package/vendor.css +13 -0
- package/vendor.js +1 -0
- package/components/action-ribbon/action-ribbon-base.d.ts.map +0 -1
- package/components/action-ribbon/action-ribbon.component.d.ts.map +0 -1
- package/components/action-ribbon/foundation.d.ts.map +0 -1
- package/components/app-shell/app-shell.component.d.ts.map +0 -1
- package/components/button/button.component.d.ts.map +0 -1
- package/components/index.d.ts +0 -6
- package/components/index.d.ts.map +0 -1
- package/components/list/td-list-expansion.component.d.ts.map +0 -1
- package/components/list/td-list-item.component.d.ts.map +0 -1
- package/teradata-icons/lib/icons/teradata-icons/teradata-icons.css +0 -338
- package/teradata-icons/lib/icons/teradata-icons/teradata-icons.eot +0 -0
- package/teradata-icons/lib/icons/teradata-icons/teradata-icons.svg +0 -217
- package/teradata-icons/lib/icons/teradata-icons/teradata-icons.ttf +0 -0
- package/teradata-icons/lib/icons/teradata-icons/teradata-icons.woff +0 -0
package/icon.js
ADDED
@@ -0,0 +1,99 @@
|
|
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=72)}({0: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 l=n(8);n.d(e,"f",(function(){return l.a}));var a=n(16);n.d(e,"j",(function(){return a.a}));var c=n(17);n.d(e,"d",(function(){return c.a}));var u=n(18);n.d(e,"g",(function(){return u.a}));n(19);var d=n(20);n.d(e,"i",(function(){return d.a}));var h=n(21);n.d(e,"h",(function(){return h.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.")},1:function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"f",(function(){return l})),n.d(e,"d",(function(){return a})),n.d(e,"e",(function(){return c}));
|
8
|
+
/*! *****************************************************************************
|
9
|
+
Copyright (c) Microsoft Corporation.
|
10
|
+
|
11
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
12
|
+
purpose with or without fee is hereby granted.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
15
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
16
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
17
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
18
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
19
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
20
|
+
PERFORMANCE OF THIS SOFTWARE.
|
21
|
+
***************************************************************************** */
|
22
|
+
var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function s(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 l=t.length-1;l>=0;l--)(r=t[l])&&(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}Object.create;function l(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return s}function c(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r<o;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}Object.create},10: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)},14:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));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 l 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}}l.finalized=!0,l._$litElement$=!0,null===(r=globalThis.litElementHydrateSupport)||void 0===r||r.call(globalThis,{LitElement:l});const a=globalThis.litElementPolyfillSupport;null==a||a({LitElement:l});(null!==(o=globalThis.litElementVersions)&&void 0!==o?o:globalThis.litElementVersions=[]).push("3.0.1")},15:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));
|
23
|
+
/**
|
24
|
+
* @license
|
25
|
+
* Copyright 2017 Google LLC
|
26
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
27
|
+
*/
|
28
|
+
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)},16:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(8);
|
29
|
+
/**
|
30
|
+
* @license
|
31
|
+
* Copyright 2017 Google LLC
|
32
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
33
|
+
*/function r(t){return Object(i.a)({...t,state:!0})}},17:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(4);
|
34
|
+
/**
|
35
|
+
* @license
|
36
|
+
* Copyright 2017 Google LLC
|
37
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
38
|
+
*/function r(t){return Object(i.a)({finisher:(e,n)=>{Object.assign(e.prototype[n],t)}})}},18:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(4);
|
39
|
+
/**
|
40
|
+
* @license
|
41
|
+
* Copyright 2017 Google LLC
|
42
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
43
|
+
*/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}})}},19:function(t,e,n){"use strict";n(4);
|
44
|
+
/**
|
45
|
+
* @license
|
46
|
+
* Copyright 2017 Google LLC
|
47
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
48
|
+
*/},2:function(t,e,n){"use strict";
|
49
|
+
/**
|
50
|
+
* @license
|
51
|
+
* Copyright 2017 Google LLC
|
52
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
53
|
+
*/
|
54
|
+
var i;n.d(e,"a",(function(){return z})),n.d(e,"b",(function(){return A})),n.d(e,"c",(function(){return S})),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)}$`,l="?"+s,a=`<${l}>`,c=document,u=(t="")=>c.createComment(t),d=t=>null===t||"object"!=typeof t&&"function"!=typeof t,h=Array.isArray,p=t=>{var e;return h(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,$=/>/g,y=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,_=/'/g,m=/"/g,g=/^(?:script|style|textarea)$/i,b=t=>(e,...n)=>({_$litType$:t,strings:e,values:n}),A=b(1),S=(b(2),Symbol.for("lit-noChange")),E=Symbol.for("lit-nothing"),w=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 j(e.insertBefore(u(),t),t,void 0,null!=n?n:{})}return s._$AI(t),s},C=c.createTreeWalker(c,129,null,!1),x=(t,e)=>{const n=t.length-1,i=[];let r,l=2===e?"<svg>":"",c=f;for(let e=0;e<n;e++){const n=t[e];let o,u,d=-1,h=0;for(;h<n.length&&(c.lastIndex=h,u=c.exec(n),null!==u);)h=c.lastIndex,c===f?"!--"===u[1]?c=v:void 0!==u[1]?c=$:void 0!==u[2]?(g.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=y):void 0!==u[3]&&(c=y):c===y?">"===u[0]?(c=null!=r?r:f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,o=u[1],c=void 0===u[3]?y:'"'===u[3]?m:_):c===m||c===_?c=y:c===v||c===$?c=f:(c=y,r=void 0);const p=c===y&&t[e+1].startsWith("/>")?" ":"";l+=c===f?n+a:d>=0?(i.push(o),n.slice(0,d)+"$lit$"+n.slice(d)+s+p):n+s+(-2===d?(i.push(void 0),e):p)}const u=l+(t[n]||"<?>")+(2===e?"</svg>":"");return[void 0!==o?o.createHTML(u):u,i]};class P{constructor({strings:t,_$litType$:e},n){let i;this.parts=[];let o=0,a=0;const c=t.length-1,d=this.parts,[h,p]=x(t,e);if(this.el=P.createElement(h,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())&&d.length<c;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const e of i.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(s)){const n=p[a++];if(t.push(e),void 0!==n){const t=i.getAttribute(n.toLowerCase()+"$lit$").split(s),e=/([.?@])?(.*)/.exec(n);d.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?H:"?"===e[1]?N:"@"===e[1]?k:R})}else d.push({type:6,index:o})}for(const e of t)i.removeAttribute(e)}if(g.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],u()),C.nextNode(),d.push({type:2,index:++o});i.append(t[e],u())}}}else if(8===i.nodeType)if(i.data===l)d.push({type:2,index:o});else{let t=-1;for(;-1!==(t=i.data.indexOf(s,t+1));)d.push({type:7,index:o}),t+=s.length-1}o++}}static createElement(t,e){const n=c.createElement("template");return n.innerHTML=t,n}}function U(t,e,n=t,i){var r,o,s,l;if(e===S)return e;let a=void 0!==i?null===(r=n._$Cl)||void 0===r?void 0:r[i]:n._$Cu;const c=d(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==c&&(null===(o=null==a?void 0:a._$AO)||void 0===o||o.call(a,!1),void 0===c?a=void 0:(a=new c(t),a._$AT(t,n,i)),void 0!==i?(null!==(s=(l=n)._$Cl)&&void 0!==s?s:l._$Cl=[])[i]=a:n._$Cu=a),void 0!==a&&(e=U(t,a._$AS(t,e.values),a,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:c).importNode(n,!0);C.currentNode=r;let o=C.nextNode(),s=0,l=0,a=i[0];for(;void 0!==a;){if(s===a.index){let e;2===a.type?e=new j(o,o.nextSibling,this,t):1===a.type?e=new a.ctor(o,a.name,a.strings,this,t):6===a.type&&(e=new M(o,this,t)),this.v.push(e),a=i[++l]}s!==(null==a?void 0:a.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 j{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=U(this,t,e),d(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==S&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):p(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&&d(this._$AH)?this._$AA.nextSibling.data=t:this.S(c.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.S(e),this._$AH=t}}_$AC(t){let e=w.get(t.strings);return void 0===e&&w.set(t.strings,e=new P(t)),e}M(t){h(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 j(this.A(u()),this.A(u()),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=U(this,t,e,0),o=!d(t)||t!==this._$AH&&t!==S,o&&(this._$AH=t);else{const i=t;let s,l;for(t=r[0],s=0;s<r.length-1;s++)l=U(this,i[n+s],e,s),l===S&&(l=this._$AH[s]),o||(o=!d(l)||l!==this._$AH[s]),l===E?t=E:t!==E&&(t+=(null!=l?l:"")+r[s+1]),this._$AH[s]=l}o&&!i&&this.k(t)}k(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class H extends R{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===E?void 0:t}}class N extends R{constructor(){super(...arguments),this.type=4}k(t){t&&t!==E?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)}}class k 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=U(this,t,e,0))&&void 0!==n?n:E)===S)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 M{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){U(this,t)}}const z={P:"$lit$",V:s,L:l,I:1,N:x,R:T,D:p,j:U,H:j,O:R,F:N,B:k,W:H,Z:M},L=window.litHtmlPolyfillSupport;null==L||L(P,j),(null!==(i=globalThis.litHtmlVersions)&&void 0!==i?i:globalThis.litHtmlVersions=[]).push("2.0.1")},20:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(4);
|
55
|
+
/**
|
56
|
+
* @license
|
57
|
+
* Copyright 2017 Google LLC
|
58
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
59
|
+
*/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})})}},21:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(4);
|
60
|
+
/**
|
61
|
+
* @license
|
62
|
+
* Copyright 2017 Google LLC
|
63
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
64
|
+
*/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 l=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&&(l=l.filter(t=>t.nodeType===Node.ELEMENT_NODE&&t.matches(n))),l},enumerable:!0,configurable:!0})})}},4:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));
|
65
|
+
/**
|
66
|
+
* @license
|
67
|
+
* Copyright 2017 Google LLC
|
68
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
69
|
+
*/
|
70
|
+
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)}}},45:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));
|
71
|
+
/**
|
72
|
+
* @license
|
73
|
+
* Copyright 2021 Google LLC
|
74
|
+
* SPDX-LIcense-Identifier: Apache-2.0
|
75
|
+
*/
|
76
|
+
const i=n(0).b`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}`},52:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n(1),r=n(0),o=n(45);
|
77
|
+
/**
|
78
|
+
* @license
|
79
|
+
* Copyright 2018 Google LLC
|
80
|
+
* SPDX-License-Identifier: Apache-2.0
|
81
|
+
*/
|
82
|
+
let s=class extends r.a{render(){return r.e`<span><slot></slot></span>`}};s.styles=[o.a],s=Object(i.b)([Object(r.c)("mwc-icon")],s)},6:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return f}));
|
83
|
+
/**
|
84
|
+
* @license
|
85
|
+
* Copyright 2019 Google LLC
|
86
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
87
|
+
*/
|
88
|
+
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 l=(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)},a=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
|
89
|
+
/**
|
90
|
+
* @license
|
91
|
+
* Copyright 2017 Google LLC
|
92
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
93
|
+
*/;var c;const u=window.reactiveElementPolyfillSupport,d={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}},h=(t,e)=>e!==t&&(e==e||t==t),p={attribute:!0,type:String,converter:d,reflect:!1,hasChanged:h};class f 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=p){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)||p}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(a(t))}else void 0!==t&&e.push(a(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=p){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:d.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),l=t.converter,a=null!==(r=null!==(i=null===(n=l)||void 0===n?void 0:n.fromAttribute)&&void 0!==i?i:"function"==typeof l?l:null)&&void 0!==r?r:d.fromAttribute;this._$Ei=s,this[s]=a(e,t.type),this._$Ei=null}}requestUpdate(t,e,n){let i=!0;void 0!==t&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||h)(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){}}f.finalized=!0,f.elementProperties=new Map,f.elementStyles=[],f.shadowRootOptions={mode:"open"},null==u||u({ReactiveElement:f}),(null!==(c=globalThis.reactiveElementVersions)&&void 0!==c?c:globalThis.reactiveElementVersions=[]).push("1.0.1")},72:function(t,e,n){"use strict";n.r(e),n.d(e,"CovalentIcon",(function(){return l}));var i=n(52),r=n(45),o=n(10),s=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 l=t.length-1;l>=0;l--)(r=t[l])&&(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 l=class extends i.a{};l.styles=[r.a],l=s([Object(o.a)("td-icon")],l)},8:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));
|
94
|
+
/**
|
95
|
+
* @license
|
96
|
+
* Copyright 2017 Google LLC
|
97
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
98
|
+
*/
|
99
|
+
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)}}});
|
package/iconButton.js
ADDED
@@ -0,0 +1,256 @@
|
|
1
|
+
!function(t){var e={};function i(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=e,i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(r,n,function(e){return t[e]}.bind(null,n));return r},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=73)}([function(t,e,i){"use strict";var r=i(6);i.d(e,"b",(function(){return r.b}));var n=i(2);i.d(e,"e",(function(){return n.b}));var o=i(14);i.d(e,"a",(function(){return o.a}));i(4);var a=i(15);i.d(e,"c",(function(){return a.a}));var s=i(8);i.d(e,"f",(function(){return s.a}));var c=i(16);i.d(e,"j",(function(){return c.a}));var d=i(17);i.d(e,"d",(function(){return d.a}));var p=i(18);i.d(e,"g",(function(){return p.a}));i(19);var l=i(20);i.d(e,"i",(function(){return l.a}));var u=i(21);i.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,i){"use strict";i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return o})),i.d(e,"b",(function(){return a})),i.d(e,"f",(function(){return s})),i.d(e,"d",(function(){return c})),i.d(e,"e",(function(){return d}));
|
8
|
+
/*! *****************************************************************************
|
9
|
+
Copyright (c) Microsoft Corporation.
|
10
|
+
|
11
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
12
|
+
purpose with or without fee is hereby granted.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
15
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
16
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
17
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
18
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
19
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
20
|
+
PERFORMANCE OF THIS SOFTWARE.
|
21
|
+
***************************************************************************** */
|
22
|
+
var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)};function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}var o=function(){return(o=Object.assign||function(t){for(var e,i=1,r=arguments.length;i<r;i++)for(var n in e=arguments[i])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}).apply(this,arguments)};function a(t,e,i,r){var n,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,r);else for(var s=t.length-1;s>=0;s--)(n=t[s])&&(a=(o<3?n(a):o>3?n(e,i,a):n(e,i))||a);return o>3&&a&&Object.defineProperty(e,i,a),a}Object.create;function s(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],r=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var r,n,o=i.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){n={error:t}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return a}function d(t,e,i){if(i||2===arguments.length)for(var r,n=0,o=e.length;n<o;n++)!r&&n in e||(r||(r=Array.prototype.slice.call(e,0,n)),r[n]=e[n]);return t.concat(r||Array.prototype.slice.call(e))}Object.create},function(t,e,i){"use strict";
|
23
|
+
/**
|
24
|
+
* @license
|
25
|
+
* Copyright 2017 Google LLC
|
26
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
27
|
+
*/
|
28
|
+
var r;i.d(e,"a",(function(){return U})),i.d(e,"b",(function(){return $})),i.d(e,"c",(function(){return E})),i.d(e,"d",(function(){return w})),i.d(e,"e",(function(){return S}));const n=globalThis.trustedTypes,o=n?n.createPolicy("lit-html",{createHTML:t=>t}):void 0,a=`lit$${(Math.random()+"").slice(9)}$`,s="?"+a,c=`<${s}>`,d=document,p=(t="")=>d.createComment(t),l=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u=Array.isArray,h=t=>{var e;return u(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,m=/-->/g,v=/>/g,b=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,y=/'/g,g=/"/g,_=/^(?:script|style|textarea)$/i,A=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),$=A(1),E=(A(2),Symbol.for("lit-noChange")),w=Symbol.for("lit-nothing"),O=new WeakMap,S=(t,e,i)=>{var r,n;const o=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:e;let a=o._$litPart$;if(void 0===a){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;o._$litPart$=a=new P(e.insertBefore(p(),t),t,void 0,null!=i?i:{})}return a._$AI(t),a},C=d.createTreeWalker(d,129,null,!1),T=(t,e)=>{const i=t.length-1,r=[];let n,s=2===e?"<svg>":"",d=f;for(let e=0;e<i;e++){const i=t[e];let o,p,l=-1,u=0;for(;u<i.length&&(d.lastIndex=u,p=d.exec(i),null!==p);)u=d.lastIndex,d===f?"!--"===p[1]?d=m:void 0!==p[1]?d=v:void 0!==p[2]?(_.test(p[2])&&(n=RegExp("</"+p[2],"g")),d=b):void 0!==p[3]&&(d=b):d===b?">"===p[0]?(d=null!=n?n:f,l=-1):void 0===p[1]?l=-2:(l=d.lastIndex-p[2].length,o=p[1],d=void 0===p[3]?b:'"'===p[3]?g:y):d===g||d===y?d=b:d===m||d===v?d=f:(d=b,n=void 0);const h=d===b&&t[e+1].startsWith("/>")?" ":"";s+=d===f?i+c:l>=0?(r.push(o),i.slice(0,l)+"$lit$"+i.slice(l)+a+h):i+a+(-2===l?(r.push(void 0),e):h)}const p=s+(t[i]||"<?>")+(2===e?"</svg>":"");return[void 0!==o?o.createHTML(p):p,r]};class R{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let o=0,c=0;const d=t.length-1,l=this.parts,[u,h]=T(t,e);if(this.el=R.createElement(u,i),C.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(r=C.nextNode())&&l.length<d;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const e of r.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(a)){const i=h[c++];if(t.push(e),void 0!==i){const t=r.getAttribute(i.toLowerCase()+"$lit$").split(a),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?k:"?"===e[1]?I:"@"===e[1]?D:H})}else l.push({type:6,index:o})}for(const e of t)r.removeAttribute(e)}if(_.test(r.tagName)){const t=r.textContent.split(a),e=t.length-1;if(e>0){r.textContent=n?n.emptyScript:"";for(let i=0;i<e;i++)r.append(t[i],p()),C.nextNode(),l.push({type:2,index:++o});r.append(t[e],p())}}}else if(8===r.nodeType)if(r.data===s)l.push({type:2,index:o});else{let t=-1;for(;-1!==(t=r.data.indexOf(a,t+1));)l.push({type:7,index:o}),t+=a.length-1}o++}}static createElement(t,e){const i=d.createElement("template");return i.innerHTML=t,i}}function j(t,e,i=t,r){var n,o,a,s;if(e===E)return e;let c=void 0!==r?null===(n=i._$Cl)||void 0===n?void 0:n[r]:i._$Cu;const d=l(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,i,r)),void 0!==r?(null!==(a=(s=i)._$Cl)&&void 0!==a?a:s._$Cl=[])[r]=c:i._$Cu=c),void 0!==c&&(e=j(t,c._$AS(t,e.values),c,r)),e}class x{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:i},parts:r}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:d).importNode(i,!0);C.currentNode=n;let o=C.nextNode(),a=0,s=0,c=r[0];for(;void 0!==c;){if(a===c.index){let e;2===c.type?e=new P(o,o.nextSibling,this,t):1===c.type?e=new c.ctor(o,c.name,c.strings,this,t):6===c.type&&(e=new F(o,this,t)),this.v.push(e),c=r[++s]}a!==(null==c?void 0:c.index)&&(o=C.nextNode(),a++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class P{constructor(t,e,i,r){var n;this.type=2,this._$AH=w,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cg=null===(n=null==r?void 0:r.isConnected)||void 0===n||n}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=j(this,t,e),l(t)?t===w||null==t||""===t?(this._$AH!==w&&this._$AR(),this._$AH=w):t!==this._$AH&&t!==E&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):h(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!==w&&l(this._$AH)?this._$AA.nextSibling.data=t:this.S(d.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:r}=t,n="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=R.createElement(r.h,this.options)),r);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new x(n,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=O.get(t.strings);return void 0===e&&O.set(t.strings,e=new R(t)),e}M(t){u(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of t)r===e.length?e.push(i=new P(this.A(p()),this.A(p()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.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 H{constructor(t,e,i,r,n){this.type=1,this._$AH=w,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=w}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,r){const n=this.strings;let o=!1;if(void 0===n)t=j(this,t,e,0),o=!l(t)||t!==this._$AH&&t!==E,o&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=j(this,r[i+a],e,a),s===E&&(s=this._$AH[a]),o||(o=!l(s)||s!==this._$AH[a]),s===w?t=w:t!==w&&(t+=(null!=s?s:"")+n[a+1]),this._$AH[a]=s}o&&!r&&this.k(t)}k(t){t===w?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class k extends H{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===w?void 0:t}}class I extends H{constructor(){super(...arguments),this.type=4}k(t){t&&t!==w?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)}}class D extends H{constructor(t,e,i,r,n){super(t,e,i,r,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=j(this,t,e,0))&&void 0!==i?i:w)===E)return;const r=this._$AH,n=t===w&&r!==w||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,o=t!==w&&(r===w||n);n&&this.element.removeEventListener(this.name,this,r),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class F{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){j(this,t)}}const U={P:"$lit$",V:a,L:s,I:1,N:T,R:x,D:h,j:j,H:P,O:H,F:I,B:D,W:k,Z:F},M=window.litHtmlPolyfillSupport;null==M||M(R,P),(null!==(r=globalThis.litHtmlVersions)&&void 0!==r?r:globalThis.litHtmlVersions=[]).push("2.0.1")},,function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));
|
29
|
+
/**
|
30
|
+
* @license
|
31
|
+
* Copyright 2017 Google LLC
|
32
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
33
|
+
*/
|
34
|
+
const r=({finisher:t,descriptor:e})=>(i,r)=>{var n;if(void 0===r){const r=null!==(n=i.originalKey)&&void 0!==n?n:i.key,o=null!=e?{kind:"method",placement:"prototype",key:r,descriptor:e(i.key)}:{...i,key:r};return null!=t&&(o.finisher=function(e){t(e,r)}),o}{const n=i.constructor;void 0!==e&&Object.defineProperty(i,r,e(r)),null==t||t(n,r)}}},function(t,e,i){"use strict";i.d(e,"a",(function(){return o})),i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return n}));
|
35
|
+
/**
|
36
|
+
* @license
|
37
|
+
* Copyright 2017 Google LLC
|
38
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
39
|
+
*/
|
40
|
+
const r={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},n=t=>(...e)=>({_$litDirective$:t,values:e});class o{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},function(t,e,i){"use strict";i.d(e,"b",(function(){return s})),i.d(e,"a",(function(){return f}));
|
41
|
+
/**
|
42
|
+
* @license
|
43
|
+
* Copyright 2019 Google LLC
|
44
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
45
|
+
*/
|
46
|
+
const r=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),o=new Map;class a{constructor(t,e){if(this._$cssResult$=!0,e!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=o.get(this.cssText);return r&&void 0===t&&(o.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const s=(t,...e)=>{const i=1===t.length?t[0]:e.reduce((e,i,r)=>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.")})(i)+t[r+1],t[0]);return new a(i,n)},c=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new a("string"==typeof t?t:t+"",n))(e)})(t):t
|
47
|
+
/**
|
48
|
+
* @license
|
49
|
+
* Copyright 2017 Google LLC
|
50
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
51
|
+
*/;var d;const p=window.reactiveElementPolyfillSupport,l={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 i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},u=(t,e)=>e!==t&&(e==e||t==t),h={attribute:!0,type:String,converter:l,reflect:!1,hasChanged:u};class f 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,i)=>{const r=this._$Eh(i,e);void 0!==r&&(this._$Eu.set(r,i),t.push(r))}),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 i="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,i,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(r){const n=this[t];this[e]=r,this.requestUpdate(t,n,i)},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._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(c(t))}else void 0!==t&&e.push(c(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"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,i;(null!==(e=this._$Em)&&void 0!==e?e:this._$Em=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.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 i=e,n=this.constructor.elementStyles,r?i.adoptedStyleSheets=n.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):n.forEach(t=>{const e=document.createElement("style"),r=window.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=t.cssText,i.appendChild(e)}),e;var i,n}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,i){this._$AK(t,i)}_$Eg(t,e,i=h){var r,n;const o=this.constructor._$Eh(t,i);if(void 0!==o&&!0===i.reflect){const a=(null!==(n=null===(r=i.converter)||void 0===r?void 0:r.toAttribute)&&void 0!==n?n:l.toAttribute)(e,i.type);this._$Ei=t,null==a?this.removeAttribute(o):this.setAttribute(o,a),this._$Ei=null}}_$AK(t,e){var i,r,n;const o=this.constructor,a=o._$Eu.get(t);if(void 0!==a&&this._$Ei!==a){const t=o.getPropertyOptions(a),s=t.converter,c=null!==(n=null!==(r=null===(i=s)||void 0===i?void 0:i.fromAttribute)&&void 0!==r?r:"function"==typeof s?s:null)&&void 0!==n?n:l.fromAttribute;this._$Ei=a,this[a]=c(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let r=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||u)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$ES&&(this._$ES=new Map),this._$ES.set(t,i))):r=!1),!this.isUpdatePending&&r&&(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 i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),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(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}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){}}f.finalized=!0,f.elementProperties=new Map,f.elementStyles=[],f.shadowRootOptions={mode:"open"},null==p||p({ReactiveElement:f}),(null!==(d=globalThis.reactiveElementVersions)&&void 0!==d?d:globalThis.reactiveElementVersions=[]).push("1.0.1")},function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var r=i(2),n=i(5);
|
52
|
+
/**
|
53
|
+
* @license
|
54
|
+
* Copyright 2018 Google LLC
|
55
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
56
|
+
*/
|
57
|
+
const o=Object(n.c)(class extends n.a{constructor(t){var e;if(super(t),t.type!==n.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 i,n;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===(i=this.et)||void 0===i?void 0:i.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 i=!!e[t];i===this.st.has(t)||(null===(n=this.et)||void 0===n?void 0:n.has(t))||(i?(o.add(t),this.st.add(t)):(o.remove(t),this.st.delete(t)))}return r.c}})},function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));
|
58
|
+
/**
|
59
|
+
* @license
|
60
|
+
* Copyright 2017 Google LLC
|
61
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
62
|
+
*/
|
63
|
+
const r=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.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(i){i.createProperty(e.key,t)}};function n(t){return(e,i)=>void 0!==i?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,i):r(t,e)}},function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var r=i(0),n=i(23);i.d(e,"b",(function(){return n.a}));
|
64
|
+
/**
|
65
|
+
* @license
|
66
|
+
* Copyright 2018 Google LLC
|
67
|
+
* SPDX-License-Identifier: Apache-2.0
|
68
|
+
*/
|
69
|
+
class o extends r.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,i){"use strict";var r=i(15);i.d(e,"a",(function(){return r.a}));var n=i(8);i.d(e,"b",(function(){return n.a}));i(16),i(17);var o=i(18);i.d(e,"c",(function(){return o.a}));i(19),i(20),i(21)},,function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var r=i(2);
|
70
|
+
/**
|
71
|
+
* @license
|
72
|
+
* Copyright 2018 Google LLC
|
73
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
74
|
+
*/const n=t=>null!=t?t:r.d},function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));
|
75
|
+
/**
|
76
|
+
* @license
|
77
|
+
* Copyright 2016 Google Inc.
|
78
|
+
*
|
79
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
80
|
+
* of this software and associated documentation files (the "Software"), to deal
|
81
|
+
* in the Software without restriction, including without limitation the rights
|
82
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
83
|
+
* copies of the Software, and to permit persons to whom the Software is
|
84
|
+
* furnished to do so, subject to the following conditions:
|
85
|
+
*
|
86
|
+
* The above copyright notice and this permission notice shall be included in
|
87
|
+
* all copies or substantial portions of the Software.
|
88
|
+
*
|
89
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
90
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
91
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
92
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
93
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
94
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
95
|
+
* THE SOFTWARE.
|
96
|
+
*/
|
97
|
+
var r=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,i){"use strict";i.d(e,"a",(function(){return s}));var r=i(6);i.d(e,"b",(function(){return r.b}));var n,o,a=i(2);i.d(e,"c",(function(){return a.b}));r.a;class s extends r.a{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=Object(a.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 a.c}}s.finalized=!0,s._$litElement$=!0,null===(n=globalThis.litElementHydrateSupport)||void 0===n||n.call(globalThis,{LitElement:s});const c=globalThis.litElementPolyfillSupport;null==c||c({LitElement:s});(null!==(o=globalThis.litElementVersions)&&void 0!==o?o:globalThis.litElementVersions=[]).push("3.0.1")},function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));
|
98
|
+
/**
|
99
|
+
* @license
|
100
|
+
* Copyright 2017 Google LLC
|
101
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
102
|
+
*/
|
103
|
+
const r=t=>e=>"function"==typeof e?((t,e)=>(window.customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:i,elements:r}=e;return{kind:i,elements:r,finisher(e){window.customElements.define(t,e)}}})(t,e)},function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var r=i(8);
|
104
|
+
/**
|
105
|
+
* @license
|
106
|
+
* Copyright 2017 Google LLC
|
107
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
108
|
+
*/function n(t){return Object(r.a)({...t,state:!0})}},function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var r=i(4);
|
109
|
+
/**
|
110
|
+
* @license
|
111
|
+
* Copyright 2017 Google LLC
|
112
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
113
|
+
*/function n(t){return Object(r.a)({finisher:(e,i)=>{Object.assign(e.prototype[i],t)}})}},function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var r=i(4);
|
114
|
+
/**
|
115
|
+
* @license
|
116
|
+
* Copyright 2017 Google LLC
|
117
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
118
|
+
*/function n(t,e){return Object(r.a)({descriptor:i=>{const r={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;r.get=function(){var i,r;return void 0===this[e]&&(this[e]=null!==(r=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==r?r:null),this[e]}}return r}})}},function(t,e,i){"use strict";i(4);
|
119
|
+
/**
|
120
|
+
* @license
|
121
|
+
* Copyright 2017 Google LLC
|
122
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
123
|
+
*/},function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var r=i(4);
|
124
|
+
/**
|
125
|
+
* @license
|
126
|
+
* Copyright 2017 Google LLC
|
127
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
128
|
+
*/function n(t){return Object(r.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,i){"use strict";i.d(e,"a",(function(){return n}));var r=i(4);
|
129
|
+
/**
|
130
|
+
* @license
|
131
|
+
* Copyright 2017 Google LLC
|
132
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
133
|
+
*/function n(t="",e=!1,i=""){return Object(r.a)({descriptor:r=>({get(){var r,n,o;const a="slot"+(t?`[name=${t}]`:":not([name])");let s=null!==(o=null===(n=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(a))||void 0===n?void 0:n.assignedNodes({flatten:e}))&&void 0!==o?o:[];return i&&(s=s.filter(t=>t.nodeType===Node.ELEMENT_NODE&&t.matches(i))),s},enumerable:!0,configurable:!0})})}},,function(t,e,i){"use strict";i.d(e,"d",(function(){return r})),i.d(e,"a",(function(){return n})),i.d(e,"e",(function(){return c})),i.d(e,"b",(function(){return d})),i.d(e,"c",(function(){return p}));
|
134
|
+
/**
|
135
|
+
* @license
|
136
|
+
* Copyright 2018 Google LLC
|
137
|
+
* SPDX-License-Identifier: Apache-2.0
|
138
|
+
*/
|
139
|
+
const r=t=>t.nodeType===Node.ELEMENT_NODE;function n(t){return{addClass:e=>{t.classList.add(e)},removeClass:e=>{t.classList.remove(e)},hasClass:e=>t.classList.contains(e)}}let o=!1;const a=()=>{},s={get passive(){return o=!0,!1}};document.addEventListener("x",a,s),document.removeEventListener("x",a);const c=o,d=(t=window.document)=>{let e=t.activeElement;const i=[];if(!e)return i;for(;e&&(i.push(e),e.shadowRoot);)e=e.shadowRoot.activeElement;return i},p=t=>{const e=d();if(!e.length)return!1;const i=e[e.length-1],r=new Event("check-if-focused",{bubbles:!0,composed:!0});let n=[];const o=t=>{n=t.composedPath()};return document.body.addEventListener("check-if-focused",o),i.dispatchEvent(r),document.body.removeEventListener("check-if-focused",o),-1!==n.indexOf(t)}},,,function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var r=i(2),n=i(5);
|
140
|
+
/**
|
141
|
+
* @license
|
142
|
+
* Copyright 2018 Google LLC
|
143
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
144
|
+
*/
|
145
|
+
const o=Object(n.c)(class extends n.a{constructor(t){var e;if(super(t),t.type!==n.b.ATTRIBUTE||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,i)=>{const r=t[i];return null==r?e:e+`${i=i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`},"")}update(t,[e]){const{style:i}=t.element;if(void 0===this.ut){this.ut=new Set;for(const t in e)this.ut.add(t);return this.render(e)}this.ut.forEach(t=>{null==e[t]&&(this.ut.delete(t),t.includes("-")?i.removeProperty(t):i[t]="")});for(const t in e){const r=e[t];null!=r&&(this.ut.add(t),t.includes("-")?i.setProperty(t,r):i[t]=r)}return r.c}})},,,function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));
|
146
|
+
/**
|
147
|
+
* @license
|
148
|
+
* Copyright 2020 Google LLC
|
149
|
+
* SPDX-License-Identifier: Apache-2.0
|
150
|
+
*/
|
151
|
+
class r{constructor(t){this.startPress=e=>{t().then(t=>{t&&t.startPress(e)})},this.endPress=()=>{t().then(t=>{t&&t.endPress()})},this.startFocus=()=>{t().then(t=>{t&&t.startFocus()})},this.endFocus=()=>{t().then(t=>{t&&t.endFocus()})},this.startHover=()=>{t().then(t=>{t&&t.startHover()})},this.endHover=()=>{t().then(t=>{t&&t.endHover()})}}}},function(t,e,i){"use strict";function r(t,e,i){if(void 0!==e)
|
152
|
+
/**
|
153
|
+
* @license
|
154
|
+
* Copyright 2021 Google LLC
|
155
|
+
* SPDX-License-Identifier: Apache-2.0
|
156
|
+
*/
|
157
|
+
return function(t,e,i){const r=t.constructor;if(!i){const t="__"+e;if(!(i=r.getPropertyDescriptor(e,t)))throw new Error("@ariaProperty must be used after a @property decorator")}const n=i;let o="";if(!n.set)throw new Error("@ariaProperty requires a setter for "+e);const a={configurable:!0,enumerable:!0,set(t){if(""===o){const t=r.getPropertyOptions(e);o=t.attribute}this.hasAttribute(o)&&this.removeAttribute(o),n.set.call(this,t)}};return n.get&&(a.get=function(){return n.get.call(this)}),a}(t,e,i);throw new Error("@ariaProperty only supports TypeScript Decorators")}i.d(e,"a",(function(){return r}))},function(t,e,i){"use strict";
|
158
|
+
/**
|
159
|
+
* @license
|
160
|
+
* Copyright 2018 Google Inc.
|
161
|
+
*
|
162
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
163
|
+
* of this software and associated documentation files (the "Software"), to deal
|
164
|
+
* in the Software without restriction, including without limitation the rights
|
165
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
166
|
+
* copies of the Software, and to permit persons to whom the Software is
|
167
|
+
* furnished to do so, subject to the following conditions:
|
168
|
+
*
|
169
|
+
* The above copyright notice and this permission notice shall be included in
|
170
|
+
* all copies or substantial portions of the Software.
|
171
|
+
*
|
172
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
173
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
174
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
175
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
176
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
177
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
178
|
+
* THE SOFTWARE.
|
179
|
+
*/
|
180
|
+
function r(t,e){if(t.closest)return t.closest(e);for(var i=t;i;){if(n(i,e))return i;i=i.parentElement}return null}function n(t,e){return(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e)}i.d(e,"a",(function(){return r})),i.d(e,"b",(function(){return n}))},,,,function(t,e,i){"use strict";var r=i(1),n=i(0),o=i(31),a=i(9),s=i(13),c={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},d={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},p={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};
|
181
|
+
/**
|
182
|
+
* @license
|
183
|
+
* Copyright 2016 Google Inc.
|
184
|
+
*
|
185
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
186
|
+
* of this software and associated documentation files (the "Software"), to deal
|
187
|
+
* in the Software without restriction, including without limitation the rights
|
188
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
189
|
+
* copies of the Software, and to permit persons to whom the Software is
|
190
|
+
* furnished to do so, subject to the following conditions:
|
191
|
+
*
|
192
|
+
* The above copyright notice and this permission notice shall be included in
|
193
|
+
* all copies or substantial portions of the Software.
|
194
|
+
*
|
195
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
196
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
197
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
198
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
199
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
200
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
201
|
+
* THE SOFTWARE.
|
202
|
+
*/
|
203
|
+
var l=["touchstart","pointerdown","mousedown","keydown"],u=["touchend","pointerup","mouseup","contextmenu"],h=[],f=function(t){function e(i){var n=t.call(this,Object(r.a)(Object(r.a)({},e.defaultAdapter),i))||this;return n.activationAnimationHasEnded=!1,n.activationTimer=0,n.fgDeactivationRemovalTimer=0,n.fgScale="0",n.frame={width:0,height:0},n.initialSize=0,n.layoutFrame=0,n.maxRadius=0,n.unboundedCoords={left:0,top:0},n.activationState=n.defaultActivationState(),n.activationTimerCallback=function(){n.activationAnimationHasEnded=!0,n.runDeactivationUXLogicIfReady()},n.activateHandler=function(t){n.activateImpl(t)},n.deactivateHandler=function(){n.deactivateImpl()},n.focusHandler=function(){n.handleFocus()},n.blurHandler=function(){n.handleBlur()},n.resizeHandler=function(){n.layout()},n}return Object(r.c)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return c},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return d},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return p},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t=this,i=this.supportsPressRipple();if(this.registerRootHandlers(i),i){var r=e.cssClasses,n=r.ROOT,o=r.UNBOUNDED;requestAnimationFrame((function(){t.adapter.addClass(n),t.adapter.isUnbounded()&&(t.adapter.addClass(o),t.layoutInternal())}))}},e.prototype.destroy=function(){var t=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(e.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(e.cssClasses.FG_DEACTIVATION));var i=e.cssClasses,r=i.ROOT,n=i.UNBOUNDED;requestAnimationFrame((function(){t.adapter.removeClass(r),t.adapter.removeClass(n),t.removeCssVars()}))}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},e.prototype.activate=function(t){this.activateImpl(t)},e.prototype.deactivate=function(){this.deactivateImpl()},e.prototype.layout=function(){var t=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame((function(){t.layoutInternal(),t.layoutFrame=0}))},e.prototype.setUnbounded=function(t){var i=e.cssClasses.UNBOUNDED;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.handleFocus=function(){var t=this;requestAnimationFrame((function(){return t.adapter.addClass(e.cssClasses.BG_FOCUSED)}))},e.prototype.handleBlur=function(){var t=this;requestAnimationFrame((function(){return t.adapter.removeClass(e.cssClasses.BG_FOCUSED)}))},e.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},e.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},e.prototype.registerRootHandlers=function(t){var e,i;if(t){try{for(var n=Object(r.f)(l),o=n.next();!o.done;o=n.next()){var a=o.value;this.adapter.registerInteractionHandler(a,this.activateHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(e)throw e.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},e.prototype.registerDeactivationHandlers=function(t){var e,i;if("keydown"===t.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var n=Object(r.f)(u),o=n.next();!o.done;o=n.next()){var a=o.value;this.adapter.registerDocumentInteractionHandler(a,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(e)throw e.error}}},e.prototype.deregisterRootHandlers=function(){var t,e;try{for(var i=Object(r.f)(l),n=i.next();!n.done;n=i.next()){var o=n.value;this.adapter.deregisterInteractionHandler(o,this.activateHandler)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},e.prototype.deregisterDeactivationHandlers=function(){var t,e;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var i=Object(r.f)(u),n=i.next();!n.done;n=i.next()){var o=n.value;this.adapter.deregisterDocumentInteractionHandler(o,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}},e.prototype.removeCssVars=function(){var t=this,i=e.strings;Object.keys(i).forEach((function(e){0===e.indexOf("VAR_")&&t.adapter.updateCssVariable(i[e],null)}))},e.prototype.activateImpl=function(t){var e=this;if(!this.adapter.isSurfaceDisabled()){var i=this.activationState;if(!i.isActivated){var r=this.previousActivationEvent;if(!(r&&void 0!==t&&r.type!==t.type))i.isActivated=!0,i.isProgrammatic=void 0===t,i.activationEvent=t,i.wasActivatedByPointer=!i.isProgrammatic&&(void 0!==t&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type)),void 0!==t&&h.length>0&&h.some((function(t){return e.adapter.containsEventTarget(t)}))?this.resetActivationState():(void 0!==t&&(h.push(t.target),this.registerDeactivationHandlers(t)),i.wasElementMadeActive=this.checkElementMadeActive(t),i.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){h=[],i.wasElementMadeActive||void 0===t||" "!==t.key&&32!==t.keyCode||(i.wasElementMadeActive=e.checkElementMadeActive(t),i.wasElementMadeActive&&e.animateActivation()),i.wasElementMadeActive||(e.activationState=e.defaultActivationState())})))}}},e.prototype.checkElementMadeActive=function(t){return void 0===t||"keydown"!==t.type||this.adapter.isSurfaceActive()},e.prototype.animateActivation=function(){var t=this,i=e.strings,r=i.VAR_FG_TRANSLATE_START,n=i.VAR_FG_TRANSLATE_END,o=e.cssClasses,a=o.FG_DEACTIVATION,s=o.FG_ACTIVATION,c=e.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var d="",p="";if(!this.adapter.isUnbounded()){var l=this.getFgTranslationCoordinates(),u=l.startPoint,h=l.endPoint;d=u.x+"px, "+u.y+"px",p=h.x+"px, "+h.y+"px"}this.adapter.updateCssVariable(r,d),this.adapter.updateCssVariable(n,p),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(a),this.adapter.computeBoundingRect(),this.adapter.addClass(s),this.activationTimer=setTimeout((function(){t.activationTimerCallback()}),c)},e.prototype.getFgTranslationCoordinates=function(){var t,e=this.activationState,i=e.activationEvent;return{startPoint:t={x:(t=e.wasActivatedByPointer?function(t,e,i){if(!t)return{x:0,y:0};var r,n,o=e.x,a=e.y,s=o+i.left,c=a+i.top;if("touchstart"===t.type){var d=t;r=d.changedTouches[0].pageX-s,n=d.changedTouches[0].pageY-c}else{var p=t;r=p.pageX-s,n=p.pageY-c}return{x:r,y:n}}(i,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2}).x-this.initialSize/2,y:t.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},e.prototype.runDeactivationUXLogicIfReady=function(){var t=this,i=e.cssClasses.FG_DEACTIVATION,r=this.activationState,n=r.hasDeactivationUXRun,o=r.isActivated;(n||!o)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(i),this.fgDeactivationRemovalTimer=setTimeout((function(){t.adapter.removeClass(i)}),p.FG_DEACTIVATION_MS))},e.prototype.rmBoundedActivationClasses=function(){var t=e.cssClasses.FG_ACTIVATION;this.adapter.removeClass(t),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},e.prototype.resetActivationState=function(){var t=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout((function(){return t.previousActivationEvent=void 0}),e.numbers.TAP_DELAY_MS)},e.prototype.deactivateImpl=function(){var t=this,e=this.activationState;if(e.isActivated){var i=Object(r.a)({},e);e.isProgrammatic?(requestAnimationFrame((function(){t.animateDeactivation(i)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){t.activationState.hasDeactivationUXRun=!0,t.animateDeactivation(i),t.resetActivationState()})))}},e.prototype.animateDeactivation=function(t){var e=t.wasActivatedByPointer,i=t.wasElementMadeActive;(e||i)&&this.runDeactivationUXLogicIfReady()},e.prototype.layoutInternal=function(){var t=this;this.frame=this.adapter.computeBoundingRect();var i=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?i:Math.sqrt(Math.pow(t.frame.width,2)+Math.pow(t.frame.height,2))+e.numbers.PADDING;var r=Math.floor(i*e.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&r%2!=0?this.initialSize=r-1:this.initialSize=r,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},e.prototype.updateLayoutCssVars=function(){var t=e.strings,i=t.VAR_FG_SIZE,r=t.VAR_LEFT,n=t.VAR_TOP,o=t.VAR_FG_SCALE;this.adapter.updateCssVariable(i,this.initialSize+"px"),this.adapter.updateCssVariable(o,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(r,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(n,this.unboundedCoords.top+"px"))},e}(s.a),m=i(7),v=i(26);
|
204
|
+
/**
|
205
|
+
* @license
|
206
|
+
* Copyright 2018 Google LLC
|
207
|
+
* SPDX-License-Identifier: Apache-2.0
|
208
|
+
*/
|
209
|
+
class b extends a.a{constructor(){super(...arguments),this.primary=!1,this.accent=!1,this.unbounded=!1,this.disabled=!1,this.activated=!1,this.selected=!1,this.internalUseStateLayerCustomProperties=!1,this.hovering=!1,this.bgFocused=!1,this.fgActivation=!1,this.fgDeactivation=!1,this.fgScale="",this.fgSize="",this.translateStart="",this.translateEnd="",this.leftPos="",this.topPos="",this.mdcFoundationClass=f}get isActive(){return Object(o.b)(this.parentElement||this,":active")}createAdapter(){return{browserSupportsCssVars:()=>!0,isUnbounded:()=>this.unbounded,isSurfaceActive:()=>this.isActive,isSurfaceDisabled:()=>this.disabled,addClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!0;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!0;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!0}},removeClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!1;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!1;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!1}},containsEventTarget:()=>!0,registerInteractionHandler:()=>{},deregisterInteractionHandler:()=>{},registerDocumentInteractionHandler:()=>{},deregisterDocumentInteractionHandler:()=>{},registerResizeHandler:()=>{},deregisterResizeHandler:()=>{},updateCssVariable:(t,e)=>{switch(t){case"--mdc-ripple-fg-scale":this.fgScale=e;break;case"--mdc-ripple-fg-size":this.fgSize=e;break;case"--mdc-ripple-fg-translate-end":this.translateEnd=e;break;case"--mdc-ripple-fg-translate-start":this.translateStart=e;break;case"--mdc-ripple-left":this.leftPos=e;break;case"--mdc-ripple-top":this.topPos=e}},computeBoundingRect:()=>(this.parentElement||this).getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})}}startPress(t){this.waitForFoundation(()=>{this.mdcFoundation.activate(t)})}endPress(){this.waitForFoundation(()=>{this.mdcFoundation.deactivate()})}startFocus(){this.waitForFoundation(()=>{this.mdcFoundation.handleFocus()})}endFocus(){this.waitForFoundation(()=>{this.mdcFoundation.handleBlur()})}startHover(){this.hovering=!0}endHover(){this.hovering=!1}waitForFoundation(t){this.mdcFoundation?t():this.updateComplete.then(t)}update(t){t.has("disabled")&&this.disabled&&this.endHover(),super.update(t)}render(){const t=this.activated&&(this.primary||!this.accent),e=this.selected&&(this.primary||!this.accent),i={"mdc-ripple-surface--accent":this.accent,"mdc-ripple-surface--primary--activated":t,"mdc-ripple-surface--accent--activated":this.accent&&this.activated,"mdc-ripple-surface--primary--selected":e,"mdc-ripple-surface--accent--selected":this.accent&&this.selected,"mdc-ripple-surface--disabled":this.disabled,"mdc-ripple-surface--hover":this.hovering,"mdc-ripple-surface--primary":this.primary,"mdc-ripple-surface--selected":this.selected,"mdc-ripple-upgraded--background-focused":this.bgFocused,"mdc-ripple-upgraded--foreground-activation":this.fgActivation,"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation,"mdc-ripple-upgraded--unbounded":this.unbounded,"mdc-ripple-surface--internal-use-state-layer-custom-properties":this.internalUseStateLayerCustomProperties};return n.e`
|
210
|
+
<div class="mdc-ripple-surface mdc-ripple-upgraded ${Object(m.a)(i)}"
|
211
|
+
style="${Object(v.a)({"--mdc-ripple-fg-scale":this.fgScale,"--mdc-ripple-fg-size":this.fgSize,"--mdc-ripple-fg-translate-end":this.translateEnd,"--mdc-ripple-fg-translate-start":this.translateStart,"--mdc-ripple-left":this.leftPos,"--mdc-ripple-top":this.topPos})}"></div>`}}Object(r.b)([Object(n.g)(".mdc-ripple-surface")],b.prototype,"mdcRoot",void 0),Object(r.b)([Object(n.f)({type:Boolean})],b.prototype,"primary",void 0),Object(r.b)([Object(n.f)({type:Boolean})],b.prototype,"accent",void 0),Object(r.b)([Object(n.f)({type:Boolean})],b.prototype,"unbounded",void 0),Object(r.b)([Object(n.f)({type:Boolean})],b.prototype,"disabled",void 0),Object(r.b)([Object(n.f)({type:Boolean})],b.prototype,"activated",void 0),Object(r.b)([Object(n.f)({type:Boolean})],b.prototype,"selected",void 0),Object(r.b)([Object(n.f)({type:Boolean})],b.prototype,"internalUseStateLayerCustomProperties",void 0),Object(r.b)([Object(n.j)()],b.prototype,"hovering",void 0),Object(r.b)([Object(n.j)()],b.prototype,"bgFocused",void 0),Object(r.b)([Object(n.j)()],b.prototype,"fgActivation",void 0),Object(r.b)([Object(n.j)()],b.prototype,"fgDeactivation",void 0),Object(r.b)([Object(n.j)()],b.prototype,"fgScale",void 0),Object(r.b)([Object(n.j)()],b.prototype,"fgSize",void 0),Object(r.b)([Object(n.j)()],b.prototype,"translateStart",void 0),Object(r.b)([Object(n.j)()],b.prototype,"translateEnd",void 0),Object(r.b)([Object(n.j)()],b.prototype,"leftPos",void 0),Object(r.b)([Object(n.j)()],b.prototype,"topPos",void 0);
|
212
|
+
/**
|
213
|
+
* @license
|
214
|
+
* Copyright 2021 Google LLC
|
215
|
+
* SPDX-LIcense-Identifier: Apache-2.0
|
216
|
+
*/
|
217
|
+
const y=n.b`.mdc-ripple-surface{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity;position:relative;outline:none;overflow:hidden}.mdc-ripple-surface::before,.mdc-ripple-surface::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface::before,.mdc-ripple-surface::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-upgraded--unbounded::before,.mdc-ripple-upgraded--unbounded::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface::before,.mdc-ripple-surface::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-ripple-surface:hover::before,.mdc-ripple-surface.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;display:block}:host .mdc-ripple-surface{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;will-change:unset}.mdc-ripple-surface--primary::before,.mdc-ripple-surface--primary::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary:hover::before,.mdc-ripple-surface--primary.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--primary.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before,.mdc-ripple-surface--primary--activated::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--activated:hover::before,.mdc-ripple-surface--primary--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--primary--selected::before,.mdc-ripple-surface--primary--selected::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--selected:hover::before,.mdc-ripple-surface--primary--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent::before,.mdc-ripple-surface--accent::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent:hover::before,.mdc-ripple-surface--accent.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--accent.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before,.mdc-ripple-surface--accent--activated::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--activated:hover::before,.mdc-ripple-surface--accent--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--accent--selected::before,.mdc-ripple-surface--accent--selected::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--selected:hover::before,.mdc-ripple-surface--accent--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--disabled{opacity:0}.mdc-ripple-surface--internal-use-state-layer-custom-properties::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties::after{background-color:#000;background-color:var(--mdc-ripple-hover-state-layer-color, #000)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:hover::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-state-layer-opacity, 0.04)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}`;
|
218
|
+
/**
|
219
|
+
* @license
|
220
|
+
* Copyright 2018 Google LLC
|
221
|
+
* SPDX-License-Identifier: Apache-2.0
|
222
|
+
*/let g=class extends b{};g.styles=[y],g=Object(r.b)([Object(n.c)("mwc-ripple")],g)},,,,,,,,,,,,,,,,,,,,function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var r=i(1),n=(i(35),i(30)),o=i(29),a=i(0),s=i(12);
|
223
|
+
/**
|
224
|
+
* @license
|
225
|
+
* Copyright 2018 Google LLC
|
226
|
+
* SPDX-License-Identifier: Apache-2.0
|
227
|
+
*/
|
228
|
+
class c extends a.a{constructor(){super(...arguments),this.disabled=!1,this.icon="",this.shouldRenderRipple=!1,this.rippleHandlers=new o.a(()=>(this.shouldRenderRipple=!0,this.ripple))}renderRipple(){return this.shouldRenderRipple?a.e`
|
229
|
+
<mwc-ripple
|
230
|
+
.disabled="${this.disabled}"
|
231
|
+
unbounded>
|
232
|
+
</mwc-ripple>`:""}focus(){const t=this.buttonElement;t&&(this.rippleHandlers.startFocus(),t.focus())}blur(){const t=this.buttonElement;t&&(this.rippleHandlers.endFocus(),t.blur())}render(){return a.e`<button
|
233
|
+
class="mdc-icon-button"
|
234
|
+
aria-label="${this.ariaLabel||this.icon}"
|
235
|
+
aria-haspopup="${Object(s.a)(this.ariaHasPopup)}"
|
236
|
+
?disabled="${this.disabled}"
|
237
|
+
@focus="${this.handleRippleFocus}"
|
238
|
+
@blur="${this.handleRippleBlur}"
|
239
|
+
@mousedown="${this.handleRippleMouseDown}"
|
240
|
+
@mouseenter="${this.handleRippleMouseEnter}"
|
241
|
+
@mouseleave="${this.handleRippleMouseLeave}"
|
242
|
+
@touchstart="${this.handleRippleTouchStart}"
|
243
|
+
@touchend="${this.handleRippleDeactivate}"
|
244
|
+
@touchcancel="${this.handleRippleDeactivate}"
|
245
|
+
>${this.renderRipple()}
|
246
|
+
<i class="material-icons">${this.icon}</i>
|
247
|
+
<span
|
248
|
+
><slot></slot
|
249
|
+
></span>
|
250
|
+
</button>`}handleRippleMouseDown(t){const e=()=>{window.removeEventListener("mouseup",e),this.handleRippleDeactivate()};window.addEventListener("mouseup",e),this.rippleHandlers.startPress(t)}handleRippleTouchStart(t){this.rippleHandlers.startPress(t)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}}Object(r.b)([Object(a.f)({type:Boolean,reflect:!0})],c.prototype,"disabled",void 0),Object(r.b)([Object(a.f)({type:String})],c.prototype,"icon",void 0),Object(r.b)([n.a,Object(a.f)({type:String,attribute:"aria-label"})],c.prototype,"ariaLabel",void 0),Object(r.b)([n.a,Object(a.f)({type:String,attribute:"aria-haspopup"})],c.prototype,"ariaHasPopup",void 0),Object(r.b)([Object(a.g)("button")],c.prototype,"buttonElement",void 0),Object(r.b)([Object(a.i)("mwc-ripple")],c.prototype,"ripple",void 0),Object(r.b)([Object(a.j)()],c.prototype,"shouldRenderRipple",void 0),Object(r.b)([Object(a.d)({passive:!0})],c.prototype,"handleRippleMouseDown",null),Object(r.b)([Object(a.d)({passive:!0})],c.prototype,"handleRippleTouchStart",null)},function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));
|
251
|
+
/**
|
252
|
+
* @license
|
253
|
+
* Copyright 2021 Google LLC
|
254
|
+
* SPDX-LIcense-Identifier: Apache-2.0
|
255
|
+
*/
|
256
|
+
const r=i(0).b`.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button:disabled{color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-disabled-on-light, rgba(0, 0, 0, 0.38))}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:transparent;fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--touch{margin-top:0px;margin-bottom:0px}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:transparent;fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--touch{margin-top:0px;margin-bottom:0px}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}:host{display:inline-block;outline:none}:host([disabled]){pointer-events:none}:host{--mdc-ripple-color: currentcolor;-webkit-tap-highlight-color:transparent}:host,.mdc-icon-button{vertical-align:top}.mdc-icon-button{width:var(--mdc-icon-button-size, 48px);height:var(--mdc-icon-button-size, 48px);padding:calc( (var(--mdc-icon-button-size, 48px) - var(--mdc-icon-size, 24px)) / 2 )}.mdc-icon-button>i{position:absolute;top:0;padding-top:inherit}.mdc-icon-button i,.mdc-icon-button svg,.mdc-icon-button img,.mdc-icon-button ::slotted(*){display:block;width:var(--mdc-icon-size, 24px);height:var(--mdc-icon-size, 24px)}`},,,,,,,,,,,,,,,,,function(t,e,i){"use strict";i.r(e),i.d(e,"CovalentIconButtonBase",(function(){return s}));var r=i(55),n=i(56),o=i(10),a=function(t,e,i,r){var n,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,r);else for(var s=t.length-1;s>=0;s--)(n=t[s])&&(a=(o<3?n(a):o>3?n(e,i,a):n(e,i))||a);return o>3&&a&&Object.defineProperty(e,i,a),a};let s=class extends r.a{};s.styles=[n.a],s=a([Object(o.a)("td-icon-button")],s)}]);
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
Binary file
|