@fluid-topics/ft-chip 0.3.34 → 0.3.35

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.
@@ -212,7 +212,7 @@ const Q=Symbol.for(""),V=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:t
212
212
  </${tt(this.element)}>
213
213
  `:et`
214
214
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
215
- `}}wi.styles=[li,ai,hi,fi,ci,di,gi,yi,xi,ui,vi],$i([o.property()],wi.prototype,"element",void 0),$i([o.property()],wi.prototype,"variant",void 0),i.customElement("ft-typography")(wi),function(t){t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(mi||(mi={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(bi||(bi={})),new Map([...["abw"].map((t=>[t,bi.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,bi.AUDIO])),...["avi"].map((t=>[t,bi.AVI])),...["chm","xhs"].map((t=>[t,bi.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,bi.CODE])),...["csv"].map((t=>[t,bi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,bi.DITA])),...["epub"].map((t=>[t,bi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,bi.EXCEL])),...["flac"].map((t=>[t,bi.FLAC])),...["gif"].map((t=>[t,bi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,bi.GZIP])),...["html","htm","xhtml"].map((t=>[t,bi.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,bi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,bi.JPEG])),...["json"].map((t=>[t,bi.JSON])),...["m4a","m4p"].map((t=>[t,bi.M4A])),...["mov","qt"].map((t=>[t,bi.MOV])),...["mp3"].map((t=>[t,bi.MP3])),...["mp4","m4v"].map((t=>[t,bi.MP4])),...["ogg","oga"].map((t=>[t,bi.OGG])),...["pdf","ps"].map((t=>[t,bi.PDF])),...["png"].map((t=>[t,bi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,bi.POWERPOINT])),...["rar"].map((t=>[t,bi.RAR])),...["stp"].map((t=>[t,bi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,bi.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,bi.VIDEO])),...["wav"].map((t=>[t,bi.WAV])),...["wma"].map((t=>[t,bi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,bi.WORD])),...["xml","xsl","rdf"].map((t=>[t,bi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,bi.YAML])),...["zip"].map((t=>[t,bi.ZIP]))]);const ki={size:i.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariableFactory.extend("--ft-icon-material-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:i.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")},zi=e.css`
215
+ `}}wi.styles=[li,ai,hi,fi,ci,di,gi,yi,xi,ui,vi],$i([o.property()],wi.prototype,"element",void 0),$i([o.property()],wi.prototype,"variant",void 0),i.customElement("ft-typography")(wi),function(t){t.DESKTOP="&#xe95e",t.MOBILE_LANDSCAPE="&#xe95f",t.MOBILE_PORTRAIT="&#xe960",t.TABLET_LANDSCAPE="&#xe961",t.TABLET_PORTRAIT="&#xe962",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(mi||(mi={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(bi||(bi={})),new Map([...["abw"].map((t=>[t,bi.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,bi.AUDIO])),...["avi"].map((t=>[t,bi.AVI])),...["chm","xhs"].map((t=>[t,bi.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,bi.CODE])),...["csv"].map((t=>[t,bi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,bi.DITA])),...["epub"].map((t=>[t,bi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,bi.EXCEL])),...["flac"].map((t=>[t,bi.FLAC])),...["gif"].map((t=>[t,bi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,bi.GZIP])),...["html","htm","xhtml"].map((t=>[t,bi.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,bi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,bi.JPEG])),...["json"].map((t=>[t,bi.JSON])),...["m4a","m4p"].map((t=>[t,bi.M4A])),...["mov","qt"].map((t=>[t,bi.MOV])),...["mp3"].map((t=>[t,bi.MP3])),...["mp4","m4v"].map((t=>[t,bi.MP4])),...["ogg","oga"].map((t=>[t,bi.OGG])),...["pdf","ps"].map((t=>[t,bi.PDF])),...["png"].map((t=>[t,bi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,bi.POWERPOINT])),...["rar"].map((t=>[t,bi.RAR])),...["stp"].map((t=>[t,bi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,bi.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,bi.VIDEO])),...["wav"].map((t=>[t,bi.WAV])),...["wma"].map((t=>[t,bi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,bi.WORD])),...["xml","xsl","rdf"].map((t=>[t,bi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,bi.YAML])),...["zip"].map((t=>[t,bi.ZIP]))]);const ki={size:i.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariableFactory.extend("--ft-icon-material-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:i.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")},zi=e.css`
216
216
  :host {
217
217
  display: inline-block;
218
218
  }
@@ -254,7 +254,7 @@ const Q=Symbol.for(""),V=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:t
254
254
  ${r.unsafeHTML(this.resolvedIcon)}
255
255
  <slot ?hidden=${t}></slot>
256
256
  </i>
