@fluid-topics/ft-select 2.1.12 → 2.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- "use strict";(()=>{var ci=Object.create;var Je=Object.defineProperty;var ui=Object.getOwnPropertyDescriptor;var xi=Object.getOwnPropertyNames;var mi=Object.getPrototypeOf,yi=Object.prototype.hasOwnProperty;var te=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(i){throw t=0,i}};var gi=(e,t,i,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of xi(t))!yi.call(e,r)&&r!==i&&Je(e,r,{get:()=>t[r],enumerable:!(o=ui(t,r))||o.enumerable});return e};var h=(e,t,i)=>(i=e!=null?ci(mi(e)):{},gi(t||!e||!e.__esModule?Je(i,"default",{value:e,enumerable:!0}):i,e));var O=te((Oi,Qe)=>{Qe.exports=ftGlobals.wcUtils});var P=te(($i,Ie)=>{Ie.exports=ftGlobals.lit});var K=te((Ti,Fe)=>{Fe.exports=ftGlobals.litDecorators});var xe=te((Ci,et)=>{et.exports=ftGlobals.litClassMap});var it=te((Ri,tt)=>{tt.exports=ftGlobals.litRepeat});var Ft=te((Ho,It)=>{It.exports=ftGlobals.litUnsafeHTML});var hi=h(O());var ue=h(P()),E=h(K()),pi=h(xe()),fi=h(it());function me(e,t,i){return e?t(e):i?.(e)}var ze=globalThis,$e=ze.trustedTypes,ot=$e?$e.createPolicy("lit-html",{createHTML:e=>e}):void 0,pt="$lit$",j=`lit$${Math.random().toFixed(9).slice(2)}$`,ft="?"+j,bi=`<${ft}>`,Q=document,Te=()=>Q.createComment(""),ge=e=>e===null||typeof e!="object"&&typeof e!="function",We=Array.isArray,vi=e=>We(e)||typeof e?.[Symbol.iterator]=="function",De=`[
2
- \f\r]`,ye=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,rt=/-->/g,nt=/>/g,q=RegExp(`>|${De}(?:([^\\s"'>=/]+)(${De}*=${De}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),lt=/'/g,st=/"/g,dt=/^(?:script|style|textarea|title)$/i,Ue=e=>(t,...i)=>({_$litType$:e,strings:t,values:i}),ht=Ue(1),ct=Ue(2),ut=Ue(3),be=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),at=new WeakMap,J=Q.createTreeWalker(Q,129);function xt(e,t){if(!We(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ot!==void 0?ot.createHTML(t):t}var Si=(e,t)=>{let i=e.length-1,o=[],r,n=t===2?"<svg>":t===3?"<math>":"",l=ye;for(let p=0;p<i;p++){let d=e[p],m,S,y=-1,W=0;for(;W<d.length&&(l.lastIndex=W,S=l.exec(d),S!==null);)W=l.lastIndex,l===ye?S[1]==="!--"?l=rt:S[1]!==void 0?l=nt:S[2]!==void 0?(dt.test(S[2])&&(r=RegExp("</"+S[2],"g")),l=q):S[3]!==void 0&&(l=q):l===q?S[0]===">"?(l=r??ye,y=-1):S[1]===void 0?y=-2:(y=l.lastIndex-S[2].length,m=S[1],l=S[3]===void 0?q:S[3]==='"'?st:lt):l===st||l===lt?l=q:l===rt||l===nt?l=ye:(l=q,r=void 0);let V=l===q&&e[p+1].startsWith("/>")?" ":"";n+=l===ye?d+bi:y>=0?(o.push(m),d.slice(0,y)+pt+d.slice(y)+j+V):d+j+(y===-2?p:V)}return[xt(e,n+(e[i]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},ve=class e{constructor({strings:t,_$litType$:i},o){let r;this.parts=[];let n=0,l=0,p=t.length-1,d=this.parts,[m,S]=Si(t,i);if(this.el=e.createElement(m,o),J.currentNode=this.el.content,i===2||i===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(r=J.nextNode())!==null&&d.length<p;){if(r.nodeType===1){if(r.hasAttributes())for(let y of r.getAttributeNames())if(y.endsWith(pt)){let W=S[l++],V=r.getAttribute(y).split(j),Oe=/([.?@])?(.*)/.exec(W);d.push({type:1,index:n,name:Oe[2],strings:V,ctor:Oe[1]==="."?He:Oe[1]==="?"?we:Oe[1]==="@"?Me:oe}),r.removeAttribute(y)}else y.startsWith(j)&&(d.push({type:6,index:n}),r.removeAttribute(y));if(dt.test(r.tagName)){let y=r.textContent.split(j),W=y.length-1;if(W>0){r.textContent=$e?$e.emptyScript:"";for(let V=0;V<W;V++)r.append(y[V],Te()),J.nextNode(),d.push({type:2,index:++n});r.append(y[W],Te())}}}else if(r.nodeType===8)if(r.data===ft)d.push({type:2,index:n});else{let y=-1;for(;(y=r.data.indexOf(j,y+1))!==-1;)d.push({type:7,index:n}),y+=j.length-1}n++}}static createElement(t,i){let o=Q.createElement("template");return o.innerHTML=t,o}};function ie(e,t,i=e,o){if(t===be)return t;let r=o!==void 0?i._$Co?.[o]:i._$Cl,n=ge(t)?void 0:t._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),n===void 0?r=void 0:(r=new n(e),r._$AT(e,i,o)),o!==void 0?(i._$Co??=[])[o]=r:i._$Cl=r),r!==void 0&&(t=ie(e,r._$AS(e,t.values),r,o)),t}var Pe=class{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:i},parts:o}=this._$AD,r=(t?.creationScope??Q).importNode(i,!0);J.currentNode=r;let n=J.nextNode(),l=0,p=0,d=o[0];for(;d!==void 0;){if(l===d.index){let m;d.type===2?m=new Ce(n,n.nextSibling,this,t):d.type===1?m=new d.ctor(n,d.name,d.strings,this,t):d.type===6&&(m=new Be(n,this,t)),this._$AV.push(m),d=o[++p]}l!==d?.index&&(n=J.nextNode(),l++)}return J.currentNode=Q,r}p(t){let i=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,i),i+=o.strings.length-2):o._$AI(t[i])),i++}},Ce=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,o,r){this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,i=this._$AM;return i!==void 0&&t?.nodeType===11&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=ie(this,t,i),ge(t)?t===_||t==null||t===""?(this._$AH!==_&&this._$AR(),this._$AH=_):t!==this._$AH&&t!==be&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):vi(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==_&&ge(this._$AH)?this._$AA.nextSibling.data=t:this.T(Q.createTextNode(t)),this._$AH=t}$(t){let{values:i,_$litType$:o}=t,r=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=ve.createElement(xt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(i);else{let n=new Pe(r,this),l=n.u(this.options);n.p(i),this.T(l),this._$AH=n}}_$AC(t){let i=at.get(t.strings);return i===void 0&&at.set(t.strings,i=new ve(t)),i}k(t){We(this._$AH)||(this._$AH=[],this._$AR());let i=this._$AH,o,r=0;for(let n of t)r===i.length?i.push(o=new e(this.O(Te()),this.O(Te()),this,this.options)):o=i[r],o._$AI(n),r++;r<i.length&&(this._$AR(o&&o._$AB.nextSibling,r),i.length=r)}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},oe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,o,r,n){this.type=1,this._$AH=_,this._$AN=void 0,this.element=t,this.name=i,this._$AM=r,this.options=n,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=_}_$AI(t,i=this,o,r){let n=this.strings,l=!1;if(n===void 0)t=ie(this,t,i,0),l=!ge(t)||t!==this._$AH&&t!==be,l&&(this._$AH=t);else{let p=t,d,m;for(t=n[0],d=0;d<n.length-1;d++)m=ie(this,p[o+d],i,d),m===be&&(m=this._$AH[d]),l||=!ge(m)||m!==this._$AH[d],m===_?t=_:t!==_&&(t+=(m??"")+n[d+1]),this._$AH[d]=m}l&&!r&&this.j(t)}j(t){t===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},He=class extends oe{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===_?void 0:t}},we=class extends oe{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==_)}},Me=class extends oe{constructor(t,i,o,r,n){super(t,i,o,r,n),this.type=5}_$AI(t,i=this){if((t=ie(this,t,i,0)??_)===be)return;let o=this._$AH,r=t===_&&o!==_||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==_&&(o===_||r);r&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Be=class{constructor(t,i,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ie(this,t)}};var _i=ze.litHtmlPolyfillSupport;_i?.(ve,Ce),(ze.litHtmlVersions??=[]).push("3.3.0");var Ge=e=>e??_;var w=h(O());var yt=Symbol.for(""),Ai=e=>{if(e?.r===yt)return e?._$litStatic$},ke=e=>({_$litStatic$:e,r:yt});var mt=new Map,Ve=e=>(t,...i)=>{let o=i.length,r,n,l=[],p=[],d,m=0,S=!1;for(;m<o;){for(d=t[m];m<o&&(n=i[m],(r=Ai(n))!==void 0);)d+=r+t[++m],S=!0;m!==o&&p.push(n),l.push(d),m++}if(m===o&&l.push(t[o]),S){let y=l.join("$$lit$$");(t=mt.get(y))===void 0&&(l.raw=l,mt.set(y,t=l)),i=p}return e(t,...i)},Ke=Ve(ht),Wi=Ve(ct),Ui=Ve(ut);var je=h(K()),Rt=h(O());var I;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button"})(I||(I={}));var H=h(P()),a=h(O()),gt=a.FtCssVariableFactory.extend("--ft-typography-font-family","",a.designSystemVariables.titleFont),G=a.FtCssVariableFactory.extend("--ft-typography-font-family","",a.designSystemVariables.contentFont),f={fontFamily:G,fontSize:a.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:a.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:a.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:a.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:a.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},re={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-title-font-family","",gt),fontSize:a.FtCssVariableFactory.extend("--ft-typography-title-font-size","",f.fontSize,"20px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",f.letterSpacing,"0.15px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-title-line-height","",f.lineHeight,"1.2"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",f.textTransform,"inherit")},ne={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",gt),fontSize:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",f.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",f.letterSpacing,"0.105px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",f.lineHeight,"1.7"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",f.textTransform,"inherit")},le={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",f.fontSize,"16px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",f.fontWeight,"600"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",f.letterSpacing,"0.144px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",f.lineHeight,"1.5"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",f.textTransform,"inherit")},se={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",f.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",f.letterSpacing,"0.098px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",f.lineHeight,"1.7"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",f.textTransform,"inherit")},U={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",f.fontSize,"16px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",f.letterSpacing,"0.496px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",f.lineHeight,"1.5"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",f.textTransform,"inherit")},ae={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",f.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",f.letterSpacing,"0.252px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",f.lineHeight,"1.4"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",f.textTransform,"inherit")},N={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",f.fontSize,"12px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",f.letterSpacing,"0.396px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",f.lineHeight,"1.33"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",f.textTransform,"inherit")},pe={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",f.fontSize,"10px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",f.letterSpacing,"0.33px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",f.lineHeight,"1.6"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",f.textTransform,"inherit")},fe={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",f.fontSize,"10px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",f.letterSpacing,"1.5px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",f.lineHeight,"1.6"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",f.textTransform,"uppercase")},de={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-button-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-button-font-size","",f.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",f.fontWeight,"600"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",f.letterSpacing,"1.246px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-button-line-height","",f.lineHeight,"1.15"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",f.textTransform,"uppercase")},bt=H.css`
1
+ "use strict";(()=>{var ui=Object.create;var Je=Object.defineProperty;var xi=Object.getOwnPropertyDescriptor;var mi=Object.getOwnPropertyNames;var yi=Object.getPrototypeOf,gi=Object.prototype.hasOwnProperty;var te=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(i){throw t=0,i}};var bi=(e,t,i,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of mi(t))!gi.call(e,r)&&r!==i&&Je(e,r,{get:()=>t[r],enumerable:!(o=xi(t,r))||o.enumerable});return e};var h=(e,t,i)=>(i=e!=null?ui(yi(e)):{},bi(t||!e||!e.__esModule?Je(i,"default",{value:e,enumerable:!0}):i,e));var O=te(($i,Qe)=>{Qe.exports=ftGlobals.wcUtils});var P=te((Ti,Ie)=>{Ie.exports=ftGlobals.lit});var K=te((Ci,Fe)=>{Fe.exports=ftGlobals.litDecorators});var xe=te((Ri,et)=>{et.exports=ftGlobals.litClassMap});var it=te((Li,tt)=>{tt.exports=ftGlobals.litRepeat});var ei=te((wo,Ft)=>{Ft.exports=ftGlobals.litUnsafeHTML});var ci=h(O());var ue=h(P()),E=h(K()),fi=h(xe()),di=h(it());function me(e,t,i){return e?t(e):i?.(e)}var ze=globalThis,ot=e=>e,$e=ze.trustedTypes,rt=$e?$e.createPolicy("lit-html",{createHTML:e=>e}):void 0,ft="$lit$",j=`lit$${Math.random().toFixed(9).slice(2)}$`,dt="?"+j,vi=`<${dt}>`,Q=document,Te=()=>Q.createComment(""),ge=e=>e===null||typeof e!="object"&&typeof e!="function",We=Array.isArray,Si=e=>We(e)||typeof e?.[Symbol.iterator]=="function",De=`[
2
+ \f\r]`,ye=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,nt=/-->/g,lt=/>/g,q=RegExp(`>|${De}(?:([^\\s"'>=/]+)(${De}*=${De}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),st=/'/g,at=/"/g,ht=/^(?:script|style|textarea|title)$/i,Ue=e=>(t,...i)=>({_$litType$:e,strings:t,values:i}),ct=Ue(1),ut=Ue(2),xt=Ue(3),be=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),pt=new WeakMap,J=Q.createTreeWalker(Q,129);function mt(e,t){if(!We(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return rt!==void 0?rt.createHTML(t):t}var _i=(e,t)=>{let i=e.length-1,o=[],r,n=t===2?"<svg>":t===3?"<math>":"",l=ye;for(let p=0;p<i;p++){let d=e[p],m,S,y=-1,W=0;for(;W<d.length&&(l.lastIndex=W,S=l.exec(d),S!==null);)W=l.lastIndex,l===ye?S[1]==="!--"?l=nt:S[1]!==void 0?l=lt:S[2]!==void 0?(ht.test(S[2])&&(r=RegExp("</"+S[2],"g")),l=q):S[3]!==void 0&&(l=q):l===q?S[0]===">"?(l=r??ye,y=-1):S[1]===void 0?y=-2:(y=l.lastIndex-S[2].length,m=S[1],l=S[3]===void 0?q:S[3]==='"'?at:st):l===at||l===st?l=q:l===nt||l===lt?l=ye:(l=q,r=void 0);let V=l===q&&e[p+1].startsWith("/>")?" ":"";n+=l===ye?d+vi:y>=0?(o.push(m),d.slice(0,y)+ft+d.slice(y)+j+V):d+j+(y===-2?p:V)}return[mt(e,n+(e[i]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},ve=class e{constructor({strings:t,_$litType$:i},o){let r;this.parts=[];let n=0,l=0,p=t.length-1,d=this.parts,[m,S]=_i(t,i);if(this.el=e.createElement(m,o),J.currentNode=this.el.content,i===2||i===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(r=J.nextNode())!==null&&d.length<p;){if(r.nodeType===1){if(r.hasAttributes())for(let y of r.getAttributeNames())if(y.endsWith(ft)){let W=S[l++],V=r.getAttribute(y).split(j),Oe=/([.?@])?(.*)/.exec(W);d.push({type:1,index:n,name:Oe[2],strings:V,ctor:Oe[1]==="."?He:Oe[1]==="?"?we:Oe[1]==="@"?Me:oe}),r.removeAttribute(y)}else y.startsWith(j)&&(d.push({type:6,index:n}),r.removeAttribute(y));if(ht.test(r.tagName)){let y=r.textContent.split(j),W=y.length-1;if(W>0){r.textContent=$e?$e.emptyScript:"";for(let V=0;V<W;V++)r.append(y[V],Te()),J.nextNode(),d.push({type:2,index:++n});r.append(y[W],Te())}}}else if(r.nodeType===8)if(r.data===dt)d.push({type:2,index:n});else{let y=-1;for(;(y=r.data.indexOf(j,y+1))!==-1;)d.push({type:7,index:n}),y+=j.length-1}n++}}static createElement(t,i){let o=Q.createElement("template");return o.innerHTML=t,o}};function ie(e,t,i=e,o){if(t===be)return t;let r=o!==void 0?i._$Co?.[o]:i._$Cl,n=ge(t)?void 0:t._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),n===void 0?r=void 0:(r=new n(e),r._$AT(e,i,o)),o!==void 0?(i._$Co??=[])[o]=r:i._$Cl=r),r!==void 0&&(t=ie(e,r._$AS(e,t.values),r,o)),t}var Pe=class{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:i},parts:o}=this._$AD,r=(t?.creationScope??Q).importNode(i,!0);J.currentNode=r;let n=J.nextNode(),l=0,p=0,d=o[0];for(;d!==void 0;){if(l===d.index){let m;d.type===2?m=new Ce(n,n.nextSibling,this,t):d.type===1?m=new d.ctor(n,d.name,d.strings,this,t):d.type===6&&(m=new Be(n,this,t)),this._$AV.push(m),d=o[++p]}l!==d?.index&&(n=J.nextNode(),l++)}return J.currentNode=Q,r}p(t){let i=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,i),i+=o.strings.length-2):o._$AI(t[i])),i++}},Ce=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,o,r){this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,i=this._$AM;return i!==void 0&&t?.nodeType===11&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=ie(this,t,i),ge(t)?t===_||t==null||t===""?(this._$AH!==_&&this._$AR(),this._$AH=_):t!==this._$AH&&t!==be&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Si(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==_&&ge(this._$AH)?this._$AA.nextSibling.data=t:this.T(Q.createTextNode(t)),this._$AH=t}$(t){let{values:i,_$litType$:o}=t,r=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=ve.createElement(mt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(i);else{let n=new Pe(r,this),l=n.u(this.options);n.p(i),this.T(l),this._$AH=n}}_$AC(t){let i=pt.get(t.strings);return i===void 0&&pt.set(t.strings,i=new ve(t)),i}k(t){We(this._$AH)||(this._$AH=[],this._$AR());let i=this._$AH,o,r=0;for(let n of t)r===i.length?i.push(o=new e(this.O(Te()),this.O(Te()),this,this.options)):o=i[r],o._$AI(n),r++;r<i.length&&(this._$AR(o&&o._$AB.nextSibling,r),i.length=r)}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t!==this._$AB;){let o=ot(t).nextSibling;ot(t).remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},oe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,o,r,n){this.type=1,this._$AH=_,this._$AN=void 0,this.element=t,this.name=i,this._$AM=r,this.options=n,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=_}_$AI(t,i=this,o,r){let n=this.strings,l=!1;if(n===void 0)t=ie(this,t,i,0),l=!ge(t)||t!==this._$AH&&t!==be,l&&(this._$AH=t);else{let p=t,d,m;for(t=n[0],d=0;d<n.length-1;d++)m=ie(this,p[o+d],i,d),m===be&&(m=this._$AH[d]),l||=!ge(m)||m!==this._$AH[d],m===_?t=_:t!==_&&(t+=(m??"")+n[d+1]),this._$AH[d]=m}l&&!r&&this.j(t)}j(t){t===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},He=class extends oe{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===_?void 0:t}},we=class extends oe{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==_)}},Me=class extends oe{constructor(t,i,o,r,n){super(t,i,o,r,n),this.type=5}_$AI(t,i=this){if((t=ie(this,t,i,0)??_)===be)return;let o=this._$AH,r=t===_&&o!==_||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==_&&(o===_||r);r&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Be=class{constructor(t,i,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ie(this,t)}};var Ai=ze.litHtmlPolyfillSupport;Ai?.(ve,Ce),(ze.litHtmlVersions??=[]).push("3.3.3");var Ge=e=>e??_;var w=h(O());var gt=Symbol.for(""),Ei=e=>{if(e?.r===gt)return e?._$litStatic$},ke=e=>({_$litStatic$:e,r:gt});var yt=new Map,Ve=e=>(t,...i)=>{let o=i.length,r,n,l=[],p=[],d,m=0,S=!1;for(;m<o;){for(d=t[m];m<o&&(n=i[m],(r=Ei(n))!==void 0);)d+=r+t[++m],S=!0;m!==o&&p.push(n),l.push(d),m++}if(m===o&&l.push(t[o]),S){let y=l.join("$$lit$$");(t=yt.get(y))===void 0&&(l.raw=l,yt.set(y,t=l)),i=p}return e(t,...i)},Ke=Ve(ct),Ui=Ve(ut),Gi=Ve(xt);var je=h(K()),Lt=h(O());var I;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button"})(I||(I={}));var H=h(P()),a=h(O()),bt=a.FtCssVariableFactory.extend("--ft-typography-font-family","",a.designSystemVariables.titleFont),G=a.FtCssVariableFactory.extend("--ft-typography-font-family","",a.designSystemVariables.contentFont),f={fontFamily:G,fontSize:a.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:a.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:a.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:a.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:a.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},re={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-title-font-family","",bt),fontSize:a.FtCssVariableFactory.extend("--ft-typography-title-font-size","",f.fontSize,"20px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",f.letterSpacing,"0.15px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-title-line-height","",f.lineHeight,"1.2"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",f.textTransform,"inherit")},ne={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",bt),fontSize:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",f.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",f.letterSpacing,"0.105px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",f.lineHeight,"1.7"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",f.textTransform,"inherit")},le={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",f.fontSize,"16px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",f.fontWeight,"600"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",f.letterSpacing,"0.144px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",f.lineHeight,"1.5"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",f.textTransform,"inherit")},se={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",f.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",f.letterSpacing,"0.098px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",f.lineHeight,"1.7"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",f.textTransform,"inherit")},U={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",f.fontSize,"16px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",f.letterSpacing,"0.496px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",f.lineHeight,"1.5"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",f.textTransform,"inherit")},ae={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",f.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",f.letterSpacing,"0.252px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",f.lineHeight,"1.4"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",f.textTransform,"inherit")},N={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",f.fontSize,"12px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",f.letterSpacing,"0.396px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",f.lineHeight,"1.33"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",f.textTransform,"inherit")},pe={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",f.fontSize,"10px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",f.letterSpacing,"0.33px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",f.lineHeight,"1.6"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",f.textTransform,"inherit")},fe={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",f.fontSize,"10px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",f.letterSpacing,"1.5px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",f.lineHeight,"1.6"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",f.textTransform,"uppercase")},de={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-button-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-button-font-size","",f.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",f.fontWeight,"600"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",f.letterSpacing,"1.246px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-button-line-height","",f.lineHeight,"1.15"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",f.textTransform,"uppercase")},vt=H.css`
4
4
  .ft-typography--title {
5
5
  font-family: ${re.fontFamily};
6
6
  font-size: ${re.fontSize};
@@ -9,7 +9,7 @@
9
9
  line-height: ${re.lineHeight};
10
10
  text-transform: ${re.textTransform};
11
11
  }
12
- `,vt=H.css`
12
+ `,St=H.css`
13
13
  .ft-typography--title-dense {
14
14
  font-family: ${ne.fontFamily};
15
15
  font-size: ${ne.fontSize};
@@ -18,7 +18,7 @@
18
18
  line-height: ${ne.lineHeight};
19
19
  text-transform: ${ne.textTransform};
20
20
  }
21
- `,St=H.css`
21
+ `,_t=H.css`
22
22
  .ft-typography--subtitle1 {
23
23
  font-family: ${le.fontFamily};
24
24
  font-size: ${le.fontSize};
@@ -27,7 +27,7 @@
27
27
  line-height: ${le.lineHeight};
28
28
  text-transform: ${le.textTransform};
29
29
  }
30
- `,_t=H.css`
30
+ `,At=H.css`
31
31
  .ft-typography--subtitle2 {
32
32
  font-family: ${se.fontFamily};
33
33
  font-size: ${se.fontSize};
@@ -37,7 +37,7 @@
37
37
  text-transform: ${se.textTransform};
38
38
  }
39
39
 
40
- `,At=H.css`
40
+ `,Et=H.css`
41
41
  .ft-typography--body1 {
42
42
  font-family: ${U.fontFamily};
43
43
  font-size: ${U.fontSize};
@@ -64,7 +64,7 @@
64
64
  line-height: ${N.lineHeight};
65
65
  text-transform: ${N.textTransform};
66
66
  }
67
- `,Et=H.css`
67
+ `,Ot=H.css`
68
68
  .ft-typography--breadcrumb {
69
69
  font-family: ${pe.fontFamily};
70
70
  font-size: ${pe.fontSize};
@@ -73,7 +73,7 @@
73
73
  line-height: ${pe.lineHeight};
74
74
  text-transform: ${pe.textTransform};
75
75
  }
76
- `,Ot=H.css`
76
+ `,$t=H.css`
77
77
  .ft-typography--overline {
78
78
  font-family: ${fe.fontFamily};
79
79
  font-size: ${fe.fontSize};
@@ -82,7 +82,7 @@
82
82
  line-height: ${fe.lineHeight};
83
83
  text-transform: ${fe.textTransform};
84
84
  }
85
- `,$t=H.css`
85
+ `,Tt=H.css`
86
86
  .ft-typography--button {
87
87
  font-family: ${de.fontFamily};
88
88
  font-size: ${de.fontSize};
@@ -91,11 +91,11 @@
91
91
  line-height: ${de.lineHeight};
92
92
  text-transform: ${de.textTransform};
93
93
  }
94
- `,Tt=H.css`
94
+ `,Ct=H.css`
95
95
  .ft-typography {
96
96
  vertical-align: inherit;
97
97
  }
98
- `;var Ct=function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,o);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(n=(r<3?l(n):r>3?l(t,i,n):l(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},k=class extends Rt.FtLitElement{constructor(){super(...arguments),this.variant=I.body1}render(){return this.element?Ke`
98
+ `;var Rt=function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,o);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(n=(r<3?l(n):r>3?l(t,i,n):l(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},k=class extends Lt.FtLitElement{constructor(){super(...arguments),this.variant=I.body1}render(){return this.element?Ke`
99
99
  <${ke(this.element)}
100
100
  part="text"
101
101
  class="ft-typography ft-typography--${this.variant}">
@@ -103,7 +103,7 @@
103
103
  </${ke(this.element)}>
104
104
  `:Ke`
105
105
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
106
- `}};k.styles=[bt,vt,St,_t,At,Re,he,Et,Ot,$t,Tt];Ct([(0,je.property)()],k.prototype,"element",void 0);Ct([(0,je.property)()],k.prototype,"variant",void 0);var Nt=h(O());var Lt={"ft-typography":k};(0,Nt.customElements)(Lt);var Le=h(K());var Dt=h(P()),g=h(O());var x={fontSize:g.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:g.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:g.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:g.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:g.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:g.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:g.FtCssVariableFactory.extend("--ft-input-label-border-color","",g.designSystemVariables.colorOutline),textColor:g.FtCssVariableFactory.extend("--ft-input-label-text-color","",g.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:g.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",g.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:g.FtCssVariableFactory.extend("--ft-input-label-background-color","",g.designSystemVariables.colorSurface),borderRadius:g.FtCssVariableFactory.extend("--ft-input-label-border-radius","",g.designSystemVariables.borderRadiusS),colorError:g.FtCssVariableFactory.external(g.designSystemVariables.colorError,"Design system")},Pt=Dt.css`
106
+ `}};k.styles=[vt,St,_t,At,Et,Re,he,Ot,$t,Tt,Ct];Rt([(0,je.property)()],k.prototype,"element",void 0);Rt([(0,je.property)()],k.prototype,"variant",void 0);var Dt=h(O());var Nt={"ft-typography":k};(0,Dt.customElements)(Nt);var Le=h(K());var Pt=h(P()),g=h(O());var x={fontSize:g.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:g.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:g.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:g.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:g.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:g.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:g.FtCssVariableFactory.extend("--ft-input-label-border-color","",g.designSystemVariables.colorOutline),textColor:g.FtCssVariableFactory.extend("--ft-input-label-text-color","",g.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:g.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",g.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:g.FtCssVariableFactory.extend("--ft-input-label-background-color","",g.designSystemVariables.colorSurface),borderRadius:g.FtCssVariableFactory.extend("--ft-input-label-border-radius","",g.designSystemVariables.borderRadiusS),colorError:g.FtCssVariableFactory.external(g.designSystemVariables.colorError,"Design system")},Ht=Pt.css`
107
107
  .ft-input-label {
108
108
  position: absolute;
109
109
  inset: 0;
@@ -225,8 +225,8 @@
225
225
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
226
226
  border-top: none;
227
227
  }
228
- `;var Ze=h(P()),Ye=h(K());var wt=h(xe()),Mt=h(O()),Ht=function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,o);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(n=(r<3?l(n):r>3?l(t,i,n):l(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},F=class extends Mt.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return Ze.html`
229
- <div class="${(0,wt.classMap)(this.inputLabelClasses)}">
228
+ `;var Ze=h(P()),Ye=h(K());var Mt=h(xe()),Bt=h(O()),wt=function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,o);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(n=(r<3?l(n):r>3?l(t,i,n):l(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},F=class extends Bt.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return Ze.html`
229
+ <div class="${(0,Mt.classMap)(this.inputLabelClasses)}">
230
230
  ${me(this.text,()=>Ze.html`
231
231
  <div class="ft-input-label--text ft-typography--caption">
232
232
  <label class="ft-input-label--floating-text">${this.text}</label>
@@ -234,7 +234,7 @@
234
234
  </div>
235
235
  `)}
236
236
  </div>
237
- `}};F.elementDefinitions={};Ht([(0,Ye.property)({type:String})],F.prototype,"text",void 0);Ht([(0,Ye.property)({type:Boolean})],F.prototype,"raised",void 0);var Xe=function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,o);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(n=(r<3?l(n):r>3?l(t,i,n):l(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},M=class extends F{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};M.elementDefinitions={};M.styles=[he,Pt];Xe([(0,Le.property)({type:Boolean})],M.prototype,"outlined",void 0);Xe([(0,Le.property)({type:Boolean})],M.prototype,"error",void 0);Xe([(0,Le.property)({type:Boolean})],M.prototype,"disabled",void 0);var zt=h(O());var Bt={"ft-input-label":M};(0,zt.customElements)(Bt);var Zt=h(P()),$=h(K()),Yt=h(xe()),Se=h(O());var Kt=h(P()),A=h(O()),Wt=A.FtCssVariableFactory.extend("--ft-ripple-color","",A.designSystemVariables.colorContent),C={color:Wt,backgroundColor:A.FtCssVariableFactory.extend("--ft-ripple-background-color","",Wt),opacityContentOnSurfacePressed:A.FtCssVariableFactory.external(A.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:A.FtCssVariableFactory.external(A.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:A.FtCssVariableFactory.external(A.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:A.FtCssVariableFactory.external(A.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:A.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Ut=A.FtCssVariableFactory.extend("--ft-ripple-color","",A.designSystemVariables.colorPrimary),Gt={color:Ut,backgroundColor:A.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ut)},kt=A.FtCssVariableFactory.extend("--ft-ripple-color","",A.designSystemVariables.colorSecondary),Vt={color:kt,backgroundColor:A.FtCssVariableFactory.extend("--ft-ripple-background-color","",kt)},jt=Kt.css`
237
+ `}};F.elementDefinitions={};wt([(0,Ye.property)({type:String})],F.prototype,"text",void 0);wt([(0,Ye.property)({type:Boolean})],F.prototype,"raised",void 0);var Xe=function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,o);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(n=(r<3?l(n):r>3?l(t,i,n):l(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},M=class extends F{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};M.elementDefinitions={};M.styles=[he,Ht];Xe([(0,Le.property)({type:Boolean})],M.prototype,"outlined",void 0);Xe([(0,Le.property)({type:Boolean})],M.prototype,"error",void 0);Xe([(0,Le.property)({type:Boolean})],M.prototype,"disabled",void 0);var Wt=h(O());var zt={"ft-input-label":M};(0,Wt.customElements)(zt);var Yt=h(P()),$=h(K()),Xt=h(xe()),Se=h(O());var jt=h(P()),A=h(O()),Ut=A.FtCssVariableFactory.extend("--ft-ripple-color","",A.designSystemVariables.colorContent),C={color:Ut,backgroundColor:A.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ut),opacityContentOnSurfacePressed:A.FtCssVariableFactory.external(A.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:A.FtCssVariableFactory.external(A.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:A.FtCssVariableFactory.external(A.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:A.FtCssVariableFactory.external(A.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:A.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Gt=A.FtCssVariableFactory.extend("--ft-ripple-color","",A.designSystemVariables.colorPrimary),kt={color:Gt,backgroundColor:A.FtCssVariableFactory.extend("--ft-ripple-background-color","",Gt)},Vt=A.FtCssVariableFactory.extend("--ft-ripple-color","",A.designSystemVariables.colorSecondary),Kt={color:Vt,backgroundColor:A.FtCssVariableFactory.extend("--ft-ripple-background-color","",Vt)},Zt=jt.css`
238
238
  :host {
239
239
  display: contents;
240
240
  }
@@ -289,19 +289,19 @@
289
289
  }
290
290
 
291
291
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
292
- background-color: ${Vt.backgroundColor};
292
+ background-color: ${Kt.backgroundColor};
293
293
  }
294
294
 
295
295
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
296
- background-color: ${Vt.color};
296
+ background-color: ${Kt.color};
297
297
  }
298
298
 
299
299
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
300
- background-color: ${Gt.backgroundColor};
300
+ background-color: ${kt.backgroundColor};
301
301
  }
302
302
 
303
303
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
304
- background-color: ${Gt.color};
304
+ background-color: ${kt.color};
305
305
  }
306
306
 
307
307
  .ft-ripple .ft-ripple--background {
@@ -346,18 +346,18 @@
346
346
  opacity: ${C.opacityContentOnSurfacePressed};
347
347
  transform: translate(-50%, -50%) scale(1);
348
348
  }
349
- `;var R=function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,o);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(n=(r<3?l(n):r>3?l(t,i,n):l(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},b=class extends Se.FtLitElement{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 Se.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Se.Debouncer(10),this.moveRipple=t=>{var i,o;let{x:r,y:n}=this.getCoordinates(t),l=(o=(i=this.ripple)===null||i===void 0?void 0:i.getBoundingClientRect())!==null&&o!==void 0?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(r!=null?r-l.x:l.width/2),this.originY=Math.round(n!=null?n-l.y:l.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(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 Zt.html`
349
+ `;var R=function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,o);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(n=(r<3?l(n):r>3?l(t,i,n):l(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},b=class extends Se.FtLitElement{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 Se.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Se.Debouncer(10),this.moveRipple=t=>{var i,o;let{x:r,y:n}=this.getCoordinates(t),l=(o=(i=this.ripple)===null||i===void 0?void 0:i.getBoundingClientRect())!==null&&o!==void 0?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(r!=null?r-l.x:l.width/2),this.originY=Math.round(n!=null?n-l.y:l.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(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 Yt.html`
350
350
  <style>
351
351
  .ft-ripple .ft-ripple--effect {
352
352
  left: ${this.originX}px;
353
353
  top: ${this.originY}px;
354
354
  }
355
355
  </style>
356
- <div class="${(0,Yt.classMap)(t)}">
356
+ <div class="${(0,Xt.classMap)(t)}">
357
357
  <div class="ft-ripple--background"></div>
358
358
  <div class="ft-ripple--effect"></div>
359
359
  </div>
360
- `}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 i,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(i=this.target)===null||i===void 0||i.removeAttribute("data-is-ft-ripple-target")):(o=this.target)===null||o===void 0||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,i;let o=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;o&&this.setupFor((i=this.target)!==null&&i!==void 0?i:o)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}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");let i=(...p)=>d=>{p.forEach(m=>window.addEventListener(m,this.endPress,{once:!0})),this.startPress(d)},o=i("mouseup","contextmenu"),r=i("touchend","touchcancel"),n=p=>{["Enter"," "].includes(p.key)&&i("keyup")(p)},l={passive:!0};t.addEventListener("mouseover",this.startHover,l),t.addEventListener("mousemove",this.moveRipple,l),t.addEventListener("mouseleave",this.endHover,l),t.addEventListener("mousedown",o,l),t.addEventListener("touchstart",r,l),t.addEventListener("touchmove",this.moveRipple,l),t.addEventListener("keydown",n,l),t.addEventListener("focus",this.startFocus,l),t.addEventListener("blur",this.endFocus,l),t.addEventListener("focusin",this.startFocus,l),t.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,l),t.removeEventListener("mousemove",this.moveRipple,l),t.removeEventListener("mouseleave",this.endHover,l),t.removeEventListener("mousedown",o,l),t.removeEventListener("touchstart",r,l),t.removeEventListener("touchmove",this.moveRipple,l),t.removeEventListener("keydown",n,l),t.removeEventListener("focus",this.startFocus,l),t.removeEventListener("blur",this.endFocus,l),t.removeEventListener("focusin",this.startFocus,l),t.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let i=t,o=t,r,n;return i.x!=null?{x:r,y:n}=i:o.touches!=null&&(r=o.touches[0].clientX,n=o.touches[0].clientY),{x:r,y:n}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};b.elementDefinitions={};b.styles=jt;R([(0,$.property)({type:Boolean})],b.prototype,"primary",void 0);R([(0,$.property)({type:Boolean})],b.prototype,"secondary",void 0);R([(0,$.property)({type:Boolean})],b.prototype,"unbounded",void 0);R([(0,$.property)({type:Boolean})],b.prototype,"activated",void 0);R([(0,$.property)({type:Boolean})],b.prototype,"selected",void 0);R([(0,$.property)({type:Boolean})],b.prototype,"disabled",void 0);R([(0,$.state)()],b.prototype,"hovered",void 0);R([(0,$.state)()],b.prototype,"focused",void 0);R([(0,$.state)()],b.prototype,"pressed",void 0);R([(0,$.state)()],b.prototype,"rippling",void 0);R([(0,$.state)()],b.prototype,"originX",void 0);R([(0,$.state)()],b.prototype,"originY",void 0);R([(0,$.query)(".ft-ripple")],b.prototype,"ripple",void 0);R([(0,$.query)(".ft-ripple--effect")],b.prototype,"rippleEffect",void 0);var qt=h(O());var Xt={"ft-ripple":b};(0,qt.customElements)(Xt);var Jt=h(P()),z=h(O()),B={size:z.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:z.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",z.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:z.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",z.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:z.FtCssVariableFactory.extend("--ft-icon-material-font-family","",z.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:z.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Qt=[Jt.css`
360
+ `}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 i,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(i=this.target)===null||i===void 0||i.removeAttribute("data-is-ft-ripple-target")):(o=this.target)===null||o===void 0||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,i;let o=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;o&&this.setupFor((i=this.target)!==null&&i!==void 0?i:o)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}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");let i=(...p)=>d=>{p.forEach(m=>window.addEventListener(m,this.endPress,{once:!0})),this.startPress(d)},o=i("mouseup","contextmenu"),r=i("touchend","touchcancel"),n=p=>{["Enter"," "].includes(p.key)&&i("keyup")(p)},l={passive:!0};t.addEventListener("mouseover",this.startHover,l),t.addEventListener("mousemove",this.moveRipple,l),t.addEventListener("mouseleave",this.endHover,l),t.addEventListener("mousedown",o,l),t.addEventListener("touchstart",r,l),t.addEventListener("touchmove",this.moveRipple,l),t.addEventListener("keydown",n,l),t.addEventListener("focus",this.startFocus,l),t.addEventListener("blur",this.endFocus,l),t.addEventListener("focusin",this.startFocus,l),t.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,l),t.removeEventListener("mousemove",this.moveRipple,l),t.removeEventListener("mouseleave",this.endHover,l),t.removeEventListener("mousedown",o,l),t.removeEventListener("touchstart",r,l),t.removeEventListener("touchmove",this.moveRipple,l),t.removeEventListener("keydown",n,l),t.removeEventListener("focus",this.startFocus,l),t.removeEventListener("blur",this.endFocus,l),t.removeEventListener("focusin",this.startFocus,l),t.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let i=t,o=t,r,n;return i.x!=null?{x:r,y:n}=i:o.touches!=null&&(r=o.touches[0].clientX,n=o.touches[0].clientY),{x:r,y:n}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};b.elementDefinitions={};b.styles=Zt;R([(0,$.property)({type:Boolean})],b.prototype,"primary",void 0);R([(0,$.property)({type:Boolean})],b.prototype,"secondary",void 0);R([(0,$.property)({type:Boolean})],b.prototype,"unbounded",void 0);R([(0,$.property)({type:Boolean})],b.prototype,"activated",void 0);R([(0,$.property)({type:Boolean})],b.prototype,"selected",void 0);R([(0,$.property)({type:Boolean})],b.prototype,"disabled",void 0);R([(0,$.state)()],b.prototype,"hovered",void 0);R([(0,$.state)()],b.prototype,"focused",void 0);R([(0,$.state)()],b.prototype,"pressed",void 0);R([(0,$.state)()],b.prototype,"rippling",void 0);R([(0,$.state)()],b.prototype,"originX",void 0);R([(0,$.state)()],b.prototype,"originY",void 0);R([(0,$.query)(".ft-ripple")],b.prototype,"ripple",void 0);R([(0,$.query)(".ft-ripple--effect")],b.prototype,"rippleEffect",void 0);var Jt=h(O());var qt={"ft-ripple":b};(0,Jt.customElements)(qt);var Qt=h(P()),z=h(O()),B={size:z.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:z.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",z.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:z.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",z.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:z.FtCssVariableFactory.extend("--ft-icon-material-font-family","",z.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:z.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},It=[Qt.css`
361
361
  :host, i.ft-icon {
362
362
  display: inline-flex;
363
363
  align-items: center;
@@ -405,12 +405,12 @@
405
405
  .ft-icon--material {
406
406
  font-family: ${B.materialFontFamily}, "Material Icons", sans-serif;
407
407
  }
408
- `,z.noTextSelect];var Z;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Z||(Z={}));var _e=h(P()),Y=h(K()),ei=h(O()),ti=h(Ft());var ee;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.GRIP_LINES_SOLID="&#xe99d;",e.TRANSLATE_SPARKLE_SOLID="&#xe99e;",e.CODE="&#xe99f;",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",e.PAPER_PLANE_SLASH="&#xe9a1;",e.COMPRESS="&#xe9a2;",e.EXPAND="&#xe9a3;",e.ARROW_ROTATE_LEFT="&#xe9a4;",e.MOBILE_SMALL="&#xe9a5;",e.SPARKLES="&#xe9a6;",e.HAND_SOLID="&#xe9a7;",e.CLOCK_SOLID="&#xe9a8;",e.CONTEXT_MENU_CURSOR="&#xe9a9;",e.LANGUAGE_SLASH="&#xe9aa;",e.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",e.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",e.BOOKMARK_SLASH="&#xe9ad;",e.CIRCLE_PAUSE="&#xe9ae;",e.CIRCLE_PLAY="&#xe9af;",e.CIRCLE_STOP_PLAIN="&#xe9b0;",e.CIRCLE_ARROW_DOWN="&#xe9b1;",e.SHARE_NODES="&#xe9b2;",e.BELL="&#xe9b3;",e.BELL_SLASH="&#xe9b4;",e.FILE="&#xe9b5;",e.HAND="&#xe9b6;",e.SQUARE_INFO_SOLID="&#xe9b7;",e.FILE_CODE="&#xe9b8;",e.BOX_CODE="&#xe9b9;",e.TOPICS_SOLID="&#xe9ba;",e.PHOTO_FILM="&#xe9bb;",e.HYPHEN_SOLID="&#xe9bc;",e.CROSSHAIRS="&#xe9bd;",e.PERSON_CHALKBOARD="&#xe9be;",e.CIRCLE_ARROW_DOWN_SLASH="&#xe9bf;",e.BOOK_OPEN_COVER="&#xe9c0;",e.LIGHTBULB="&#xe9c1;",e.MESSAGE_BOT_AGENTIC_SOLID="&#xe9c2;",e.CHART_LINE_USER="&#xe9c3;",e.SERVER_CIRCLE_ARROW_DOWN="&#xe9c4;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(ee||(ee={}));var s;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(s||(s={}));var wo=new Map([...["abw"].map(e=>[e,s.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,s.AUDIO]),...["avi"].map(e=>[e,s.AVI]),...["chm","xhs"].map(e=>[e,s.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,s.CODE]),...["csv"].map(e=>[e,s.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,s.DITA]),...["epub"].map(e=>[e,s.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,s.EXCEL]),...["flac"].map(e=>[e,s.FLAC]),...["gif"].map(e=>[e,s.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,s.GZIP]),...["html","htm","xhtml"].map(e=>[e,s.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,s.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,s.JPEG]),...["json"].map(e=>[e,s.JSON]),...["m4a","m4p"].map(e=>[e,s.M4A]),...["mov","qt"].map(e=>[e,s.MOV]),...["mp3"].map(e=>[e,s.MP3]),...["mp4","m4v"].map(e=>[e,s.MP4]),...["ogg","oga"].map(e=>[e,s.OGG]),...["pdf","ps"].map(e=>[e,s.PDF]),...["png"].map(e=>[e,s.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,s.POWERPOINT]),...["rar"].map(e=>[e,s.RAR]),...["stp"].map(e=>[e,s.STP]),...["txt","rtf","md","mdown"].map(e=>[e,s.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,s.VIDEO]),...["wav"].map(e=>[e,s.WAV]),...["wma"].map(e=>[e,s.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,s.WORD]),...["xml","xsl","rdf"].map(e=>[e,s.XML]),...["yaml","yml","x-yaml"].map(e=>[e,s.YAML]),...["zip"].map(e=>[e,s.ZIP])]);var Mo={[s.ABW]:"#91ABC6",[s.AUDIO]:"#1795E3",[s.AVI]:"#E63324",[s.CHM]:"#71C3EB",[s.CODE]:"#71C3EB",[s.CSV]:"#1F7345",[s.DITA]:"#71C3EB",[s.EPUB]:"#85B926",[s.EXCEL]:"#1F7345",[s.FLAC]:"#1795E3",[s.GIF]:"#59B031",[s.GZIP]:"#F8AB36",[s.HTML]:"#71C3EB",[s.IMAGE]:"#59B031",[s.JPEG]:"#59B031",[s.JSON]:"#71C3EB",[s.M4A]:"#1795E3",[s.MOV]:"#E63324",[s.MP3]:"#1795E3",[s.MP4]:"#E63324",[s.OGG]:"#1795E3",[s.PDF]:"#E44948",[s.PNG]:"#59B031",[s.POWERPOINT]:"#B54A2B",[s.RAR]:"#F8AB36",[s.STP]:"#3764B1",[s.TEXT]:"#3162AB",[s.UNKNOWN]:"#999999",[s.VIDEO]:"#E63324",[s.WAV]:"#1795E3",[s.WMA]:"#1795E3",[s.WORD]:"#3162AB",[s.XML]:"#71C3EB",[s.YAML]:"#71C3EB",[s.ZIP]:"#F8AB36"};var Ae=function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,o);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(n=(r<3?l(n):r>3?l(t,i,n):l(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},D=class extends ei.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=_e.nothing}render(){let t=this.variant&&Object.values(Z).includes(this.variant)?this.variant:Z.fluid_topics,i=t!==Z.material||!!this.value;return _e.html`
408
+ `,z.noTextSelect];var Z;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Z||(Z={}));var _e=h(P()),Y=h(K()),ti=h(O()),ii=h(ei());var ee;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.GRIP_LINES_SOLID="&#xe99d;",e.TRANSLATE_SPARKLE_SOLID="&#xe99e;",e.CODE="&#xe99f;",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",e.PAPER_PLANE_SLASH="&#xe9a1;",e.COMPRESS="&#xe9a2;",e.EXPAND="&#xe9a3;",e.ARROW_ROTATE_LEFT="&#xe9a4;",e.MOBILE_SMALL="&#xe9a5;",e.SPARKLES="&#xe9a6;",e.HAND_SOLID="&#xe9a7;",e.CLOCK_SOLID="&#xe9a8;",e.CONTEXT_MENU_CURSOR="&#xe9a9;",e.LANGUAGE_SLASH="&#xe9aa;",e.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",e.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",e.BOOKMARK_SLASH="&#xe9ad;",e.CIRCLE_PAUSE="&#xe9ae;",e.CIRCLE_PLAY="&#xe9af;",e.CIRCLE_STOP_PLAIN="&#xe9b0;",e.CIRCLE_ARROW_DOWN="&#xe9b1;",e.SHARE_NODES="&#xe9b2;",e.BELL="&#xe9b3;",e.BELL_SLASH="&#xe9b4;",e.FILE="&#xe9b5;",e.HAND="&#xe9b6;",e.SQUARE_INFO_SOLID="&#xe9b7;",e.FILE_CODE="&#xe9b8;",e.BOX_CODE="&#xe9b9;",e.TOPICS_SOLID="&#xe9ba;",e.PHOTO_FILM="&#xe9bb;",e.HYPHEN_SOLID="&#xe9bc;",e.CROSSHAIRS="&#xe9bd;",e.PERSON_CHALKBOARD="&#xe9be;",e.CIRCLE_ARROW_DOWN_SLASH="&#xe9bf;",e.BOOK_OPEN_COVER="&#xe9c0;",e.LIGHTBULB="&#xe9c1;",e.MESSAGE_BOT_AGENTIC_SOLID="&#xe9c2;",e.CHART_LINE_USER="&#xe9c3;",e.SERVER_CIRCLE_ARROW_DOWN="&#xe9c4;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(ee||(ee={}));var s;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(s||(s={}));var Mo=new Map([...["abw"].map(e=>[e,s.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,s.AUDIO]),...["avi"].map(e=>[e,s.AVI]),...["chm","xhs"].map(e=>[e,s.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,s.CODE]),...["csv"].map(e=>[e,s.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,s.DITA]),...["epub"].map(e=>[e,s.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,s.EXCEL]),...["flac"].map(e=>[e,s.FLAC]),...["gif"].map(e=>[e,s.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,s.GZIP]),...["html","htm","xhtml"].map(e=>[e,s.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,s.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,s.JPEG]),...["json"].map(e=>[e,s.JSON]),...["m4a","m4p"].map(e=>[e,s.M4A]),...["mov","qt"].map(e=>[e,s.MOV]),...["mp3"].map(e=>[e,s.MP3]),...["mp4","m4v"].map(e=>[e,s.MP4]),...["ogg","oga"].map(e=>[e,s.OGG]),...["pdf","ps"].map(e=>[e,s.PDF]),...["png"].map(e=>[e,s.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,s.POWERPOINT]),...["rar"].map(e=>[e,s.RAR]),...["stp"].map(e=>[e,s.STP]),...["txt","rtf","md","mdown"].map(e=>[e,s.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,s.VIDEO]),...["wav"].map(e=>[e,s.WAV]),...["wma"].map(e=>[e,s.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,s.WORD]),...["xml","xsl","rdf"].map(e=>[e,s.XML]),...["yaml","yml","x-yaml"].map(e=>[e,s.YAML]),...["zip"].map(e=>[e,s.ZIP])]);var Bo={[s.ABW]:"#91ABC6",[s.AUDIO]:"#1795E3",[s.AVI]:"#E63324",[s.CHM]:"#71C3EB",[s.CODE]:"#71C3EB",[s.CSV]:"#1F7345",[s.DITA]:"#71C3EB",[s.EPUB]:"#85B926",[s.EXCEL]:"#1F7345",[s.FLAC]:"#1795E3",[s.GIF]:"#59B031",[s.GZIP]:"#F8AB36",[s.HTML]:"#71C3EB",[s.IMAGE]:"#59B031",[s.JPEG]:"#59B031",[s.JSON]:"#71C3EB",[s.M4A]:"#1795E3",[s.MOV]:"#E63324",[s.MP3]:"#1795E3",[s.MP4]:"#E63324",[s.OGG]:"#1795E3",[s.PDF]:"#E44948",[s.PNG]:"#59B031",[s.POWERPOINT]:"#B54A2B",[s.RAR]:"#F8AB36",[s.STP]:"#3764B1",[s.TEXT]:"#3162AB",[s.UNKNOWN]:"#999999",[s.VIDEO]:"#E63324",[s.WAV]:"#1795E3",[s.WMA]:"#1795E3",[s.WORD]:"#3162AB",[s.XML]:"#71C3EB",[s.YAML]:"#71C3EB",[s.ZIP]:"#F8AB36"};var Ae=function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,o);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(n=(r<3?l(n):r>3?l(t,i,n):l(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},D=class extends ti.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=_e.nothing}render(){let t=this.variant&&Object.values(Z).includes(this.variant)?this.variant:Z.fluid_topics,i=t!==Z.material||!!this.value;return _e.html`
409
409
  <i class="ft-icon ft-icon--${t} ft-no-text-select" part="icon icon-${t}">
410
- ${(0,ti.unsafeHTML)(this.resolvedIcon)}
410
+ ${(0,ii.unsafeHTML)(this.resolvedIcon)}
411
411
  <slot ?hidden=${i}></slot>
412
412
  </i>
413
- `}getTextContent(){var t,i;return(i=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&i!==void 0?i:""}update(t){super.update(t),["value","variant"].some(i=>t.has(i))&&this.resolveIcon()}resolveIcon(){var t,i;let o=this.value||this.getTextContent();switch(this.variant){case Z.file_format:this.resolvedIcon=(t=s[o.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:o;break;case Z.material:this.resolvedIcon=this.value||_e.nothing;break;default:this.resolvedIcon=(i=ee[o.replace("-","_").toUpperCase()])!==null&&i!==void 0?i:o;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};D.elementDefinitions={};D.styles=Qt;Ae([(0,Y.property)()],D.prototype,"variant",void 0);Ae([(0,Y.property)()],D.prototype,"value",void 0);Ae([(0,Y.property)({reflect:!0,attribute:"aria-hidden"})],D.prototype,"ariaHidden",void 0);Ae([(0,Y.state)()],D.prototype,"resolvedIcon",void 0);Ae([(0,Y.query)("slot")],D.prototype,"slottedContent",void 0);var oi=h(O());var ii={"ft-icon":D};(0,oi.customElements)(ii);var ri=h(P()),c=h(O());var u={labelSize:c.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:c.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:c.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:c.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:c.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:c.FtCssVariableFactory.extend("--ft-select-selected-option-color","",c.designSystemVariables.colorOnSurface),helperColor:c.FtCssVariableFactory.extend("--ft-select-helper-color","",c.designSystemVariables.colorOnSurfaceMedium),optionsColor:c.FtCssVariableFactory.extend("--ft-select-options-color","",c.designSystemVariables.colorOnSurface),optionsZIndex:c.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:c.FtCssVariableFactory.extend("--ft-select-background-color","",c.designSystemVariables.colorSurface),colorOnSurfaceDisabled:c.FtCssVariableFactory.external(c.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:c.FtCssVariableFactory.external(c.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:c.FtCssVariableFactory.external(c.designSystemVariables.borderRadiusS,"Design system"),elevation02:c.FtCssVariableFactory.external(c.designSystemVariables.elevation02,"Design system"),colorError:c.FtCssVariableFactory.external(c.designSystemVariables.colorError,"Design system")},ni=ri.css`
413
+ `}getTextContent(){var t,i;return(i=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&i!==void 0?i:""}update(t){super.update(t),["value","variant"].some(i=>t.has(i))&&this.resolveIcon()}resolveIcon(){var t,i;let o=this.value||this.getTextContent();switch(this.variant){case Z.file_format:this.resolvedIcon=(t=s[o.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:o;break;case Z.material:this.resolvedIcon=this.value||_e.nothing;break;default:this.resolvedIcon=(i=ee[o.replace("-","_").toUpperCase()])!==null&&i!==void 0?i:o;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};D.elementDefinitions={};D.styles=It;Ae([(0,Y.property)()],D.prototype,"variant",void 0);Ae([(0,Y.property)()],D.prototype,"value",void 0);Ae([(0,Y.property)({reflect:!0,attribute:"aria-hidden"})],D.prototype,"ariaHidden",void 0);Ae([(0,Y.state)()],D.prototype,"resolvedIcon",void 0);Ae([(0,Y.query)("slot")],D.prototype,"slottedContent",void 0);var ri=h(O());var oi={"ft-icon":D};(0,ri.customElements)(oi);var ni=h(P()),c=h(O());var u={labelSize:c.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:c.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:c.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:c.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:c.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:c.FtCssVariableFactory.extend("--ft-select-selected-option-color","",c.designSystemVariables.colorOnSurface),helperColor:c.FtCssVariableFactory.extend("--ft-select-helper-color","",c.designSystemVariables.colorOnSurfaceMedium),optionsColor:c.FtCssVariableFactory.extend("--ft-select-options-color","",c.designSystemVariables.colorOnSurface),optionsZIndex:c.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:c.FtCssVariableFactory.extend("--ft-select-background-color","",c.designSystemVariables.colorSurface),colorOnSurfaceDisabled:c.FtCssVariableFactory.external(c.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:c.FtCssVariableFactory.external(c.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:c.FtCssVariableFactory.external(c.designSystemVariables.borderRadiusS,"Design system"),elevation02:c.FtCssVariableFactory.external(c.designSystemVariables.elevation02,"Design system"),colorError:c.FtCssVariableFactory.external(c.designSystemVariables.colorError,"Design system")},li=ni.css`
414
414
  *:focus {
415
415
  outline: none;
416
416
  }
@@ -546,7 +546,7 @@
546
546
  .ft-select:not(.ft-select--has-option-selected) .ft-select--selected-option {
547
547
  opacity: 0;
548
548
  }
549
- `;var Ne=h(O());var ce=h(P()),ai=h(xe()),X=h(K());var qe=h(O());var li=h(P()),si=li.css`
549
+ `;var Ne=h(O());var ce=h(P()),pi=h(xe()),X=h(K());var qe=h(O());var si=h(P()),ai=si.css`
550
550
  .ft-select--option {
551
551
  ${(0,qe.setVariable)(C.opacityContentOnSurfaceHover,"0.08")};
552
552
  ${(0,qe.setVariable)(C.opacityContentOnSurfacePressed,"0.04")};
@@ -574,7 +574,7 @@
574
574
  }
575
575
 
576
576
  `;var Ee=function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,o);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(n=(r<3?l(n):r>3?l(t,i,n):l(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},L=class extends Ne.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.isSlotEmpty=!0}render(){var t,i;let o={"ft-select--option":!0,"ft-select--option-selected":this.selected,"ft-typography--body2":!0};return ce.html`
577
- <div class="${(0,ai.classMap)(o)}"
577
+ <div class="${(0,pi.classMap)(o)}"
578
578
  part="option option-${(i=(t=this.value)===null||t===void 0?void 0:t.toString())===null||i===void 0?void 0:i.replace(/[^\w-]/g,"")}"
579
579
  tabindex="0"
580
580
  aria-label="${this.label}"
@@ -585,8 +585,8 @@
585
585
  </slot>
586
586
  ${this.isSlotEmpty?ce.html`<span>${this.label}</span>`:ce.html``}
587
587
  </div>
588
- `}onSlotChange(){this.isSlotEmpty=(0,Ne.isSlotEmptyOrWithoutContent)(this.slotElement)}onClick(){this.dispatchEvent(new Event("select-option",{bubbles:!0,composed:!0}))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};L.elementDefinitions={"ft-ripple":b};L.shadowRootOptions={...ce.LitElement.shadowRootOptions,delegatesFocus:!0};L.styles=[si,Re];Ee([(0,X.property)({type:String})],L.prototype,"label",void 0);Ee([(0,X.property)({type:Object,converter:e=>e})],L.prototype,"value",void 0);Ee([(0,X.property)({type:Boolean,reflect:!0})],L.prototype,"selected",void 0);Ee([(0,X.query)("slot")],L.prototype,"slotElement",void 0);Ee([(0,X.state)()],L.prototype,"isSlotEmpty",void 0);var T=function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,o);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(n=(r<3?l(n):r>3?l(t,i,n):l(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};var v=class e extends w.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.isSlotEmpty=!0,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}get firstOption(){return this.optionsList[0]}get optionsList(){let t=[...this.querySelectorAll("ft-select-option")];return t.length>0?t:[...this.shadowRoot.querySelectorAll("ft-select-option")]}get focusedOption(){return this.optionsList.find(t=>t.matches(":focus-within"))}get selectedOptionElement(){return this.optionsList.find(t=>t.selected)}get lastOption(){return(0,w.last)(this.optionsList)}render(){var t,i,o,r,n;let l=this.hasOptionsMenuOpen,p=this.disabled||!this.hasOptions,d=((t=this.selectedOption)===null||t===void 0?void 0:t.value)!=null||((o=(i=this.selectedOption)===null||i===void 0?void 0:i.label)!==null&&o!==void 0?o:"").length>0,m={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":p,"ft-select--options-displayed":l,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return ue.html`
589
- <div class="${(0,pi.classMap)(m)}" part="container">
588
+ `}onSlotChange(){this.isSlotEmpty=(0,Ne.isSlotEmptyOrWithoutContent)(this.slotElement)}onClick(){this.dispatchEvent(new Event("select-option",{bubbles:!0,composed:!0}))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};L.elementDefinitions={"ft-ripple":b};L.shadowRootOptions={...ce.LitElement.shadowRootOptions,delegatesFocus:!0};L.styles=[ai,Re];Ee([(0,X.property)({type:String})],L.prototype,"label",void 0);Ee([(0,X.property)({type:Object,converter:e=>e})],L.prototype,"value",void 0);Ee([(0,X.property)({type:Boolean,reflect:!0})],L.prototype,"selected",void 0);Ee([(0,X.query)("slot")],L.prototype,"slotElement",void 0);Ee([(0,X.state)()],L.prototype,"isSlotEmpty",void 0);var T=function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,o);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(n=(r<3?l(n):r>3?l(t,i,n):l(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};var v=class e extends w.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.isSlotEmpty=!0,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}get firstOption(){return this.optionsList[0]}get optionsList(){let t=[...this.querySelectorAll("ft-select-option")];return t.length>0?t:[...this.shadowRoot.querySelectorAll("ft-select-option")]}get focusedOption(){return this.optionsList.find(t=>t.matches(":focus-within"))}get selectedOptionElement(){return this.optionsList.find(t=>t.selected)}get lastOption(){return(0,w.last)(this.optionsList)}render(){var t,i,o,r,n;let l=this.hasOptionsMenuOpen,p=this.disabled||!this.hasOptions,d=((t=this.selectedOption)===null||t===void 0?void 0:t.value)!=null||((o=(i=this.selectedOption)===null||i===void 0?void 0:i.label)!==null&&o!==void 0?o:"").length>0,m={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":p,"ft-select--options-displayed":l,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return ue.html`
589
+ <div class="${(0,fi.classMap)(m)}" part="container">
590
590
  <div class="ft-select--main-panel" part="main-panel">
591
591
  <ft-input-label text="${this.label}"
592
592
  part="label"
@@ -626,7 +626,7 @@
626
626
  @option-change=${this.updateOptionsFromSlot}
627
627
  >
628
628
  </slot>
629
- ${me(this.isSlotEmpty,()=>(0,fi.repeat)(this.options,S=>S.value,S=>this.renderOption(S)))}
629
+ ${me(this.isSlotEmpty,()=>(0,di.repeat)(this.options,S=>S.value,S=>this.renderOption(S)))}
630
630
  </div>
631
631
  </div>
632
632
  <slot name="helper" part="helper">
@@ -641,7 +641,7 @@
641
641
  label="${t.label}"
642
642
  .value=${t.value}
643
643
  ></ft-select-option>
644
- `}willUpdate(t){super.willUpdate(t),t.has("options")&&(this.selectedOption=this.options.filter(i=>i.selected)[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(t){var i,o;if(super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&((o=(i=this.selectedOptionElement)!==null&&i!==void 0?i:this.firstOption)===null||o===void 0||o.focus(),this.focusOptions=!1),t.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let r=["bottom","top"];(0,w.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",r,"fixed",u.optionsHeight,0).then(({x:n,y:l})=>{this.optionsMenu.style.left=`${n}px`,this.optionsMenu.style.top=`${l}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var i;t.stopPropagation(),this.isSlotEmpty=(0,w.isSlotEmptyOrWithoutContent)(this.optionsSlot);let o=(i=this.optionsSlot)===null||i===void 0?void 0:i.assignedElements().map(r=>r);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;break}}onOptionsKeyDown(t){var i,o;let r,n=this.focusedOption?this.optionsList.indexOf(this.focusedOption):0;switch(t.key){case" ":case"Enter":t.preventDefault(),t.stopPropagation(),this.onSelectOption(t),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus();break;case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),r=this.optionsList[(n-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),r=this.optionsList[(n+1)%this.optionsList.length];break;default:if(t.key.length!=1)break;this.isKeyAlphanumeric(t.key)&&(r=this.handleAlphanumericPress(t.key));break}r?.focus()}isKeyAlphanumeric(t){let i=t.charCodeAt(0);return i>47&&i<58||i>64&&i<91||i>96&&i<123}handleAlphanumericPress(t){let i=new Date;i.getTime()-this.lastSearchInputDate.getTime()>e.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=t.toLowerCase();let o=this.options.find(r=>{var n;return((n=r.label)===null||n===void 0?void 0:n.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});return this.lastSearchInputDate=i,o&&this.optionsList.find(r=>r.value===o.value)}getOptionId(t){if(!t)return;let i=this.options.findIndex(o=>(0,w.deepEqual)(o.value,t.value));if(i!==-1)return`option-${i}`}onSelectOption(t){t.stopPropagation(),this.setValue(t.target.value)}setValue(t,i=!0){let o=this.options.find(r=>(0,w.deepEqual)(r.value,t));o&&this.selectOption(o,i)}selectOption(t,i=!0){var o,r;if(!(0,w.deepEqual)((o=this.selectedOption)===null||o===void 0?void 0:o.value,t?.value)){this.selectedOption=t;for(let n of this.options)n.selected=n===t;i&&this.dispatchEvent(new CustomEvent("change",{detail:(r=this.selectedOption)===null||r===void 0?void 0:r.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};v.elementDefinitions={"ft-input-label":M,"ft-typography":k,"ft-ripple":b,"ft-icon":D,"ft-select-option":L};v.searchTimeoutMilliseconds=2e3;v.styles=[he,ni];T([(0,E.property)({type:String})],v.prototype,"label",void 0);T([(0,E.property)({type:String})],v.prototype,"ariaLabel",void 0);T([(0,E.property)({type:String})],v.prototype,"helper",void 0);T([(0,E.property)({type:Boolean})],v.prototype,"outlined",void 0);T([(0,E.property)({type:Boolean})],v.prototype,"disabled",void 0);T([(0,E.property)({type:Boolean})],v.prototype,"error",void 0);T([(0,E.property)({type:Boolean})],v.prototype,"fixedMenuPosition",void 0);T([(0,E.property)({type:Array})],v.prototype,"options",void 0);T([(0,E.state)()],v.prototype,"selectedOption",void 0);T([(0,E.state)()],v.prototype,"optionsDisplayed",void 0);T([(0,E.state)()],v.prototype,"focusOptions",void 0);T([(0,E.state)()],v.prototype,"currentSearch",void 0);T([(0,E.state)()],v.prototype,"lastSearchInputDate",void 0);T([(0,E.query)(".ft-select")],v.prototype,"container",void 0);T([(0,E.query)(".ft-select--options")],v.prototype,"optionsMenu",void 0);T([(0,E.query)(".ft-select--input-panel")],v.prototype,"mainPanel",void 0);T([(0,E.query)("slot:not([name])")],v.prototype,"optionsSlot",void 0);var di={"ft-select":v,"ft-select-option":L};(0,hi.customElements)(di);})();
644
+ `}willUpdate(t){super.willUpdate(t),t.has("options")&&(this.selectedOption=this.options.filter(i=>i.selected)[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(t){var i,o;if(super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&((o=(i=this.selectedOptionElement)!==null&&i!==void 0?i:this.firstOption)===null||o===void 0||o.focus(),this.focusOptions=!1),t.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let r=["bottom","top"];(0,w.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",r,"fixed",u.optionsHeight,0).then(({x:n,y:l})=>{this.optionsMenu.style.left=`${n}px`,this.optionsMenu.style.top=`${l}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var i;t.stopPropagation(),this.isSlotEmpty=(0,w.isSlotEmptyOrWithoutContent)(this.optionsSlot);let o=(i=this.optionsSlot)===null||i===void 0?void 0:i.assignedElements().map(r=>r);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;break}}onOptionsKeyDown(t){var i,o;let r,n=this.focusedOption?this.optionsList.indexOf(this.focusedOption):0;switch(t.key){case" ":case"Enter":t.preventDefault(),t.stopPropagation(),this.onSelectOption(t),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus();break;case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),r=this.optionsList[(n-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),r=this.optionsList[(n+1)%this.optionsList.length];break;default:if(t.key.length!=1)break;this.isKeyAlphanumeric(t.key)&&(r=this.handleAlphanumericPress(t.key));break}r?.focus()}isKeyAlphanumeric(t){let i=t.charCodeAt(0);return i>47&&i<58||i>64&&i<91||i>96&&i<123}handleAlphanumericPress(t){let i=new Date;i.getTime()-this.lastSearchInputDate.getTime()>e.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=t.toLowerCase();let o=this.options.find(r=>{var n;return((n=r.label)===null||n===void 0?void 0:n.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});return this.lastSearchInputDate=i,o&&this.optionsList.find(r=>r.value===o.value)}getOptionId(t){if(!t)return;let i=this.options.findIndex(o=>(0,w.deepEqual)(o.value,t.value));if(i!==-1)return`option-${i}`}onSelectOption(t){t.stopPropagation(),this.setValue(t.target.value)}setValue(t,i=!0){let o=this.options.find(r=>(0,w.deepEqual)(r.value,t));o&&this.selectOption(o,i)}selectOption(t,i=!0){var o,r;if(!(0,w.deepEqual)((o=this.selectedOption)===null||o===void 0?void 0:o.value,t?.value)){this.selectedOption=t;for(let n of this.options)n.selected=n===t;i&&this.dispatchEvent(new CustomEvent("change",{detail:(r=this.selectedOption)===null||r===void 0?void 0:r.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};v.elementDefinitions={"ft-input-label":M,"ft-typography":k,"ft-ripple":b,"ft-icon":D,"ft-select-option":L};v.searchTimeoutMilliseconds=2e3;v.styles=[he,li];T([(0,E.property)({type:String})],v.prototype,"label",void 0);T([(0,E.property)({type:String})],v.prototype,"ariaLabel",void 0);T([(0,E.property)({type:String})],v.prototype,"helper",void 0);T([(0,E.property)({type:Boolean})],v.prototype,"outlined",void 0);T([(0,E.property)({type:Boolean})],v.prototype,"disabled",void 0);T([(0,E.property)({type:Boolean})],v.prototype,"error",void 0);T([(0,E.property)({type:Boolean})],v.prototype,"fixedMenuPosition",void 0);T([(0,E.property)({type:Array})],v.prototype,"options",void 0);T([(0,E.state)()],v.prototype,"selectedOption",void 0);T([(0,E.state)()],v.prototype,"optionsDisplayed",void 0);T([(0,E.state)()],v.prototype,"focusOptions",void 0);T([(0,E.state)()],v.prototype,"currentSearch",void 0);T([(0,E.state)()],v.prototype,"lastSearchInputDate",void 0);T([(0,E.query)(".ft-select")],v.prototype,"container",void 0);T([(0,E.query)(".ft-select--options")],v.prototype,"optionsMenu",void 0);T([(0,E.query)(".ft-select--input-panel")],v.prototype,"mainPanel",void 0);T([(0,E.query)("slot:not([name])")],v.prototype,"optionsSlot",void 0);var hi={"ft-select":v,"ft-select-option":L};(0,ci.customElements)(hi);})();
645
645
  /*! Bundled license information:
646
646
 
647
647
  lit-html/directives/when.js: