@covalent/components 10.4.0-beta.3 → 11.0.0-beta.1
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/_commonjsHelpers-DGT2Y9Xa.js +1 -0
- package/{_commonjsHelpers-HP5nalso.mjs → _commonjsHelpers-MdHo5S7N.mjs} +1 -1
- package/action-ribbon.js +5 -5
- package/action-ribbon.mjs +33 -33
- package/alert.js +5 -5
- package/alert.mjs +48 -48
- package/app-shell.js +1 -1
- package/app-shell.mjs +7 -7
- package/async-directive-JqUnzsgG.mjs +66 -0
- package/async-directive-X7VhNdG3.js +5 -0
- package/badge.js +1 -1
- package/badge.mjs +4 -4
- package/{base-element-5ZU-p99q.js → base-element-DP9GZic2.js} +1 -1
- package/{base-element-CzNmpVoz.mjs → base-element-DUJkJh_y.mjs} +1 -1
- package/button.js +2 -2
- package/button.mjs +26 -26
- package/card.js +8 -8
- package/card.mjs +39 -39
- package/check-list-item.js +8 -8
- package/check-list-item.mjs +34 -34
- package/checkbox.js +1 -1
- package/checkbox.mjs +15 -15
- package/{chip-DmwMNZYy.js → chip-BjFvUMom.js} +44 -44
- package/{chip-tQfbvpbh.mjs → chip-Dc7_8pVI.mjs} +412 -408
- package/chip-set.js +5 -5
- package/chip-set.mjs +125 -125
- package/chip.js +1 -1
- package/chip.mjs +2 -2
- package/circular-progress.js +15 -15
- package/circular-progress.mjs +25 -25
- package/class-map-DPUylGZM.mjs +36 -0
- package/class-map-DTzB8z-1.js +5 -0
- package/{code-editor-CryBkPGy.js → code-editor-Bu3qtyEg.js} +110 -110
- package/{code-editor-XU5DhFbC.mjs → code-editor-CPpojoPe.mjs} +5423 -5477
- package/code-editor.js +1 -1
- package/code-editor.mjs +2 -2
- package/code-snippet.js +11 -11
- package/code-snippet.mjs +2611 -2641
- package/{dialog-DMqDMT_N.js → dialog-BShWbhKq.js} +9 -9
- package/{dialog-BodJc4rc.mjs → dialog-CGLRIM8z.mjs} +186 -186
- package/dialog.js +1 -1
- package/dialog.mjs +2 -2
- package/directive-C7oCP5Bh.js +5 -0
- package/directive-helpers-C-un5pST.js +5 -0
- package/directive-helpers-DS-VuBZD.mjs +11 -0
- package/{directive-B76A7YXI.mjs → directive-oAbCiebi.mjs} +4 -4
- package/drawer.js +2 -2
- package/drawer.mjs +14 -14
- package/empty-state.js +1 -1
- package/empty-state.mjs +6 -6
- package/{event-options-D44mpm5S.mjs → event-options-C7DvXRgq.mjs} +1 -1
- package/{event-options-IG-2g8HU.js → event-options-DD382x85.js} +1 -1
- package/expansion-panel-item.js +1 -1
- package/expansion-panel-item.mjs +3 -3
- package/expansion-panel.js +1 -1
- package/expansion-panel.mjs +5 -5
- package/focused-page.js +1 -1
- package/focused-page.mjs +7 -7
- package/form-element-BOhYShN_.mjs +50 -0
- package/form-element-BSAsNxWv.js +5 -0
- package/formfield.js +7 -7
- package/formfield.mjs +45 -45
- package/{foundation-BYhAXCW_.mjs → foundation-CZtT3AWn.mjs} +15 -17
- package/{foundation-sIsx2I_x.js → foundation-CySCCTUE.js} +2 -2
- package/{foundation-D6JHa7Lg.mjs → foundation-PL3XY-m_.mjs} +4 -4
- package/{foundation-aT_gy6X8.js → foundation-pgmPu2iJ.js} +1 -1
- package/full-screen-dialog.js +2 -2
- package/full-screen-dialog.mjs +10 -10
- package/{html-DW6Y8eLM.mjs → html-DC72jQvb.mjs} +1 -1
- package/{html-CEiNqoVv.js → html-wWghN8cA.js} +1 -1
- package/icon-button-toggle.js +6 -6
- package/icon-button-toggle.mjs +32 -32
- package/icon-button.js +5 -5
- package/icon-button.mjs +36 -36
- package/icon-check-toggle.js +1 -1
- package/icon-check-toggle.mjs +7 -7
- package/icon-lockup.js +5 -5
- package/icon-lockup.mjs +4 -4
- package/icon-radio-toggle.js +1 -1
- package/icon-radio-toggle.mjs +13 -13
- package/icon.js +1 -1
- package/icon.mjs +13 -13
- package/{if-defined-B7G84qob.js → if-defined-CZCqOAYs.js} +1 -1
- package/{if-defined-DN7whKwy.mjs → if-defined-DGrxuPYz.mjs} +1 -1
- package/index.js +7 -7
- package/index.mjs +121 -121
- package/inert.esm-CknhJysw.mjs +645 -0
- package/inert.esm-D2PJKL9E.js +28 -0
- package/{javascript-DzJ0FiwJ.mjs → javascript-C_a5TwhW.mjs} +1 -1
- package/{javascript-vVCDG6Rm.js → javascript-cY8cX08V.js} +1 -1
- package/linear-progress.js +7 -7
- package/linear-progress.mjs +32 -32
- package/{list-item-BIuZJQpK.mjs → list-item-CK66f3gK.mjs} +1 -1
- package/{list-item-V8RaZO6L.js → list-item-LcvIn8Xz.js} +1 -1
- package/list-item.js +7 -7
- package/list-item.mjs +21 -21
- package/list.js +3 -3
- package/list.mjs +16 -16
- package/menu.js +3 -3
- package/menu.mjs +16 -16
- package/{mwc-checkbox.css-CNoj0V14.mjs → mwc-checkbox.css-BrjbMwch.mjs} +28 -28
- package/{mwc-checkbox.css-BV3dyB4C.js → mwc-checkbox.css-u49MHsHT.js} +1 -1
- package/{mwc-drawer-base-BIn51sQu.js → mwc-drawer-base-C2YS_KZk.js} +3 -3
- package/{mwc-drawer-base-C96HTnbC.mjs → mwc-drawer-base-_d7xArWM.mjs} +11 -11
- package/{mwc-icon-Xgr698ax.js → mwc-icon-BUzuM0iB.js} +1 -1
- package/{mwc-icon-DTCUplqR.mjs → mwc-icon-U80igLyY.mjs} +2 -2
- package/{mwc-icon-button.css-DOVWWyjA.js → mwc-icon-button.css-BzElD_JI.js} +1 -1
- package/{mwc-icon-button.css-DJiDOS0_.mjs → mwc-icon-button.css-DosQIdlt.mjs} +1 -1
- package/{mwc-line-ripple-directive-r80jluoU.js → mwc-line-ripple-directive-DBy5sTfo.js} +4 -4
- package/{mwc-line-ripple-directive-TO37-41n.mjs → mwc-line-ripple-directive-at_ngzOj.mjs} +35 -34
- package/{mwc-list-item.css-CO1JlA8e.js → mwc-list-item.css-Bib8TVz5.js} +10 -10
- package/{mwc-list-item.css-Cg9onxQ-.mjs → mwc-list-item.css-BtGzAhUF.mjs} +10 -10
- package/{mwc-list.css-C_-DVEme.mjs → mwc-list.css-BBbQixrF.mjs} +100 -100
- package/{mwc-list.css-Deg9oBaO.js → mwc-list.css-DWV8pw-x.js} +1 -1
- package/{mwc-menu.css-qpZxKN-g.mjs → mwc-menu.css-BUjxqJjM.mjs} +303 -303
- package/{mwc-menu.css-Dvr-f3_T.js → mwc-menu.css-D3EFugOg.js} +18 -18
- package/{mwc-radio.css-DjO4Rn44.js → mwc-radio.css-BWiWreTh.js} +1 -1
- package/{mwc-radio.css-BiHC1R8I.mjs → mwc-radio.css-DPbyzNg_.mjs} +8 -8
- package/{mwc-slider.css-Deh1__Ar.mjs → mwc-slider.css-CBNgYCJf.mjs} +277 -288
- package/{mwc-slider.css-DFOaS04S.js → mwc-slider.css-DytByuJk.js} +13 -13
- package/{mwc-tab.css-sq5suZKe.js → mwc-tab.css-CrjUDOft.js} +11 -11
- package/{mwc-tab.css-2UrPKkNg.mjs → mwc-tab.css-DJHVL7wZ.mjs} +31 -31
- package/{mwc-top-app-bar-base-DUdOcIjS.js → mwc-top-app-bar-base-Gxaye-WD.js} +3 -3
- package/{mwc-top-app-bar-base-BIZGhVtM.mjs → mwc-top-app-bar-base-N3OLLWe5.mjs} +21 -21
- package/nav-list-item.js +1 -1
- package/nav-list-item.mjs +13 -13
- package/notebook-cell.js +1 -1
- package/notebook-cell.mjs +23 -23
- package/package.json +3 -3
- package/{property-BRKnMYJe.js → property-DYTC_2-m.js} +1 -1
- package/{python-CddQNZH2.mjs → python-3XbrQbry.mjs} +1 -1
- package/{python-DnfGbG5q.js → python-C-jtMxm_.js} +1 -1
- package/query-CDOd1Kwm.mjs +15 -0
- package/query-Dv2F3m_t.js +5 -0
- package/query-assigned-elements-8EurZY45.js +31 -0
- package/query-assigned-elements-D930kELM.mjs +591 -0
- package/query-assigned-nodes-BAfLwxmx.js +5 -0
- package/query-assigned-nodes-Dof2CSLU.mjs +17 -0
- package/radio-list-item.js +9 -9
- package/radio-list-item.mjs +28 -28
- package/radio.js +1 -1
- package/radio.mjs +15 -15
- package/{ripple-handlers-BDmOLx8c.js → ripple-handlers-C7an-EE1.js} +5 -5
- package/{ripple-handlers-BAdg-fJB.mjs → ripple-handlers-_gEIkKpx.mjs} +71 -71
- package/select.js +15 -15
- package/select.mjs +166 -167
- package/side-sheet.js +1 -1
- package/side-sheet.mjs +8 -8
- package/slider-range.js +5 -5
- package/slider-range.mjs +43 -43
- package/slider.js +2 -2
- package/slider.mjs +19 -19
- package/snackbar.js +11 -11
- package/snackbar.mjs +54 -54
- package/{state-Csv4sdJA.js → state-C3HoXfoa.js} +1 -1
- package/status-dialog.js +1 -1
- package/status-dialog.mjs +6 -6
- package/status-header-item.js +1 -1
- package/status-header-item.mjs +17 -17
- package/status-header.js +5 -5
- package/status-header.mjs +34 -34
- package/style-map-D2TR7M-D.mjs +42 -0
- package/style-map-DOMuf9Fg.js +5 -0
- package/switch.js +5 -5
- package/switch.mjs +42 -42
- package/tab-bar.js +11 -11
- package/tab-bar.mjs +98 -98
- package/tab.js +1 -1
- package/tab.mjs +13 -13
- package/text-lockup.js +1 -1
- package/text-lockup.mjs +9 -9
- package/textarea.js +6 -6
- package/textarea.mjs +29 -29
- package/{textfield-bHWjhOOq.js → textfield-Byf2gP_G.js} +31 -31
- package/{textfield-i_Whj47J.mjs → textfield-RbQ6Kwq7.mjs} +102 -102
- package/textfield.js +3 -3
- package/textfield.mjs +17 -17
- package/theme/prebuilt/dark-theme.css +1 -1
- package/theme/prebuilt/light-theme.css +1 -1
- package/toolbar.js +1 -1
- package/toolbar.mjs +4 -4
- package/tooltip.js +3 -3
- package/tooltip.mjs +54 -55
- package/{top-app-bar-CZ5ILmAf.mjs → top-app-bar-BQ88Rom5.mjs} +1 -1
- package/top-app-bar-fixed.js +8 -8
- package/top-app-bar-fixed.mjs +40 -40
- package/{top-app-bar-UVbXY1md.js → top-app-bar-lbNkmJbQ.js} +1 -1
- package/top-app-bar.js +3 -3
- package/top-app-bar.mjs +18 -18
- package/tree-list-item.js +1 -1
- package/tree-list-item.mjs +4 -4
- package/tree-list.js +4 -4
- package/tree-list.mjs +22 -22
- package/tslib.es6-CJ7TUrOc.mjs +75 -0
- package/{typescript-BRw9OFm1.js → typescript-CNfpftAV.js} +1 -1
- package/{typescript-CdlgcZ3y.mjs → typescript-Dj6mne2e.mjs} +1 -1
- package/typography.js +1 -1
- package/typography.mjs +3 -3
- package/_commonjsHelpers-6jR-N8xe.js +0 -1
- package/async-directive-2AOdKBUW.mjs +0 -66
- package/async-directive-DZ3MjSIj.js +0 -5
- package/class-map-BHl5MHd7.mjs +0 -36
- package/class-map-PsUYVqvf.js +0 -5
- package/directive-C_VV3qwo.js +0 -5
- package/directive-helpers-6HCt_-zj.mjs +0 -11
- package/directive-helpers-BnUMbYHh.js +0 -5
- package/form-element--PS8uSRI.js +0 -5
- package/form-element-Dn0Lerng.mjs +0 -50
- package/inert.esm-C8R-X3j4.mjs +0 -639
- package/inert.esm-t-228rpY.js +0 -28
- package/query-BvlE-gMJ.js +0 -5
- package/query-DSO61t36.mjs +0 -15
- package/query-assigned-elements-BQszEgac.js +0 -31
- package/query-assigned-elements-DhyCP_2z.mjs +0 -591
- package/query-assigned-nodes-9DFnkxV8.js +0 -5
- package/query-assigned-nodes-B-jCihdA.mjs +0 -17
- package/style-map-3QfsA_1O.js +0 -5
- package/style-map-QxIETvrs.mjs +0 -42
- package/theme/prebuilt/dark-theme.css.map +0 -1
- package/theme/prebuilt/light-theme.css.map +0 -1
- package/tslib.es6-CISSdiiH.mjs +0 -75
- /package/{style.css → covalent.css} +0 -0
package/query-DSO61t36.mjs
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
import { o as t } from "./query-assigned-elements-DhyCP_2z.mjs";
|
2
|
-
/**
|
3
|
-
* @license
|
4
|
-
* Copyright 2017 Google LLC
|
5
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
6
|
-
*/
|
7
|
-
function d(r, u) {
|
8
|
-
return t({ descriptor: (o) => ({ get() {
|
9
|
-
var e, n;
|
10
|
-
return (n = (e = this.renderRoot) === null || e === void 0 ? void 0 : e.querySelector(r)) !== null && n !== void 0 ? n : null;
|
11
|
-
}, enumerable: !0, configurable: !0 }) });
|
12
|
-
}
|
13
|
-
export {
|
14
|
-
d as i
|
15
|
-
};
|
@@ -1,31 +0,0 @@
|
|
1
|
-
"use strict";/**
|
2
|
-
* @license
|
3
|
-
* Copyright 2019 Google LLC
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
-
*/const H=window,W=H.ShadowRoot&&(H.ShadyCSS===void 0||H.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,q=Symbol(),K=new WeakMap;let ie=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==q)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(W&&e===void 0){const n=t!==void 0&&t.length===1;n&&(e=K.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&K.set(t,e))}return e}toString(){return this.cssText}};const re=i=>new ie(typeof i=="string"?i:i+"",void 0,q),pe=(i,...e)=>{const t=i.length===1?i[0]:e.reduce((n,s,l)=>n+(r=>{if(r._$cssResult$===!0)return r.cssText;if(typeof r=="number")return r;throw Error("Value passed to 'css' function must be a 'css' function result: "+r+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+i[l+1],i[0]);return new ie(t,i,q)},$e=(i,e)=>{W?i.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{const n=document.createElement("style"),s=H.litNonce;s!==void 0&&n.setAttribute("nonce",s),n.textContent=t.cssText,i.appendChild(n)})},Z=W?i=>i:i=>i instanceof CSSStyleSheet?(e=>{let t="";for(const n of e.cssRules)t+=n.cssText;return re(t)})(i):i;/**
|
6
|
-
* @license
|
7
|
-
* Copyright 2017 Google LLC
|
8
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
9
|
-
*/var k;const N=window,J=N.trustedTypes,_e=J?J.emptyScript:"",F=N.reactiveElementPolyfillSupport,z={toAttribute(i,e){switch(e){case Boolean:i=i?_e:null;break;case Object:case Array:i=i==null?i:JSON.stringify(i)}return i},fromAttribute(i,e){let t=i;switch(e){case Boolean:t=i!==null;break;case Number:t=i===null?null:Number(i);break;case Object:case Array:try{t=JSON.parse(i)}catch{t=null}}return t}},le=(i,e)=>e!==i&&(e==e||i==i),R={attribute:!0,type:String,converter:z,reflect:!1,hasChanged:le},I="finalized";let g=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(e){var t;this.finalize(),((t=this.h)!==null&&t!==void 0?t:this.h=[]).push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach((t,n)=>{const s=this._$Ep(n,t);s!==void 0&&(this._$Ev.set(s,n),e.push(s))}),e}static createProperty(e,t=R){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const n=typeof e=="symbol"?Symbol():"__"+e,s=this.getPropertyDescriptor(e,n,t);s!==void 0&&Object.defineProperty(this.prototype,e,s)}}static getPropertyDescriptor(e,t,n){return{get(){return this[t]},set(s){const l=this[e];this[t]=s,this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||R}static finalize(){if(this.hasOwnProperty(I))return!1;this[I]=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),e.h!==void 0&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,n=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of n)this.createProperty(s,t[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const n=new Set(e.flat(1/0).reverse());for(const s of n)t.unshift(Z(s))}else e!==void 0&&t.push(Z(e));return t}static _$Ep(e,t){const n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}_$Eu(){var e;this._$E_=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(e=this.constructor.h)===null||e===void 0||e.forEach(t=>t(this))}addController(e){var t,n;((t=this._$ES)!==null&&t!==void 0?t:this._$ES=[]).push(e),this.renderRoot!==void 0&&this.isConnected&&((n=e.hostConnected)===null||n===void 0||n.call(e))}removeController(e){var t;(t=this._$ES)===null||t===void 0||t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])})}createRenderRoot(){var e;const t=(e=this.shadowRoot)!==null&&e!==void 0?e:this.attachShadow(this.constructor.shadowRootOptions);return $e(t,this.constructor.elementStyles),t}connectedCallback(){var e;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$ES)===null||e===void 0||e.forEach(t=>{var n;return(n=t.hostConnected)===null||n===void 0?void 0:n.call(t)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)===null||e===void 0||e.forEach(t=>{var n;return(n=t.hostDisconnected)===null||n===void 0?void 0:n.call(t)})}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t,n=R){var s;const l=this.constructor._$Ep(e,n);if(l!==void 0&&n.reflect===!0){const r=(((s=n.converter)===null||s===void 0?void 0:s.toAttribute)!==void 0?n.converter:z).toAttribute(t,n.type);this._$El=e,r==null?this.removeAttribute(l):this.setAttribute(l,r),this._$El=null}}_$AK(e,t){var n;const s=this.constructor,l=s._$Ev.get(e);if(l!==void 0&&this._$El!==l){const r=s.getPropertyOptions(l),u=typeof r.converter=="function"?{fromAttribute:r.converter}:((n=r.converter)===null||n===void 0?void 0:n.fromAttribute)!==void 0?r.converter:z;this._$El=l,this[l]=u.fromAttribute(t,r.type),this._$El=null}}requestUpdate(e,t,n){let s=!0;e!==void 0&&(((n=n||this.constructor.getPropertyOptions(e)).hasChanged||le)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),n.reflect===!0&&this._$El!==e&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(e,n))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((s,l)=>this[l]=s),this._$Ei=void 0);let t=!1;const n=this._$AL;try{t=this.shouldUpdate(n),t?(this.willUpdate(n),(e=this._$ES)===null||e===void 0||e.forEach(s=>{var l;return(l=s.hostUpdate)===null||l===void 0?void 0:l.call(s)}),this.update(n)):this._$Ek()}catch(s){throw t=!1,this._$Ek(),s}t&&this._$AE(n)}willUpdate(e){}_$AE(e){var t;(t=this._$ES)===null||t===void 0||t.forEach(n=>{var s;return(s=n.hostUpdated)===null||s===void 0?void 0:s.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){this._$EC!==void 0&&(this._$EC.forEach((t,n)=>this._$EO(n,this[n],t)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}};g[I]=!0,g.elementProperties=new Map,g.elementStyles=[],g.shadowRootOptions={mode:"open"},F==null||F({ReactiveElement:g}),((k=N.reactiveElementVersions)!==null&&k!==void 0?k:N.reactiveElementVersions=[]).push("1.6.3");/**
|
10
|
-
* @license
|
11
|
-
* Copyright 2017 Google LLC
|
12
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
13
|
-
*/var M;const T=window,E=T.trustedTypes,G=E?E.createPolicy("lit-html",{createHTML:i=>i}):void 0,V="$lit$",$=`lit$${(Math.random()+"").slice(9)}$`,oe="?"+$,Ae=`<${oe}>`,m=document,C=()=>m.createComment(""),w=i=>i===null||typeof i!="object"&&typeof i!="function",de=Array.isArray,me=i=>de(i)||typeof(i==null?void 0:i[Symbol.iterator])=="function",L=`[
|
14
|
-
\f\r]`,S=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Q=/-->/g,X=/>/g,_=RegExp(`>|${L}(?:([^\\s"'>=/]+)(${L}*=${L}*(?:[^
|
15
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,ee=/"/g,ue=/^(?:script|style|textarea|title)$/i,ye=i=>(e,...t)=>({_$litType$:i,strings:e,values:t}),ge=ye(1),y=Symbol.for("lit-noChange"),c=Symbol.for("lit-nothing"),te=new WeakMap,A=m.createTreeWalker(m,129,null,!1);function he(i,e){if(!Array.isArray(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return G!==void 0?G.createHTML(e):e}const Ee=(i,e)=>{const t=i.length-1,n=[];let s,l=e===2?"<svg>":"",r=S;for(let u=0;u<t;u++){const o=i[u];let d,h,a=-1,f=0;for(;f<o.length&&(r.lastIndex=f,h=r.exec(o),h!==null);)f=r.lastIndex,r===S?h[1]==="!--"?r=Q:h[1]!==void 0?r=X:h[2]!==void 0?(ue.test(h[2])&&(s=RegExp("</"+h[2],"g")),r=_):h[3]!==void 0&&(r=_):r===_?h[0]===">"?(r=s??S,a=-1):h[1]===void 0?a=-2:(a=r.lastIndex-h[2].length,d=h[1],r=h[3]===void 0?_:h[3]==='"'?ee:Y):r===ee||r===Y?r=_:r===Q||r===X?r=S:(r=_,s=void 0);const p=r===_&&i[u+1].startsWith("/>")?" ":"";l+=r===S?o+Ae:a>=0?(n.push(d),o.slice(0,a)+V+o.slice(a)+$+p):o+$+(a===-2?(n.push(void 0),u):p)}return[he(i,l+(i[t]||"<?>")+(e===2?"</svg>":"")),n]};class x{constructor({strings:e,_$litType$:t},n){let s;this.parts=[];let l=0,r=0;const u=e.length-1,o=this.parts,[d,h]=Ee(e,t);if(this.el=x.createElement(d,n),A.currentNode=this.el.content,t===2){const a=this.el.content,f=a.firstChild;f.remove(),a.append(...f.childNodes)}for(;(s=A.nextNode())!==null&&o.length<u;){if(s.nodeType===1){if(s.hasAttributes()){const a=[];for(const f of s.getAttributeNames())if(f.endsWith(V)||f.startsWith($)){const p=h[r++];if(a.push(f),p!==void 0){const fe=s.getAttribute(p.toLowerCase()+V).split($),U=/([.?@])?(.*)/.exec(p);o.push({type:1,index:l,name:U[2],strings:fe,ctor:U[1]==="."?Se:U[1]==="?"?Ce:U[1]==="@"?we:O})}else o.push({type:6,index:l})}for(const f of a)s.removeAttribute(f)}if(ue.test(s.tagName)){const a=s.textContent.split($),f=a.length-1;if(f>0){s.textContent=E?E.emptyScript:"";for(let p=0;p<f;p++)s.append(a[p],C()),A.nextNode(),o.push({type:2,index:++l});s.append(a[f],C())}}}else if(s.nodeType===8)if(s.data===oe)o.push({type:2,index:l});else{let a=-1;for(;(a=s.data.indexOf($,a+1))!==-1;)o.push({type:7,index:l}),a+=$.length-1}l++}}static createElement(e,t){const n=m.createElement("template");return n.innerHTML=e,n}}function v(i,e,t=i,n){var s,l,r,u;if(e===y)return e;let o=n!==void 0?(s=t._$Co)===null||s===void 0?void 0:s[n]:t._$Cl;const d=w(e)?void 0:e._$litDirective$;return(o==null?void 0:o.constructor)!==d&&((l=o==null?void 0:o._$AO)===null||l===void 0||l.call(o,!1),d===void 0?o=void 0:(o=new d(i),o._$AT(i,t,n)),n!==void 0?((r=(u=t)._$Co)!==null&&r!==void 0?r:u._$Co=[])[n]=o:t._$Cl=o),o!==void 0&&(e=v(i,o._$AS(i,e.values),o,n)),e}class ve{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;const{el:{content:n},parts:s}=this._$AD,l=((t=e==null?void 0:e.creationScope)!==null&&t!==void 0?t:m).importNode(n,!0);A.currentNode=l;let r=A.nextNode(),u=0,o=0,d=s[0];for(;d!==void 0;){if(u===d.index){let h;d.type===2?h=new P(r,r.nextSibling,this,e):d.type===1?h=new d.ctor(r,d.name,d.strings,this,e):d.type===6&&(h=new xe(r,this,e)),this._$AV.push(h),d=s[++o]}u!==(d==null?void 0:d.index)&&(r=A.nextNode(),u++)}return A.currentNode=m,l}v(e){let t=0;for(const n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}}class P{constructor(e,t,n,s){var l;this.type=2,this._$AH=c,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=s,this._$Cp=(l=s==null?void 0:s.isConnected)===null||l===void 0||l}get _$AU(){var e,t;return(t=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&t!==void 0?t:this._$Cp}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=v(this,e,t),w(e)?e===c||e==null||e===""?(this._$AH!==c&&this._$AR(),this._$AH=c):e!==this._$AH&&e!==y&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):me(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==c&&w(this._$AH)?this._$AA.nextSibling.data=e:this.$(m.createTextNode(e)),this._$AH=e}g(e){var t;const{values:n,_$litType$:s}=e,l=typeof s=="number"?this._$AC(e):(s.el===void 0&&(s.el=x.createElement(he(s.h,s.h[0]),this.options)),s);if(((t=this._$AH)===null||t===void 0?void 0:t._$AD)===l)this._$AH.v(n);else{const r=new ve(l,this),u=r.u(this.options);r.v(n),this.$(u),this._$AH=r}}_$AC(e){let t=te.get(e.strings);return t===void 0&&te.set(e.strings,t=new x(e)),t}T(e){de(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let n,s=0;for(const l of e)s===t.length?t.push(n=new P(this.k(C()),this.k(C()),this,this.options)):n=t[s],n._$AI(l),s++;s<t.length&&(this._$AR(n&&n._$AB.nextSibling,s),t.length=s)}_$AR(e=this._$AA.nextSibling,t){var n;for((n=this._$AP)===null||n===void 0||n.call(this,!1,!0,t);e&&e!==this._$AB;){const s=e.nextSibling;e.remove(),e=s}}setConnected(e){var t;this._$AM===void 0&&(this._$Cp=e,(t=this._$AP)===null||t===void 0||t.call(this,e))}}class O{constructor(e,t,n,s,l){this.type=1,this._$AH=c,this._$AN=void 0,this.element=e,this.name=t,this._$AM=s,this.options=l,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=c}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,n,s){const l=this.strings;let r=!1;if(l===void 0)e=v(this,e,t,0),r=!w(e)||e!==this._$AH&&e!==y,r&&(this._$AH=e);else{const u=e;let o,d;for(e=l[0],o=0;o<l.length-1;o++)d=v(this,u[n+o],t,o),d===y&&(d=this._$AH[o]),r||(r=!w(d)||d!==this._$AH[o]),d===c?e=c:e!==c&&(e+=(d??"")+l[o+1]),this._$AH[o]=d}r&&!s&&this.j(e)}j(e){e===c?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class Se extends O{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===c?void 0:e}}const be=E?E.emptyScript:"";class Ce extends O{constructor(){super(...arguments),this.type=4}j(e){e&&e!==c?this.element.setAttribute(this.name,be):this.element.removeAttribute(this.name)}}class we extends O{constructor(e,t,n,s,l){super(e,t,n,s,l),this.type=5}_$AI(e,t=this){var n;if((e=(n=v(this,e,t,0))!==null&&n!==void 0?n:c)===y)return;const s=this._$AH,l=e===c&&s!==c||e.capture!==s.capture||e.once!==s.once||e.passive!==s.passive,r=e!==c&&(s===c||l);l&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,n;typeof this._$AH=="function"?this._$AH.call((n=(t=this.options)===null||t===void 0?void 0:t.host)!==null&&n!==void 0?n:this.element,e):this._$AH.handleEvent(e)}}class xe{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){v(this,e)}}const ne=T.litHtmlPolyfillSupport;ne==null||ne(x,P),((M=T.litHtmlVersions)!==null&&M!==void 0?M:T.litHtmlVersions=[]).push("2.8.0");const ae=(i,e,t)=>{var n,s;const l=(n=t==null?void 0:t.renderBefore)!==null&&n!==void 0?n:e;let r=l._$litPart$;if(r===void 0){const u=(s=t==null?void 0:t.renderBefore)!==null&&s!==void 0?s:null;l._$litPart$=r=new P(e.insertBefore(C(),u),u,void 0,t??{})}return r._$AI(i),r};/**
|
16
|
-
* @license
|
17
|
-
* Copyright 2017 Google LLC
|
18
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
19
|
-
*/var j,D;class b extends g{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,t;const n=super.createRenderRoot();return(e=(t=this.renderOptions).renderBefore)!==null&&e!==void 0||(t.renderBefore=n.firstChild),n}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=ae(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!1)}render(){return y}}b.finalized=!0,b._$litElement$=!0,(j=globalThis.litElementHydrateSupport)===null||j===void 0||j.call(globalThis,{LitElement:b});const se=globalThis.litElementPolyfillSupport;se==null||se({LitElement:b});((D=globalThis.litElementVersions)!==null&&D!==void 0?D:globalThis.litElementVersions=[]).push("3.3.3");/**
|
20
|
-
* @license
|
21
|
-
* Copyright 2017 Google LLC
|
22
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
23
|
-
*/const Pe=i=>e=>typeof e=="function"?((t,n)=>(customElements.define(t,n),n))(i,e):((t,n)=>{const{kind:s,elements:l}=n;return{kind:s,elements:l,finisher(r){customElements.define(t,r)}}})(i,e);/**
|
24
|
-
* @license
|
25
|
-
* Copyright 2017 Google LLC
|
26
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
27
|
-
*/const ce=({finisher:i,descriptor:e})=>(t,n)=>{var s;if(n===void 0){const l=(s=t.originalKey)!==null&&s!==void 0?s:t.key,r=e!=null?{kind:"method",placement:"prototype",key:l,descriptor:e(t.key)}:{...t,key:l};return i!=null&&(r.finisher=function(u){i(u,l)}),r}{const l=t.constructor;e!==void 0&&Object.defineProperty(t,n,e(n)),i==null||i(l,n)}};/**
|
28
|
-
* @license
|
29
|
-
* Copyright 2021 Google LLC
|
30
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
31
|
-
*/var B;const Ue=((B=window.HTMLSlotElement)===null||B===void 0?void 0:B.prototype.assignedElements)!=null?(i,e)=>i.assignedElements(e):(i,e)=>i.assignedNodes(e).filter(t=>t.nodeType===Node.ELEMENT_NODE);function He(i){const{slot:e,selector:t}=i??{};return ce({descriptor:n=>({get(){var s;const l="slot"+(e?`[name=${e}]`:":not([name])"),r=(s=this.renderRoot)===null||s===void 0?void 0:s.querySelector(l),u=r!=null?Ue(r,i):[];return t?u.filter(o=>o.matches(t)):u},enumerable:!0,configurable:!0})})}exports.A=c;exports.D=ae;exports.T=y;exports.e=Pe;exports.i=pe;exports.l=He;exports.o=ce;exports.r=re;exports.s=b;exports.x=ge;
|
@@ -1,591 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license
|
3
|
-
* Copyright 2019 Google LLC
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
-
*/
|
6
|
-
const U = window, W = U.ShadowRoot && (U.ShadyCSS === void 0 || U.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, q = Symbol(), K = /* @__PURE__ */ new WeakMap();
|
7
|
-
let ie = class {
|
8
|
-
constructor(e, t, n) {
|
9
|
-
if (this._$cssResult$ = !0, n !== q) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
10
|
-
this.cssText = e, this.t = t;
|
11
|
-
}
|
12
|
-
get styleSheet() {
|
13
|
-
let e = this.o;
|
14
|
-
const t = this.t;
|
15
|
-
if (W && e === void 0) {
|
16
|
-
const n = t !== void 0 && t.length === 1;
|
17
|
-
n && (e = K.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && K.set(t, e));
|
18
|
-
}
|
19
|
-
return e;
|
20
|
-
}
|
21
|
-
toString() {
|
22
|
-
return this.cssText;
|
23
|
-
}
|
24
|
-
};
|
25
|
-
const ae = (i) => new ie(typeof i == "string" ? i : i + "", void 0, q), Pe = (i, ...e) => {
|
26
|
-
const t = i.length === 1 ? i[0] : e.reduce((n, s, l) => n + ((r) => {
|
27
|
-
if (r._$cssResult$ === !0) return r.cssText;
|
28
|
-
if (typeof r == "number") return r;
|
29
|
-
throw Error("Value passed to 'css' function must be a 'css' function result: " + r + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
30
|
-
})(s) + i[l + 1], i[0]);
|
31
|
-
return new ie(t, i, q);
|
32
|
-
}, ce = (i, e) => {
|
33
|
-
W ? i.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet) : e.forEach((t) => {
|
34
|
-
const n = document.createElement("style"), s = U.litNonce;
|
35
|
-
s !== void 0 && n.setAttribute("nonce", s), n.textContent = t.cssText, i.appendChild(n);
|
36
|
-
});
|
37
|
-
}, Z = W ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((e) => {
|
38
|
-
let t = "";
|
39
|
-
for (const n of e.cssRules) t += n.cssText;
|
40
|
-
return ae(t);
|
41
|
-
})(i) : i;
|
42
|
-
/**
|
43
|
-
* @license
|
44
|
-
* Copyright 2017 Google LLC
|
45
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
46
|
-
*/
|
47
|
-
var k;
|
48
|
-
const N = window, J = N.trustedTypes, fe = J ? J.emptyScript : "", F = N.reactiveElementPolyfillSupport, z = { toAttribute(i, e) {
|
49
|
-
switch (e) {
|
50
|
-
case Boolean:
|
51
|
-
i = i ? fe : null;
|
52
|
-
break;
|
53
|
-
case Object:
|
54
|
-
case Array:
|
55
|
-
i = i == null ? i : JSON.stringify(i);
|
56
|
-
}
|
57
|
-
return i;
|
58
|
-
}, fromAttribute(i, e) {
|
59
|
-
let t = i;
|
60
|
-
switch (e) {
|
61
|
-
case Boolean:
|
62
|
-
t = i !== null;
|
63
|
-
break;
|
64
|
-
case Number:
|
65
|
-
t = i === null ? null : Number(i);
|
66
|
-
break;
|
67
|
-
case Object:
|
68
|
-
case Array:
|
69
|
-
try {
|
70
|
-
t = JSON.parse(i);
|
71
|
-
} catch {
|
72
|
-
t = null;
|
73
|
-
}
|
74
|
-
}
|
75
|
-
return t;
|
76
|
-
} }, re = (i, e) => e !== i && (e == e || i == i), R = { attribute: !0, type: String, converter: z, reflect: !1, hasChanged: re }, I = "finalized";
|
77
|
-
let y = class extends HTMLElement {
|
78
|
-
constructor() {
|
79
|
-
super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this._$Eu();
|
80
|
-
}
|
81
|
-
static addInitializer(e) {
|
82
|
-
var t;
|
83
|
-
this.finalize(), ((t = this.h) !== null && t !== void 0 ? t : this.h = []).push(e);
|
84
|
-
}
|
85
|
-
static get observedAttributes() {
|
86
|
-
this.finalize();
|
87
|
-
const e = [];
|
88
|
-
return this.elementProperties.forEach((t, n) => {
|
89
|
-
const s = this._$Ep(n, t);
|
90
|
-
s !== void 0 && (this._$Ev.set(s, n), e.push(s));
|
91
|
-
}), e;
|
92
|
-
}
|
93
|
-
static createProperty(e, t = R) {
|
94
|
-
if (t.state && (t.attribute = !1), this.finalize(), this.elementProperties.set(e, t), !t.noAccessor && !this.prototype.hasOwnProperty(e)) {
|
95
|
-
const n = typeof e == "symbol" ? Symbol() : "__" + e, s = this.getPropertyDescriptor(e, n, t);
|
96
|
-
s !== void 0 && Object.defineProperty(this.prototype, e, s);
|
97
|
-
}
|
98
|
-
}
|
99
|
-
static getPropertyDescriptor(e, t, n) {
|
100
|
-
return { get() {
|
101
|
-
return this[t];
|
102
|
-
}, set(s) {
|
103
|
-
const l = this[e];
|
104
|
-
this[t] = s, this.requestUpdate(e, l, n);
|
105
|
-
}, configurable: !0, enumerable: !0 };
|
106
|
-
}
|
107
|
-
static getPropertyOptions(e) {
|
108
|
-
return this.elementProperties.get(e) || R;
|
109
|
-
}
|
110
|
-
static finalize() {
|
111
|
-
if (this.hasOwnProperty(I)) return !1;
|
112
|
-
this[I] = !0;
|
113
|
-
const e = Object.getPrototypeOf(this);
|
114
|
-
if (e.finalize(), e.h !== void 0 && (this.h = [...e.h]), this.elementProperties = new Map(e.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
|
115
|
-
const t = this.properties, n = [...Object.getOwnPropertyNames(t), ...Object.getOwnPropertySymbols(t)];
|
116
|
-
for (const s of n) this.createProperty(s, t[s]);
|
117
|
-
}
|
118
|
-
return this.elementStyles = this.finalizeStyles(this.styles), !0;
|
119
|
-
}
|
120
|
-
static finalizeStyles(e) {
|
121
|
-
const t = [];
|
122
|
-
if (Array.isArray(e)) {
|
123
|
-
const n = new Set(e.flat(1 / 0).reverse());
|
124
|
-
for (const s of n) t.unshift(Z(s));
|
125
|
-
} else e !== void 0 && t.push(Z(e));
|
126
|
-
return t;
|
127
|
-
}
|
128
|
-
static _$Ep(e, t) {
|
129
|
-
const n = t.attribute;
|
130
|
-
return n === !1 ? void 0 : typeof n == "string" ? n : typeof e == "string" ? e.toLowerCase() : void 0;
|
131
|
-
}
|
132
|
-
_$Eu() {
|
133
|
-
var e;
|
134
|
-
this._$E_ = new Promise((t) => this.enableUpdating = t), this._$AL = /* @__PURE__ */ new Map(), this._$Eg(), this.requestUpdate(), (e = this.constructor.h) === null || e === void 0 || e.forEach((t) => t(this));
|
135
|
-
}
|
136
|
-
addController(e) {
|
137
|
-
var t, n;
|
138
|
-
((t = this._$ES) !== null && t !== void 0 ? t : this._$ES = []).push(e), this.renderRoot !== void 0 && this.isConnected && ((n = e.hostConnected) === null || n === void 0 || n.call(e));
|
139
|
-
}
|
140
|
-
removeController(e) {
|
141
|
-
var t;
|
142
|
-
(t = this._$ES) === null || t === void 0 || t.splice(this._$ES.indexOf(e) >>> 0, 1);
|
143
|
-
}
|
144
|
-
_$Eg() {
|
145
|
-
this.constructor.elementProperties.forEach((e, t) => {
|
146
|
-
this.hasOwnProperty(t) && (this._$Ei.set(t, this[t]), delete this[t]);
|
147
|
-
});
|
148
|
-
}
|
149
|
-
createRenderRoot() {
|
150
|
-
var e;
|
151
|
-
const t = (e = this.shadowRoot) !== null && e !== void 0 ? e : this.attachShadow(this.constructor.shadowRootOptions);
|
152
|
-
return ce(t, this.constructor.elementStyles), t;
|
153
|
-
}
|
154
|
-
connectedCallback() {
|
155
|
-
var e;
|
156
|
-
this.renderRoot === void 0 && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (e = this._$ES) === null || e === void 0 || e.forEach((t) => {
|
157
|
-
var n;
|
158
|
-
return (n = t.hostConnected) === null || n === void 0 ? void 0 : n.call(t);
|
159
|
-
});
|
160
|
-
}
|
161
|
-
enableUpdating(e) {
|
162
|
-
}
|
163
|
-
disconnectedCallback() {
|
164
|
-
var e;
|
165
|
-
(e = this._$ES) === null || e === void 0 || e.forEach((t) => {
|
166
|
-
var n;
|
167
|
-
return (n = t.hostDisconnected) === null || n === void 0 ? void 0 : n.call(t);
|
168
|
-
});
|
169
|
-
}
|
170
|
-
attributeChangedCallback(e, t, n) {
|
171
|
-
this._$AK(e, n);
|
172
|
-
}
|
173
|
-
_$EO(e, t, n = R) {
|
174
|
-
var s;
|
175
|
-
const l = this.constructor._$Ep(e, n);
|
176
|
-
if (l !== void 0 && n.reflect === !0) {
|
177
|
-
const r = (((s = n.converter) === null || s === void 0 ? void 0 : s.toAttribute) !== void 0 ? n.converter : z).toAttribute(t, n.type);
|
178
|
-
this._$El = e, r == null ? this.removeAttribute(l) : this.setAttribute(l, r), this._$El = null;
|
179
|
-
}
|
180
|
-
}
|
181
|
-
_$AK(e, t) {
|
182
|
-
var n;
|
183
|
-
const s = this.constructor, l = s._$Ev.get(e);
|
184
|
-
if (l !== void 0 && this._$El !== l) {
|
185
|
-
const r = s.getPropertyOptions(l), u = typeof r.converter == "function" ? { fromAttribute: r.converter } : ((n = r.converter) === null || n === void 0 ? void 0 : n.fromAttribute) !== void 0 ? r.converter : z;
|
186
|
-
this._$El = l, this[l] = u.fromAttribute(t, r.type), this._$El = null;
|
187
|
-
}
|
188
|
-
}
|
189
|
-
requestUpdate(e, t, n) {
|
190
|
-
let s = !0;
|
191
|
-
e !== void 0 && (((n = n || this.constructor.getPropertyOptions(e)).hasChanged || re)(this[e], t) ? (this._$AL.has(e) || this._$AL.set(e, t), n.reflect === !0 && this._$El !== e && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(e, n))) : s = !1), !this.isUpdatePending && s && (this._$E_ = this._$Ej());
|
192
|
-
}
|
193
|
-
async _$Ej() {
|
194
|
-
this.isUpdatePending = !0;
|
195
|
-
try {
|
196
|
-
await this._$E_;
|
197
|
-
} catch (t) {
|
198
|
-
Promise.reject(t);
|
199
|
-
}
|
200
|
-
const e = this.scheduleUpdate();
|
201
|
-
return e != null && await e, !this.isUpdatePending;
|
202
|
-
}
|
203
|
-
scheduleUpdate() {
|
204
|
-
return this.performUpdate();
|
205
|
-
}
|
206
|
-
performUpdate() {
|
207
|
-
var e;
|
208
|
-
if (!this.isUpdatePending) return;
|
209
|
-
this.hasUpdated, this._$Ei && (this._$Ei.forEach((s, l) => this[l] = s), this._$Ei = void 0);
|
210
|
-
let t = !1;
|
211
|
-
const n = this._$AL;
|
212
|
-
try {
|
213
|
-
t = this.shouldUpdate(n), t ? (this.willUpdate(n), (e = this._$ES) === null || e === void 0 || e.forEach((s) => {
|
214
|
-
var l;
|
215
|
-
return (l = s.hostUpdate) === null || l === void 0 ? void 0 : l.call(s);
|
216
|
-
}), this.update(n)) : this._$Ek();
|
217
|
-
} catch (s) {
|
218
|
-
throw t = !1, this._$Ek(), s;
|
219
|
-
}
|
220
|
-
t && this._$AE(n);
|
221
|
-
}
|
222
|
-
willUpdate(e) {
|
223
|
-
}
|
224
|
-
_$AE(e) {
|
225
|
-
var t;
|
226
|
-
(t = this._$ES) === null || t === void 0 || t.forEach((n) => {
|
227
|
-
var s;
|
228
|
-
return (s = n.hostUpdated) === null || s === void 0 ? void 0 : s.call(n);
|
229
|
-
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(e)), this.updated(e);
|
230
|
-
}
|
231
|
-
_$Ek() {
|
232
|
-
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
233
|
-
}
|
234
|
-
get updateComplete() {
|
235
|
-
return this.getUpdateComplete();
|
236
|
-
}
|
237
|
-
getUpdateComplete() {
|
238
|
-
return this._$E_;
|
239
|
-
}
|
240
|
-
shouldUpdate(e) {
|
241
|
-
return !0;
|
242
|
-
}
|
243
|
-
update(e) {
|
244
|
-
this._$EC !== void 0 && (this._$EC.forEach((t, n) => this._$EO(n, this[n], t)), this._$EC = void 0), this._$Ek();
|
245
|
-
}
|
246
|
-
updated(e) {
|
247
|
-
}
|
248
|
-
firstUpdated(e) {
|
249
|
-
}
|
250
|
-
};
|
251
|
-
y[I] = !0, y.elementProperties = /* @__PURE__ */ new Map(), y.elementStyles = [], y.shadowRootOptions = { mode: "open" }, F == null || F({ ReactiveElement: y }), ((k = N.reactiveElementVersions) !== null && k !== void 0 ? k : N.reactiveElementVersions = []).push("1.6.3");
|
252
|
-
/**
|
253
|
-
* @license
|
254
|
-
* Copyright 2017 Google LLC
|
255
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
256
|
-
*/
|
257
|
-
var M;
|
258
|
-
const T = window, g = T.trustedTypes, G = g ? g.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, V = "$lit$", $ = `lit$${(Math.random() + "").slice(9)}$`, le = "?" + $, pe = `<${le}>`, m = document, b = () => m.createComment(""), C = (i) => i === null || typeof i != "object" && typeof i != "function", oe = Array.isArray, $e = (i) => oe(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", L = `[
|
259
|
-
\f\r]`, S = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Q = /-->/g, X = />/g, _ = RegExp(`>|${L}(?:([^\\s"'>=/]+)(${L}*=${L}*(?:[^
|
260
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Y = /'/g, ee = /"/g, de = /^(?:script|style|textarea|title)$/i, _e = (i) => (e, ...t) => ({ _$litType$: i, strings: e, values: t }), He = _e(1), E = Symbol.for("lit-noChange"), c = Symbol.for("lit-nothing"), te = /* @__PURE__ */ new WeakMap(), A = m.createTreeWalker(m, 129, null, !1);
|
261
|
-
function ue(i, e) {
|
262
|
-
if (!Array.isArray(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
263
|
-
return G !== void 0 ? G.createHTML(e) : e;
|
264
|
-
}
|
265
|
-
const Ae = (i, e) => {
|
266
|
-
const t = i.length - 1, n = [];
|
267
|
-
let s, l = e === 2 ? "<svg>" : "", r = S;
|
268
|
-
for (let u = 0; u < t; u++) {
|
269
|
-
const o = i[u];
|
270
|
-
let d, h, a = -1, f = 0;
|
271
|
-
for (; f < o.length && (r.lastIndex = f, h = r.exec(o), h !== null); ) f = r.lastIndex, r === S ? h[1] === "!--" ? r = Q : h[1] !== void 0 ? r = X : h[2] !== void 0 ? (de.test(h[2]) && (s = RegExp("</" + h[2], "g")), r = _) : h[3] !== void 0 && (r = _) : r === _ ? h[0] === ">" ? (r = s ?? S, a = -1) : h[1] === void 0 ? a = -2 : (a = r.lastIndex - h[2].length, d = h[1], r = h[3] === void 0 ? _ : h[3] === '"' ? ee : Y) : r === ee || r === Y ? r = _ : r === Q || r === X ? r = S : (r = _, s = void 0);
|
272
|
-
const p = r === _ && i[u + 1].startsWith("/>") ? " " : "";
|
273
|
-
l += r === S ? o + pe : a >= 0 ? (n.push(d), o.slice(0, a) + V + o.slice(a) + $ + p) : o + $ + (a === -2 ? (n.push(void 0), u) : p);
|
274
|
-
}
|
275
|
-
return [ue(i, l + (i[t] || "<?>") + (e === 2 ? "</svg>" : "")), n];
|
276
|
-
};
|
277
|
-
class w {
|
278
|
-
constructor({ strings: e, _$litType$: t }, n) {
|
279
|
-
let s;
|
280
|
-
this.parts = [];
|
281
|
-
let l = 0, r = 0;
|
282
|
-
const u = e.length - 1, o = this.parts, [d, h] = Ae(e, t);
|
283
|
-
if (this.el = w.createElement(d, n), A.currentNode = this.el.content, t === 2) {
|
284
|
-
const a = this.el.content, f = a.firstChild;
|
285
|
-
f.remove(), a.append(...f.childNodes);
|
286
|
-
}
|
287
|
-
for (; (s = A.nextNode()) !== null && o.length < u; ) {
|
288
|
-
if (s.nodeType === 1) {
|
289
|
-
if (s.hasAttributes()) {
|
290
|
-
const a = [];
|
291
|
-
for (const f of s.getAttributeNames()) if (f.endsWith(V) || f.startsWith($)) {
|
292
|
-
const p = h[r++];
|
293
|
-
if (a.push(f), p !== void 0) {
|
294
|
-
const he = s.getAttribute(p.toLowerCase() + V).split($), P = /([.?@])?(.*)/.exec(p);
|
295
|
-
o.push({ type: 1, index: l, name: P[2], strings: he, ctor: P[1] === "." ? ye : P[1] === "?" ? Ee : P[1] === "@" ? ve : O });
|
296
|
-
} else o.push({ type: 6, index: l });
|
297
|
-
}
|
298
|
-
for (const f of a) s.removeAttribute(f);
|
299
|
-
}
|
300
|
-
if (de.test(s.tagName)) {
|
301
|
-
const a = s.textContent.split($), f = a.length - 1;
|
302
|
-
if (f > 0) {
|
303
|
-
s.textContent = g ? g.emptyScript : "";
|
304
|
-
for (let p = 0; p < f; p++) s.append(a[p], b()), A.nextNode(), o.push({ type: 2, index: ++l });
|
305
|
-
s.append(a[f], b());
|
306
|
-
}
|
307
|
-
}
|
308
|
-
} else if (s.nodeType === 8) if (s.data === le) o.push({ type: 2, index: l });
|
309
|
-
else {
|
310
|
-
let a = -1;
|
311
|
-
for (; (a = s.data.indexOf($, a + 1)) !== -1; ) o.push({ type: 7, index: l }), a += $.length - 1;
|
312
|
-
}
|
313
|
-
l++;
|
314
|
-
}
|
315
|
-
}
|
316
|
-
static createElement(e, t) {
|
317
|
-
const n = m.createElement("template");
|
318
|
-
return n.innerHTML = e, n;
|
319
|
-
}
|
320
|
-
}
|
321
|
-
function v(i, e, t = i, n) {
|
322
|
-
var s, l, r, u;
|
323
|
-
if (e === E) return e;
|
324
|
-
let o = n !== void 0 ? (s = t._$Co) === null || s === void 0 ? void 0 : s[n] : t._$Cl;
|
325
|
-
const d = C(e) ? void 0 : e._$litDirective$;
|
326
|
-
return (o == null ? void 0 : o.constructor) !== d && ((l = o == null ? void 0 : o._$AO) === null || l === void 0 || l.call(o, !1), d === void 0 ? o = void 0 : (o = new d(i), o._$AT(i, t, n)), n !== void 0 ? ((r = (u = t)._$Co) !== null && r !== void 0 ? r : u._$Co = [])[n] = o : t._$Cl = o), o !== void 0 && (e = v(i, o._$AS(i, e.values), o, n)), e;
|
327
|
-
}
|
328
|
-
class me {
|
329
|
-
constructor(e, t) {
|
330
|
-
this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
|
331
|
-
}
|
332
|
-
get parentNode() {
|
333
|
-
return this._$AM.parentNode;
|
334
|
-
}
|
335
|
-
get _$AU() {
|
336
|
-
return this._$AM._$AU;
|
337
|
-
}
|
338
|
-
u(e) {
|
339
|
-
var t;
|
340
|
-
const { el: { content: n }, parts: s } = this._$AD, l = ((t = e == null ? void 0 : e.creationScope) !== null && t !== void 0 ? t : m).importNode(n, !0);
|
341
|
-
A.currentNode = l;
|
342
|
-
let r = A.nextNode(), u = 0, o = 0, d = s[0];
|
343
|
-
for (; d !== void 0; ) {
|
344
|
-
if (u === d.index) {
|
345
|
-
let h;
|
346
|
-
d.type === 2 ? h = new x(r, r.nextSibling, this, e) : d.type === 1 ? h = new d.ctor(r, d.name, d.strings, this, e) : d.type === 6 && (h = new Se(r, this, e)), this._$AV.push(h), d = s[++o];
|
347
|
-
}
|
348
|
-
u !== (d == null ? void 0 : d.index) && (r = A.nextNode(), u++);
|
349
|
-
}
|
350
|
-
return A.currentNode = m, l;
|
351
|
-
}
|
352
|
-
v(e) {
|
353
|
-
let t = 0;
|
354
|
-
for (const n of this._$AV) n !== void 0 && (n.strings !== void 0 ? (n._$AI(e, n, t), t += n.strings.length - 2) : n._$AI(e[t])), t++;
|
355
|
-
}
|
356
|
-
}
|
357
|
-
class x {
|
358
|
-
constructor(e, t, n, s) {
|
359
|
-
var l;
|
360
|
-
this.type = 2, this._$AH = c, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = n, this.options = s, this._$Cp = (l = s == null ? void 0 : s.isConnected) === null || l === void 0 || l;
|
361
|
-
}
|
362
|
-
get _$AU() {
|
363
|
-
var e, t;
|
364
|
-
return (t = (e = this._$AM) === null || e === void 0 ? void 0 : e._$AU) !== null && t !== void 0 ? t : this._$Cp;
|
365
|
-
}
|
366
|
-
get parentNode() {
|
367
|
-
let e = this._$AA.parentNode;
|
368
|
-
const t = this._$AM;
|
369
|
-
return t !== void 0 && (e == null ? void 0 : e.nodeType) === 11 && (e = t.parentNode), e;
|
370
|
-
}
|
371
|
-
get startNode() {
|
372
|
-
return this._$AA;
|
373
|
-
}
|
374
|
-
get endNode() {
|
375
|
-
return this._$AB;
|
376
|
-
}
|
377
|
-
_$AI(e, t = this) {
|
378
|
-
e = v(this, e, t), C(e) ? e === c || e == null || e === "" ? (this._$AH !== c && this._$AR(), this._$AH = c) : e !== this._$AH && e !== E && this._(e) : e._$litType$ !== void 0 ? this.g(e) : e.nodeType !== void 0 ? this.$(e) : $e(e) ? this.T(e) : this._(e);
|
379
|
-
}
|
380
|
-
k(e) {
|
381
|
-
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
382
|
-
}
|
383
|
-
$(e) {
|
384
|
-
this._$AH !== e && (this._$AR(), this._$AH = this.k(e));
|
385
|
-
}
|
386
|
-
_(e) {
|
387
|
-
this._$AH !== c && C(this._$AH) ? this._$AA.nextSibling.data = e : this.$(m.createTextNode(e)), this._$AH = e;
|
388
|
-
}
|
389
|
-
g(e) {
|
390
|
-
var t;
|
391
|
-
const { values: n, _$litType$: s } = e, l = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = w.createElement(ue(s.h, s.h[0]), this.options)), s);
|
392
|
-
if (((t = this._$AH) === null || t === void 0 ? void 0 : t._$AD) === l) this._$AH.v(n);
|
393
|
-
else {
|
394
|
-
const r = new me(l, this), u = r.u(this.options);
|
395
|
-
r.v(n), this.$(u), this._$AH = r;
|
396
|
-
}
|
397
|
-
}
|
398
|
-
_$AC(e) {
|
399
|
-
let t = te.get(e.strings);
|
400
|
-
return t === void 0 && te.set(e.strings, t = new w(e)), t;
|
401
|
-
}
|
402
|
-
T(e) {
|
403
|
-
oe(this._$AH) || (this._$AH = [], this._$AR());
|
404
|
-
const t = this._$AH;
|
405
|
-
let n, s = 0;
|
406
|
-
for (const l of e) s === t.length ? t.push(n = new x(this.k(b()), this.k(b()), this, this.options)) : n = t[s], n._$AI(l), s++;
|
407
|
-
s < t.length && (this._$AR(n && n._$AB.nextSibling, s), t.length = s);
|
408
|
-
}
|
409
|
-
_$AR(e = this._$AA.nextSibling, t) {
|
410
|
-
var n;
|
411
|
-
for ((n = this._$AP) === null || n === void 0 || n.call(this, !1, !0, t); e && e !== this._$AB; ) {
|
412
|
-
const s = e.nextSibling;
|
413
|
-
e.remove(), e = s;
|
414
|
-
}
|
415
|
-
}
|
416
|
-
setConnected(e) {
|
417
|
-
var t;
|
418
|
-
this._$AM === void 0 && (this._$Cp = e, (t = this._$AP) === null || t === void 0 || t.call(this, e));
|
419
|
-
}
|
420
|
-
}
|
421
|
-
class O {
|
422
|
-
constructor(e, t, n, s, l) {
|
423
|
-
this.type = 1, this._$AH = c, this._$AN = void 0, this.element = e, this.name = t, this._$AM = s, this.options = l, n.length > 2 || n[0] !== "" || n[1] !== "" ? (this._$AH = Array(n.length - 1).fill(new String()), this.strings = n) : this._$AH = c;
|
424
|
-
}
|
425
|
-
get tagName() {
|
426
|
-
return this.element.tagName;
|
427
|
-
}
|
428
|
-
get _$AU() {
|
429
|
-
return this._$AM._$AU;
|
430
|
-
}
|
431
|
-
_$AI(e, t = this, n, s) {
|
432
|
-
const l = this.strings;
|
433
|
-
let r = !1;
|
434
|
-
if (l === void 0) e = v(this, e, t, 0), r = !C(e) || e !== this._$AH && e !== E, r && (this._$AH = e);
|
435
|
-
else {
|
436
|
-
const u = e;
|
437
|
-
let o, d;
|
438
|
-
for (e = l[0], o = 0; o < l.length - 1; o++) d = v(this, u[n + o], t, o), d === E && (d = this._$AH[o]), r || (r = !C(d) || d !== this._$AH[o]), d === c ? e = c : e !== c && (e += (d ?? "") + l[o + 1]), this._$AH[o] = d;
|
439
|
-
}
|
440
|
-
r && !s && this.j(e);
|
441
|
-
}
|
442
|
-
j(e) {
|
443
|
-
e === c ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
|
444
|
-
}
|
445
|
-
}
|
446
|
-
class ye extends O {
|
447
|
-
constructor() {
|
448
|
-
super(...arguments), this.type = 3;
|
449
|
-
}
|
450
|
-
j(e) {
|
451
|
-
this.element[this.name] = e === c ? void 0 : e;
|
452
|
-
}
|
453
|
-
}
|
454
|
-
const ge = g ? g.emptyScript : "";
|
455
|
-
class Ee extends O {
|
456
|
-
constructor() {
|
457
|
-
super(...arguments), this.type = 4;
|
458
|
-
}
|
459
|
-
j(e) {
|
460
|
-
e && e !== c ? this.element.setAttribute(this.name, ge) : this.element.removeAttribute(this.name);
|
461
|
-
}
|
462
|
-
}
|
463
|
-
class ve extends O {
|
464
|
-
constructor(e, t, n, s, l) {
|
465
|
-
super(e, t, n, s, l), this.type = 5;
|
466
|
-
}
|
467
|
-
_$AI(e, t = this) {
|
468
|
-
var n;
|
469
|
-
if ((e = (n = v(this, e, t, 0)) !== null && n !== void 0 ? n : c) === E) return;
|
470
|
-
const s = this._$AH, l = e === c && s !== c || e.capture !== s.capture || e.once !== s.once || e.passive !== s.passive, r = e !== c && (s === c || l);
|
471
|
-
l && this.element.removeEventListener(this.name, this, s), r && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
472
|
-
}
|
473
|
-
handleEvent(e) {
|
474
|
-
var t, n;
|
475
|
-
typeof this._$AH == "function" ? this._$AH.call((n = (t = this.options) === null || t === void 0 ? void 0 : t.host) !== null && n !== void 0 ? n : this.element, e) : this._$AH.handleEvent(e);
|
476
|
-
}
|
477
|
-
}
|
478
|
-
class Se {
|
479
|
-
constructor(e, t, n) {
|
480
|
-
this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = n;
|
481
|
-
}
|
482
|
-
get _$AU() {
|
483
|
-
return this._$AM._$AU;
|
484
|
-
}
|
485
|
-
_$AI(e) {
|
486
|
-
v(this, e);
|
487
|
-
}
|
488
|
-
}
|
489
|
-
const ne = T.litHtmlPolyfillSupport;
|
490
|
-
ne == null || ne(w, x), ((M = T.litHtmlVersions) !== null && M !== void 0 ? M : T.litHtmlVersions = []).push("2.8.0");
|
491
|
-
const be = (i, e, t) => {
|
492
|
-
var n, s;
|
493
|
-
const l = (n = t == null ? void 0 : t.renderBefore) !== null && n !== void 0 ? n : e;
|
494
|
-
let r = l._$litPart$;
|
495
|
-
if (r === void 0) {
|
496
|
-
const u = (s = t == null ? void 0 : t.renderBefore) !== null && s !== void 0 ? s : null;
|
497
|
-
l._$litPart$ = r = new x(e.insertBefore(b(), u), u, void 0, t ?? {});
|
498
|
-
}
|
499
|
-
return r._$AI(i), r;
|
500
|
-
};
|
501
|
-
/**
|
502
|
-
* @license
|
503
|
-
* Copyright 2017 Google LLC
|
504
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
505
|
-
*/
|
506
|
-
var j, B;
|
507
|
-
class H extends y {
|
508
|
-
constructor() {
|
509
|
-
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
510
|
-
}
|
511
|
-
createRenderRoot() {
|
512
|
-
var e, t;
|
513
|
-
const n = super.createRenderRoot();
|
514
|
-
return (e = (t = this.renderOptions).renderBefore) !== null && e !== void 0 || (t.renderBefore = n.firstChild), n;
|
515
|
-
}
|
516
|
-
update(e) {
|
517
|
-
const t = this.render();
|
518
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = be(t, this.renderRoot, this.renderOptions);
|
519
|
-
}
|
520
|
-
connectedCallback() {
|
521
|
-
var e;
|
522
|
-
super.connectedCallback(), (e = this._$Do) === null || e === void 0 || e.setConnected(!0);
|
523
|
-
}
|
524
|
-
disconnectedCallback() {
|
525
|
-
var e;
|
526
|
-
super.disconnectedCallback(), (e = this._$Do) === null || e === void 0 || e.setConnected(!1);
|
527
|
-
}
|
528
|
-
render() {
|
529
|
-
return E;
|
530
|
-
}
|
531
|
-
}
|
532
|
-
H.finalized = !0, H._$litElement$ = !0, (j = globalThis.litElementHydrateSupport) === null || j === void 0 || j.call(globalThis, { LitElement: H });
|
533
|
-
const se = globalThis.litElementPolyfillSupport;
|
534
|
-
se == null || se({ LitElement: H });
|
535
|
-
((B = globalThis.litElementVersions) !== null && B !== void 0 ? B : globalThis.litElementVersions = []).push("3.3.3");
|
536
|
-
/**
|
537
|
-
* @license
|
538
|
-
* Copyright 2017 Google LLC
|
539
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
540
|
-
*/
|
541
|
-
const Ne = (i) => (e) => typeof e == "function" ? ((t, n) => (customElements.define(t, n), n))(i, e) : ((t, n) => {
|
542
|
-
const { kind: s, elements: l } = n;
|
543
|
-
return { kind: s, elements: l, finisher(r) {
|
544
|
-
customElements.define(t, r);
|
545
|
-
} };
|
546
|
-
})(i, e);
|
547
|
-
/**
|
548
|
-
* @license
|
549
|
-
* Copyright 2017 Google LLC
|
550
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
551
|
-
*/
|
552
|
-
const Ce = ({ finisher: i, descriptor: e }) => (t, n) => {
|
553
|
-
var s;
|
554
|
-
if (n === void 0) {
|
555
|
-
const l = (s = t.originalKey) !== null && s !== void 0 ? s : t.key, r = e != null ? { kind: "method", placement: "prototype", key: l, descriptor: e(t.key) } : { ...t, key: l };
|
556
|
-
return i != null && (r.finisher = function(u) {
|
557
|
-
i(u, l);
|
558
|
-
}), r;
|
559
|
-
}
|
560
|
-
{
|
561
|
-
const l = t.constructor;
|
562
|
-
e !== void 0 && Object.defineProperty(t, n, e(n)), i == null || i(l, n);
|
563
|
-
}
|
564
|
-
};
|
565
|
-
/**
|
566
|
-
* @license
|
567
|
-
* Copyright 2021 Google LLC
|
568
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
569
|
-
*/
|
570
|
-
var D;
|
571
|
-
const we = ((D = window.HTMLSlotElement) === null || D === void 0 ? void 0 : D.prototype.assignedElements) != null ? (i, e) => i.assignedElements(e) : (i, e) => i.assignedNodes(e).filter((t) => t.nodeType === Node.ELEMENT_NODE);
|
572
|
-
function Te(i) {
|
573
|
-
const { slot: e, selector: t } = i ?? {};
|
574
|
-
return Ce({ descriptor: (n) => ({ get() {
|
575
|
-
var s;
|
576
|
-
const l = "slot" + (e ? `[name=${e}]` : ":not([name])"), r = (s = this.renderRoot) === null || s === void 0 ? void 0 : s.querySelector(l), u = r != null ? we(r, i) : [];
|
577
|
-
return t ? u.filter((o) => o.matches(t)) : u;
|
578
|
-
}, enumerable: !0, configurable: !0 }) });
|
579
|
-
}
|
580
|
-
export {
|
581
|
-
c as A,
|
582
|
-
be as D,
|
583
|
-
E as T,
|
584
|
-
Ne as e,
|
585
|
-
Pe as i,
|
586
|
-
Te as l,
|
587
|
-
Ce as o,
|
588
|
-
ae as r,
|
589
|
-
H as s,
|
590
|
-
He as x
|
591
|
-
};
|
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";const d=require("./query-assigned-elements-BQszEgac.js");/**
|
2
|
-
* @license
|
3
|
-
* Copyright 2017 Google LLC
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
-
*/function c(e,u,o){let t,n=e;return typeof e=="object"?(n=e.slot,t=e):t={flatten:u},o?d.l({slot:n,flatten:u,selector:o}):d.o({descriptor:f=>({get(){var l,r;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=(l=this.renderRoot)===null||l===void 0?void 0:l.querySelector(i);return(r=s==null?void 0:s.assignedNodes(t))!==null&&r!==void 0?r:[]},enumerable:!0,configurable:!0})})}exports.o=c;
|