@fluid-topics/ft-icon 0.2.21 → 0.3.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.
@@ -1,4 +1,4 @@
1
- import { ElementDefinitionsMap, FtCssVariable, FtLitElement } from "@fluid-topics/ft-wc-utils";
1
+ import { ElementDefinitionsMap, FtLitElement } from "@fluid-topics/ft-wc-utils";
2
2
  export declare enum FtIconVariants {
3
3
  fluid_topics = "fluid-topics",
4
4
  file_format = "file-format",
@@ -8,17 +8,17 @@ export interface FtIconProperties {
8
8
  variant: FtIconVariants;
9
9
  }
10
10
  export declare const FtIconCssVariables: {
11
- size: FtCssVariable;
12
- fluidTopicsFontFamily: FtCssVariable;
13
- fileFormatFontFamily: FtCssVariable;
14
- materialFontFamily: FtCssVariable;
11
+ size: import("@fluid-topics/ft-wc-utils").FtCssVariable;
12
+ fluidTopicsFontFamily: import("@fluid-topics/ft-wc-utils").FtCssVariable;
13
+ fileFormatFontFamily: import("@fluid-topics/ft-wc-utils").FtCssVariable;
14
+ materialFontFamily: import("@fluid-topics/ft-wc-utils").FtCssVariable;
15
15
  };
16
16
  export declare class FtIcon extends FtLitElement implements FtIconProperties {
17
17
  static elementDefinitions: ElementDefinitionsMap;
18
- static styles: import("lit").CSSResult;
18
+ getStyles(): import("lit").CSSResult;
19
19
  variant: FtIconVariants;
20
20
  private slottedContent?;
21
- protected render(): import("lit-html").TemplateResult<1>;
21
+ protected getTemplate(): import("lit-html").TemplateResult<1>;
22
22
  get textContent(): string;
23
23
  private getIcon;
24
24
  }
package/build/ft-icon.js CHANGED
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  };
7
7
  import { css, html, nothing } from "lit";
8
8
  import { property, query } from "lit/decorators.js";
9
- import { FtCssVariable, FtLitElement } from "@fluid-topics/ft-wc-utils";
9
+ import { FtCssVariableFactory, FtLitElement } from "@fluid-topics/ft-wc-utils";
10
10
  import { unsafeHTML } from "lit/directives/unsafe-html.js";
11
11
  import { FtFileFormatIcons, FtIcons } from "./icons";
12
12
  export var FtIconVariants;
@@ -16,17 +16,57 @@ export var FtIconVariants;
16
16
  FtIconVariants["material"] = "material";
17
17
  })(FtIconVariants || (FtIconVariants = {}));
18
18
  export const FtIconCssVariables = {
19
- size: FtCssVariable.create("--ft-icon-font-size", "SIZE", "24px"),
20
- fluidTopicsFontFamily: FtCssVariable.extend("--ft-icon-fluid-topics-font-family", FtCssVariable.create("--ft-icon-font-family", "UNKNOWN", "ft-icons")),
21
- fileFormatFontFamily: FtCssVariable.extend("--ft-icon-file-format-font-family", FtCssVariable.create("--ft-icon-font-family", "UNKNOWN", "ft-mime")),
22
- materialFontFamily: FtCssVariable.extend("--ft-icon-material-font-family", FtCssVariable.create("--ft-icon-font-family", "UNKNOWN", "Material Icons")),
19
+ size: FtCssVariableFactory.create("--ft-icon-font-size", "SIZE", "24px"),
20
+ fluidTopicsFontFamily: FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family", FtCssVariableFactory.create("--ft-icon-font-family", "UNKNOWN", "ft-icons")),
21
+ fileFormatFontFamily: FtCssVariableFactory.extend("--ft-icon-file-format-font-family", FtCssVariableFactory.create("--ft-icon-font-family", "UNKNOWN", "ft-mime")),
22
+ materialFontFamily: FtCssVariableFactory.extend("--ft-icon-material-font-family", FtCssVariableFactory.create("--ft-icon-font-family", "UNKNOWN", "Material Icons")),
23
23
  };
24
24
  export class FtIcon extends FtLitElement {
25
25
  constructor() {
26
26
  super(...arguments);
27
27
  this.variant = FtIconVariants.fluid_topics;
28
28
  }
29
- render() {
29
+ //language=css
30
+ getStyles() {
31
+ return css `
32
+ :host {
33
+ display: inline-block;
34
+ }
35
+
36
+ :host, i.ft-icon {
37
+ width: ${FtIconCssVariables.size};
38
+ height: ${FtIconCssVariables.size};
39
+ text-align: center;
40
+ }
41
+
42
+ i.ft-icon {
43
+ font-size: ${FtIconCssVariables.size};
44
+ line-height: 1;
45
+ font-weight: normal;
46
+ text-transform: none;
47
+ font-style: normal;
48
+ font-variant: normal;
49
+ speak: none;
50
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
51
+ text-rendering: auto;
52
+ -webkit-font-smoothing: antialiased;
53
+ -moz-osx-font-smoothing: grayscale;
54
+ }
55
+
56
+ .ft-icon--fluid-topics {
57
+ font-family: ${FtIconCssVariables.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
58
+ }
59
+
60
+ .ft-icon--file-format {
61
+ font-family: ${FtIconCssVariables.fileFormatFontFamily}, ft-mime, sans-serif;
62
+ }
63
+
64
+ .ft-icon--material {
65
+ font-family: ${FtIconCssVariables.materialFontFamily}, "Material Icons", sans-serif;
66
+ }
67
+ `;
68
+ }
69
+ getTemplate() {
30
70
  return html `
31
71
  <i class="ft-icon ${"ft-icon--" + this.variant}">
32
72
  ${unsafeHTML(this.getIcon())}
@@ -51,43 +91,6 @@ export class FtIcon extends FtLitElement {
51
91
  }
52
92
  }
53
93
  FtIcon.elementDefinitions = {};
54
- //language=css
55
- FtIcon.styles = css `
56
- :host {
57
- display: inline-block;
58
- }
59
- :host, i.ft-icon {
60
- width: ${FtIconCssVariables.size};
61
- height: ${FtIconCssVariables.size};
62
- text-align: center;
63
- }
64
-
65
- i.ft-icon {
66
- font-size: ${FtIconCssVariables.size};
67
- line-height: 1;
68
- font-weight: normal;
69
- text-transform: none;
70
- font-style: normal;
71
- font-variant: normal;
72
- speak: none;
73
- text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
74
- text-rendering: auto;
75
- -webkit-font-smoothing: antialiased;
76
- -moz-osx-font-smoothing: grayscale;
77
- }
78
-
79
- .ft-icon--fluid-topics {
80
- font-family: ${FtIconCssVariables.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
81
- }
82
-
83
- .ft-icon--file-format {
84
- font-family: ${FtIconCssVariables.fileFormatFontFamily}, ft-mime, sans-serif;
85
- }
86
-
87
- .ft-icon--material {
88
- font-family: ${FtIconCssVariables.materialFontFamily}, "Material Icons", sans-serif;
89
- }
90
- `;
91
94
  __decorate([
92
95
  property()
93
96
  ], FtIcon.prototype, "variant", void 0);
@@ -1,41 +1,42 @@
1
- !function(e,t,a,o,i){var x,p;e.FtIcons=void 0,(x=e.FtIcons||(e.FtIcons={})).THIN_ARROW_LEFT="&#xe956;",x.THIN_ARROW_RIGHT="&#xe957;",x.MY_COLLECTIONS="&#xe955;",x.OFFLINE_SETTINGS="&#xe954;",x.MY_LIBRARY="&#xe959;",x.RATE_PLAIN="&#xe952;",x.RATE="&#xe953;",x.FEEDBACK_PLAIN="&#xe951;",x.STAR_PLAIN="&#xe94b;",x.STAR="&#xe94c;",x.THUMBS_DOWN_PLAIN="&#xe94d;",x.THUMBS_DOWN="&#xe94e;",x.THUMBS_UP_PLAIN="&#xe94f;",x.THUMBS_UP="&#xe950;",x.PAUSE="&#xe949;",x.PLAY="&#xe94a;",x.RELATIVES_PLAIN="&#xe947;",x.RELATIVES="&#xe948;",x.SHORTCUT_MENU="&#xe946;",x.PRINT="&#xe944;",x.DEFAULT_ROLES="&#xe945;",x.ACCOUNT_SETTINGS="&#xe943;",x.ONLINE="&#xe941;",x.OFFLINE="&#xe816;",x.UPLOAD="&#xe940;",x.BOOK_PLAIN="&#xe93f;",x.SYNC="&#xe93d;",x.SHARED_PBK="&#xe931;",x.COLLECTIONS="&#xe92a;",x.SEARCH_IN_PUBLICATION="&#xe92f;",x.BOOKS="&#xe806;",x.LOCKER="&#xe93b;",x.ARROW_DOWN="&#xe92b;",x.ARROW_LEFT="&#xe92c;",x.ARROW_RIGHT="&#xe92d;",x.ARROW_UP="&#xe92e;",x.SAVE="&#xe93a;",x.MAILS_AND_NOTIFICATIONS="&#xe939;",x.DOT="&#xe936;",x.MINUS="&#xe937;",x.PLUS="&#xe938;",x.FILTERS="&#xe935;",x.STRIPE_ARROW_RIGHT="&#xe934;",x.STRIPE_ARROW_LEFT="&#xe933;",x.ATTACHMENTS="&#xe932;",x.ADD_BOOKMARK="&#xe804;",x.BOOKMARK="&#xe805;",x.EXPORT="&#xe80f;",x.MENU="&#xe807;",x.TAG="&#xe93e;",x.TAG_PLAIN="&#xe942;",x.COPY_TO_CLIPBOARD="&#xe930;",x.COLUMNS="&#xe928;",x.ARTICLE="&#xe927;",x.CLOSE_PLAIN="&#xe925;",x.CHECK_PLAIN="&#xe926;",x.LOGOUT="&#xe923;",x.SIGN_IN="&#xe922;",x.THIN_ARROW="&#xe921;",x.TRIANGLE_BOTTOM="&#xe91d;",x.TRIANGLE_LEFT="&#xe91e;",x.TRIANGLE_RIGHT="&#xe91f;",x.TRIANGLE_TOP="&#xe920;",x.FACET_HAS_DESCENDANT="&#xe91c;",x.MINUS_PLAIN="&#xe91a;",x.PLUS_PLAIN="&#xe91b;",x.INFO="&#xe919;",x.ICON_EXPAND="&#xe917;",x.ICON_COLLAPSE="&#xe918;",x.ADD_TO_PBK="&#xe800;",x.ALERT="&#xe801;",x.ADD_ALERT="&#xe802;",x.BACK_TO_SEARCH="&#xe803;",x.DOWNLOAD="&#xe808;",x.EDIT="&#xe809;",x.FEEDBACK="&#xe80a;",x.MODIFY_PBK="&#xe80c;",x.SCHEDULED="&#xe80d;",x.SEARCH="&#xe80e;",x.SHARE="&#xe80f1;",x.TOC="&#xe810;",x.WRITE_UGC="&#xe811;",x.TRASH="&#xe812;",x.EXTLINK="&#xe814;",x.CALENDAR="&#xe815;",x.BOOK="&#xe817;",x.DOWNLOAD_PLAIN="&#xe818;",x.CHECK="&#xe819;",x.TOPICS="&#xe900;",x.EYE="\f06e",x.DISC="&#xe901;",x.CIRCLE="&#xe903;",x.SHARED="&#xe904;",x.SORT_UNSORTED="&#xe905;",x.SORT_UP="&#xe906;",x.SORT_DOWN="&#xe907;",x.WORKING="&#xe908;",x.CLOSE="&#xe909;",x.ZOOM_OUT="&#xe90a;",x.ZOOM_IN="&#xe90b;",x.ZOOM_REALSIZE="&#xe90c;",x.ZOOM_FULLSCREEN="&#xe90d;",x.ADMIN_RESTRICTED="&#xe90e;",x.ADMIN_THEME="&#xe911;",x.WARNING="&#xe913;",x.CONTEXT="&#xe914;",x.SEARCH_HOME="&#xe915;",x.STEPS="&#xe916;",x.HOME="&#xe80b;",x.TRANSLATE="&#xe924;",x.USER="&#xe813;",x.ADMIN="&#xe902;",x.ANALYTICS="&#xe929;",x.ADMIN_KHUB="&#xe90f;",x.ADMIN_USERS="&#xe910;",x.ADMIN_INTEGRATION="&#xe93c;",x.ADMIN_PORTAL="&#xe912;",e.FtFileFormatIcons=void 0,(p=e.FtFileFormatIcons||(e.FtFileFormatIcons={})).UNKNOWN="&#xe90a;",p.ABW="&#xe900;",p.AUDIO="&#xe901;",p.AVI="&#xe902;",p.CHM="&#xe904;",p.CODE="&#xe905;",p.CSV="&#xe903;",p.DITA="&#xe906;",p.EPUB="&#xe907;",p.EXCEL="&#xe908;",p.FLAC="&#xe909;",p.GIF="&#xe90b;",p.GZIP="&#xe90c;",p.HTML="&#xe90d;",p.IMAGE="&#xe90e;",p.JPEG="&#xe90f;",p.JSON="&#xe910;",p.M4A="&#xe911;",p.MOV="&#xe912;",p.MP3="&#xe913;",p.MP4="&#xe914;",p.OGG="&#xe915;",p.PDF="&#xe916;",p.PNG="&#xe917;",p.POWERPOINT="&#xe918;",p.RAR="&#xe91a;",p.STP="&#xe91b;",p.TEXT="&#xe91c;",p.VIDEO="&#xe91e;",p.WAV="&#xe91f;",p.WMA="&#xe920;",p.WORD="&#xe921;",p.XML="&#xe922;",p.YAML="&#xe919;",p.ZIP="&#xe923;";const n=new Map([...["abw"].map((t=>[t,e.FtFileFormatIcons.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,e.FtFileFormatIcons.AUDIO])),...["avi"].map((t=>[t,e.FtFileFormatIcons.AVI])),...["chm","xhs"].map((t=>[t,e.FtFileFormatIcons.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,e.FtFileFormatIcons.CODE])),...["csv"].map((t=>[t,e.FtFileFormatIcons.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,e.FtFileFormatIcons.DITA])),...["epub"].map((t=>[t,e.FtFileFormatIcons.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,e.FtFileFormatIcons.EXCEL])),...["flac"].map((t=>[t,e.FtFileFormatIcons.FLAC])),...["gif"].map((t=>[t,e.FtFileFormatIcons.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,e.FtFileFormatIcons.GZIP])),...["html","htm","xhtml"].map((t=>[t,e.FtFileFormatIcons.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,e.FtFileFormatIcons.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,e.FtFileFormatIcons.JPEG])),...["json"].map((t=>[t,e.FtFileFormatIcons.JSON])),...["m4a","m4p"].map((t=>[t,e.FtFileFormatIcons.M4A])),...["mov","qt"].map((t=>[t,e.FtFileFormatIcons.MOV])),...["mp3"].map((t=>[t,e.FtFileFormatIcons.MP3])),...["mp4","m4v"].map((t=>[t,e.FtFileFormatIcons.MP4])),...["ogg","oga"].map((t=>[t,e.FtFileFormatIcons.OGG])),...["pdf","ps"].map((t=>[t,e.FtFileFormatIcons.PDF])),...["png"].map((t=>[t,e.FtFileFormatIcons.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,e.FtFileFormatIcons.POWERPOINT])),...["rar"].map((t=>[t,e.FtFileFormatIcons.RAR])),...["stp"].map((t=>[t,e.FtFileFormatIcons.STP])),...["txt","rtf","md","mdown"].map((t=>[t,e.FtFileFormatIcons.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,e.FtFileFormatIcons.VIDEO])),...["wav"].map((t=>[t,e.FtFileFormatIcons.WAV])),...["wma"].map((t=>[t,e.FtFileFormatIcons.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,e.FtFileFormatIcons.WORD])),...["xml","xsl","rdf"].map((t=>[t,e.FtFileFormatIcons.XML])),...["yaml","yml","x-yaml"].map((t=>[t,e.FtFileFormatIcons.YAML])),...["zip"].map((t=>[t,e.FtFileFormatIcons.ZIP]))]),l=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var m,s=function(e,t,a,o){for(var i,x=arguments.length,p=x<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o,n=e.length-1;n>=0;n--)(i=e[n])&&(p=(x<3?i(p):x>3?i(t,a,p):i(t,a))||p);return x>3&&p&&Object.defineProperty(t,a,p),p};e.FtIconVariants=void 0,(m=e.FtIconVariants||(e.FtIconVariants={})).fluid_topics="fluid-topics",m.file_format="file-format",m.material="material";const c={size:t.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:t.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",t.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:t.FtCssVariable.extend("--ft-icon-file-format-font-family",t.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:t.FtCssVariable.extend("--ft-icon-material-font-family",t.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class f extends t.FtLitElement{constructor(){super(...arguments),this.variant=e.FtIconVariants.fluid_topics}render(){return a.html`
2
- <i class="ft-icon ${"ft-icon--"+this.variant}">
3
- ${i.unsafeHTML(this.getIcon())}
4
- <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
5
- </i>
6
- `}get textContent(){var e,t;return null!==(t=null===(e=this.slottedContent)||void 0===e?void 0:e.assignedNodes().map((e=>e.textContent)).join("").trim())&&void 0!==t?t:""}getIcon(){var t,o;let i=this.textContent;return this.variant===e.FtIconVariants.file_format?null!==(t=e.FtFileFormatIcons[i.toUpperCase()])&&void 0!==t?t:i:this.variant===e.FtIconVariants.fluid_topics?null!==(o=e.FtIcons[i.toUpperCase()])&&void 0!==o?o:i:a.nothing}}f.elementDefinitions={},f.styles=a.css`
7
- :host {
8
- display: inline-block;
9
- }
10
- :host, i.ft-icon {
11
- width: ${c.size};
12
- height: ${c.size};
13
- text-align: center;
14
- }
1
+ !function(e,t,a,o,i){var x,p;e.FtIcons=void 0,(x=e.FtIcons||(e.FtIcons={})).THIN_ARROW_LEFT="&#xe956;",x.THIN_ARROW_RIGHT="&#xe957;",x.MY_COLLECTIONS="&#xe955;",x.OFFLINE_SETTINGS="&#xe954;",x.MY_LIBRARY="&#xe959;",x.RATE_PLAIN="&#xe952;",x.RATE="&#xe953;",x.FEEDBACK_PLAIN="&#xe951;",x.STAR_PLAIN="&#xe94b;",x.STAR="&#xe94c;",x.THUMBS_DOWN_PLAIN="&#xe94d;",x.THUMBS_DOWN="&#xe94e;",x.THUMBS_UP_PLAIN="&#xe94f;",x.THUMBS_UP="&#xe950;",x.PAUSE="&#xe949;",x.PLAY="&#xe94a;",x.RELATIVES_PLAIN="&#xe947;",x.RELATIVES="&#xe948;",x.SHORTCUT_MENU="&#xe946;",x.PRINT="&#xe944;",x.DEFAULT_ROLES="&#xe945;",x.ACCOUNT_SETTINGS="&#xe943;",x.ONLINE="&#xe941;",x.OFFLINE="&#xe816;",x.UPLOAD="&#xe940;",x.BOOK_PLAIN="&#xe93f;",x.SYNC="&#xe93d;",x.SHARED_PBK="&#xe931;",x.COLLECTIONS="&#xe92a;",x.SEARCH_IN_PUBLICATION="&#xe92f;",x.BOOKS="&#xe806;",x.LOCKER="&#xe93b;",x.ARROW_DOWN="&#xe92b;",x.ARROW_LEFT="&#xe92c;",x.ARROW_RIGHT="&#xe92d;",x.ARROW_UP="&#xe92e;",x.SAVE="&#xe93a;",x.MAILS_AND_NOTIFICATIONS="&#xe939;",x.DOT="&#xe936;",x.MINUS="&#xe937;",x.PLUS="&#xe938;",x.FILTERS="&#xe935;",x.STRIPE_ARROW_RIGHT="&#xe934;",x.STRIPE_ARROW_LEFT="&#xe933;",x.ATTACHMENTS="&#xe932;",x.ADD_BOOKMARK="&#xe804;",x.BOOKMARK="&#xe805;",x.EXPORT="&#xe80f;",x.MENU="&#xe807;",x.TAG="&#xe93e;",x.TAG_PLAIN="&#xe942;",x.COPY_TO_CLIPBOARD="&#xe930;",x.COLUMNS="&#xe928;",x.ARTICLE="&#xe927;",x.CLOSE_PLAIN="&#xe925;",x.CHECK_PLAIN="&#xe926;",x.LOGOUT="&#xe923;",x.SIGN_IN="&#xe922;",x.THIN_ARROW="&#xe921;",x.TRIANGLE_BOTTOM="&#xe91d;",x.TRIANGLE_LEFT="&#xe91e;",x.TRIANGLE_RIGHT="&#xe91f;",x.TRIANGLE_TOP="&#xe920;",x.FACET_HAS_DESCENDANT="&#xe91c;",x.MINUS_PLAIN="&#xe91a;",x.PLUS_PLAIN="&#xe91b;",x.INFO="&#xe919;",x.ICON_EXPAND="&#xe917;",x.ICON_COLLAPSE="&#xe918;",x.ADD_TO_PBK="&#xe800;",x.ALERT="&#xe801;",x.ADD_ALERT="&#xe802;",x.BACK_TO_SEARCH="&#xe803;",x.DOWNLOAD="&#xe808;",x.EDIT="&#xe809;",x.FEEDBACK="&#xe80a;",x.MODIFY_PBK="&#xe80c;",x.SCHEDULED="&#xe80d;",x.SEARCH="&#xe80e;",x.SHARE="&#xe80f1;",x.TOC="&#xe810;",x.WRITE_UGC="&#xe811;",x.TRASH="&#xe812;",x.EXTLINK="&#xe814;",x.CALENDAR="&#xe815;",x.BOOK="&#xe817;",x.DOWNLOAD_PLAIN="&#xe818;",x.CHECK="&#xe819;",x.TOPICS="&#xe900;",x.EYE="\f06e",x.DISC="&#xe901;",x.CIRCLE="&#xe903;",x.SHARED="&#xe904;",x.SORT_UNSORTED="&#xe905;",x.SORT_UP="&#xe906;",x.SORT_DOWN="&#xe907;",x.WORKING="&#xe908;",x.CLOSE="&#xe909;",x.ZOOM_OUT="&#xe90a;",x.ZOOM_IN="&#xe90b;",x.ZOOM_REALSIZE="&#xe90c;",x.ZOOM_FULLSCREEN="&#xe90d;",x.ADMIN_RESTRICTED="&#xe90e;",x.ADMIN_THEME="&#xe911;",x.WARNING="&#xe913;",x.CONTEXT="&#xe914;",x.SEARCH_HOME="&#xe915;",x.STEPS="&#xe916;",x.HOME="&#xe80b;",x.TRANSLATE="&#xe924;",x.USER="&#xe813;",x.ADMIN="&#xe902;",x.ANALYTICS="&#xe929;",x.ADMIN_KHUB="&#xe90f;",x.ADMIN_USERS="&#xe910;",x.ADMIN_INTEGRATION="&#xe93c;",x.ADMIN_PORTAL="&#xe912;",e.FtFileFormatIcons=void 0,(p=e.FtFileFormatIcons||(e.FtFileFormatIcons={})).UNKNOWN="&#xe90a;",p.ABW="&#xe900;",p.AUDIO="&#xe901;",p.AVI="&#xe902;",p.CHM="&#xe904;",p.CODE="&#xe905;",p.CSV="&#xe903;",p.DITA="&#xe906;",p.EPUB="&#xe907;",p.EXCEL="&#xe908;",p.FLAC="&#xe909;",p.GIF="&#xe90b;",p.GZIP="&#xe90c;",p.HTML="&#xe90d;",p.IMAGE="&#xe90e;",p.JPEG="&#xe90f;",p.JSON="&#xe910;",p.M4A="&#xe911;",p.MOV="&#xe912;",p.MP3="&#xe913;",p.MP4="&#xe914;",p.OGG="&#xe915;",p.PDF="&#xe916;",p.PNG="&#xe917;",p.POWERPOINT="&#xe918;",p.RAR="&#xe91a;",p.STP="&#xe91b;",p.TEXT="&#xe91c;",p.VIDEO="&#xe91e;",p.WAV="&#xe91f;",p.WMA="&#xe920;",p.WORD="&#xe921;",p.XML="&#xe922;",p.YAML="&#xe919;",p.ZIP="&#xe923;";const n=new Map([...["abw"].map((t=>[t,e.FtFileFormatIcons.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,e.FtFileFormatIcons.AUDIO])),...["avi"].map((t=>[t,e.FtFileFormatIcons.AVI])),...["chm","xhs"].map((t=>[t,e.FtFileFormatIcons.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,e.FtFileFormatIcons.CODE])),...["csv"].map((t=>[t,e.FtFileFormatIcons.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,e.FtFileFormatIcons.DITA])),...["epub"].map((t=>[t,e.FtFileFormatIcons.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,e.FtFileFormatIcons.EXCEL])),...["flac"].map((t=>[t,e.FtFileFormatIcons.FLAC])),...["gif"].map((t=>[t,e.FtFileFormatIcons.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,e.FtFileFormatIcons.GZIP])),...["html","htm","xhtml"].map((t=>[t,e.FtFileFormatIcons.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,e.FtFileFormatIcons.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,e.FtFileFormatIcons.JPEG])),...["json"].map((t=>[t,e.FtFileFormatIcons.JSON])),...["m4a","m4p"].map((t=>[t,e.FtFileFormatIcons.M4A])),...["mov","qt"].map((t=>[t,e.FtFileFormatIcons.MOV])),...["mp3"].map((t=>[t,e.FtFileFormatIcons.MP3])),...["mp4","m4v"].map((t=>[t,e.FtFileFormatIcons.MP4])),...["ogg","oga"].map((t=>[t,e.FtFileFormatIcons.OGG])),...["pdf","ps"].map((t=>[t,e.FtFileFormatIcons.PDF])),...["png"].map((t=>[t,e.FtFileFormatIcons.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,e.FtFileFormatIcons.POWERPOINT])),...["rar"].map((t=>[t,e.FtFileFormatIcons.RAR])),...["stp"].map((t=>[t,e.FtFileFormatIcons.STP])),...["txt","rtf","md","mdown"].map((t=>[t,e.FtFileFormatIcons.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,e.FtFileFormatIcons.VIDEO])),...["wav"].map((t=>[t,e.FtFileFormatIcons.WAV])),...["wma"].map((t=>[t,e.FtFileFormatIcons.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,e.FtFileFormatIcons.WORD])),...["xml","xsl","rdf"].map((t=>[t,e.FtFileFormatIcons.XML])),...["yaml","yml","x-yaml"].map((t=>[t,e.FtFileFormatIcons.YAML])),...["zip"].map((t=>[t,e.FtFileFormatIcons.ZIP]))]),l=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var m,s=function(e,t,a,o){for(var i,x=arguments.length,p=x<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o,n=e.length-1;n>=0;n--)(i=e[n])&&(p=(x<3?i(p):x>3?i(t,a,p):i(t,a))||p);return x>3&&p&&Object.defineProperty(t,a,p),p};e.FtIconVariants=void 0,(m=e.FtIconVariants||(e.FtIconVariants={})).fluid_topics="fluid-topics",m.file_format="file-format",m.material="material";const c={size:t.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:t.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:t.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:t.FtCssVariableFactory.extend("--ft-icon-material-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class f extends t.FtLitElement{constructor(){super(...arguments),this.variant=e.FtIconVariants.fluid_topics}getStyles(){return a.css`
2
+ :host {
3
+ display: inline-block;
4
+ }
5
+
6
+ :host, i.ft-icon {
7
+ width: ${c.size};
8
+ height: ${c.size};
9
+ text-align: center;
10
+ }
15
11
 
16
- i.ft-icon {
17
- font-size: ${c.size};
18
- line-height: 1;
19
- font-weight: normal;
20
- text-transform: none;
21
- font-style: normal;
22
- font-variant: normal;
23
- speak: none;
24
- text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
25
- text-rendering: auto;
26
- -webkit-font-smoothing: antialiased;
27
- -moz-osx-font-smoothing: grayscale;
28
- }
12
+ i.ft-icon {
13
+ font-size: ${c.size};
14
+ line-height: 1;
15
+ font-weight: normal;
16
+ text-transform: none;
17
+ font-style: normal;
18
+ font-variant: normal;
19
+ speak: none;
20
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
21
+ text-rendering: auto;
22
+ -webkit-font-smoothing: antialiased;
23
+ -moz-osx-font-smoothing: grayscale;
24
+ }
29
25
 
30
- .ft-icon--fluid-topics {
31
- font-family: ${c.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
32
- }
26
+ .ft-icon--fluid-topics {
27
+ font-family: ${c.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
28
+ }
33
29
 
34
- .ft-icon--file-format {
35
- font-family: ${c.fileFormatFontFamily}, ft-mime, sans-serif;
36
- }
30
+ .ft-icon--file-format {
31
+ font-family: ${c.fileFormatFontFamily}, ft-mime, sans-serif;
32
+ }
37
33
 
38
- .ft-icon--material {
39
- font-family: ${c.materialFontFamily}, "Material Icons", sans-serif;
40
- }
41
- `,s([o.property()],f.prototype,"variant",void 0),s([o.query("slot")],f.prototype,"slottedContent",void 0),t.customElement("ft-icon")(f),e.FtIcon=f,e.FtIconCssVariables=c,e.resolveFileFormatIcon=function(t,a){var o,i,x,p;t=(null!=t?t:"").toLowerCase(),a=(null!=a?a:"").toLowerCase();const[m,s]=((null!==(o=l.get(t))&&void 0!==o?o:t)+"/").split("/");return null!==(p=null!==(x=null!==(i=n.get(s))&&void 0!==i?i:n.get(a))&&void 0!==x?x:n.get(m))&&void 0!==p?p:e.FtFileFormatIcons.UNKNOWN},Object.defineProperty(e,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);
34
+ .ft-icon--material {
35
+ font-family: ${c.materialFontFamily}, "Material Icons", sans-serif;
36
+ }
37
+ `}getTemplate(){return a.html`
38
+ <i class="ft-icon ${"ft-icon--"+this.variant}">
39
+ ${i.unsafeHTML(this.getIcon())}
40
+ <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
41
+ </i>
42
+ `}get textContent(){var e,t;return null!==(t=null===(e=this.slottedContent)||void 0===e?void 0:e.assignedNodes().map((e=>e.textContent)).join("").trim())&&void 0!==t?t:""}getIcon(){var t,o;let i=this.textContent;return this.variant===e.FtIconVariants.file_format?null!==(t=e.FtFileFormatIcons[i.toUpperCase()])&&void 0!==t?t:i:this.variant===e.FtIconVariants.fluid_topics?null!==(o=e.FtIcons[i.toUpperCase()])&&void 0!==o?o:i:a.nothing}}f.elementDefinitions={},s([o.property()],f.prototype,"variant",void 0),s([o.query("slot")],f.prototype,"slottedContent",void 0),t.customElement("ft-icon")(f),e.FtIcon=f,e.FtIconCssVariables=c,e.resolveFileFormatIcon=function(t,a){var o,i,x,p;t=(null!=t?t:"").toLowerCase(),a=(null!=a?a:"").toLowerCase();const[m,s]=((null!==(o=l.get(t))&&void 0!==o?o:t)+"/").split("/");return null!==(p=null!==(x=null!==(i=n.get(s))&&void 0!==i?i:n.get(a))&&void 0!==x?x:n.get(m))&&void 0!==p?p:e.FtFileFormatIcons.UNKNOWN},Object.defineProperty(e,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,s=window.customElements,o=new WeakMap,n=new WeakMap,r=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,o){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(o))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=o.prototype.attributeChangedCallback,l=new Set(o.observedAttributes||[]);d(o,l,a);const c={elementClass:o,connectedCallback:o.prototype.connectedCallback,disconnectedCallback:o.prototype.disconnectedCallback,adoptedCallback:o.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:o.formAssociated,formAssociatedCallback:o.prototype.formAssociatedCallback,formDisabledCallback:o.prototype.formDisabledCallback,formResetCallback:o.prototype.formResetCallback,formStateRestoreCallback:o.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(o,c);let h=i.call(s,t);h||(h=p(t),e.call(s,t,h)),this===window.customElements&&(r.set(o,c),c.standInClass=h);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),x(t,c,!0)}const f=this._whenDefinedPromises.get(t);return void 0!==f&&(f.resolve(o),this._whenDefinedPromises.delete(t)),o}upgrade(){m.push(this),s.upgrade.apply(s,arguments),m.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let s=this._awaitingUpgrade.get(e);s||this._awaitingUpgrade.set(e,s=new Set),i?s.add(t):s.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),o.set(e,i),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!c(e)){const t=m[m.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const s=h(i)||window.customElements,o=s._getDefinition(e);return o?x(i,o):n.set(i,s),i}connectedCallback(){const t=o.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=o.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){o.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=o.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=o.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=o.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=o.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,i)=>{if(0===e.size||void 0===i)return;const s=t.prototype.setAttribute;s&&(t.prototype.setAttribute=function(t,o){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);s.call(this,n,o),i.call(this,n,t,o)}else s.call(this,n,o)});const o=t.prototype.removeAttribute;o&&(t.prototype.removeAttribute=function(t){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s),i.call(this,s,t,null)}else o.call(this,s)})},u=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):u(i)},x=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),o.set(t,e),l=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},f=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=f.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let m=[document];const v=(t,e,i)=>{const s=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){m.push(this);const t=s.apply(i||this,arguments);return void 0!==t&&a.set(t,this),m.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const b=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){m.push(this),i.set.call(this,t),m.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const s=e.call(this,...i);return t.set(s,this),s},i.forEach((e=>{const i=window.ElementInternals.prototype,s=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==o.get(i).formAssociated)throw new DOMException(`Failed to execute ${s} on 'ElementInternals': The target element is not a form-associated custom element.`);s?.call(this,...e)}}));class s extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const s=t.getAttribute("name"),o=e.get(s)||[];this[+i]=t,o.push(t),e.set(s,o)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new s(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=o.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(ht){const t=window.customElements.define;window.customElements.define=(e,i,s)=>{try{t.bind(window.customElements)(e,i,s)}catch(t){console.warn(e,i,s,t)}}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,s=window.customElements,o=new WeakMap,n=new WeakMap,r=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,o){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(o))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=o.prototype.attributeChangedCallback,l=new Set(o.observedAttributes||[]);d(o,l,a);const c={elementClass:o,connectedCallback:o.prototype.connectedCallback,disconnectedCallback:o.prototype.disconnectedCallback,adoptedCallback:o.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:o.formAssociated,formAssociatedCallback:o.prototype.formAssociatedCallback,formDisabledCallback:o.prototype.formDisabledCallback,formResetCallback:o.prototype.formResetCallback,formStateRestoreCallback:o.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(o,c);let p=i.call(s,t);p||(p=h(t),e.call(s,t,p)),this===window.customElements&&(r.set(o,c),c.standInClass=p);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),x(t,c,!0)}const f=this._whenDefinedPromises.get(t);return void 0!==f&&(f.resolve(o),this._whenDefinedPromises.delete(t)),o}upgrade(){m.push(this),s.upgrade.apply(s,arguments),m.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let s=this._awaitingUpgrade.get(e);s||this._awaitingUpgrade.set(e,s=new Set),i?s.add(t):s.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),o.set(e,i),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!c(e)){const t=m[m.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const s=p(i)||window.customElements,o=s._getDefinition(e);return o?x(i,o):n.set(i,s),i}connectedCallback(){const t=o.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=o.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){o.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=o.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=o.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=o.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=o.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,i)=>{if(0===e.size||void 0===i)return;const s=t.prototype.setAttribute;s&&(t.prototype.setAttribute=function(t,o){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);s.call(this,n,o),i.call(this,n,t,o)}else s.call(this,n,o)});const o=t.prototype.removeAttribute;o&&(t.prototype.removeAttribute=function(t){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s),i.call(this,s,t,null)}else o.call(this,s)})},u=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):u(i)},x=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),o.set(t,e),l=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},f=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=f.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let m=[document];const v=(t,e,i)=>{const s=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){m.push(this);const t=s.apply(i||this,arguments);return void 0!==t&&a.set(t,this),m.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const b=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){m.push(this),i.set.call(this,t),m.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const s=e.call(this,...i);return t.set(s,this),s},i.forEach((e=>{const i=window.ElementInternals.prototype,s=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==o.get(i).formAssociated)throw new DOMException(`Failed to execute ${s} on 'ElementInternals': The target element is not a form-associated custom element.`);s?.call(this,...e)}}));class s extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const s=t.getAttribute("name"),o=e.get(s)||[];this[+i]=t,o.push(t),e.set(s,o)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new s(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=o.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(pt){const t=window.customElements.define;window.customElements.define=(e,i,s)=>{try{t.bind(window.customElements)(e,i,s)}catch(t){console.warn(e,i,s,t)}}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -36,35 +36,35 @@ var s;null===(s=window.HTMLSlotElement)||void 0===s||s.prototype.assignedElement
36
36
  * Copyright 2019 Google LLC
37
37
  * SPDX-License-Identifier: BSD-3-Clause
38
38
  */
39
- const o=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),r=new Map;class a{constructor(t,e){if(this._$cssResult$=!0,e!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=r.get(this.cssText);return o&&void 0===t&&(r.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const l=t=>new a("string"==typeof t?t:t+"",n),c=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,s)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1]),t[0]);return new a(i,n)},h=(t,e)=>{o?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),s=window.litNonce;void 0!==s&&i.setAttribute("nonce",s),i.textContent=e.cssText,t.appendChild(i)}))},p=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return l(e)})(t):t
39
+ const o=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),r=new WeakMap;class a{constructor(t,e,i){if(this._$cssResult$=!0,i!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&r.set(e,t))}return t}toString(){return this.cssText}}const l=t=>new a("string"==typeof t?t:t+"",void 0,n),c=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,s)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1]),t[0]);return new a(i,t,n)},p=(t,e)=>{o?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),s=window.litNonce;void 0!==s&&i.setAttribute("nonce",s),i.textContent=e.cssText,t.appendChild(i)}))},h=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return l(e)})(t):t
40
40
  /**
41
41
  * @license
42
42
  * Copyright 2017 Google LLC
43
43
  * SPDX-License-Identifier: BSD-3-Clause
44
- */;var d;const u=window.trustedTypes,x=u?u.emptyScript:"",f=window.reactiveElementPolyfillSupport,m={toAttribute(t,e){switch(e){case Boolean:t=t?x:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},v=(t,e)=>e!==t&&(e==e||t==t),b={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};class g extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const s=this._$Eh(i,e);void 0!==s&&(this._$Eu.set(s,i),t.push(s))})),t}static createProperty(t,e=b){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,s=this.getPropertyDescriptor(t,i,e);void 0!==s&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(s){const o=this[t];this[e]=s,this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||b}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(p(t))}else void 0!==t&&e.push(p(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return h(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=b){var s,o;const n=this.constructor._$Eh(t,i);if(void 0!==n&&!0===i.reflect){const r=(null!==(o=null===(s=i.converter)||void 0===s?void 0:s.toAttribute)&&void 0!==o?o:m.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$Ei=null}}_$AK(t,e){var i,s,o;const n=this.constructor,r=n._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=n.getPropertyOptions(r),a=t.converter,l=null!==(o=null!==(s=null===(i=a)||void 0===i?void 0:i.fromAttribute)&&void 0!==s?s:"function"==typeof a?a:null)&&void 0!==o?o:m.fromAttribute;this._$Ei=r,this[r]=l(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let s=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||v)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):s=!1),!this.isUpdatePending&&s&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$EC=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
44
+ */;var d;const u=window.trustedTypes,x=u?u.emptyScript:"",f=window.reactiveElementPolyfillSupport,m={toAttribute(t,e){switch(e){case Boolean:t=t?x:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},v=(t,e)=>e!==t&&(e==e||t==t),b={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};class g extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;null!==(e=this.h)&&void 0!==e||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const s=this._$Ep(i,e);void 0!==s&&(this._$Ev.set(s,i),t.push(s))})),t}static createProperty(t,e=b){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,s=this.getPropertyDescriptor(t,i,e);void 0!==s&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(s){const o=this[t];this[e]=s,this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||b}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(h(t))}else void 0!==t&&e.push(h(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return p(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=b){var s,o;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const r=(null!==(o=null===(s=i.converter)||void 0===s?void 0:s.toAttribute)&&void 0!==o?o:m.toAttribute)(e,i.type);this._$El=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null}}_$AK(t,e){var i,s;const o=this.constructor,n=o._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=o.getPropertyOptions(n),r=t.converter,a=null!==(s=null!==(i=null==r?void 0:r.fromAttribute)&&void 0!==i?i:"function"==typeof r?r:null)&&void 0!==s?s:m.fromAttribute;this._$El=n,this[n]=a(e,t.type),this._$El=null}}requestUpdate(t,e,i){let s=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||v)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
45
45
  /**
46
46
  * @license
47
47
  * Copyright 2017 Google LLC
48
48
  * SPDX-License-Identifier: BSD-3-Clause
49
49
  */
