@momentum-ui/web-components 3.0.0-alpha.1 → 3.0.0-alpha.2

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.
Files changed (46) hide show
  1. package/dist/1873.js +2 -0
  2. package/dist/2555.js +5 -5
  3. package/dist/6752.js +1 -1
  4. package/dist/679.js +16 -16
  5. package/dist/comp/md-badge-entry.js +5 -5
  6. package/dist/comp/md-badge.js +1 -1
  7. package/dist/comp/md-card-v2-entry.js +7 -7
  8. package/dist/comp/md-card-v2.js +1 -1
  9. package/dist/comp/md-coachmark-popover-entry.js +5 -5
  10. package/dist/comp/md-coachmark-popover.js +1 -1
  11. package/dist/comp/md-country-code-picker-entry.js +8 -8
  12. package/dist/comp/md-country-code-picker.js +1 -1
  13. package/dist/comp/md-date-range-picker-entry.js +1 -1
  14. package/dist/comp/md-date-range-picker.js +1 -1
  15. package/dist/comp/md-datepicker-entry.js +1 -1
  16. package/dist/comp/md-datepicker.js +1 -1
  17. package/dist/comp/md-phone-input-entry.js +9 -9
  18. package/dist/comp/md-phone-input.js +1 -1
  19. package/dist/comp/md-popover-entry.js +5 -5
  20. package/dist/comp/md-popover.js +1 -1
  21. package/dist/comp/md-tabs-entry.js +1 -1
  22. package/dist/comp/md-tabs.js +1 -1
  23. package/dist/comp/md-task-item-entry.js +12 -12
  24. package/dist/comp/md-task-item.js +1 -1
  25. package/dist/index-entry.js +213 -213
  26. package/dist/index.js +1 -1
  27. package/dist/types/components/badge/Badge.d.ts +1 -2
  28. package/dist/types/components/badge/NotificationBadge.d.ts +1 -1
  29. package/dist/types/components/floating-button-bar/FloatingButtonBar.d.ts +2 -2
  30. package/dist/types/components/grabber/Grabber.d.ts +1 -1
  31. package/dist/types/components/skeleton/Skeleton.d.ts +20 -0
  32. package/dist/types/components/taskitem/TaskItem.utils.d.ts +2 -2
  33. package/dist/types/index.d.ts +1 -0
  34. package/package.json +1 -1
  35. package/dist/1990.js +0 -2
  36. package/dist/1990.js.LICENSE.txt +0 -5
  37. package/dist/4371.js +0 -2
  38. package/dist/4371.js.LICENSE.txt +0 -5
  39. package/dist/4935.js +0 -2
  40. package/dist/4935.js.LICENSE.txt +0 -5
  41. package/dist/6683.js +0 -2
  42. package/dist/7228.js +0 -2
  43. package/dist/7228.js.LICENSE.txt +0 -5
  44. package/dist/9609.js +0 -2
  45. package/dist/9609.js.LICENSE.txt +0 -5
  46. /package/dist/{6683.js.LICENSE.txt → 1873.js.LICENSE.txt} +0 -0
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- require("./6633"),require("./4765"),require("./7103"),require("./6683"),require("./4935"),require("./7228"),require("./1890"),require("./4313"),require("./510"),require("./6283"),require("./5087"),require("./6865"),require("./8889"),require("./8210"),require("./5630"),require("./3135"),require("./1013"),require("./3739"),require("./7819"),require("./2848"),require("./4363"),require("./2243"),require("./7919"),require("./7292"),require("./6188"),require("./15"),require("./8345"),require("./9270"),require("./8923"),require("./4548"),require("./2669"),require("./1729"),require("./9164"),require("./9480"),require("./1625"),require("./836"),require("./3625"),require("./2056"),require("./4889"),require("./9409"),require("./9654"),require("./4659"),require("./5838"),require("./6765"),require("./1626"),require("./3852"),require("./8161"),require("./6273"),require("./8391"),require("./679"),require("./8033"),require("./1564"),require("./4462"),require("./4744"),require("./8576"),require("./1092"),require("./8171"),require("./2201"),require("./2186"),require("./9425"),require("./8588"),require("./3212"),require("./622"),require("./5809"),require("./9455"),require("./759"),require("./2093"),require("./8148"),require("./5799"),require("./9312"),require("./2714"),require("./9238"),require("./7833"),require("./2924"),require("./5524"),require("./674"),require("./2314"),module.exports=require("./index-entry");
1
+ require("./6633"),require("./7103"),require("./4765"),require("./1873"),require("./1890"),require("./4313"),require("./510"),require("./6283"),require("./5087"),require("./6865"),require("./8889"),require("./8210"),require("./5630"),require("./3135"),require("./1013"),require("./3739"),require("./7819"),require("./2848"),require("./4363"),require("./2243"),require("./7919"),require("./7292"),require("./6188"),require("./15"),require("./8345"),require("./9270"),require("./8923"),require("./4548"),require("./2669"),require("./1729"),require("./9164"),require("./9480"),require("./1625"),require("./836"),require("./3625"),require("./2056"),require("./4889"),require("./9409"),require("./9654"),require("./4659"),require("./5838"),require("./6765"),require("./1626"),require("./3852"),require("./8161"),require("./6273"),require("./8391"),require("./679"),require("./8033"),require("./1564"),require("./4462"),require("./4744"),require("./8576"),require("./1092"),require("./8171"),require("./2201"),require("./2186"),require("./9425"),require("./8588"),require("./3212"),require("./622"),require("./5809"),require("./9455"),require("./759"),require("./2093"),require("./8148"),require("./5799"),require("./9312"),require("./2714"),require("./9238"),require("./7833"),require("./2924"),require("./5524"),require("./674"),require("./2314"),module.exports=require("./index-entry");
@@ -5,8 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
- import { LitElement } from "lit";
9
- import { nothing } from "lit-html";
8
+ import { LitElement, nothing } from "lit";
10
9
  import { BadgeCircleSize, BadgeSize } from "./badge.constants";
