@fluid-topics/ft-file-button 0.2.4 → 0.2.8

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.
@@ -110,115 +110,115 @@ var g;x.elementDefinitions={},x.styles=e.css`
110
110
  opacity: ${a.opacityContentOnSurfacePressed};
111
111
  transform: translate(-50%, -50%) scale(1);
112
112
  }
113
- `,r([o.property({type:Boolean})],x.prototype,"primary",void 0),r([o.property({type:Boolean})],x.prototype,"secondary",void 0),r([o.property({type:Boolean})],x.prototype,"unbounded",void 0),r([o.property({type:Boolean})],x.prototype,"activated",void 0),r([o.property({type:Boolean})],x.prototype,"selected",void 0),r([o.property({type:Boolean})],x.prototype,"disabled",void 0),r([o.state()],x.prototype,"hovered",void 0),r([o.state()],x.prototype,"focused",void 0),r([o.state()],x.prototype,"pressed",void 0),r([o.state()],x.prototype,"rippling",void 0),r([o.state()],x.prototype,"rippleSize",void 0),r([o.state()],x.prototype,"originX",void 0),r([o.state()],x.prototype,"originY",void 0),r([o.query(".ft-ripple")],x.prototype,"ripple",void 0),r([o.query(".ft-ripple--effect")],x.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(x);const y=globalThis.trustedTypes,b=y?y.createPolicy("lit-html",{createHTML:t=>t}):void 0,v=`lit$${(Math.random()+"").slice(9)}$`,m="?"+v,$=`<${m}>`,w=document,k=(t="")=>w.createComment(t),z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,S=Array.isArray,C=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,O=/-->/g,j=/>/g,N=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,A=/'/g,I=/"/g,T=/^(?:script|style|textarea|title)$/i,B=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),F=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),_=new WeakMap,M=w.createTreeWalker(w,129,null,!1),U=(t,i)=>{const e=t.length-1,o=[];let n,s=2===i?"<svg>":"",r=C;for(let i=0;i<e;i++){const e=t[i];let l,a,p=-1,h=0;for(;h<e.length&&(r.lastIndex=h,a=r.exec(e),null!==a);)h=r.lastIndex,r===C?"!--"===a[1]?r=O:void 0!==a[1]?r=j:void 0!==a[2]?(T.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=N):void 0!==a[3]&&(r=N):r===N?">"===a[0]?(r=null!=n?n:C,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?N:'"'===a[3]?I:A):r===I||r===A?r=N:r===O||r===j?r=C:(r=N,n=void 0);const f=r===N&&t[i+1].startsWith("/>")?" ":"";s+=r===C?e+$:p>=0?(o.push(l),e.slice(0,p)+"$lit$"+e.slice(p)+v+f):e+v+(-2===p?(o.push(void 0),i):f)}const l=s+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==b?b.createHTML(l):l,o]};class R{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const r=t.length-1,l=this.parts,[a,p]=U(t,i);if(this.el=R.createElement(a,e),M.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=M.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(v)){const e=p[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(v),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?G:"?"===i[1]?L:"@"===i[1]?q:H})}else l.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(T.test(o.tagName)){const t=o.textContent.split(v),i=t.length-1;if(i>0){o.textContent=y?y.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],k()),M.nextNode(),l.push({type:2,index:++n});o.append(t[i],k())}}}else if(8===o.nodeType)if(o.data===m)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(v,t+1));)l.push({type:7,index:n}),t+=v.length-1}n++}}static createElement(t,i){const e=w.createElement("template");return e.innerHTML=t,e}}function Z(t,i,e=t,o){var n,s,r,l;if(i===F)return i;let a=void 0!==o?null===(n=e._$Cl)||void 0===n?void 0:n[o]:e._$Cu;const p=z(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,e,o)),void 0!==o?(null!==(r=(l=e)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:e._$Cu=a),void 0!==a&&(i=Z(t,a._$AS(t,i.values),a,o)),i}class D{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:w).importNode(e,!0);M.currentNode=n;let s=M.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let i;2===a.type?i=new W(s,s.nextSibling,this,t):1===a.type?i=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(i=new P(s,this,t)),this.v.push(i),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=M.nextNode(),r++)}return n}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class W{constructor(t,i,e,o){var n;this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=Z(this,t,i),z(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==F&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var i;return S(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==E&&z(this._$AH)?this._$AA.nextSibling.data=t:this.S(w.createTextNode(t)),this._$AH=t}T(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=R.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.m(e);else{const t=new D(n,this),i=t.p(this.options);t.m(e),this.S(i),this._$AH=t}}_$AC(t){let i=_.get(t.strings);return void 0===i&&_.set(t.strings,i=new R(t)),i}A(t){S(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new W(this.M(k()),this.M(k()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class H{constructor(t,i,e,o,n){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=E}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let s=!1;if(void 0===n)t=Z(this,t,i,0),s=!z(t)||t!==this._$AH&&t!==F,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=Z(this,o[e+r],i,r),l===F&&(l=this._$AH[r]),s||(s=!z(l)||l!==this._$AH[r]),l===E?t=E:t!==E&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.k(t)}k(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class G extends H{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===E?void 0:t}}const K=y?y.emptyScript:"";class L extends H{constructor(){super(...arguments),this.type=4}k(t){t&&t!==E?this.element.setAttribute(this.name,K):this.element.removeAttribute(this.name)}}class q extends H{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=Z(this,t,i,0))&&void 0!==e?e:E)===F)return;const o=this._$AH,n=t===E&&o!==E||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==E&&(o===E||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class P{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Z(this,t)}}const X=window.litHtmlPolyfillSupport;null==X||X(R,W),(null!==(g=globalThis.litHtmlVersions)&&void 0!==g?g:globalThis.litHtmlVersions=[]).push("2.1.3");
113
+ `,r([o.property({type:Boolean})],x.prototype,"primary",void 0),r([o.property({type:Boolean})],x.prototype,"secondary",void 0),r([o.property({type:Boolean})],x.prototype,"unbounded",void 0),r([o.property({type:Boolean})],x.prototype,"activated",void 0),r([o.property({type:Boolean})],x.prototype,"selected",void 0),r([o.property({type:Boolean})],x.prototype,"disabled",void 0),r([o.state()],x.prototype,"hovered",void 0),r([o.state()],x.prototype,"focused",void 0),r([o.state()],x.prototype,"pressed",void 0),r([o.state()],x.prototype,"rippling",void 0),r([o.state()],x.prototype,"rippleSize",void 0),r([o.state()],x.prototype,"originX",void 0),r([o.state()],x.prototype,"originY",void 0),r([o.query(".ft-ripple")],x.prototype,"ripple",void 0),r([o.query(".ft-ripple--effect")],x.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(x);const y=globalThis.trustedTypes,b=y?y.createPolicy("lit-html",{createHTML:t=>t}):void 0,v=`lit$${(Math.random()+"").slice(9)}$`,m="?"+v,$=`<${m}>`,w=document,k=(t="")=>w.createComment(t),z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,S=Array.isArray,C=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,O=/-->/g,j=/>/g,N=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,I=/'/g,T=/"/g,A=/^(?:script|style|textarea|title)$/i,B=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),F=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),_=new WeakMap,M=w.createTreeWalker(w,129,null,!1),U=(t,i)=>{const e=t.length-1,o=[];let n,s=2===i?"<svg>":"",r=C;for(let i=0;i<e;i++){const e=t[i];let l,a,p=-1,h=0;for(;h<e.length&&(r.lastIndex=h,a=r.exec(e),null!==a);)h=r.lastIndex,r===C?"!--"===a[1]?r=O:void 0!==a[1]?r=j:void 0!==a[2]?(A.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=N):void 0!==a[3]&&(r=N):r===N?">"===a[0]?(r=null!=n?n:C,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?N:'"'===a[3]?T:I):r===T||r===I?r=N:r===O||r===j?r=C:(r=N,n=void 0);const f=r===N&&t[i+1].startsWith("/>")?" ":"";s+=r===C?e+$:p>=0?(o.push(l),e.slice(0,p)+"$lit$"+e.slice(p)+v+f):e+v+(-2===p?(o.push(void 0),i):f)}const l=s+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==b?b.createHTML(l):l,o]};class R{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const r=t.length-1,l=this.parts,[a,p]=U(t,i);if(this.el=R.createElement(a,e),M.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=M.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(v)){const e=p[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(v),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?G:"?"===i[1]?L:"@"===i[1]?q:H})}else l.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(A.test(o.tagName)){const t=o.textContent.split(v),i=t.length-1;if(i>0){o.textContent=y?y.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],k()),M.nextNode(),l.push({type:2,index:++n});o.append(t[i],k())}}}else if(8===o.nodeType)if(o.data===m)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(v,t+1));)l.push({type:7,index:n}),t+=v.length-1}n++}}static createElement(t,i){const e=w.createElement("template");return e.innerHTML=t,e}}function Z(t,i,e=t,o){var n,s,r,l;if(i===F)return i;let a=void 0!==o?null===(n=e._$Cl)||void 0===n?void 0:n[o]:e._$Cu;const p=z(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,e,o)),void 0!==o?(null!==(r=(l=e)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:e._$Cu=a),void 0!==a&&(i=Z(t,a._$AS(t,i.values),a,o)),i}class D{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:w).importNode(e,!0);M.currentNode=n;let s=M.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let i;2===a.type?i=new W(s,s.nextSibling,this,t):1===a.type?i=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(i=new P(s,this,t)),this.v.push(i),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=M.nextNode(),r++)}return n}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class W{constructor(t,i,e,o){var n;this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=Z(this,t,i),z(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==F&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var i;return S(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==E&&z(this._$AH)?this._$AA.nextSibling.data=t:this.k(w.createTextNode(t)),this._$AH=t}T(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=R.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.m(e);else{const t=new D(n,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=_.get(t.strings);return void 0===i&&_.set(t.strings,i=new R(t)),i}S(t){S(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new W(this.M(k()),this.M(k()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class H{constructor(t,i,e,o,n){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=E}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let s=!1;if(void 0===n)t=Z(this,t,i,0),s=!z(t)||t!==this._$AH&&t!==F,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=Z(this,o[e+r],i,r),l===F&&(l=this._$AH[r]),s||(s=!z(l)||l!==this._$AH[r]),l===E?t=E:t!==E&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.C(t)}C(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class G extends H{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===E?void 0:t}}const K=y?y.emptyScript:"";class L extends H{constructor(){super(...arguments),this.type=4}C(t){t&&t!==E?this.element.setAttribute(this.name,K):this.element.removeAttribute(this.name)}}class q extends H{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=Z(this,t,i,0))&&void 0!==e?e:E)===F)return;const o=this._$AH,n=t===E&&o!==E||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==E&&(o===E||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class P{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Z(this,t)}}const X=window.litHtmlPolyfillSupport;null==X||X(R,W),(null!==(g=globalThis.litHtmlVersions)&&void 0!==g?g:globalThis.litHtmlVersions=[]).push("2.2.4");
114
114
  /**
115
115
  * @license
116
116
  * Copyright 2020 Google LLC
117
117
  * SPDX-License-Identifier: BSD-3-Clause
118
118
  */
119
- const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;let s,r;const l=[],a=[];let p,h=0,f=!1;for(;h<n;){for(p=i[h];h<n&&void 0!==(r=e[h],s=null===(o=r)||void 0===o?void 0:o._$litStatic$);)p+=s+i[++h],f=!0;a.push(r),l.push(p),h++}if(h===n&&l.push(i[n]),f){const t=l.join("$$lit$$");void 0===(i=J.get(t))&&(l.raw=l,J.set(t,i=l)),e=a}return t(i,...e)})(B);var V,tt=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(V||(V={}));const it=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),et=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),ot={fontFamily:et,fontSize:i.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:i.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},nt=i.FtCssVariable.extend("--ft-typography-title-font-family",it),st=i.FtCssVariable.extend("--ft-typography-title-font-size",ot.fontSize,"20px"),rt=i.FtCssVariable.extend("--ft-typography-title-font-weight",ot.fontWeight,"normal"),lt=i.FtCssVariable.extend("--ft-typography-title-letter-spacing",ot.letterSpacing,"0.15px"),at=i.FtCssVariable.extend("--ft-typography-title-line-height",ot.lineHeight,"24px"),pt=i.FtCssVariable.extend("--ft-typography-title-text-transform",ot.textTransform,"inherit"),ht=i.FtCssVariable.extend("--ft-typography-title-dense-font-family",it),ft=i.FtCssVariable.extend("--ft-typography-title-dense-font-size",ot.fontSize,"14px"),dt=i.FtCssVariable.extend("--ft-typography-title-dense-font-weight",ot.fontWeight,"normal"),ct=i.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",ot.letterSpacing,"0.105px"),ut=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",ot.lineHeight,"24px"),xt=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",ot.textTransform,"inherit"),gt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",et),yt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",ot.fontSize,"16px"),bt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",ot.fontWeight,"600"),vt=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",ot.letterSpacing,"0.144px"),mt=i.FtCssVariable.extend("--ft-typography-subtitle1-line-height",ot.lineHeight,"24px"),$t=i.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",ot.textTransform,"inherit"),wt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-family",et),kt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-size",ot.fontSize,"14px"),zt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",ot.fontWeight,"normal"),St=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",ot.letterSpacing,"0.098px"),Ct=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",ot.lineHeight,"24px"),Ot=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",ot.textTransform,"inherit"),jt=i.FtCssVariable.extend("--ft-typography-body1-font-family",et),Nt=i.FtCssVariable.extend("--ft-typography-body1-font-size",ot.fontSize,"16px"),At=i.FtCssVariable.extend("--ft-typography-body1-font-weight",ot.fontWeight,"normal"),It=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",ot.letterSpacing,"0.496px"),Tt=i.FtCssVariable.extend("--ft-typography-body1-line-height",ot.lineHeight,"24px"),Bt=i.FtCssVariable.extend("--ft-typography-body1-text-transform",ot.textTransform,"inherit"),Ft=i.FtCssVariable.extend("--ft-typography-body2-font-family",et),Et=i.FtCssVariable.extend("--ft-typography-body2-font-size",ot.fontSize,"14px"),_t=i.FtCssVariable.extend("--ft-typography-body2-font-weight",ot.fontWeight,"normal"),Mt=i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",ot.letterSpacing,"0.252px"),Ut=i.FtCssVariable.extend("--ft-typography-body2-line-height",ot.lineHeight,"20px"),Rt=i.FtCssVariable.extend("--ft-typography-body2-text-transform",ot.textTransform,"inherit"),Zt=i.FtCssVariable.extend("--ft-typography-caption-font-family",et),Dt=i.FtCssVariable.extend("--ft-typography-caption-font-size",ot.fontSize,"12px"),Wt=i.FtCssVariable.extend("--ft-typography-caption-font-weight",ot.fontWeight,"normal"),Ht=i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",ot.letterSpacing,"0.396px"),Gt=i.FtCssVariable.extend("--ft-typography-caption-line-height",ot.lineHeight,"16px"),Kt=i.FtCssVariable.extend("--ft-typography-caption-text-transform",ot.textTransform,"inherit"),Lt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",et),qt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",ot.fontSize,"10px"),Pt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",ot.fontWeight,"normal"),Xt=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",ot.letterSpacing,"0.33px"),Yt=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",ot.lineHeight,"16px"),Jt=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",ot.textTransform,"inherit"),Qt=i.FtCssVariable.extend("--ft-typography-overline-font-family",et),Vt=i.FtCssVariable.extend("--ft-typography-overline-font-size",ot.fontSize,"10px"),ti=i.FtCssVariable.extend("--ft-typography-overline-font-weight",ot.fontWeight,"normal"),ii=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",ot.letterSpacing,"1.5px"),ei=i.FtCssVariable.extend("--ft-typography-overline-line-height",ot.lineHeight,"16px"),oi=i.FtCssVariable.extend("--ft-typography-overline-text-transform",ot.textTransform,"uppercase"),ni={fontFamily:i.FtCssVariable.extend("--ft-typography-button-font-family",et),fontSize:i.FtCssVariable.extend("--ft-typography-button-font-size",ot.fontSize,"14px"),fontWeight:i.FtCssVariable.extend("--ft-typography-button-font-weight",ot.fontWeight,"600"),letterSpacing:i.FtCssVariable.extend("--ft-typography-button-letter-spacing",ot.letterSpacing,"1.246px"),lineHeight:i.FtCssVariable.extend("--ft-typography-button-line-height",ot.lineHeight,"16px"),textTransform:i.FtCssVariable.extend("--ft-typography-button-text-transform",ot.textTransform,"uppercase")},si=e.css`
119
+ const Y=Symbol.for(""),J=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===Y)return null===(e=t)||void 0===e?void 0:e._$litStatic$},Q=t=>({_$litStatic$:t,r:Y}),V=new Map,tt=(t=>(i,...e)=>{const o=e.length;let n,s;const r=[],l=[];let a,p=0,h=!1;for(;p<o;){for(a=i[p];p<o&&void 0!==(s=e[p],n=J(s));)a+=n+i[++p],h=!0;l.push(s),r.push(a),p++}if(p===o&&r.push(i[o]),h){const t=r.join("$$lit$$");void 0===(i=V.get(t))&&(r.raw=r,V.set(t,i=r)),e=l}return t(i,...e)})(B);var it,et=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(it||(it={}));const ot=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),nt=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),st={fontFamily:nt,fontSize:i.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:i.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},rt=i.FtCssVariable.extend("--ft-typography-title-font-family",ot),lt=i.FtCssVariable.extend("--ft-typography-title-font-size",st.fontSize,"20px"),at=i.FtCssVariable.extend("--ft-typography-title-font-weight",st.fontWeight,"normal"),pt=i.FtCssVariable.extend("--ft-typography-title-letter-spacing",st.letterSpacing,"0.15px"),ht=i.FtCssVariable.extend("--ft-typography-title-line-height",st.lineHeight,"24px"),ft=i.FtCssVariable.extend("--ft-typography-title-text-transform",st.textTransform,"inherit"),dt=i.FtCssVariable.extend("--ft-typography-title-dense-font-family",ot),ct=i.FtCssVariable.extend("--ft-typography-title-dense-font-size",st.fontSize,"14px"),ut=i.FtCssVariable.extend("--ft-typography-title-dense-font-weight",st.fontWeight,"normal"),xt=i.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",st.letterSpacing,"0.105px"),gt=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",st.lineHeight,"24px"),yt=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",st.textTransform,"inherit"),bt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",nt),vt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",st.fontSize,"16px"),mt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",st.fontWeight,"600"),$t=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",st.letterSpacing,"0.144px"),wt=i.FtCssVariable.extend("--ft-typography-subtitle1-line-height",st.lineHeight,"24px"),kt=i.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",st.textTransform,"inherit"),zt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-family",nt),St=i.FtCssVariable.extend("--ft-typography-subtitle2-font-size",st.fontSize,"14px"),Ct=i.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",st.fontWeight,"normal"),Ot=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",st.letterSpacing,"0.098px"),jt=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",st.lineHeight,"24px"),Nt=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",st.textTransform,"inherit"),It=i.FtCssVariable.extend("--ft-typography-body1-font-family",nt),Tt=i.FtCssVariable.extend("--ft-typography-body1-font-size",st.fontSize,"16px"),At=i.FtCssVariable.extend("--ft-typography-body1-font-weight",st.fontWeight,"normal"),Bt=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",st.letterSpacing,"0.496px"),Ft=i.FtCssVariable.extend("--ft-typography-body1-line-height",st.lineHeight,"24px"),Et=i.FtCssVariable.extend("--ft-typography-body1-text-transform",st.textTransform,"inherit"),_t=i.FtCssVariable.extend("--ft-typography-body2-font-family",nt),Mt=i.FtCssVariable.extend("--ft-typography-body2-font-size",st.fontSize,"14px"),Ut=i.FtCssVariable.extend("--ft-typography-body2-font-weight",st.fontWeight,"normal"),Rt=i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",st.letterSpacing,"0.252px"),Zt=i.FtCssVariable.extend("--ft-typography-body2-line-height",st.lineHeight,"20px"),Dt=i.FtCssVariable.extend("--ft-typography-body2-text-transform",st.textTransform,"inherit"),Wt=i.FtCssVariable.extend("--ft-typography-caption-font-family",nt),Ht=i.FtCssVariable.extend("--ft-typography-caption-font-size",st.fontSize,"12px"),Gt=i.FtCssVariable.extend("--ft-typography-caption-font-weight",st.fontWeight,"normal"),Kt=i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",st.letterSpacing,"0.396px"),Lt=i.FtCssVariable.extend("--ft-typography-caption-line-height",st.lineHeight,"16px"),qt=i.FtCssVariable.extend("--ft-typography-caption-text-transform",st.textTransform,"inherit"),Pt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",nt),Xt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",st.fontSize,"10px"),Yt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",st.fontWeight,"normal"),Jt=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",st.letterSpacing,"0.33px"),Qt=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",st.lineHeight,"16px"),Vt=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",st.textTransform,"inherit"),ti=i.FtCssVariable.extend("--ft-typography-overline-font-family",nt),ii=i.FtCssVariable.extend("--ft-typography-overline-font-size",st.fontSize,"10px"),ei=i.FtCssVariable.extend("--ft-typography-overline-font-weight",st.fontWeight,"normal"),oi=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",st.letterSpacing,"1.5px"),ni=i.FtCssVariable.extend("--ft-typography-overline-line-height",st.lineHeight,"16px"),si=i.FtCssVariable.extend("--ft-typography-overline-text-transform",st.textTransform,"uppercase"),ri={fontFamily:i.FtCssVariable.extend("--ft-typography-button-font-family",nt),fontSize:i.FtCssVariable.extend("--ft-typography-button-font-size",st.fontSize,"14px"),fontWeight:i.FtCssVariable.extend("--ft-typography-button-font-weight",st.fontWeight,"600"),letterSpacing:i.FtCssVariable.extend("--ft-typography-button-letter-spacing",st.letterSpacing,"1.246px"),lineHeight:i.FtCssVariable.extend("--ft-typography-button-line-height",st.lineHeight,"16px"),textTransform:i.FtCssVariable.extend("--ft-typography-button-text-transform",st.textTransform,"uppercase")},li=e.css`
120
120
  .ft-typography--title {
121
- font-family: ${nt};
122
- font-size: ${st};
123
- font-weight: ${rt};
124
- letter-spacing: ${lt};
125
- line-height: ${at};
126
- text-transform: ${pt};
121
+ font-family: ${rt};
122
+ font-size: ${lt};
123
+ font-weight: ${at};
124
+ letter-spacing: ${pt};
125
+ line-height: ${ht};
126
+ text-transform: ${ft};
127
127
  }
128
- `,ri=e.css`
128
+ `,ai=e.css`
129
129
  .ft-typography--title-dense {
130
- font-family: ${ht};
131
- font-size: ${ft};
132
- font-weight: ${dt};
133
- letter-spacing: ${ct};
134
- line-height: ${ut};
135
- text-transform: ${xt};
130
+ font-family: ${dt};
131
+ font-size: ${ct};
132
+ font-weight: ${ut};
133
+ letter-spacing: ${xt};
134
+ line-height: ${gt};
135
+ text-transform: ${yt};
136
136
  }
137
- `,li=e.css`
137
+ `,pi=e.css`
138
138
  .ft-typography--subtitle1 {
139
- font-family: ${gt};
140
- font-size: ${yt};
141
- font-weight: ${bt};
142
- letter-spacing: ${vt};
143
- line-height: ${mt};
144
- text-transform: ${$t};
139
+ font-family: ${bt};
140
+ font-size: ${vt};
141
+ font-weight: ${mt};
142
+ letter-spacing: ${$t};
143
+ line-height: ${wt};
144
+ text-transform: ${kt};
145
145
  }
146
- `,ai=e.css`
146
+ `,hi=e.css`
147
147
  .ft-typography--subtitle2 {
148
- font-family: ${wt};
149
- font-size: ${kt};
150
- font-weight: ${zt};
151
- letter-spacing: ${St};
152
- line-height: ${Ct};
153
- text-transform: ${Ot};
148
+ font-family: ${zt};
149
+ font-size: ${St};
150
+ font-weight: ${Ct};
151
+ letter-spacing: ${Ot};
152
+ line-height: ${jt};
153
+ text-transform: ${Nt};
154
154
  }
