@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/switch.js
ADDED
@@ -0,0 +1,360 @@
|
|
1
|
+
!function(e){var t={};function r(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=e,r.c=t,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(i,a,function(t){return e[t]}.bind(null,a));return i},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=83)}([function(e,t,r){"use strict";var i=r(6);r.d(t,"b",(function(){return i.b}));var a=r(2);r.d(t,"e",(function(){return a.b}));var c=r(14);r.d(t,"a",(function(){return c.a}));r(4);var s=r(15);r.d(t,"c",(function(){return s.a}));var n=r(8);r.d(t,"f",(function(){return n.a}));var o=r(16);r.d(t,"j",(function(){return o.a}));var d=r(17);r.d(t,"d",(function(){return d.a}));var l=r(18);r.d(t,"g",(function(){return l.a}));r(19);var p=r(20);r.d(t,"i",(function(){return p.a}));var u=r(21);r.d(t,"h",(function(){return u.a})),
|
2
|
+
/**
|
3
|
+
* @license
|
4
|
+
* Copyright 2017 Google LLC
|
5
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
6
|
+
*/
|
7
|
+
console.warn("The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.")},function(e,t,r){"use strict";r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return c})),r.d(t,"b",(function(){return s})),r.d(t,"f",(function(){return n})),r.d(t,"d",(function(){return o})),r.d(t,"e",(function(){return d}));
|
8
|
+
/*! *****************************************************************************
|
9
|
+
Copyright (c) Microsoft Corporation.
|
10
|
+
|
11
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
12
|
+
purpose with or without fee is hereby granted.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
15
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
16
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
17
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
18
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
19
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
20
|
+
PERFORMANCE OF THIS SOFTWARE.
|
21
|
+
***************************************************************************** */
|
22
|
+
var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var c=function(){return(c=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function s(e,t,r,i){var a,c=arguments.length,s=c<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var n=e.length-1;n>=0;n--)(a=e[n])&&(s=(c<3?a(s):c>3?a(t,r,s):a(t,r))||s);return c>3&&s&&Object.defineProperty(t,r,s),s}Object.create;function n(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function o(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,c=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=c.next()).done;)s.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=c.return)&&r.call(c)}finally{if(a)throw a.error}}return s}function d(e,t,r){if(r||2===arguments.length)for(var i,a=0,c=t.length;a<c;a++)!i&&a in t||(i||(i=Array.prototype.slice.call(t,0,a)),i[a]=t[a]);return e.concat(i||Array.prototype.slice.call(t))}Object.create},function(e,t,r){"use strict";
|
23
|
+
/**
|
24
|
+
* @license
|
25
|
+
* Copyright 2017 Google LLC
|
26
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
27
|
+
*/
|
28
|
+
var i;r.d(t,"a",(function(){return U})),r.d(t,"b",(function(){return A})),r.d(t,"c",(function(){return O})),r.d(t,"d",(function(){return $})),r.d(t,"e",(function(){return k}));const a=globalThis.trustedTypes,c=a?a.createPolicy("lit-html",{createHTML:e=>e}):void 0,s=`lit$${(Math.random()+"").slice(9)}$`,n="?"+s,o=`<${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,y=/'/g,g=/"/g,w=/^(?:script|style|textarea)$/i,_=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),A=_(1),O=(_(2),Symbol.for("lit-noChange")),$=Symbol.for("lit-nothing"),E=new WeakMap,k=(e,t,r)=>{var i,a;const c=null!==(i=null==r?void 0:r.renderBefore)&&void 0!==i?i:t;let s=c._$litPart$;if(void 0===s){const e=null!==(a=null==r?void 0:r.renderBefore)&&void 0!==a?a:null;c._$litPart$=s=new P(t.insertBefore(l(),e),e,void 0,null!=r?r:{})}return s._$AI(e),s},x=d.createTreeWalker(d,129,null,!1),S=(e,t)=>{const r=e.length-1,i=[];let a,n=2===t?"<svg>":"",d=m;for(let t=0;t<r;t++){const r=e[t];let c,l,p=-1,u=0;for(;u<r.length&&(d.lastIndex=u,l=d.exec(r),null!==l);)u=d.lastIndex,d===m?"!--"===l[1]?d=f:void 0!==l[1]?d=v:void 0!==l[2]?(w.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,c=l[1],d=void 0===l[3]?b:'"'===l[3]?g:y):d===g||d===y?d=b:d===f||d===v?d=m:(d=b,a=void 0);const h=d===b&&e[t+1].startsWith("/>")?" ":"";n+=d===m?r+o:p>=0?(i.push(c),r.slice(0,p)+"$lit$"+r.slice(p)+s+h):r+s+(-2===p?(i.push(void 0),t):h)}const l=n+(e[r]||"<?>")+(2===t?"</svg>":"");return[void 0!==c?c.createHTML(l):l,i]};class C{constructor({strings:e,_$litType$:t},r){let i;this.parts=[];let c=0,o=0;const d=e.length-1,p=this.parts,[u,h]=S(e,t);if(this.el=C.createElement(u,r),x.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(i=x.nextNode())&&p.length<d;){if(1===i.nodeType){if(i.hasAttributes()){const e=[];for(const t of i.getAttributeNames())if(t.endsWith("$lit$")||t.startsWith(s)){const r=h[o++];if(e.push(t),void 0!==r){const e=i.getAttribute(r.toLowerCase()+"$lit$").split(s),t=/([.?@])?(.*)/.exec(r);p.push({type:1,index:c,name:t[2],strings:e,ctor:"."===t[1]?H:"?"===t[1]?D:"@"===t[1]?I:R})}else p.push({type:6,index:c})}for(const t of e)i.removeAttribute(t)}if(w.test(i.tagName)){const e=i.textContent.split(s),t=e.length-1;if(t>0){i.textContent=a?a.emptyScript:"";for(let r=0;r<t;r++)i.append(e[r],l()),x.nextNode(),p.push({type:2,index:++c});i.append(e[t],l())}}}else if(8===i.nodeType)if(i.data===n)p.push({type:2,index:c});else{let e=-1;for(;-1!==(e=i.data.indexOf(s,e+1));)p.push({type:7,index:c}),e+=s.length-1}c++}}static createElement(e,t){const r=d.createElement("template");return r.innerHTML=e,r}}function j(e,t,r=e,i){var a,c,s,n;if(t===O)return t;let o=void 0!==i?null===(a=r._$Cl)||void 0===a?void 0:a[i]:r._$Cu;const d=p(t)?void 0:t._$litDirective$;return(null==o?void 0:o.constructor)!==d&&(null===(c=null==o?void 0:o._$AO)||void 0===c||c.call(o,!1),void 0===d?o=void 0:(o=new d(e),o._$AT(e,r,i)),void 0!==i?(null!==(s=(n=r)._$Cl)&&void 0!==s?s:n._$Cl=[])[i]=o:r._$Cu=o),void 0!==o&&(t=j(e,o._$AS(e,t.values),o,i)),t}class T{constructor(e,t){this.v=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(e){var t;const{el:{content:r},parts:i}=this._$AD,a=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:d).importNode(r,!0);x.currentNode=a;let c=x.nextNode(),s=0,n=0,o=i[0];for(;void 0!==o;){if(s===o.index){let t;2===o.type?t=new P(c,c.nextSibling,this,e):1===o.type?t=new o.ctor(c,o.name,o.strings,this,e):6===o.type&&(t=new F(c,this,e)),this.v.push(t),o=i[++n]}s!==(null==o?void 0:o.index)&&(c=x.nextNode(),s++)}return a}m(e){let t=0;for(const r of this.v)void 0!==r&&(void 0!==r.strings?(r._$AI(e,r,t),t+=r.strings.length-2):r._$AI(e[t])),t++}}class P{constructor(e,t,r,i){var a;this.type=2,this._$AH=$,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=r,this.options=i,this._$Cg=null===(a=null==i?void 0:i.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=j(this,e,t),p(e)?e===$||null==e||""===e?(this._$AH!==$&&this._$AR(),this._$AH=$):e!==this._$AH&&e!==O&&this.$(e):void 0!==e._$litType$?this.T(e):void 0!==e.nodeType?this.S(e):h(e)?this.M(e):this.$(e)}A(e,t=this._$AB){return this._$AA.parentNode.insertBefore(e,t)}S(e){this._$AH!==e&&(this._$AR(),this._$AH=this.A(e))}$(e){this._$AH!==$&&p(this._$AH)?this._$AA.nextSibling.data=e:this.S(d.createTextNode(e)),this._$AH=e}T(e){var t;const{values:r,_$litType$:i}=e,a="number"==typeof i?this._$AC(e):(void 0===i.el&&(i.el=C.createElement(i.h,this.options)),i);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===a)this._$AH.m(r);else{const e=new T(a,this),t=e.p(this.options);e.m(r),this.S(t),this._$AH=e}}_$AC(e){let t=E.get(e.strings);return void 0===t&&E.set(e.strings,t=new C(e)),t}M(e){u(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let r,i=0;for(const a of e)i===t.length?t.push(r=new P(this.A(l()),this.A(l()),this,this.options)):r=t[i],r._$AI(a),i++;i<t.length&&(this._$AR(r&&r._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){var r;for(null===(r=this._$AP)||void 0===r||r.call(this,!1,!0,t);e&&e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){var t;void 0===this._$AM&&(this._$Cg=e,null===(t=this._$AP)||void 0===t||t.call(this,e))}}class R{constructor(e,t,r,i,a){this.type=1,this._$AH=$,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=a,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=$}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,r,i){const a=this.strings;let c=!1;if(void 0===a)e=j(this,e,t,0),c=!p(e)||e!==this._$AH&&e!==O,c&&(this._$AH=e);else{const i=e;let s,n;for(e=a[0],s=0;s<a.length-1;s++)n=j(this,i[r+s],t,s),n===O&&(n=this._$AH[s]),c||(c=!p(n)||n!==this._$AH[s]),n===$?e=$:e!==$&&(e+=(null!=n?n:"")+a[s+1]),this._$AH[s]=n}c&&!i&&this.k(e)}k(e){e===$?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}class H extends R{constructor(){super(...arguments),this.type=3}k(e){this.element[this.name]=e===$?void 0:e}}class D extends R{constructor(){super(...arguments),this.type=4}k(e){e&&e!==$?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)}}class I extends R{constructor(e,t,r,i,a){super(e,t,r,i,a),this.type=5}_$AI(e,t=this){var r;if((e=null!==(r=j(this,e,t,0))&&void 0!==r?r:$)===O)return;const i=this._$AH,a=e===$&&i!==$||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,c=e!==$&&(i===$||a);a&&this.element.removeEventListener(this.name,this,i),c&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,r;"function"==typeof this._$AH?this._$AH.call(null!==(r=null===(t=this.options)||void 0===t?void 0:t.host)&&void 0!==r?r:this.element,e):this._$AH.handleEvent(e)}}class F{constructor(e,t,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){j(this,e)}}const U={P:"$lit$",V:s,L:n,I:1,N:S,R:T,D:h,j:j,H:P,O:R,F:D,B:I,W:H,Z:F},z=window.litHtmlPolyfillSupport;null==z||z(C,P),(null!==(i=globalThis.litHtmlVersions)&&void 0!==i?i:globalThis.litHtmlVersions=[]).push("2.0.1")},,function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));
|
29
|
+
/**
|
30
|
+
* @license
|
31
|
+
* Copyright 2017 Google LLC
|
32
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
33
|
+
*/
|
34
|
+
const i=({finisher:e,descriptor:t})=>(r,i)=>{var a;if(void 0===i){const i=null!==(a=r.originalKey)&&void 0!==a?a:r.key,c=null!=t?{kind:"method",placement:"prototype",key:i,descriptor:t(r.key)}:{...r,key:i};return null!=e&&(c.finisher=function(t){e(t,i)}),c}{const a=r.constructor;void 0!==t&&Object.defineProperty(r,i,t(i)),null==e||e(a,i)}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return c})),r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a}));
|
35
|
+
/**
|
36
|
+
* @license
|
37
|
+
* Copyright 2017 Google LLC
|
38
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
39
|
+
*/
|
40
|
+
const i={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},a=e=>(...t)=>({_$litDirective$:e,values:t});class c{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,r){this._$Ct=e,this._$AM=t,this._$Ci=r}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}},function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return m}));
|
41
|
+
/**
|
42
|
+
* @license
|
43
|
+
* Copyright 2019 Google LLC
|
44
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
45
|
+
*/
|
46
|
+
const i=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,a=Symbol(),c=new Map;class s{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=c.get(this.cssText);return i&&void 0===e&&(c.set(this.cssText,e=new CSSStyleSheet),e.replaceSync(this.cssText)),e}toString(){return this.cssText}}const n=(e,...t)=>{const r=1===e.length?e[0]:t.reduce((t,r,i)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+e[i+1],e[0]);return new s(r,a)},o=i?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const r of e.cssRules)t+=r.cssText;return(e=>new s("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 r=e;switch(t){case Boolean:r=null!==e;break;case Number:r=null===e?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch(e){r=null}}return r}},u=(e,t)=>t!==e&&(t==t||e==e),h={attribute:!0,type:String,converter:p,reflect:!1,hasChanged:u};class m extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(e){var t;null!==(t=this.l)&&void 0!==t||(this.l=[]),this.l.push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach((t,r)=>{const i=this._$Eh(r,t);void 0!==i&&(this._$Eu.set(i,r),e.push(i))}),e}static createProperty(e,t=h){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const r="symbol"==typeof e?Symbol():"__"+e,i=this.getPropertyDescriptor(e,r,t);void 0!==i&&Object.defineProperty(this.prototype,e,i)}}static getPropertyDescriptor(e,t,r){return{get(){return this[t]},set(i){const a=this[e];this[t]=i,this.requestUpdate(e,a,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||h}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),this.elementProperties=new Map(e.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const e=this.properties,t=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const r of t)this.createProperty(r,e[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const r=new Set(e.flat(1/0).reverse());for(const e of r)t.unshift(o(e))}else void 0!==e&&t.push(o(e));return t}static _$Eh(e,t){const r=t.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof e?e.toLowerCase():void 0}o(){var e;this._$Ev=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Ep(),this.requestUpdate(),null===(e=this.constructor.l)||void 0===e||e.forEach(e=>e(this))}addController(e){var t,r;(null!==(t=this._$Em)&&void 0!==t?t:this._$Em=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(r=e.hostConnected)||void 0===r||r.call(e))}removeController(e){var t;null===(t=this._$Em)||void 0===t||t.splice(this._$Em.indexOf(e)>>>0,1)}_$Ep(){this.constructor.elementProperties.forEach((e,t)=>{this.hasOwnProperty(t)&&(this._$Et.set(t,this[t]),delete this[t])})}createRenderRoot(){var e;const t=null!==(e=this.shadowRoot)&&void 0!==e?e:this.attachShadow(this.constructor.shadowRootOptions);return r=t,a=this.constructor.elementStyles,i?r.adoptedStyleSheets=a.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):a.forEach(e=>{const t=document.createElement("style"),i=window.litNonce;void 0!==i&&t.setAttribute("nonce",i),t.textContent=e.cssText,r.appendChild(t)}),t;var r,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,r){this._$AK(e,r)}_$Eg(e,t,r=h){var i,a;const c=this.constructor._$Eh(e,r);if(void 0!==c&&!0===r.reflect){const s=(null!==(a=null===(i=r.converter)||void 0===i?void 0:i.toAttribute)&&void 0!==a?a:p.toAttribute)(t,r.type);this._$Ei=e,null==s?this.removeAttribute(c):this.setAttribute(c,s),this._$Ei=null}}_$AK(e,t){var r,i,a;const c=this.constructor,s=c._$Eu.get(e);if(void 0!==s&&this._$Ei!==s){const e=c.getPropertyOptions(s),n=e.converter,o=null!==(a=null!==(i=null===(r=n)||void 0===r?void 0:r.fromAttribute)&&void 0!==i?i:"function"==typeof n?n:null)&&void 0!==a?a:p.fromAttribute;this._$Ei=s,this[s]=o(t,e.type),this._$Ei=null}}requestUpdate(e,t,r){let i=!0;void 0!==e&&(((r=r||this.constructor.getPropertyOptions(e)).hasChanged||u)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===r.reflect&&this._$Ei!==e&&(void 0===this._$ES&&(this._$ES=new Map),this._$ES.set(e,r))):i=!1),!this.isUpdatePending&&i&&(this._$Ev=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ev}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach((e,t)=>this[t]=e),this._$Et=void 0);let t=!1;const r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),null===(e=this._$Em)||void 0===e||e.forEach(e=>{var t;return null===(t=e.hostUpdate)||void 0===t?void 0:t.call(e)}),this.update(r)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(r)}willUpdate(e){}_$AE(e){var t;null===(t=this._$Em)||void 0===t||t.forEach(e=>{var t;return null===(t=e.hostUpdated)||void 0===t?void 0:t.call(e)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ev}shouldUpdate(e){return!0}update(e){void 0!==this._$ES&&(this._$ES.forEach((e,t)=>this._$Eg(t,this[t],e)),this._$ES=void 0),this._$EU()}updated(e){}firstUpdated(e){}}m.finalized=!0,m.elementProperties=new Map,m.elementStyles=[],m.shadowRootOptions={mode:"open"},null==l||l({ReactiveElement:m}),(null!==(d=globalThis.reactiveElementVersions)&&void 0!==d?d:globalThis.reactiveElementVersions=[]).push("1.0.1")},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var i=r(2),a=r(5);
|
52
|
+
/**
|
53
|
+
* @license
|
54
|
+
* Copyright 2018 Google LLC
|
55
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
56
|
+
*/
|
57
|
+
const c=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 r,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===(r=this.et)||void 0===r?void 0:r.has(e))&&this.st.add(e);return this.render(t)}const c=e.element.classList;this.st.forEach(e=>{e in t||(c.remove(e),this.st.delete(e))});for(const e in t){const r=!!t[e];r===this.st.has(e)||(null===(a=this.et)||void 0===a?void 0:a.has(e))||(r?(c.add(e),this.st.add(e)):(c.remove(e),this.st.delete(e)))}return i.c}})},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));
|
58
|
+
/**
|
59
|
+
* @license
|
60
|
+
* Copyright 2017 Google LLC
|
61
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
62
|
+
*/
|
63
|
+
const i=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(r){r.createProperty(t.key,e)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(r){r.createProperty(t.key,e)}};function a(e){return(t,r)=>void 0!==r?((e,t,r)=>{t.constructor.createProperty(r,e)})(e,t,r):i(e,t)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var i=r(0),a=r(23);r.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 c extends i.a{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}},function(e,t,r){"use strict";var i=r(15);r.d(t,"a",(function(){return i.a}));var a=r(8);r.d(t,"b",(function(){return a.a}));r(16),r(17);var c=r(18);r.d(t,"c",(function(){return c.a}));r(19),r(20),r(21)},,function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var i=r(2);
|
70
|
+
/**
|
71
|
+
* @license
|
72
|
+
* Copyright 2018 Google LLC
|
73
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
74
|
+
*/const a=e=>null!=e?e:i.d},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));
|
75
|
+
/**
|
76
|
+
* @license
|
77
|
+
* Copyright 2016 Google Inc.
|
78
|
+
*
|
79
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
80
|
+
* of this software and associated documentation files (the "Software"), to deal
|
81
|
+
* in the Software without restriction, including without limitation the rights
|
82
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
83
|
+
* copies of the Software, and to permit persons to whom the Software is
|
84
|
+
* furnished to do so, subject to the following conditions:
|
85
|
+
*
|
86
|
+
* The above copyright notice and this permission notice shall be included in
|
87
|
+
* all copies or substantial portions of the Software.
|
88
|
+
*
|
89
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
90
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
91
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
92
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
93
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
94
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
95
|
+
* THE SOFTWARE.
|
96
|
+
*/
|
97
|
+
var i=function(){function e(e){void 0===e&&(e={}),this.adapter=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var i=r(6);r.d(t,"b",(function(){return i.b}));var a,c,s=r(2);r.d(t,"c",(function(){return s.b}));i.a;class n extends i.a{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var e,t;const r=super.createRenderRoot();return null!==(e=(t=this.renderOptions).renderBefore)&&void 0!==e||(t.renderBefore=r.firstChild),r}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Dt=Object(s.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 s.c}}n.finalized=!0,n._$litElement$=!0,null===(a=globalThis.litElementHydrateSupport)||void 0===a||a.call(globalThis,{LitElement:n});const o=globalThis.litElementPolyfillSupport;null==o||o({LitElement:n});(null!==(c=globalThis.litElementVersions)&&void 0!==c?c:globalThis.litElementVersions=[]).push("3.0.1")},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));
|
98
|
+
/**
|
99
|
+
* @license
|
100
|
+
* Copyright 2017 Google LLC
|
101
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
102
|
+
*/
|
103
|
+
const i=e=>t=>"function"==typeof t?((e,t)=>(window.customElements.define(e,t),t))(e,t):((e,t)=>{const{kind:r,elements:i}=t;return{kind:r,elements:i,finisher(t){window.customElements.define(e,t)}}})(e,t)},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var i=r(8);
|
104
|
+
/**
|
105
|
+
* @license
|
106
|
+
* Copyright 2017 Google LLC
|
107
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
108
|
+
*/function a(e){return Object(i.a)({...e,state:!0})}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var i=r(4);
|
109
|
+
/**
|
110
|
+
* @license
|
111
|
+
* Copyright 2017 Google LLC
|
112
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
113
|
+
*/function a(e){return Object(i.a)({finisher:(t,r)=>{Object.assign(t.prototype[r],e)}})}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var i=r(4);
|
114
|
+
/**
|
115
|
+
* @license
|
116
|
+
* Copyright 2017 Google LLC
|
117
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
118
|
+
*/function a(e,t){return Object(i.a)({descriptor:r=>{const i={get(){var t,r;return null!==(r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e))&&void 0!==r?r:null},enumerable:!0,configurable:!0};if(t){const t="symbol"==typeof r?Symbol():"__"+r;i.get=function(){var r,i;return void 0===this[t]&&(this[t]=null!==(i=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(e))&&void 0!==i?i:null),this[t]}}return i}})}},function(e,t,r){"use strict";r(4);
|
119
|
+
/**
|
120
|
+
* @license
|
121
|
+
* Copyright 2017 Google LLC
|
122
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
123
|
+
*/},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var i=r(4);
|
124
|
+
/**
|
125
|
+
* @license
|
126
|
+
* Copyright 2017 Google LLC
|
127
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
128
|
+
*/function a(e){return Object(i.a)({descriptor:t=>({async get(){var t;return await this.updateComplete,null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e)},enumerable:!0,configurable:!0})})}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var i=r(4);
|
129
|
+
/**
|
130
|
+
* @license
|
131
|
+
* Copyright 2017 Google LLC
|
132
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
133
|
+
*/function a(e="",t=!1,r=""){return Object(i.a)({descriptor:i=>({get(){var i,a,c;const s="slot"+(e?`[name=${e}]`:":not([name])");let n=null!==(c=null===(a=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(s))||void 0===a?void 0:a.assignedNodes({flatten:t}))&&void 0!==c?c:[];return r&&(n=n.filter(e=>e.nodeType===Node.ELEMENT_NODE&&e.matches(r))),n},enumerable:!0,configurable:!0})})}},,function(e,t,r){"use strict";r.d(t,"d",(function(){return i})),r.d(t,"a",(function(){return a})),r.d(t,"e",(function(){return o})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return l}));
|
134
|
+
/**
|
135
|
+
* @license
|
136
|
+
* Copyright 2018 Google LLC
|
137
|
+
* SPDX-License-Identifier: Apache-2.0
|
138
|
+
*/
|
139
|
+
const i=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 c=!1;const s=()=>{},n={get passive(){return c=!0,!1}};document.addEventListener("x",s,n),document.removeEventListener("x",s);const o=c,d=(e=window.document)=>{let t=e.activeElement;const r=[];if(!t)return r;for(;t&&(r.push(t),t.shadowRoot);)t=t.shadowRoot.activeElement;return r},l=e=>{const t=d();if(!t.length)return!1;const r=t[t.length-1],i=new Event("check-if-focused",{bubbles:!0,composed:!0});let a=[];const c=e=>{a=e.composedPath()};return document.body.addEventListener("check-if-focused",c),r.dispatchEvent(i),document.body.removeEventListener("check-if-focused",c),-1!==a.indexOf(e)}},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var i=r(2),a=r(5);
|
140
|
+
/**
|
141
|
+
* @license
|
142
|
+
* Copyright 2018 Google LLC
|
143
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
144
|
+
*/
|
145
|
+
const c=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,r)=>{const i=e[r];return null==i?t:t+`${r=r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(e,[t]){const{style:r}=e.element;if(void 0===this.ut){this.ut=new Set;for(const e in t)this.ut.add(e);return this.render(t)}this.ut.forEach(e=>{null==t[e]&&(this.ut.delete(e),e.includes("-")?r.removeProperty(e):r[e]="")});for(const e in t){const i=t[e];null!=i&&(this.ut.add(e),e.includes("-")?r.setProperty(e,i):r[e]=i)}return i.c}})},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));
|
146
|
+
/**
|
147
|
+
* @license
|
148
|
+
* Copyright 2020 Google LLC
|
149
|
+
* SPDX-License-Identifier: Apache-2.0
|
150
|
+
*/
|
151
|
+
class i{constructor(e){this.startPress=t=>{e().then(e=>{e&&e.startPress(t)})},this.endPress=()=>{e().then(e=>{e&&e.endPress()})},this.startFocus=()=>{e().then(e=>{e&&e.startFocus()})},this.endFocus=()=>{e().then(e=>{e&&e.endFocus()})},this.startHover=()=>{e().then(e=>{e&&e.startHover()})},this.endHover=()=>{e().then(e=>{e&&e.endHover()})}}}},function(e,t,r){"use strict";function i(e,t,r){if(void 0!==t)
|
152
|
+
/**
|
153
|
+
* @license
|
154
|
+
* Copyright 2021 Google LLC
|
155
|
+
* SPDX-License-Identifier: Apache-2.0
|
156
|
+
*/
|
157
|
+
return function(e,t,r){const i=e.constructor;if(!r){const e="__"+t;if(!(r=i.getPropertyDescriptor(t,e)))throw new Error("@ariaProperty must be used after a @property decorator")}const a=r;let c="";if(!a.set)throw new Error("@ariaProperty requires a setter for "+t);const s={configurable:!0,enumerable:!0,set(e){if(""===c){const e=i.getPropertyOptions(t);c=e.attribute}this.hasAttribute(c)&&this.removeAttribute(c),a.set.call(this,e)}};return a.get&&(s.get=function(){return a.get.call(this)}),s}(e,t,r);throw new Error("@ariaProperty only supports TypeScript Decorators")}r.d(t,"a",(function(){return i}))},function(e,t,r){"use strict";
|
158
|
+
/**
|
159
|
+
* @license
|
160
|
+
* Copyright 2018 Google Inc.
|
161
|
+
*
|
162
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
163
|
+
* of this software and associated documentation files (the "Software"), to deal
|
164
|
+
* in the Software without restriction, including without limitation the rights
|
165
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
166
|
+
* copies of the Software, and to permit persons to whom the Software is
|
167
|
+
* furnished to do so, subject to the following conditions:
|
168
|
+
*
|
169
|
+
* The above copyright notice and this permission notice shall be included in
|
170
|
+
* all copies or substantial portions of the Software.
|
171
|
+
*
|
172
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
173
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
174
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
175
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
176
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
177
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
178
|
+
* THE SOFTWARE.
|
179
|
+
*/
|
180
|
+
function i(e,t){if(e.closest)return e.closest(t);for(var r=e;r;){if(a(r,t))return r;r=r.parentElement}return null}function a(e,t){return(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t)}r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return a}))},,function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var i,a,c=r(1),s=r(0),n=r(9);r.d(t,"b",(function(){return n.b}));const o=null!==(a=null===(i=window.ShadyDOM)||void 0===i?void 0:i.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||o)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(c.b)([Object(s.f)({type:Boolean})],d.prototype,"disabled",void 0)},,function(e,t,r){"use strict";var i=r(1),a=r(0),c=r(31),s=r(9),n=r(13),o={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};
|
181
|
+
/**
|
182
|
+
* @license
|
183
|
+
* Copyright 2016 Google Inc.
|
184
|
+
*
|
185
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
186
|
+
* of this software and associated documentation files (the "Software"), to deal
|
187
|
+
* in the Software without restriction, including without limitation the rights
|
188
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
189
|
+
* copies of the Software, and to permit persons to whom the Software is
|
190
|
+
* furnished to do so, subject to the following conditions:
|
191
|
+
*
|
192
|
+
* The above copyright notice and this permission notice shall be included in
|
193
|
+
* all copies or substantial portions of the Software.
|
194
|
+
*
|
195
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
196
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
197
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
198
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
199
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
200
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
201
|
+
* THE SOFTWARE.
|
202
|
+
*/
|
203
|
+
var p=["touchstart","pointerdown","mousedown","keydown"],u=["touchend","pointerup","mouseup","contextmenu"],h=[],m=function(e){function t(r){var a=e.call(this,Object(i.a)(Object(i.a)({},t.defaultAdapter),r))||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(i.c)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return o},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return d},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return l},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this,r=this.supportsPressRipple();if(this.registerRootHandlers(r),r){var i=t.cssClasses,a=i.ROOT,c=i.UNBOUNDED;requestAnimationFrame((function(){e.adapter.addClass(a),e.adapter.isUnbounded()&&(e.adapter.addClass(c),e.layoutInternal())}))}},t.prototype.destroy=function(){var e=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(t.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(t.cssClasses.FG_DEACTIVATION));var r=t.cssClasses,i=r.ROOT,a=r.UNBOUNDED;requestAnimationFrame((function(){e.adapter.removeClass(i),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 r=t.cssClasses.UNBOUNDED;e?this.adapter.addClass(r):this.adapter.removeClass(r)},t.prototype.handleFocus=function(){var e=this;requestAnimationFrame((function(){return e.adapter.addClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.handleBlur=function(){var e=this;requestAnimationFrame((function(){return e.adapter.removeClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},t.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},t.prototype.registerRootHandlers=function(e){var t,r;if(e){try{for(var a=Object(i.f)(p),c=a.next();!c.done;c=a.next()){var s=c.value;this.adapter.registerInteractionHandler(s,this.activateHandler)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=a.return)&&r.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,r;if("keydown"===e.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var a=Object(i.f)(u),c=a.next();!c.done;c=a.next()){var s=c.value;this.adapter.registerDocumentInteractionHandler(s,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}},t.prototype.deregisterRootHandlers=function(){var e,t;try{for(var r=Object(i.f)(p),a=r.next();!a.done;a=r.next()){var c=a.value;this.adapter.deregisterInteractionHandler(c,this.activateHandler)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},t.prototype.deregisterDeactivationHandlers=function(){var e,t;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var r=Object(i.f)(u),a=r.next();!a.done;a=r.next()){var c=a.value;this.adapter.deregisterDocumentInteractionHandler(c,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},t.prototype.removeCssVars=function(){var e=this,r=t.strings;Object.keys(r).forEach((function(t){0===t.indexOf("VAR_")&&e.adapter.updateCssVariable(r[t],null)}))},t.prototype.activateImpl=function(e){var t=this;if(!this.adapter.isSurfaceDisabled()){var r=this.activationState;if(!r.isActivated){var i=this.previousActivationEvent;if(!(i&&void 0!==e&&i.type!==e.type))r.isActivated=!0,r.isProgrammatic=void 0===e,r.activationEvent=e,r.wasActivatedByPointer=!r.isProgrammatic&&(void 0!==e&&("mousedown"===e.type||"touchstart"===e.type||"pointerdown"===e.type)),void 0!==e&&h.length>0&&h.some((function(e){return t.adapter.containsEventTarget(e)}))?this.resetActivationState():(void 0!==e&&(h.push(e.target),this.registerDeactivationHandlers(e)),r.wasElementMadeActive=this.checkElementMadeActive(e),r.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){h=[],r.wasElementMadeActive||void 0===e||" "!==e.key&&32!==e.keyCode||(r.wasElementMadeActive=t.checkElementMadeActive(e),r.wasElementMadeActive&&t.animateActivation()),r.wasElementMadeActive||(t.activationState=t.defaultActivationState())})))}}},t.prototype.checkElementMadeActive=function(e){return void 0===e||"keydown"!==e.type||this.adapter.isSurfaceActive()},t.prototype.animateActivation=function(){var e=this,r=t.strings,i=r.VAR_FG_TRANSLATE_START,a=r.VAR_FG_TRANSLATE_END,c=t.cssClasses,s=c.FG_DEACTIVATION,n=c.FG_ACTIVATION,o=t.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var d="",l="";if(!this.adapter.isUnbounded()){var p=this.getFgTranslationCoordinates(),u=p.startPoint,h=p.endPoint;d=u.x+"px, "+u.y+"px",l=h.x+"px, "+h.y+"px"}this.adapter.updateCssVariable(i,d),this.adapter.updateCssVariable(a,l),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(s),this.adapter.computeBoundingRect(),this.adapter.addClass(n),this.activationTimer=setTimeout((function(){e.activationTimerCallback()}),o)},t.prototype.getFgTranslationCoordinates=function(){var e,t=this.activationState,r=t.activationEvent;return{startPoint:e={x:(e=t.wasActivatedByPointer?function(e,t,r){if(!e)return{x:0,y:0};var i,a,c=t.x,s=t.y,n=c+r.left,o=s+r.top;if("touchstart"===e.type){var d=e;i=d.changedTouches[0].pageX-n,a=d.changedTouches[0].pageY-o}else{var l=e;i=l.pageX-n,a=l.pageY-o}return{x:i,y:a}}(r,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2}).x-this.initialSize/2,y:e.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},t.prototype.runDeactivationUXLogicIfReady=function(){var e=this,r=t.cssClasses.FG_DEACTIVATION,i=this.activationState,a=i.hasDeactivationUXRun,c=i.isActivated;(a||!c)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(r),this.fgDeactivationRemovalTimer=setTimeout((function(){e.adapter.removeClass(r)}),l.FG_DEACTIVATION_MS))},t.prototype.rmBoundedActivationClasses=function(){var e=t.cssClasses.FG_ACTIVATION;this.adapter.removeClass(e),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},t.prototype.resetActivationState=function(){var e=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout((function(){return e.previousActivationEvent=void 0}),t.numbers.TAP_DELAY_MS)},t.prototype.deactivateImpl=function(){var e=this,t=this.activationState;if(t.isActivated){var r=Object(i.a)({},t);t.isProgrammatic?(requestAnimationFrame((function(){e.animateDeactivation(r)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){e.activationState.hasDeactivationUXRun=!0,e.animateDeactivation(r),e.resetActivationState()})))}},t.prototype.animateDeactivation=function(e){var t=e.wasActivatedByPointer,r=e.wasElementMadeActive;(t||r)&&this.runDeactivationUXLogicIfReady()},t.prototype.layoutInternal=function(){var e=this;this.frame=this.adapter.computeBoundingRect();var r=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?r:Math.sqrt(Math.pow(e.frame.width,2)+Math.pow(e.frame.height,2))+t.numbers.PADDING;var i=Math.floor(r*t.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&i%2!=0?this.initialSize=i-1:this.initialSize=i,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},t.prototype.updateLayoutCssVars=function(){var e=t.strings,r=e.VAR_FG_SIZE,i=e.VAR_LEFT,a=e.VAR_TOP,c=e.VAR_FG_SCALE;this.adapter.updateCssVariable(r,this.initialSize+"px"),this.adapter.updateCssVariable(c,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(i,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(a,this.unboundedCoords.top+"px"))},t}(n.a),f=r(7),v=r(26);
|
204
|
+
/**
|
205
|
+
* @license
|
206
|
+
* Copyright 2018 Google LLC
|
207
|
+
* SPDX-License-Identifier: Apache-2.0
|
208
|
+
*/
|
209
|
+
class b extends s.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(c.b)(this.parentElement||this,":active")}createAdapter(){return{browserSupportsCssVars:()=>!0,isUnbounded:()=>this.unbounded,isSurfaceActive:()=>this.isActive,isSurfaceDisabled:()=>this.disabled,addClass:e=>{switch(e){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!0;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!0;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!0}},removeClass:e=>{switch(e){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!1;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!1;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!1}},containsEventTarget:()=>!0,registerInteractionHandler:()=>{},deregisterInteractionHandler:()=>{},registerDocumentInteractionHandler:()=>{},deregisterDocumentInteractionHandler:()=>{},registerResizeHandler:()=>{},deregisterResizeHandler:()=>{},updateCssVariable:(e,t)=>{switch(e){case"--mdc-ripple-fg-scale":this.fgScale=t;break;case"--mdc-ripple-fg-size":this.fgSize=t;break;case"--mdc-ripple-fg-translate-end":this.translateEnd=t;break;case"--mdc-ripple-fg-translate-start":this.translateStart=t;break;case"--mdc-ripple-left":this.leftPos=t;break;case"--mdc-ripple-top":this.topPos=t}},computeBoundingRect:()=>(this.parentElement||this).getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})}}startPress(e){this.waitForFoundation(()=>{this.mdcFoundation.activate(e)})}endPress(){this.waitForFoundation(()=>{this.mdcFoundation.deactivate()})}startFocus(){this.waitForFoundation(()=>{this.mdcFoundation.handleFocus()})}endFocus(){this.waitForFoundation(()=>{this.mdcFoundation.handleBlur()})}startHover(){this.hovering=!0}endHover(){this.hovering=!1}waitForFoundation(e){this.mdcFoundation?e():this.updateComplete.then(e)}update(e){e.has("disabled")&&this.disabled&&this.endHover(),super.update(e)}render(){const e=this.activated&&(this.primary||!this.accent),t=this.selected&&(this.primary||!this.accent),r={"mdc-ripple-surface--accent":this.accent,"mdc-ripple-surface--primary--activated":e,"mdc-ripple-surface--accent--activated":this.accent&&this.activated,"mdc-ripple-surface--primary--selected":t,"mdc-ripple-surface--accent--selected":this.accent&&this.selected,"mdc-ripple-surface--disabled":this.disabled,"mdc-ripple-surface--hover":this.hovering,"mdc-ripple-surface--primary":this.primary,"mdc-ripple-surface--selected":this.selected,"mdc-ripple-upgraded--background-focused":this.bgFocused,"mdc-ripple-upgraded--foreground-activation":this.fgActivation,"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation,"mdc-ripple-upgraded--unbounded":this.unbounded,"mdc-ripple-surface--internal-use-state-layer-custom-properties":this.internalUseStateLayerCustomProperties};return a.e`
|
210
|
+
<div class="mdc-ripple-surface mdc-ripple-upgraded ${Object(f.a)(r)}"
|
211
|
+
style="${Object(v.a)({"--mdc-ripple-fg-scale":this.fgScale,"--mdc-ripple-fg-size":this.fgSize,"--mdc-ripple-fg-translate-end":this.translateEnd,"--mdc-ripple-fg-translate-start":this.translateStart,"--mdc-ripple-left":this.leftPos,"--mdc-ripple-top":this.topPos})}"></div>`}}Object(i.b)([Object(a.g)(".mdc-ripple-surface")],b.prototype,"mdcRoot",void 0),Object(i.b)([Object(a.f)({type:Boolean})],b.prototype,"primary",void 0),Object(i.b)([Object(a.f)({type:Boolean})],b.prototype,"accent",void 0),Object(i.b)([Object(a.f)({type:Boolean})],b.prototype,"unbounded",void 0),Object(i.b)([Object(a.f)({type:Boolean})],b.prototype,"disabled",void 0),Object(i.b)([Object(a.f)({type:Boolean})],b.prototype,"activated",void 0),Object(i.b)([Object(a.f)({type:Boolean})],b.prototype,"selected",void 0),Object(i.b)([Object(a.f)({type:Boolean})],b.prototype,"internalUseStateLayerCustomProperties",void 0),Object(i.b)([Object(a.j)()],b.prototype,"hovering",void 0),Object(i.b)([Object(a.j)()],b.prototype,"bgFocused",void 0),Object(i.b)([Object(a.j)()],b.prototype,"fgActivation",void 0),Object(i.b)([Object(a.j)()],b.prototype,"fgDeactivation",void 0),Object(i.b)([Object(a.j)()],b.prototype,"fgScale",void 0),Object(i.b)([Object(a.j)()],b.prototype,"fgSize",void 0),Object(i.b)([Object(a.j)()],b.prototype,"translateStart",void 0),Object(i.b)([Object(a.j)()],b.prototype,"translateEnd",void 0),Object(i.b)([Object(a.j)()],b.prototype,"leftPos",void 0),Object(i.b)([Object(a.j)()],b.prototype,"topPos",void 0);
|
212
|
+
/**
|
213
|
+
* @license
|
214
|
+
* Copyright 2021 Google LLC
|
215
|
+
* SPDX-LIcense-Identifier: Apache-2.0
|
216
|
+
*/
|
217
|
+
const y=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)}`;
|
218
|
+
/**
|
219
|
+
* @license
|
220
|
+
* Copyright 2018 Google LLC
|
221
|
+
* SPDX-License-Identifier: Apache-2.0
|
222
|
+
*/let g=class extends b{};g.styles=[y],g=Object(i.b)([Object(a.c)("mwc-ripple")],g)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.r(t),r.d(t,"CovalentSwitchBase",(function(){return A}));var i=r(1),a=(r(35),r(30)),c=r(33),s=r(29),n=r(13);function o(e,t,r){var a=function(e,t){var r=new Map;d.has(e)||d.set(e,{isEnabled:!0,getObservers:function(e){var t=r.get(e)||[];return r.has(e)||r.set(e,t),t},installedProperties:new Set});var a=d.get(e);if(a.installedProperties.has(t))return a;var c=function(e,t){var r,i=e;for(;i&&!(r=Object.getOwnPropertyDescriptor(i,t));)i=Object.getPrototypeOf(i);return r}(e,t)||{configurable:!0,enumerable:!0,value:e[t],writable:!0},s=Object(i.a)({},c),n=c.get,o=c.set;if("value"in c){delete s.value,delete s.writable;var l=c.value;n=function(){return l},c.writable&&(o=function(e){l=e})}n&&(s.get=function(){return n.call(this)});o&&(s.set=function(e){var r,c,s=n?n.call(this):e;if(o.call(this,e),a.isEnabled&&(!n||e!==s))try{for(var d=Object(i.f)(a.getObservers(t)),l=d.next();!l.done;l=d.next()){(0,l.value)(e,s)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(c=d.return)&&c.call(d)}finally{if(r)throw r.error}}});return a.installedProperties.add(t),Object.defineProperty(e,t,s),a}(e,t).getObservers(t);return a.push(r),function(){a.splice(a.indexOf(r),1)}}var d=new WeakMap;function l(e,t){var r=d.get(e);r&&(r.isEnabled=t)}
|
223
|
+
/**
|
224
|
+
* @license
|
225
|
+
* Copyright 2021 Google Inc.
|
226
|
+
*
|
227
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
228
|
+
* of this software and associated documentation files (the "Software"), to deal
|
229
|
+
* in the Software without restriction, including without limitation the rights
|
230
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
231
|
+
* copies of the Software, and to permit persons to whom the Software is
|
232
|
+
* furnished to do so, subject to the following conditions:
|
233
|
+
*
|
234
|
+
* The above copyright notice and this permission notice shall be included in
|
235
|
+
* all copies or substantial portions of the Software.
|
236
|
+
*
|
237
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
238
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
239
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
240
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
241
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
242
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
243
|
+
* THE SOFTWARE.
|
244
|
+
*/var p,u,h=function(e){function t(t){var r=e.call(this,t)||this;return r.unobserves=new Set,r}return Object(i.c)(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this),this.unobserve()},t.prototype.observe=function(e,t){var r,a,c=this,s=[];try{for(var n=Object(i.f)(Object.keys(t)),o=n.next();!o.done;o=n.next()){var d=o.value,l=t[d].bind(this);s.push(this.observeProperty(e,d,l))}}catch(e){r={error:e}}finally{try{o&&!o.done&&(a=n.return)&&a.call(n)}finally{if(r)throw r.error}}var p=function(){var e,t;try{for(var r=Object(i.f)(s),a=r.next();!a.done;a=r.next()){(0,a.value)()}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}c.unobserves.delete(p)};return this.unobserves.add(p),p},t.prototype.observeProperty=function(e,t,r){return o(e,t,r)},t.prototype.setObserversEnabled=function(e,t){l(e,t)},t.prototype.unobserve=function(){var e,t;try{for(var r=Object(i.f)(Object(i.e)([],Object(i.d)(this.unobserves))),a=r.next();!a.done;a=r.next()){(0,a.value)()}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},t}(n.a);
|
245
|
+
/**
|
246
|
+
* @license
|
247
|
+
* Copyright 2021 Google Inc.
|
248
|
+
*
|
249
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
250
|
+
* of this software and associated documentation files (the "Software"), to deal
|
251
|
+
* in the Software without restriction, including without limitation the rights
|
252
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
253
|
+
* copies of the Software, and to permit persons to whom the Software is
|
254
|
+
* furnished to do so, subject to the following conditions:
|
255
|
+
*
|
256
|
+
* The above copyright notice and this permission notice shall be included in
|
257
|
+
* all copies or substantial portions of the Software.
|
258
|
+
*
|
259
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
260
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
261
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
262
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
263
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
264
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
265
|
+
* THE SOFTWARE.
|
266
|
+
*/!function(e){e.PROCESSING="mdc-switch--processing",e.SELECTED="mdc-switch--selected",e.UNSELECTED="mdc-switch--unselected"}(p||(p={})),function(e){e.RIPPLE=".mdc-switch__ripple"}(u||(u={}));
|
267
|
+
/**
|
268
|
+
* @license
|
269
|
+
* Copyright 2021 Google Inc.
|
270
|
+
*
|
271
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
272
|
+
* of this software and associated documentation files (the "Software"), to deal
|
273
|
+
* in the Software without restriction, including without limitation the rights
|
274
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
275
|
+
* copies of the Software, and to permit persons to whom the Software is
|
276
|
+
* furnished to do so, subject to the following conditions:
|
277
|
+
*
|
278
|
+
* The above copyright notice and this permission notice shall be included in
|
279
|
+
* all copies or substantial portions of the Software.
|
280
|
+
*
|
281
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
282
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
283
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
284
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
285
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
286
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
287
|
+
* THE SOFTWARE.
|
288
|
+
*/
|
289
|
+
var m=function(e){function t(t){var r=e.call(this,t)||this;return r.handleClick=r.handleClick.bind(r),r}return Object(i.c)(t,e),t.prototype.init=function(){this.observe(this.adapter.state,{disabled:this.stopProcessingIfDisabled,processing:this.stopProcessingIfDisabled})},t.prototype.handleClick=function(){this.adapter.state.disabled||(this.adapter.state.selected=!this.adapter.state.selected)},t.prototype.stopProcessingIfDisabled=function(){this.adapter.state.disabled&&(this.adapter.state.processing=!1)},t}(h),f=(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Object(i.c)(t,e),t.prototype.init=function(){e.prototype.init.call(this),this.observe(this.adapter.state,{disabled:this.onDisabledChange,processing:this.onProcessingChange,selected:this.onSelectedChange})},t.prototype.initFromDOM=function(){this.setObserversEnabled(this.adapter.state,!1),this.adapter.state.selected=this.adapter.hasClass(p.SELECTED),this.onSelectedChange(),this.adapter.state.disabled=this.adapter.isDisabled(),this.adapter.state.processing=this.adapter.hasClass(p.PROCESSING),this.setObserversEnabled(this.adapter.state,!0),this.stopProcessingIfDisabled()},t.prototype.onDisabledChange=function(){this.adapter.setDisabled(this.adapter.state.disabled)},t.prototype.onProcessingChange=function(){this.toggleClass(this.adapter.state.processing,p.PROCESSING)},t.prototype.onSelectedChange=function(){this.adapter.setAriaChecked(String(this.adapter.state.selected)),this.toggleClass(this.adapter.state.selected,p.SELECTED),this.toggleClass(!this.adapter.state.selected,p.UNSELECTED)},t.prototype.toggleClass=function(e,t){e?this.adapter.addClass(t):this.adapter.removeClass(t)}}(m),r(0)),v=r(7),b=r(12);
|
290
|
+
/**
|
291
|
+
* @license
|
292
|
+
* Copyright 2021 Google LLC
|
293
|
+
* SPDX-License-Identifier: Apache-2.0
|
294
|
+
*/
|
295
|
+
class y extends c.a{constructor(){super(...arguments),this.processing=!1,this.selected=!1,this.ariaLabel="",this.ariaLabelledBy="",this.shouldRenderRipple=!1,this.rippleHandlers=new s.a(()=>(this.shouldRenderRipple=!0,this.ripple)),this.name="",this.value="on",this.mdcFoundationClass=m}setFormData(e){this.name&&this.selected&&e.append(this.name,this.value)}click(){var e,t;this.disabled||(null===(e=this.mdcRoot)||void 0===e||e.focus(),null===(t=this.mdcRoot)||void 0===t||t.click())}render(){return f.e`
|
296
|
+
<button
|
297
|
+
type="button"
|
298
|
+
class="mdc-switch ${Object(v.a)(this.getRenderClasses())}"
|
299
|
+
role="switch"
|
300
|
+
aria-checked="${this.selected}"
|
301
|
+
aria-label="${Object(b.a)(this.ariaLabel||void 0)}"
|
302
|
+
aria-labelledby="${Object(b.a)(this.ariaLabelledBy||void 0)}"
|
303
|
+
.disabled=${this.disabled}
|
304
|
+
@click=${this.handleClick}
|
305
|
+
@focus="${this.handleFocus}"
|
306
|
+
@blur="${this.handleBlur}"
|
307
|
+
@pointerdown="${this.handlePointerDown}"
|
308
|
+
@pointerup="${this.handlePointerUp}"
|
309
|
+
@pointerenter="${this.handlePointerEnter}"
|
310
|
+
@pointerleave="${this.handlePointerLeave}"
|
311
|
+
>
|
312
|
+
<div class="mdc-switch__track"></div>
|
313
|
+
<div class="mdc-switch__handle-track">
|
314
|
+
${this.renderHandle()}
|
315
|
+
</div>
|
316
|
+
</button>
|
317
|
+
|
318
|
+
<input
|
319
|
+
type="checkbox"
|
320
|
+
aria-hidden="true"
|
321
|
+
name="${this.name}"
|
322
|
+
.checked=${this.selected}
|
323
|
+
.value=${this.value}
|
324
|
+
>
|
325
|
+
`}getRenderClasses(){return{"mdc-switch--processing":this.processing,"mdc-switch--selected":this.selected,"mdc-switch--unselected":!this.selected}}renderHandle(){return f.e`
|
326
|
+
<div class="mdc-switch__handle">
|
327
|
+
${this.renderShadow()}
|
328
|
+
${this.renderRipple()}
|
329
|
+
<div class="mdc-switch__icons">
|
330
|
+
${this.renderOnIcon()}
|
331
|
+
${this.renderOffIcon()}
|
332
|
+
</div>
|
333
|
+
</div>
|
334
|
+
`}renderShadow(){return f.e`
|
335
|
+
<div class="mdc-switch__shadow">
|
336
|
+
<div class="mdc-elevation-overlay"></div>
|
337
|
+
</div>
|
338
|
+
`}renderRipple(){return this.shouldRenderRipple?f.e`
|
339
|
+
<div class="mdc-switch__ripple">
|
340
|
+
<mwc-ripple
|
341
|
+
internalUseStateLayerCustomProperties
|
342
|
+
.disabled="${this.disabled}"
|
343
|
+
unbounded>
|
344
|
+
</mwc-ripple>
|
345
|
+
</div>
|
346
|
+
`:f.e``}renderOnIcon(){return f.e`
|
347
|
+
<svg class="mdc-switch__icon mdc-switch__icon--on" viewBox="0 0 24 24">
|
348
|
+
<path d="M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z" />
|
349
|
+
</svg>
|
350
|
+
`}renderOffIcon(){return f.e`
|
351
|
+
<svg class="mdc-switch__icon mdc-switch__icon--off" viewBox="0 0 24 24">
|
352
|
+
<path d="M20 13H4v-2h16v2z" />
|
353
|
+
</svg>
|
354
|
+
`}handleClick(){var e;null===(e=this.mdcFoundation)||void 0===e||e.handleClick()}handleFocus(){this.rippleHandlers.startFocus()}handleBlur(){this.rippleHandlers.endFocus()}handlePointerDown(e){e.target.setPointerCapture(e.pointerId),this.rippleHandlers.startPress(e)}handlePointerUp(){this.rippleHandlers.endPress()}handlePointerEnter(){this.rippleHandlers.startHover()}handlePointerLeave(){this.rippleHandlers.endHover()}createAdapter(){return{state:this}}}Object(i.b)([Object(f.f)({type:Boolean})],y.prototype,"processing",void 0),Object(i.b)([Object(f.f)({type:Boolean})],y.prototype,"selected",void 0),Object(i.b)([a.a,Object(f.f)({type:String,attribute:"aria-label"})],y.prototype,"ariaLabel",void 0),Object(i.b)([a.a,Object(f.f)({type:String,attribute:"aria-labelledby"})],y.prototype,"ariaLabelledBy",void 0),Object(i.b)([Object(f.i)("mwc-ripple")],y.prototype,"ripple",void 0),Object(i.b)([Object(f.j)()],y.prototype,"shouldRenderRipple",void 0),Object(i.b)([Object(f.f)({type:String,reflect:!0})],y.prototype,"name",void 0),Object(i.b)([Object(f.f)({type:String})],y.prototype,"value",void 0),Object(i.b)([Object(f.g)("input")],y.prototype,"formElement",void 0),Object(i.b)([Object(f.g)(".mdc-switch")],y.prototype,"mdcRoot",void 0),Object(i.b)([Object(f.d)({passive:!0})],y.prototype,"handlePointerDown",null);
|
355
|
+
/**
|
356
|
+
* @license
|
357
|
+
* Copyright 2021 Google LLC
|
358
|
+
* SPDX-LIcense-Identifier: Apache-2.0
|
359
|
+
*/
|
360
|
+
const g=f.b`.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid transparent;border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid transparent;border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}:host{display:inline-flex;outline:none}input{display:none}.mdc-switch{width:36px;width:var(--mdc-switch-track-width, 36px)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:#6200ee;background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:#310077;background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:#310077;background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:#310077;background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:#424242;background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:#616161;background:var(--mdc-switch-unselected-handle-color, #616161)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:#424242;background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mdc-switch .mdc-switch__handle::before{background:#fff;background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-switch-handle-elevation, var(--mdc-elevation-box-shadow-for-gss));--mdc-elevation-box-shadow-for-gss:0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-switch-disabled-handle-elevation, var(--mdc-elevation-box-shadow-for-gss));--mdc-elevation-box-shadow-for-gss:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mdc-switch .mdc-switch__handle{height:20px;height:var(--mdc-switch-handle-height, 20px)}.mdc-switch:disabled .mdc-switch__handle::after{opacity:0.38;opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mdc-switch .mdc-switch__handle{border-radius:10px;border-radius:var(--mdc-switch-handle-shape, 10px)}.mdc-switch .mdc-switch__handle{width:20px;width:var(--mdc-switch-handle-width, 20px)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - 20px);width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:#fff;fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:#fff;fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:#fff;fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:#fff;fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:0.38;opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:0.38;opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:18px;width:var(--mdc-switch-selected-icon-size, 18px);height:18px;height:var(--mdc-switch-selected-icon-size, 18px)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:18px;width:var(--mdc-switch-unselected-icon-size, 18px);height:18px;height:var(--mdc-switch-unselected-icon-size, 18px)}.mdc-switch .mdc-switch__ripple{height:48px;height:var(--mdc-switch-state-layer-size, 48px);width:48px;width:var(--mdc-switch-state-layer-size, 48px)}.mdc-switch .mdc-switch__track{height:14px;height:var(--mdc-switch-track-height, 14px)}.mdc-switch:disabled .mdc-switch__track{opacity:0.12;opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mdc-switch:enabled .mdc-switch__track::after{background:#d7bbff;background:var(--mdc-switch-selected-track-color, #d7bbff)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:#d7bbff;background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:#d7bbff;background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mdc-switch:enabled:active .mdc-switch__track::after{background:#d7bbff;background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mdc-switch:disabled .mdc-switch__track::after{background:#424242;background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mdc-switch:enabled .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mdc-switch:enabled:active .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mdc-switch:disabled .mdc-switch__track::before{background:#424242;background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mdc-switch .mdc-switch__track{border-radius:7px;border-radius:var(--mdc-switch-track-shape, 7px)}.mdc-switch.mdc-switch--selected{--mdc-ripple-focus-state-layer-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee));--mdc-ripple-focus-state-layer-opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12);--mdc-ripple-hover-state-layer-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee));--mdc-ripple-hover-state-layer-opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04);--mdc-ripple-pressed-state-layer-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee));--mdc-ripple-pressed-state-layer-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active){--mdc-ripple-hover-state-layer-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mdc-switch.mdc-switch--selected:enabled:active{--mdc-ripple-hover-state-layer-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mdc-switch.mdc-switch--unselected{--mdc-ripple-focus-state-layer-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242);--mdc-ripple-focus-state-layer-opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12);--mdc-ripple-hover-state-layer-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242);--mdc-ripple-hover-state-layer-opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04);--mdc-ripple-pressed-state-layer-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242);--mdc-ripple-pressed-state-layer-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active){--mdc-ripple-hover-state-layer-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mdc-switch.mdc-switch--unselected:enabled:active{--mdc-ripple-hover-state-layer-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-switch:disabled .mdc-switch__handle::after{opacity:1;opacity:var(--mdc-switch-disabled-handle-opacity, 1)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:ButtonText;fill:var(--mdc-switch-selected-icon-color, ButtonText)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:GrayText;fill:var(--mdc-switch-disabled-selected-icon-color, GrayText)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:ButtonText;fill:var(--mdc-switch-unselected-icon-color, ButtonText)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:GrayText;fill:var(--mdc-switch-disabled-unselected-icon-color, GrayText)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:1;opacity:var(--mdc-switch-disabled-selected-icon-opacity, 1)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:1;opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 1)}.mdc-switch:disabled .mdc-switch__track{opacity:1;opacity:var(--mdc-switch-disabled-track-opacity, 1)}}`;var w=r(10),_=function(e,t,r,i){var a,c=arguments.length,s=c<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var n=e.length-1;n>=0;n--)(a=e[n])&&(s=(c<3?a(s):c>3?a(t,r,s):a(t,r))||s);return c>3&&s&&Object.defineProperty(t,r,s),s};let A=class extends y{};A.styles=[g],A=_([Object(w.a)("td-switch")],A)}]);
|