@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/package.json
CHANGED
package/radio.js
ADDED
@@ -0,0 +1,275 @@
|
|
1
|
+
!function(e){var t={};function r(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(i,o,function(t){return e[t]}.bind(null,o));return i},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=76)}([function(e,t,r){"use strict";var i=r(6);r.d(t,"b",(function(){return i.b}));var o=r(2);r.d(t,"e",(function(){return o.b}));var a=r(14);r.d(t,"a",(function(){return a.a}));r(4);var n=r(15);r.d(t,"c",(function(){return n.a}));var c=r(8);r.d(t,"f",(function(){return c.a}));var s=r(16);r.d(t,"j",(function(){return s.a}));var d=r(17);r.d(t,"d",(function(){return d.a}));var l=r(18);r.d(t,"g",(function(){return l.a}));r(19);var p=r(20);r.d(t,"i",(function(){return p.a}));var u=r(21);r.d(t,"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(e,t,r){"use strict";r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return n})),r.d(t,"f",(function(){return c})),r.d(t,"d",(function(){return s})),r.d(t,"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 i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return(a=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function n(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n}Object.create;function c(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,a=r.call(e),n=[];try{for(;(void 0===t||t-- >0)&&!(i=a.next()).done;)n.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return n}function d(e,t,r){if(r||2===arguments.length)for(var i,o=0,a=t.length;o<a;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}Object.create},function(e,t,r){"use strict";
|
23
|
+
/**
|
24
|
+
* @license
|
25
|
+
* Copyright 2017 Google LLC
|
26
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
27
|
+
*/
|
28
|
+
var i;r.d(t,"a",(function(){return U})),r.d(t,"b",(function(){return E})),r.d(t,"c",(function(){return O})),r.d(t,"d",(function(){return $})),r.d(t,"e",(function(){return S}));const o=globalThis.trustedTypes,a=o?o.createPolicy("lit-html",{createHTML:e=>e}):void 0,n=`lit$${(Math.random()+"").slice(9)}$`,c="?"+n,s=`<${c}>`,d=document,l=(e="")=>d.createComment(e),p=e=>null===e||"object"!=typeof e&&"function"!=typeof e,u=Array.isArray,h=e=>{var t;return u(e)||"function"==typeof(null===(t=e)||void 0===t?void 0:t[Symbol.iterator])},m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,f=/-->/g,v=/>/g,b=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,g=/'/g,y=/"/g,_=/^(?:script|style|textarea)$/i,A=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),E=A(1),O=(A(2),Symbol.for("lit-noChange")),$=Symbol.for("lit-nothing"),w=new WeakMap,S=(e,t,r)=>{var i,o;const a=null!==(i=null==r?void 0:r.renderBefore)&&void 0!==i?i:t;let n=a._$litPart$;if(void 0===n){const e=null!==(o=null==r?void 0:r.renderBefore)&&void 0!==o?o:null;a._$litPart$=n=new R(t.insertBefore(l(),e),e,void 0,null!=r?r:{})}return n._$AI(e),n},k=d.createTreeWalker(d,129,null,!1),C=(e,t)=>{const r=e.length-1,i=[];let o,c=2===t?"<svg>":"",d=m;for(let t=0;t<r;t++){const r=e[t];let a,l,p=-1,u=0;for(;u<r.length&&(d.lastIndex=u,l=d.exec(r),null!==l);)u=d.lastIndex,d===m?"!--"===l[1]?d=f:void 0!==l[1]?d=v:void 0!==l[2]?(_.test(l[2])&&(o=RegExp("</"+l[2],"g")),d=b):void 0!==l[3]&&(d=b):d===b?">"===l[0]?(d=null!=o?o:m,p=-1):void 0===l[1]?p=-2:(p=d.lastIndex-l[2].length,a=l[1],d=void 0===l[3]?b:'"'===l[3]?y:g):d===y||d===g?d=b:d===f||d===v?d=m:(d=b,o=void 0);const h=d===b&&e[t+1].startsWith("/>")?" ":"";c+=d===m?r+s:p>=0?(i.push(a),r.slice(0,p)+"$lit$"+r.slice(p)+n+h):r+n+(-2===p?(i.push(void 0),t):h)}const l=c+(e[r]||"<?>")+(2===t?"</svg>":"");return[void 0!==a?a.createHTML(l):l,i]};class j{constructor({strings:e,_$litType$:t},r){let i;this.parts=[];let a=0,s=0;const d=e.length-1,p=this.parts,[u,h]=C(e,t);if(this.el=j.createElement(u,r),k.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(i=k.nextNode())&&p.length<d;){if(1===i.nodeType){if(i.hasAttributes()){const e=[];for(const t of i.getAttributeNames())if(t.endsWith("$lit$")||t.startsWith(n)){const r=h[s++];if(e.push(t),void 0!==r){const e=i.getAttribute(r.toLowerCase()+"$lit$").split(n),t=/([.?@])?(.*)/.exec(r);p.push({type:1,index:a,name:t[2],strings:e,ctor:"."===t[1]?H:"?"===t[1]?D:"@"===t[1]?I:P})}else p.push({type:6,index:a})}for(const t of e)i.removeAttribute(t)}if(_.test(i.tagName)){const e=i.textContent.split(n),t=e.length-1;if(t>0){i.textContent=o?o.emptyScript:"";for(let r=0;r<t;r++)i.append(e[r],l()),k.nextNode(),p.push({type:2,index:++a});i.append(e[t],l())}}}else if(8===i.nodeType)if(i.data===c)p.push({type:2,index:a});else{let e=-1;for(;-1!==(e=i.data.indexOf(n,e+1));)p.push({type:7,index:a}),e+=n.length-1}a++}}static createElement(e,t){const r=d.createElement("template");return r.innerHTML=e,r}}function T(e,t,r=e,i){var o,a,n,c;if(t===O)return t;let s=void 0!==i?null===(o=r._$Cl)||void 0===o?void 0:o[i]:r._$Cu;const d=p(t)?void 0:t._$litDirective$;return(null==s?void 0:s.constructor)!==d&&(null===(a=null==s?void 0:s._$AO)||void 0===a||a.call(s,!1),void 0===d?s=void 0:(s=new d(e),s._$AT(e,r,i)),void 0!==i?(null!==(n=(c=r)._$Cl)&&void 0!==n?n:c._$Cl=[])[i]=s:r._$Cu=s),void 0!==s&&(t=T(e,s._$AS(e,t.values),s,i)),t}class x{constructor(e,t){this.v=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(e){var t;const{el:{content:r},parts:i}=this._$AD,o=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:d).importNode(r,!0);k.currentNode=o;let a=k.nextNode(),n=0,c=0,s=i[0];for(;void 0!==s;){if(n===s.index){let t;2===s.type?t=new R(a,a.nextSibling,this,e):1===s.type?t=new s.ctor(a,s.name,s.strings,this,e):6===s.type&&(t=new F(a,this,e)),this.v.push(t),s=i[++c]}n!==(null==s?void 0:s.index)&&(a=k.nextNode(),n++)}return o}m(e){let t=0;for(const r of this.v)void 0!==r&&(void 0!==r.strings?(r._$AI(e,r,t),t+=r.strings.length-2):r._$AI(e[t])),t++}}class R{constructor(e,t,r,i){var o;this.type=2,this._$AH=$,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=r,this.options=i,this._$Cg=null===(o=null==i?void 0:i.isConnected)||void 0===o||o}get _$AU(){var e,t;return null!==(t=null===(e=this._$AM)||void 0===e?void 0:e._$AU)&&void 0!==t?t:this._$Cg}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===e.nodeType&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=T(this,e,t),p(e)?e===$||null==e||""===e?(this._$AH!==$&&this._$AR(),this._$AH=$):e!==this._$AH&&e!==O&&this.$(e):void 0!==e._$litType$?this.T(e):void 0!==e.nodeType?this.S(e):h(e)?this.M(e):this.$(e)}A(e,t=this._$AB){return this._$AA.parentNode.insertBefore(e,t)}S(e){this._$AH!==e&&(this._$AR(),this._$AH=this.A(e))}$(e){this._$AH!==$&&p(this._$AH)?this._$AA.nextSibling.data=e:this.S(d.createTextNode(e)),this._$AH=e}T(e){var t;const{values:r,_$litType$:i}=e,o="number"==typeof i?this._$AC(e):(void 0===i.el&&(i.el=j.createElement(i.h,this.options)),i);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===o)this._$AH.m(r);else{const e=new x(o,this),t=e.p(this.options);e.m(r),this.S(t),this._$AH=e}}_$AC(e){let t=w.get(e.strings);return void 0===t&&w.set(e.strings,t=new j(e)),t}M(e){u(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let r,i=0;for(const o of e)i===t.length?t.push(r=new R(this.A(l()),this.A(l()),this,this.options)):r=t[i],r._$AI(o),i++;i<t.length&&(this._$AR(r&&r._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){var r;for(null===(r=this._$AP)||void 0===r||r.call(this,!1,!0,t);e&&e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){var t;void 0===this._$AM&&(this._$Cg=e,null===(t=this._$AP)||void 0===t||t.call(this,e))}}class P{constructor(e,t,r,i,o){this.type=1,this._$AH=$,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=o,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=$}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,r,i){const o=this.strings;let a=!1;if(void 0===o)e=T(this,e,t,0),a=!p(e)||e!==this._$AH&&e!==O,a&&(this._$AH=e);else{const i=e;let n,c;for(e=o[0],n=0;n<o.length-1;n++)c=T(this,i[r+n],t,n),c===O&&(c=this._$AH[n]),a||(a=!p(c)||c!==this._$AH[n]),c===$?e=$:e!==$&&(e+=(null!=c?c:"")+o[n+1]),this._$AH[n]=c}a&&!i&&this.k(e)}k(e){e===$?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}class H extends P{constructor(){super(...arguments),this.type=3}k(e){this.element[this.name]=e===$?void 0:e}}class D extends P{constructor(){super(...arguments),this.type=4}k(e){e&&e!==$?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)}}class I extends P{constructor(e,t,r,i,o){super(e,t,r,i,o),this.type=5}_$AI(e,t=this){var r;if((e=null!==(r=T(this,e,t,0))&&void 0!==r?r:$)===O)return;const i=this._$AH,o=e===$&&i!==$||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==$&&(i===$||o);o&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,r;"function"==typeof this._$AH?this._$AH.call(null!==(r=null===(t=this.options)||void 0===t?void 0:t.host)&&void 0!==r?r:this.element,e):this._$AH.handleEvent(e)}}class F{constructor(e,t,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){T(this,e)}}const U={P:"$lit$",V:n,L:c,I:1,N:C,R:x,D:h,j:T,H:R,O:P,F:D,B:I,W:H,Z:F},N=window.litHtmlPolyfillSupport;null==N||N(j,R),(null!==(i=globalThis.litHtmlVersions)&&void 0!==i?i:globalThis.litHtmlVersions=[]).push("2.0.1")},,function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));
|
29
|
+
/**
|
30
|
+
* @license
|
31
|
+
* Copyright 2017 Google LLC
|
32
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
33
|
+
*/
|
34
|
+
const i=({finisher:e,descriptor:t})=>(r,i)=>{var o;if(void 0===i){const i=null!==(o=r.originalKey)&&void 0!==o?o:r.key,a=null!=t?{kind:"method",placement:"prototype",key:i,descriptor:t(r.key)}:{...r,key:i};return null!=e&&(a.finisher=function(t){e(t,i)}),a}{const o=r.constructor;void 0!==t&&Object.defineProperty(r,i,t(i)),null==e||e(o,i)}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return o}));
|
35
|
+
/**
|
36
|
+
* @license
|
37
|
+
* Copyright 2017 Google LLC
|
38
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
39
|
+
*/
|
40
|
+
const i={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},o=e=>(...t)=>({_$litDirective$:e,values:t});class a{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,r){this._$Ct=e,this._$AM=t,this._$Ci=r}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}},function(e,t,r){"use strict";r.d(t,"b",(function(){return c})),r.d(t,"a",(function(){return m}));
|
41
|
+
/**
|
42
|
+
* @license
|
43
|
+
* Copyright 2019 Google LLC
|
44
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
45
|
+
*/
|
46
|
+
const i=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol(),a=new Map;class n{constructor(e,t){if(this._$cssResult$=!0,t!==o)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){let e=a.get(this.cssText);return i&&void 0===e&&(a.set(this.cssText,e=new CSSStyleSheet),e.replaceSync(this.cssText)),e}toString(){return this.cssText}}const c=(e,...t)=>{const r=1===e.length?e[0]:t.reduce((t,r,i)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+e[i+1],e[0]);return new n(r,o)},s=i?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const r of e.cssRules)t+=r.cssText;return(e=>new n("string"==typeof e?e:e+"",o))(t)})(e):e
|
47
|
+
/**
|
48
|
+
* @license
|
49
|
+
* Copyright 2017 Google LLC
|
50
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
51
|
+
*/;var d;const l=window.reactiveElementPolyfillSupport,p={toAttribute(e,t){switch(t){case Boolean:e=e?"":null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=null!==e;break;case Number:r=null===e?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch(e){r=null}}return r}},u=(e,t)=>t!==e&&(t==t||e==e),h={attribute:!0,type:String,converter:p,reflect:!1,hasChanged:u};class m extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(e){var t;null!==(t=this.l)&&void 0!==t||(this.l=[]),this.l.push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach((t,r)=>{const i=this._$Eh(r,t);void 0!==i&&(this._$Eu.set(i,r),e.push(i))}),e}static createProperty(e,t=h){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const r="symbol"==typeof e?Symbol():"__"+e,i=this.getPropertyDescriptor(e,r,t);void 0!==i&&Object.defineProperty(this.prototype,e,i)}}static getPropertyDescriptor(e,t,r){return{get(){return this[t]},set(i){const o=this[e];this[t]=i,this.requestUpdate(e,o,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||h}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),this.elementProperties=new Map(e.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const e=this.properties,t=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const r of t)this.createProperty(r,e[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const r=new Set(e.flat(1/0).reverse());for(const e of r)t.unshift(s(e))}else void 0!==e&&t.push(s(e));return t}static _$Eh(e,t){const r=t.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof e?e.toLowerCase():void 0}o(){var e;this._$Ev=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Ep(),this.requestUpdate(),null===(e=this.constructor.l)||void 0===e||e.forEach(e=>e(this))}addController(e){var t,r;(null!==(t=this._$Em)&&void 0!==t?t:this._$Em=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(r=e.hostConnected)||void 0===r||r.call(e))}removeController(e){var t;null===(t=this._$Em)||void 0===t||t.splice(this._$Em.indexOf(e)>>>0,1)}_$Ep(){this.constructor.elementProperties.forEach((e,t)=>{this.hasOwnProperty(t)&&(this._$Et.set(t,this[t]),delete this[t])})}createRenderRoot(){var e;const t=null!==(e=this.shadowRoot)&&void 0!==e?e:this.attachShadow(this.constructor.shadowRootOptions);return r=t,o=this.constructor.elementStyles,i?r.adoptedStyleSheets=o.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):o.forEach(e=>{const t=document.createElement("style"),i=window.litNonce;void 0!==i&&t.setAttribute("nonce",i),t.textContent=e.cssText,r.appendChild(t)}),t;var r,o}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$Em)||void 0===e||e.forEach(e=>{var t;return null===(t=e.hostConnected)||void 0===t?void 0:t.call(e)})}enableUpdating(e){}disconnectedCallback(){var e;null===(e=this._$Em)||void 0===e||e.forEach(e=>{var t;return null===(t=e.hostDisconnected)||void 0===t?void 0:t.call(e)})}attributeChangedCallback(e,t,r){this._$AK(e,r)}_$Eg(e,t,r=h){var i,o;const a=this.constructor._$Eh(e,r);if(void 0!==a&&!0===r.reflect){const n=(null!==(o=null===(i=r.converter)||void 0===i?void 0:i.toAttribute)&&void 0!==o?o:p.toAttribute)(t,r.type);this._$Ei=e,null==n?this.removeAttribute(a):this.setAttribute(a,n),this._$Ei=null}}_$AK(e,t){var r,i,o;const a=this.constructor,n=a._$Eu.get(e);if(void 0!==n&&this._$Ei!==n){const e=a.getPropertyOptions(n),c=e.converter,s=null!==(o=null!==(i=null===(r=c)||void 0===r?void 0:r.fromAttribute)&&void 0!==i?i:"function"==typeof c?c:null)&&void 0!==o?o:p.fromAttribute;this._$Ei=n,this[n]=s(t,e.type),this._$Ei=null}}requestUpdate(e,t,r){let i=!0;void 0!==e&&(((r=r||this.constructor.getPropertyOptions(e)).hasChanged||u)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===r.reflect&&this._$Ei!==e&&(void 0===this._$ES&&(this._$ES=new Map),this._$ES.set(e,r))):i=!1),!this.isUpdatePending&&i&&(this._$Ev=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ev}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach((e,t)=>this[t]=e),this._$Et=void 0);let t=!1;const r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),null===(e=this._$Em)||void 0===e||e.forEach(e=>{var t;return null===(t=e.hostUpdate)||void 0===t?void 0:t.call(e)}),this.update(r)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(r)}willUpdate(e){}_$AE(e){var t;null===(t=this._$Em)||void 0===t||t.forEach(e=>{var t;return null===(t=e.hostUpdated)||void 0===t?void 0:t.call(e)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ev}shouldUpdate(e){return!0}update(e){void 0!==this._$ES&&(this._$ES.forEach((e,t)=>this._$Eg(t,this[t],e)),this._$ES=void 0),this._$EU()}updated(e){}firstUpdated(e){}}m.finalized=!0,m.elementProperties=new Map,m.elementStyles=[],m.shadowRootOptions={mode:"open"},null==l||l({ReactiveElement:m}),(null!==(d=globalThis.reactiveElementVersions)&&void 0!==d?d:globalThis.reactiveElementVersions=[]).push("1.0.1")},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var i=r(2),o=r(5);
|
52
|
+
/**
|
53
|
+
* @license
|
54
|
+
* Copyright 2018 Google LLC
|
55
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
56
|
+
*/
|
57
|
+
const a=Object(o.c)(class extends o.a{constructor(e){var t;if(super(e),e.type!==o.b.ATTRIBUTE||"class"!==e.name||(null===(t=e.strings)||void 0===t?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){var r,o;if(void 0===this.st){this.st=new Set,void 0!==e.strings&&(this.et=new Set(e.strings.join(" ").split(/\s/).filter(e=>""!==e)));for(const e in t)t[e]&&!(null===(r=this.et)||void 0===r?void 0:r.has(e))&&this.st.add(e);return this.render(t)}const a=e.element.classList;this.st.forEach(e=>{e in t||(a.remove(e),this.st.delete(e))});for(const e in t){const r=!!t[e];r===this.st.has(e)||(null===(o=this.et)||void 0===o?void 0:o.has(e))||(r?(a.add(e),this.st.add(e)):(a.remove(e),this.st.delete(e)))}return i.c}})},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));
|
58
|
+
/**
|
59
|
+
* @license
|
60
|
+
* Copyright 2017 Google LLC
|
61
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
62
|
+
*/
|
63
|
+
const i=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(r){r.createProperty(t.key,e)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(r){r.createProperty(t.key,e)}};function o(e){return(t,r)=>void 0!==r?((e,t,r)=>{t.constructor.createProperty(r,e)})(e,t,r):i(e,t)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var i=r(0),o=r(23);r.d(t,"b",(function(){return o.a}));
|
64
|
+
/**
|
65
|
+
* @license
|
66
|
+
* Copyright 2018 Google LLC
|
67
|
+
* SPDX-License-Identifier: Apache-2.0
|
68
|
+
*/
|
69
|
+
class a extends i.a{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}},function(e,t,r){"use strict";var i=r(15);r.d(t,"a",(function(){return i.a}));var o=r(8);r.d(t,"b",(function(){return o.a}));r(16),r(17);var a=r(18);r.d(t,"c",(function(){return a.a}));r(19),r(20),r(21)},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));
|
70
|
+
/**
|
71
|
+
* @license
|
72
|
+
* Copyright 2018 Google LLC
|
73
|
+
* SPDX-License-Identifier: Apache-2.0
|
74
|
+
*/
|
75
|
+
const i=e=>(t,r)=>{if(t.constructor._observers){if(!t.constructor.hasOwnProperty("_observers")){const e=t.constructor._observers;t.constructor._observers=new Map,e.forEach((e,r)=>t.constructor._observers.set(r,e))}}else{t.constructor._observers=new Map;const e=t.updated;t.updated=function(t){e.call(this,t),t.forEach((e,t)=>{const r=this.constructor._observers.get(t);void 0!==r&&r.call(this,this[t],e)})}}t.constructor._observers.set(r,e)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var i=r(2);
|
76
|
+
/**
|
77
|
+
* @license
|
78
|
+
* Copyright 2018 Google LLC
|
79
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
80
|
+
*/const o=e=>null!=e?e:i.d},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));
|
81
|
+
/**
|
82
|
+
* @license
|
83
|
+
* Copyright 2016 Google Inc.
|
84
|
+
*
|
85
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
86
|
+
* of this software and associated documentation files (the "Software"), to deal
|
87
|
+
* in the Software without restriction, including without limitation the rights
|
88
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
89
|
+
* copies of the Software, and to permit persons to whom the Software is
|
90
|
+
* furnished to do so, subject to the following conditions:
|
91
|
+
*
|
92
|
+
* The above copyright notice and this permission notice shall be included in
|
93
|
+
* all copies or substantial portions of the Software.
|
94
|
+
*
|
95
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
96
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
97
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
98
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
99
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
100
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
101
|
+
* THE SOFTWARE.
|
102
|
+
*/
|
103
|
+
var i=function(){function e(e){void 0===e&&(e={}),this.adapter=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var i=r(6);r.d(t,"b",(function(){return i.b}));var o,a,n=r(2);r.d(t,"c",(function(){return n.b}));i.a;class c extends i.a{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var e,t;const r=super.createRenderRoot();return null!==(e=(t=this.renderOptions).renderBefore)&&void 0!==e||(t.renderBefore=r.firstChild),r}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Dt=Object(n.e)(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),null===(e=this._$Dt)||void 0===e||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),null===(e=this._$Dt)||void 0===e||e.setConnected(!1)}render(){return n.c}}c.finalized=!0,c._$litElement$=!0,null===(o=globalThis.litElementHydrateSupport)||void 0===o||o.call(globalThis,{LitElement:c});const s=globalThis.litElementPolyfillSupport;null==s||s({LitElement:c});(null!==(a=globalThis.litElementVersions)&&void 0!==a?a:globalThis.litElementVersions=[]).push("3.0.1")},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));
|
104
|
+
/**
|
105
|
+
* @license
|
106
|
+
* Copyright 2017 Google LLC
|
107
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
108
|
+
*/
|
109
|
+
const i=e=>t=>"function"==typeof t?((e,t)=>(window.customElements.define(e,t),t))(e,t):((e,t)=>{const{kind:r,elements:i}=t;return{kind:r,elements:i,finisher(t){window.customElements.define(e,t)}}})(e,t)},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var i=r(8);
|
110
|
+
/**
|
111
|
+
* @license
|
112
|
+
* Copyright 2017 Google LLC
|
113
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
114
|
+
*/function o(e){return Object(i.a)({...e,state:!0})}},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var i=r(4);
|
115
|
+
/**
|
116
|
+
* @license
|
117
|
+
* Copyright 2017 Google LLC
|
118
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
119
|
+
*/function o(e){return Object(i.a)({finisher:(t,r)=>{Object.assign(t.prototype[r],e)}})}},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var i=r(4);
|
120
|
+
/**
|
121
|
+
* @license
|
122
|
+
* Copyright 2017 Google LLC
|
123
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
124
|
+
*/function o(e,t){return Object(i.a)({descriptor:r=>{const i={get(){var t,r;return null!==(r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e))&&void 0!==r?r:null},enumerable:!0,configurable:!0};if(t){const t="symbol"==typeof r?Symbol():"__"+r;i.get=function(){var r,i;return void 0===this[t]&&(this[t]=null!==(i=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(e))&&void 0!==i?i:null),this[t]}}return i}})}},function(e,t,r){"use strict";r(4);
|
125
|
+
/**
|
126
|
+
* @license
|
127
|
+
* Copyright 2017 Google LLC
|
128
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
129
|
+
*/},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var i=r(4);
|
130
|
+
/**
|
131
|
+
* @license
|
132
|
+
* Copyright 2017 Google LLC
|
133
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
134
|
+
*/function o(e){return Object(i.a)({descriptor:t=>({async get(){var t;return await this.updateComplete,null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e)},enumerable:!0,configurable:!0})})}},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var i=r(4);
|
135
|
+
/**
|
136
|
+
* @license
|
137
|
+
* Copyright 2017 Google LLC
|
138
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
139
|
+
*/function o(e="",t=!1,r=""){return Object(i.a)({descriptor:i=>({get(){var i,o,a;const n="slot"+(e?`[name=${e}]`:":not([name])");let c=null!==(a=null===(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(n))||void 0===o?void 0:o.assignedNodes({flatten:t}))&&void 0!==a?a:[];return r&&(c=c.filter(e=>e.nodeType===Node.ELEMENT_NODE&&e.matches(r))),c},enumerable:!0,configurable:!0})})}},,function(e,t,r){"use strict";r.d(t,"d",(function(){return i})),r.d(t,"a",(function(){return o})),r.d(t,"e",(function(){return s})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return l}));
|
140
|
+
/**
|
141
|
+
* @license
|
142
|
+
* Copyright 2018 Google LLC
|
143
|
+
* SPDX-License-Identifier: Apache-2.0
|
144
|
+
*/
|
145
|
+
const i=e=>e.nodeType===Node.ELEMENT_NODE;function o(e){return{addClass:t=>{e.classList.add(t)},removeClass:t=>{e.classList.remove(t)},hasClass:t=>e.classList.contains(t)}}let a=!1;const n=()=>{},c={get passive(){return a=!0,!1}};document.addEventListener("x",n,c),document.removeEventListener("x",n);const s=a,d=(e=window.document)=>{let t=e.activeElement;const r=[];if(!t)return r;for(;t&&(r.push(t),t.shadowRoot);)t=t.shadowRoot.activeElement;return r},l=e=>{const t=d();if(!t.length)return!1;const r=t[t.length-1],i=new Event("check-if-focused",{bubbles:!0,composed:!0});let o=[];const a=e=>{o=e.composedPath()};return document.body.addEventListener("check-if-focused",a),r.dispatchEvent(i),document.body.removeEventListener("check-if-focused",a),-1!==o.indexOf(e)}},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var i=r(2),o=r(5);
|
146
|
+
/**
|
147
|
+
* @license
|
148
|
+
* Copyright 2018 Google LLC
|
149
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
150
|
+
*/
|
151
|
+
const a=Object(o.c)(class extends o.a{constructor(e){var t;if(super(e),e.type!==o.b.ATTRIBUTE||"style"!==e.name||(null===(t=e.strings)||void 0===t?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,r)=>{const i=e[r];return null==i?t:t+`${r=r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(e,[t]){const{style:r}=e.element;if(void 0===this.ut){this.ut=new Set;for(const e in t)this.ut.add(e);return this.render(t)}this.ut.forEach(e=>{null==t[e]&&(this.ut.delete(e),e.includes("-")?r.removeProperty(e):r[e]="")});for(const e in t){const i=t[e];null!=i&&(this.ut.add(e),e.includes("-")?r.setProperty(e,i):r[e]=i)}return i.c}})},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));
|
152
|
+
/**
|
153
|
+
* @license
|
154
|
+
* Copyright 2020 Google LLC
|
155
|
+
* SPDX-License-Identifier: Apache-2.0
|
156
|
+
*/
|
157
|
+
class i{constructor(e){this.startPress=t=>{e().then(e=>{e&&e.startPress(t)})},this.endPress=()=>{e().then(e=>{e&&e.endPress()})},this.startFocus=()=>{e().then(e=>{e&&e.startFocus()})},this.endFocus=()=>{e().then(e=>{e&&e.endFocus()})},this.startHover=()=>{e().then(e=>{e&&e.startHover()})},this.endHover=()=>{e().then(e=>{e&&e.endHover()})}}}},function(e,t,r){"use strict";function i(e,t,r){if(void 0!==t)
|
158
|
+
/**
|
159
|
+
* @license
|
160
|
+
* Copyright 2021 Google LLC
|
161
|
+
* SPDX-License-Identifier: Apache-2.0
|
162
|
+
*/
|
163
|
+
return function(e,t,r){const i=e.constructor;if(!r){const e="__"+t;if(!(r=i.getPropertyDescriptor(t,e)))throw new Error("@ariaProperty must be used after a @property decorator")}const o=r;let a="";if(!o.set)throw new Error("@ariaProperty requires a setter for "+t);const n={configurable:!0,enumerable:!0,set(e){if(""===a){const e=i.getPropertyOptions(t);a=e.attribute}this.hasAttribute(a)&&this.removeAttribute(a),o.set.call(this,e)}};return o.get&&(n.get=function(){return o.get.call(this)}),n}(e,t,r);throw new Error("@ariaProperty only supports TypeScript Decorators")}r.d(t,"a",(function(){return i}))},function(e,t,r){"use strict";
|
164
|
+
/**
|
165
|
+
* @license
|
166
|
+
* Copyright 2018 Google Inc.
|
167
|
+
*
|
168
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
169
|
+
* of this software and associated documentation files (the "Software"), to deal
|
170
|
+
* in the Software without restriction, including without limitation the rights
|
171
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
172
|
+
* copies of the Software, and to permit persons to whom the Software is
|
173
|
+
* furnished to do so, subject to the following conditions:
|
174
|
+
*
|
175
|
+
* The above copyright notice and this permission notice shall be included in
|
176
|
+
* all copies or substantial portions of the Software.
|
177
|
+
*
|
178
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
179
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
180
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
181
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
182
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
183
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
184
|
+
* THE SOFTWARE.
|
185
|
+
*/
|
186
|
+
function i(e,t){if(e.closest)return e.closest(t);for(var r=e;r;){if(o(r,t))return r;r=r.parentElement}return null}function o(e,t){return(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t)}r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return o}))},,function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var i,o,a=r(1),n=r(0),c=r(9);r.d(t,"b",(function(){return c.b}));const s=null!==(o=null===(i=window.ShadyDOM)||void 0===i?void 0:i.inUse)&&void 0!==o&&o;class d extends c.a{constructor(){super(...arguments),this.disabled=!1,this.containingForm=null,this.formDataListener=e=>{this.disabled||this.setFormData(e.formData)}}findFormElement(){if(!this.shadowRoot||s)return null;const e=this.getRootNode().querySelectorAll("form");for(const t of Array.from(e))if(t.contains(this))return t;return null}connectedCallback(){var e;super.connectedCallback(),this.containingForm=this.findFormElement(),null===(e=this.containingForm)||void 0===e||e.addEventListener("formdata",this.formDataListener)}disconnectedCallback(){var e;super.disconnectedCallback(),null===(e=this.containingForm)||void 0===e||e.removeEventListener("formdata",this.formDataListener),this.containingForm=null}click(){this.formElement&&!this.disabled&&(this.formElement.focus(),this.formElement.click())}firstUpdated(){super.firstUpdated(),this.shadowRoot&&this.mdcRoot.addEventListener("change",e=>{this.dispatchEvent(new Event("change",e))})}}d.shadowRootOptions={mode:"open",delegatesFocus:!0},Object(a.b)([Object(n.f)({type:Boolean})],d.prototype,"disabled",void 0)},,function(e,t,r){"use strict";var i=r(1),o=r(0),a=r(31),n=r(9),c=r(13),s={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"},l={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};
|
187
|
+
/**
|
188
|
+
* @license
|
189
|
+
* Copyright 2016 Google Inc.
|
190
|
+
*
|
191
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
192
|
+
* of this software and associated documentation files (the "Software"), to deal
|
193
|
+
* in the Software without restriction, including without limitation the rights
|
194
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
195
|
+
* copies of the Software, and to permit persons to whom the Software is
|
196
|
+
* furnished to do so, subject to the following conditions:
|
197
|
+
*
|
198
|
+
* The above copyright notice and this permission notice shall be included in
|
199
|
+
* all copies or substantial portions of the Software.
|
200
|
+
*
|
201
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
202
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
203
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
204
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
205
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
206
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
207
|
+
* THE SOFTWARE.
|
208
|
+
*/
|
209
|
+
var p=["touchstart","pointerdown","mousedown","keydown"],u=["touchend","pointerup","mouseup","contextmenu"],h=[],m=function(e){function t(r){var o=e.call(this,Object(i.a)(Object(i.a)({},t.defaultAdapter),r))||this;return o.activationAnimationHasEnded=!1,o.activationTimer=0,o.fgDeactivationRemovalTimer=0,o.fgScale="0",o.frame={width:0,height:0},o.initialSize=0,o.layoutFrame=0,o.maxRadius=0,o.unboundedCoords={left:0,top:0},o.activationState=o.defaultActivationState(),o.activationTimerCallback=function(){o.activationAnimationHasEnded=!0,o.runDeactivationUXLogicIfReady()},o.activateHandler=function(e){o.activateImpl(e)},o.deactivateHandler=function(){o.deactivateImpl()},o.focusHandler=function(){o.handleFocus()},o.blurHandler=function(){o.handleBlur()},o.resizeHandler=function(){o.layout()},o}return Object(i.c)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return d},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return l},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this,r=this.supportsPressRipple();if(this.registerRootHandlers(r),r){var i=t.cssClasses,o=i.ROOT,a=i.UNBOUNDED;requestAnimationFrame((function(){e.adapter.addClass(o),e.adapter.isUnbounded()&&(e.adapter.addClass(a),e.layoutInternal())}))}},t.prototype.destroy=function(){var e=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(t.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(t.cssClasses.FG_DEACTIVATION));var r=t.cssClasses,i=r.ROOT,o=r.UNBOUNDED;requestAnimationFrame((function(){e.adapter.removeClass(i),e.adapter.removeClass(o),e.removeCssVars()}))}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},t.prototype.activate=function(e){this.activateImpl(e)},t.prototype.deactivate=function(){this.deactivateImpl()},t.prototype.layout=function(){var e=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame((function(){e.layoutInternal(),e.layoutFrame=0}))},t.prototype.setUnbounded=function(e){var r=t.cssClasses.UNBOUNDED;e?this.adapter.addClass(r):this.adapter.removeClass(r)},t.prototype.handleFocus=function(){var e=this;requestAnimationFrame((function(){return e.adapter.addClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.handleBlur=function(){var e=this;requestAnimationFrame((function(){return e.adapter.removeClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},t.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},t.prototype.registerRootHandlers=function(e){var t,r;if(e){try{for(var o=Object(i.f)(p),a=o.next();!a.done;a=o.next()){var n=a.value;this.adapter.registerInteractionHandler(n,this.activateHandler)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},t.prototype.registerDeactivationHandlers=function(e){var t,r;if("keydown"===e.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var o=Object(i.f)(u),a=o.next();!a.done;a=o.next()){var n=a.value;this.adapter.registerDocumentInteractionHandler(n,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}},t.prototype.deregisterRootHandlers=function(){var e,t;try{for(var r=Object(i.f)(p),o=r.next();!o.done;o=r.next()){var a=o.value;this.adapter.deregisterInteractionHandler(a,this.activateHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},t.prototype.deregisterDeactivationHandlers=function(){var e,t;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var r=Object(i.f)(u),o=r.next();!o.done;o=r.next()){var a=o.value;this.adapter.deregisterDocumentInteractionHandler(a,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},t.prototype.removeCssVars=function(){var e=this,r=t.strings;Object.keys(r).forEach((function(t){0===t.indexOf("VAR_")&&e.adapter.updateCssVariable(r[t],null)}))},t.prototype.activateImpl=function(e){var t=this;if(!this.adapter.isSurfaceDisabled()){var r=this.activationState;if(!r.isActivated){var i=this.previousActivationEvent;if(!(i&&void 0!==e&&i.type!==e.type))r.isActivated=!0,r.isProgrammatic=void 0===e,r.activationEvent=e,r.wasActivatedByPointer=!r.isProgrammatic&&(void 0!==e&&("mousedown"===e.type||"touchstart"===e.type||"pointerdown"===e.type)),void 0!==e&&h.length>0&&h.some((function(e){return t.adapter.containsEventTarget(e)}))?this.resetActivationState():(void 0!==e&&(h.push(e.target),this.registerDeactivationHandlers(e)),r.wasElementMadeActive=this.checkElementMadeActive(e),r.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){h=[],r.wasElementMadeActive||void 0===e||" "!==e.key&&32!==e.keyCode||(r.wasElementMadeActive=t.checkElementMadeActive(e),r.wasElementMadeActive&&t.animateActivation()),r.wasElementMadeActive||(t.activationState=t.defaultActivationState())})))}}},t.prototype.checkElementMadeActive=function(e){return void 0===e||"keydown"!==e.type||this.adapter.isSurfaceActive()},t.prototype.animateActivation=function(){var e=this,r=t.strings,i=r.VAR_FG_TRANSLATE_START,o=r.VAR_FG_TRANSLATE_END,a=t.cssClasses,n=a.FG_DEACTIVATION,c=a.FG_ACTIVATION,s=t.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var d="",l="";if(!this.adapter.isUnbounded()){var p=this.getFgTranslationCoordinates(),u=p.startPoint,h=p.endPoint;d=u.x+"px, "+u.y+"px",l=h.x+"px, "+h.y+"px"}this.adapter.updateCssVariable(i,d),this.adapter.updateCssVariable(o,l),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(n),this.adapter.computeBoundingRect(),this.adapter.addClass(c),this.activationTimer=setTimeout((function(){e.activationTimerCallback()}),s)},t.prototype.getFgTranslationCoordinates=function(){var e,t=this.activationState,r=t.activationEvent;return{startPoint:e={x:(e=t.wasActivatedByPointer?function(e,t,r){if(!e)return{x:0,y:0};var i,o,a=t.x,n=t.y,c=a+r.left,s=n+r.top;if("touchstart"===e.type){var d=e;i=d.changedTouches[0].pageX-c,o=d.changedTouches[0].pageY-s}else{var l=e;i=l.pageX-c,o=l.pageY-s}return{x:i,y:o}}(r,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2}).x-this.initialSize/2,y:e.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},t.prototype.runDeactivationUXLogicIfReady=function(){var e=this,r=t.cssClasses.FG_DEACTIVATION,i=this.activationState,o=i.hasDeactivationUXRun,a=i.isActivated;(o||!a)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(r),this.fgDeactivationRemovalTimer=setTimeout((function(){e.adapter.removeClass(r)}),l.FG_DEACTIVATION_MS))},t.prototype.rmBoundedActivationClasses=function(){var e=t.cssClasses.FG_ACTIVATION;this.adapter.removeClass(e),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},t.prototype.resetActivationState=function(){var e=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout((function(){return e.previousActivationEvent=void 0}),t.numbers.TAP_DELAY_MS)},t.prototype.deactivateImpl=function(){var e=this,t=this.activationState;if(t.isActivated){var r=Object(i.a)({},t);t.isProgrammatic?(requestAnimationFrame((function(){e.animateDeactivation(r)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){e.activationState.hasDeactivationUXRun=!0,e.animateDeactivation(r),e.resetActivationState()})))}},t.prototype.animateDeactivation=function(e){var t=e.wasActivatedByPointer,r=e.wasElementMadeActive;(t||r)&&this.runDeactivationUXLogicIfReady()},t.prototype.layoutInternal=function(){var e=this;this.frame=this.adapter.computeBoundingRect();var r=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?r:Math.sqrt(Math.pow(e.frame.width,2)+Math.pow(e.frame.height,2))+t.numbers.PADDING;var i=Math.floor(r*t.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&i%2!=0?this.initialSize=i-1:this.initialSize=i,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},t.prototype.updateLayoutCssVars=function(){var e=t.strings,r=e.VAR_FG_SIZE,i=e.VAR_LEFT,o=e.VAR_TOP,a=e.VAR_FG_SCALE;this.adapter.updateCssVariable(r,this.initialSize+"px"),this.adapter.updateCssVariable(a,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(i,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(o,this.unboundedCoords.top+"px"))},t}(c.a),f=r(7),v=r(26);
|
210
|
+
/**
|
211
|
+
* @license
|
212
|
+
* Copyright 2018 Google LLC
|
213
|
+
* SPDX-License-Identifier: Apache-2.0
|
214
|
+
*/
|
215
|
+
class b extends n.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=m}get isActive(){return Object(a.b)(this.parentElement||this,":active")}createAdapter(){return{browserSupportsCssVars:()=>!0,isUnbounded:()=>this.unbounded,isSurfaceActive:()=>this.isActive,isSurfaceDisabled:()=>this.disabled,addClass:e=>{switch(e){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:e=>{switch(e){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:(e,t)=>{switch(e){case"--mdc-ripple-fg-scale":this.fgScale=t;break;case"--mdc-ripple-fg-size":this.fgSize=t;break;case"--mdc-ripple-fg-translate-end":this.translateEnd=t;break;case"--mdc-ripple-fg-translate-start":this.translateStart=t;break;case"--mdc-ripple-left":this.leftPos=t;break;case"--mdc-ripple-top":this.topPos=t}},computeBoundingRect:()=>(this.parentElement||this).getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})}}startPress(e){this.waitForFoundation(()=>{this.mdcFoundation.activate(e)})}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(e){this.mdcFoundation?e():this.updateComplete.then(e)}update(e){e.has("disabled")&&this.disabled&&this.endHover(),super.update(e)}render(){const e=this.activated&&(this.primary||!this.accent),t=this.selected&&(this.primary||!this.accent),r={"mdc-ripple-surface--accent":this.accent,"mdc-ripple-surface--primary--activated":e,"mdc-ripple-surface--accent--activated":this.accent&&this.activated,"mdc-ripple-surface--primary--selected":t,"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 o.e`
|
216
|
+
<div class="mdc-ripple-surface mdc-ripple-upgraded ${Object(f.a)(r)}"
|
217
|
+
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(i.b)([Object(o.g)(".mdc-ripple-surface")],b.prototype,"mdcRoot",void 0),Object(i.b)([Object(o.f)({type:Boolean})],b.prototype,"primary",void 0),Object(i.b)([Object(o.f)({type:Boolean})],b.prototype,"accent",void 0),Object(i.b)([Object(o.f)({type:Boolean})],b.prototype,"unbounded",void 0),Object(i.b)([Object(o.f)({type:Boolean})],b.prototype,"disabled",void 0),Object(i.b)([Object(o.f)({type:Boolean})],b.prototype,"activated",void 0),Object(i.b)([Object(o.f)({type:Boolean})],b.prototype,"selected",void 0),Object(i.b)([Object(o.f)({type:Boolean})],b.prototype,"internalUseStateLayerCustomProperties",void 0),Object(i.b)([Object(o.j)()],b.prototype,"hovering",void 0),Object(i.b)([Object(o.j)()],b.prototype,"bgFocused",void 0),Object(i.b)([Object(o.j)()],b.prototype,"fgActivation",void 0),Object(i.b)([Object(o.j)()],b.prototype,"fgDeactivation",void 0),Object(i.b)([Object(o.j)()],b.prototype,"fgScale",void 0),Object(i.b)([Object(o.j)()],b.prototype,"fgSize",void 0),Object(i.b)([Object(o.j)()],b.prototype,"translateStart",void 0),Object(i.b)([Object(o.j)()],b.prototype,"translateEnd",void 0),Object(i.b)([Object(o.j)()],b.prototype,"leftPos",void 0),Object(i.b)([Object(o.j)()],b.prototype,"topPos",void 0);
|
218
|
+
/**
|
219
|
+
* @license
|
220
|
+
* Copyright 2021 Google LLC
|
221
|
+
* SPDX-LIcense-Identifier: Apache-2.0
|
222
|
+
*/
|
223
|
+
const g=o.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)}`;
|
224
|
+
/**
|
225
|
+
* @license
|
226
|
+
* Copyright 2018 Google LLC
|
227
|
+
* SPDX-License-Identifier: Apache-2.0
|
228
|
+
*/let y=class extends b{};y.styles=[g],y=Object(i.b)([Object(o.c)("mwc-ripple")],y)},,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));
|
229
|
+
/**
|
230
|
+
* @license
|
231
|
+
* Copyright 2020 Google LLC
|
232
|
+
* SPDX-License-Identifier: Apache-2.0
|
233
|
+
*/
|
234
|
+
const i=Symbol("selection controller");class o{constructor(){this.selected=null,this.ordered=null,this.set=new Set}}class a{constructor(e){this.sets={},this.focusedSet=null,this.mouseIsDown=!1,this.updating=!1,e.addEventListener("keydown",e=>{this.keyDownHandler(e)}),e.addEventListener("mousedown",()=>{this.mousedownHandler()}),e.addEventListener("mouseup",()=>{this.mouseupHandler()})}static getController(e){const t=!("global"in e)||"global"in e&&e.global?document:e.getRootNode();let r=t[i];return void 0===r&&(r=new a(t),t[i]=r),r}keyDownHandler(e){const t=e.target;"checked"in t&&this.has(t)&&("ArrowRight"==e.key||"ArrowDown"==e.key?this.selectNext(t):"ArrowLeft"!=e.key&&"ArrowUp"!=e.key||this.selectPrevious(t))}mousedownHandler(){this.mouseIsDown=!0}mouseupHandler(){this.mouseIsDown=!1}has(e){return this.getSet(e.name).set.has(e)}selectPrevious(e){const t=this.getOrdered(e),r=t.indexOf(e),i=t[r-1]||t[t.length-1];return this.select(i),i}selectNext(e){const t=this.getOrdered(e),r=t.indexOf(e),i=t[r+1]||t[0];return this.select(i),i}select(e){e.click()}focus(e){if(this.mouseIsDown)return;const t=this.getSet(e.name),r=this.focusedSet;this.focusedSet=t,r!=t&&t.selected&&t.selected!=e&&t.selected.focus()}isAnySelected(e){const t=this.getSet(e.name);for(const e of t.set)if(e.checked)return!0;return!1}getOrdered(e){const t=this.getSet(e.name);return t.ordered||(t.ordered=Array.from(t.set),t.ordered.sort((e,t)=>e.compareDocumentPosition(t)==Node.DOCUMENT_POSITION_PRECEDING?1:0)),t.ordered}getSet(e){return this.sets[e]||(this.sets[e]=new o),this.sets[e]}register(e){const t=e.name||e.getAttribute("name")||"",r=this.getSet(t);r.set.add(e),r.ordered=null}unregister(e){const t=this.getSet(e.name);t.set.delete(e),t.ordered=null,t.selected==e&&(t.selected=null)}update(e){if(this.updating)return;this.updating=!0;const t=this.getSet(e.name);if(e.checked){for(const r of t.set)r!=e&&(r.checked=!1);t.selected=e}if(this.isAnySelected(e))for(const e of t.set){if(void 0===e.formElementTabIndex)break;e.formElementTabIndex=e.checked?0:-1}this.updating=!1}}},,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));
|
235
|
+
/**
|
236
|
+
* @license
|
237
|
+
* Copyright 2021 Google LLC
|
238
|
+
* SPDX-LIcense-Identifier: Apache-2.0
|
239
|
+
*/
|
240
|
+
const i=r(0).b`.mdc-touch-target-wrapper{display:inline}.mdc-radio{padding:calc((40px - 20px) / 2)}.mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.54)}.mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#018786;border-color:var(--mdc-theme-secondary, #018786)}.mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#018786;border-color:var(--mdc-theme-secondary, #018786)}.mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.38)}.mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.38)}.mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:rgba(0, 0, 0, 0.38)}.mdc-radio .mdc-radio__background::before{background-color:#018786;background-color:var(--mdc-theme-secondary, #018786)}.mdc-radio .mdc-radio__background::before{top:calc(-1 * (40px - 20px) / 2);left:calc(-1 * (40px - 20px) / 2);width:40px;height:40px}.mdc-radio .mdc-radio__native-control{top:calc((40px - 40px) / 2);right:calc((40px - 40px) / 2);left:calc((40px - 40px) / 2);width:40px;height:40px}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:GrayText}.mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:GrayText}.mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:GrayText}}.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}:host{display:inline-block;outline:none}.mdc-radio{vertical-align:bottom}.mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unchecked-color, rgba(0, 0, 0, 0.54))}.mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-color, rgba(0, 0, 0, 0.38))}.mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-color, rgba(0, 0, 0, 0.38))}.mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-color, rgba(0, 0, 0, 0.38))}`},function(e,t,r){"use strict";r.d(t,"a",(function(){return v}));var i=r(1),o=(r(35),r(30)),a=r(33),n=r(11),c=r(53),s=r(29),d=r(13),l={NATIVE_CONTROL_SELECTOR:".mdc-radio__native-control"},p={DISABLED:"mdc-radio--disabled",ROOT:"mdc-radio"},u=function(e){function t(r){return e.call(this,Object(i.a)(Object(i.a)({},t.defaultAdapter),r))||this}return Object(i.c)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return p},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return l},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNativeControlDisabled:function(){}}},enumerable:!1,configurable:!0}),t.prototype.setDisabled=function(e){var r=t.cssClasses.DISABLED;this.adapter.setNativeControlDisabled(e),e?this.adapter.addClass(r):this.adapter.removeClass(r)},t}(d.a),h=r(0),m=r(7),f=r(12);
|
241
|
+
/**
|
242
|
+
* @license
|
243
|
+
* Copyright 2018 Google LLC
|
244
|
+
* SPDX-License-Identifier: Apache-2.0
|
245
|
+
*/
|
246
|
+
class v extends a.a{constructor(){super(...arguments),this._checked=!1,this.useStateLayerCustomProperties=!1,this.global=!1,this.disabled=!1,this.value="on",this.name="",this.reducedTouchTarget=!1,this.mdcFoundationClass=u,this.formElementTabIndex=0,this.focused=!1,this.shouldRenderRipple=!1,this.rippleElement=null,this.rippleHandlers=new s.a(()=>(this.shouldRenderRipple=!0,this.ripple.then(e=>{this.rippleElement=e}),this.ripple))}get checked(){return this._checked}set checked(e){var t,r;const i=this._checked;e!==i&&(this._checked=e,this.formElement&&(this.formElement.checked=e),null===(t=this._selectionController)||void 0===t||t.update(this),!1===e&&(null===(r=this.formElement)||void 0===r||r.blur()),this.requestUpdate("checked",i),this.dispatchEvent(new Event("checked",{bubbles:!0,composed:!0})))}_handleUpdatedValue(e){this.formElement.value=e}renderRipple(){return this.shouldRenderRipple?h.e`<mwc-ripple unbounded accent
|
247
|
+
.internalUseStateLayerCustomProperties="${this.useStateLayerCustomProperties}"
|
248
|
+
.disabled="${this.disabled}"></mwc-ripple>`:""}get isRippleActive(){var e;return(null===(e=this.rippleElement)||void 0===e?void 0:e.isActive)||!1}connectedCallback(){super.connectedCallback(),this._selectionController=c.a.getController(this),this._selectionController.register(this),this._selectionController.update(this)}disconnectedCallback(){this._selectionController.unregister(this),this._selectionController=void 0}focus(){this.formElement.focus()}createAdapter(){return Object.assign(Object.assign({},Object(a.b)(this.mdcRoot)),{setNativeControlDisabled:e=>{this.formElement.disabled=e}})}handleFocus(){this.focused=!0,this.handleRippleFocus()}handleClick(){this.formElement.focus()}handleBlur(){this.focused=!1,this.formElement.blur(),this.rippleHandlers.endFocus()}setFormData(e){this.name&&this.checked&&e.append(this.name,this.value)}render(){const e={"mdc-radio--touch":!this.reducedTouchTarget,"mdc-ripple-upgraded--background-focused":this.focused,"mdc-radio--disabled":this.disabled};return h.e`
|
249
|
+
<div class="mdc-radio ${Object(m.a)(e)}">
|
250
|
+
<input
|
251
|
+
tabindex="${this.formElementTabIndex}"
|
252
|
+
class="mdc-radio__native-control"
|
253
|
+
type="radio"
|
254
|
+
name="${this.name}"
|
255
|
+
aria-label="${Object(f.a)(this.ariaLabel)}"
|
256
|
+
aria-labelledby="${Object(f.a)(this.ariaLabelledBy)}"
|
257
|
+
.checked="${this.checked}"
|
258
|
+
.value="${this.value}"
|
259
|
+
?disabled="${this.disabled}"
|
260
|
+
@change="${this.changeHandler}"
|
261
|
+
@focus="${this.handleFocus}"
|
262
|
+
@click="${this.handleClick}"
|
263
|
+
@blur="${this.handleBlur}"
|
264
|
+
@mousedown="${this.handleRippleMouseDown}"
|
265
|
+
@mouseenter="${this.handleRippleMouseEnter}"
|
266
|
+
@mouseleave="${this.handleRippleMouseLeave}"
|
267
|
+
@touchstart="${this.handleRippleTouchStart}"
|
268
|
+
@touchend="${this.handleRippleDeactivate}"
|
269
|
+
@touchcancel="${this.handleRippleDeactivate}">
|
270
|
+
<div class="mdc-radio__background">
|
271
|
+
<div class="mdc-radio__outer-circle"></div>
|
272
|
+
<div class="mdc-radio__inner-circle"></div>
|
273
|
+
</div>
|
274
|
+
${this.renderRipple()}
|
275
|
+
</div>`}handleRippleMouseDown(e){const t=()=>{window.removeEventListener("mouseup",t),this.handleRippleDeactivate()};window.addEventListener("mouseup",t),this.rippleHandlers.startPress(e)}handleRippleTouchStart(e){this.rippleHandlers.startPress(e)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}changeHandler(){this.checked=this.formElement.checked}}Object(i.b)([Object(h.g)(".mdc-radio")],v.prototype,"mdcRoot",void 0),Object(i.b)([Object(h.g)("input")],v.prototype,"formElement",void 0),Object(i.b)([Object(h.j)()],v.prototype,"useStateLayerCustomProperties",void 0),Object(i.b)([Object(h.f)({type:Boolean})],v.prototype,"global",void 0),Object(i.b)([Object(h.f)({type:Boolean,reflect:!0})],v.prototype,"checked",null),Object(i.b)([Object(h.f)({type:Boolean}),Object(n.a)((function(e){this.mdcFoundation.setDisabled(e)}))],v.prototype,"disabled",void 0),Object(i.b)([Object(h.f)({type:String}),Object(n.a)((function(e){this._handleUpdatedValue(e)}))],v.prototype,"value",void 0),Object(i.b)([Object(h.f)({type:String})],v.prototype,"name",void 0),Object(i.b)([Object(h.f)({type:Boolean})],v.prototype,"reducedTouchTarget",void 0),Object(i.b)([Object(h.f)({type:Number})],v.prototype,"formElementTabIndex",void 0),Object(i.b)([Object(h.j)()],v.prototype,"focused",void 0),Object(i.b)([Object(h.j)()],v.prototype,"shouldRenderRipple",void 0),Object(i.b)([Object(h.i)("mwc-ripple")],v.prototype,"ripple",void 0),Object(i.b)([o.a,Object(h.f)({attribute:"aria-label"})],v.prototype,"ariaLabel",void 0),Object(i.b)([o.a,Object(h.f)({attribute:"aria-labelledby"})],v.prototype,"ariaLabelledBy",void 0),Object(i.b)([Object(h.d)({passive:!0})],v.prototype,"handleRippleTouchStart",null)},,,,,function(e,t,r){"use strict";r.r(t),r.d(t,"CovalentRadioBase",(function(){return c}));var i=r(71),o=r(70),a=r(10),n=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let c=class extends i.a{};c.styles=[o.a],c=n([Object(a.a)("td-radio")],c)}]);
|