155
155
 
156
- `,pi=e.css`
156
+ `,fi=e.css`
157
157
  .ft-typography--body1 {
158
- font-family: ${jt};
159
- font-size: ${Nt};
158
+ font-family: ${It};
159
+ font-size: ${Tt};
160
160
  font-weight: ${At};
161
- letter-spacing: ${It};
162
- line-height: ${Tt};
163
- text-transform: ${Bt};
161
+ letter-spacing: ${Bt};
162
+ line-height: ${Ft};
163
+ text-transform: ${Et};
164
164
  }
165
- `,hi=e.css`
165
+ `,di=e.css`
166
166
  .ft-typography--body2 {
167
- font-family: ${Ft};
168
- font-size: ${Et};
169
- font-weight: ${_t};
170
- letter-spacing: ${Mt};
171
- line-height: ${Ut};
172
- text-transform: ${Rt};
167
+ font-family: ${_t};
168
+ font-size: ${Mt};
169
+ font-weight: ${Ut};
170
+ letter-spacing: ${Rt};
171
+ line-height: ${Zt};
172
+ text-transform: ${Dt};
173
173
  }
174
- `,fi=e.css`
174
+ `,ci=e.css`
175
175
  .ft-typography--caption {
176
- font-family: ${Zt};
177
- font-size: ${Dt};
178
- font-weight: ${Wt};
179
- letter-spacing: ${Ht};
180
- line-height: ${Gt};
181
- text-transform: ${Kt};
176
+ font-family: ${Wt};
177
+ font-size: ${Ht};
178
+ font-weight: ${Gt};
179
+ letter-spacing: ${Kt};
180
+ line-height: ${Lt};
181
+ text-transform: ${qt};
182
182
  }
183
- `,di=e.css`
183
+ `,ui=e.css`
184
184
  .ft-typography--breadcrumb {
185
- font-family: ${Lt};
186
- font-size: ${qt};
187
- font-weight: ${Pt};
188
- letter-spacing: ${Xt};
189
- line-height: ${Yt};
190
- text-transform: ${Jt};
185
+ font-family: ${Pt};
186
+ font-size: ${Xt};
187
+ font-weight: ${Yt};
188
+ letter-spacing: ${Jt};
189
+ line-height: ${Qt};
190
+ text-transform: ${Vt};
191
191
  }
192
- `,ci=e.css`
192
+ `,xi=e.css`
193
193
  .ft-typography--overline {
194
- font-family: ${Qt};
195
- font-size: ${Vt};
196
- font-weight: ${ti};
197
- letter-spacing: ${ii};
198
- line-height: ${ei};
199
- text-transform: ${oi};
194
+ font-family: ${ti};
195
+ font-size: ${ii};
196
+ font-weight: ${ei};
197
+ letter-spacing: ${oi};
198
+ line-height: ${ni};
199
+ text-transform: ${si};
200
200
  }
201
- `,ui=e.css`
201
+ `,gi=e.css`
202
202
  .ft-typography--button {
203
- font-family: ${ni.fontFamily};
204
- font-size: ${ni.fontSize};
205
- font-weight: ${ni.fontWeight};
206
- letter-spacing: ${ni.letterSpacing};
207
- line-height: ${ni.lineHeight};
208
- text-transform: ${ni.textTransform};
203
+ font-family: ${ri.fontFamily};
204
+ font-size: ${ri.fontSize};
205
+ font-weight: ${ri.fontWeight};
206
+ letter-spacing: ${ri.letterSpacing};
207
+ line-height: ${ri.lineHeight};
208
+ text-transform: ${ri.textTransform};
209
209
  }
210
- `;class xi extends i.FtLitElement{constructor(){super(...arguments),this.variant=V.body1}render(){return this.element?Q`
211
- <${Y(this.element)}
210
+ `;class yi extends i.FtLitElement{constructor(){super(...arguments),this.variant=it.body1}render(){return this.element?tt`
211
+ <${Q(this.element)}
212
212
  class="ft-typography ft-typography--${this.variant}">
213
213
  <slot></slot>
214
- </${Y(this.element)}>
215
- `:Q`
214
+ </${Q(this.element)}>
215
+ `:tt`
216
216
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
217
- `}}xi.styles=[si,ri,li,ai,pi,hi,fi,di,ci,ui,e.css`
217
+ `}}yi.styles=[li,ai,pi,hi,fi,di,ci,ui,xi,gi,e.css`
218
218
  .ft-typography {
219
219
  vertical-align: inherit;
220
220
  }
221
- `],tt([o.property()],xi.prototype,"element",void 0),tt([o.property()],xi.prototype,"variant",void 0),i.customElement("ft-typography")(xi);var gi=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};const yi=i.FtCssVariable.create("--ft-tooltip-distance","SIZE","4px"),bi=i.FtCssVariable.create("--ft-tooltip-color","COLOR","#FFFFFF"),vi=i.FtCssVariable.create("--ft-tooltip-background-color","COLOR","#666666"),mi=i.FtCssVariable.create("--ft-tooltip-z-index","NUMBER","1"),$i=i.FtCssVariable.external(i.designSystemVariables.borderRadiusS,"Design system");class wi extends i.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new i.Debouncer,this.revealDebouncer=new i.Debouncer}render(){return e.html`
221
+ `],et([o.property()],yi.prototype,"element",void 0),et([o.property()],yi.prototype,"variant",void 0),i.customElement("ft-typography")(yi);var bi=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};const vi=i.FtCssVariable.create("--ft-tooltip-distance","SIZE","4px"),mi=i.FtCssVariable.create("--ft-tooltip-color","COLOR","#FFFFFF"),$i=i.FtCssVariable.create("--ft-tooltip-background-color","COLOR","#666666"),wi=i.FtCssVariable.create("--ft-tooltip-z-index","NUMBER","1"),ki=i.FtCssVariable.external(i.designSystemVariables.borderRadiusS,"Design system");class zi extends i.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new i.Debouncer,this.revealDebouncer=new i.Debouncer}render(){return e.html`
222
222
  <div part="container"
223
223
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
224
224
  @mouseenter=${this.onHover}
@@ -233,7 +233,7 @@ const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;
233
233
  </div>
234
234
  <slot></slot>
235
235
  </div>
236
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=t.getBoundingClientRect(),e=(i.height-this.tooltip.clientHeight)/2,o=(i.width-this.tooltip.clientWidth)/2,n=this.tooltip.style;switch(this.position){case"top":n.top=-this.tooltip.clientHeight+"px",n.left=o+"px";break;case"bottom":n.top=i.height+"px",n.left=o+"px";break;case"left":n.top=e+"px",n.left=-this.tooltip.clientWidth+"px";break;case"right":n.top=e+"px",n.left=i.width+"px"}n.maxWidth=Math.max(i.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}wi.elementDefinitions={"ft-typography":xi},wi.styles=e.css`
236
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=t.getBoundingClientRect(),e=(i.height-this.tooltip.clientHeight)/2,o=(i.width-this.tooltip.clientWidth)/2,n=this.tooltip.style;switch(this.position){case"top":n.top=-this.tooltip.clientHeight+"px",n.left=o+"px";break;case"bottom":n.top=i.height+"px",n.left=o+"px";break;case"left":n.top=e+"px",n.left=-this.tooltip.clientWidth+"px";break;case"right":n.top=e+"px",n.left=i.width+"px"}n.maxWidth=Math.max(i.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}zi.elementDefinitions={"ft-typography":yi},zi.styles=e.css`
237
237
  .ft-tooltip--container {
238
238
  display: block;
239
239
  position: relative;
@@ -251,21 +251,21 @@ const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;
251
251
  width: max-content;
252
252
  max-width: 150px;
253
253
  text-align: center;
254
- padding: ${yi};
255
- z-index: ${mi};
254
+ padding: ${vi};
255
+ z-index: ${wi};
256
256
  }
257
257
 
258
258
  .ft-tooltip--content {
259
259
  padding: 4px 8px;
260
- border-radius: ${$i};
261
- background-color: ${vi};
262
- color: ${bi};
260
+ border-radius: ${ki};
261
+ background-color: ${$i};
262
+ color: ${mi};
263
263
  top: -500px;
264
264
  left: -500px;
265
265
  position: relative;
266
266
  word-break: break-word;
267
267
  }
268
- `,gi([o.property()],wi.prototype,"text",void 0),gi([o.property({type:Boolean})],wi.prototype,"manual",void 0),gi([o.property({type:Boolean})],wi.prototype,"inline",void 0),gi([o.property({type:Number})],wi.prototype,"delay",void 0),gi([o.property()],wi.prototype,"position",void 0),gi([o.queryAssignedNodes("",!0)],wi.prototype,"slotNodes",void 0),gi([o.query(".ft-tooltip--container")],wi.prototype,"container",void 0),gi([o.query("slot")],wi.prototype,"target",void 0),gi([o.query(".ft-tooltip")],wi.prototype,"tooltip",void 0),gi([o.query(".ft-tooltip--content")],wi.prototype,"tooltipContent",void 0),gi([o.state()],wi.prototype,"visible",void 0),i.customElement("ft-tooltip")(wi);const ki={color:i.FtCssVariable.extend("--ft-loader-color",i.designSystemVariables.colorPrimary),size:i.FtCssVariable.create("--ft-loader-size","SIZE","80px")};class zi extends i.FtLitElement{static get styles(){return e.css`
268
+ `,bi([o.property()],zi.prototype,"text",void 0),bi([o.property({type:Boolean})],zi.prototype,"manual",void 0),bi([o.property({type:Boolean})],zi.prototype,"inline",void 0),bi([o.property({type:Number})],zi.prototype,"delay",void 0),bi([o.property()],zi.prototype,"position",void 0),bi([o.queryAssignedNodes("",!0)],zi.prototype,"slotNodes",void 0),bi([o.query(".ft-tooltip--container")],zi.prototype,"container",void 0),bi([o.query("slot")],zi.prototype,"target",void 0),bi([o.query(".ft-tooltip")],zi.prototype,"tooltip",void 0),bi([o.query(".ft-tooltip--content")],zi.prototype,"tooltipContent",void 0),bi([o.state()],zi.prototype,"visible",void 0),i.customElement("ft-tooltip")(zi);const Si={color:i.FtCssVariable.extend("--ft-loader-color",i.designSystemVariables.colorPrimary),size:i.FtCssVariable.create("--ft-loader-size","SIZE","80px")};class Ci extends i.FtLitElement{static get styles(){return e.css`
269
269
  :host {
270
270
  line-height: 0;
271
271
  }
@@ -274,8 +274,8 @@ const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;
274
274
  display: inline-block;
275
275
  position: relative;
276
276
 
277
- width: ${ki.size};
278
- height: ${ki.size};
277
+ width: ${Si.size};
278
+ height: ${Si.size};
279
279
  }
280
280
 
281
281
  .ft-loader div {
@@ -284,7 +284,7 @@ const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;
284
284
  width: 25%;
285
285
  height: 25%;
286
286
  border-radius: 50%;
287
- background: ${ki.color};
287
+ background: ${Si.color};
288
288
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
289
289
  }
290
290
 
@@ -331,7 +331,7 @@ const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;
331
331
  transform: translate(0, 0);
332
332
  }
333
333
  100% {
334
- transform: translate(calc(0.35 * ${ki.size}), 0);
334
+ transform: translate(calc(0.35 * ${Si.size}), 0);
335
335
  }
336
336
  }
337
337
  `}render(){return e.html`
@@ -341,21 +341,21 @@ const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;
341
341
  <div></div>
342
342
  <div></div>
343
343
  </div>
344
- `}}var Si,Ci;i.customElement("ft-loader")(zi),function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(Si||(Si={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Ci||(Ci={})),new Map([...["abw"].map((t=>[t,Ci.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Ci.AUDIO])),...["avi"].map((t=>[t,Ci.AVI])),...["chm","xhs"].map((t=>[t,Ci.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Ci.CODE])),...["csv"].map((t=>[t,Ci.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ci.DITA])),...["epub"].map((t=>[t,Ci.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ci.EXCEL])),...["flac"].map((t=>[t,Ci.FLAC])),...["gif"].map((t=>[t,Ci.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ci.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ci.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Ci.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ci.JPEG])),...["json"].map((t=>[t,Ci.JSON])),...["m4a","m4p"].map((t=>[t,Ci.M4A])),...["mov","qt"].map((t=>[t,Ci.MOV])),...["mp3"].map((t=>[t,Ci.MP3])),...["mp4","m4v"].map((t=>[t,Ci.MP4])),...["ogg","oga"].map((t=>[t,Ci.OGG])),...["pdf","ps"].map((t=>[t,Ci.PDF])),...["png"].map((t=>[t,Ci.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ci.POWERPOINT])),...["rar"].map((t=>[t,Ci.RAR])),...["stp"].map((t=>[t,Ci.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ci.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Ci.VIDEO])),...["wav"].map((t=>[t,Ci.WAV])),...["wma"].map((t=>[t,Ci.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ci.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ci.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ci.YAML])),...["zip"].map((t=>[t,Ci.ZIP]))]);var Oi,ji=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Oi||(Oi={}));const Ni={size:i.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariable.extend("--ft-icon-file-format-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariable.extend("--ft-icon-material-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class Ai extends i.FtLitElement{constructor(){super(...arguments),this.variant=Oi.fluid_topics}render(){return e.html`
344
+ `}}var Oi,ji;i.customElement("ft-loader")(Ci),function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(Oi||(Oi={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(ji||(ji={})),new Map([...["abw"].map((t=>[t,ji.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,ji.AUDIO])),...["avi"].map((t=>[t,ji.AVI])),...["chm","xhs"].map((t=>[t,ji.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,ji.CODE])),...["csv"].map((t=>[t,ji.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ji.DITA])),...["epub"].map((t=>[t,ji.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ji.EXCEL])),...["flac"].map((t=>[t,ji.FLAC])),...["gif"].map((t=>[t,ji.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ji.GZIP])),...["html","htm","xhtml"].map((t=>[t,ji.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,ji.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ji.JPEG])),...["json"].map((t=>[t,ji.JSON])),...["m4a","m4p"].map((t=>[t,ji.M4A])),...["mov","qt"].map((t=>[t,ji.MOV])),...["mp3"].map((t=>[t,ji.MP3])),...["mp4","m4v"].map((t=>[t,ji.MP4])),...["ogg","oga"].map((t=>[t,ji.OGG])),...["pdf","ps"].map((t=>[t,ji.PDF])),...["png"].map((t=>[t,ji.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ji.POWERPOINT])),...["rar"].map((t=>[t,ji.RAR])),...["stp"].map((t=>[t,ji.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ji.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,ji.VIDEO])),...["wav"].map((t=>[t,ji.WAV])),...["wma"].map((t=>[t,ji.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ji.WORD])),...["xml","xsl","rdf"].map((t=>[t,ji.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ji.YAML])),...["zip"].map((t=>[t,ji.ZIP]))]);var Ni,Ii=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ni||(Ni={}));const Ti={size:i.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariable.extend("--ft-icon-file-format-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariable.extend("--ft-icon-material-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class Ai extends i.FtLitElement{constructor(){super(...arguments),this.variant=Ni.fluid_topics}render(){return e.html`
345
345
  <i class="ft-icon ${"ft-icon--"+this.variant}">
346
346
  ${s.unsafeHTML(this.getIcon())}
347
347
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
348
348
  </i>
349
- `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}getIcon(){var t,i;let o=this.textContent;return this.variant===Oi.file_format?null!==(t=Ci[o.toUpperCase()])&&void 0!==t?t:o:this.variant===Oi.fluid_topics?null!==(i=Si[o.toUpperCase()])&&void 0!==i?i:o:e.nothing}}Ai.elementDefinitions={},Ai.styles=e.css`
349
+ `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}getIcon(){var t,i;let o=this.textContent;return this.variant===Ni.file_format?null!==(t=ji[o.toUpperCase()])&&void 0!==t?t:o:this.variant===Ni.fluid_topics?null!==(i=Oi[o.toUpperCase()])&&void 0!==i?i:o:e.nothing}}Ai.elementDefinitions={},Ai.styles=e.css`
350
350
  :host, i.ft-icon {
351
351
  display: inline-block;
352
- width: ${Ni.size};
353
- height: ${Ni.size};
352
+ width: ${Ti.size};
353
+ height: ${Ti.size};
354
354
  text-align: center;
355
355
  }
356
356
 
357
357
  i.ft-icon {
358
- font-size: ${Ni.size};
358
+ font-size: ${Ti.size};
359
359
  line-height: 1;
360
360
  font-weight: normal;
361
361
  text-transform: none;
@@ -369,17 +369,17 @@ const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;
369
369
  }
370
370
 
371
371
  .ft-icon--fluid-topics {
372
- font-family: ${Ni.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
372
+ font-family: ${Ti.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
373
373
  }
374
374
 
375
375
  .ft-icon--file-format {
376
- font-family: ${Ni.fileFormatFontFamily}, ft-mime, sans-serif;
376
+ font-family: ${Ti.fileFormatFontFamily}, ft-mime, sans-serif;
377
377
  }
378
378
 
379
379
  .ft-icon--material {
380
- font-family: ${Ni.materialFontFamily}, "Material Icons", sans-serif;
380
+ font-family: ${Ti.materialFontFamily}, "Material Icons", sans-serif;
381
381
  }
382
- `,ji([o.property()],Ai.prototype,"variant",void 0),ji([o.query("slot")],Ai.prototype,"slottedContent",void 0),i.customElement("ft-icon")(Ai);var Ii=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};const Ti=i.FtCssVariable.extend("--ft-button-color",i.designSystemVariables.colorPrimary),Bi={backgroundColor:i.FtCssVariable.extend("--ft-button-background-color",i.designSystemVariables.colorSurface),borderRadius:i.FtCssVariable.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusL),color:Ti,fontSize:i.FtCssVariable.extend("--ft-button-font-size",ni.fontSize),iconSize:i.FtCssVariable.create("--ft-button-icon-size","SIZE","24px"),rippleColor:i.FtCssVariable.extend("--ft-button-ripple-color",Ti),opacityDisabled:i.FtCssVariable.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Fi=i.FtCssVariable.extend("--ft-button-primary-color",i.FtCssVariable.extend("--ft-button-color",i.designSystemVariables.colorOnPrimary)),Ei={backgroundColor:i.FtCssVariable.extend("--ft-button-primary-background-color",i.FtCssVariable.extend("--ft-button-background-color",i.designSystemVariables.colorPrimary)),color:Fi,rippleColor:i.FtCssVariable.extend("--ft-button-primary-ripple-color",Fi)},_i=i.FtCssVariable.extend("--ft-button-dense-border-radius",i.FtCssVariable.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusM));class Mi extends i.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[i.noTextSelect,e.css`
382
+ `,Ii([o.property()],Ai.prototype,"variant",void 0),Ii([o.query("slot")],Ai.prototype,"slottedContent",void 0),i.customElement("ft-icon")(Ai);var Bi=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};const Fi=i.FtCssVariable.extend("--ft-button-color",i.designSystemVariables.colorPrimary),Ei={backgroundColor:i.FtCssVariable.extend("--ft-button-background-color",i.designSystemVariables.colorSurface),borderRadius:i.FtCssVariable.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusL),color:Fi,fontSize:i.FtCssVariable.extend("--ft-button-font-size",ri.fontSize),iconSize:i.FtCssVariable.create("--ft-button-icon-size","SIZE","24px"),rippleColor:i.FtCssVariable.extend("--ft-button-ripple-color",Fi),opacityDisabled:i.FtCssVariable.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},_i=i.FtCssVariable.extend("--ft-button-primary-color",i.FtCssVariable.extend("--ft-button-color",i.designSystemVariables.colorOnPrimary)),Mi={backgroundColor:i.FtCssVariable.extend("--ft-button-primary-background-color",i.FtCssVariable.extend("--ft-button-background-color",i.designSystemVariables.colorPrimary)),color:_i,rippleColor:i.FtCssVariable.extend("--ft-button-primary-ripple-color",_i)},Ui=i.FtCssVariable.extend("--ft-button-dense-border-radius",i.FtCssVariable.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusM));class Ri extends i.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[i.noTextSelect,e.css`
383
383
  :host {
384
384
  display: inline-block;
385
385
  max-width: 100%;
@@ -418,18 +418,18 @@ const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;
418
418
  border: none;
419
419
  pointer-events: auto;
420
420
 
421
- --ft-button-internal-font-size: ${Bi.fontSize};
421
+ --ft-button-internal-font-size: ${Ei.fontSize};
422
422
  --ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
423
- --ft-button-internal-color: ${Bi.color};
424
- ${i.setVariable(Ni.size,Bi.iconSize)};
423
+ --ft-button-internal-color: ${Ei.color};
424
+ ${i.setVariable(Ti.size,Ei.iconSize)};
425
425
  --ft-button-internal-vertical-padding: 6px;
426
426
  --ft-button-internal-horizontal-padding: 8px;
427
- ${i.setVariable(a.color,Bi.rippleColor)};
428
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Bi.iconSize});
427
+ ${i.setVariable(a.color,Ei.rippleColor)};
428
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Ei.iconSize});
429
429
 
430
- border-radius: ${Bi.borderRadius};
430
+ border-radius: ${Ei.borderRadius};
431
431
  padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
432
- background-color: ${Bi.backgroundColor};
432
+ background-color: ${Ei.backgroundColor};
433
433
  color: var(--ft-button-internal-color);
434
434
  -webkit-mask-image: radial-gradient(white, black);
435
435
  }
@@ -441,7 +441,7 @@ const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;
441
441
  .ft-button--dense {
442
442
  --ft-button-internal-vertical-padding: 2px;
443
443
  --ft-button-internal-horizontal-padding: 4px;
444
- border-radius: ${_i};
444
+ border-radius: ${Ui};
445
445
  }
446
446
 
447
447
  .ft-button--round {
@@ -450,13 +450,13 @@ const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;
450
450
 
451
451
  .ft-button[disabled] {
452
452
  filter: grayscale(1);
453
- opacity: ${Bi.opacityDisabled};
453
+ opacity: ${Ei.opacityDisabled};
454
454
  }
455
455
 
456
456
  .ft-button.ft-button--primary {
457
- background-color: ${Ei.backgroundColor};
458
- --ft-button-internal-color: ${Ei.color};
459
- ${i.setVariable(a.color,Ei.rippleColor)};
457
+ background-color: ${Mi.backgroundColor};
458
+ --ft-button-internal-color: ${Mi.color};
459
+ ${i.setVariable(a.color,Mi.rippleColor)};
460
460
  }
461
461
 
462
462
  .ft-button.ft-button--outlined {
@@ -475,8 +475,8 @@ const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;
475
475
  text-overflow: ellipsis;
476
476
  display: block;
477
477
  margin: 0 var(--ft-button-internal-horizontal-padding);
478
- ${i.setVariable(ni.fontSize,"var(--ft-button-internal-font-size)")};
479
- ${i.setVariable(ni.lineHeight,"var(--ft-button-internal-content-height)")};
478
+ ${i.setVariable(ri.fontSize,"var(--ft-button-internal-font-size)")};
479
+ ${i.setVariable(ri.lineHeight,"var(--ft-button-internal-content-height)")};
480
480
  }
481
481
 
482
482
  .ft-button--safari-fix .ft-button--label {
@@ -509,8 +509,8 @@ const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;
509
509
  }
510
510
 
511
511
  ft-loader {
512
- ${i.setVariable(ki.size,Bi.iconSize)};
513
- ${i.setVariable(ki.color,"var(--ft-button-internal-color)")};
512
+ ${i.setVariable(Si.size,Ei.iconSize)};
513
+ ${i.setVariable(Si.color,"var(--ft-button-internal-color)")};
514
514
  }
515
515
  `]}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--safari-fix":i.isSafari,"ft-no-text-select":!0};return this.addTooltip(e.html`
516
516
  <button part="button"
@@ -534,7 +534,7 @@ const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;
534
534
  </ft-tooltip>
535
535
  `}resolveIcon(){return this.loading?e.html`
536
536
  <ft-loader></ft-loader> `:this.icon?e.html`
537
- <ft-icon variant="material">${this.icon}</ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Mi.elementDefinitions={"ft-ripple":x,"ft-tooltip":wi,"ft-typography":xi,"ft-icon":Ai,"ft-loader":zi},Ii([o.property({type:Boolean})],Mi.prototype,"primary",void 0),Ii([o.property({type:Boolean})],Mi.prototype,"outlined",void 0),Ii([o.property({type:Boolean})],Mi.prototype,"disabled",void 0),Ii([o.property({type:Boolean})],Mi.prototype,"dense",void 0),Ii([o.property({type:Boolean})],Mi.prototype,"round",void 0),Ii([o.property({type:String})],Mi.prototype,"label",void 0),Ii([o.property({type:String})],Mi.prototype,"icon",void 0),Ii([o.property({type:Boolean})],Mi.prototype,"trailingIcon",void 0),Ii([o.property({type:Boolean})],Mi.prototype,"loading",void 0),Ii([o.property({type:String})],Mi.prototype,"tooltipPosition",void 0),Ii([o.query(".ft-button")],Mi.prototype,"button",void 0),Ii([o.query(".ft-button--label slot")],Mi.prototype,"slottedContent",void 0),i.customElement("ft-button")(Mi);var Ui=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class Ri extends CustomEvent{constructor(t){super("change",{detail:{file:t}})}}class Zi extends i.FtLitElement{constructor(){super(...arguments),this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.accept=""}static get styles(){return e.css`
537
+ <ft-icon variant="material">${this.icon}</ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Ri.elementDefinitions={"ft-ripple":x,"ft-tooltip":zi,"ft-typography":yi,"ft-icon":Ai,"ft-loader":Ci},Bi([o.property({type:Boolean})],Ri.prototype,"primary",void 0),Bi([o.property({type:Boolean})],Ri.prototype,"outlined",void 0),Bi([o.property({type:Boolean})],Ri.prototype,"disabled",void 0),Bi([o.property({type:Boolean})],Ri.prototype,"dense",void 0),Bi([o.property({type:Boolean})],Ri.prototype,"round",void 0),Bi([o.property({type:String})],Ri.prototype,"label",void 0),Bi([o.property({type:String})],Ri.prototype,"icon",void 0),Bi([o.property({type:Boolean})],Ri.prototype,"trailingIcon",void 0),Bi([o.property({type:Boolean})],Ri.prototype,"loading",void 0),Bi([o.property({type:String})],Ri.prototype,"tooltipPosition",void 0),Bi([o.query(".ft-button")],Ri.prototype,"button",void 0),Bi([o.query(".ft-button--label slot")],Ri.prototype,"slottedContent",void 0),i.customElement("ft-button")(Ri);var Zi=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class Di extends CustomEvent{constructor(t){super("change",{detail:{file:t}})}}class Wi extends i.FtLitElement{constructor(){super(...arguments),this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.accept=""}static get styles(){return e.css`
538
538
  .ft-file-button {
539
539
  }
540
540
  `}render(){return e.html`
@@ -552,4 +552,4 @@ const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;
552
552
  @change=${this.onFileChange}
553
553
  hidden/>
554
554
  </div>
555
- `}onFileChange(){var t;(null===(t=this.input.files)||void 0===t?void 0:t.length)>0&&this.dispatchEvent(new Ri(this.input.files.item(0)))}focus(){this.button.focus()}clear(){this.input.value=""}}Zi.elementDefinitions={"ft-button":Mi},Ui([o.property({type:Boolean})],Zi.prototype,"disabled",void 0),Ui([o.property({type:String})],Zi.prototype,"label",void 0),Ui([o.property({type:String})],Zi.prototype,"icon",void 0),Ui([o.property({type:Boolean})],Zi.prototype,"trailingIcon",void 0),Ui([o.property({type:String})],Zi.prototype,"accept",void 0),Ui([o.query(".ft-file-button--input")],Zi.prototype,"input",void 0),Ui([o.query("ft-button")],Zi.prototype,"button",void 0),i.customElement("ft-file-button")(Zi),t.FileChangeEvent=Ri,t.FtFileButton=Zi,t.FtFileButtonCssVariables={},Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
555
+ `}onFileChange(){var t;(null===(t=this.input.files)||void 0===t?void 0:t.length)>0&&this.dispatchEvent(new Di(this.input.files.item(0)))}focus(){this.button.focus()}clear(){this.input.value=""}}Wi.elementDefinitions={"ft-button":Ri},Zi([o.property({type:Boolean})],Wi.prototype,"disabled",void 0),Zi([o.property({type:String})],Wi.prototype,"label",void 0),Zi([o.property({type:String})],Wi.prototype,"icon",void 0),Zi([o.property({type:Boolean})],Wi.prototype,"trailingIcon",void 0),Zi([o.property({type:String})],Wi.prototype,"accept",void 0),Zi([o.query(".ft-file-button--input")],Wi.prototype,"input",void 0),Zi([o.query("ft-button")],Wi.prototype,"button",void 0),i.customElement("ft-file-button")(Wi),t.FileChangeEvent=Di,t.FtFileButton=Wi,t.FtFileButtonCssVariables={},Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);