50
- var w;g.finalized=!0,g.elementProperties=new Map,g.elementStyles=[],g.shadowRootOptions={mode:"open"},null==f||f({ReactiveElement:g}),(null!==(d=globalThis.reactiveElementVersions)&&void 0!==d?d:globalThis.reactiveElementVersions=[]).push("1.3.2");const y=globalThis.trustedTypes,O=y?y.createPolicy("lit-html",{createHTML:t=>t}):void 0,N=`lit$${(Math.random()+"").slice(9)}$`,E="?"+N,C=`<${E}>`,R=document,M=(t="")=>R.createComment(t),S=t=>null===t||"object"!=typeof t&&"function"!=typeof t,$=Array.isArray,U=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,k=/-->/g,F=/>/g,A=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,j=/'/g,L=/"/g,T=/^(?:script|style|textarea|title)$/i,_=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),B=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),z=new WeakMap,K=R.createTreeWalker(R,129,null,!1),I=(t,e)=>{const i=t.length-1,s=[];let o,n=2===e?"<svg>":"",r=U;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,h=0;for(;h<i.length&&(r.lastIndex=h,l=r.exec(i),null!==l);)h=r.lastIndex,r===U?"!--"===l[1]?r=k:void 0!==l[1]?r=F:void 0!==l[2]?(T.test(l[2])&&(o=RegExp("</"+l[2],"g")),r=A):void 0!==l[3]&&(r=A):r===A?">"===l[0]?(r=null!=o?o:U,c=-1):void 0===l[1]?c=-2:(c=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?A:'"'===l[3]?L:j):r===L||r===j?r=A:r===k||r===F?r=U:(r=A,o=void 0);const p=r===A&&t[e+1].startsWith("/>")?" ":"";n+=r===U?i+C:c>=0?(s.push(a),i.slice(0,c)+"$lit$"+i.slice(c)+N+p):i+N+(-2===c?(s.push(void 0),e):p)}const a=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==O?O.createHTML(a):a,s]};class D{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,n=0;const r=t.length-1,a=this.parts,[l,c]=I(t,e);if(this.el=D.createElement(l,i),K.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(s=K.nextNode())&&a.length<r;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const e of s.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(N)){const i=c[n++];if(t.push(e),void 0!==i){const t=s.getAttribute(i.toLowerCase()+"$lit$").split(N),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?J:"?"===e[1]?X:"@"===e[1]?G:Z})}else a.push({type:6,index:o})}for(const e of t)s.removeAttribute(e)}if(T.test(s.tagName)){const t=s.textContent.split(N),e=t.length-1;if(e>0){s.textContent=y?y.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],M()),K.nextNode(),a.push({type:2,index:++o});s.append(t[e],M())}}}else if(8===s.nodeType)if(s.data===E)a.push({type:2,index:o});else{let t=-1;for(;-1!==(t=s.data.indexOf(N,t+1));)a.push({type:7,index:o}),t+=N.length-1}o++}}static createElement(t,e){const i=R.createElement("template");return i.innerHTML=t,i}}function H(t,e,i=t,s){var o,n,r,a;if(e===B)return e;let l=void 0!==s?null===(o=i._$Cl)||void 0===o?void 0:o[s]:i._$Cu;const c=S(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,i,s)),void 0!==s?(null!==(r=(a=i)._$Cl)&&void 0!==r?r:a._$Cl=[])[s]=l:i._$Cu=l),void 0!==l&&(e=H(t,l._$AS(t,e.values),l,s)),e}class P{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:s}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:R).importNode(i,!0);K.currentNode=o;let n=K.nextNode(),r=0,a=0,l=s[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new V(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new Q(n,this,t)),this.v.push(e),l=s[++a]}r!==(null==l?void 0:l.index)&&(n=K.nextNode(),r++)}return o}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class V{constructor(t,e,i,s){var o;this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cg=null===(o=null==s?void 0:s.isConnected)||void 0===o||o}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}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=H(this,t,e),S(t)?t===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==B&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return $(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==W&&S(this._$AH)?this._$AA.nextSibling.data=t:this.k(R.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:s}=t,o="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=D.createElement(s.h,this.options)),s);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.m(i);else{const t=new P(o,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=z.get(t.strings);return void 0===e&&z.set(t.strings,e=new D(t)),e}S(t){$(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const o of t)s===e.length?e.push(i=new V(this.M(M()),this.M(M()),this,this.options)):i=e[s],i._$AI(o),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Z{constructor(t,e,i,s,o){this.type=1,this._$AH=W,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=W}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const o=this.strings;let n=!1;if(void 0===o)t=H(this,t,e,0),n=!S(t)||t!==this._$AH&&t!==B,n&&(this._$AH=t);else{const s=t;let r,a;for(t=o[0],r=0;r<o.length-1;r++)a=H(this,s[i+r],e,r),a===B&&(a=this._$AH[r]),n||(n=!S(a)||a!==this._$AH[r]),a===W?t=W:t!==W&&(t+=(null!=a?a:"")+o[r+1]),this._$AH[r]=a}n&&!s&&this.C(t)}C(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class J extends Z{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===W?void 0:t}}const q=y?y.emptyScript:"";class X extends Z{constructor(){super(...arguments),this.type=4}C(t){t&&t!==W?this.element.setAttribute(this.name,q):this.element.removeAttribute(this.name)}}class G extends Z{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=H(this,t,e,0))&&void 0!==i?i:W)===B)return;const s=this._$AH,o=t===W&&s!==W||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==W&&(s===W||o);o&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class Q{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){H(this,t)}}const Y=window.litHtmlPolyfillSupport;
50
+ var w;g.finalized=!0,g.elementProperties=new Map,g.elementStyles=[],g.shadowRootOptions={mode:"open"},null==f||f({ReactiveElement:g}),(null!==(d=globalThis.reactiveElementVersions)&&void 0!==d?d:globalThis.reactiveElementVersions=[]).push("1.3.4");const y=globalThis.trustedTypes,O=y?y.createPolicy("lit-html",{createHTML:t=>t}):void 0,N=`lit$${(Math.random()+"").slice(9)}$`,E="?"+N,$=`<${E}>`,R=document,C=(t="")=>R.createComment(t),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,S=Array.isArray,U=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,k=/-->/g,F=/>/g,j=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),A=/'/g,L=/"/g,T=/^(?:script|style|textarea|title)$/i,_=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),B=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),z=new WeakMap,K=R.createTreeWalker(R,129,null,!1),I=(t,e)=>{const i=t.length-1,s=[];let o,n=2===e?"<svg>":"",r=U;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,p=0;for(;p<i.length&&(r.lastIndex=p,l=r.exec(i),null!==l);)p=r.lastIndex,r===U?"!--"===l[1]?r=k:void 0!==l[1]?r=F:void 0!==l[2]?(T.test(l[2])&&(o=RegExp("</"+l[2],"g")),r=j):void 0!==l[3]&&(r=j):r===j?">"===l[0]?(r=null!=o?o:U,c=-1):void 0===l[1]?c=-2:(c=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?j:'"'===l[3]?L:A):r===L||r===A?r=j:r===k||r===F?r=U:(r=j,o=void 0);const h=r===j&&t[e+1].startsWith("/>")?" ":"";n+=r===U?i+$:c>=0?(s.push(a),i.slice(0,c)+"$lit$"+i.slice(c)+N+h):i+N+(-2===c?(s.push(void 0),e):h)}const a=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==O?O.createHTML(a):a,s]};class D{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,n=0;const r=t.length-1,a=this.parts,[l,c]=I(t,e);if(this.el=D.createElement(l,i),K.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(s=K.nextNode())&&a.length<r;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const e of s.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(N)){const i=c[n++];if(t.push(e),void 0!==i){const t=s.getAttribute(i.toLowerCase()+"$lit$").split(N),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?V:"?"===e[1]?X:"@"===e[1]?G:J})}else a.push({type:6,index:o})}for(const e of t)s.removeAttribute(e)}if(T.test(s.tagName)){const t=s.textContent.split(N),e=t.length-1;if(e>0){s.textContent=y?y.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],C()),K.nextNode(),a.push({type:2,index:++o});s.append(t[e],C())}}}else if(8===s.nodeType)if(s.data===E)a.push({type:2,index:o});else{let t=-1;for(;-1!==(t=s.data.indexOf(N,t+1));)a.push({type:7,index:o}),t+=N.length-1}o++}}static createElement(t,e){const i=R.createElement("template");return i.innerHTML=t,i}}function H(t,e,i=t,s){var o,n,r,a;if(e===B)return e;let l=void 0!==s?null===(o=i._$Cl)||void 0===o?void 0:o[s]:i._$Cu;const c=M(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,i,s)),void 0!==s?(null!==(r=(a=i)._$Cl)&&void 0!==r?r:a._$Cl=[])[s]=l:i._$Cu=l),void 0!==l&&(e=H(t,l._$AS(t,e.values),l,s)),e}class P{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:s}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:R).importNode(i,!0);K.currentNode=o;let n=K.nextNode(),r=0,a=0,l=s[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new Z(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new Q(n,this,t)),this.v.push(e),l=s[++a]}r!==(null==l?void 0:l.index)&&(n=K.nextNode(),r++)}return o}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Z{constructor(t,e,i,s){var o;this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$C_=null===(o=null==s?void 0:s.isConnected)||void 0===o||o}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$C_}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=H(this,t,e),M(t)?t===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==B&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>S(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==W&&M(this._$AH)?this._$AA.nextSibling.data=t:this.k(R.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:s}=t,o="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=D.createElement(s.h,this.options)),s);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.m(i);else{const t=new P(o,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=z.get(t.strings);return void 0===e&&z.set(t.strings,e=new D(t)),e}S(t){S(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const o of t)s===e.length?e.push(i=new Z(this.j(C()),this.j(C()),this,this.options)):i=e[s],i._$AI(o),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class J{constructor(t,e,i,s,o){this.type=1,this._$AH=W,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=W}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const o=this.strings;let n=!1;if(void 0===o)t=H(this,t,e,0),n=!M(t)||t!==this._$AH&&t!==B,n&&(this._$AH=t);else{const s=t;let r,a;for(t=o[0],r=0;r<o.length-1;r++)a=H(this,s[i+r],e,r),a===B&&(a=this._$AH[r]),n||(n=!M(a)||a!==this._$AH[r]),a===W?t=W:t!==W&&(t+=(null!=a?a:"")+o[r+1]),this._$AH[r]=a}n&&!s&&this.P(t)}P(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class V extends J{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===W?void 0:t}}const q=y?y.emptyScript:"";class X extends J{constructor(){super(...arguments),this.type=4}P(t){t&&t!==W?this.element.setAttribute(this.name,q):this.element.removeAttribute(this.name)}}class G extends J{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=H(this,t,e,0))&&void 0!==i?i:W)===B)return;const s=this._$AH,o=t===W&&s!==W||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==W&&(s===W||o);o&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class Q{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){H(this,t)}}const Y=window.litHtmlPolyfillSupport;
51
51
  /**
52
52
  * @license
53
53
  * Copyright 2017 Google LLC
54
54
  * SPDX-License-Identifier: BSD-3-Clause
55
55
  */
56
- var tt,et;null==Y||Y(D,V),(null!==(w=globalThis.litHtmlVersions)&&void 0!==w?w:globalThis.litHtmlVersions=[]).push("2.2.4");class it extends g{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var s,o;const n=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:e;let r=n._$litPart$;if(void 0===r){const t=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:null;n._$litPart$=r=new V(e.insertBefore(M(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return B}}it.finalized=!0,it._$litElement$=!0,null===(tt=globalThis.litElementHydrateSupport)||void 0===tt||tt.call(globalThis,{LitElement:it});const st=globalThis.litElementPolyfillSupport;null==st||st({LitElement:it}),(null!==(et=globalThis.litElementVersions)&&void 0!==et?et:globalThis.litElementVersions=[]).push("3.2.0");class ot{constructor(t,e,i,s,o){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=s,this.context=o,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new ot(t,e,void 0,i)}static extend(t,e,i){return new ot(t,e.category,e,i)}static external(t,e){return new ot(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return c`var(${l(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):l(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}ot.create("--ft-color-primary","COLOR","#2196F3"),ot.create("--ft-color-primary-variant","COLOR","#1976D2"),ot.create("--ft-color-secondary","COLOR","#FFCC80"),ot.create("--ft-color-secondary-variant","COLOR","#F57C00"),ot.create("--ft-color-surface","COLOR","#FFFFFF"),ot.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),ot.create("--ft-color-error","COLOR","#B00020"),ot.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),ot.create("--ft-color-opacity-high","NUMBER","1"),ot.create("--ft-color-opacity-medium","NUMBER","0.74"),ot.create("--ft-color-opacity-disabled","NUMBER","0.38"),ot.create("--ft-color-on-primary","COLOR","#FFFFFF"),ot.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),ot.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),ot.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),ot.create("--ft-color-on-secondary","COLOR","#FFFFFF"),ot.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),ot.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),ot.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),ot.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),ot.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),ot.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),ot.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),ot.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),ot.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),ot.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),ot.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),ot.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),ot.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),ot.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),ot.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),ot.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),ot.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),ot.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),ot.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),ot.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),ot.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),ot.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),ot.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),ot.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),ot.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),ot.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),ot.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),ot.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),ot.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),ot.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),ot.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),ot.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),ot.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),ot.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),ot.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),ot.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),ot.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),ot.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),ot.create("--ft-border-radius-S","SIZE","4px"),ot.create("--ft-border-radius-M","SIZE","8px"),ot.create("--ft-border-radius-L","SIZE","12px"),ot.create("--ft-border-radius-XL","SIZE","16px"),ot.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),ot.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),ot.create("--ft-transition-duration","UNKNOWN","250ms"),ot.create("--ft-transition-timing-function","UNKNOWN","ease-in-out");var nt,rt,at=function(t,e,i,s){for(var o,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(e,i,r):o(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class lt extends(
56
+ var tt,et;null==Y||Y(D,Z),(null!==(w=globalThis.litHtmlVersions)&&void 0!==w?w:globalThis.litHtmlVersions=[]).push("2.2.7");class it extends g{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var s,o;const n=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:e;let r=n._$litPart$;if(void 0===r){const t=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:null;n._$litPart$=r=new Z(e.insertBefore(C(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return B}}it.finalized=!0,it._$litElement$=!0,null===(tt=globalThis.litElementHydrateSupport)||void 0===tt||tt.call(globalThis,{LitElement:it});const st=globalThis.litElementPolyfillSupport;null==st||st({LitElement:it}),(null!==(et=globalThis.litElementVersions)&&void 0!==et?et:globalThis.litElementVersions=[]).push("3.2.2");class ot{static create(t,e,i){let s=t=>l(null!=t?t:i),o=c`var(${l(t)}, ${s(i)})`;return o.name=t,o.category=e,o.defaultValue=i,o.defaultCssValue=s,o.get=e=>c`var(${l(t)}, ${s(e)})`,o.breadcrumb=()=>[],o.lastResortDefaultValue=()=>i,o}static extend(t,e,i){let s=t=>e.get(null!=t?t:i),o=c`var(${l(t)}, ${s(i)})`;return o.name=t,o.category=e.category,o.fallbackVariable=e,o.defaultValue=i,o.defaultCssValue=s,o.get=e=>c`var(${l(t)}, ${s(e)})`,o.breadcrumb=()=>[e.name,...e.breadcrumb()],o.lastResortDefaultValue=()=>i,o}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):l(null!=e?e:t.defaultValue),s=c`var(${l(t.name)}, ${i(t.defaultValue)})`;return s.name=t.name,s.category=t.category,s.fallbackVariable=t.fallbackVariable,s.defaultValue=t.defaultValue,s.context=e,s.defaultCssValue=i,s.get=e=>c`var(${l(t.name)}, ${i(e)})`,s.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],s.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},s}}ot.create("--ft-color-primary","COLOR","#2196F3"),ot.create("--ft-color-primary-variant","COLOR","#1976D2"),ot.create("--ft-color-secondary","COLOR","#FFCC80"),ot.create("--ft-color-secondary-variant","COLOR","#F57C00"),ot.create("--ft-color-surface","COLOR","#FFFFFF"),ot.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),ot.create("--ft-color-error","COLOR","#B00020"),ot.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),ot.create("--ft-color-opacity-high","NUMBER","1"),ot.create("--ft-color-opacity-medium","NUMBER","0.74"),ot.create("--ft-color-opacity-disabled","NUMBER","0.38"),ot.create("--ft-color-on-primary","COLOR","#FFFFFF"),ot.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),ot.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),ot.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),ot.create("--ft-color-on-secondary","COLOR","#FFFFFF"),ot.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),ot.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),ot.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),ot.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),ot.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),ot.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),ot.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),ot.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),ot.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),ot.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),ot.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),ot.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),ot.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),ot.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),ot.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),ot.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),ot.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),ot.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),ot.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),ot.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),ot.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),ot.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),ot.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),ot.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),ot.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),ot.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),ot.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),ot.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),ot.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),ot.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),ot.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),ot.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),ot.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),ot.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),ot.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),ot.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),ot.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),ot.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),ot.create("--ft-border-radius-S","SIZE","4px"),ot.create("--ft-border-radius-M","SIZE","8px"),ot.create("--ft-border-radius-L","SIZE","12px"),ot.create("--ft-border-radius-XL","SIZE","16px"),ot.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),ot.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),ot.create("--ft-transition-duration","UNKNOWN","250ms"),ot.create("--ft-transition-timing-function","UNKNOWN","ease-in-out");var nt,rt,at=function(t,e,i,s){for(var o,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(e,i,r):o(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class lt extends(
57
57
  /**
58
58
  * @license
59
59
  * Copyright 2021 Google LLC
60
60
  * SPDX-License-Identifier: BSD-3-Clause
61
61
  */
62
- function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:s}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const o=this.renderOptions.creationScope=this.attachShadow({...s,customElements:t.registry});return h(o,this.constructor.elementStyles),o}}}(it)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),_`
62
+ function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:s}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const o=this.renderOptions.creationScope=this.attachShadow({...s,customElements:t.registry});return p(o,this.constructor.elementStyles),o}}}(it)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),_`
63
63
  ${t.map((t=>_`
64
64
  <style>${t}</style>
65
65
  `))}
66
66
  ${this.getTemplate()}
67
- `}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}setExportpartsAttribute(t){var e,i,s,o,n,r;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(o=null===(s=t.getAttribute("part"))||void 0===s?void 0:s.split(" "))&&void 0!==o?o:[],i=null!==(r=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const h=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}contentAvailableCallback(t){}}at([i()],lt.prototype,"exportpartsPrefix",void 0),at([function(t,e){const s=()=>JSON.parse(JSON.stringify(t));return i({type:Object,converter:{fromAttribute:t=>{if(null==t)return s();try{return JSON.parse(t)}catch{return s()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],lt.prototype,"exportpartsPrefixes",void 0),c`
67
+ `}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}setExportpartsAttribute(t){var e,i,s,o,n,r;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(o=null===(s=t.getAttribute("part"))||void 0===s?void 0:s.split(" "))&&void 0!==o?o:[],i=null!==(r=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}contentAvailableCallback(t){}}at([i()],lt.prototype,"exportpartsPrefix",void 0),at([function(t,e){const s=()=>JSON.parse(JSON.stringify(t));return i({type:Object,converter:{fromAttribute:t=>{if(null==t)return s();try{return JSON.parse(t)}catch{return s()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],lt.prototype,"exportpartsPrefixes",void 0),c`
68
68
  .ft-no-text-select {
69
69
  -webkit-touch-callout: none;
70
70
  -webkit-user-select: none;
@@ -85,50 +85,51 @@ const ct=2;
85
85
  * Copyright 2017 Google LLC
86
86
  * SPDX-License-Identifier: BSD-3-Clause
87
87
  */
88
- class ht extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}{constructor(t){if(super(t),this.it=W,t.type!==ct)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===W||null==t)return this.ft=void 0,this.it=t;if(t===B)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.ft;this.it=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}ht.directiveName="unsafeHTML",ht.resultType=1;const pt=(t=>(...e)=>({_$litDirective$:t,values:e}))(ht);var dt,ut;t.FtIcons=void 0,(dt=t.FtIcons||(t.FtIcons={})).THIN_ARROW_LEFT="&#xe956;",dt.THIN_ARROW_RIGHT="&#xe957;",dt.MY_COLLECTIONS="&#xe955;",dt.OFFLINE_SETTINGS="&#xe954;",dt.MY_LIBRARY="&#xe959;",dt.RATE_PLAIN="&#xe952;",dt.RATE="&#xe953;",dt.FEEDBACK_PLAIN="&#xe951;",dt.STAR_PLAIN="&#xe94b;",dt.STAR="&#xe94c;",dt.THUMBS_DOWN_PLAIN="&#xe94d;",dt.THUMBS_DOWN="&#xe94e;",dt.THUMBS_UP_PLAIN="&#xe94f;",dt.THUMBS_UP="&#xe950;",dt.PAUSE="&#xe949;",dt.PLAY="&#xe94a;",dt.RELATIVES_PLAIN="&#xe947;",dt.RELATIVES="&#xe948;",dt.SHORTCUT_MENU="&#xe946;",dt.PRINT="&#xe944;",dt.DEFAULT_ROLES="&#xe945;",dt.ACCOUNT_SETTINGS="&#xe943;",dt.ONLINE="&#xe941;",dt.OFFLINE="&#xe816;",dt.UPLOAD="&#xe940;",dt.BOOK_PLAIN="&#xe93f;",dt.SYNC="&#xe93d;",dt.SHARED_PBK="&#xe931;",dt.COLLECTIONS="&#xe92a;",dt.SEARCH_IN_PUBLICATION="&#xe92f;",dt.BOOKS="&#xe806;",dt.LOCKER="&#xe93b;",dt.ARROW_DOWN="&#xe92b;",dt.ARROW_LEFT="&#xe92c;",dt.ARROW_RIGHT="&#xe92d;",dt.ARROW_UP="&#xe92e;",dt.SAVE="&#xe93a;",dt.MAILS_AND_NOTIFICATIONS="&#xe939;",dt.DOT="&#xe936;",dt.MINUS="&#xe937;",dt.PLUS="&#xe938;",dt.FILTERS="&#xe935;",dt.STRIPE_ARROW_RIGHT="&#xe934;",dt.STRIPE_ARROW_LEFT="&#xe933;",dt.ATTACHMENTS="&#xe932;",dt.ADD_BOOKMARK="&#xe804;",dt.BOOKMARK="&#xe805;",dt.EXPORT="&#xe80f;",dt.MENU="&#xe807;",dt.TAG="&#xe93e;",dt.TAG_PLAIN="&#xe942;",dt.COPY_TO_CLIPBOARD="&#xe930;",dt.COLUMNS="&#xe928;",dt.ARTICLE="&#xe927;",dt.CLOSE_PLAIN="&#xe925;",dt.CHECK_PLAIN="&#xe926;",dt.LOGOUT="&#xe923;",dt.SIGN_IN="&#xe922;",dt.THIN_ARROW="&#xe921;",dt.TRIANGLE_BOTTOM="&#xe91d;",dt.TRIANGLE_LEFT="&#xe91e;",dt.TRIANGLE_RIGHT="&#xe91f;",dt.TRIANGLE_TOP="&#xe920;",dt.FACET_HAS_DESCENDANT="&#xe91c;",dt.MINUS_PLAIN="&#xe91a;",dt.PLUS_PLAIN="&#xe91b;",dt.INFO="&#xe919;",dt.ICON_EXPAND="&#xe917;",dt.ICON_COLLAPSE="&#xe918;",dt.ADD_TO_PBK="&#xe800;",dt.ALERT="&#xe801;",dt.ADD_ALERT="&#xe802;",dt.BACK_TO_SEARCH="&#xe803;",dt.DOWNLOAD="&#xe808;",dt.EDIT="&#xe809;",dt.FEEDBACK="&#xe80a;",dt.MODIFY_PBK="&#xe80c;",dt.SCHEDULED="&#xe80d;",dt.SEARCH="&#xe80e;",dt.SHARE="&#xe80f1;",dt.TOC="&#xe810;",dt.WRITE_UGC="&#xe811;",dt.TRASH="&#xe812;",dt.EXTLINK="&#xe814;",dt.CALENDAR="&#xe815;",dt.BOOK="&#xe817;",dt.DOWNLOAD_PLAIN="&#xe818;",dt.CHECK="&#xe819;",dt.TOPICS="&#xe900;",dt.EYE="\f06e",dt.DISC="&#xe901;",dt.CIRCLE="&#xe903;",dt.SHARED="&#xe904;",dt.SORT_UNSORTED="&#xe905;",dt.SORT_UP="&#xe906;",dt.SORT_DOWN="&#xe907;",dt.WORKING="&#xe908;",dt.CLOSE="&#xe909;",dt.ZOOM_OUT="&#xe90a;",dt.ZOOM_IN="&#xe90b;",dt.ZOOM_REALSIZE="&#xe90c;",dt.ZOOM_FULLSCREEN="&#xe90d;",dt.ADMIN_RESTRICTED="&#xe90e;",dt.ADMIN_THEME="&#xe911;",dt.WARNING="&#xe913;",dt.CONTEXT="&#xe914;",dt.SEARCH_HOME="&#xe915;",dt.STEPS="&#xe916;",dt.HOME="&#xe80b;",dt.TRANSLATE="&#xe924;",dt.USER="&#xe813;",dt.ADMIN="&#xe902;",dt.ANALYTICS="&#xe929;",dt.ADMIN_KHUB="&#xe90f;",dt.ADMIN_USERS="&#xe910;",dt.ADMIN_INTEGRATION="&#xe93c;",dt.ADMIN_PORTAL="&#xe912;",t.FtFileFormatIcons=void 0,(ut=t.FtFileFormatIcons||(t.FtFileFormatIcons={})).UNKNOWN="&#xe90a;",ut.ABW="&#xe900;",ut.AUDIO="&#xe901;",ut.AVI="&#xe902;",ut.CHM="&#xe904;",ut.CODE="&#xe905;",ut.CSV="&#xe903;",ut.DITA="&#xe906;",ut.EPUB="&#xe907;",ut.EXCEL="&#xe908;",ut.FLAC="&#xe909;",ut.GIF="&#xe90b;",ut.GZIP="&#xe90c;",ut.HTML="&#xe90d;",ut.IMAGE="&#xe90e;",ut.JPEG="&#xe90f;",ut.JSON="&#xe910;",ut.M4A="&#xe911;",ut.MOV="&#xe912;",ut.MP3="&#xe913;",ut.MP4="&#xe914;",ut.OGG="&#xe915;",ut.PDF="&#xe916;",ut.PNG="&#xe917;",ut.POWERPOINT="&#xe918;",ut.RAR="&#xe91a;",ut.STP="&#xe91b;",ut.TEXT="&#xe91c;",ut.VIDEO="&#xe91e;",ut.WAV="&#xe91f;",ut.WMA="&#xe920;",ut.WORD="&#xe921;",ut.XML="&#xe922;",ut.YAML="&#xe919;",ut.ZIP="&#xe923;";const xt=new Map([...["abw"].map((e=>[e,t.FtFileFormatIcons.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((e=>[e,t.FtFileFormatIcons.AUDIO])),...["avi"].map((e=>[e,t.FtFileFormatIcons.AVI])),...["chm","xhs"].map((e=>[e,t.FtFileFormatIcons.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((e=>[e,t.FtFileFormatIcons.CODE])),...["csv"].map((e=>[e,t.FtFileFormatIcons.CSV])),...["dita","ditamap","ditaval"].map((e=>[e,t.FtFileFormatIcons.DITA])),...["epub"].map((e=>[e,t.FtFileFormatIcons.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((e=>[e,t.FtFileFormatIcons.EXCEL])),...["flac"].map((e=>[e,t.FtFileFormatIcons.FLAC])),...["gif"].map((e=>[e,t.FtFileFormatIcons.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((e=>[e,t.FtFileFormatIcons.GZIP])),...["html","htm","xhtml"].map((e=>[e,t.FtFileFormatIcons.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((e=>[e,t.FtFileFormatIcons.IMAGE])),...["jpeg","jpg","jpe"].map((e=>[e,t.FtFileFormatIcons.JPEG])),...["json"].map((e=>[e,t.FtFileFormatIcons.JSON])),...["m4a","m4p"].map((e=>[e,t.FtFileFormatIcons.M4A])),...["mov","qt"].map((e=>[e,t.FtFileFormatIcons.MOV])),...["mp3"].map((e=>[e,t.FtFileFormatIcons.MP3])),...["mp4","m4v"].map((e=>[e,t.FtFileFormatIcons.MP4])),...["ogg","oga"].map((e=>[e,t.FtFileFormatIcons.OGG])),...["pdf","ps"].map((e=>[e,t.FtFileFormatIcons.PDF])),...["png"].map((e=>[e,t.FtFileFormatIcons.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((e=>[e,t.FtFileFormatIcons.POWERPOINT])),...["rar"].map((e=>[e,t.FtFileFormatIcons.RAR])),...["stp"].map((e=>[e,t.FtFileFormatIcons.STP])),...["txt","rtf","md","mdown"].map((e=>[e,t.FtFileFormatIcons.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((e=>[e,t.FtFileFormatIcons.VIDEO])),...["wav"].map((e=>[e,t.FtFileFormatIcons.WAV])),...["wma"].map((e=>[e,t.FtFileFormatIcons.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((e=>[e,t.FtFileFormatIcons.WORD])),...["xml","xsl","rdf"].map((e=>[e,t.FtFileFormatIcons.XML])),...["yaml","yml","x-yaml"].map((e=>[e,t.FtFileFormatIcons.YAML])),...["zip"].map((e=>[e,t.FtFileFormatIcons.ZIP]))]),ft=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var mt,vt=function(t,e,i,s){for(var o,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(e,i,r):o(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};t.FtIconVariants=void 0,(mt=t.FtIconVariants||(t.FtIconVariants={})).fluid_topics="fluid-topics",mt.file_format="file-format",mt.material="material";const bt={size:ot.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ot.extend("--ft-icon-fluid-topics-font-family",ot.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ot.extend("--ft-icon-file-format-font-family",ot.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ot.extend("--ft-icon-material-font-family",ot.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class gt extends lt{constructor(){super(...arguments),this.variant=t.FtIconVariants.fluid_topics}render(){return _`
89
- <i class="ft-icon ${"ft-icon--"+this.variant}">
90
- ${pt(this.getIcon())}
91
- <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
92
- </i>
93
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var e,i;let s=this.textContent;return this.variant===t.FtIconVariants.file_format?null!==(e=t.FtFileFormatIcons[s.toUpperCase()])&&void 0!==e?e:s:this.variant===t.FtIconVariants.fluid_topics?null!==(i=t.FtIcons[s.toUpperCase()])&&void 0!==i?i:s:W}}var wt;gt.elementDefinitions={},gt.styles=c`
94
- :host {
95
- display: inline-block;
96
- }
97
- :host, i.ft-icon {
98
- width: ${bt.size};
99
- height: ${bt.size};
100
- text-align: center;
101
- }
88
+ class pt extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}{constructor(t){if(super(t),this.it=W,t.type!==ct)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===W||null==t)return this._t=void 0,this.it=t;if(t===B)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}pt.directiveName="unsafeHTML",pt.resultType=1;const ht=(t=>(...e)=>({_$litDirective$:t,values:e}))(pt);var dt,ut;t.FtIcons=void 0,(dt=t.FtIcons||(t.FtIcons={})).THIN_ARROW_LEFT="&#xe956;",dt.THIN_ARROW_RIGHT="&#xe957;",dt.MY_COLLECTIONS="&#xe955;",dt.OFFLINE_SETTINGS="&#xe954;",dt.MY_LIBRARY="&#xe959;",dt.RATE_PLAIN="&#xe952;",dt.RATE="&#xe953;",dt.FEEDBACK_PLAIN="&#xe951;",dt.STAR_PLAIN="&#xe94b;",dt.STAR="&#xe94c;",dt.THUMBS_DOWN_PLAIN="&#xe94d;",dt.THUMBS_DOWN="&#xe94e;",dt.THUMBS_UP_PLAIN="&#xe94f;",dt.THUMBS_UP="&#xe950;",dt.PAUSE="&#xe949;",dt.PLAY="&#xe94a;",dt.RELATIVES_PLAIN="&#xe947;",dt.RELATIVES="&#xe948;",dt.SHORTCUT_MENU="&#xe946;",dt.PRINT="&#xe944;",dt.DEFAULT_ROLES="&#xe945;",dt.ACCOUNT_SETTINGS="&#xe943;",dt.ONLINE="&#xe941;",dt.OFFLINE="&#xe816;",dt.UPLOAD="&#xe940;",dt.BOOK_PLAIN="&#xe93f;",dt.SYNC="&#xe93d;",dt.SHARED_PBK="&#xe931;",dt.COLLECTIONS="&#xe92a;",dt.SEARCH_IN_PUBLICATION="&#xe92f;",dt.BOOKS="&#xe806;",dt.LOCKER="&#xe93b;",dt.ARROW_DOWN="&#xe92b;",dt.ARROW_LEFT="&#xe92c;",dt.ARROW_RIGHT="&#xe92d;",dt.ARROW_UP="&#xe92e;",dt.SAVE="&#xe93a;",dt.MAILS_AND_NOTIFICATIONS="&#xe939;",dt.DOT="&#xe936;",dt.MINUS="&#xe937;",dt.PLUS="&#xe938;",dt.FILTERS="&#xe935;",dt.STRIPE_ARROW_RIGHT="&#xe934;",dt.STRIPE_ARROW_LEFT="&#xe933;",dt.ATTACHMENTS="&#xe932;",dt.ADD_BOOKMARK="&#xe804;",dt.BOOKMARK="&#xe805;",dt.EXPORT="&#xe80f;",dt.MENU="&#xe807;",dt.TAG="&#xe93e;",dt.TAG_PLAIN="&#xe942;",dt.COPY_TO_CLIPBOARD="&#xe930;",dt.COLUMNS="&#xe928;",dt.ARTICLE="&#xe927;",dt.CLOSE_PLAIN="&#xe925;",dt.CHECK_PLAIN="&#xe926;",dt.LOGOUT="&#xe923;",dt.SIGN_IN="&#xe922;",dt.THIN_ARROW="&#xe921;",dt.TRIANGLE_BOTTOM="&#xe91d;",dt.TRIANGLE_LEFT="&#xe91e;",dt.TRIANGLE_RIGHT="&#xe91f;",dt.TRIANGLE_TOP="&#xe920;",dt.FACET_HAS_DESCENDANT="&#xe91c;",dt.MINUS_PLAIN="&#xe91a;",dt.PLUS_PLAIN="&#xe91b;",dt.INFO="&#xe919;",dt.ICON_EXPAND="&#xe917;",dt.ICON_COLLAPSE="&#xe918;",dt.ADD_TO_PBK="&#xe800;",dt.ALERT="&#xe801;",dt.ADD_ALERT="&#xe802;",dt.BACK_TO_SEARCH="&#xe803;",dt.DOWNLOAD="&#xe808;",dt.EDIT="&#xe809;",dt.FEEDBACK="&#xe80a;",dt.MODIFY_PBK="&#xe80c;",dt.SCHEDULED="&#xe80d;",dt.SEARCH="&#xe80e;",dt.SHARE="&#xe80f1;",dt.TOC="&#xe810;",dt.WRITE_UGC="&#xe811;",dt.TRASH="&#xe812;",dt.EXTLINK="&#xe814;",dt.CALENDAR="&#xe815;",dt.BOOK="&#xe817;",dt.DOWNLOAD_PLAIN="&#xe818;",dt.CHECK="&#xe819;",dt.TOPICS="&#xe900;",dt.EYE="\f06e",dt.DISC="&#xe901;",dt.CIRCLE="&#xe903;",dt.SHARED="&#xe904;",dt.SORT_UNSORTED="&#xe905;",dt.SORT_UP="&#xe906;",dt.SORT_DOWN="&#xe907;",dt.WORKING="&#xe908;",dt.CLOSE="&#xe909;",dt.ZOOM_OUT="&#xe90a;",dt.ZOOM_IN="&#xe90b;",dt.ZOOM_REALSIZE="&#xe90c;",dt.ZOOM_FULLSCREEN="&#xe90d;",dt.ADMIN_RESTRICTED="&#xe90e;",dt.ADMIN_THEME="&#xe911;",dt.WARNING="&#xe913;",dt.CONTEXT="&#xe914;",dt.SEARCH_HOME="&#xe915;",dt.STEPS="&#xe916;",dt.HOME="&#xe80b;",dt.TRANSLATE="&#xe924;",dt.USER="&#xe813;",dt.ADMIN="&#xe902;",dt.ANALYTICS="&#xe929;",dt.ADMIN_KHUB="&#xe90f;",dt.ADMIN_USERS="&#xe910;",dt.ADMIN_INTEGRATION="&#xe93c;",dt.ADMIN_PORTAL="&#xe912;",t.FtFileFormatIcons=void 0,(ut=t.FtFileFormatIcons||(t.FtFileFormatIcons={})).UNKNOWN="&#xe90a;",ut.ABW="&#xe900;",ut.AUDIO="&#xe901;",ut.AVI="&#xe902;",ut.CHM="&#xe904;",ut.CODE="&#xe905;",ut.CSV="&#xe903;",ut.DITA="&#xe906;",ut.EPUB="&#xe907;",ut.EXCEL="&#xe908;",ut.FLAC="&#xe909;",ut.GIF="&#xe90b;",ut.GZIP="&#xe90c;",ut.HTML="&#xe90d;",ut.IMAGE="&#xe90e;",ut.JPEG="&#xe90f;",ut.JSON="&#xe910;",ut.M4A="&#xe911;",ut.MOV="&#xe912;",ut.MP3="&#xe913;",ut.MP4="&#xe914;",ut.OGG="&#xe915;",ut.PDF="&#xe916;",ut.PNG="&#xe917;",ut.POWERPOINT="&#xe918;",ut.RAR="&#xe91a;",ut.STP="&#xe91b;",ut.TEXT="&#xe91c;",ut.VIDEO="&#xe91e;",ut.WAV="&#xe91f;",ut.WMA="&#xe920;",ut.WORD="&#xe921;",ut.XML="&#xe922;",ut.YAML="&#xe919;",ut.ZIP="&#xe923;";const xt=new Map([...["abw"].map((e=>[e,t.FtFileFormatIcons.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((e=>[e,t.FtFileFormatIcons.AUDIO])),...["avi"].map((e=>[e,t.FtFileFormatIcons.AVI])),...["chm","xhs"].map((e=>[e,t.FtFileFormatIcons.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((e=>[e,t.FtFileFormatIcons.CODE])),...["csv"].map((e=>[e,t.FtFileFormatIcons.CSV])),...["dita","ditamap","ditaval"].map((e=>[e,t.FtFileFormatIcons.DITA])),...["epub"].map((e=>[e,t.FtFileFormatIcons.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((e=>[e,t.FtFileFormatIcons.EXCEL])),...["flac"].map((e=>[e,t.FtFileFormatIcons.FLAC])),...["gif"].map((e=>[e,t.FtFileFormatIcons.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((e=>[e,t.FtFileFormatIcons.GZIP])),...["html","htm","xhtml"].map((e=>[e,t.FtFileFormatIcons.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((e=>[e,t.FtFileFormatIcons.IMAGE])),...["jpeg","jpg","jpe"].map((e=>[e,t.FtFileFormatIcons.JPEG])),...["json"].map((e=>[e,t.FtFileFormatIcons.JSON])),...["m4a","m4p"].map((e=>[e,t.FtFileFormatIcons.M4A])),...["mov","qt"].map((e=>[e,t.FtFileFormatIcons.MOV])),...["mp3"].map((e=>[e,t.FtFileFormatIcons.MP3])),...["mp4","m4v"].map((e=>[e,t.FtFileFormatIcons.MP4])),...["ogg","oga"].map((e=>[e,t.FtFileFormatIcons.OGG])),...["pdf","ps"].map((e=>[e,t.FtFileFormatIcons.PDF])),...["png"].map((e=>[e,t.FtFileFormatIcons.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((e=>[e,t.FtFileFormatIcons.POWERPOINT])),...["rar"].map((e=>[e,t.FtFileFormatIcons.RAR])),...["stp"].map((e=>[e,t.FtFileFormatIcons.STP])),...["txt","rtf","md","mdown"].map((e=>[e,t.FtFileFormatIcons.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((e=>[e,t.FtFileFormatIcons.VIDEO])),...["wav"].map((e=>[e,t.FtFileFormatIcons.WAV])),...["wma"].map((e=>[e,t.FtFileFormatIcons.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((e=>[e,t.FtFileFormatIcons.WORD])),...["xml","xsl","rdf"].map((e=>[e,t.FtFileFormatIcons.XML])),...["yaml","yml","x-yaml"].map((e=>[e,t.FtFileFormatIcons.YAML])),...["zip"].map((e=>[e,t.FtFileFormatIcons.ZIP]))]),ft=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var mt,vt=function(t,e,i,s){for(var o,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(e,i,r):o(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};t.FtIconVariants=void 0,(mt=t.FtIconVariants||(t.FtIconVariants={})).fluid_topics="fluid-topics",mt.file_format="file-format",mt.material="material";const bt={size:ot.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ot.extend("--ft-icon-fluid-topics-font-family",ot.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ot.extend("--ft-icon-file-format-font-family",ot.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ot.extend("--ft-icon-material-font-family",ot.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class gt extends lt{constructor(){super(...arguments),this.variant=t.FtIconVariants.fluid_topics}getStyles(){return c`
89
+ :host {
90
+ display: inline-block;
91
+ }
92
+
93
+ :host, i.ft-icon {
94
+ width: ${bt.size};
95
+ height: ${bt.size};
96
+ text-align: center;
97
+ }
102
98
 
103
- i.ft-icon {
104
- font-size: ${bt.size};
105
- line-height: 1;
106
- font-weight: normal;
107
- text-transform: none;
108
- font-style: normal;
109
- font-variant: normal;
110
- speak: none;
111
- text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
112
- text-rendering: auto;
113
- -webkit-font-smoothing: antialiased;
114
- -moz-osx-font-smoothing: grayscale;
115
- }
99
+ i.ft-icon {
100
+ font-size: ${bt.size};
101
+ line-height: 1;
102
+ font-weight: normal;
103
+ text-transform: none;
104
+ font-style: normal;
105
+ font-variant: normal;
106
+ speak: none;
107
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
108
+ text-rendering: auto;
109
+ -webkit-font-smoothing: antialiased;
110
+ -moz-osx-font-smoothing: grayscale;
111
+ }
116
112
 
117
- .ft-icon--fluid-topics {
118
- font-family: ${bt.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
119
- }
113
+ .ft-icon--fluid-topics {
114
+ font-family: ${bt.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
115
+ }
120
116
 
121
- .ft-icon--file-format {
122
- font-family: ${bt.fileFormatFontFamily}, ft-mime, sans-serif;
123
- }
117
+ .ft-icon--file-format {
118
+ font-family: ${bt.fileFormatFontFamily}, ft-mime, sans-serif;
119
+ }
124
120
 
125
- .ft-icon--material {
126
- font-family: ${bt.materialFontFamily}, "Material Icons", sans-serif;
127
- }
128
- `,vt([i()],gt.prototype,"variant",void 0),vt([
121
+ .ft-icon--material {
122
+ font-family: ${bt.materialFontFamily}, "Material Icons", sans-serif;
123
+ }
124
+ `}getTemplate(){return _`
125
+ <i class="ft-icon ${"ft-icon--"+this.variant}">
126
+ ${ht(this.getIcon())}
127
+ <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
128
+ </i>
129
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var e,i;let s=this.textContent;return this.variant===t.FtIconVariants.file_format?null!==(e=t.FtFileFormatIcons[s.toUpperCase()])&&void 0!==e?e:s:this.variant===t.FtIconVariants.fluid_topics?null!==(i=t.FtIcons[s.toUpperCase()])&&void 0!==i?i:s:W}}var wt;gt.elementDefinitions={},vt([i()],gt.prototype,"variant",void 0),vt([
129
130
  /**
130
131
  * @license
131
132
  * Copyright 2017 Google LLC
132
133
  * SPDX-License-Identifier: BSD-3-Clause
133
134
  */
134
- function(t,e){return(({finisher:t,descriptor:e})=>(i,s)=>{var o;if(void 0===s){const s=null!==(o=i.originalKey)&&void 0!==o?o:i.key,n=null!=e?{kind:"method",placement:"prototype",key:s,descriptor:e(i.key)}:{...i,key:s};return null!=t&&(n.finisher=function(e){t(e,s)}),n}{const o=i.constructor;void 0!==e&&Object.defineProperty(i,s,e(s)),null==t||t(o,s)}})({descriptor:i=>{const s={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;s.get=function(){var i,s;return void 0===this[e]&&(this[e]=null!==(s=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==s?s:null),this[e]}}return s}})}("slot")],gt.prototype,"slottedContent",void 0),(wt="ft-icon",t=>{window.customElements.get(wt)||window.customElements.define(wt,t)})(gt),t.FtIcon=gt,t.FtIconCssVariables=bt,t.resolveFileFormatIcon=function(e,i){var s,o,n,r;e=(null!=e?e:"").toLowerCase(),i=(null!=i?i:"").toLowerCase();const[a,l]=((null!==(s=ft.get(e))&&void 0!==s?s:e)+"/").split("/");return null!==(r=null!==(n=null!==(o=xt.get(l))&&void 0!==o?o:xt.get(i))&&void 0!==n?n:xt.get(a))&&void 0!==r?r:t.FtFileFormatIcons.UNKNOWN},Object.defineProperty(t,"t",{value:!0})}({});
135
+ function(t,e){return(({finisher:t,descriptor:e})=>(i,s)=>{var o;if(void 0===s){const s=null!==(o=i.originalKey)&&void 0!==o?o:i.key,n=null!=e?{kind:"method",placement:"prototype",key:s,descriptor:e(i.key)}:{...i,key:s};return null!=t&&(n.finisher=function(e){t(e,s)}),n}{const o=i.constructor;void 0!==e&&Object.defineProperty(i,s,e(s)),null==t||t(o,s)}})({descriptor:i=>{const s={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;s.get=function(){var i,s;return void 0===this[e]&&(this[e]=null!==(s=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==s?s:null),this[e]}}return s}})}("slot")],gt.prototype,"slottedContent",void 0),(wt="ft-icon",t=>{window.customElements.get(wt)||window.customElements.define(wt,t)})(gt),t.FtIcon=gt,t.FtIconCssVariables=bt,t.resolveFileFormatIcon=function(e,i){var s,o,n,r;e=(null!=e?e:"").toLowerCase(),i=(null!=i?i:"").toLowerCase();const[a,l]=((null!==(s=ft.get(e))&&void 0!==s?s:e)+"/").split("/");return null!==(r=null!==(n=null!==(o=xt.get(l))&&void 0!==o?o:xt.get(i))&&void 0!==n?n:xt.get(a))&&void 0!==r?r:t.FtFileFormatIcons.UNKNOWN},Object.defineProperty(t,"i",{value:!0})}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-icon",
3
- "version": "0.2.21",
3
+ "version": "0.3.1",
4
4
  "description": "Typography components",
5
5
  "keywords": [
6
6
  "Lit"
@@ -11,16 +11,16 @@
11
11
  "web": "build/ft-icon.min.js",
12
12
  "typings": "build/index",
13
13
  "files": [
14
- "build/*.ts",
15
- "build/*.js"
14
+ "build/**/*.ts",
15
+ "build/**/*.js"
16
16
  ],
17
17
  "repository": {
18
18
  "type": "git",
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-wc-utils": "^0.2.21",
23
- "lit": "2.1.3"
22
+ "@fluid-topics/ft-wc-utils": "0.3.1",
23
+ "lit": "2.2.8"
24
24
  },
25
- "gitHead": "081fdb95b1d88ac385722f9d37abb3ff9e20efd1"
25
+ "gitHead": "59991498f66c54210024c0fc6702955901f94952"
26
26
  }