@covalent/components 1.0.11 → 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 +3 -3
- 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/src/app-shell/app-shell.d.ts +27 -0
- package/components/src/app-shell/app-shell.d.ts.map +1 -0
- package/components/src/button/button.d.ts +10 -0
- 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/src/list/list-expansion.d.ts +14 -0
- package/components/src/list/list-expansion.d.ts.map +1 -0
- package/components/src/list/list-item.d.ts +12 -0
- 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 → icons}/covalent-icons.css +0 -0
- package/{covalent-icons → icons}/covalent-icons.eot +0 -0
- package/{covalent-icons → icons}/covalent-icons.svg +0 -0
- package/{covalent-icons → icons}/covalent-icons.ttf +0 -0
- package/{covalent-icons → icons}/covalent-icons.woff +0 -0
- package/icons/favicon.ico +0 -0
- package/index.js +1877 -0
- 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 +2 -80
- 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 +0 -51
- package/components/app-shell/app-shell.component.d.ts.map +0 -1
- package/components/mini-list/mini-list.component.d.ts +0 -16
- package/components/mini-list/mini-list.component.d.ts.map +0 -1
- package/covalent-icons/svgs/Screen Shot 2021-09-21 at 3.33.14 PM.png +0 -0
- package/covalent-icons/svgs/alias_arrow.svg +0 -3
- package/covalent-icons/svgs/api.svg +0 -3
- package/covalent-icons/svgs/api_ondark.svg +0 -3
- package/covalent-icons/svgs/application.svg +0 -3
- package/covalent-icons/svgs/bucket.svg +0 -3
- package/covalent-icons/svgs/cluster_analysis.svg +0 -3
- package/covalent-icons/svgs/column.svg +0 -3
- package/covalent-icons/svgs/connected_identity.svg +0 -3
- package/covalent-icons/svgs/data_preparation.svg +0 -3
- package/covalent-icons/svgs/data_source.svg +0 -3
- package/covalent-icons/svgs/database.svg +0 -3
- package/covalent-icons/svgs/database_changed.svg +0 -3
- package/covalent-icons/svgs/database_edit.svg +0 -3
- package/covalent-icons/svgs/database_foreign.svg +0 -3
- package/covalent-icons/svgs/database_lab.svg +0 -3
- package/covalent-icons/svgs/database_search.svg +0 -3
- package/covalent-icons/svgs/database_synced.svg +0 -3
- package/covalent-icons/svgs/disconnect.svg +0 -3
- package/covalent-icons/svgs/dock_right.svg +0 -3
- package/covalent-icons/svgs/engine.svg +0 -3
- package/covalent-icons/svgs/file.svg +0 -3
- package/covalent-icons/svgs/file_changed.svg +0 -3
- package/covalent-icons/svgs/file_edit.svg +0 -3
- package/covalent-icons/svgs/file_foreign.svg +0 -3
- package/covalent-icons/svgs/file_lab.svg +0 -3
- package/covalent-icons/svgs/file_search.svg +0 -3
- package/covalent-icons/svgs/file_synced.svg +0 -3
- package/covalent-icons/svgs/formula.svg +0 -3
- package/covalent-icons/svgs/lab.svg +0 -3
- package/covalent-icons/svgs/loader-dots.svg +0 -31
- package/covalent-icons/svgs/machine_learning.svg +0 -3
- package/covalent-icons/svgs/machine_learning_ondark.svg +0 -3
- package/covalent-icons/svgs/model.svg +0 -3
- package/covalent-icons/svgs/model_configuration.svg +0 -3
- package/covalent-icons/svgs/model_configuration_ondark.svg +0 -3
- package/covalent-icons/svgs/model_ondark.svg +0 -3
- package/covalent-icons/svgs/no_results.svg +0 -3
- package/covalent-icons/svgs/node_branch.svg +0 -3
- package/covalent-icons/svgs/node_merge.svg +0 -3
- package/covalent-icons/svgs/node_notification.svg +0 -3
- package/covalent-icons/svgs/node_notification_ondark.svg +0 -3
- package/covalent-icons/svgs/object_storage.svg +0 -3
- package/covalent-icons/svgs/object_storage_ondark.svg +0 -3
- package/covalent-icons/svgs/operations.svg +0 -3
- package/covalent-icons/svgs/operators_divide.svg +0 -3
- package/covalent-icons/svgs/operators_equals.svg +0 -5
- package/covalent-icons/svgs/operators_greater_than.svg +0 -3
- package/covalent-icons/svgs/operators_greater_than_or_equal.svg +0 -5
- package/covalent-icons/svgs/operators_less_than.svg +0 -3
- package/covalent-icons/svgs/operators_less_than_or_equal.svg +0 -5
- package/covalent-icons/svgs/operators_multiply.svg +0 -5
- package/covalent-icons/svgs/operators_not_equal.svg +0 -5
- package/covalent-icons/svgs/operators_parentheses.svg +0 -3
- package/covalent-icons/svgs/operators_parenthesis_left.svg +0 -3
- package/covalent-icons/svgs/operators_parenthesis_right.svg +0 -3
- package/covalent-icons/svgs/operators_product_analyst.svg +0 -3
- package/covalent-icons/svgs/operators_product_console.svg +0 -3
- package/covalent-icons/svgs/operators_product_editor.svg +0 -3
- package/covalent-icons/svgs/operators_subtract.svg +0 -5
- package/covalent-icons/svgs/outbound_campaign_manager.svg +0 -3
- package/covalent-icons/svgs/resize_northeast.svg +0 -3
- package/covalent-icons/svgs/resize_northwest.svg +0 -3
- package/covalent-icons/svgs/resize_southeast.svg +0 -3
- package/covalent-icons/svgs/resize_southwest.svg +0 -3
- package/covalent-icons/svgs/rules.svg +0 -3
- package/covalent-icons/svgs/rules_insert.svg +0 -3
- package/covalent-icons/svgs/rules_insert_ondark.svg +0 -3
- package/covalent-icons/svgs/rules_ondark.svg +0 -3
- package/covalent-icons/svgs/rules_select.svg +0 -3
- package/covalent-icons/svgs/rules_select_ondark.svg +0 -3
- package/covalent-icons/svgs/script.svg +0 -3
- package/covalent-icons/svgs/script_macro.svg +0 -6
- package/covalent-icons/svgs/script_macro_ondark.svg +0 -6
- package/covalent-icons/svgs/script_ondark.svg +0 -3
- package/covalent-icons/svgs/script_sql.svg +0 -6
- package/covalent-icons/svgs/script_sql_ondark.svg +0 -6
- package/covalent-icons/svgs/script_stored_procedure.svg +0 -6
- package/covalent-icons/svgs/script_stored_procedure_ondark.svg +0 -6
- package/covalent-icons/svgs/segmentation.svg +0 -3
- package/covalent-icons/svgs/server.svg +0 -3
- package/covalent-icons/svgs/server_changed.svg +0 -3
- package/covalent-icons/svgs/server_edit.svg +0 -3
- package/covalent-icons/svgs/server_foreign.svg +0 -3
- package/covalent-icons/svgs/server_lab.svg +0 -3
- package/covalent-icons/svgs/server_search.svg +0 -3
- package/covalent-icons/svgs/server_synced.svg +0 -3
- package/covalent-icons/svgs/sftp.svg +0 -3
- package/covalent-icons/svgs/sftp_ondark.svg +0 -3
- package/covalent-icons/svgs/table.svg +0 -3
- package/covalent-icons/svgs/table_changed.svg +0 -3
- package/covalent-icons/svgs/table_edit.svg +0 -3
- package/covalent-icons/svgs/table_foreign.svg +0 -3
- package/covalent-icons/svgs/table_lab.svg +0 -3
- package/covalent-icons/svgs/table_search.svg +0 -3
- package/covalent-icons/svgs/table_synced.svg +0 -3
- package/covalent-icons/svgs/teradata-icons-v1.0.zip +0 -0
- package/covalent-icons/svgs/teradata.svg +0 -3
- package/covalent-icons/svgs/teradata_nocircle.svg +0 -3
- package/covalent-icons/svgs/text_analysis.svg +0 -3
- package/covalent-icons/svgs/undock.svg +0 -3
- package/covalent-icons/svgs/variable.svg +0 -3
- package/covalent-icons/svgs/variable_ondark.svg +0 -3
- package/covalent-icons/svgs/view_sankey.svg +0 -3
- package/covalent-icons/svgs/wand.svg +0 -3
- package/covalent-icons/svgs/workflow.svg +0 -3
- package/covalent-theme.css +0 -13
- package/covalent.js +0 -685
- package/index.d.ts +0 -4
- package/index.d.ts.map +0 -1
package/listRadioItem.js
ADDED
@@ -0,0 +1,342 @@
|
|
1
|
+
!function(e){var t={};function i(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.m=e,i.c=t,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(r,a,function(t){return e[t]}.bind(null,a));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=105)}([function(e,t,i){"use strict";var r=i(6);i.d(t,"b",(function(){return r.b}));var a=i(2);i.d(t,"e",(function(){return a.b}));var o=i(14);i.d(t,"a",(function(){return o.a}));i(4);var c=i(15);i.d(t,"c",(function(){return c.a}));var n=i(8);i.d(t,"f",(function(){return n.a}));var s=i(16);i.d(t,"j",(function(){return s.a}));var d=i(17);i.d(t,"d",(function(){return d.a}));var l=i(18);i.d(t,"g",(function(){return l.a}));i(19);var p=i(20);i.d(t,"i",(function(){return p.a}));var u=i(21);i.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,i){"use strict";i.d(t,"c",(function(){return a})),i.d(t,"a",(function(){return o})),i.d(t,"b",(function(){return c})),i.d(t,"f",(function(){return n})),i.d(t,"d",(function(){return s})),i.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 r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var o=function(){return(o=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var a in t=arguments[i])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function c(e,t,i,r){var a,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,i,r);else for(var n=e.length-1;n>=0;n--)(a=e[n])&&(c=(o<3?a(c):o>3?a(t,i,c):a(t,i))||c);return o>3&&c&&Object.defineProperty(t,i,c),c}Object.create;function n(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var r,a,o=i.call(e),c=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)c.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}return c}function d(e,t,i){if(i||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}Object.create},function(e,t,i){"use strict";
|
23
|
+
/**
|
24
|
+
* @license
|
25
|
+
* Copyright 2017 Google LLC
|
26
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
27
|
+
*/
|
28
|
+
var r;i.d(t,"a",(function(){return F})),i.d(t,"b",(function(){return w})),i.d(t,"c",(function(){return O})),i.d(t,"d",(function(){return x})),i.d(t,"e",(function(){return $}));const a=globalThis.trustedTypes,o=a?a.createPolicy("lit-html",{createHTML:e=>e}):void 0,c=`lit$${(Math.random()+"").slice(9)}$`,n="?"+c,s=`<${n}>`,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,...i)=>({_$litType$:e,strings:t,values:i}),w=A(1),O=(A(2),Symbol.for("lit-noChange")),x=Symbol.for("lit-nothing"),k=new WeakMap,$=(e,t,i)=>{var r,a;const o=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:t;let c=o._$litPart$;if(void 0===c){const e=null!==(a=null==i?void 0:i.renderBefore)&&void 0!==a?a:null;o._$litPart$=c=new T(t.insertBefore(l(),e),e,void 0,null!=i?i:{})}return c._$AI(e),c},E=d.createTreeWalker(d,129,null,!1),S=(e,t)=>{const i=e.length-1,r=[];let a,n=2===t?"<svg>":"",d=m;for(let t=0;t<i;t++){const i=e[t];let o,l,p=-1,u=0;for(;u<i.length&&(d.lastIndex=u,l=d.exec(i),null!==l);)u=d.lastIndex,d===m?"!--"===l[1]?d=f:void 0!==l[1]?d=v:void 0!==l[2]?(_.test(l[2])&&(a=RegExp("</"+l[2],"g")),d=b):void 0!==l[3]&&(d=b):d===b?">"===l[0]?(d=null!=a?a:m,p=-1):void 0===l[1]?p=-2:(p=d.lastIndex-l[2].length,o=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,a=void 0);const h=d===b&&e[t+1].startsWith("/>")?" ":"";n+=d===m?i+s:p>=0?(r.push(o),i.slice(0,p)+"$lit$"+i.slice(p)+c+h):i+c+(-2===p?(r.push(void 0),t):h)}const l=n+(e[i]||"<?>")+(2===t?"</svg>":"");return[void 0!==o?o.createHTML(l):l,r]};class j{constructor({strings:e,_$litType$:t},i){let r;this.parts=[];let o=0,s=0;const d=e.length-1,p=this.parts,[u,h]=S(e,t);if(this.el=j.createElement(u,i),E.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(r=E.nextNode())&&p.length<d;){if(1===r.nodeType){if(r.hasAttributes()){const e=[];for(const t of r.getAttributeNames())if(t.endsWith("$lit$")||t.startsWith(c)){const i=h[s++];if(e.push(t),void 0!==i){const e=r.getAttribute(i.toLowerCase()+"$lit$").split(c),t=/([.?@])?(.*)/.exec(i);p.push({type:1,index:o,name:t[2],strings:e,ctor:"."===t[1]?H:"?"===t[1]?D:"@"===t[1]?z:P})}else p.push({type:6,index:o})}for(const t of e)r.removeAttribute(t)}if(_.test(r.tagName)){const e=r.textContent.split(c),t=e.length-1;if(t>0){r.textContent=a?a.emptyScript:"";for(let i=0;i<t;i++)r.append(e[i],l()),E.nextNode(),p.push({type:2,index:++o});r.append(e[t],l())}}}else if(8===r.nodeType)if(r.data===n)p.push({type:2,index:o});else{let e=-1;for(;-1!==(e=r.data.indexOf(c,e+1));)p.push({type:7,index:o}),e+=c.length-1}o++}}static createElement(e,t){const i=d.createElement("template");return i.innerHTML=e,i}}function C(e,t,i=e,r){var a,o,c,n;if(t===O)return t;let s=void 0!==r?null===(a=i._$Cl)||void 0===a?void 0:a[r]:i._$Cu;const d=p(t)?void 0:t._$litDirective$;return(null==s?void 0:s.constructor)!==d&&(null===(o=null==s?void 0:s._$AO)||void 0===o||o.call(s,!1),void 0===d?s=void 0:(s=new d(e),s._$AT(e,i,r)),void 0!==r?(null!==(c=(n=i)._$Cl)&&void 0!==c?c:n._$Cl=[])[r]=s:i._$Cu=s),void 0!==s&&(t=C(e,s._$AS(e,t.values),s,r)),t}class R{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:i},parts:r}=this._$AD,a=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:d).importNode(i,!0);E.currentNode=a;let o=E.nextNode(),c=0,n=0,s=r[0];for(;void 0!==s;){if(c===s.index){let t;2===s.type?t=new T(o,o.nextSibling,this,e):1===s.type?t=new s.ctor(o,s.name,s.strings,this,e):6===s.type&&(t=new I(o,this,e)),this.v.push(t),s=r[++n]}c!==(null==s?void 0:s.index)&&(o=E.nextNode(),c++)}return a}m(e){let t=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}}class T{constructor(e,t,i,r){var a;this.type=2,this._$AH=x,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=r,this._$Cg=null===(a=null==r?void 0:r.isConnected)||void 0===a||a}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=C(this,e,t),p(e)?e===x||null==e||""===e?(this._$AH!==x&&this._$AR(),this._$AH=x):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!==x&&p(this._$AH)?this._$AA.nextSibling.data=e:this.S(d.createTextNode(e)),this._$AH=e}T(e){var t;const{values:i,_$litType$:r}=e,a="number"==typeof r?this._$AC(e):(void 0===r.el&&(r.el=j.createElement(r.h,this.options)),r);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===a)this._$AH.m(i);else{const e=new R(a,this),t=e.p(this.options);e.m(i),this.S(t),this._$AH=e}}_$AC(e){let t=k.get(e.strings);return void 0===t&&k.set(e.strings,t=new j(e)),t}M(e){u(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let i,r=0;for(const a of e)r===t.length?t.push(i=new T(this.A(l()),this.A(l()),this,this.options)):i=t[r],i._$AI(a),r++;r<t.length&&(this._$AR(i&&i._$AB.nextSibling,r),t.length=r)}_$AR(e=this._$AA.nextSibling,t){var i;for(null===(i=this._$AP)||void 0===i||i.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,i,r,a){this.type=1,this._$AH=x,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=a,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=x}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,i,r){const a=this.strings;let o=!1;if(void 0===a)e=C(this,e,t,0),o=!p(e)||e!==this._$AH&&e!==O,o&&(this._$AH=e);else{const r=e;let c,n;for(e=a[0],c=0;c<a.length-1;c++)n=C(this,r[i+c],t,c),n===O&&(n=this._$AH[c]),o||(o=!p(n)||n!==this._$AH[c]),n===x?e=x:e!==x&&(e+=(null!=n?n:"")+a[c+1]),this._$AH[c]=n}o&&!r&&this.k(e)}k(e){e===x?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===x?void 0:e}}class D extends P{constructor(){super(...arguments),this.type=4}k(e){e&&e!==x?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)}}class z extends P{constructor(e,t,i,r,a){super(e,t,i,r,a),this.type=5}_$AI(e,t=this){var i;if((e=null!==(i=C(this,e,t,0))&&void 0!==i?i:x)===O)return;const r=this._$AH,a=e===x&&r!==x||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,o=e!==x&&(r===x||a);a&&this.element.removeEventListener(this.name,this,r),o&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(t=this.options)||void 0===t?void 0:t.host)&&void 0!==i?i:this.element,e):this._$AH.handleEvent(e)}}class I{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){C(this,e)}}const F={P:"$lit$",V:c,L:n,I:1,N:S,R:R,D:h,j:C,H:T,O:P,F:D,B:z,W:H,Z:I},L=window.litHtmlPolyfillSupport;null==L||L(j,T),(null!==(r=globalThis.litHtmlVersions)&&void 0!==r?r:globalThis.litHtmlVersions=[]).push("2.0.1")},,function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));
|
29
|
+
/**
|
30
|
+
* @license
|
31
|
+
* Copyright 2017 Google LLC
|
32
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
33
|
+
*/
|
34
|
+
const r=({finisher:e,descriptor:t})=>(i,r)=>{var a;if(void 0===r){const r=null!==(a=i.originalKey)&&void 0!==a?a:i.key,o=null!=t?{kind:"method",placement:"prototype",key:r,descriptor:t(i.key)}:{...i,key:r};return null!=e&&(o.finisher=function(t){e(t,r)}),o}{const a=i.constructor;void 0!==t&&Object.defineProperty(i,r,t(r)),null==e||e(a,r)}}},function(e,t,i){"use strict";i.d(t,"a",(function(){return o})),i.d(t,"b",(function(){return r})),i.d(t,"c",(function(){return a}));
|
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},a=e=>(...t)=>({_$litDirective$:e,values:t});class o{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,i){this._$Ct=e,this._$AM=t,this._$Ci=i}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}},function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"a",(function(){return m}));
|
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,a=Symbol(),o=new Map;class c{constructor(e,t){if(this._$cssResult$=!0,t!==a)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){let e=o.get(this.cssText);return r&&void 0===e&&(o.set(this.cssText,e=new CSSStyleSheet),e.replaceSync(this.cssText)),e}toString(){return this.cssText}}const n=(e,...t)=>{const i=1===e.length?e[0]:t.reduce((t,i,r)=>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.")})(i)+e[r+1],e[0]);return new c(i,a)},s=r?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const i of e.cssRules)t+=i.cssText;return(e=>new c("string"==typeof e?e:e+"",a))(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 i=e;switch(t){case Boolean:i=null!==e;break;case Number:i=null===e?null:Number(e);break;case Object:case Array:try{i=JSON.parse(e)}catch(e){i=null}}return i}},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,i)=>{const r=this._$Eh(i,t);void 0!==r&&(this._$Eu.set(r,i),e.push(r))}),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 i="symbol"==typeof e?Symbol():"__"+e,r=this.getPropertyDescriptor(e,i,t);void 0!==r&&Object.defineProperty(this.prototype,e,r)}}static getPropertyDescriptor(e,t,i){return{get(){return this[t]},set(r){const a=this[e];this[t]=r,this.requestUpdate(e,a,i)},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 i of t)this.createProperty(i,e[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const e of i)t.unshift(s(e))}else void 0!==e&&t.push(s(e));return t}static _$Eh(e,t){const i=t.attribute;return!1===i?void 0:"string"==typeof i?i:"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,i;(null!==(t=this._$Em)&&void 0!==t?t:this._$Em=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(i=e.hostConnected)||void 0===i||i.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 i=t,a=this.constructor.elementStyles,r?i.adoptedStyleSheets=a.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):a.forEach(e=>{const t=document.createElement("style"),r=window.litNonce;void 0!==r&&t.setAttribute("nonce",r),t.textContent=e.cssText,i.appendChild(t)}),t;var i,a}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,i){this._$AK(e,i)}_$Eg(e,t,i=h){var r,a;const o=this.constructor._$Eh(e,i);if(void 0!==o&&!0===i.reflect){const c=(null!==(a=null===(r=i.converter)||void 0===r?void 0:r.toAttribute)&&void 0!==a?a:p.toAttribute)(t,i.type);this._$Ei=e,null==c?this.removeAttribute(o):this.setAttribute(o,c),this._$Ei=null}}_$AK(e,t){var i,r,a;const o=this.constructor,c=o._$Eu.get(e);if(void 0!==c&&this._$Ei!==c){const e=o.getPropertyOptions(c),n=e.converter,s=null!==(a=null!==(r=null===(i=n)||void 0===i?void 0:i.fromAttribute)&&void 0!==r?r:"function"==typeof n?n:null)&&void 0!==a?a:p.fromAttribute;this._$Ei=c,this[c]=s(t,e.type),this._$Ei=null}}requestUpdate(e,t,i){let r=!0;void 0!==e&&(((i=i||this.constructor.getPropertyOptions(e)).hasChanged||u)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===i.reflect&&this._$Ei!==e&&(void 0===this._$ES&&(this._$ES=new Map),this._$ES.set(e,i))):r=!1),!this.isUpdatePending&&r&&(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 i=this._$AL;try{t=this.shouldUpdate(i),t?(this.willUpdate(i),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(i)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(i)}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,i){"use strict";i.d(t,"a",(function(){return o}));var r=i(2),a=i(5);
|
52
|
+
/**
|
53
|
+
* @license
|
54
|
+
* Copyright 2018 Google LLC
|
55
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
56
|
+
*/
|
57
|
+
const o=Object(a.c)(class extends a.a{constructor(e){var t;if(super(e),e.type!==a.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 i,a;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===(i=this.et)||void 0===i?void 0:i.has(e))&&this.st.add(e);return this.render(t)}const o=e.element.classList;this.st.forEach(e=>{e in t||(o.remove(e),this.st.delete(e))});for(const e in t){const i=!!t[e];i===this.st.has(e)||(null===(a=this.et)||void 0===a?void 0:a.has(e))||(i?(o.add(e),this.st.add(e)):(o.remove(e),this.st.delete(e)))}return r.c}})},function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));
|
58
|
+
/**
|
59
|
+
* @license
|
60
|
+
* Copyright 2017 Google LLC
|
61
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
62
|
+
*/
|
63
|
+
const r=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(i){i.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(i){i.createProperty(t.key,e)}};function a(e){return(t,i)=>void 0!==i?((e,t,i)=>{t.constructor.createProperty(i,e)})(e,t,i):r(e,t)}},function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var r=i(0),a=i(23);i.d(t,"b",(function(){return a.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(e,t,i){"use strict";var r=i(15);i.d(t,"a",(function(){return r.a}));var a=i(8);i.d(t,"b",(function(){return a.a}));i(16),i(17);var o=i(18);i.d(t,"c",(function(){return o.a}));i(19),i(20),i(21)},function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));
|
70
|
+
/**
|
71
|
+
* @license
|
72
|
+
* Copyright 2018 Google LLC
|
73
|
+
* SPDX-License-Identifier: Apache-2.0
|
74
|
+
*/
|
75
|
+
const r=e=>(t,i)=>{if(t.constructor._observers){if(!t.constructor.hasOwnProperty("_observers")){const e=t.constructor._observers;t.constructor._observers=new Map,e.forEach((e,i)=>t.constructor._observers.set(i,e))}}else{t.constructor._observers=new Map;const e=t.updated;t.updated=function(t){e.call(this,t),t.forEach((e,t)=>{const i=this.constructor._observers.get(t);void 0!==i&&i.call(this,this[t],e)})}}t.constructor._observers.set(i,e)}},function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var r=i(2);
|
76
|
+
/**
|
77
|
+
* @license
|
78
|
+
* Copyright 2018 Google LLC
|
79
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
80
|
+
*/const a=e=>null!=e?e:r.d},function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));
|
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 r=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,i){"use strict";i.d(t,"a",(function(){return n}));var r=i(6);i.d(t,"b",(function(){return r.b}));var a,o,c=i(2);i.d(t,"c",(function(){return c.b}));r.a;class n extends r.a{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var e,t;const i=super.createRenderRoot();return null!==(e=(t=this.renderOptions).renderBefore)&&void 0!==e||(t.renderBefore=i.firstChild),i}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Dt=Object(c.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 c.c}}n.finalized=!0,n._$litElement$=!0,null===(a=globalThis.litElementHydrateSupport)||void 0===a||a.call(globalThis,{LitElement:n});const s=globalThis.litElementPolyfillSupport;null==s||s({LitElement:n});(null!==(o=globalThis.litElementVersions)&&void 0!==o?o:globalThis.litElementVersions=[]).push("3.0.1")},function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));
|
104
|
+
/**
|
105
|
+
* @license
|
106
|
+
* Copyright 2017 Google LLC
|
107
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
108
|
+
*/
|
109
|
+
const r=e=>t=>"function"==typeof t?((e,t)=>(window.customElements.define(e,t),t))(e,t):((e,t)=>{const{kind:i,elements:r}=t;return{kind:i,elements:r,finisher(t){window.customElements.define(e,t)}}})(e,t)},function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var r=i(8);
|
110
|
+
/**
|
111
|
+
* @license
|
112
|
+
* Copyright 2017 Google LLC
|
113
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
114
|
+
*/function a(e){return Object(r.a)({...e,state:!0})}},function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var r=i(4);
|
115
|
+
/**
|
116
|
+
* @license
|
117
|
+
* Copyright 2017 Google LLC
|
118
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
119
|
+
*/function a(e){return Object(r.a)({finisher:(t,i)=>{Object.assign(t.prototype[i],e)}})}},function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var r=i(4);
|
120
|
+
/**
|
121
|
+
* @license
|
122
|
+
* Copyright 2017 Google LLC
|
123
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
124
|
+
*/function a(e,t){return Object(r.a)({descriptor:i=>{const r={get(){var t,i;return null!==(i=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(t){const t="symbol"==typeof i?Symbol():"__"+i;r.get=function(){var i,r;return void 0===this[t]&&(this[t]=null!==(r=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(e))&&void 0!==r?r:null),this[t]}}return r}})}},function(e,t,i){"use strict";i(4);
|
125
|
+
/**
|
126
|
+
* @license
|
127
|
+
* Copyright 2017 Google LLC
|
128
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
129
|
+
*/},function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var r=i(4);
|
130
|
+
/**
|
131
|
+
* @license
|
132
|
+
* Copyright 2017 Google LLC
|
133
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
134
|
+
*/function a(e){return Object(r.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,i){"use strict";i.d(t,"a",(function(){return a}));var r=i(4);
|
135
|
+
/**
|
136
|
+
* @license
|
137
|
+
* Copyright 2017 Google LLC
|
138
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
139
|
+
*/function a(e="",t=!1,i=""){return Object(r.a)({descriptor:r=>({get(){var r,a,o;const c="slot"+(e?`[name=${e}]`:":not([name])");let n=null!==(o=null===(a=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(c))||void 0===a?void 0:a.assignedNodes({flatten:t}))&&void 0!==o?o:[];return i&&(n=n.filter(e=>e.nodeType===Node.ELEMENT_NODE&&e.matches(i))),n},enumerable:!0,configurable:!0})})}},,function(e,t,i){"use strict";i.d(t,"d",(function(){return r})),i.d(t,"a",(function(){return a})),i.d(t,"e",(function(){return s})),i.d(t,"b",(function(){return d})),i.d(t,"c",(function(){return l}));
|
140
|
+
/**
|
141
|
+
* @license
|
142
|
+
* Copyright 2018 Google LLC
|
143
|
+
* SPDX-License-Identifier: Apache-2.0
|
144
|
+
*/
|
145
|
+
const r=e=>e.nodeType===Node.ELEMENT_NODE;function a(e){return{addClass:t=>{e.classList.add(t)},removeClass:t=>{e.classList.remove(t)},hasClass:t=>e.classList.contains(t)}}let o=!1;const c=()=>{},n={get passive(){return o=!0,!1}};document.addEventListener("x",c,n),document.removeEventListener("x",c);const s=o,d=(e=window.document)=>{let t=e.activeElement;const i=[];if(!t)return i;for(;t&&(i.push(t),t.shadowRoot);)t=t.shadowRoot.activeElement;return i},l=e=>{const t=d();if(!t.length)return!1;const i=t[t.length-1],r=new Event("check-if-focused",{bubbles:!0,composed:!0});let a=[];const o=e=>{a=e.composedPath()};return document.body.addEventListener("check-if-focused",o),i.dispatchEvent(r),document.body.removeEventListener("check-if-focused",o),-1!==a.indexOf(e)}},,,function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var r=i(2),a=i(5);
|
146
|
+
/**
|
147
|
+
* @license
|
148
|
+
* Copyright 2018 Google LLC
|
149
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
150
|
+
*/
|
151
|
+
const o=Object(a.c)(class extends a.a{constructor(e){var t;if(super(e),e.type!==a.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,i)=>{const r=e[i];return null==r?t:t+`${i=i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`},"")}update(e,[t]){const{style:i}=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("-")?i.removeProperty(e):i[e]="")});for(const e in t){const r=t[e];null!=r&&(this.ut.add(e),e.includes("-")?i.setProperty(e,r):i[e]=r)}return r.c}})},,,function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));
|
152
|
+
/**
|
153
|
+
* @license
|
154
|
+
* Copyright 2020 Google LLC
|
155
|
+
* SPDX-License-Identifier: Apache-2.0
|
156
|
+
*/
|
157
|
+
class r{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,i){"use strict";function r(e,t,i){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,i){const r=e.constructor;if(!i){const e="__"+t;if(!(i=r.getPropertyDescriptor(t,e)))throw new Error("@ariaProperty must be used after a @property decorator")}const a=i;let o="";if(!a.set)throw new Error("@ariaProperty requires a setter for "+t);const c={configurable:!0,enumerable:!0,set(e){if(""===o){const e=r.getPropertyOptions(t);o=e.attribute}this.hasAttribute(o)&&this.removeAttribute(o),a.set.call(this,e)}};return a.get&&(c.get=function(){return a.get.call(this)}),c}(e,t,i);throw new Error("@ariaProperty only supports TypeScript Decorators")}i.d(t,"a",(function(){return r}))},function(e,t,i){"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 r(e,t){if(e.closest)return e.closest(t);for(var i=e;i;){if(a(i,t))return i;i=i.parentElement}return null}function a(e,t){return(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t)}i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return a}))},,function(e,t,i){"use strict";i.d(t,"a",(function(){return d}));var r,a,o=i(1),c=i(0),n=i(9);i.d(t,"b",(function(){return n.b}));const s=null!==(a=null===(r=window.ShadyDOM)||void 0===r?void 0:r.inUse)&&void 0!==a&&a;class d extends n.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(o.b)([Object(c.f)({type:Boolean})],d.prototype,"disabled",void 0)},,function(e,t,i){"use strict";var r=i(1),a=i(0),o=i(31),c=i(9),n=i(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(i){var a=e.call(this,Object(r.a)(Object(r.a)({},t.defaultAdapter),i))||this;return a.activationAnimationHasEnded=!1,a.activationTimer=0,a.fgDeactivationRemovalTimer=0,a.fgScale="0",a.frame={width:0,height:0},a.initialSize=0,a.layoutFrame=0,a.maxRadius=0,a.unboundedCoords={left:0,top:0},a.activationState=a.defaultActivationState(),a.activationTimerCallback=function(){a.activationAnimationHasEnded=!0,a.runDeactivationUXLogicIfReady()},a.activateHandler=function(e){a.activateImpl(e)},a.deactivateHandler=function(){a.deactivateImpl()},a.focusHandler=function(){a.handleFocus()},a.blurHandler=function(){a.handleBlur()},a.resizeHandler=function(){a.layout()},a}return Object(r.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,i=this.supportsPressRipple();if(this.registerRootHandlers(i),i){var r=t.cssClasses,a=r.ROOT,o=r.UNBOUNDED;requestAnimationFrame((function(){e.adapter.addClass(a),e.adapter.isUnbounded()&&(e.adapter.addClass(o),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 i=t.cssClasses,r=i.ROOT,a=i.UNBOUNDED;requestAnimationFrame((function(){e.adapter.removeClass(r),e.adapter.removeClass(a),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 i=t.cssClasses.UNBOUNDED;e?this.adapter.addClass(i):this.adapter.removeClass(i)},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,i;if(e){try{for(var a=Object(r.f)(p),o=a.next();!o.done;o=a.next()){var c=o.value;this.adapter.registerInteractionHandler(c,this.activateHandler)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(i=a.return)&&i.call(a)}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,i;if("keydown"===e.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var a=Object(r.f)(u),o=a.next();!o.done;o=a.next()){var c=o.value;this.adapter.registerDocumentInteractionHandler(c,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}},t.prototype.deregisterRootHandlers=function(){var e,t;try{for(var i=Object(r.f)(p),a=i.next();!a.done;a=i.next()){var o=a.value;this.adapter.deregisterInteractionHandler(o,this.activateHandler)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}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 i=Object(r.f)(u),a=i.next();!a.done;a=i.next()){var o=a.value;this.adapter.deregisterDocumentInteractionHandler(o,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}},t.prototype.removeCssVars=function(){var e=this,i=t.strings;Object.keys(i).forEach((function(t){0===t.indexOf("VAR_")&&e.adapter.updateCssVariable(i[t],null)}))},t.prototype.activateImpl=function(e){var t=this;if(!this.adapter.isSurfaceDisabled()){var i=this.activationState;if(!i.isActivated){var r=this.previousActivationEvent;if(!(r&&void 0!==e&&r.type!==e.type))i.isActivated=!0,i.isProgrammatic=void 0===e,i.activationEvent=e,i.wasActivatedByPointer=!i.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)),i.wasElementMadeActive=this.checkElementMadeActive(e),i.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){h=[],i.wasElementMadeActive||void 0===e||" "!==e.key&&32!==e.keyCode||(i.wasElementMadeActive=t.checkElementMadeActive(e),i.wasElementMadeActive&&t.animateActivation()),i.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,i=t.strings,r=i.VAR_FG_TRANSLATE_START,a=i.VAR_FG_TRANSLATE_END,o=t.cssClasses,c=o.FG_DEACTIVATION,n=o.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(r,d),this.adapter.updateCssVariable(a,l),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(c),this.adapter.computeBoundingRect(),this.adapter.addClass(n),this.activationTimer=setTimeout((function(){e.activationTimerCallback()}),s)},t.prototype.getFgTranslationCoordinates=function(){var e,t=this.activationState,i=t.activationEvent;return{startPoint:e={x:(e=t.wasActivatedByPointer?function(e,t,i){if(!e)return{x:0,y:0};var r,a,o=t.x,c=t.y,n=o+i.left,s=c+i.top;if("touchstart"===e.type){var d=e;r=d.changedTouches[0].pageX-n,a=d.changedTouches[0].pageY-s}else{var l=e;r=l.pageX-n,a=l.pageY-s}return{x:r,y:a}}(i,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,i=t.cssClasses.FG_DEACTIVATION,r=this.activationState,a=r.hasDeactivationUXRun,o=r.isActivated;(a||!o)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(i),this.fgDeactivationRemovalTimer=setTimeout((function(){e.adapter.removeClass(i)}),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 i=Object(r.a)({},t);t.isProgrammatic?(requestAnimationFrame((function(){e.animateDeactivation(i)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){e.activationState.hasDeactivationUXRun=!0,e.animateDeactivation(i),e.resetActivationState()})))}},t.prototype.animateDeactivation=function(e){var t=e.wasActivatedByPointer,i=e.wasElementMadeActive;(t||i)&&this.runDeactivationUXLogicIfReady()},t.prototype.layoutInternal=function(){var e=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(e.frame.width,2)+Math.pow(e.frame.height,2))+t.numbers.PADDING;var r=Math.floor(i*t.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()},t.prototype.updateLayoutCssVars=function(){var e=t.strings,i=e.VAR_FG_SIZE,r=e.VAR_LEFT,a=e.VAR_TOP,o=e.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(a,this.unboundedCoords.top+"px"))},t}(n.a),f=i(7),v=i(26);
|
210
|
+
/**
|
211
|
+
* @license
|
212
|
+
* Copyright 2018 Google LLC
|
213
|
+
* SPDX-License-Identifier: Apache-2.0
|
214
|
+
*/
|
215
|
+
class b extends c.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(o.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),i={"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 a.e`
|
216
|
+
<div class="mdc-ripple-surface mdc-ripple-upgraded ${Object(f.a)(i)}"
|
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(r.b)([Object(a.g)(".mdc-ripple-surface")],b.prototype,"mdcRoot",void 0),Object(r.b)([Object(a.f)({type:Boolean})],b.prototype,"primary",void 0),Object(r.b)([Object(a.f)({type:Boolean})],b.prototype,"accent",void 0),Object(r.b)([Object(a.f)({type:Boolean})],b.prototype,"unbounded",void 0),Object(r.b)([Object(a.f)({type:Boolean})],b.prototype,"disabled",void 0),Object(r.b)([Object(a.f)({type:Boolean})],b.prototype,"activated",void 0),Object(r.b)([Object(a.f)({type:Boolean})],b.prototype,"selected",void 0),Object(r.b)([Object(a.f)({type:Boolean})],b.prototype,"internalUseStateLayerCustomProperties",void 0),Object(r.b)([Object(a.j)()],b.prototype,"hovering",void 0),Object(r.b)([Object(a.j)()],b.prototype,"bgFocused",void 0),Object(r.b)([Object(a.j)()],b.prototype,"fgActivation",void 0),Object(r.b)([Object(a.j)()],b.prototype,"fgDeactivation",void 0),Object(r.b)([Object(a.j)()],b.prototype,"fgScale",void 0),Object(r.b)([Object(a.j)()],b.prototype,"fgSize",void 0),Object(r.b)([Object(a.j)()],b.prototype,"translateStart",void 0),Object(r.b)([Object(a.j)()],b.prototype,"translateEnd",void 0),Object(r.b)([Object(a.j)()],b.prototype,"leftPos",void 0),Object(r.b)([Object(a.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=a.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(r.b)([Object(a.c)("mwc-ripple")],y)},function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var r=i(1),a=(i(35),i(11)),o=i(29),c=i(0),n=i(7);
|
229
|
+
/**
|
230
|
+
* @license
|
231
|
+
* Copyright 2020 Google LLC
|
232
|
+
* SPDX-License-Identifier: Apache-2.0
|
233
|
+
*/
|
234
|
+
class s extends c.a{constructor(){super(...arguments),this.value="",this.group=null,this.tabindex=-1,this.disabled=!1,this.twoline=!1,this.activated=!1,this.graphic=null,this.multipleGraphics=!1,this.hasMeta=!1,this.noninteractive=!1,this.selected=!1,this.shouldRenderRipple=!1,this._managingList=null,this.boundOnClick=this.onClick.bind(this),this._firstChanged=!0,this._skipPropRequest=!1,this.rippleHandlers=new o.a(()=>(this.shouldRenderRipple=!0,this.ripple)),this.listeners=[{target:this,eventNames:["click"],cb:()=>{this.onClick()}},{target:this,eventNames:["mouseenter"],cb:this.rippleHandlers.startHover},{target:this,eventNames:["mouseleave"],cb:this.rippleHandlers.endHover},{target:this,eventNames:["focus"],cb:this.rippleHandlers.startFocus},{target:this,eventNames:["blur"],cb:this.rippleHandlers.endFocus},{target:this,eventNames:["mousedown","touchstart"],cb:e=>{const t=e.type;this.onDown("mousedown"===t?"mouseup":"touchend",e)}}]}get text(){const e=this.textContent;return e?e.trim():""}render(){const e=this.renderText(),t=this.graphic?this.renderGraphic():c.e``,i=this.hasMeta?this.renderMeta():c.e``;return c.e`
|
235
|
+
${this.renderRipple()}
|
236
|
+
${t}
|
237
|
+
${e}
|
238
|
+
${i}`}renderRipple(){return this.shouldRenderRipple?c.e`
|
239
|
+
<mwc-ripple
|
240
|
+
.activated=${this.activated}>
|
241
|
+
</mwc-ripple>`:this.activated?c.e`<div class="fake-activated-ripple"></div>`:""}renderGraphic(){const e={multi:this.multipleGraphics};return c.e`
|
242
|
+
<span class="mdc-deprecated-list-item__graphic material-icons ${Object(n.a)(e)}">
|
243
|
+
<slot name="graphic"></slot>
|
244
|
+
</span>`}renderMeta(){return c.e`
|
245
|
+
<span class="mdc-deprecated-list-item__meta material-icons">
|
246
|
+
<slot name="meta"></slot>
|
247
|
+
</span>`}renderText(){const e=this.twoline?this.renderTwoline():this.renderSingleLine();return c.e`
|
248
|
+
<span class="mdc-deprecated-list-item__text">
|
249
|
+
${e}
|
250
|
+
</span>`}renderSingleLine(){return c.e`<slot></slot>`}renderTwoline(){return c.e`
|
251
|
+
<span class="mdc-deprecated-list-item__primary-text">
|
252
|
+
<slot></slot>
|
253
|
+
</span>
|
254
|
+
<span class="mdc-deprecated-list-item__secondary-text">
|
255
|
+
<slot name="secondary"></slot>
|
256
|
+
</span>
|
257
|
+
`}onClick(){this.fireRequestSelected(!this.selected,"interaction")}onDown(e,t){const i=()=>{window.removeEventListener(e,i),this.rippleHandlers.endPress()};window.addEventListener(e,i),this.rippleHandlers.startPress(t)}fireRequestSelected(e,t){if(this.noninteractive)return;const i=new CustomEvent("request-selected",{bubbles:!0,composed:!0,detail:{source:t,selected:e}});this.dispatchEvent(i)}connectedCallback(){super.connectedCallback(),this.noninteractive||this.setAttribute("mwc-list-item","");for(const e of this.listeners)for(const t of e.eventNames)e.target.addEventListener(t,e.cb,{passive:!0})}disconnectedCallback(){super.disconnectedCallback();for(const e of this.listeners)for(const t of e.eventNames)e.target.removeEventListener(t,e.cb);this._managingList&&(this._managingList.debouncedLayout?this._managingList.debouncedLayout(!0):this._managingList.layout(!0))}firstUpdated(){const e=new Event("list-item-rendered",{bubbles:!0,composed:!0});this.dispatchEvent(e)}}Object(r.b)([Object(c.g)("slot")],s.prototype,"slotElement",void 0),Object(r.b)([Object(c.i)("mwc-ripple")],s.prototype,"ripple",void 0),Object(r.b)([Object(c.f)({type:String})],s.prototype,"value",void 0),Object(r.b)([Object(c.f)({type:String,reflect:!0})],s.prototype,"group",void 0),Object(r.b)([Object(c.f)({type:Number,reflect:!0})],s.prototype,"tabindex",void 0),Object(r.b)([Object(c.f)({type:Boolean,reflect:!0}),Object(a.a)((function(e){e?this.setAttribute("aria-disabled","true"):this.setAttribute("aria-disabled","false")}))],s.prototype,"disabled",void 0),Object(r.b)([Object(c.f)({type:Boolean,reflect:!0})],s.prototype,"twoline",void 0),Object(r.b)([Object(c.f)({type:Boolean,reflect:!0})],s.prototype,"activated",void 0),Object(r.b)([Object(c.f)({type:String,reflect:!0})],s.prototype,"graphic",void 0),Object(r.b)([Object(c.f)({type:Boolean})],s.prototype,"multipleGraphics",void 0),Object(r.b)([Object(c.f)({type:Boolean})],s.prototype,"hasMeta",void 0),Object(r.b)([Object(c.f)({type:Boolean,reflect:!0}),Object(a.a)((function(e){e?(this.removeAttribute("aria-checked"),this.removeAttribute("mwc-list-item"),this.selected=!1,this.activated=!1,this.tabIndex=-1):this.setAttribute("mwc-list-item","")}))],s.prototype,"noninteractive",void 0),Object(r.b)([Object(c.f)({type:Boolean,reflect:!0}),Object(a.a)((function(e){const t=this.getAttribute("role"),i="gridcell"===t||"option"===t||"row"===t||"tab"===t;i&&e?this.setAttribute("aria-selected","true"):i&&this.setAttribute("aria-selected","false"),this._firstChanged?this._firstChanged=!1:this._skipPropRequest||this.fireRequestSelected(e,"property")}))],s.prototype,"selected",void 0),Object(r.b)([Object(c.j)()],s.prototype,"shouldRenderRipple",void 0),Object(r.b)([Object(c.j)()],s.prototype,"_managingList",void 0)},function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));
|
258
|
+
/**
|
259
|
+
* @license
|
260
|
+
* Copyright 2021 Google LLC
|
261
|
+
* SPDX-LIcense-Identifier: Apache-2.0
|
262
|
+
*/
|
263
|
+
const r=i(0).b`:host{cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;height:48px;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mdc-list-side-padding, 16px);padding-right:var(--mdc-list-side-padding, 16px);outline:none;height:48px;color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}:host:focus{outline:none}:host([activated]){color:#6200ee;color:var(--mdc-theme-primary, #6200ee);--mdc-ripple-color: var( --mdc-theme-primary, #6200ee )}:host([activated]) .mdc-deprecated-list-item__graphic{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}:host([activated]) .fake-activated-ripple::before{position:absolute;display:block;top:0;bottom:0;left:0;right:0;width:100%;height:100%;pointer-events:none;z-index:1;content:"";opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12);background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-deprecated-list-item__graphic{flex-shrink:0;align-items:center;justify-content:center;fill:currentColor;display:inline-flex}.mdc-deprecated-list-item__graphic ::slotted(*){flex-shrink:0;align-items:center;justify-content:center;fill:currentColor;width:100%;height:100%;text-align:center}.mdc-deprecated-list-item__meta{width:var(--mdc-list-item-meta-size, 24px);height:var(--mdc-list-item-meta-size, 24px);margin-left:auto;margin-right:0;color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, 0.38))}.mdc-deprecated-list-item__meta.multi{width:auto}.mdc-deprecated-list-item__meta ::slotted(*){width:var(--mdc-list-item-meta-size, 24px);line-height:var(--mdc-list-item-meta-size, 24px)}.mdc-deprecated-list-item__meta ::slotted(.material-icons),.mdc-deprecated-list-item__meta ::slotted(mwc-icon){line-height:var(--mdc-list-item-meta-size, 24px) !important}.mdc-deprecated-list-item__meta ::slotted(:not(.material-icons):not(mwc-icon)){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit)}[dir=rtl] .mdc-deprecated-list-item__meta,.mdc-deprecated-list-item__meta[dir=rtl]{margin-left:0;margin-right:auto}.mdc-deprecated-list-item__meta ::slotted(*){width:100%;height:100%}.mdc-deprecated-list-item__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-deprecated-list-item__text ::slotted([for]),.mdc-deprecated-list-item__text[for]{pointer-events:none}.mdc-deprecated-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal;margin-bottom:-20px;display:block}.mdc-deprecated-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-deprecated-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-deprecated-list-item__secondary-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal;display:block}.mdc-deprecated-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-deprecated-list--dense .mdc-deprecated-list-item__secondary-text{font-size:inherit}* ::slotted(a),a{color:inherit;text-decoration:none}:host([twoline]){height:72px}:host([twoline]) .mdc-deprecated-list-item__text{align-self:flex-start}:host([disabled]),:host([noninteractive]){cursor:default;pointer-events:none}:host([disabled]) .mdc-deprecated-list-item__text ::slotted(*){opacity:.38}:host([disabled]) .mdc-deprecated-list-item__text ::slotted(*),:host([disabled]) .mdc-deprecated-list-item__primary-text ::slotted(*),:host([disabled]) .mdc-deprecated-list-item__secondary-text ::slotted(*){color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-deprecated-list-item__secondary-text ::slotted(*){color:rgba(0, 0, 0, 0.54);color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, 0.54))}.mdc-deprecated-list-item__graphic ::slotted(*){background-color:transparent;color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-icon-on-background, rgba(0, 0, 0, 0.38))}.mdc-deprecated-list-group__subheader ::slotted(*){color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 40px);height:var(--mdc-list-item-graphic-size, 40px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 40px);line-height:var(--mdc-list-item-graphic-size, 40px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 40px) !important}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(*){border-radius:50%}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic,:host([graphic=medium]) .mdc-deprecated-list-item__graphic,:host([graphic=large]) .mdc-deprecated-list-item__graphic,:host([graphic=control]) .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:var(--mdc-list-item-graphic-margin, 16px)}[dir=rtl] :host([graphic=avatar]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=medium]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=large]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=control]) .mdc-deprecated-list-item__graphic,:host([graphic=avatar]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=medium]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=large]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=control]) .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:var(--mdc-list-item-graphic-margin, 16px);margin-right:0}:host([graphic=icon]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 24px);height:var(--mdc-list-item-graphic-size, 24px);margin-left:0;margin-right:var(--mdc-list-item-graphic-margin, 32px)}:host([graphic=icon]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 24px);line-height:var(--mdc-list-item-graphic-size, 24px)}:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 24px) !important}[dir=rtl] :host([graphic=icon]) .mdc-deprecated-list-item__graphic,:host([graphic=icon]) .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:var(--mdc-list-item-graphic-margin, 32px);margin-right:0}:host([graphic=avatar]:not([twoLine])),:host([graphic=icon]:not([twoLine])){height:56px}:host([graphic=medium]:not([twoLine])),:host([graphic=large]:not([twoLine])){height:72px}:host([graphic=medium]) .mdc-deprecated-list-item__graphic,:host([graphic=large]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 56px);height:var(--mdc-list-item-graphic-size, 56px)}:host([graphic=medium]) .mdc-deprecated-list-item__graphic.multi,:host([graphic=large]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(*),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 56px);line-height:var(--mdc-list-item-graphic-size, 56px)}:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 56px) !important}:host([graphic=large]){padding-left:0px}`},,,,,,,,,,,,,,,,function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));
|
264
|
+
/**
|
265
|
+
* @license
|
266
|
+
* Copyright 2020 Google LLC
|
267
|
+
* SPDX-License-Identifier: Apache-2.0
|
268
|
+
*/
|
269
|
+
const r=Symbol("selection controller");class a{constructor(){this.selected=null,this.ordered=null,this.set=new Set}}class o{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 i=t[r];return void 0===i&&(i=new o(t),t[r]=i),i}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),i=t.indexOf(e),r=t[i-1]||t[t.length-1];return this.select(r),r}selectNext(e){const t=this.getOrdered(e),i=t.indexOf(e),r=t[i+1]||t[0];return this.select(r),r}select(e){e.click()}focus(e){if(this.mouseIsDown)return;const t=this.getSet(e.name),i=this.focusedSet;this.focusedSet=t,i!=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 a),this.sets[e]}register(e){const t=e.name||e.getAttribute("name")||"",i=this.getSet(t);i.set.add(e),i.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 i of t.set)i!=e&&(i.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,i){"use strict";i.d(t,"a",(function(){return r}));
|
270
|
+
/**
|
271
|
+
* @license
|
272
|
+
* Copyright 2021 Google LLC
|
273
|
+
* SPDX-LIcense-Identifier: Apache-2.0
|
274
|
+
*/
|
275
|
+
const r=i(0).b`:host(:not([twoline])){height:56px}:host(:not([left])) .mdc-deprecated-list-item__meta{height:40px;width:40px}`},function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));
|
276
|
+
/**
|
277
|
+
* @license
|
278
|
+
* Copyright 2021 Google LLC
|
279
|
+
* SPDX-LIcense-Identifier: Apache-2.0
|
280
|
+
*/
|
281
|
+
const r=i(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,i){"use strict";i.d(t,"a",(function(){return v}));var r=i(1),a=(i(35),i(30)),o=i(33),c=i(11),n=i(53),s=i(29),d=i(13),l={NATIVE_CONTROL_SELECTOR:".mdc-radio__native-control"},p={DISABLED:"mdc-radio--disabled",ROOT:"mdc-radio"},u=function(e){function t(i){return e.call(this,Object(r.a)(Object(r.a)({},t.defaultAdapter),i))||this}return Object(r.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 i=t.cssClasses.DISABLED;this.adapter.setNativeControlDisabled(e),e?this.adapter.addClass(i):this.adapter.removeClass(i)},t}(d.a),h=i(0),m=i(7),f=i(12);
|
282
|
+
/**
|
283
|
+
* @license
|
284
|
+
* Copyright 2018 Google LLC
|
285
|
+
* SPDX-License-Identifier: Apache-2.0
|
286
|
+
*/
|
287
|
+
class v extends o.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,i;const r=this._checked;e!==r&&(this._checked=e,this.formElement&&(this.formElement.checked=e),null===(t=this._selectionController)||void 0===t||t.update(this),!1===e&&(null===(i=this.formElement)||void 0===i||i.blur()),this.requestUpdate("checked",r),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
|
288
|
+
.internalUseStateLayerCustomProperties="${this.useStateLayerCustomProperties}"
|
289
|
+
.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=n.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(o.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`
|
290
|
+
<div class="mdc-radio ${Object(m.a)(e)}">
|
291
|
+
<input
|
292
|
+
tabindex="${this.formElementTabIndex}"
|
293
|
+
class="mdc-radio__native-control"
|
294
|
+
type="radio"
|
295
|
+
name="${this.name}"
|
296
|
+
aria-label="${Object(f.a)(this.ariaLabel)}"
|
297
|
+
aria-labelledby="${Object(f.a)(this.ariaLabelledBy)}"
|
298
|
+
.checked="${this.checked}"
|
299
|
+
.value="${this.value}"
|
300
|
+
?disabled="${this.disabled}"
|
301
|
+
@change="${this.changeHandler}"
|
302
|
+
@focus="${this.handleFocus}"
|
303
|
+
@click="${this.handleClick}"
|
304
|
+
@blur="${this.handleBlur}"
|
305
|
+
@mousedown="${this.handleRippleMouseDown}"
|
306
|
+
@mouseenter="${this.handleRippleMouseEnter}"
|
307
|
+
@mouseleave="${this.handleRippleMouseLeave}"
|
308
|
+
@touchstart="${this.handleRippleTouchStart}"
|
309
|
+
@touchend="${this.handleRippleDeactivate}"
|
310
|
+
@touchcancel="${this.handleRippleDeactivate}">
|
311
|
+
<div class="mdc-radio__background">
|
312
|
+
<div class="mdc-radio__outer-circle"></div>
|
313
|
+
<div class="mdc-radio__inner-circle"></div>
|
314
|
+
</div>
|
315
|
+
${this.renderRipple()}
|
316
|
+
</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(r.b)([Object(h.g)(".mdc-radio")],v.prototype,"mdcRoot",void 0),Object(r.b)([Object(h.g)("input")],v.prototype,"formElement",void 0),Object(r.b)([Object(h.j)()],v.prototype,"useStateLayerCustomProperties",void 0),Object(r.b)([Object(h.f)({type:Boolean})],v.prototype,"global",void 0),Object(r.b)([Object(h.f)({type:Boolean,reflect:!0})],v.prototype,"checked",null),Object(r.b)([Object(h.f)({type:Boolean}),Object(c.a)((function(e){this.mdcFoundation.setDisabled(e)}))],v.prototype,"disabled",void 0),Object(r.b)([Object(h.f)({type:String}),Object(c.a)((function(e){this._handleUpdatedValue(e)}))],v.prototype,"value",void 0),Object(r.b)([Object(h.f)({type:String})],v.prototype,"name",void 0),Object(r.b)([Object(h.f)({type:Boolean})],v.prototype,"reducedTouchTarget",void 0),Object(r.b)([Object(h.f)({type:Number})],v.prototype,"formElementTabIndex",void 0),Object(r.b)([Object(h.j)()],v.prototype,"focused",void 0),Object(r.b)([Object(h.j)()],v.prototype,"shouldRenderRipple",void 0),Object(r.b)([Object(h.i)("mwc-ripple")],v.prototype,"ripple",void 0),Object(r.b)([a.a,Object(h.f)({attribute:"aria-label"})],v.prototype,"ariaLabel",void 0),Object(r.b)([a.a,Object(h.f)({attribute:"aria-labelledby"})],v.prototype,"ariaLabelledBy",void 0),Object(r.b)([Object(h.d)({passive:!0})],v.prototype,"handleRippleTouchStart",null)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,i){"use strict";i.r(t),i.d(t,"CovalentRadioListItemBase",(function(){return v}));var r=i(1),a=i(0),o=i(71),c=i(70);i(53);
|
317
|
+
/**
|
318
|
+
* @license
|
319
|
+
* Copyright 2018 Google LLC
|
320
|
+
* SPDX-License-Identifier: Apache-2.0
|
321
|
+
*/
|
322
|
+
let n=class extends o.a{};n.styles=[c.a],n=Object(r.b)([Object(a.c)("mwc-radio")],n);var s=i(7),d=i(12),l=i(36);
|
323
|
+
/**
|
324
|
+
* @license
|
325
|
+
* Copyright 2020 Google LLC
|
326
|
+
* SPDX-License-Identifier: Apache-2.0
|
327
|
+
*/
|
328
|
+
class p extends l.a{constructor(){super(...arguments),this.left=!1,this.graphic="control",this._changeFromClick=!1}render(){const e={"mdc-deprecated-list-item__graphic":this.left,"mdc-deprecated-list-item__meta":!this.left},t=this.renderText(),i=this.graphic&&"control"!==this.graphic&&!this.left?this.renderGraphic():a.e``,r=this.hasMeta&&this.left?this.renderMeta():a.e``,o=this.renderRipple();return a.e`
|
329
|
+
${o}
|
330
|
+
${i}
|
331
|
+
${this.left?"":t}
|
332
|
+
<mwc-radio
|
333
|
+
global
|
334
|
+
class=${Object(s.a)(e)}
|
335
|
+
tabindex=${this.tabindex}
|
336
|
+
name=${Object(d.a)(null===this.group?void 0:this.group)}
|
337
|
+
.checked=${this.selected}
|
338
|
+
?disabled=${this.disabled}
|
339
|
+
@checked=${this.onChange}>
|
340
|
+
</mwc-radio>
|
341
|
+
${this.left?t:""}
|
342
|
+
${r}`}onClick(){this._changeFromClick=!0,super.onClick()}async onChange(e){const t=e.target;this.selected===t.checked||(this._skipPropRequest=!0,this.selected=t.checked,await this.updateComplete,this._skipPropRequest=!1,this._changeFromClick||this.fireRequestSelected(this.selected,"interaction")),this._changeFromClick=!1}}Object(r.b)([Object(a.g)("slot")],p.prototype,"slotElement",void 0),Object(r.b)([Object(a.g)("mwc-radio")],p.prototype,"radioElement",void 0),Object(r.b)([Object(a.f)({type:Boolean})],p.prototype,"left",void 0),Object(r.b)([Object(a.f)({type:String,reflect:!0})],p.prototype,"graphic",void 0);var u=i(69),h=i(37),m=i(10),f=function(e,t,i,r){var a,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,i,r);else for(var n=e.length-1;n>=0;n--)(a=e[n])&&(c=(o<3?a(c):o>3?a(t,i,c):a(t,i))||c);return o>3&&c&&Object.defineProperty(t,i,c),c};let v=class extends p{};v.styles=[h.a,u.a],v=f([Object(m.a)("td-radio-list-item")],v)}]);
|