257
- `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let o=this.value||this.textContent;switch(this.variant){case Si.file_format:this.resolvedIcon=null!==(t=bi[o.toUpperCase()])&&void 0!==t?t:o;break;case Si.fluid_topics:this.resolvedIcon=null!==(i=mi[o.toUpperCase()])&&void 0!==i?i:o;break;default:this.resolvedIcon=this.value||e.nothing}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}Ci.elementDefinitions={},Ci.styles=zi,ji([o.property()],Ci.prototype,"variant",void 0),ji([o.property()],Ci.prototype,"value",void 0),ji([o.state()],Ci.prototype,"resolvedIcon",void 0),ji([o.query("slot")],Ci.prototype,"slottedContent",void 0),i.customElement("ft-icon")(Ci);const Ni=i.FtCssVariableFactory.extend("--ft-chip-color",i.designSystemVariables.colorOnSurface),Oi={backgroundColor:i.FtCssVariableFactory.extend("--ft-chip-background-color",i.designSystemVariables.colorSurface),color:Ni,fontSize:i.FtCssVariableFactory.extend("--ft-chip-font-size",Ft.fontSize),iconSize:i.FtCssVariableFactory.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:i.FtCssVariableFactory.extend("--ft-chip-ripple-color",Ni),horizontalPadding:i.FtCssVariableFactory.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:i.FtCssVariableFactory.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:i.FtCssVariableFactory.external(i.designSystemVariables.colorOutline,"Design system"),opacityDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Ii=i.FtCssVariableFactory.extend("--ft-chip-highlighted-color",i.FtCssVariableFactory.extend("--ft-chip-color",i.designSystemVariables.colorOnPrimary)),Ei={backgroundColor:i.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color",i.FtCssVariableFactory.extend("--ft-chip-background-color",i.designSystemVariables.colorPrimary)),color:Ii,rippleColor:i.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color",Ii)},Ai={horizontalPadding:i.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),verticalPadding:i.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","SIZE","4px")},_i=[i.noTextSelect,e.css`
257
+ `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let o=this.value||this.textContent;switch(this.variant){case Si.file_format:this.resolvedIcon=null!==(t=bi[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Si.fluid_topics:this.resolvedIcon=null!==(i=mi[o.replace("-","_").toUpperCase()])&&void 0!==i?i:o;break;default:this.resolvedIcon=this.value||e.nothing}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ci.elementDefinitions={},Ci.styles=zi,ji([o.property()],Ci.prototype,"variant",void 0),ji([o.property()],Ci.prototype,"value",void 0),ji([o.state()],Ci.prototype,"resolvedIcon",void 0),ji([o.query("slot")],Ci.prototype,"slottedContent",void 0),i.customElement("ft-icon")(Ci);const Ni=i.FtCssVariableFactory.extend("--ft-chip-color",i.designSystemVariables.colorOnSurface),Oi={backgroundColor:i.FtCssVariableFactory.extend("--ft-chip-background-color",i.designSystemVariables.colorSurface),color:Ni,fontSize:i.FtCssVariableFactory.extend("--ft-chip-font-size",Ft.fontSize),iconSize:i.FtCssVariableFactory.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:i.FtCssVariableFactory.extend("--ft-chip-ripple-color",Ni),horizontalPadding:i.FtCssVariableFactory.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:i.FtCssVariableFactory.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:i.FtCssVariableFactory.external(i.designSystemVariables.colorOutline,"Design system"),opacityDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Ii=i.FtCssVariableFactory.extend("--ft-chip-highlighted-color",i.FtCssVariableFactory.extend("--ft-chip-color",i.designSystemVariables.colorOnPrimary)),Ei={backgroundColor:i.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color",i.FtCssVariableFactory.extend("--ft-chip-background-color",i.designSystemVariables.colorPrimary)),color:Ii,rippleColor:i.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color",Ii)},Ai={horizontalPadding:i.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),verticalPadding:i.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","SIZE","4px")},_i=[i.noTextSelect,e.css`
258
258
  :host {
259
259
  display: inline-block;
260
260
  max-width: 100%;
@@ -57,7 +57,7 @@ const l=window,h=l.ShadowRoot&&(void 0===l.ShadyCSS||l.ShadyCSS.nativeShadow)&&"
57
57
  * Copyright 2017 Google LLC
58
58
  * SPDX-License-Identifier: BSD-3-Clause
59
59
  */
60
- var N;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==w||w({ReactiveElement:k}),(null!==(v=x.reactiveElementVersions)&&void 0!==v?v:x.reactiveElementVersions=[]).push("1.4.1");const C=window,E=C.trustedTypes,R=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,M=`lit$${(Math.random()+"").slice(9)}$`,z="?"+M,U=`<${z}>`,F=document,j=(t="")=>F.createComment(t),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,L=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,T=/>/g,_=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),D=/'/g,I=/"/g,W=/^(?:script|style|textarea|title)$/i,K=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),H=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),V=new WeakMap,J=F.createTreeWalker(F,129,null,!1),q=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",s=L;for(let i=0;i<e;i++){const e=t[i];let a,l,h=-1,c=0;for(;c<e.length&&(s.lastIndex=c,l=s.exec(e),null!==l);)c=s.lastIndex,s===L?"!--"===l[1]?s=P:void 0!==l[1]?s=T:void 0!==l[2]?(W.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=_):void 0!==l[3]&&(s=_):s===_?">"===l[0]?(s=null!=n?n:L,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?_:'"'===l[3]?I:D):s===I||s===D?s=_:s===P||s===T?s=L:(s=_,n=void 0);const p=s===_&&t[i+1].startsWith("/>")?" ":"";r+=s===L?e+U:h>=0?(o.push(a),e.slice(0,h)+"$lit$"+e.slice(h)+M+p):e+M+(-2===h?(o.push(void 0),i):p)}const a=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==R?R.createHTML(a):a,o]};class X{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=q(t,i);if(this.el=X.createElement(l,e),J.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=J.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(M)){const e=h[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(M),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?it:"?"===i[1]?ot:"@"===i[1]?nt:tt})}else a.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(W.test(o.tagName)){const t=o.textContent.split(M),i=t.length-1;if(i>0){o.textContent=E?E.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],j()),J.nextNode(),a.push({type:2,index:++n});o.append(t[i],j())}}}else if(8===o.nodeType)if(o.data===z)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(M,t+1));)a.push({type:7,index:n}),t+=M.length-1}n++}}static createElement(t,i){const e=F.createElement("template");return e.innerHTML=t,e}}function Y(t,i,e=t,o){var n,r,s,a;if(i===H)return i;let l=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const h=A(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,e,o)),void 0!==o?(null!==(s=(a=e)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:e._$Cl=l),void 0!==l&&(i=Y(t,l._$AS(t,i.values),l,o)),i}class G{constructor(t,i){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:F).importNode(e,!0);J.currentNode=n;let r=J.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let i;2===l.type?i=new Q(r,r.nextSibling,this,t):1===l.type?i=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(i=new rt(r,this,t)),this.u.push(i),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=J.nextNode(),s++)}return n}p(t){let i=0;for(const e of this.u)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class Q{constructor(t,i,e,o){var n;this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cm=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=Y(this,t,i),A(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==H&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>B(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==Z&&A(this._$AH)?this._$AA.nextSibling.data=t:this.T(F.createTextNode(t)),this._$AH=t}$(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=X.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.p(e);else{const t=new G(n,this),i=t.v(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let i=V.get(t.strings);return void 0===i&&V.set(t.strings,i=new X(t)),i}k(t){B(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new Q(this.O(j()),this.O(j()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cm=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class tt{constructor(t,i,e,o,n){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Z}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=Y(this,t,i,0),r=!A(t)||t!==this._$AH&&t!==H,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=Y(this,o[e+s],i,s),a===H&&(a=this._$AH[s]),r||(r=!A(a)||a!==this._$AH[s]),a===Z?t=Z:t!==Z&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class it extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Z?void 0:t}}const et=E?E.emptyScript:"";class ot extends tt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Z?this.element.setAttribute(this.name,et):this.element.removeAttribute(this.name)}}class nt extends tt{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=Y(this,t,i,0))&&void 0!==e?e:Z)===H)return;const o=this._$AH,n=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==Z&&(o===Z||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class rt{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}}const st=C.litHtmlPolyfillSupport;null==st||st(X,Q),(null!==(N=C.litHtmlVersions)&&void 0!==N?N:C.litHtmlVersions=[]).push("2.4.0");
60
+ var N;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==w||w({ReactiveElement:k}),(null!==(v=x.reactiveElementVersions)&&void 0!==v?v:x.reactiveElementVersions=[]).push("1.4.1");const C=window,E=C.trustedTypes,R=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,M=`lit$${(Math.random()+"").slice(9)}$`,z="?"+M,U=`<${z}>`,F=document,j=(t="")=>F.createComment(t),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,L=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,_=/>/g,T=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),D=/'/g,I=/"/g,W=/^(?:script|style|textarea|title)$/i,K=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),H=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),V=new WeakMap,J=F.createTreeWalker(F,129,null,!1),q=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",s=L;for(let i=0;i<e;i++){const e=t[i];let a,l,h=-1,c=0;for(;c<e.length&&(s.lastIndex=c,l=s.exec(e),null!==l);)c=s.lastIndex,s===L?"!--"===l[1]?s=P:void 0!==l[1]?s=_:void 0!==l[2]?(W.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=T):void 0!==l[3]&&(s=T):s===T?">"===l[0]?(s=null!=n?n:L,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?T:'"'===l[3]?I:D):s===I||s===D?s=T:s===P||s===_?s=L:(s=T,n=void 0);const p=s===T&&t[i+1].startsWith("/>")?" ":"";r+=s===L?e+U:h>=0?(o.push(a),e.slice(0,h)+"$lit$"+e.slice(h)+M+p):e+M+(-2===h?(o.push(void 0),i):p)}const a=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==R?R.createHTML(a):a,o]};class X{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=q(t,i);if(this.el=X.createElement(l,e),J.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=J.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(M)){const e=h[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(M),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?it:"?"===i[1]?ot:"@"===i[1]?nt:tt})}else a.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(W.test(o.tagName)){const t=o.textContent.split(M),i=t.length-1;if(i>0){o.textContent=E?E.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],j()),J.nextNode(),a.push({type:2,index:++n});o.append(t[i],j())}}}else if(8===o.nodeType)if(o.data===z)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(M,t+1));)a.push({type:7,index:n}),t+=M.length-1}n++}}static createElement(t,i){const e=F.createElement("template");return e.innerHTML=t,e}}function Y(t,i,e=t,o){var n,r,s,a;if(i===H)return i;let l=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const h=A(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,e,o)),void 0!==o?(null!==(s=(a=e)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:e._$Cl=l),void 0!==l&&(i=Y(t,l._$AS(t,i.values),l,o)),i}class G{constructor(t,i){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:F).importNode(e,!0);J.currentNode=n;let r=J.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let i;2===l.type?i=new Q(r,r.nextSibling,this,t):1===l.type?i=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(i=new rt(r,this,t)),this.u.push(i),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=J.nextNode(),s++)}return n}p(t){let i=0;for(const e of this.u)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class Q{constructor(t,i,e,o){var n;this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cm=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=Y(this,t,i),A(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==H&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>B(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==Z&&A(this._$AH)?this._$AA.nextSibling.data=t:this.T(F.createTextNode(t)),this._$AH=t}$(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=X.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.p(e);else{const t=new G(n,this),i=t.v(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let i=V.get(t.strings);return void 0===i&&V.set(t.strings,i=new X(t)),i}k(t){B(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new Q(this.O(j()),this.O(j()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cm=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class tt{constructor(t,i,e,o,n){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Z}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=Y(this,t,i,0),r=!A(t)||t!==this._$AH&&t!==H,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=Y(this,o[e+s],i,s),a===H&&(a=this._$AH[s]),r||(r=!A(a)||a!==this._$AH[s]),a===Z?t=Z:t!==Z&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class it extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Z?void 0:t}}const et=E?E.emptyScript:"";class ot extends tt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Z?this.element.setAttribute(this.name,et):this.element.removeAttribute(this.name)}}class nt extends tt{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=Y(this,t,i,0))&&void 0!==e?e:Z)===H)return;const o=this._$AH,n=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==Z&&(o===Z||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class rt{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}}const st=C.litHtmlPolyfillSupport;null==st||st(X,Q),(null!==(N=C.litHtmlVersions)&&void 0!==N?N:C.litHtmlVersions=[]).push("2.4.0");
61
61
  /**
62
62
  * @license
63
63
  * Copyright 2017 Google LLC
@@ -216,7 +216,7 @@ var at,lt;class ht extends k{constructor(){super(...arguments),this.renderOption
216
216
  * Copyright 2020 Google LLC
217
217
  * SPDX-License-Identifier: BSD-3-Clause
218
218
  */