11
10
  export declare namespace Badge {
12
11
  type BadgeCircleSize = (typeof BadgeCircleSize)[keyof typeof BadgeCircleSize];
@@ -1,5 +1,5 @@
1
+ import type { CSSResult, CSSResultArray, PropertyValues, TemplateResult } from "lit";
1
2
  import { LitElement } from "lit";
2
- import type { CSSResult, CSSResultArray, PropertyValues, TemplateResult } from "lit-element";
3
3
  import "../icon/Icon";
4
4
  import type { BadgeType, IconVariant } from "./badge.types";
5
5
  /**
@@ -1,7 +1,7 @@
1
1
  import "@/components/button/Button";
2
2
  import "@/components/icon/Icon";
3
3
  import "@/components/tooltip/Tooltip";
4
- import { LitElement } from "lit";
4
+ import { LitElement, TemplateResult } from "lit";
5
5
  export type FloatingButtonActionGroup = {
6
6
  actions: Array<FloatingButtonBarAction>;
7
7
  };
@@ -30,7 +30,7 @@ export declare class FloatingButtonBar extends LitElement {
30
30
  private getActionAndLabelTemplate;
31
31
  private getActionTemplate;
32
32
  private getActionGroupTemplate;
33
- render(): import("lit").TemplateResult<1>;
33
+ render(): TemplateResult<1>;
34
34
  }
35
35
  declare global {
36
36
  interface HTMLElementTagNameMap {
@@ -83,7 +83,7 @@ export declare namespace Grabber {
83
83
  };
84
84
  private get grabberContainerClassMap();
85
85
  private get isRtl();
86
- get iconName(): "arrow-up-bold" | "arrow-down-bold" | "arrow-left-bold" | "arrow-right-bold" | "list-menu-bold";
86
+ get iconName(): "list-menu-bold" | "arrow-right-bold" | "arrow-left-bold" | "arrow-up-bold" | "arrow-down-bold";
87
87
  get iconSize(): "10" | "12";
88
88
  render(): import("lit").TemplateResult<1>;
89
89
  }
@@ -0,0 +1,20 @@
1
+ import { LitElement } from "lit";
2
+ export declare const skeletonAnimationTypes: readonly ["none", "pulse"];
3
+ export declare const skeletonVariants: readonly ["circle", "rectangular", "rounded"];
4
+ export declare namespace Skeleton {
5
+ type AnimationType = (typeof skeletonAnimationTypes)[number];
6
+ type Variant = (typeof skeletonVariants)[number];
7
+ class ELEMENT extends LitElement {
8
+ width?: string;
9
+ height?: string;
10
+ variant?: Variant;
11
+ animation?: AnimationType;
12
+ render(): import("lit").TemplateResult<1>;
13
+ static get styles(): import("lit").CSSResult[];
14
+ }
15
+ }
16
+ declare global {
17
+ interface HTMLElementTagNameMap {
18
+ "md-skeleton": Skeleton.ELEMENT;
19
+ }
20
+ }
@@ -1,8 +1,8 @@
1
1
  import { Avatar } from "@/components/avatar/Avatar";
2
- import { nothing, TemplateResult } from "lit-html";
2
+ import { nothing, TemplateResult } from "lit";
3
3
  export declare const getTaskTypeTemplate: (isRestyle: boolean, mediaType: string, selected: boolean, status: string | null, iconSrc: string) => TemplateResult<1>;
4
4
  export declare const getChannelAvatar: (selected: boolean, status: string | null, type: Avatar.ChannelType, slot?: TemplateResult) => TemplateResult<1>;
5
5
  export declare const renderTaskType: (mediaType: string, selected: boolean, status: string | null, iconSrc: string) => TemplateResult<1>;
6
6
  export declare const renderStatus: (status: string) => TemplateResult<1>;
7
7
  export declare const renderLegacyTaskType: (mediaType: string, selected: boolean, iconSrc: string) => TemplateResult<1>;
8
- export declare const renderChatCount: (quantity: number, isRestyle: boolean, element: HTMLElement) => typeof nothing | TemplateResult<1>;
8
+ export declare const renderChatCount: (quantity: number, isRestyle: boolean, element: HTMLElement) => TemplateResult<1> | typeof nothing;
@@ -72,6 +72,7 @@ export type { PresenceState } from "./components/presence/Presence.utils";
72
72
  export { ProgressBar } from "./components/progress-bar/ProgressBar";
73
73
  export { Radio } from "./components/radio/Radio";
74
74
  export { RadioGroup } from "./components/radio/RadioGroup";
75
+ export { Skeleton } from "./components/skeleton/Skeleton";
75
76
  export { Slider } from "./components/slider/Slider";
76
77
  export { Spinner } from "./components/spinner/Spinner";
77
78
  export { TableAdvanced } from "./components/table-advanced/TableAdvanced";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momentum-ui/web-components",
3
- "version": "3.0.0-alpha.1",
3
+ "version": "3.0.0-alpha.2",
4
4
  "author": "Yana Harris",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/momentum-design/momentum-ui.git",
package/dist/1990.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 1990.js.LICENSE.txt */
2
- "use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[1990,4371,6752,7228,9609],{36752:(t,e,s)=>{s.d(e,{c0:()=>N,ge:()=>W,s6:()=>b});const i=globalThis,n=i.trustedTypes,o=n?n.createPolicy("lit-html",{createHTML:t=>t}):void 0,h="$lit$",r=`lit$${Math.random().toFixed(9).slice(2)}$`,l="?"+r,$=`<${l}>`,A=document,_=()=>A.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,d=t=>a(t)||"function"==typeof t?.[Symbol.iterator],p="[ \t\n\f\r]",u=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,g=/-->/g,m=/>/g,v=RegExp(`>|${p}(?:([^\\s"'>=/]+)(${p}*=${p}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),f=/'/g,y=/"/g,H=/^(?:script|style|textarea|title)$/i,x=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),N=(x(1),x(2),x(3),Symbol.for("lit-noChange")),b=Symbol.for("lit-nothing"),T=new WeakMap,C=A.createTreeWalker(A,129);function M(t,e){if(!a(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==o?o.createHTML(e):e}const w=(t,e)=>{const s=t.length-1,i=[];let n,o=2===e?"<svg>":3===e?"<math>":"",l=u;for(let e=0;e<s;e++){const s=t[e];let A,_,c=-1,a=0;for(;a<s.length&&(l.lastIndex=a,_=l.exec(s),null!==_);)a=l.lastIndex,l===u?"!--"===_[1]?l=g:void 0!==_[1]?l=m:void 0!==_[2]?(H.test(_[2])&&(n=RegExp("</"+_[2],"g")),l=v):void 0!==_[3]&&(l=v):l===v?">"===_[0]?(l=n??u,c=-1):void 0===_[1]?c=-2:(c=l.lastIndex-_[2].length,A=_[1],l=void 0===_[3]?v:'"'===_[3]?y:f):l===y||l===f?l=v:l===g||l===m?l=u:(l=v,n=void 0);const d=l===v&&t[e+1].startsWith("/>")?" ":"";o+=l===u?s+$:c>=0?(i.push(A),s.slice(0,c)+h+s.slice(c)+r+d):s+r+(-2===c?e:d)}return[M(t,o+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]};class S{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let o=0,$=0;const A=t.length-1,c=this.parts,[a,d]=w(t,e);if(this.el=S.createElement(a,s),C.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=C.nextNode())&&c.length<A;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(h)){const e=d[$++],s=i.getAttribute(t).split(r),n=/([.?@])?(.*)/.exec(e);c.push({type:1,index:o,name:n[2],strings:s,ctor:"."===n[1]?B:"?"===n[1]?O:"@"===n[1]?L:R}),i.removeAttribute(t)}else t.startsWith(r)&&(c.push({type:6,index:o}),i.removeAttribute(t));if(H.test(i.tagName)){const t=i.textContent.split(r),e=t.length-1;if(e>0){i.textContent=n?n.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],_()),C.nextNode(),c.push({type:2,index:++o});i.append(t[e],_())}}}else if(8===i.nodeType)if(i.data===l)c.push({type:2,index:o});else{let t=-1;for(;-1!==(t=i.data.indexOf(r,t+1));)c.push({type:7,index:o}),t+=r.length-1}o++}}static createElement(t,e){const s=A.createElement("template");return s.innerHTML=t,s}}function E(t,e,s=t,i){if(e===N)return e;let n=void 0!==i?s._$Co?.[i]:s._$Cl;const o=c(e)?void 0:e._$litDirective$;return n?.constructor!==o&&(n?._$AO?.(!1),void 0===o?n=void 0:(n=new o(t),n._$AT(t,s,i)),void 0!==i?(s._$Co??=[])[i]=n:s._$Cl=n),void 0!==n&&(e=E(t,n._$AS(t,e.values),n,i)),e}class I{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??A).importNode(e,!0);C.currentNode=i;let n=C.nextNode(),o=0,h=0,r=s[0];for(;void 0!==r;){if(o===r.index){let e;2===r.type?e=new U(n,n.nextSibling,this,t):1===r.type?e=new r.ctor(n,r.name,r.strings,this,t):6===r.type&&(e=new P(n,this,t)),this._$AV.push(e),r=s[++h]}o!==r?.index&&(n=C.nextNode(),o++)}return C.currentNode=A,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class U{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=b,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=E(this,t,e),c(t)?t===b||null==t||""===t?(this._$AH!==b&&this._$AR(),this._$AH=b):t!==this._$AH&&t!==N&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):d(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==b&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(A.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,i="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=S.createElement(M(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new I(i,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=T.get(t.strings);return void 0===e&&T.set(t.strings,e=new S(t)),e}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new U(this.O(_()),this.O(_()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class R{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=b,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=b}_$AI(t,e=this,s,i){const n=this.strings;let o=!1;if(void 0===n)t=E(this,t,e,0),o=!c(t)||t!==this._$AH&&t!==N,o&&(this._$AH=t);else{const i=t;let h,r;for(t=n[0],h=0;h<n.length-1;h++)r=E(this,i[s+h],e,h),r===N&&(r=this._$AH[h]),o||=!c(r)||r!==this._$AH[h],r===b?t=b:t!==b&&(t+=(r??"")+n[h+1]),this._$AH[h]=r}o&&!i&&this.j(t)}j(t){t===b?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class B extends R{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===b?void 0:t}}class O extends R{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==b)}}class L extends R{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=E(this,t,e,0)??b)===N)return;const s=this._$AH,i=t===b&&s!==b||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==b&&(s===b||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class P{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){E(this,t)}}const W={M:h,P:r,A:l,C:1,L:w,R:I,D:d,V:E,I:U,H:R,N:O,U:L,B,F:P},j=i.litHtmlPolyfillSupport;j?.(S,U),(i.litHtmlVersions??=[]).push("3.3.1")}}]);
@@ -1,5 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
package/dist/4371.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 4371.js.LICENSE.txt */
2
- "use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[1990,4371,6752,7228,9609],{36752:(t,e,s)=>{s.d(e,{c0:()=>x,s6:()=>N});const i=globalThis,n=i.trustedTypes,o=n?n.createPolicy("lit-html",{createHTML:t=>t}):void 0,h="$lit$",r=`lit$${Math.random().toFixed(9).slice(2)}$`,l="?"+r,$=`<${l}>`,A=document,_=()=>A.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,d="[ \t\n\f\r]",p=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,u=/-->/g,g=/>/g,m=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),v=/'/g,f=/"/g,y=/^(?:script|style|textarea|title)$/i,H=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),x=(H(1),H(2),H(3),Symbol.for("lit-noChange")),N=Symbol.for("lit-nothing"),b=new WeakMap,T=A.createTreeWalker(A,129);function C(t,e){if(!a(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==o?o.createHTML(e):e}const M=(t,e)=>{const s=t.length-1,i=[];let n,o=2===e?"<svg>":3===e?"<math>":"",l=p;for(let e=0;e<s;e++){const s=t[e];let A,_,c=-1,a=0;for(;a<s.length&&(l.lastIndex=a,_=l.exec(s),null!==_);)a=l.lastIndex,l===p?"!--"===_[1]?l=u:void 0!==_[1]?l=g:void 0!==_[2]?(y.test(_[2])&&(n=RegExp("</"+_[2],"g")),l=m):void 0!==_[3]&&(l=m):l===m?">"===_[0]?(l=n??p,c=-1):void 0===_[1]?c=-2:(c=l.lastIndex-_[2].length,A=_[1],l=void 0===_[3]?m:'"'===_[3]?f:v):l===f||l===v?l=m:l===u||l===g?l=p:(l=m,n=void 0);const d=l===m&&t[e+1].startsWith("/>")?" ":"";o+=l===p?s+$:c>=0?(i.push(A),s.slice(0,c)+h+s.slice(c)+r+d):s+r+(-2===c?e:d)}return[C(t,o+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]};class w{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let o=0,$=0;const A=t.length-1,c=this.parts,[a,d]=M(t,e);if(this.el=w.createElement(a,s),T.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=T.nextNode())&&c.length<A;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(h)){const e=d[$++],s=i.getAttribute(t).split(r),n=/([.?@])?(.*)/.exec(e);c.push({type:1,index:o,name:n[2],strings:s,ctor:"."===n[1]?O:"?"===n[1]?R:"@"===n[1]?B:U}),i.removeAttribute(t)}else t.startsWith(r)&&(c.push({type:6,index:o}),i.removeAttribute(t));if(y.test(i.tagName)){const t=i.textContent.split(r),e=t.length-1;if(e>0){i.textContent=n?n.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],_()),T.nextNode(),c.push({type:2,index:++o});i.append(t[e],_())}}}else if(8===i.nodeType)if(i.data===l)c.push({type:2,index:o});else{let t=-1;for(;-1!==(t=i.data.indexOf(r,t+1));)c.push({type:7,index:o}),t+=r.length-1}o++}}static createElement(t,e){const s=A.createElement("template");return s.innerHTML=t,s}}function S(t,e,s=t,i){if(e===x)return e;let n=void 0!==i?s._$Co?.[i]:s._$Cl;const o=c(e)?void 0:e._$litDirective$;return n?.constructor!==o&&(n?._$AO?.(!1),void 0===o?n=void 0:(n=new o(t),n._$AT(t,s,i)),void 0!==i?(s._$Co??=[])[i]=n:s._$Cl=n),void 0!==n&&(e=S(t,n._$AS(t,e.values),n,i)),e}class E{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??A).importNode(e,!0);T.currentNode=i;let n=T.nextNode(),o=0,h=0,r=s[0];for(;void 0!==r;){if(o===r.index){let e;2===r.type?e=new I(n,n.nextSibling,this,t):1===r.type?e=new r.ctor(n,r.name,r.strings,this,t):6===r.type&&(e=new W(n,this,t)),this._$AV.push(e),r=s[++h]}o!==r?.index&&(n=T.nextNode(),o++)}return T.currentNode=A,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class I{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=N,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),c(t)?t===N||null==t||""===t?(this._$AH!==N&&this._$AR(),this._$AH=N):t!==this._$AH&&t!==x&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>a(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==N&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(A.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,i="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=w.createElement(C(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new E(i,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=b.get(t.strings);return void 0===e&&b.set(t.strings,e=new w(t)),e}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new I(this.O(_()),this.O(_()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class U{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=N,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=N}_$AI(t,e=this,s,i){const n=this.strings;let o=!1;if(void 0===n)t=S(this,t,e,0),o=!c(t)||t!==this._$AH&&t!==x,o&&(this._$AH=t);else{const i=t;let h,r;for(t=n[0],h=0;h<n.length-1;h++)r=S(this,i[s+h],e,h),r===x&&(r=this._$AH[h]),o||=!c(r)||r!==this._$AH[h],r===N?t=N:t!==N&&(t+=(r??"")+n[h+1]),this._$AH[h]=r}o&&!i&&this.j(t)}j(t){t===N?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class O extends U{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===N?void 0:t}}class R extends U{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==N)}}class B extends U{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??N)===x)return;const s=this._$AH,i=t===N&&s!==N||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==N&&(s===N||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class W{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}}const j=i.litHtmlPolyfillSupport;j?.(w,I),(i.litHtmlVersions??=[]).push("3.3.1")}}]);
@@ -1,5 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
package/dist/4935.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 4935.js.LICENSE.txt */
2
- "use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[4935],{64935:(e,t,s)=>{s.d(t,{u:()=>d});var n=s(36752),o=s(7804);const{I:r}=n.ge,i=()=>document.createComment(""),l=(e,t,s)=>{const n=e._$AA.parentNode,o=void 0===t?e._$AB:t._$AA;if(void 0===s){const t=n.insertBefore(i(),o),l=n.insertBefore(i(),o);s=new r(t,l,e,e.options)}else{const t=s._$AB.nextSibling,r=s._$AM,i=r!==e;if(i){let t;s._$AQ?.(e),s._$AM=e,void 0!==s._$AP&&(t=e._$AU)!==r._$AU&&s._$AP(t)}if(t!==o||i){let e=s._$AA;for(;e!==t;){const t=e.nextSibling;n.insertBefore(e,o),e=t}}}return s},u=(e,t,s=e)=>(e._$AI(t,s),e),f={},c=e=>{e._$AR(),e._$AA.remove()},A=(e,t,s)=>{const n=new Map;for(let o=t;o<=s;o++)n.set(e[o],o);return n},d=(0,o.u$)(class extends o.WL{constructor(e){if(super(e),e.type!==o.OA.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,s){let n;void 0===s?s=t:void 0!==t&&(n=t);const o=[],r=[];let i=0;for(const t of e)o[i]=n?n(t,i):i,r[i]=s(t,i),i++;return{values:r,keys:o}}render(e,t,s){return this.dt(e,t,s).values}update(e,[t,s,o]){const r=e._$AH,{values:i,keys:d}=this.dt(t,s,o);if(!Array.isArray(r))return this.ut=d,i;const $=this.ut??=[],_=[];let a,m,v=0,h=r.length-1,p=0,g=i.length-1;for(;v<=h&&p<=g;)if(null===r[v])v++;else if(null===r[h])h--;else if($[v]===d[p])_[p]=u(r[v],i[p]),v++,p++;else if($[h]===d[g])_[g]=u(r[h],i[g]),h--,g--;else if($[v]===d[g])_[g]=u(r[v],i[g]),l(e,_[g+1],r[v]),v++,g--;else if($[h]===d[p])_[p]=u(r[h],i[p]),l(e,r[v],r[h]),h--,p++;else if(void 0===a&&(a=A(d,p,g),m=A($,v,h)),a.has($[v]))if(a.has($[h])){const t=m.get(d[p]),s=void 0!==t?r[t]:null;if(null===s){const t=l(e,r[v]);u(t,i[p]),_[p]=t}else _[p]=u(s,i[p]),l(e,r[v],s),r[t]=null;p++}else c(r[h]),h--;else c(r[v]),v++;for(;p<=g;){const t=l(e,_[g+1]);u(t,i[p]),_[p++]=t}for(;v<=h;){const e=r[v++];null!==e&&c(e)}return this.ut=d,((e,t=f)=>{e._$AH=t})(e,_),n.c0}})}}]);
@@ -1,5 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2020 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
package/dist/6683.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 6683.js.LICENSE.txt */
2
- "use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[6683],{6683:(t,s,e)=>{e.d(s,{H:()=>r});var n=e(36752),i=e(7804);const r=(0,i.u$)(class extends i.WL{constructor(t){if(super(t),t.type!==i.OA.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(s=>t[s]).join(" ")+" "}update(t,[s]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in s)s[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(s)}const e=t.element.classList;for(const t of this.st)t in s||(e.remove(t),this.st.delete(t));for(const t in s){const n=!!s[t];n===this.st.has(t)||this.nt?.has(t)||(n?(e.add(t),this.st.add(t)):(e.remove(t),this.st.delete(t)))}return n.c0}})},7804:(t,s,e)=>{e.d(s,{OA:()=>n,WL:()=>r,u$:()=>i});const n={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},i=t=>(...s)=>({_$litDirective$:t,values:s});class r{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,s,e){this._$Ct=t,this._$AM=s,this._$Ci=e}_$AS(t,s){return this.update(t,s)}update(t,s){return this.render(...s)}}}}]);
package/dist/7228.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 7228.js.LICENSE.txt */
2
- "use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[1990,4371,6752,7228,9609],{36752:(t,e,s)=>{s.d(e,{c0:()=>b,ge:()=>j,qy:()=>N,s6:()=>T});const i=globalThis,n=i.trustedTypes,o=n?n.createPolicy("lit-html",{createHTML:t=>t}):void 0,h="$lit$",r=`lit$${Math.random().toFixed(9).slice(2)}$`,l="?"+r,$=`<${l}>`,A=document,_=()=>A.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,d=t=>a(t)||"function"==typeof t?.[Symbol.iterator],p="[ \t\n\f\r]",u=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,g=/-->/g,m=/>/g,v=RegExp(`>|${p}(?:([^\\s"'>=/]+)(${p}*=${p}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),f=/'/g,y=/"/g,H=/^(?:script|style|textarea|title)$/i,x=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),N=x(1),b=(x(2),x(3),Symbol.for("lit-noChange")),T=Symbol.for("lit-nothing"),C=new WeakMap,M=A.createTreeWalker(A,129);function w(t,e){if(!a(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==o?o.createHTML(e):e}const S=(t,e)=>{const s=t.length-1,i=[];let n,o=2===e?"<svg>":3===e?"<math>":"",l=u;for(let e=0;e<s;e++){const s=t[e];let A,_,c=-1,a=0;for(;a<s.length&&(l.lastIndex=a,_=l.exec(s),null!==_);)a=l.lastIndex,l===u?"!--"===_[1]?l=g:void 0!==_[1]?l=m:void 0!==_[2]?(H.test(_[2])&&(n=RegExp("</"+_[2],"g")),l=v):void 0!==_[3]&&(l=v):l===v?">"===_[0]?(l=n??u,c=-1):void 0===_[1]?c=-2:(c=l.lastIndex-_[2].length,A=_[1],l=void 0===_[3]?v:'"'===_[3]?y:f):l===y||l===f?l=v:l===g||l===m?l=u:(l=v,n=void 0);const d=l===v&&t[e+1].startsWith("/>")?" ":"";o+=l===u?s+$:c>=0?(i.push(A),s.slice(0,c)+h+s.slice(c)+r+d):s+r+(-2===c?e:d)}return[w(t,o+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]};class E{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let o=0,$=0;const A=t.length-1,c=this.parts,[a,d]=S(t,e);if(this.el=E.createElement(a,s),M.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=M.nextNode())&&c.length<A;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(h)){const e=d[$++],s=i.getAttribute(t).split(r),n=/([.?@])?(.*)/.exec(e);c.push({type:1,index:o,name:n[2],strings:s,ctor:"."===n[1]?O:"?"===n[1]?L:"@"===n[1]?P:B}),i.removeAttribute(t)}else t.startsWith(r)&&(c.push({type:6,index:o}),i.removeAttribute(t));if(H.test(i.tagName)){const t=i.textContent.split(r),e=t.length-1;if(e>0){i.textContent=n?n.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],_()),M.nextNode(),c.push({type:2,index:++o});i.append(t[e],_())}}}else if(8===i.nodeType)if(i.data===l)c.push({type:2,index:o});else{let t=-1;for(;-1!==(t=i.data.indexOf(r,t+1));)c.push({type:7,index:o}),t+=r.length-1}o++}}static createElement(t,e){const s=A.createElement("template");return s.innerHTML=t,s}}function I(t,e,s=t,i){if(e===b)return e;let n=void 0!==i?s._$Co?.[i]:s._$Cl;const o=c(e)?void 0:e._$litDirective$;return n?.constructor!==o&&(n?._$AO?.(!1),void 0===o?n=void 0:(n=new o(t),n._$AT(t,s,i)),void 0!==i?(s._$Co??=[])[i]=n:s._$Cl=n),void 0!==n&&(e=I(t,n._$AS(t,e.values),n,i)),e}class U{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??A).importNode(e,!0);M.currentNode=i;let n=M.nextNode(),o=0,h=0,r=s[0];for(;void 0!==r;){if(o===r.index){let e;2===r.type?e=new R(n,n.nextSibling,this,t):1===r.type?e=new r.ctor(n,r.name,r.strings,this,t):6===r.type&&(e=new W(n,this,t)),this._$AV.push(e),r=s[++h]}o!==r?.index&&(n=M.nextNode(),o++)}return M.currentNode=A,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=T,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=I(this,t,e),c(t)?t===T||null==t||""===t?(this._$AH!==T&&this._$AR(),this._$AH=T):t!==this._$AH&&t!==b&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):d(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==T&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(A.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,i="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=E.createElement(w(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new U(i,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=C.get(t.strings);return void 0===e&&C.set(t.strings,e=new E(t)),e}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new R(this.O(_()),this.O(_()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class B{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=T,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=T}_$AI(t,e=this,s,i){const n=this.strings;let o=!1;if(void 0===n)t=I(this,t,e,0),o=!c(t)||t!==this._$AH&&t!==b,o&&(this._$AH=t);else{const i=t;let h,r;for(t=n[0],h=0;h<n.length-1;h++)r=I(this,i[s+h],e,h),r===b&&(r=this._$AH[h]),o||=!c(r)||r!==this._$AH[h],r===T?t=T:t!==T&&(t+=(r??"")+n[h+1]),this._$AH[h]=r}o&&!i&&this.j(t)}j(t){t===T?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class O extends B{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===T?void 0:t}}class L extends B{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==T)}}class P extends B{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=I(this,t,e,0)??T)===b)return;const s=this._$AH,i=t===T&&s!==T||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==T&&(s===T||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class W{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){I(this,t)}}const j={M:h,P:r,A:l,C:1,L:S,R:U,D:d,V:I,I:R,H:B,N:L,U:P,B:O,F:W},D=i.litHtmlPolyfillSupport;D?.(E,R),(i.litHtmlVersions??=[]).push("3.3.1")}}]);
@@ -1,5 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
package/dist/9609.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 9609.js.LICENSE.txt */
2
- "use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[1990,4371,6752,7228,9609],{36752:(t,e,s)=>{s.d(e,{qy:()=>x,s6:()=>b});const i=globalThis,n=i.trustedTypes,o=n?n.createPolicy("lit-html",{createHTML:t=>t}):void 0,h="$lit$",r=`lit$${Math.random().toFixed(9).slice(2)}$`,l="?"+r,$=`<${l}>`,A=document,_=()=>A.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,d="[ \t\n\f\r]",p=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,u=/-->/g,g=/>/g,m=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),v=/'/g,f=/"/g,y=/^(?:script|style|textarea|title)$/i,H=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),x=H(1),N=(H(2),H(3),Symbol.for("lit-noChange")),b=Symbol.for("lit-nothing"),T=new WeakMap,C=A.createTreeWalker(A,129);function M(t,e){if(!a(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==o?o.createHTML(e):e}const w=(t,e)=>{const s=t.length-1,i=[];let n,o=2===e?"<svg>":3===e?"<math>":"",l=p;for(let e=0;e<s;e++){const s=t[e];let A,_,c=-1,a=0;for(;a<s.length&&(l.lastIndex=a,_=l.exec(s),null!==_);)a=l.lastIndex,l===p?"!--"===_[1]?l=u:void 0!==_[1]?l=g:void 0!==_[2]?(y.test(_[2])&&(n=RegExp("</"+_[2],"g")),l=m):void 0!==_[3]&&(l=m):l===m?">"===_[0]?(l=n??p,c=-1):void 0===_[1]?c=-2:(c=l.lastIndex-_[2].length,A=_[1],l=void 0===_[3]?m:'"'===_[3]?f:v):l===f||l===v?l=m:l===u||l===g?l=p:(l=m,n=void 0);const d=l===m&&t[e+1].startsWith("/>")?" ":"";o+=l===p?s+$:c>=0?(i.push(A),s.slice(0,c)+h+s.slice(c)+r+d):s+r+(-2===c?e:d)}return[M(t,o+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]};class S{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let o=0,$=0;const A=t.length-1,c=this.parts,[a,d]=w(t,e);if(this.el=S.createElement(a,s),C.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=C.nextNode())&&c.length<A;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(h)){const e=d[$++],s=i.getAttribute(t).split(r),n=/([.?@])?(.*)/.exec(e);c.push({type:1,index:o,name:n[2],strings:s,ctor:"."===n[1]?R:"?"===n[1]?B:"@"===n[1]?W:O}),i.removeAttribute(t)}else t.startsWith(r)&&(c.push({type:6,index:o}),i.removeAttribute(t));if(y.test(i.tagName)){const t=i.textContent.split(r),e=t.length-1;if(e>0){i.textContent=n?n.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],_()),C.nextNode(),c.push({type:2,index:++o});i.append(t[e],_())}}}else if(8===i.nodeType)if(i.data===l)c.push({type:2,index:o});else{let t=-1;for(;-1!==(t=i.data.indexOf(r,t+1));)c.push({type:7,index:o}),t+=r.length-1}o++}}static createElement(t,e){const s=A.createElement("template");return s.innerHTML=t,s}}function E(t,e,s=t,i){if(e===N)return e;let n=void 0!==i?s._$Co?.[i]:s._$Cl;const o=c(e)?void 0:e._$litDirective$;return n?.constructor!==o&&(n?._$AO?.(!1),void 0===o?n=void 0:(n=new o(t),n._$AT(t,s,i)),void 0!==i?(s._$Co??=[])[i]=n:s._$Cl=n),void 0!==n&&(e=E(t,n._$AS(t,e.values),n,i)),e}class I{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??A).importNode(e,!0);C.currentNode=i;let n=C.nextNode(),o=0,h=0,r=s[0];for(;void 0!==r;){if(o===r.index){let e;2===r.type?e=new U(n,n.nextSibling,this,t):1===r.type?e=new r.ctor(n,r.name,r.strings,this,t):6===r.type&&(e=new j(n,this,t)),this._$AV.push(e),r=s[++h]}o!==r?.index&&(n=C.nextNode(),o++)}return C.currentNode=A,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class U{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=b,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=E(this,t,e),c(t)?t===b||null==t||""===t?(this._$AH!==b&&this._$AR(),this._$AH=b):t!==this._$AH&&t!==N&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>a(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==b&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(A.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,i="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=S.createElement(M(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new I(i,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=T.get(t.strings);return void 0===e&&T.set(t.strings,e=new S(t)),e}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new U(this.O(_()),this.O(_()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class O{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=b,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=b}_$AI(t,e=this,s,i){const n=this.strings;let o=!1;if(void 0===n)t=E(this,t,e,0),o=!c(t)||t!==this._$AH&&t!==N,o&&(this._$AH=t);else{const i=t;let h,r;for(t=n[0],h=0;h<n.length-1;h++)r=E(this,i[s+h],e,h),r===N&&(r=this._$AH[h]),o||=!c(r)||r!==this._$AH[h],r===b?t=b:t!==b&&(t+=(r??"")+n[h+1]),this._$AH[h]=r}o&&!i&&this.j(t)}j(t){t===b?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class R extends O{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===b?void 0:t}}class B extends O{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==b)}}class W extends O{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=E(this,t,e,0)??b)===N)return;const s=this._$AH,i=t===b&&s!==b||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==b&&(s===b||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class j{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){E(this,t)}}const L=i.litHtmlPolyfillSupport;L?.(S,U),(i.litHtmlVersions??=[]).push("3.3.1")}}]);
@@ -1,5 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */