@fluid-topics/ft-filterable-table 1.1.11 → 1.1.13

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.
@@ -375,7 +375,7 @@ const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litSta
375
375
  <div class="ft-ripple--background"></div>
376
376
  <div class="ft-ripple--effect"></div>
377
377
  </div>
378
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Se.elementDefinitions={},Se.styles=Oe,we([i.property({type:Boolean})],Se.prototype,"primary",void 0),we([i.property({type:Boolean})],Se.prototype,"secondary",void 0),we([i.property({type:Boolean})],Se.prototype,"unbounded",void 0),we([i.property({type:Boolean})],Se.prototype,"activated",void 0),we([i.property({type:Boolean})],Se.prototype,"selected",void 0),we([i.property({type:Boolean})],Se.prototype,"disabled",void 0),we([i.state()],Se.prototype,"hovered",void 0),we([i.state()],Se.prototype,"focused",void 0),we([i.state()],Se.prototype,"pressed",void 0),we([i.state()],Se.prototype,"rippling",void 0),we([i.state()],Se.prototype,"originX",void 0),we([i.state()],Se.prototype,"originY",void 0),we([i.query(".ft-ripple")],Se.prototype,"ripple",void 0),we([i.query(".ft-ripple--effect")],Se.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(Se),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",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.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.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",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="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}($e||($e={})),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;"}(Ne||(Ne={})),new Map([...["abw"].map((t=>[t,Ne.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,Ne.AUDIO])),...["avi"].map((t=>[t,Ne.AVI])),...["chm","xhs"].map((t=>[t,Ne.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,Ne.CODE])),...["csv"].map((t=>[t,Ne.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ne.DITA])),...["epub"].map((t=>[t,Ne.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ne.EXCEL])),...["flac"].map((t=>[t,Ne.FLAC])),...["gif"].map((t=>[t,Ne.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ne.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ne.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,Ne.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ne.JPEG])),...["json"].map((t=>[t,Ne.JSON])),...["m4a","m4p"].map((t=>[t,Ne.M4A])),...["mov","qt"].map((t=>[t,Ne.MOV])),...["mp3"].map((t=>[t,Ne.MP3])),...["mp4","m4v"].map((t=>[t,Ne.MP4])),...["ogg","oga"].map((t=>[t,Ne.OGG])),...["pdf","ps"].map((t=>[t,Ne.PDF])),...["png"].map((t=>[t,Ne.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ne.POWERPOINT])),...["rar"].map((t=>[t,Ne.RAR])),...["stp"].map((t=>[t,Ne.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ne.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,Ne.VIDEO])),...["wav"].map((t=>[t,Ne.WAV])),...["wma"].map((t=>[t,Ne.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ne.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ne.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ne.YAML])),...["zip"].map((t=>[t,Ne.ZIP]))]);const Ce={size:e.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:e.FtCssVariableFactory.extend("--ft-icon-material-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:e.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ie=o.css`
378
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Se.elementDefinitions={},Se.styles=Oe,we([i.property({type:Boolean})],Se.prototype,"primary",void 0),we([i.property({type:Boolean})],Se.prototype,"secondary",void 0),we([i.property({type:Boolean})],Se.prototype,"unbounded",void 0),we([i.property({type:Boolean})],Se.prototype,"activated",void 0),we([i.property({type:Boolean})],Se.prototype,"selected",void 0),we([i.property({type:Boolean})],Se.prototype,"disabled",void 0),we([i.state()],Se.prototype,"hovered",void 0),we([i.state()],Se.prototype,"focused",void 0),we([i.state()],Se.prototype,"pressed",void 0),we([i.state()],Se.prototype,"rippling",void 0),we([i.state()],Se.prototype,"originX",void 0),we([i.state()],Se.prototype,"originY",void 0),we([i.query(".ft-ripple")],Se.prototype,"ripple",void 0),we([i.query(".ft-ripple--effect")],Se.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(Se),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",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.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.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",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="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}($e||($e={})),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;"}(Ne||(Ne={})),new Map([...["abw"].map((t=>[t,Ne.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,Ne.AUDIO])),...["avi"].map((t=>[t,Ne.AVI])),...["chm","xhs"].map((t=>[t,Ne.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,Ne.CODE])),...["csv"].map((t=>[t,Ne.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ne.DITA])),...["epub"].map((t=>[t,Ne.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ne.EXCEL])),...["flac"].map((t=>[t,Ne.FLAC])),...["gif"].map((t=>[t,Ne.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ne.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ne.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,Ne.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ne.JPEG])),...["json"].map((t=>[t,Ne.JSON])),...["m4a","m4p"].map((t=>[t,Ne.M4A])),...["mov","qt"].map((t=>[t,Ne.MOV])),...["mp3"].map((t=>[t,Ne.MP3])),...["mp4","m4v"].map((t=>[t,Ne.MP4])),...["ogg","oga"].map((t=>[t,Ne.OGG])),...["pdf","ps"].map((t=>[t,Ne.PDF])),...["png"].map((t=>[t,Ne.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ne.POWERPOINT])),...["rar"].map((t=>[t,Ne.RAR])),...["stp"].map((t=>[t,Ne.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ne.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,Ne.VIDEO])),...["wav"].map((t=>[t,Ne.WAV])),...["wma"].map((t=>[t,Ne.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ne.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ne.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ne.YAML])),...["zip"].map((t=>[t,Ne.ZIP]))]),Ne.ABW,Ne.AUDIO,Ne.AVI,Ne.CHM,Ne.CODE,Ne.CSV,Ne.DITA,Ne.EPUB,Ne.EXCEL,Ne.FLAC,Ne.GIF,Ne.GZIP,Ne.HTML,Ne.IMAGE,Ne.JPEG,Ne.JSON,Ne.M4A,Ne.MOV,Ne.MP3,Ne.MP4,Ne.OGG,Ne.PDF,Ne.PNG,Ne.POWERPOINT,Ne.RAR,Ne.STP,Ne.TEXT,Ne.UNKNOWN,Ne.VIDEO,Ne.WAV,Ne.WMA,Ne.WORD,Ne.XML,Ne.YAML,Ne.ZIP;const Ce={size:e.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:e.FtCssVariableFactory.extend("--ft-icon-material-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:e.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ie=o.css`
379
379
  :host, i.ft-icon {
380
380
  display: inline-flex;
381
381
  align-items: center;
@@ -1118,7 +1118,7 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
1118
1118
  @focusin=${this.onHover}
1119
1119
  @focusout=${this.onOut}
1120
1120
  @touchstart=${this.onTouch}>
1121
- <slot part="slot"></slot>
1121
+ <slot part="slot" @click=${this.onClick}></slot>
1122
1122
  <div part="tooltip" role="tooltip" inert
1123
1123
  class="ft-tooltip ft-tooltip--${this.validPosition}"
1124
1124
  ?hidden=${!this.visible}>
@@ -1128,7 +1128,7 @@ const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","",
1128
1128
  </div>
1129
1129
  </div>
1130
1130
  </div>
1131
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",li(this.slottedElement,this.tooltip,{platform:{...ai,getOffsetParent:t=>ai.getOffsetParent(t,si)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...s}=mo(t,e),c={x:o,y:i},f=await ko(e,s),p=No(xo(r)),d=Oo(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=bo(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=bo(u+f["y"===p?"top":"left"],u,u-f[t])}const g=l.fn({...e,[d]:h,[p]:u});return{...g,data:{x:g.x-o,y:g.y-i}}}}),Ro({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}pi.elementDefinitions={"ft-typography":se},pi.styles=lo,fi([i.property()],pi.prototype,"text",void 0),fi([i.property({type:Boolean})],pi.prototype,"manual",void 0),fi([i.property({type:Boolean})],pi.prototype,"inline",void 0),fi([i.property({type:Number})],pi.prototype,"delay",void 0),fi([i.property()],pi.prototype,"position",void 0),fi([i.queryAssignedNodes()],pi.prototype,"slotNodes",void 0),fi([i.query(".ft-tooltip--container")],pi.prototype,"container",void 0),fi([i.query(".ft-tooltip")],pi.prototype,"tooltip",void 0),fi([i.query(".ft-tooltip--content")],pi.prototype,"tooltipContent",void 0),fi([i.state()],pi.prototype,"visible",void 0),fi([i.eventOptions({passive:!0})],pi.prototype,"onTouch",null),fi([i.eventOptions({passive:!0})],pi.prototype,"onHover",null),fi([i.eventOptions({passive:!0})],pi.prototype,"onOut",null),e.customElement("ft-tooltip")(pi);class di extends e.FtLitElement{render(){return o.html`
1131
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",li(this.slottedElement,this.tooltip,{platform:{...ai,getOffsetParent:t=>ai.getOffsetParent(t,si)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...s}=mo(t,e),c={x:o,y:i},f=await ko(e,s),p=No(xo(r)),d=Oo(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=bo(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=bo(u+f["y"===p?"top":"left"],u,u-f[t])}const g=l.fn({...e,[d]:h,[p]:u});return{...g,data:{x:g.x-o,y:g.y-i}}}}),Ro({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}pi.elementDefinitions={"ft-typography":se},pi.styles=lo,fi([i.property()],pi.prototype,"text",void 0),fi([i.property({type:Boolean})],pi.prototype,"manual",void 0),fi([i.property({type:Boolean})],pi.prototype,"inline",void 0),fi([i.property({type:Number})],pi.prototype,"delay",void 0),fi([i.property()],pi.prototype,"position",void 0),fi([i.queryAssignedNodes()],pi.prototype,"slotNodes",void 0),fi([i.query(".ft-tooltip--container")],pi.prototype,"container",void 0),fi([i.query(".ft-tooltip")],pi.prototype,"tooltip",void 0),fi([i.query(".ft-tooltip--content")],pi.prototype,"tooltipContent",void 0),fi([i.state()],pi.prototype,"visible",void 0),fi([i.eventOptions({passive:!0})],pi.prototype,"onTouch",null),fi([i.eventOptions({passive:!0})],pi.prototype,"onHover",null),fi([i.eventOptions({passive:!0})],pi.prototype,"onOut",null),fi([i.eventOptions({passive:!0})],pi.prototype,"onClick",null),e.customElement("ft-tooltip")(pi);class di extends e.FtLitElement{render(){return o.html`
1132
1132
  <div class="ft-loader">
1133
1133
  <div></div>
1134
1134
  <div></div>
@@ -12,43 +12,43 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=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,r){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(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);d(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let f=o.call(i,t);f||(f=p(t),e.call(i,t,f)),this===window.customElements&&(a.set(r,c),c.standInClass=f);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.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 o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=f(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},h=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):h(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){h(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(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,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i 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,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(xo){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=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,r){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(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);d(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let f=o.call(i,t);f||(f=p(t),e.call(i,t,f)),this===window.customElements&&(a.set(r,c),c.standInClass=f);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.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 o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=f(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},h=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):h(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){h(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(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,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i 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,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(xo){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
19
19
  * SPDX-License-Identifier: BSD-3-Clause
20
- */const e=globalThis,o=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),r=new WeakMap;const n=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==i)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 o=void 0!==e&&1===e.length;o&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&r.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,i),a=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return n(e)})(t):t
20
+ */const o=globalThis,i=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const a=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==r)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(i&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&n.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),s=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return a(e)})(t):t
21
21
  /**
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:s,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:d}=Object,h=globalThis,u=h.trustedTypes,y=u?u.emptyScript:"",g=h.reactiveElementPolyfillSupport,b=(t,e)=>t,m={toAttribute(t,e){switch(e){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},x=(t,e)=>!s(t,e),v={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x};Symbol.metadata??=Symbol("metadata"),h.litPropertyMetadata??=new WeakMap;let O=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=v){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&l(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??v}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,e=[...f(t),...p(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(a(t))}else void 0!==t&&e.push(a(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,i)=>{if(o)t.adoptedStyleSheets=i.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of i){const i=document.createElement("style"),r=e.litNonce;void 0!==r&&i.setAttribute("nonce",r),i.textContent=o.cssText,t.appendChild(i)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:m).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??x)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};O.elementStyles=[],O.shadowRootOptions={mode:"open"},O[b("elementProperties")]=new Map,O[b("finalized")]=new Map,g?.({ReactiveElement:O}),(h.reactiveElementVersions??=[]).push("2.0.2");
25
+ */,{is:l,defineProperty:c,getOwnPropertyDescriptor:f,getOwnPropertyNames:p,getOwnPropertySymbols:d,getPrototypeOf:h}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,e)=>t,x={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},v=(t,e)=>!l(t,e),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let w=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=O){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=f(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,e=[...p(t),...d(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(s(t))}else void 0!==t&&e.push(s(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(i)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),r=o.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=i.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:x).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??v)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};w.elementStyles=[],w.shadowRootOptions={mode:"open"},w[m("elementProperties")]=new Map,w[m("finalized")]=new Map,b?.({ReactiveElement:w}),(u.reactiveElementVersions??=[]).push("2.0.2");
26
26
  /**
27
27
  * @license
28
28
  * Copyright 2017 Google LLC
29
29
  * SPDX-License-Identifier: BSD-3-Clause
30
30
  */
31
- const w={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x},S=(t=w,e,o)=>{const{kind:i,metadata:r}=o;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(o.name,t),"accessor"===i){const{name:i}=o;return{set(o){const r=e.get.call(this);e.set.call(this,o),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t),e}}}if("setter"===i){const{name:i}=o;return function(o){const r=this[i];e.call(this,o),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function $(t){return(e,o)=>"object"==typeof o?S(t,e,o):((t,e,o)=>{const i=e.hasOwnProperty(o);return e.constructor.createProperty(o,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
31
+ const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},$=(t=S,e,o)=>{const{kind:i,metadata:r}=o;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(o.name,t),"accessor"===i){const{name:i}=o;return{set(o){const r=e.get.call(this);e.set.call(this,o),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t),e}}}if("setter"===i){const{name:i}=o;return function(o){const r=this[i];e.call(this,o),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function N(t){return(e,o)=>"object"==typeof o?$(t,e,o):((t,e,o)=>{const i=e.hasOwnProperty(o);return e.constructor.createProperty(o,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
32
32
  /**
33
33
  * @license
34
34
  * Copyright 2017 Google LLC
35
35
  * SPDX-License-Identifier: BSD-3-Clause
36
- */}function N(t){return $({...t,state:!0,attribute:!1})}
36
+ */}function C(t){return N({...t,state:!0,attribute:!1})}
37
37
  /**
38
38
  * @license
39
39
  * Copyright 2017 Google LLC
40
40
  * SPDX-License-Identifier: BSD-3-Clause
41
- */function C(t){return(e,o)=>{const i="function"==typeof e?e:e[o];Object.assign(i,t)}}
41
+ */function E(t){return(e,o)=>{const i="function"==typeof e?e:e[o];Object.assign(i,t)}}
42
42
  /**
43
43
  * @license
44
44
  * Copyright 2017 Google LLC
45
45
  * SPDX-License-Identifier: BSD-3-Clause
46
- */const E=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
46
+ */const k=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
47
47
  /**
48
48
  * @license
49
49
  * Copyright 2017 Google LLC
50
50
  * SPDX-License-Identifier: BSD-3-Clause
51
- */;function k(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return E(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return E(0,0,{get(){return n(this)}})}}
51
+ */;function R(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return k(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return k(0,0,{get(){return n(this)}})}}
52
52
  /**
53
53
  * @license
54
54
  * Copyright 2021 Google LLC
@@ -59,7 +59,7 @@ const w={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x},S=(t=w,e,
59
59
  * Copyright 2017 Google LLC
60
60
  * SPDX-License-Identifier: BSD-3-Clause
61
61
  */
62
- function R(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}class U{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}function I(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!I(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!I(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!I(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const L=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
62
+ function U(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return k(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}function I(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!I(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!I(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!I(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const L=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
63
63
  /**
64
64
  * @license
65
65
  * Copyright 2017 Google LLC
@@ -93,7 +93,7 @@ let Oe=class extends Bt{constructor(){super(...arguments),this.renderOptions={ho
93
93
  * @license
94
94
  * Copyright 2019 Google LLC
95
95
  * SPDX-License-Identifier: BSD-3-Clause
96
- */class We extends Oe{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Le?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Ie.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var ze,Fe=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ze=Symbol("constructorPrototype"),Ke=Symbol("constructorName"),De=Symbol("exportpartsDebouncer");class Be extends We{constructor(){super(),this[ze]=new U(5),this[Ke]=this.constructor.name,this[Ze]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ke]&&Object.setPrototypeOf(this,this[Ze])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[De].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}ze=De,Fe([$()],Be.prototype,"exportpartsPrefix",void 0),Fe([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return $({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!I(t,e),...null!=e?e:{}})}([])],Be.prototype,"exportpartsPrefixes",void 0),Fe([$()],Be.prototype,"customStylesheet",void 0);const Ae=$e.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");St`
96
+ */class We extends Oe{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Le?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Ie.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var ze,Fe=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ze=Symbol("constructorPrototype"),Ke=Symbol("constructorName"),De=Symbol("exportpartsDebouncer");class Be extends We{constructor(){super(),this[ze]=new e(5),this[Ke]=this.constructor.name,this[Ze]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ke]&&Object.setPrototypeOf(this,this[Ze])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[De].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}ze=De,Fe([N()],Be.prototype,"exportpartsPrefix",void 0),Fe([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return N({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!I(t,e),...null!=e?e:{}})}([])],Be.prototype,"exportpartsPrefixes",void 0),Fe([N()],Be.prototype,"customStylesheet",void 0);const Ae=$e.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");St`
97
97
  .highlight-html-match {
98
98
  background: ${Ae};
99
99
  }
@@ -266,7 +266,7 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
266
266
  </${Oo(this.element)}>
267
267
  `:So`
268
268
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
269
- `}}Li.styles=[xi,vi,Oi,wi,Si,$i,Ni,Ci,Ei,ki,Ri,...Ui],Ii([$()],Li.prototype,"element",void 0),Ii([$()],Li.prototype,"variant",void 0),L("ft-typography")(Li);const Wi={fontSize:$e.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:$e.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:$e.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:$e.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:$e.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:$e.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:$e.extend("--ft-input-label-border-color","",Ue.colorOutline),textColor:$e.extend("--ft-input-label-text-color","",Ue.colorOnSurfaceMedium),disabledTextColor:$e.extend("--ft-input-label-disabled-text-color","",Ue.colorOnSurfaceDisabled),colorSurface:$e.external(Ue.colorSurface,"Design system"),borderRadiusS:$e.external(Ue.borderRadiusS,"Design system"),colorError:$e.external(Ue.colorError,"Design system")},zi=St`
269
+ `}}Li.styles=[xi,vi,Oi,wi,Si,$i,Ni,Ci,Ei,ki,Ri,...Ui],Ii([N()],Li.prototype,"element",void 0),Ii([N()],Li.prototype,"variant",void 0),L("ft-typography")(Li);const Wi={fontSize:$e.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:$e.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:$e.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:$e.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:$e.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:$e.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:$e.extend("--ft-input-label-border-color","",Ue.colorOutline),textColor:$e.extend("--ft-input-label-text-color","",Ue.colorOnSurfaceMedium),disabledTextColor:$e.extend("--ft-input-label-disabled-text-color","",Ue.colorOnSurfaceDisabled),colorSurface:$e.external(Ue.colorSurface,"Design system"),borderRadiusS:$e.external(Ue.borderRadiusS,"Design system"),colorError:$e.external(Ue.colorError,"Design system")},zi=St`
270
270
  .ft-input-label {
271
271
  position: absolute;
272
272
  inset: 0;
@@ -397,7 +397,7 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
397
397
  </div>
398
398
  `:null}
399
399
  </div>
400
- `}}Zi.elementDefinitions={},Zi.styles=[Ni,zi],Fi([$({type:String})],Zi.prototype,"text",void 0),Fi([$({type:Boolean})],Zi.prototype,"raised",void 0),Fi([$({type:Boolean})],Zi.prototype,"outlined",void 0),Fi([$({type:Boolean})],Zi.prototype,"disabled",void 0),Fi([$({type:Boolean})],Zi.prototype,"error",void 0),L("ft-input-label")(Zi);const Ki=$e.extend("--ft-ripple-color","",Ue.colorContent),Di={color:Ki,backgroundColor:$e.extend("--ft-ripple-background-color","",Ki),opacityContentOnSurfacePressed:$e.external(Ue.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:$e.external(Ue.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:$e.external(Ue.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:$e.external(Ue.opacityContentOnSurfaceSelected,"Design system"),borderRadius:$e.create("--ft-ripple-border-radius","","SIZE","0px")},Bi=$e.extend("--ft-ripple-color","",Ue.colorPrimary),Ai=Bi,Mi=$e.extend("--ft-ripple-background-color","",Bi),Pi=$e.extend("--ft-ripple-color","",Ue.colorSecondary),Hi=Pi,ji=$e.extend("--ft-ripple-background-color","",Pi),Ti=St`
400
+ `}}Zi.elementDefinitions={},Zi.styles=[Ni,zi],Fi([N({type:String})],Zi.prototype,"text",void 0),Fi([N({type:Boolean})],Zi.prototype,"raised",void 0),Fi([N({type:Boolean})],Zi.prototype,"outlined",void 0),Fi([N({type:Boolean})],Zi.prototype,"disabled",void 0),Fi([N({type:Boolean})],Zi.prototype,"error",void 0),L("ft-input-label")(Zi);const Ki=$e.extend("--ft-ripple-color","",Ue.colorContent),Di={color:Ki,backgroundColor:$e.extend("--ft-ripple-background-color","",Ki),opacityContentOnSurfacePressed:$e.external(Ue.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:$e.external(Ue.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:$e.external(Ue.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:$e.external(Ue.opacityContentOnSurfaceSelected,"Design system"),borderRadius:$e.create("--ft-ripple-border-radius","","SIZE","0px")},Bi=$e.extend("--ft-ripple-color","",Ue.colorPrimary),Ai=Bi,Mi=$e.extend("--ft-ripple-background-color","",Bi),Pi=$e.extend("--ft-ripple-color","",Ue.colorSecondary),Hi=Pi,ji=$e.extend("--ft-ripple-background-color","",Pi),Ti=St`
401
401
  :host {
402
402
  display: contents;
403
403
  }
@@ -509,7 +509,7 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
509
509
  opacity: ${Di.opacityContentOnSurfacePressed};
510
510
  transform: translate(-50%, -50%) scale(1);
511
511
  }
512
- `;var _i,Gi,Vi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Yi extends Be{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new U(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new U(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ne`
512
+ `;var _i,Gi,Vi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Yi extends Be{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ne`
513
513
  <style>
514
514
  .ft-ripple .ft-ripple--effect {
515
515
  left: ${this.originX}px;
@@ -520,7 +520,7 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
520
520
  <div class="ft-ripple--background"></div>
521
521
  <div class="ft-ripple--effect"></div>
522
522
  </div>
523
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Yi.elementDefinitions={},Yi.styles=Ti,Vi([$({type:Boolean})],Yi.prototype,"primary",void 0),Vi([$({type:Boolean})],Yi.prototype,"secondary",void 0),Vi([$({type:Boolean})],Yi.prototype,"unbounded",void 0),Vi([$({type:Boolean})],Yi.prototype,"activated",void 0),Vi([$({type:Boolean})],Yi.prototype,"selected",void 0),Vi([$({type:Boolean})],Yi.prototype,"disabled",void 0),Vi([N()],Yi.prototype,"hovered",void 0),Vi([N()],Yi.prototype,"focused",void 0),Vi([N()],Yi.prototype,"pressed",void 0),Vi([N()],Yi.prototype,"rippling",void 0),Vi([N()],Yi.prototype,"originX",void 0),Vi([N()],Yi.prototype,"originY",void 0),Vi([k(".ft-ripple")],Yi.prototype,"ripple",void 0),Vi([k(".ft-ripple--effect")],Yi.prototype,"rippleEffect",void 0),L("ft-ripple")(Yi),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",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.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.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",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="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(_i||(_i={})),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;"}(Gi||(Gi={})),new Map([...["abw"].map((t=>[t,Gi.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,Gi.AUDIO])),...["avi"].map((t=>[t,Gi.AVI])),...["chm","xhs"].map((t=>[t,Gi.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,Gi.CODE])),...["csv"].map((t=>[t,Gi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Gi.DITA])),...["epub"].map((t=>[t,Gi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Gi.EXCEL])),...["flac"].map((t=>[t,Gi.FLAC])),...["gif"].map((t=>[t,Gi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Gi.GZIP])),...["html","htm","xhtml"].map((t=>[t,Gi.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,Gi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Gi.JPEG])),...["json"].map((t=>[t,Gi.JSON])),...["m4a","m4p"].map((t=>[t,Gi.M4A])),...["mov","qt"].map((t=>[t,Gi.MOV])),...["mp3"].map((t=>[t,Gi.MP3])),...["mp4","m4v"].map((t=>[t,Gi.MP4])),...["ogg","oga"].map((t=>[t,Gi.OGG])),...["pdf","ps"].map((t=>[t,Gi.PDF])),...["png"].map((t=>[t,Gi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Gi.POWERPOINT])),...["rar"].map((t=>[t,Gi.RAR])),...["stp"].map((t=>[t,Gi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Gi.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,Gi.VIDEO])),...["wav"].map((t=>[t,Gi.WAV])),...["wma"].map((t=>[t,Gi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Gi.WORD])),...["xml","xsl","rdf"].map((t=>[t,Gi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Gi.YAML])),...["zip"].map((t=>[t,Gi.ZIP]))]);const Ji={size:$e.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:$e.extend("--ft-icon-fluid-topics-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:$e.extend("--ft-icon-file-format-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:$e.extend("--ft-icon-material-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:$e.create("--ft-icon-vertical-align","","UNKNOWN","unset")},qi=St`
523
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Yi.elementDefinitions={},Yi.styles=Ti,Vi([N({type:Boolean})],Yi.prototype,"primary",void 0),Vi([N({type:Boolean})],Yi.prototype,"secondary",void 0),Vi([N({type:Boolean})],Yi.prototype,"unbounded",void 0),Vi([N({type:Boolean})],Yi.prototype,"activated",void 0),Vi([N({type:Boolean})],Yi.prototype,"selected",void 0),Vi([N({type:Boolean})],Yi.prototype,"disabled",void 0),Vi([C()],Yi.prototype,"hovered",void 0),Vi([C()],Yi.prototype,"focused",void 0),Vi([C()],Yi.prototype,"pressed",void 0),Vi([C()],Yi.prototype,"rippling",void 0),Vi([C()],Yi.prototype,"originX",void 0),Vi([C()],Yi.prototype,"originY",void 0),Vi([R(".ft-ripple")],Yi.prototype,"ripple",void 0),Vi([R(".ft-ripple--effect")],Yi.prototype,"rippleEffect",void 0),L("ft-ripple")(Yi),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",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.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.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",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="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(_i||(_i={})),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;"}(Gi||(Gi={})),new Map([...["abw"].map((t=>[t,Gi.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,Gi.AUDIO])),...["avi"].map((t=>[t,Gi.AVI])),...["chm","xhs"].map((t=>[t,Gi.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,Gi.CODE])),...["csv"].map((t=>[t,Gi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Gi.DITA])),...["epub"].map((t=>[t,Gi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Gi.EXCEL])),...["flac"].map((t=>[t,Gi.FLAC])),...["gif"].map((t=>[t,Gi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Gi.GZIP])),...["html","htm","xhtml"].map((t=>[t,Gi.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,Gi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Gi.JPEG])),...["json"].map((t=>[t,Gi.JSON])),...["m4a","m4p"].map((t=>[t,Gi.M4A])),...["mov","qt"].map((t=>[t,Gi.MOV])),...["mp3"].map((t=>[t,Gi.MP3])),...["mp4","m4v"].map((t=>[t,Gi.MP4])),...["ogg","oga"].map((t=>[t,Gi.OGG])),...["pdf","ps"].map((t=>[t,Gi.PDF])),...["png"].map((t=>[t,Gi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Gi.POWERPOINT])),...["rar"].map((t=>[t,Gi.RAR])),...["stp"].map((t=>[t,Gi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Gi.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,Gi.VIDEO])),...["wav"].map((t=>[t,Gi.WAV])),...["wma"].map((t=>[t,Gi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Gi.WORD])),...["xml","xsl","rdf"].map((t=>[t,Gi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Gi.YAML])),...["zip"].map((t=>[t,Gi.ZIP]))]),Gi.ABW,Gi.AUDIO,Gi.AVI,Gi.CHM,Gi.CODE,Gi.CSV,Gi.DITA,Gi.EPUB,Gi.EXCEL,Gi.FLAC,Gi.GIF,Gi.GZIP,Gi.HTML,Gi.IMAGE,Gi.JPEG,Gi.JSON,Gi.M4A,Gi.MOV,Gi.MP3,Gi.MP4,Gi.OGG,Gi.PDF,Gi.PNG,Gi.POWERPOINT,Gi.RAR,Gi.STP,Gi.TEXT,Gi.UNKNOWN,Gi.VIDEO,Gi.WAV,Gi.WMA,Gi.WORD,Gi.XML,Gi.YAML,Gi.ZIP;const Ji={size:$e.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:$e.extend("--ft-icon-fluid-topics-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:$e.extend("--ft-icon-file-format-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:$e.extend("--ft-icon-material-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:$e.create("--ft-icon-vertical-align","","UNKNOWN","unset")},qi=St`
524
524
  :host, i.ft-icon {
525
525
  display: inline-flex;
526
526
  align-items: center;
@@ -573,7 +573,7 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
573
573
  ${bo(this.resolvedIcon)}
574
574
  <slot ?hidden=${e}></slot>
575
575
  </i>
576
- `}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:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case Xi.file_format:this.resolvedIcon=null!==(t=Gi[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Xi.material:this.resolvedIcon=this.value||se;break;default:this.resolvedIcon=null!==(e=_i[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}tr.elementDefinitions={},tr.styles=qi,Qi([$()],tr.prototype,"variant",void 0),Qi([$()],tr.prototype,"value",void 0),Qi([N()],tr.prototype,"resolvedIcon",void 0),Qi([k("slot")],tr.prototype,"slottedContent",void 0),L("ft-icon")(tr);const er={labelSize:$e.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:$e.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:$e.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:$e.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:$e.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:$e.extend("--ft-select-selected-option-color","",Ue.colorOnSurface),helperColor:$e.extend("--ft-select-helper-color","",Ue.colorOnSurfaceMedium),optionsColor:$e.extend("--ft-select-options-color","",Ue.colorOnSurface),optionsZIndex:$e.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:$e.external(Ue.colorSurface,"Design system"),colorOnSurfaceDisabled:$e.external(Ue.colorOnSurfaceDisabled,"Design system"),colorPrimary:$e.external(Ue.colorPrimary,"Design system"),borderRadiusS:$e.external(Ue.borderRadiusS,"Design system"),elevation02:$e.external(Ue.elevation02,"Design system"),colorError:$e.external(Ue.colorError,"Design system")},or=St`
576
+ `}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:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case Xi.file_format:this.resolvedIcon=null!==(t=Gi[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Xi.material:this.resolvedIcon=this.value||se;break;default:this.resolvedIcon=null!==(e=_i[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}tr.elementDefinitions={},tr.styles=qi,Qi([N()],tr.prototype,"variant",void 0),Qi([N()],tr.prototype,"value",void 0),Qi([C()],tr.prototype,"resolvedIcon",void 0),Qi([R("slot")],tr.prototype,"slottedContent",void 0),L("ft-icon")(tr);const er={labelSize:$e.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:$e.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:$e.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:$e.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:$e.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:$e.extend("--ft-select-selected-option-color","",Ue.colorOnSurface),helperColor:$e.extend("--ft-select-helper-color","",Ue.colorOnSurfaceMedium),optionsColor:$e.extend("--ft-select-options-color","",Ue.colorOnSurface),optionsZIndex:$e.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:$e.external(Ue.colorSurface,"Design system"),colorOnSurfaceDisabled:$e.external(Ue.colorOnSurfaceDisabled,"Design system"),colorPrimary:$e.external(Ue.colorPrimary,"Design system"),borderRadiusS:$e.external(Ue.borderRadiusS,"Design system"),elevation02:$e.external(Ue.elevation02,"Design system"),colorError:$e.external(Ue.colorError,"Design system")},or=St`
577
577
  *:focus {
578
578
  outline: none;
579
579
  }
@@ -722,7 +722,7 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
722
722
  .ft-select--in-error .ft-select--helper-text {
723
723
  color: ${er.colorError};
724
724
  }
725
- `;var ir=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class rr extends Be{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return ne``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}rr.elementDefinitions={},ir([$({type:String})],rr.prototype,"label",void 0),ir([$({type:Object,converter:t=>t})],rr.prototype,"value",void 0),ir([$({type:Boolean,reflect:!0})],rr.prototype,"selected",void 0);class nr extends Be{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,i,r;let n=this.hasOptionsMenuOpen,a=this.disabled||!this.hasOptions;const s=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,l={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":a,"ft-select--options-displayed":n,"ft-select--has-option-selected":s,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return ne`
725
+ `;var ir=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class rr extends Be{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return ne``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}rr.elementDefinitions={},ir([N({type:String})],rr.prototype,"label",void 0),ir([N({type:Object,converter:t=>t})],rr.prototype,"value",void 0),ir([N({type:Boolean,reflect:!0})],rr.prototype,"selected",void 0);class nr extends Be{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,i,r;let n=this.hasOptionsMenuOpen,a=this.disabled||!this.hasOptions;const s=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,l={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":a,"ft-select--options-displayed":n,"ft-select--has-option-selected":s,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return ne`
726
726
  <div class="${mo(l)}" part="container">
727
727
  <div class="ft-select--main-panel" part="main-panel">
728
728
  <ft-input-label text="${this.label}"
@@ -770,7 +770,7 @@ let go=class extends ao{constructor(t){if(super(t),this.et=et,t.type!==ro)throw
770
770
  <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
771
771
  <span>${t.label}</span>
772
772
  </div>
773
- `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,o;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(o=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===o||o.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let o=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,o,i,r,n;let a;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),a=null!==(i=null===(o=this.focusedOption)||void 0===o?void 0:o.previousElementSibling)&&void 0!==i?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),a=null!==(n=null===(r=this.focusedOption)||void 0===r?void 0:r.nextElementSibling)&&void 0!==n?n:this.firstOption}null==a||a.focus()}onOptionKeyDown(t,e){var o;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus())}selectOption(t){var e,o;if(!I(null===(e=this.selectedOption)||void 0===e?void 0:e.value,t.value)){this.selectedOption=t;for(let e of this.options)e.selected=e===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(o=this.selectedOption)||void 0===o?void 0:o.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}nr.elementDefinitions={"ft-input-label":Zi,"ft-typography":Li,"ft-ripple":Yi,"ft-icon":tr},nr.styles=[$i,Ni,or],ir([$({type:String})],nr.prototype,"label",void 0),ir([$({type:String})],nr.prototype,"helper",void 0),ir([$({type:Boolean})],nr.prototype,"outlined",void 0),ir([$({type:Boolean})],nr.prototype,"disabled",void 0),ir([$({type:Boolean})],nr.prototype,"error",void 0),ir([$({type:Boolean})],nr.prototype,"fixedMenuPosition",void 0),ir([$({type:Array})],nr.prototype,"options",void 0),ir([N()],nr.prototype,"selectedOption",void 0),ir([N()],nr.prototype,"optionsDisplayed",void 0),ir([N()],nr.prototype,"focusOptions",void 0),ir([k(".ft-select")],nr.prototype,"container",void 0),ir([k(".ft-select--options")],nr.prototype,"optionsMenu",void 0),ir([k(".ft-select--input-panel")],nr.prototype,"mainPanel",void 0),ir([k(".ft-select--option:first-child")],nr.prototype,"firstOption",void 0),ir([k(".ft-select--option:focus")],nr.prototype,"focusedOption",void 0),ir([k(".ft-select--option.ft-select--option-selected")],nr.prototype,"selectedOptionElement",void 0),ir([k(".ft-select--option:last-child")],nr.prototype,"lastOption",void 0),ir([k("slot")],nr.prototype,"optionsSlot",void 0),L("ft-select")(nr),L("ft-select-option")(rr);
773
+ `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,o;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(o=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===o||o.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let o=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,o,i,r,n;let a;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),a=null!==(i=null===(o=this.focusedOption)||void 0===o?void 0:o.previousElementSibling)&&void 0!==i?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),a=null!==(n=null===(r=this.focusedOption)||void 0===r?void 0:r.nextElementSibling)&&void 0!==n?n:this.firstOption}null==a||a.focus()}onOptionKeyDown(t,e){var o;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus())}selectOption(t){var e,o;if(!I(null===(e=this.selectedOption)||void 0===e?void 0:e.value,t.value)){this.selectedOption=t;for(let e of this.options)e.selected=e===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(o=this.selectedOption)||void 0===o?void 0:o.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}nr.elementDefinitions={"ft-input-label":Zi,"ft-typography":Li,"ft-ripple":Yi,"ft-icon":tr},nr.styles=[$i,Ni,or],ir([N({type:String})],nr.prototype,"label",void 0),ir([N({type:String})],nr.prototype,"helper",void 0),ir([N({type:Boolean})],nr.prototype,"outlined",void 0),ir([N({type:Boolean})],nr.prototype,"disabled",void 0),ir([N({type:Boolean})],nr.prototype,"error",void 0),ir([N({type:Boolean})],nr.prototype,"fixedMenuPosition",void 0),ir([N({type:Array})],nr.prototype,"options",void 0),ir([C()],nr.prototype,"selectedOption",void 0),ir([C()],nr.prototype,"optionsDisplayed",void 0),ir([C()],nr.prototype,"focusOptions",void 0),ir([R(".ft-select")],nr.prototype,"container",void 0),ir([R(".ft-select--options")],nr.prototype,"optionsMenu",void 0),ir([R(".ft-select--input-panel")],nr.prototype,"mainPanel",void 0),ir([R(".ft-select--option:first-child")],nr.prototype,"firstOption",void 0),ir([R(".ft-select--option:focus")],nr.prototype,"focusedOption",void 0),ir([R(".ft-select--option.ft-select--option-selected")],nr.prototype,"selectedOptionElement",void 0),ir([R(".ft-select--option:last-child")],nr.prototype,"lastOption",void 0),ir([R("slot")],nr.prototype,"optionsSlot",void 0),L("ft-select")(nr),L("ft-select-option")(rr);
774
774
  /**
775
775
  * @license
776
776
  * Copyright 2018 Google LLC
@@ -983,7 +983,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
983
983
  .variant=${this.iconVariant}
984
984
  .value=${this.icon}
985
985
  @click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
986
- `:se}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,o;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),i=null===(o=this.suggestionsContainer)||void 0===o?void 0:o.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,e=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),e&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var e;const o=(null===(e=this.input)||void 0===e?void 0:e.value)||"";this.setValue(o,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const o=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?o<this.visibleSuggestions.length-1?o+1:0:o>0?o-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[i])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,e;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(e=this.input)||void 0===e?void 0:e.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}cr.elementDefinitions={"ft-input-label":Zi,"ft-ripple":Yi,"ft-typography":Li,"ft-icon":tr},cr.styles=[Si,sr],lr([$()],cr.prototype,"label",void 0),lr([$({noAccessor:!0})],cr.prototype,"value",null),lr([N()],cr.prototype,"dispatchedValue",void 0),lr([$()],cr.prototype,"helper",void 0),lr([$({type:Boolean})],cr.prototype,"outlined",void 0),lr([$({type:Boolean})],cr.prototype,"disabled",void 0),lr([$({type:Boolean})],cr.prototype,"error",void 0),lr([$()],cr.prototype,"prefix",void 0),lr([$()],cr.prototype,"icon",void 0),lr([$()],cr.prototype,"passwordHiddenIcon",void 0),lr([$()],cr.prototype,"passwordRevealedIcon",void 0),lr([$()],cr.prototype,"iconVariant",void 0),lr([$({type:Boolean})],cr.prototype,"filterSuggestions",void 0),lr([$({type:Number})],cr.prototype,"maxLength",void 0),lr([$({type:Boolean})],cr.prototype,"password",void 0),lr([N()],cr.prototype,"focused",void 0),lr([N()],cr.prototype,"hidePassword",void 0),lr([N()],cr.prototype,"suggestionsOnTop",void 0),lr([N()],cr.prototype,"hideSuggestions",void 0),lr([N()],cr.prototype,"visibleSuggestions",void 0),lr([k(".ft-text-field--main-panel")],cr.prototype,"mainPanel",void 0),lr([k(".ft-text-field--input")],cr.prototype,"input",void 0),lr([k(".ft-text-field--suggestions")],cr.prototype,"suggestionsContainer",void 0),lr([function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}({selector:"ft-text-field-suggestion"})],cr.prototype,"suggestions",void 0);const fr=St`
986
+ `:se}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,o;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),i=null===(o=this.suggestionsContainer)||void 0===o?void 0:o.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,e=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),e&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var e;const o=(null===(e=this.input)||void 0===e?void 0:e.value)||"";this.setValue(o,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const o=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?o<this.visibleSuggestions.length-1?o+1:0:o>0?o-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[i])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,e;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(e=this.input)||void 0===e?void 0:e.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}cr.elementDefinitions={"ft-input-label":Zi,"ft-ripple":Yi,"ft-typography":Li,"ft-icon":tr},cr.styles=[Si,sr],lr([N()],cr.prototype,"label",void 0),lr([N({noAccessor:!0})],cr.prototype,"value",null),lr([C()],cr.prototype,"dispatchedValue",void 0),lr([N()],cr.prototype,"helper",void 0),lr([N({type:Boolean})],cr.prototype,"outlined",void 0),lr([N({type:Boolean})],cr.prototype,"disabled",void 0),lr([N({type:Boolean})],cr.prototype,"error",void 0),lr([N()],cr.prototype,"prefix",void 0),lr([N()],cr.prototype,"icon",void 0),lr([N()],cr.prototype,"passwordHiddenIcon",void 0),lr([N()],cr.prototype,"passwordRevealedIcon",void 0),lr([N()],cr.prototype,"iconVariant",void 0),lr([N({type:Boolean})],cr.prototype,"filterSuggestions",void 0),lr([N({type:Number})],cr.prototype,"maxLength",void 0),lr([N({type:Boolean})],cr.prototype,"password",void 0),lr([C()],cr.prototype,"focused",void 0),lr([C()],cr.prototype,"hidePassword",void 0),lr([C()],cr.prototype,"suggestionsOnTop",void 0),lr([C()],cr.prototype,"hideSuggestions",void 0),lr([C()],cr.prototype,"visibleSuggestions",void 0),lr([R(".ft-text-field--main-panel")],cr.prototype,"mainPanel",void 0),lr([R(".ft-text-field--input")],cr.prototype,"input",void 0),lr([R(".ft-text-field--suggestions")],cr.prototype,"suggestionsContainer",void 0),lr([function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return k(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}({selector:"ft-text-field-suggestion"})],cr.prototype,"suggestions",void 0);const fr=St`
987
987
  .ft-text-field-suggestion {
988
988
  position: relative;
989
989
  padding: 8px 16px;
@@ -1020,7 +1020,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
1020
1020
  <slot></slot>
1021
1021
  </ft-typography>
1022
1022
  </div>
1023
- `}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new dr(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}hr.elementDefinitions={"ft-ripple":Yi,"ft-typography":Li,"ft-icon":tr},hr.styles=fr,pr([$()],hr.prototype,"value",void 0),pr([k(".ft-text-field-suggestion")],hr.prototype,"container",void 0),pr([R()],hr.prototype,"assignedNodes",void 0),L("ft-text-field")(cr),L("ft-text-field-suggestion")(hr);const ur={color:$e.extend("--ft-loader-color","",Ue.colorPrimary),size:$e.create("--ft-loader-size","","SIZE","80px")},yr=St`
1023
+ `}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new dr(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}hr.elementDefinitions={"ft-ripple":Yi,"ft-typography":Li,"ft-icon":tr},hr.styles=fr,pr([N()],hr.prototype,"value",void 0),pr([R(".ft-text-field-suggestion")],hr.prototype,"container",void 0),pr([U()],hr.prototype,"assignedNodes",void 0),L("ft-text-field")(cr),L("ft-text-field-suggestion")(hr);const ur={color:$e.extend("--ft-loader-color","",Ue.colorPrimary),size:$e.create("--ft-loader-size","","SIZE","80px")},yr=St`
1024
1024
  :host {
1025
1025
  line-height: 0;
1026
1026
  }
@@ -1255,7 +1255,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
1255
1255
  position: relative;
1256
1256
  word-break: break-word;
1257
1257
  }
1258
- `,Lr=["start","end"],Wr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Lr[0],e+"-"+Lr[1])),[]),zr=Math.min,Fr=Math.max,Zr=Math.round,Kr=t=>({x:t,y:t}),Dr={left:"right",right:"left",bottom:"top",top:"bottom"},Br={start:"end",end:"start"};function Ar(t,e,o){return Fr(t,zr(e,o))}function Mr(t,e){return"function"==typeof t?t(e):t}function Pr(t){return t.split("-")[0]}function Hr(t){return t.split("-")[1]}function jr(t){return"x"===t?"y":"x"}function Tr(t){return"y"===t?"height":"width"}function _r(t){return["top","bottom"].includes(Pr(t))?"y":"x"}function Gr(t){return jr(_r(t))}function Vr(t){return t.replace(/left|right|bottom|top/g,(t=>Dr[t]))}function Yr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Jr(t,e,o){let{reference:i,floating:r}=t;const n=_r(e),a=Gr(e),s=Tr(a),l=Pr(e),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,d=i[s]/2-r[s]/2;let h;switch(l){case"top":h={x:f,y:i.y-r.height};break;case"bottom":h={x:f,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-r.width,y:p};break;default:h={x:i.x,y:i.y}}switch(Hr(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function qr(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=Mr(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=s[d?"floating"===p?"reference":"floating":p],g=Yr(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=Yr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function Xr(t,e,o){return(t?[...o.filter((e=>Hr(e)===t)),...o.filter((e=>Hr(e)!==t))]:o.filter((t=>Pr(t)===t))).filter((o=>!t||(Hr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Br[t]))}(o)!==o)))}const Qr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:d=Wr,autoAlignment:h=!0,...u}=Mr(t,e),y=void 0!==p||d===Wr?Xr(p||null,h,d):d,g=await qr(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=Hr(t),r=Gr(t),n=Tr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Vr(a)),[a,Vr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Pr(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Hr(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),$=S.filter((t=>t[2].slice(0,Hr(t[0])?2:3).every((t=>t<=0)))),N=(null==(r=$[0])?void 0:r[0])||S[0][0];return N!==s?{data:{index:b+1,overflows:O},reset:{placement:N}}:{}}}};function tn(t){return rn(t)?(t.nodeName||"").toLowerCase():"#document"}function en(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function on(t){var e;return null==(e=(rn(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function rn(t){return t instanceof Node||t instanceof en(t).Node}function nn(t){return t instanceof Element||t instanceof en(t).Element}function an(t){return t instanceof HTMLElement||t instanceof en(t).HTMLElement}function sn(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof en(t).ShadowRoot)}function ln(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=hn(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function cn(t){return["table","td","th"].includes(tn(t))}function fn(t){const e=pn(),o=hn(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function pn(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function dn(t){return["html","body","#document"].includes(tn(t))}function hn(t){return en(t).getComputedStyle(t)}function un(t){return nn(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function yn(t){if("html"===tn(t))return t;const e=t.assignedSlot||t.parentNode||sn(t)&&t.host||on(t);return sn(e)?e.host:e}function gn(t){const e=yn(t);return dn(e)?t.ownerDocument?t.ownerDocument.body:t.body:an(e)&&ln(e)?e:gn(e)}function bn(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=gn(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=en(r);return n?e.concat(a,a.visualViewport||[],ln(r)?r:[],a.frameElement&&o?bn(a.frameElement):[]):e.concat(r,bn(r,[],o))}function mn(t){const e=hn(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=an(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Zr(o)!==n||Zr(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function xn(t){return nn(t)?t:t.contextElement}function vn(t){const e=xn(t);if(!an(e))return Kr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=mn(e);let a=(n?Zr(o.width):o.width)/i,s=(n?Zr(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const On=Kr(0);function wn(t){const e=en(t);return pn()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:On}function Sn(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=xn(t);let a=Kr(1);e&&(i?nn(i)&&(a=vn(i)):a=vn(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==en(t))&&e}(n,o,i)?wn(n):Kr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=en(n),e=i&&nn(i)?en(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=vn(o),e=o.getBoundingClientRect(),i=hn(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=r,c+=n,o=en(o).frameElement}}return Yr({width:f,height:p,x:l,y:c})}function $n(t){return Sn(on(t)).left+un(t).scrollLeft}function Nn(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=en(t),i=on(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=pn();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=on(t),o=un(t),i=t.ownerDocument.body,r=Fr(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Fr(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+$n(t);const s=-o.scrollTop;return"rtl"===hn(i).direction&&(a+=Fr(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(on(t));else if(nn(e))i=function(t,e){const o=Sn(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=an(t)?vn(t):Kr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=wn(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Yr(i)}function Cn(t,e){const o=yn(t);return!(o===e||!nn(o)||dn(o))&&("fixed"===hn(o).position||Cn(o,e))}function En(t,e,o){const i=an(e),r=on(e),n="fixed"===o,a=Sn(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Kr(0);if(i||!i&&!n)if(("body"!==tn(e)||ln(r))&&(s=un(e)),i){const t=Sn(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=$n(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function kn(t,e){return an(t)&&"fixed"!==hn(t).position?e?e(t):t.offsetParent:null}function Rn(t,e){const o=en(t);if(!an(t))return o;let i=kn(t,e);for(;i&&cn(i)&&"static"===hn(i).position;)i=kn(i,e);return i&&("html"===tn(i)||"body"===tn(i)&&"static"===hn(i).position&&!fn(i))?o:i||function(t){let e=yn(t);for(;an(e)&&!dn(e);){if(fn(e))return e;e=yn(e)}return null}(t)||o}const Un={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=an(o),n=on(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Kr(1);const l=Kr(0);if((r||!r&&"fixed"!==i)&&(("body"!==tn(o)||ln(n))&&(a=un(o)),an(o))){const t=Sn(o);s=vn(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:on,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=bn(t,[],!1).filter((t=>nn(t)&&"body"!==tn(t))),r=null;const n="fixed"===hn(t).position;let a=n?yn(t):t;for(;nn(a)&&!dn(a);){const e=hn(a),o=fn(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||ln(a)&&!o&&Cn(t,a))?i=i.filter((t=>t!==a)):r=e,a=yn(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=Nn(e,o,r);return t.top=Fr(i.top,t.top),t.right=zr(i.right,t.right),t.bottom=zr(i.bottom,t.bottom),t.left=Fr(i.left,t.left),t}),Nn(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Rn,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Rn,n=this.getDimensions;return{reference:En(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return mn(t)},getScale:vn,isElement:nn,isRTL:function(t){return"rtl"===hn(t).direction}},In=(t,e,o)=>{const i=new Map,r={platform:Un,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:p}=Jr(c,i,l),d=i,h={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:f,y:p,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:f,y:p}=Jr(c,d,l))),o=-1)}return{x:f,y:p,placement:d,strategy:r,middlewareData:h}})(t,e,{...r,platform:n})};function Ln(t){return function(t){for(let e=t;e;e=Wn(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Wn(t);e;e=Wn(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Wn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var zn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Fn extends Be{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new U,this.revealDebouncer=new U}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ne`
1258
+ `,Lr=["start","end"],Wr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Lr[0],e+"-"+Lr[1])),[]),zr=Math.min,Fr=Math.max,Zr=Math.round,Kr=t=>({x:t,y:t}),Dr={left:"right",right:"left",bottom:"top",top:"bottom"},Br={start:"end",end:"start"};function Ar(t,e,o){return Fr(t,zr(e,o))}function Mr(t,e){return"function"==typeof t?t(e):t}function Pr(t){return t.split("-")[0]}function Hr(t){return t.split("-")[1]}function jr(t){return"x"===t?"y":"x"}function Tr(t){return"y"===t?"height":"width"}function _r(t){return["top","bottom"].includes(Pr(t))?"y":"x"}function Gr(t){return jr(_r(t))}function Vr(t){return t.replace(/left|right|bottom|top/g,(t=>Dr[t]))}function Yr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Jr(t,e,o){let{reference:i,floating:r}=t;const n=_r(e),a=Gr(e),s=Tr(a),l=Pr(e),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,d=i[s]/2-r[s]/2;let h;switch(l){case"top":h={x:f,y:i.y-r.height};break;case"bottom":h={x:f,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-r.width,y:p};break;default:h={x:i.x,y:i.y}}switch(Hr(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function qr(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=Mr(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=s[d?"floating"===p?"reference":"floating":p],g=Yr(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=Yr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function Xr(t,e,o){return(t?[...o.filter((e=>Hr(e)===t)),...o.filter((e=>Hr(e)!==t))]:o.filter((t=>Pr(t)===t))).filter((o=>!t||(Hr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Br[t]))}(o)!==o)))}const Qr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:d=Wr,autoAlignment:h=!0,...u}=Mr(t,e),y=void 0!==p||d===Wr?Xr(p||null,h,d):d,g=await qr(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=Hr(t),r=Gr(t),n=Tr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Vr(a)),[a,Vr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Pr(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Hr(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),$=S.filter((t=>t[2].slice(0,Hr(t[0])?2:3).every((t=>t<=0)))),N=(null==(r=$[0])?void 0:r[0])||S[0][0];return N!==s?{data:{index:b+1,overflows:O},reset:{placement:N}}:{}}}};function tn(t){return rn(t)?(t.nodeName||"").toLowerCase():"#document"}function en(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function on(t){var e;return null==(e=(rn(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function rn(t){return t instanceof Node||t instanceof en(t).Node}function nn(t){return t instanceof Element||t instanceof en(t).Element}function an(t){return t instanceof HTMLElement||t instanceof en(t).HTMLElement}function sn(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof en(t).ShadowRoot)}function ln(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=hn(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function cn(t){return["table","td","th"].includes(tn(t))}function fn(t){const e=pn(),o=hn(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function pn(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function dn(t){return["html","body","#document"].includes(tn(t))}function hn(t){return en(t).getComputedStyle(t)}function un(t){return nn(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function yn(t){if("html"===tn(t))return t;const e=t.assignedSlot||t.parentNode||sn(t)&&t.host||on(t);return sn(e)?e.host:e}function gn(t){const e=yn(t);return dn(e)?t.ownerDocument?t.ownerDocument.body:t.body:an(e)&&ln(e)?e:gn(e)}function bn(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=gn(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=en(r);return n?e.concat(a,a.visualViewport||[],ln(r)?r:[],a.frameElement&&o?bn(a.frameElement):[]):e.concat(r,bn(r,[],o))}function mn(t){const e=hn(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=an(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Zr(o)!==n||Zr(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function xn(t){return nn(t)?t:t.contextElement}function vn(t){const e=xn(t);if(!an(e))return Kr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=mn(e);let a=(n?Zr(o.width):o.width)/i,s=(n?Zr(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const On=Kr(0);function wn(t){const e=en(t);return pn()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:On}function Sn(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=xn(t);let a=Kr(1);e&&(i?nn(i)&&(a=vn(i)):a=vn(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==en(t))&&e}(n,o,i)?wn(n):Kr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=en(n),e=i&&nn(i)?en(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=vn(o),e=o.getBoundingClientRect(),i=hn(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=r,c+=n,o=en(o).frameElement}}return Yr({width:f,height:p,x:l,y:c})}function $n(t){return Sn(on(t)).left+un(t).scrollLeft}function Nn(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=en(t),i=on(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=pn();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=on(t),o=un(t),i=t.ownerDocument.body,r=Fr(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Fr(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+$n(t);const s=-o.scrollTop;return"rtl"===hn(i).direction&&(a+=Fr(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(on(t));else if(nn(e))i=function(t,e){const o=Sn(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=an(t)?vn(t):Kr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=wn(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Yr(i)}function Cn(t,e){const o=yn(t);return!(o===e||!nn(o)||dn(o))&&("fixed"===hn(o).position||Cn(o,e))}function En(t,e,o){const i=an(e),r=on(e),n="fixed"===o,a=Sn(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Kr(0);if(i||!i&&!n)if(("body"!==tn(e)||ln(r))&&(s=un(e)),i){const t=Sn(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=$n(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function kn(t,e){return an(t)&&"fixed"!==hn(t).position?e?e(t):t.offsetParent:null}function Rn(t,e){const o=en(t);if(!an(t))return o;let i=kn(t,e);for(;i&&cn(i)&&"static"===hn(i).position;)i=kn(i,e);return i&&("html"===tn(i)||"body"===tn(i)&&"static"===hn(i).position&&!fn(i))?o:i||function(t){let e=yn(t);for(;an(e)&&!dn(e);){if(fn(e))return e;e=yn(e)}return null}(t)||o}const Un={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=an(o),n=on(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Kr(1);const l=Kr(0);if((r||!r&&"fixed"!==i)&&(("body"!==tn(o)||ln(n))&&(a=un(o)),an(o))){const t=Sn(o);s=vn(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:on,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=bn(t,[],!1).filter((t=>nn(t)&&"body"!==tn(t))),r=null;const n="fixed"===hn(t).position;let a=n?yn(t):t;for(;nn(a)&&!dn(a);){const e=hn(a),o=fn(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||ln(a)&&!o&&Cn(t,a))?i=i.filter((t=>t!==a)):r=e,a=yn(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=Nn(e,o,r);return t.top=Fr(i.top,t.top),t.right=zr(i.right,t.right),t.bottom=zr(i.bottom,t.bottom),t.left=Fr(i.left,t.left),t}),Nn(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Rn,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Rn,n=this.getDimensions;return{reference:En(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return mn(t)},getScale:vn,isElement:nn,isRTL:function(t){return"rtl"===hn(t).direction}},In=(t,e,o)=>{const i=new Map,r={platform:Un,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:p}=Jr(c,i,l),d=i,h={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:f,y:p,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:f,y:p}=Jr(c,d,l))),o=-1)}return{x:f,y:p,placement:d,strategy:r,middlewareData:h}})(t,e,{...r,platform:n})};function Ln(t){return function(t){for(let e=t;e;e=Wn(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Wn(t);e;e=Wn(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Wn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var zn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Fn extends Be{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ne`
1259
1259
  <div part="container"
1260
1260
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
1261
1261
  @mouseenter=${this.onHover}
@@ -1263,7 +1263,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
1263
1263
  @focusin=${this.onHover}
1264
1264
  @focusout=${this.onOut}
1265
1265
  @touchstart=${this.onTouch}>
1266
- <slot part="slot"></slot>
1266
+ <slot part="slot" @click=${this.onClick}></slot>
1267
1267
  <div part="tooltip" role="tooltip" inert
1268
1268
  class="ft-tooltip ft-tooltip--${this.validPosition}"
1269
1269
  ?hidden=${!this.visible}>
@@ -1273,7 +1273,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
1273
1273
  </div>
1274
1274
  </div>
1275
1275
  </div>
1276
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",In(this.slottedElement,this.tooltip,{platform:{...Un,getOffsetParent:t=>Un.getOffsetParent(t,Ln)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Mr(t,e),c={x:o,y:i},f=await qr(e,l),p=_r(Pr(r)),d=jr(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=Ar(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=Ar(u+f["y"===p?"top":"left"],u,u-f[t])}const y=s.fn({...e,[d]:h,[p]:u});return{...y,data:{x:y.x-o,y:y.y-i}}}}),Qr({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Fn.elementDefinitions={"ft-typography":Li},Fn.styles=Ir,zn([$()],Fn.prototype,"text",void 0),zn([$({type:Boolean})],Fn.prototype,"manual",void 0),zn([$({type:Boolean})],Fn.prototype,"inline",void 0),zn([$({type:Number})],Fn.prototype,"delay",void 0),zn([$()],Fn.prototype,"position",void 0),zn([R()],Fn.prototype,"slotNodes",void 0),zn([k(".ft-tooltip--container")],Fn.prototype,"container",void 0),zn([k(".ft-tooltip")],Fn.prototype,"tooltip",void 0),zn([k(".ft-tooltip--content")],Fn.prototype,"tooltipContent",void 0),zn([N()],Fn.prototype,"visible",void 0),zn([C({passive:!0})],Fn.prototype,"onTouch",null),zn([C({passive:!0})],Fn.prototype,"onHover",null),zn([C({passive:!0})],Fn.prototype,"onOut",null),L("ft-tooltip")(Fn);class Zn extends Be{render(){return ne`
1276
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",In(this.slottedElement,this.tooltip,{platform:{...Un,getOffsetParent:t=>Un.getOffsetParent(t,Ln)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Mr(t,e),c={x:o,y:i},f=await qr(e,l),p=_r(Pr(r)),d=jr(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=Ar(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=Ar(u+f["y"===p?"top":"left"],u,u-f[t])}const y=s.fn({...e,[d]:h,[p]:u});return{...y,data:{x:y.x-o,y:y.y-i}}}}),Qr({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Fn.elementDefinitions={"ft-typography":Li},Fn.styles=Ir,zn([N()],Fn.prototype,"text",void 0),zn([N({type:Boolean})],Fn.prototype,"manual",void 0),zn([N({type:Boolean})],Fn.prototype,"inline",void 0),zn([N({type:Number})],Fn.prototype,"delay",void 0),zn([N()],Fn.prototype,"position",void 0),zn([U()],Fn.prototype,"slotNodes",void 0),zn([R(".ft-tooltip--container")],Fn.prototype,"container",void 0),zn([R(".ft-tooltip")],Fn.prototype,"tooltip",void 0),zn([R(".ft-tooltip--content")],Fn.prototype,"tooltipContent",void 0),zn([C()],Fn.prototype,"visible",void 0),zn([E({passive:!0})],Fn.prototype,"onTouch",null),zn([E({passive:!0})],Fn.prototype,"onHover",null),zn([E({passive:!0})],Fn.prototype,"onOut",null),zn([E({passive:!0})],Fn.prototype,"onClick",null),L("ft-tooltip")(Fn);class Zn extends Be{render(){return ne`
1277
1277
  <div class="ft-loader">
1278
1278
  <div></div>
1279
1279
  <div></div>
@@ -1303,7 +1303,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
1303
1303
  </ft-tooltip>
1304
1304
  `:t}resolveIcon(){return this.loading?ne`
1305
1305
  <ft-loader part="loader icon"></ft-loader> `:this.icon?ne`
1306
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:se}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Dn.elementDefinitions={"ft-ripple":Yi,"ft-tooltip":Fn,"ft-typography":Li,"ft-icon":tr,"ft-loader":Zn},Kn([$({type:String,reflect:!0})],Dn.prototype,"role",void 0),Kn([$()],Dn.prototype,"type",void 0),Kn([$({type:Boolean})],Dn.prototype,"disabled",void 0),Kn([$()],Dn.prototype,"label",void 0),Kn([$()],Dn.prototype,"icon",void 0),Kn([$()],Dn.prototype,"iconVariant",void 0),Kn([$({type:Boolean})],Dn.prototype,"trailingIcon",void 0),Kn([$({type:Boolean})],Dn.prototype,"loading",void 0),Kn([$()],Dn.prototype,"tooltipPosition",void 0),Kn([$({type:Boolean})],Dn.prototype,"hideTooltip",void 0),Kn([$({type:Boolean})],Dn.prototype,"forceTooltip",void 0),Kn([k(".ft-button")],Dn.prototype,"button",void 0),Kn([k(".ft-button--label slot")],Dn.prototype,"slottedContent",void 0);var Bn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class An extends Dn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}An.styles=[Pe,$r],Bn([$({type:Boolean})],An.prototype,"primary",void 0),Bn([$({type:Boolean})],An.prototype,"outlined",void 0),Bn([$({type:Boolean})],An.prototype,"dense",void 0),Bn([$({type:Boolean})],An.prototype,"round",void 0);const Mn=[St`
1306
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:se}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Dn.elementDefinitions={"ft-ripple":Yi,"ft-tooltip":Fn,"ft-typography":Li,"ft-icon":tr,"ft-loader":Zn},Kn([N({type:String,reflect:!0})],Dn.prototype,"role",void 0),Kn([N()],Dn.prototype,"type",void 0),Kn([N({type:Boolean})],Dn.prototype,"disabled",void 0),Kn([N()],Dn.prototype,"label",void 0),Kn([N()],Dn.prototype,"icon",void 0),Kn([N()],Dn.prototype,"iconVariant",void 0),Kn([N({type:Boolean})],Dn.prototype,"trailingIcon",void 0),Kn([N({type:Boolean})],Dn.prototype,"loading",void 0),Kn([N()],Dn.prototype,"tooltipPosition",void 0),Kn([N({type:Boolean})],Dn.prototype,"hideTooltip",void 0),Kn([N({type:Boolean})],Dn.prototype,"forceTooltip",void 0),Kn([R(".ft-button")],Dn.prototype,"button",void 0),Kn([R(".ft-button--label slot")],Dn.prototype,"slottedContent",void 0);var Bn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class An extends Dn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}An.styles=[Pe,$r],Bn([N({type:Boolean})],An.prototype,"primary",void 0),Bn([N({type:Boolean})],An.prototype,"outlined",void 0),Bn([N({type:Boolean})],An.prototype,"dense",void 0),Bn([N({type:Boolean})],An.prototype,"round",void 0);const Mn=[St`
1307
1307
  :host {
1308
1308
  display: inline-block;
1309
1309
  max-width: 100%;
@@ -1521,7 +1521,7 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
1521
1521
  width: ${Re.smallIconOnlyWidth};
1522
1522
  padding: unset;
1523
1523
  }
1524
- `,Me];var Pn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Hn extends Dn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?$o.caption1medium:$o.body2medium}}Hn.styles=[Pe,Mn],Pn([$({type:Boolean})],Hn.prototype,"primary",void 0),Pn([$({type:Boolean})],Hn.prototype,"secondary",void 0),Pn([$({type:Boolean})],Hn.prototype,"tertiary",void 0),Pn([$({type:Boolean})],Hn.prototype,"neutral",void 0),Pn([$({type:Boolean})],Hn.prototype,"small",void 0),L("ft-button")(An),L("ftds-button")(Hn);class jn extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Tn={headerBackground:$e.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:$e.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:$e.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:$e.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:$e.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","100"),cellVerticalBorderWidth:$e.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),colorOnSurfaceHigh:$e.external(Ue.colorOnSurfaceHigh,"Design system"),titleFont:$e.external(Ue.titleFont,"Design system"),contentFont:$e.external(Ue.contentFont,"Design system")},_n=St`
1524
+ `,Me];var Pn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Hn extends Dn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?$o.caption1medium:$o.body2medium}}Hn.styles=[Pe,Mn],Pn([N({type:Boolean})],Hn.prototype,"primary",void 0),Pn([N({type:Boolean})],Hn.prototype,"secondary",void 0),Pn([N({type:Boolean})],Hn.prototype,"tertiary",void 0),Pn([N({type:Boolean})],Hn.prototype,"neutral",void 0),Pn([N({type:Boolean})],Hn.prototype,"small",void 0),L("ft-button")(An),L("ftds-button")(Hn);class jn extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Tn={headerBackground:$e.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:$e.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:$e.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:$e.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:$e.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","100"),cellVerticalBorderWidth:$e.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),colorOnSurfaceHigh:$e.external(Ue.colorOnSurfaceHigh,"Design system"),titleFont:$e.external(Ue.titleFont,"Design system"),contentFont:$e.external(Ue.contentFont,"Design system")},_n=St`
1525
1525
  :host {
1526
1526
  display: block;
1527
1527
  }
@@ -1695,4 +1695,4 @@ const ar={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
1695
1695
  part="${this.columnPart("cell",e)} cell-row-${i} cell-column-${e}-row-${i}">
1696
1696
  ${(t=>{const e=n(t,i);return"string"==typeof e?bo(e):e})(this.getValue(t,o))}
1697
1697
  </div>
1698
- `}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,o){const i=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(i,o):(t=>""+t)(i)}}Jn.styles=_n,Gn([$({attribute:!1})],Jn.prototype,"data",void 0),Gn([$({attribute:!1})],Jn.prototype,"columns",void 0),Gn([$({attribute:!1})],Jn.prototype,"sort",void 0),Gn([$()],Jn.prototype,"stickyHeaders",void 0),Gn([N()],Jn.prototype,"currentSort",void 0),L("ft-filterable-table")(Jn),t.FtFilterableTable=Jn,t.FtFilterableTableCssVariables=Tn,t.RowClickEvent=jn,t.styles=_n}({});
1698
+ `}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,o){const i=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(i,o):(t=>""+t)(i)}}Jn.styles=_n,Gn([N({attribute:!1})],Jn.prototype,"data",void 0),Gn([N({attribute:!1})],Jn.prototype,"columns",void 0),Gn([N({attribute:!1})],Jn.prototype,"sort",void 0),Gn([N()],Jn.prototype,"stickyHeaders",void 0),Gn([C()],Jn.prototype,"currentSort",void 0),L("ft-filterable-table")(Jn),t.FtFilterableTable=Jn,t.FtFilterableTableCssVariables=Tn,t.RowClickEvent=jn,t.styles=_n}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-filterable-table",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "description": "A dynamic table with filters",
5
5
  "keywords": [
6
6
  "Lit"
@@ -22,11 +22,11 @@
22
22
  "test": "echo \"Error: run tests from root\" && exit 1"
23
23
  },
24
24
  "dependencies": {
25
- "@fluid-topics/ft-button": "1.1.11",
26
- "@fluid-topics/ft-select": "1.1.11",
27
- "@fluid-topics/ft-text-field": "1.1.11",
28
- "@fluid-topics/ft-wc-utils": "1.1.11",
25
+ "@fluid-topics/ft-button": "1.1.13",
26
+ "@fluid-topics/ft-select": "1.1.13",
27
+ "@fluid-topics/ft-text-field": "1.1.13",
28
+ "@fluid-topics/ft-wc-utils": "1.1.13",
29
29
  "lit": "3.1.0"
30
30
  },
31
- "gitHead": "077ec0dd3948ed41aa130d5a4cdc3d77f0dd2e6c"
31
+ "gitHead": "6678af642af51eb1590bccbeeb0de8cbc5938ab1"
32
32
  }