219
- const Lt=Symbol.for(""),Pt=t=>{if((null==t?void 0:t.r)===Lt)return null==t?void 0:t._$litStatic$},Tt=t=>({_$litStatic$:t,r:Lt}),_t=new Map,Dt=(t=>(i,...e)=>{const o=e.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=i[h];h<o&&void 0!==(r=e[h],n=Pt(r));)l+=n+i[++h],c=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(i[o]),c){const t=s.join("$$lit$$");void 0===(i=_t.get(t))&&(s.raw=s,_t.set(t,i=s)),e=a}return t(i,...e)})(K);var It;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(It||(It={}));const Wt=pt.extend("--ft-typography-font-family",dt.titleFont),Kt=pt.extend("--ft-typography-font-family",dt.contentFont),Ht={fontFamily:Kt,fontSize:pt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:pt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:pt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:pt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:pt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Zt=pt.extend("--ft-typography-title-font-family",Wt),Vt=pt.extend("--ft-typography-title-font-size",Ht.fontSize,"20px"),Jt=pt.extend("--ft-typography-title-font-weight",Ht.fontWeight,"normal"),qt=pt.extend("--ft-typography-title-letter-spacing",Ht.letterSpacing,"0.15px"),Xt=pt.extend("--ft-typography-title-line-height",Ht.lineHeight,"1.2"),Yt=pt.extend("--ft-typography-title-text-transform",Ht.textTransform,"inherit"),Gt=pt.extend("--ft-typography-title-dense-font-family",Wt),Qt=pt.extend("--ft-typography-title-dense-font-size",Ht.fontSize,"14px"),ti=pt.extend("--ft-typography-title-dense-font-weight",Ht.fontWeight,"normal"),ii=pt.extend("--ft-typography-title-dense-letter-spacing",Ht.letterSpacing,"0.105px"),ei=pt.extend("--ft-typography-title-dense-line-height",Ht.lineHeight,"1.7"),oi=pt.extend("--ft-typography-title-dense-text-transform",Ht.textTransform,"inherit"),ni=pt.extend("--ft-typography-subtitle1-font-family",Kt),ri=pt.extend("--ft-typography-subtitle1-font-size",Ht.fontSize,"16px"),si=pt.extend("--ft-typography-subtitle1-font-weight",Ht.fontWeight,"600"),ai=pt.extend("--ft-typography-subtitle1-letter-spacing",Ht.letterSpacing,"0.144px"),li=pt.extend("--ft-typography-subtitle1-line-height",Ht.lineHeight,"1.5"),hi=pt.extend("--ft-typography-subtitle1-text-transform",Ht.textTransform,"inherit"),ci=pt.extend("--ft-typography-subtitle2-font-family",Kt),pi=pt.extend("--ft-typography-subtitle2-font-size",Ht.fontSize,"14px"),fi=pt.extend("--ft-typography-subtitle2-font-weight",Ht.fontWeight,"normal"),di=pt.extend("--ft-typography-subtitle2-letter-spacing",Ht.letterSpacing,"0.098px"),ui=pt.extend("--ft-typography-subtitle2-line-height",Ht.lineHeight,"1.7"),yi=pt.extend("--ft-typography-subtitle2-text-transform",Ht.textTransform,"inherit"),gi=pt.extend("--ft-typography-body1-font-family",Kt),vi=pt.extend("--ft-typography-body1-font-size",Ht.fontSize,"16px"),xi=pt.extend("--ft-typography-body1-font-weight",Ht.fontWeight,"normal"),mi=pt.extend("--ft-typography-body1-letter-spacing",Ht.letterSpacing,"0.496px"),bi=pt.extend("--ft-typography-body1-line-height",Ht.lineHeight,"1.5"),wi=pt.extend("--ft-typography-body1-text-transform",Ht.textTransform,"inherit"),$i={fontFamily:pt.extend("--ft-typography-body2-font-family",Kt),fontSize:pt.extend("--ft-typography-body2-font-size",Ht.fontSize,"14px"),fontWeight:pt.extend("--ft-typography-body2-font-weight",Ht.fontWeight,"normal"),letterSpacing:pt.extend("--ft-typography-body2-letter-spacing",Ht.letterSpacing,"0.252px"),lineHeight:pt.extend("--ft-typography-body2-line-height",Ht.lineHeight,"1.4"),textTransform:pt.extend("--ft-typography-body2-text-transform",Ht.textTransform,"inherit")},Oi=pt.extend("--ft-typography-caption-font-family",Kt),Si=pt.extend("--ft-typography-caption-font-size",Ht.fontSize,"12px"),ki=pt.extend("--ft-typography-caption-font-weight",Ht.fontWeight,"normal"),Ni=pt.extend("--ft-typography-caption-letter-spacing",Ht.letterSpacing,"0.396px"),Ci=pt.extend("--ft-typography-caption-line-height",Ht.lineHeight,"1.33"),Ei=pt.extend("--ft-typography-caption-text-transform",Ht.textTransform,"inherit"),Ri=pt.extend("--ft-typography-breadcrumb-font-family",Kt),Mi=pt.extend("--ft-typography-breadcrumb-font-size",Ht.fontSize,"10px"),zi=pt.extend("--ft-typography-breadcrumb-font-weight",Ht.fontWeight,"normal"),Ui=pt.extend("--ft-typography-breadcrumb-letter-spacing",Ht.letterSpacing,"0.33px"),Fi=pt.extend("--ft-typography-breadcrumb-line-height",Ht.lineHeight,"1.6"),ji=pt.extend("--ft-typography-breadcrumb-text-transform",Ht.textTransform,"inherit"),Ai=pt.extend("--ft-typography-overline-font-family",Kt),Bi=pt.extend("--ft-typography-overline-font-size",Ht.fontSize,"10px"),Li=pt.extend("--ft-typography-overline-font-weight",Ht.fontWeight,"normal"),Pi=pt.extend("--ft-typography-overline-letter-spacing",Ht.letterSpacing,"1.5px"),Ti=pt.extend("--ft-typography-overline-line-height",Ht.lineHeight,"1.6"),_i=pt.extend("--ft-typography-overline-text-transform",Ht.textTransform,"uppercase"),Di=pt.extend("--ft-typography-button-font-family",Kt),Ii=pt.extend("--ft-typography-button-font-size",Ht.fontSize,"14px"),Wi=pt.extend("--ft-typography-button-font-weight",Ht.fontWeight,"600"),Ki=pt.extend("--ft-typography-button-letter-spacing",Ht.letterSpacing,"1.246px"),Hi=pt.extend("--ft-typography-button-line-height",Ht.lineHeight,"1.15"),Zi=pt.extend("--ft-typography-button-text-transform",Ht.textTransform,"uppercase"),Vi=u`
219
+ const Lt=Symbol.for(""),Pt=t=>{if((null==t?void 0:t.r)===Lt)return null==t?void 0:t._$litStatic$},_t=t=>({_$litStatic$:t,r:Lt}),Tt=new Map,Dt=(t=>(i,...e)=>{const o=e.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=i[h];h<o&&void 0!==(r=e[h],n=Pt(r));)l+=n+i[++h],c=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(i[o]),c){const t=s.join("$$lit$$");void 0===(i=Tt.get(t))&&(s.raw=s,Tt.set(t,i=s)),e=a}return t(i,...e)})(K);var It;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(It||(It={}));const Wt=pt.extend("--ft-typography-font-family",dt.titleFont),Kt=pt.extend("--ft-typography-font-family",dt.contentFont),Ht={fontFamily:Kt,fontSize:pt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:pt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:pt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:pt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:pt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Zt=pt.extend("--ft-typography-title-font-family",Wt),Vt=pt.extend("--ft-typography-title-font-size",Ht.fontSize,"20px"),Jt=pt.extend("--ft-typography-title-font-weight",Ht.fontWeight,"normal"),qt=pt.extend("--ft-typography-title-letter-spacing",Ht.letterSpacing,"0.15px"),Xt=pt.extend("--ft-typography-title-line-height",Ht.lineHeight,"1.2"),Yt=pt.extend("--ft-typography-title-text-transform",Ht.textTransform,"inherit"),Gt=pt.extend("--ft-typography-title-dense-font-family",Wt),Qt=pt.extend("--ft-typography-title-dense-font-size",Ht.fontSize,"14px"),ti=pt.extend("--ft-typography-title-dense-font-weight",Ht.fontWeight,"normal"),ii=pt.extend("--ft-typography-title-dense-letter-spacing",Ht.letterSpacing,"0.105px"),ei=pt.extend("--ft-typography-title-dense-line-height",Ht.lineHeight,"1.7"),oi=pt.extend("--ft-typography-title-dense-text-transform",Ht.textTransform,"inherit"),ni=pt.extend("--ft-typography-subtitle1-font-family",Kt),ri=pt.extend("--ft-typography-subtitle1-font-size",Ht.fontSize,"16px"),si=pt.extend("--ft-typography-subtitle1-font-weight",Ht.fontWeight,"600"),ai=pt.extend("--ft-typography-subtitle1-letter-spacing",Ht.letterSpacing,"0.144px"),li=pt.extend("--ft-typography-subtitle1-line-height",Ht.lineHeight,"1.5"),hi=pt.extend("--ft-typography-subtitle1-text-transform",Ht.textTransform,"inherit"),ci=pt.extend("--ft-typography-subtitle2-font-family",Kt),pi=pt.extend("--ft-typography-subtitle2-font-size",Ht.fontSize,"14px"),fi=pt.extend("--ft-typography-subtitle2-font-weight",Ht.fontWeight,"normal"),di=pt.extend("--ft-typography-subtitle2-letter-spacing",Ht.letterSpacing,"0.098px"),ui=pt.extend("--ft-typography-subtitle2-line-height",Ht.lineHeight,"1.7"),yi=pt.extend("--ft-typography-subtitle2-text-transform",Ht.textTransform,"inherit"),gi=pt.extend("--ft-typography-body1-font-family",Kt),vi=pt.extend("--ft-typography-body1-font-size",Ht.fontSize,"16px"),xi=pt.extend("--ft-typography-body1-font-weight",Ht.fontWeight,"normal"),mi=pt.extend("--ft-typography-body1-letter-spacing",Ht.letterSpacing,"0.496px"),bi=pt.extend("--ft-typography-body1-line-height",Ht.lineHeight,"1.5"),wi=pt.extend("--ft-typography-body1-text-transform",Ht.textTransform,"inherit"),$i={fontFamily:pt.extend("--ft-typography-body2-font-family",Kt),fontSize:pt.extend("--ft-typography-body2-font-size",Ht.fontSize,"14px"),fontWeight:pt.extend("--ft-typography-body2-font-weight",Ht.fontWeight,"normal"),letterSpacing:pt.extend("--ft-typography-body2-letter-spacing",Ht.letterSpacing,"0.252px"),lineHeight:pt.extend("--ft-typography-body2-line-height",Ht.lineHeight,"1.4"),textTransform:pt.extend("--ft-typography-body2-text-transform",Ht.textTransform,"inherit")},Oi=pt.extend("--ft-typography-caption-font-family",Kt),Si=pt.extend("--ft-typography-caption-font-size",Ht.fontSize,"12px"),ki=pt.extend("--ft-typography-caption-font-weight",Ht.fontWeight,"normal"),Ni=pt.extend("--ft-typography-caption-letter-spacing",Ht.letterSpacing,"0.396px"),Ci=pt.extend("--ft-typography-caption-line-height",Ht.lineHeight,"1.33"),Ei=pt.extend("--ft-typography-caption-text-transform",Ht.textTransform,"inherit"),Ri=pt.extend("--ft-typography-breadcrumb-font-family",Kt),Mi=pt.extend("--ft-typography-breadcrumb-font-size",Ht.fontSize,"10px"),zi=pt.extend("--ft-typography-breadcrumb-font-weight",Ht.fontWeight,"normal"),Ui=pt.extend("--ft-typography-breadcrumb-letter-spacing",Ht.letterSpacing,"0.33px"),Fi=pt.extend("--ft-typography-breadcrumb-line-height",Ht.lineHeight,"1.6"),ji=pt.extend("--ft-typography-breadcrumb-text-transform",Ht.textTransform,"inherit"),Ai=pt.extend("--ft-typography-overline-font-family",Kt),Bi=pt.extend("--ft-typography-overline-font-size",Ht.fontSize,"10px"),Li=pt.extend("--ft-typography-overline-font-weight",Ht.fontWeight,"normal"),Pi=pt.extend("--ft-typography-overline-letter-spacing",Ht.letterSpacing,"1.5px"),_i=pt.extend("--ft-typography-overline-line-height",Ht.lineHeight,"1.6"),Ti=pt.extend("--ft-typography-overline-text-transform",Ht.textTransform,"uppercase"),Di=pt.extend("--ft-typography-button-font-family",Kt),Ii=pt.extend("--ft-typography-button-font-size",Ht.fontSize,"14px"),Wi=pt.extend("--ft-typography-button-font-weight",Ht.fontWeight,"600"),Ki=pt.extend("--ft-typography-button-letter-spacing",Ht.letterSpacing,"1.246px"),Hi=pt.extend("--ft-typography-button-line-height",Ht.lineHeight,"1.15"),Zi=pt.extend("--ft-typography-button-text-transform",Ht.textTransform,"uppercase"),Vi=u`
220
220
  .ft-typography--title {
221
221
  font-family: ${Zt};
222
222
  font-size: ${Vt};
@@ -295,8 +295,8 @@ const Lt=Symbol.for(""),Pt=t=>{if((null==t?void 0:t.r)===Lt)return null==t?void
295
295
  font-size: ${Bi};
296
296
  font-weight: ${Li};
297
297
  letter-spacing: ${Pi};
298
- line-height: ${Ti};
299
- text-transform: ${_i};
298
+ line-height: ${_i};
299
+ text-transform: ${Ti};
300
300
  }
301
301
  `,ee=u`
302
302
  .ft-typography--button {
@@ -312,10 +312,10 @@ const Lt=Symbol.for(""),Pt=t=>{if((null==t?void 0:t.r)===Lt)return null==t?void
312
312
  vertical-align: inherit;
313
313
  }
314
314
  `;var ne=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class re extends yt{constructor(){super(...arguments),this.variant=It.body1}render(){return this.element?Dt`
315
- <${Tt(this.element)}
315
+ <${_t(this.element)}
316
316
  class="ft-typography ft-typography--${this.variant}">
317
317
  <slot></slot>
318
- </${Tt(this.element)}>
318
+ </${_t(this.element)}>
319
319
  `:Dt`
320
320
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
321
321
  `}}re.styles=[Vi,Ji,qi,Xi,Yi,Gi,Qi,te,ie,ee,oe],ne([o()],re.prototype,"element",void 0),ne([o()],re.prototype,"variant",void 0),a("ft-typography")(re);
@@ -324,7 +324,7 @@ const Lt=Symbol.for(""),Pt=t=>{if((null==t?void 0:t.r)===Lt)return null==t?void
324
324
  * Copyright 2017 Google LLC
325
325
  * SPDX-License-Identifier: BSD-3-Clause
326
326
  */
327
- class se extends St{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this._t=void 0,this.it=t;if(t===H)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 i=[t];return i.raw=i,this._t={_$litType$:this.constructor.resultType,strings:i,values:[]}}}se.directiveName="unsafeHTML",se.resultType=1;const ae=Ot(se);var le,he;!function(t){t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(le||(le={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(he||(he={})),new Map([...["abw"].map((t=>[t,he.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,he.AUDIO])),...["avi"].map((t=>[t,he.AVI])),...["chm","xhs"].map((t=>[t,he.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,he.CODE])),...["csv"].map((t=>[t,he.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,he.DITA])),...["epub"].map((t=>[t,he.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,he.EXCEL])),...["flac"].map((t=>[t,he.FLAC])),...["gif"].map((t=>[t,he.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,he.GZIP])),...["html","htm","xhtml"].map((t=>[t,he.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,he.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,he.JPEG])),...["json"].map((t=>[t,he.JSON])),...["m4a","m4p"].map((t=>[t,he.M4A])),...["mov","qt"].map((t=>[t,he.MOV])),...["mp3"].map((t=>[t,he.MP3])),...["mp4","m4v"].map((t=>[t,he.MP4])),...["ogg","oga"].map((t=>[t,he.OGG])),...["pdf","ps"].map((t=>[t,he.PDF])),...["png"].map((t=>[t,he.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,he.POWERPOINT])),...["rar"].map((t=>[t,he.RAR])),...["stp"].map((t=>[t,he.STP])),...["txt","rtf","md","mdown"].map((t=>[t,he.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,he.VIDEO])),...["wav"].map((t=>[t,he.WAV])),...["wma"].map((t=>[t,he.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,he.WORD])),...["xml","xsl","rdf"].map((t=>[t,he.XML])),...["yaml","yml","x-yaml"].map((t=>[t,he.YAML])),...["zip"].map((t=>[t,he.ZIP]))]);const ce={size:pt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:pt.extend("--ft-icon-fluid-topics-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:pt.extend("--ft-icon-file-format-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:pt.extend("--ft-icon-material-font-family",pt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:pt.create("--ft-icon-vertical-align","UNKNOWN","unset")},pe=u`
327
+ class se extends St{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this._t=void 0,this.it=t;if(t===H)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 i=[t];return i.raw=i,this._t={_$litType$:this.constructor.resultType,strings:i,values:[]}}}se.directiveName="unsafeHTML",se.resultType=1;const ae=Ot(se);var le,he;!function(t){t.DESKTOP="&#xe95e",t.MOBILE_LANDSCAPE="&#xe95f",t.MOBILE_PORTRAIT="&#xe960",t.TABLET_LANDSCAPE="&#xe961",t.TABLET_PORTRAIT="&#xe962",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(le||(le={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(he||(he={})),new Map([...["abw"].map((t=>[t,he.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,he.AUDIO])),...["avi"].map((t=>[t,he.AVI])),...["chm","xhs"].map((t=>[t,he.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,he.CODE])),...["csv"].map((t=>[t,he.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,he.DITA])),...["epub"].map((t=>[t,he.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,he.EXCEL])),...["flac"].map((t=>[t,he.FLAC])),...["gif"].map((t=>[t,he.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,he.GZIP])),...["html","htm","xhtml"].map((t=>[t,he.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,he.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,he.JPEG])),...["json"].map((t=>[t,he.JSON])),...["m4a","m4p"].map((t=>[t,he.M4A])),...["mov","qt"].map((t=>[t,he.MOV])),...["mp3"].map((t=>[t,he.MP3])),...["mp4","m4v"].map((t=>[t,he.MP4])),...["ogg","oga"].map((t=>[t,he.OGG])),...["pdf","ps"].map((t=>[t,he.PDF])),...["png"].map((t=>[t,he.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,he.POWERPOINT])),...["rar"].map((t=>[t,he.RAR])),...["stp"].map((t=>[t,he.STP])),...["txt","rtf","md","mdown"].map((t=>[t,he.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,he.VIDEO])),...["wav"].map((t=>[t,he.WAV])),...["wma"].map((t=>[t,he.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,he.WORD])),...["xml","xsl","rdf"].map((t=>[t,he.XML])),...["yaml","yml","x-yaml"].map((t=>[t,he.YAML])),...["zip"].map((t=>[t,he.ZIP]))]);const ce={size:pt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:pt.extend("--ft-icon-fluid-topics-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:pt.extend("--ft-icon-file-format-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:pt.extend("--ft-icon-material-font-family",pt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:pt.create("--ft-icon-vertical-align","UNKNOWN","unset")},pe=u`
328
328
  :host {
329
329
  display: inline-block;
330
330
  }
@@ -366,7 +366,7 @@ class se extends St{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
366
366
  ${ae(this.resolvedIcon)}
367
367
  <slot ?hidden=${t}></slot>
368
368
  </i>
369
- `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let e=this.value||this.textContent;switch(this.variant){case fe.file_format:this.resolvedIcon=null!==(t=he[e.toUpperCase()])&&void 0!==t?t:e;break;case fe.fluid_topics:this.resolvedIcon=null!==(i=le[e.toUpperCase()])&&void 0!==i?i:e;break;default:this.resolvedIcon=this.value||Z}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}ue.elementDefinitions={},ue.styles=pe,de([o()],ue.prototype,"variant",void 0),de([o()],ue.prototype,"value",void 0),de([n()],ue.prototype,"resolvedIcon",void 0),de([r("slot")],ue.prototype,"slottedContent",void 0),a("ft-icon")(ue);const ye=pt.extend("--ft-chip-color",dt.colorOnSurface),ge={backgroundColor:pt.extend("--ft-chip-background-color",dt.colorSurface),color:ye,fontSize:pt.extend("--ft-chip-font-size",$i.fontSize),iconSize:pt.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:pt.extend("--ft-chip-ripple-color",ye),horizontalPadding:pt.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:pt.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:pt.external(dt.colorOutline,"Design system"),opacityDisabled:pt.external(dt.colorOpacityDisabled,"Design system")},ve=pt.extend("--ft-chip-highlighted-color",pt.extend("--ft-chip-color",dt.colorOnPrimary)),xe={backgroundColor:pt.extend("--ft-chip-highlighted-background-color",pt.extend("--ft-chip-background-color",dt.colorPrimary)),color:ve,rippleColor:pt.extend("--ft-chip-highlighted-ripple-color",ve)},me={horizontalPadding:pt.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),verticalPadding:pt.create("--ft-chip-dense-vertical-padding","SIZE","4px")},be=[gt,u`
369
+ `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let e=this.value||this.textContent;switch(this.variant){case fe.file_format:this.resolvedIcon=null!==(t=he[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case fe.fluid_topics:this.resolvedIcon=null!==(i=le[e.replace("-","_").toUpperCase()])&&void 0!==i?i:e;break;default:this.resolvedIcon=this.value||Z}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ue.elementDefinitions={},ue.styles=pe,de([o()],ue.prototype,"variant",void 0),de([o()],ue.prototype,"value",void 0),de([n()],ue.prototype,"resolvedIcon",void 0),de([r("slot")],ue.prototype,"slottedContent",void 0),a("ft-icon")(ue);const ye=pt.extend("--ft-chip-color",dt.colorOnSurface),ge={backgroundColor:pt.extend("--ft-chip-background-color",dt.colorSurface),color:ye,fontSize:pt.extend("--ft-chip-font-size",$i.fontSize),iconSize:pt.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:pt.extend("--ft-chip-ripple-color",ye),horizontalPadding:pt.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:pt.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:pt.external(dt.colorOutline,"Design system"),opacityDisabled:pt.external(dt.colorOpacityDisabled,"Design system")},ve=pt.extend("--ft-chip-highlighted-color",pt.extend("--ft-chip-color",dt.colorOnPrimary)),xe={backgroundColor:pt.extend("--ft-chip-highlighted-background-color",pt.extend("--ft-chip-background-color",dt.colorPrimary)),color:ve,rippleColor:pt.extend("--ft-chip-highlighted-ripple-color",ve)},me={horizontalPadding:pt.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),verticalPadding:pt.create("--ft-chip-dense-vertical-padding","SIZE","4px")},be=[gt,u`
370
370
  :host {
371
371
  display: inline-block;
372
372
  max-width: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-chip",
3
- "version": "0.3.34",
3
+ "version": "0.3.35",
4
4
  "description": "A generic Fluid Topics chip",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,11 +19,11 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-icon": "0.3.34",
23
- "@fluid-topics/ft-ripple": "0.3.34",
24
- "@fluid-topics/ft-typography": "0.3.34",
25
- "@fluid-topics/ft-wc-utils": "0.3.34",
22
+ "@fluid-topics/ft-icon": "0.3.35",
23
+ "@fluid-topics/ft-ripple": "0.3.35",
24
+ "@fluid-topics/ft-typography": "0.3.35",
25
+ "@fluid-topics/ft-wc-utils": "0.3.35",
26
26
  "lit": "2.2.8"
27
27
  },
28
- "gitHead": "43a9a2faf4372c58839a4050c796ee133216a630"
28
+ "gitHead": "f780f3462eced4952dc5bbf1085af29172b23265"
29
29
  }