@fluid-topics/ft-collapsible 0.3.4 → 0.3.6

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,13 +110,13 @@ var y;g.elementDefinitions={},g.styles=e.css`
110
110
  opacity: ${a.opacityContentOnSurfacePressed};
111
111
  transform: translate(-50%, -50%) scale(1);
112
112
  }
113
- `,r([o.property({type:Boolean})],g.prototype,"primary",void 0),r([o.property({type:Boolean})],g.prototype,"secondary",void 0),r([o.property({type:Boolean})],g.prototype,"unbounded",void 0),r([o.property({type:Boolean})],g.prototype,"activated",void 0),r([o.property({type:Boolean})],g.prototype,"selected",void 0),r([o.property({type:Boolean})],g.prototype,"disabled",void 0),r([o.state()],g.prototype,"hovered",void 0),r([o.state()],g.prototype,"focused",void 0),r([o.state()],g.prototype,"pressed",void 0),r([o.state()],g.prototype,"rippling",void 0),r([o.state()],g.prototype,"rippleSize",void 0),r([o.state()],g.prototype,"originX",void 0),r([o.state()],g.prototype,"originY",void 0),r([o.query(".ft-ripple")],g.prototype,"ripple",void 0),r([o.query(".ft-ripple--effect")],g.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(g);const x=globalThis.trustedTypes,b=x?x.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=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),B=/'/g,T=/"/g,I=/^(?:script|style|textarea|title)$/i,A=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),E=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),F=new WeakMap,M=w.createTreeWalker(w,129,null,!1),R=(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]?(I.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:B):r===T||r===B?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 U{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]=R(t,i);if(this.el=U.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]?P:H})}else l.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(I.test(o.tagName)){const t=o.textContent.split(v),i=t.length-1;if(i>0){o.textContent=x?x.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 D(t,i,e=t,o){var n,s,r,l;if(i===E)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=D(t,a._$AS(t,i.values),a,o)),i}class W{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 Z(s,s.nextSibling,this,t):1===a.type?i=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(i=new q(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 Z{constructor(t,i,e,o){var n;this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$C_=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._$C_}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=D(this,t,i),z(t)?t===_||null==t||""===t?(this._$AH!==_&&this._$AR(),this._$AH=_):t!==this._$AH&&t!==E&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>S(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==_&&z(this._$AH)?this._$AA.nextSibling.data=t:this.k(w.createTextNode(t)),this._$AH=t}$(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=U.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 W(n,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=F.get(t.strings);return void 0===i&&F.set(t.strings,i=new U(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 Z(this.j(k()),this.j(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._$C_=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=_,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=_}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=D(this,t,i,0),s=!z(t)||t!==this._$AH&&t!==E,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=D(this,o[e+r],i,r),l===E&&(l=this._$AH[r]),s||(s=!z(l)||l!==this._$AH[r]),l===_?t=_:t!==_&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.P(t)}P(t){t===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class G extends H{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===_?void 0:t}}const K=x?x.emptyScript:"";class L extends H{constructor(){super(...arguments),this.type=4}P(t){t&&t!==_?this.element.setAttribute(this.name,K):this.element.removeAttribute(this.name)}}class P 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=D(this,t,i,0))&&void 0!==e?e:_)===E)return;const o=this._$AH,n=t===_&&o!==_||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==_&&(o===_||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 q{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){D(this,t)}}const X=window.litHtmlPolyfillSupport;null==X||X(U,Z),(null!==(y=globalThis.litHtmlVersions)&&void 0!==y?y:globalThis.litHtmlVersions=[]).push("2.2.7");
113
+ `,r([o.property({type:Boolean})],g.prototype,"primary",void 0),r([o.property({type:Boolean})],g.prototype,"secondary",void 0),r([o.property({type:Boolean})],g.prototype,"unbounded",void 0),r([o.property({type:Boolean})],g.prototype,"activated",void 0),r([o.property({type:Boolean})],g.prototype,"selected",void 0),r([o.property({type:Boolean})],g.prototype,"disabled",void 0),r([o.state()],g.prototype,"hovered",void 0),r([o.state()],g.prototype,"focused",void 0),r([o.state()],g.prototype,"pressed",void 0),r([o.state()],g.prototype,"rippling",void 0),r([o.state()],g.prototype,"rippleSize",void 0),r([o.state()],g.prototype,"originX",void 0),r([o.state()],g.prototype,"originY",void 0),r([o.query(".ft-ripple")],g.prototype,"ripple",void 0),r([o.query(".ft-ripple--effect")],g.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(g);const x=globalThis.trustedTypes,b=x?x.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,O=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,C=/-->/g,N=/>/g,j=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),B=/'/g,T=/"/g,I=/^(?:script|style|textarea|title)$/i,A=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),E=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),F=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=O;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===O?"!--"===a[1]?r=C:void 0!==a[1]?r=N:void 0!==a[2]?(I.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=j):void 0!==a[3]&&(r=j):r===j?">"===a[0]?(r=null!=n?n:O,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?j:'"'===a[3]?T:B):r===T||r===B?r=j:r===C||r===N?r=O:(r=j,n=void 0);const f=r===j&&t[i+1].startsWith("/>")?" ":"";s+=r===O?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]?K:"?"===i[1]?L:"@"===i[1]?P:H})}else l.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(I.test(o.tagName)){const t=o.textContent.split(v),i=t.length-1;if(i>0){o.textContent=x?x.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 W(t,i,e=t,o){var n,s,r,l;if(i===E)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=W(t,a._$AS(t,i.values),a,o)),i}class Z{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 D(s,s.nextSibling,this,t):1===a.type?i=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(i=new q(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 D{constructor(t,i,e,o){var n;this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$C_=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._$C_}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=W(this,t,i),z(t)?t===_||null==t||""===t?(this._$AH!==_&&this._$AR(),this._$AH=_):t!==this._$AH&&t!==E&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>S(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==_&&z(this._$AH)?this._$AA.nextSibling.data=t:this.k(w.createTextNode(t)),this._$AH=t}$(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=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 Z(n,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=F.get(t.strings);return void 0===i&&F.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 D(this.j(k()),this.j(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._$C_=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=_,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=_}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=W(this,t,i,0),s=!z(t)||t!==this._$AH&&t!==E,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=W(this,o[e+r],i,r),l===E&&(l=this._$AH[r]),s||(s=!z(l)||l!==this._$AH[r]),l===_?t=_:t!==_&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.P(t)}P(t){t===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class K extends H{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===_?void 0:t}}const G=x?x.emptyScript:"";class L extends H{constructor(){super(...arguments),this.type=4}P(t){t&&t!==_?this.element.setAttribute(this.name,G):this.element.removeAttribute(this.name)}}class P 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=W(this,t,i,0))&&void 0!==e?e:_)===E)return;const o=this._$AH,n=t===_&&o!==_||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==_&&(o===_||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 q{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){W(this,t)}}const X=window.litHtmlPolyfillSupport;null==X||X(R,D),(null!==(y=globalThis.litHtmlVersions)&&void 0!==y?y:globalThis.litHtmlVersions=[]).push("2.2.7");
114
114
  /**
115
115
  * @license
116
116
  * Copyright 2020 Google LLC
117
117
  * SPDX-License-Identifier: BSD-3-Clause
118
118
  */
119
- const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t._$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)})(A);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.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),nt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),st={fontFamily:nt,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},rt=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",ot),lt=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",st.fontSize,"20px"),at=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",st.fontWeight,"normal"),pt=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",st.letterSpacing,"0.15px"),ht=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",st.lineHeight,"1.2"),ft=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",st.textTransform,"inherit"),dt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",ot),ct=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",st.fontSize,"14px"),ut=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",st.fontWeight,"normal"),gt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",st.letterSpacing,"0.105px"),yt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",st.lineHeight,"1.7"),xt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",st.textTransform,"inherit"),bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",nt),vt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",st.fontSize,"16px"),mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",st.fontWeight,"600"),$t=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",st.letterSpacing,"0.144px"),wt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",st.lineHeight,"1.5"),kt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",st.textTransform,"inherit"),zt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",nt),St=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",st.fontSize,"14px"),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",st.fontWeight,"normal"),Ot=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",st.letterSpacing,"0.098px"),jt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",st.lineHeight,"1.7"),Nt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",st.textTransform,"inherit"),Bt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",nt),Tt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",st.fontSize,"16px"),It=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",st.fontWeight,"normal"),At=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",st.letterSpacing,"0.496px"),Et=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",st.lineHeight,"1.5"),_t=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",st.textTransform,"inherit"),Ft=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",nt),Mt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",st.fontSize,"14px"),Rt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",st.fontWeight,"normal"),Ut=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",st.letterSpacing,"0.252px"),Dt=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",st.lineHeight,"1.4"),Wt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",st.textTransform,"inherit"),Zt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",nt),Ht=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",st.fontSize,"12px"),Gt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",st.fontWeight,"normal"),Kt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",st.letterSpacing,"0.396px"),Lt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",st.lineHeight,"1.33"),Pt=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",st.textTransform,"inherit"),qt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",nt),Xt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",st.fontSize,"10px"),Yt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",st.fontWeight,"normal"),Jt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",st.letterSpacing,"0.33px"),Qt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",st.lineHeight,"1.6"),Vt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",st.textTransform,"inherit"),ti=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",nt),ii=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",st.fontSize,"10px"),ei=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",st.fontWeight,"normal"),oi=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",st.letterSpacing,"1.5px"),ni=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",st.lineHeight,"1.6"),si=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",st.textTransform,"uppercase"),ri={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",nt),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",st.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",st.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",st.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",st.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",st.textTransform,"uppercase")},li=e.css`
119
+ const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t._$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)})(A);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.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),nt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),st={fontFamily:nt,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},rt=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",ot),lt=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",st.fontSize,"20px"),at=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",st.fontWeight,"normal"),pt=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",st.letterSpacing,"0.15px"),ht=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",st.lineHeight,"1.2"),ft=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",st.textTransform,"inherit"),dt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",ot),ct=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",st.fontSize,"14px"),ut=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",st.fontWeight,"normal"),gt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",st.letterSpacing,"0.105px"),yt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",st.lineHeight,"1.7"),xt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",st.textTransform,"inherit"),bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",nt),vt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",st.fontSize,"16px"),mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",st.fontWeight,"600"),$t=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",st.letterSpacing,"0.144px"),wt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",st.lineHeight,"1.5"),kt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",st.textTransform,"inherit"),zt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",nt),St=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",st.fontSize,"14px"),Ot=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",st.fontWeight,"normal"),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",st.letterSpacing,"0.098px"),Nt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",st.lineHeight,"1.7"),jt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",st.textTransform,"inherit"),Bt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",nt),Tt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",st.fontSize,"16px"),It=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",st.fontWeight,"normal"),At=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",st.letterSpacing,"0.496px"),Et=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",st.lineHeight,"1.5"),_t=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",st.textTransform,"inherit"),Ft=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",nt),Mt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",st.fontSize,"14px"),Ut=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",st.fontWeight,"normal"),Rt=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",st.letterSpacing,"0.252px"),Wt=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",st.lineHeight,"1.4"),Zt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",st.textTransform,"inherit"),Dt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",nt),Ht=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",st.fontSize,"12px"),Kt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",st.fontWeight,"normal"),Gt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",st.letterSpacing,"0.396px"),Lt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",st.lineHeight,"1.33"),Pt=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",st.textTransform,"inherit"),qt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",nt),Xt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",st.fontSize,"10px"),Yt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",st.fontWeight,"normal"),Jt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",st.letterSpacing,"0.33px"),Qt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",st.lineHeight,"1.6"),Vt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",st.textTransform,"inherit"),ti=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",nt),ii=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",st.fontSize,"10px"),ei=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",st.fontWeight,"normal"),oi=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",st.letterSpacing,"1.5px"),ni=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",st.lineHeight,"1.6"),si=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",st.textTransform,"uppercase"),ri={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",nt),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",st.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",st.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",st.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",st.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",st.textTransform,"uppercase")},li=e.css`
120
120
  .ft-typography--title {
121
121
  font-family: ${rt};
122
122
  font-size: ${lt};
@@ -147,10 +147,10 @@ const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t
147
147
  .ft-typography--subtitle2 {
148
148
  font-family: ${zt};
149
149
  font-size: ${St};
150
- font-weight: ${Ct};
151
- letter-spacing: ${Ot};
152
- line-height: ${jt};
153
- text-transform: ${Nt};
150
+ font-weight: ${Ot};
151
+ letter-spacing: ${Ct};
152
+ line-height: ${Nt};
153
+ text-transform: ${jt};
154
154
  }
155
155
 
156
156
  `,fi=e.css`
@@ -166,17 +166,17 @@ const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t
166
166
  .ft-typography--body2 {
167
167
  font-family: ${Ft};
168
168
  font-size: ${Mt};
169
- font-weight: ${Rt};
170
- letter-spacing: ${Ut};
171
- line-height: ${Dt};
172
- text-transform: ${Wt};
169
+ font-weight: ${Ut};
170
+ letter-spacing: ${Rt};
171
+ line-height: ${Wt};
172
+ text-transform: ${Zt};
173
173
  }
174
174
  `,ci=e.css`
175
175
  .ft-typography--caption {
176
- font-family: ${Zt};
176
+ font-family: ${Dt};
177
177
  font-size: ${Ht};
178
- font-weight: ${Gt};
179
- letter-spacing: ${Kt};
178
+ font-weight: ${Kt};
179
+ letter-spacing: ${Gt};
180
180
  line-height: ${Lt};
181
181
  text-transform: ${Pt};
182
182
  }
@@ -218,7 +218,7 @@ const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t
218
218
  .ft-typography {
219
219
  vertical-align: inherit;
220
220
  }
221
- `],et([o.property()],xi.prototype,"element",void 0),et([o.property()],xi.prototype,"variant",void 0),i.customElement("ft-typography")(xi);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.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),mi=i.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),$i=i.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),wi=i.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","1"),ki=i.FtCssVariableFactory.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`
221
+ `],et([o.property()],xi.prototype,"element",void 0),et([o.property()],xi.prototype,"variant",void 0),i.customElement("ft-typography")(xi);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.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),mi=i.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),$i=i.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),wi=i.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","1"),ki=i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusS,"Design system"),zi=i.FtCssVariableFactory.create("--ft-tooltip-max-width","SIZE","150px");class Si 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}
@@ -228,12 +228,13 @@ const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t
228
228
  @touchstart=${this.onTouch}>
229
229
  <div part="tooltip" class="ft-tooltip ft-tooltip--${this.position}" ?hidden=${!this.visible}>
230
230
  <div part="tooltip-content" class="ft-tooltip--content">
231
- <ft-typography variant="caption">${this.text}</ft-typography>
231
+ <slot name="text"></slot>
232
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
232
233
  </div>
233
234
  </div>
234
235
  <slot></slot>
235
236
  </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())}}zi.elementDefinitions={"ft-typography":xi},zi.styles=e.css`
237
+ `}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;let n=0,s=0;switch(this.position){case"top":s=-this.tooltip.clientHeight,n=o;break;case"bottom":s=i.height,n=o;break;case"left":s=e,n=-this.tooltip.clientWidth;break;case"right":s=e,n=i.width}i.left+n+this.tooltip.clientWidth>window.innerWidth&&(n=window.innerWidth-this.tooltip.clientWidth-i.left),i.left+n<0&&(n=0);const r=this.tooltip.style;r.left=n+"px",r.top=s+"px",r.maxWidth=`max(${i.width}px, ${zi})`}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())}}Si.elementDefinitions={"ft-typography":xi},Si.styles=e.css`
237
238
  .ft-tooltip--container {
238
239
  display: block;
239
240
  position: relative;
@@ -249,7 +250,7 @@ const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t
249
250
  box-sizing: border-box;
250
251
  overflow: hidden;
251
252
  width: max-content;
252
- max-width: 150px;
253
+ max-width: ${zi};
253
254
  text-align: center;
254
255
  padding: ${vi};
255
256
  z-index: ${wi};
@@ -265,7 +266,7 @@ const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t
265
266
  position: relative;
266
267
  word-break: break-word;
267
268
  }
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.FtCssVariableFactory.extend("--ft-loader-color",i.designSystemVariables.colorPrimary),size:i.FtCssVariableFactory.create("--ft-loader-size","SIZE","80px")};class Ci extends i.FtLitElement{static get styles(){return e.css`
269
+ `,bi([o.property()],Si.prototype,"text",void 0),bi([o.property({type:Boolean})],Si.prototype,"manual",void 0),bi([o.property({type:Boolean})],Si.prototype,"inline",void 0),bi([o.property({type:Number})],Si.prototype,"delay",void 0),bi([o.property()],Si.prototype,"position",void 0),bi([o.queryAssignedNodes("",!0)],Si.prototype,"slotNodes",void 0),bi([o.query(".ft-tooltip--container")],Si.prototype,"container",void 0),bi([o.query("slot")],Si.prototype,"target",void 0),bi([o.query(".ft-tooltip")],Si.prototype,"tooltip",void 0),bi([o.query(".ft-tooltip--content")],Si.prototype,"tooltipContent",void 0),bi([o.state()],Si.prototype,"visible",void 0),i.customElement("ft-tooltip")(Si);const Oi={color:i.FtCssVariableFactory.extend("--ft-loader-color",i.designSystemVariables.colorPrimary),size:i.FtCssVariableFactory.create("--ft-loader-size","SIZE","80px")};class Ci extends i.FtLitElement{static get styles(){return e.css`
269
270
  :host {
270
271
  line-height: 0;
271
272
  }
@@ -274,8 +275,8 @@ const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t
274
275
  display: inline-block;
275
276
  position: relative;
276
277
 
277
- width: ${Si.size};
278
- height: ${Si.size};
278
+ width: ${Oi.size};
279
+ height: ${Oi.size};
279
280
  }
280
281
 
281
282
  .ft-loader div {
@@ -284,7 +285,7 @@ const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t
284
285
  width: 25%;
285
286
  height: 25%;
286
287
  border-radius: 50%;
287
- background: ${Si.color};
288
+ background: ${Oi.color};
288
289
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
289
290
  }
290
291
 
@@ -331,7 +332,7 @@ const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t
331
332
  transform: translate(0, 0);
332
333
  }
333
334
  100% {
334
- transform: translate(calc(0.35 * ${Si.size}), 0);
335
+ transform: translate(calc(0.35 * ${Oi.size}), 0);
335
336
  }
336
337
  }
337
338
  `}render(){return e.html`
@@ -341,19 +342,19 @@ const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t
341
342
  <div></div>
342
343
  <div></div>
343
344
  </div>
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,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};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ni||(Ni={}));const Ti={size:i.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariableFactory.extend("--ft-icon-material-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class Ii extends i.FtLitElement{constructor(){super(...arguments),this.variant=Ni.fluid_topics}getStyles(){return e.css`
345
+ `}}var Ni,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;"}(Ni||(Ni={})),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 Bi,Ti=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"}(Bi||(Bi={}));const Ii={size:i.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariableFactory.extend("--ft-icon-material-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:i.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")};class Ai extends i.FtLitElement{constructor(){super(...arguments),this.variant=Bi.fluid_topics}getStyles(){return e.css`
345
346
  :host {
346
347
  display: inline-block;
347
348
  }
348
349
 
349
350
  :host, i.ft-icon {
350
- width: ${Ti.size};
351
- height: ${Ti.size};
351
+ width: ${Ii.size};
352
+ height: ${Ii.size};
352
353
  text-align: center;
353
354
  }
354
355
 
355
356
  i.ft-icon {
356
- font-size: ${Ti.size};
357
+ font-size: ${Ii.size};
357
358
  line-height: 1;
358
359
  font-weight: normal;
359
360
  text-transform: none;
@@ -364,25 +365,26 @@ const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t
364
365
  text-rendering: auto;
365
366
  -webkit-font-smoothing: antialiased;
366
367
  -moz-osx-font-smoothing: grayscale;
368
+ vertical-align: ${Ii.verticalAlign};
367
369
  }
368
370
 
369
371
  .ft-icon--fluid-topics {
370
- font-family: ${Ti.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
372
+ font-family: ${Ii.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
371
373
  }
372
374
 
373
375
  .ft-icon--file-format {
374
- font-family: ${Ti.fileFormatFontFamily}, ft-mime, sans-serif;
376
+ font-family: ${Ii.fileFormatFontFamily}, ft-mime, sans-serif;
375
377
  }
376
378
 
377
379
  .ft-icon--material {
378
- font-family: ${Ti.materialFontFamily}, "Material Icons", sans-serif;
380
+ font-family: ${Ii.materialFontFamily}, "Material Icons", sans-serif;
379
381
  }
380
382
  `}getTemplate(){return e.html`
381
383
  <i class="ft-icon ${"ft-icon--"+this.variant}">
382
384
  ${s.unsafeHTML(this.getIcon())}
383
385
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
384
386
  </i>
385
- `}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}}Ii.elementDefinitions={},Bi([o.property()],Ii.prototype,"variant",void 0),Bi([o.query("slot")],Ii.prototype,"slottedContent",void 0),i.customElement("ft-icon")(Ii);var Ai=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 Ei=i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorPrimary),_i={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorSurface),borderRadius:i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusL),color:Ei,fontSize:i.FtCssVariableFactory.extend("--ft-button-font-size",ri.fontSize),iconSize:i.FtCssVariableFactory.create("--ft-button-icon-size","SIZE","24px"),rippleColor:i.FtCssVariableFactory.extend("--ft-button-ripple-color",Ei),opacityDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Fi=i.FtCssVariableFactory.extend("--ft-button-primary-color",i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorOnPrimary)),Mi={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-primary-background-color",i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorPrimary)),color:Fi,rippleColor:i.FtCssVariableFactory.extend("--ft-button-primary-ripple-color",Fi)},Ri=i.FtCssVariableFactory.extend("--ft-button-dense-border-radius",i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusM));class Ui 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`
387
+ `}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===Bi.file_format?null!==(t=ji[o.toUpperCase()])&&void 0!==t?t:o:this.variant===Bi.fluid_topics?null!==(i=Ni[o.toUpperCase()])&&void 0!==i?i:o:e.nothing}}Ai.elementDefinitions={},Ti([o.property()],Ai.prototype,"variant",void 0),Ti([o.query("slot")],Ai.prototype,"slottedContent",void 0),i.customElement("ft-icon")(Ai);var Ei=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 _i=i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorPrimary),Fi={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorSurface),borderRadius:i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusL),color:_i,fontSize:i.FtCssVariableFactory.extend("--ft-button-font-size",ri.fontSize),iconSize:i.FtCssVariableFactory.create("--ft-button-icon-size","SIZE","24px"),rippleColor:i.FtCssVariableFactory.extend("--ft-button-ripple-color",_i),opacityDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Mi=i.FtCssVariableFactory.extend("--ft-button-primary-color",i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorOnPrimary)),Ui={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-primary-background-color",i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorPrimary)),color:Mi,rippleColor:i.FtCssVariableFactory.extend("--ft-button-primary-ripple-color",Mi)},Ri=i.FtCssVariableFactory.extend("--ft-button-dense-border-radius",i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusM));class Wi 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`
386
388
  :host {
387
389
  display: inline-block;
388
390
  max-width: 100%;
@@ -393,7 +395,7 @@ const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t
393
395
  box-shadow: 0px 0px 0px transparent;
394
396
  border: 0px solid transparent;
395
397
  text-shadow: 0px 0px 0px transparent;
396
- font-size: 16px;
398
+ font-size: ${Fi.fontSize};
397
399
  }
398
400
 
399
401
  button:hover {
@@ -422,18 +424,17 @@ const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t
422
424
  border: none;
423
425
  pointer-events: auto;
424
426
 
425
- --ft-button-internal-font-size: ${_i.fontSize};
426
- --ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
427
- --ft-button-internal-color: ${_i.color};
428
- ${i.setVariable(Ti.size,_i.iconSize)};
427
+ --ft-button-internal-line-height: calc(${Fi.fontSize} + 2px);
428
+ --ft-button-internal-color: ${Fi.color};
429
+ ${i.setVariable(Ii.size,Fi.iconSize)};
429
430
  --ft-button-internal-vertical-padding: 6px;
430
431
  --ft-button-internal-horizontal-padding: 8px;
431
- ${i.setVariable(a.color,_i.rippleColor)};
432
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${_i.iconSize});
432
+ ${i.setVariable(a.color,Fi.rippleColor)};
433
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Fi.iconSize});
433
434
 
434
- border-radius: ${_i.borderRadius};
435
+ border-radius: ${Fi.borderRadius};
435
436
  padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
436
- background-color: ${_i.backgroundColor};
437
+ background-color: ${Fi.backgroundColor};
437
438
  color: var(--ft-button-internal-color);
438
439
  -webkit-mask-image: radial-gradient(white, black);
439
440
  }
@@ -454,13 +455,13 @@ const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t
454
455
 
455
456
  .ft-button[disabled] {
456
457
  filter: grayscale(1);
457
- opacity: ${_i.opacityDisabled};
458
+ opacity: ${Fi.opacityDisabled};
458
459
  }
459
460
 
460
461
  .ft-button.ft-button--primary {
461
- background-color: ${Mi.backgroundColor};
462
- --ft-button-internal-color: ${Mi.color};
463
- ${i.setVariable(a.color,Mi.rippleColor)};
462
+ background-color: ${Ui.backgroundColor};
463
+ --ft-button-internal-color: ${Ui.color};
464
+ ${i.setVariable(a.color,Ui.rippleColor)};
464
465
  }
465
466
 
466
467
  .ft-button.ft-button--outlined {
@@ -479,7 +480,7 @@ const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t
479
480
  text-overflow: ellipsis;
480
481
  display: block;
481
482
  margin: 0 var(--ft-button-internal-horizontal-padding);
482
- ${i.setVariable(ri.fontSize,"var(--ft-button-internal-font-size)")};
483
+ ${i.setVariable(ri.fontSize,"1em")};
483
484
  ${i.setVariable(ri.lineHeight,"var(--ft-button-internal-content-height)")};
484
485
  }
485
486
 
@@ -513,8 +514,8 @@ const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t
513
514
  }
514
515
 
515
516
  ft-loader {
516
- ${i.setVariable(Si.size,_i.iconSize)};
517
- ${i.setVariable(Si.color,"var(--ft-button-internal-color)")};
517
+ ${i.setVariable(Oi.size,Fi.iconSize)};
518
+ ${i.setVariable(Oi.color,"var(--ft-button-internal-color)")};
518
519
  }
519
520
  `]}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`
520
521
  <button part="button"
@@ -538,7 +539,7 @@ const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t
538
539
  </ft-tooltip>
539
540
  `}resolveIcon(){return this.loading?e.html`
540
541
  <ft-loader></ft-loader> `:this.icon?e.html`
541
- <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}}Ui.elementDefinitions={"ft-ripple":g,"ft-tooltip":zi,"ft-typography":xi,"ft-icon":Ii,"ft-loader":Ci},Ai([o.property({type:Boolean})],Ui.prototype,"primary",void 0),Ai([o.property({type:Boolean})],Ui.prototype,"outlined",void 0),Ai([o.property({type:Boolean})],Ui.prototype,"disabled",void 0),Ai([o.property({type:Boolean})],Ui.prototype,"dense",void 0),Ai([o.property({type:Boolean})],Ui.prototype,"round",void 0),Ai([o.property({type:String})],Ui.prototype,"label",void 0),Ai([o.property({type:String})],Ui.prototype,"icon",void 0),Ai([o.property({type:Boolean})],Ui.prototype,"trailingIcon",void 0),Ai([o.property({type:Boolean})],Ui.prototype,"loading",void 0),Ai([o.property({type:String})],Ui.prototype,"tooltipPosition",void 0),Ai([o.query(".ft-button")],Ui.prototype,"button",void 0),Ai([o.query(".ft-button--label slot")],Ui.prototype,"slottedContent",void 0),i.customElement("ft-button")(Ui);var Di=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 Wi extends i.FtLitElement{constructor(){super(...arguments),this.open=!1,this.label="Open here",this.primary=!1,this.secondary=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.openIcon="expand_less",this.closedIcon="expand_more",this.trailingIcon=!1}render(){return e.html`
542
+ <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}}Wi.elementDefinitions={"ft-ripple":g,"ft-tooltip":Si,"ft-typography":xi,"ft-icon":Ai,"ft-loader":Ci},Ei([o.property({type:Boolean})],Wi.prototype,"primary",void 0),Ei([o.property({type:Boolean})],Wi.prototype,"outlined",void 0),Ei([o.property({type:Boolean})],Wi.prototype,"disabled",void 0),Ei([o.property({type:Boolean})],Wi.prototype,"dense",void 0),Ei([o.property({type:Boolean})],Wi.prototype,"round",void 0),Ei([o.property({type:String})],Wi.prototype,"label",void 0),Ei([o.property({type:String})],Wi.prototype,"icon",void 0),Ei([o.property({type:Boolean})],Wi.prototype,"trailingIcon",void 0),Ei([o.property({type:Boolean})],Wi.prototype,"loading",void 0),Ei([o.property({type:String})],Wi.prototype,"tooltipPosition",void 0),Ei([o.query(".ft-button")],Wi.prototype,"button",void 0),Ei([o.query(".ft-button--label slot")],Wi.prototype,"slottedContent",void 0),i.customElement("ft-button")(Wi);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 i.FtLitElement{constructor(){super(...arguments),this.open=!1,this.label="Open here",this.primary=!1,this.secondary=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.openIcon="expand_less",this.closedIcon="expand_more",this.trailingIcon=!1}render(){return e.html`
542
543
  <ft-button
543
544
  part="toggle"
544
545
  icon=${this.open?this.openIcon:this.closedIcon}
@@ -560,7 +561,7 @@ const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t
560
561
  class="${this.hasCustomToggle()?"":"hidden"}"
561
562
  ></slot>
562
563
  <slot class="content ${this.open?"":"hidden"}"></slot>
563
- `}onCustomToggleSlotChange(){this.requestUpdate()}hasCustomToggle(){var t,i;return 0!==(null!==(i=null===(t=this.toggleSlot)||void 0===t?void 0:t.assignedNodes().length)&&void 0!==i?i:0)}toggleOpen(){this.open=!this.open}update(t){super.update(t),t.has("open")&&this.dispatchEvent(new CustomEvent("change",{detail:{open:this.open}}))}}Wi.elementDefinitions={"ft-button":Ui},Wi.styles=e.css`
564
+ `}onCustomToggleSlotChange(){this.requestUpdate()}hasCustomToggle(){var t,i;return 0!==(null!==(i=null===(t=this.toggleSlot)||void 0===t?void 0:t.assignedNodes().length)&&void 0!==i?i:0)}toggleOpen(){this.open=!this.open}update(t){super.update(t),t.has("open")&&this.dispatchEvent(new CustomEvent("change",{detail:{open:this.open}}))}}Di.elementDefinitions={"ft-button":Wi},Di.styles=e.css`
564
565
  :host, :root {
565
566
  display: block;
566
567
  }
@@ -572,4 +573,4 @@ const Y=Symbol.for(""),J=t=>{if((null==t?void 0:t.r)===Y)return null==t?void 0:t
572
573
  .hidden {
573
574
  display: none;
574
575
  }
575
- `,Di([o.query(".content")],Wi.prototype,"content",void 0),Di([o.property({type:Boolean,reflect:!0})],Wi.prototype,"open",void 0),Di([o.property()],Wi.prototype,"label",void 0),Di([o.property({type:Boolean})],Wi.prototype,"primary",void 0),Di([o.property({type:Boolean})],Wi.prototype,"secondary",void 0),Di([o.property({type:Boolean})],Wi.prototype,"disabled",void 0),Di([o.property({type:Boolean})],Wi.prototype,"dense",void 0),Di([o.property({type:Boolean})],Wi.prototype,"round",void 0),Di([o.property({type:String})],Wi.prototype,"openIcon",void 0),Di([o.property({type:String})],Wi.prototype,"closedIcon",void 0),Di([o.property({type:Boolean})],Wi.prototype,"trailingIcon",void 0),Di([o.query('slot[name="toggle"]')],Wi.prototype,"toggleSlot",void 0),i.customElement("ft-collapsible")(Wi),t.FtCollapsible=Wi,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
576
+ `,Zi([o.query(".content")],Di.prototype,"content",void 0),Zi([o.property({type:Boolean,reflect:!0})],Di.prototype,"open",void 0),Zi([o.property()],Di.prototype,"label",void 0),Zi([o.property({type:Boolean})],Di.prototype,"primary",void 0),Zi([o.property({type:Boolean})],Di.prototype,"secondary",void 0),Zi([o.property({type:Boolean})],Di.prototype,"disabled",void 0),Zi([o.property({type:Boolean})],Di.prototype,"dense",void 0),Zi([o.property({type:Boolean})],Di.prototype,"round",void 0),Zi([o.property({type:String})],Di.prototype,"openIcon",void 0),Zi([o.property({type:String})],Di.prototype,"closedIcon",void 0),Zi([o.property({type:Boolean})],Di.prototype,"trailingIcon",void 0),Zi([o.query('slot[name="toggle"]')],Di.prototype,"toggleSlot",void 0),i.customElement("ft-collapsible")(Di),t.FtCollapsible=Di,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,r=new WeakMap,s=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const p={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,p),this._definitionsByClass.set(n,p);let h=i.call(o,t);h||(h=c(t),e.call(o,t,h)),this===window.customElements&&(s.set(n,p),p.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)r.delete(t),u(t,p,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){v.push(this),o.upgrade.apply(o,arguments),v.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=s.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const p=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!p(e)){const t=v[v.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},c=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=h(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):r.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);o.call(this,r,n),i.call(this,r,t,n)}else o.call(this,r,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const b=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),v.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const x=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){v.push(this),i.set.call(this,t),v.pop()}})};if(x(Element,"innerHTML"),x(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class r{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new r(e)}})}}try{window.customElements.define("custom-element",null)}catch(fi){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,s=new WeakMap,r=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const p={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,p),this._definitionsByClass.set(n,p);let h=i.call(o,t);h||(h=c(t),e.call(o,t,h)),this===window.customElements&&(r.set(n,p),p.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)s.delete(t),u(t,p,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){v.push(this),o.upgrade.apply(o,arguments),v.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const p=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!p(e)){const t=v[v.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},c=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=h(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):s.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,n),i.call(this,s,t,n)}else o.call(this,s,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const b=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),v.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const g=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){v.push(this),i.set.call(this,t),v.pop()}})};if(g(Element,"innerHTML"),g(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(di){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -29,12 +29,12 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
29
29
  * @license
30
30
  * Copyright 2017 Google LLC
31
31
  * SPDX-License-Identifier: BSD-3-Clause
32
- */const r=({finisher:t,descriptor:e})=>(i,o)=>{var n;if(void 0===o){const o=null!==(n=i.originalKey)&&void 0!==n?n:i.key,r=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(r.finisher=function(e){t(e,o)}),r}{const n=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(n,o)}}
32
+ */const s=({finisher:t,descriptor:e})=>(i,o)=>{var n;if(void 0===o){const o=null!==(n=i.originalKey)&&void 0!==n?n:i.key,s=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(s.finisher=function(e){t(e,o)}),s}{const n=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(n,o)}}
33
33
  /**
34
34
  * @license
35
35
  * Copyright 2017 Google LLC
36
36
  * SPDX-License-Identifier: BSD-3-Clause
37
- */;function s(t,e){return r({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}
37
+ */;function r(t,e){return s({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}
38
38
  /**
39
39
  * @license
40
40
  * Copyright 2021 Google LLC
@@ -50,29 +50,29 @@ const h=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShad
50
50
  * @license
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
- */;var x;const g=window.trustedTypes,m=g?g.emptyScript:"",w=window.reactiveElementPolyfillSupport,$={toAttribute(t,e){switch(e){case Boolean:t=t?m:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},O=(t,e)=>e!==t&&(e==e||t==t),S={attribute:!0,type:String,converter:$,reflect:!1,hasChanged:O};class k extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;null!==(e=this.h)&&void 0!==e||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=S){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||S}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(b(t))}else void 0!==t&&e.push(b(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return v(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=S){var o,n;const r=this.constructor._$Ep(t,i);if(void 0!==r&&!0===i.reflect){const s=(null!==(n=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==n?n:$.toAttribute)(e,i.type);this._$El=t,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$El=null}}_$AK(t,e){var i,o;const n=this.constructor,r=n._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=n.getPropertyOptions(r),s=t.converter,a=null!==(o=null!==(i=null==s?void 0:s.fromAttribute)&&void 0!==i?i:"function"==typeof s?s:null)&&void 0!==o?o:$.fromAttribute;this._$El=r,this[r]=a(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||O)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
53
+ */;var g;const x=window.trustedTypes,m=x?x.emptyScript:"",w=window.reactiveElementPolyfillSupport,$={toAttribute(t,e){switch(e){case Boolean:t=t?m:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},O=(t,e)=>e!==t&&(e==e||t==t),S={attribute:!0,type:String,converter:$,reflect:!1,hasChanged:O};class k extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;null!==(e=this.h)&&void 0!==e||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=S){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||S}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(b(t))}else void 0!==t&&e.push(b(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return v(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=S){var o,n;const s=this.constructor._$Ep(t,i);if(void 0!==s&&!0===i.reflect){const r=(null!==(n=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==n?n:$.toAttribute)(e,i.type);this._$El=t,null==r?this.removeAttribute(s):this.setAttribute(s,r),this._$El=null}}_$AK(t,e){var i,o;const n=this.constructor,s=n._$Ev.get(t);if(void 0!==s&&this._$El!==s){const t=n.getPropertyOptions(s),r=t.converter,a=null!==(o=null!==(i=null==r?void 0:r.fromAttribute)&&void 0!==i?i:"function"==typeof r?r:null)&&void 0!==o?o:$.fromAttribute;this._$El=s,this[s]=a(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||O)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
54
54
  /**
55
55
  * @license
56
56
  * Copyright 2017 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
58
  */
59
- var C;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==w||w({ReactiveElement:k}),(null!==(x=globalThis.reactiveElementVersions)&&void 0!==x?x:globalThis.reactiveElementVersions=[]).push("1.3.4");const N=globalThis.trustedTypes,E=N?N.createPolicy("lit-html",{createHTML:t=>t}):void 0,R=`lit$${(Math.random()+"").slice(9)}$`,M="?"+R,z=`<${M}>`,F=document,U=(t="")=>F.createComment(t),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,L=/>/g,P=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),_=/'/g,D=/"/g,W=/^(?:script|style|textarea|title)$/i,I=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),H=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),Z=new WeakMap,V=F.createTreeWalker(F,129,null,!1),J=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"<svg>":"",s=T;for(let e=0;e<i;e++){const i=t[e];let a,l,p=-1,h=0;for(;h<i.length&&(s.lastIndex=h,l=s.exec(i),null!==l);)h=s.lastIndex,s===T?"!--"===l[1]?s=A:void 0!==l[1]?s=L:void 0!==l[2]?(W.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=P):void 0!==l[3]&&(s=P):s===P?">"===l[0]?(s=null!=n?n:T,p=-1):void 0===l[1]?p=-2:(p=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?P:'"'===l[3]?D:_):s===D||s===_?s=P:s===A||s===L?s=T:(s=P,n=void 0);const c=s===P&&t[e+1].startsWith("/>")?" ":"";r+=s===T?i+z:p>=0?(o.push(a),i.slice(0,p)+"$lit$"+i.slice(p)+R+c):i+R+(-2===p?(o.push(void 0),e):c)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==E?E.createHTML(a):a,o]};class q{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,p]=J(t,e);if(this.el=q.createElement(l,i),V.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=V.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(R)){const i=p[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(R),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?tt:"?"===e[1]?it:"@"===e[1]?ot:Q})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(W.test(o.tagName)){const t=o.textContent.split(R),e=t.length-1;if(e>0){o.textContent=N?N.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),V.nextNode(),a.push({type:2,index:++n});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===M)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(R,t+1));)a.push({type:7,index:n}),t+=R.length-1}n++}}static createElement(t,e){const i=F.createElement("template");return i.innerHTML=t,i}}function X(t,e,i=t,o){var n,r,s,a;if(e===H)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const p=j(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==p&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===p?l=void 0:(l=new p(t),l._$AT(t,i,o)),void 0!==o?(null!==(s=(a=i)._$Cl)&&void 0!==s?s:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=X(t,l._$AS(t,e.values),l,o)),e}class Y{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:F).importNode(i,!0);V.currentNode=n;let r=V.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new G(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new nt(r,this,t)),this.v.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=V.nextNode(),s++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class G{constructor(t,e,i,o){var n;this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$C_=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$C_}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=X(this,t,e),j(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==H&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>B(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==K&&j(this._$AH)?this._$AA.nextSibling.data=t:this.k(F.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=q.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new Y(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=Z.get(t.strings);return void 0===e&&Z.set(t.strings,e=new q(t)),e}S(t){B(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new G(this.j(U()),this.j(U()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Q{constructor(t,e,i,o,n){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=K}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let r=!1;if(void 0===n)t=X(this,t,e,0),r=!j(t)||t!==this._$AH&&t!==H,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=X(this,o[i+s],e,s),a===H&&(a=this._$AH[s]),r||(r=!j(a)||a!==this._$AH[s]),a===K?t=K:t!==K&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.P(t)}P(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class tt extends Q{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===K?void 0:t}}const et=N?N.emptyScript:"";class it extends Q{constructor(){super(...arguments),this.type=4}P(t){t&&t!==K?this.element.setAttribute(this.name,et):this.element.removeAttribute(this.name)}}class ot extends Q{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=X(this,t,e,0))&&void 0!==i?i:K)===H)return;const o=this._$AH,n=t===K&&o!==K||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==K&&(o===K||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class nt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){X(this,t)}}const rt=window.litHtmlPolyfillSupport;
59
+ var N;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==w||w({ReactiveElement:k}),(null!==(g=globalThis.reactiveElementVersions)&&void 0!==g?g:globalThis.reactiveElementVersions=[]).push("1.3.4");const C=globalThis.trustedTypes,E=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,R=`lit$${(Math.random()+"").slice(9)}$`,M="?"+R,z=`<${M}>`,F=document,U=(t="")=>F.createComment(t),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,L=/>/g,P=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),_=/'/g,D=/"/g,W=/^(?:script|style|textarea|title)$/i,I=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),H=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),Z=new WeakMap,V=F.createTreeWalker(F,129,null,!1),J=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=T;for(let e=0;e<i;e++){const i=t[e];let a,l,p=-1,h=0;for(;h<i.length&&(r.lastIndex=h,l=r.exec(i),null!==l);)h=r.lastIndex,r===T?"!--"===l[1]?r=A:void 0!==l[1]?r=L:void 0!==l[2]?(W.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=P):void 0!==l[3]&&(r=P):r===P?">"===l[0]?(r=null!=n?n:T,p=-1):void 0===l[1]?p=-2:(p=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?P:'"'===l[3]?D:_):r===D||r===_?r=P:r===A||r===L?r=T:(r=P,n=void 0);const c=r===P&&t[e+1].startsWith("/>")?" ":"";s+=r===T?i+z:p>=0?(o.push(a),i.slice(0,p)+"$lit$"+i.slice(p)+R+c):i+R+(-2===p?(o.push(void 0),e):c)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==E?E.createHTML(a):a,o]};class q{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,p]=J(t,e);if(this.el=q.createElement(l,i),V.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=V.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(R)){const i=p[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(R),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?tt:"?"===e[1]?it:"@"===e[1]?ot:Q})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(W.test(o.tagName)){const t=o.textContent.split(R),e=t.length-1;if(e>0){o.textContent=C?C.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),V.nextNode(),a.push({type:2,index:++n});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===M)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(R,t+1));)a.push({type:7,index:n}),t+=R.length-1}n++}}static createElement(t,e){const i=F.createElement("template");return i.innerHTML=t,i}}function X(t,e,i=t,o){var n,s,r,a;if(e===H)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const p=j(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==p&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===p?l=void 0:(l=new p(t),l._$AT(t,i,o)),void 0!==o?(null!==(r=(a=i)._$Cl)&&void 0!==r?r:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=X(t,l._$AS(t,e.values),l,o)),e}class Y{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:F).importNode(i,!0);V.currentNode=n;let s=V.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new G(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new nt(s,this,t)),this.v.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=V.nextNode(),r++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class G{constructor(t,e,i,o){var n;this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$C_=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$C_}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=X(this,t,e),j(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==H&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>B(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==K&&j(this._$AH)?this._$AA.nextSibling.data=t:this.k(F.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=q.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new Y(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=Z.get(t.strings);return void 0===e&&Z.set(t.strings,e=new q(t)),e}S(t){B(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new G(this.j(U()),this.j(U()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Q{constructor(t,e,i,o,n){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=K}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=X(this,t,e,0),s=!j(t)||t!==this._$AH&&t!==H,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=X(this,o[i+r],e,r),a===H&&(a=this._$AH[r]),s||(s=!j(a)||a!==this._$AH[r]),a===K?t=K:t!==K&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.P(t)}P(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class tt extends Q{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===K?void 0:t}}const et=C?C.emptyScript:"";class it extends Q{constructor(){super(...arguments),this.type=4}P(t){t&&t!==K?this.element.setAttribute(this.name,et):this.element.removeAttribute(this.name)}}class ot extends Q{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=X(this,t,e,0))&&void 0!==i?i:K)===H)return;const o=this._$AH,n=t===K&&o!==K||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==K&&(o===K||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class nt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){X(this,t)}}const st=window.litHtmlPolyfillSupport;
60
60
  /**
61
61
  * @license
62
62
  * Copyright 2017 Google LLC
63
63
  * SPDX-License-Identifier: BSD-3-Clause
64
64
  */
65
- var st,at;null==rt||rt(q,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C:globalThis.litHtmlVersions=[]).push("2.2.7");class lt extends k{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,n;const r=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=r._$litPart$;if(void 0===s){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;r._$litPart$=s=new G(e.insertBefore(U(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return H}}lt.finalized=!0,lt._$litElement$=!0,null===(st=globalThis.litElementHydrateSupport)||void 0===st||st.call(globalThis,{LitElement:lt});const pt=globalThis.litElementPolyfillSupport;null==pt||pt({LitElement:lt}),(null!==(at=globalThis.litElementVersions)&&void 0!==at?at:globalThis.litElementVersions=[]).push("3.2.2");class ht{static create(t,e,i){let o=t=>u(null!=t?t:i),n=y`var(${u(t)}, ${o(i)})`;return n.name=t,n.category=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>y`var(${u(t)}, ${o(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),n=y`var(${u(t)}, ${o(i)})`;return n.name=t,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>y`var(${u(t)}, ${o(e)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>i,n}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):u(null!=e?e:t.defaultValue),o=y`var(${u(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>y`var(${u(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function ct(t,e){return u(`${t.name}: ${e}`)}const ft={colorPrimary:ht.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ht.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ht.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ht.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ht.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ht.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ht.create("--ft-color-error","COLOR","#B00020"),colorOutline:ht.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ht.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ht.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ht.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ht.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ht.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ht.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ht.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ht.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ht.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ht.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ht.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ht.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ht.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ht.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ht.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ht.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ht.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ht.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ht.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ht.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ht.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ht.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ht.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ht.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ht.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ht.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ht.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ht.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ht.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ht.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ht.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ht.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ht.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ht.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ht.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ht.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ht.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:ht.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:ht.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:ht.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:ht.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:ht.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:ht.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:ht.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:ht.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:ht.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:ht.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ht.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ht.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ht.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ht.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ht.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ht.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ht.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
65
+ var rt,at;null==st||st(q,G),(null!==(N=globalThis.litHtmlVersions)&&void 0!==N?N:globalThis.litHtmlVersions=[]).push("2.2.7");class lt extends k{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,n;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=s._$litPart$;if(void 0===r){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;s._$litPart$=r=new G(e.insertBefore(U(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return H}}lt.finalized=!0,lt._$litElement$=!0,null===(rt=globalThis.litElementHydrateSupport)||void 0===rt||rt.call(globalThis,{LitElement:lt});const pt=globalThis.litElementPolyfillSupport;null==pt||pt({LitElement:lt}),(null!==(at=globalThis.litElementVersions)&&void 0!==at?at:globalThis.litElementVersions=[]).push("3.2.2");class ht{static create(t,e,i){let o=t=>u(null!=t?t:i),n=y`var(${u(t)}, ${o(i)})`;return n.name=t,n.category=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>y`var(${u(t)}, ${o(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),n=y`var(${u(t)}, ${o(i)})`;return n.name=t,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>y`var(${u(t)}, ${o(e)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>i,n}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):u(null!=e?e:t.defaultValue),o=y`var(${u(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>y`var(${u(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function ct(t,e){return u(`${t.name}: ${e}`)}const ft={colorPrimary:ht.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ht.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ht.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ht.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ht.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ht.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ht.create("--ft-color-error","COLOR","#B00020"),colorOutline:ht.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ht.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ht.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ht.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ht.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ht.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ht.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ht.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ht.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ht.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ht.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ht.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ht.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ht.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ht.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ht.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ht.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ht.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ht.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ht.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ht.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ht.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ht.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ht.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ht.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ht.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ht.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ht.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ht.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ht.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ht.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ht.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ht.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ht.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ht.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ht.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ht.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ht.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:ht.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:ht.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:ht.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:ht.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:ht.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:ht.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:ht.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:ht.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:ht.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:ht.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ht.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ht.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ht.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ht.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ht.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ht.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ht.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
66
66
  /**
67
67
  * @license
68
68
  * Copyright 2021 Google LLC
69
69
  * SPDX-License-Identifier: BSD-3-Clause
70
- */var dt=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class ut extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return v(n,this.constructor.elementStyles),n}}}(lt)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),I`
70
+ */var dt=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class ut extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return v(n,this.constructor.elementStyles),n}}}(lt)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),I`
71
71
  ${t.map((t=>I`
72
72
  <style>${t}</style>
73
73
  `))}
74
74
  ${this.getTemplate()}
75
- `}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}setExportpartsAttribute(t){var e,i,o,n,r,s;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const p=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],i=null!==(s=null===(r=t.getAttribute("exportparts"))||void 0===r?void 0:r.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>p.add(t)))}if(0===p.size)return void this.removeAttribute("exportparts");const h=[...p.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}contentAvailableCallback(t){}}dt([o()],ut.prototype,"exportpartsPrefix",void 0),dt([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],ut.prototype,"exportpartsPrefixes",void 0);const yt=y`
75
+ `}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}setExportpartsAttribute(t){var e,i,o,n,s,r;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const p=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],i=null!==(r=null===(s=t.getAttribute("exportparts"))||void 0===s?void 0:s.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>p.add(t)))}if(0===p.size)return void this.removeAttribute("exportparts");const h=[...p.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}contentAvailableCallback(t){}}dt([o()],ut.prototype,"exportpartsPrefix",void 0),dt([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],ut.prototype,"exportpartsPrefixes",void 0);const yt=y`
76
76
  .ft-no-text-select {
77
77
  -webkit-touch-callout: none;
78
78
  -webkit-user-select: none;
@@ -81,7 +81,7 @@ var st,at;null==rt||rt(q,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
81
81
  -ms-user-select: none;
82
82
  user-select: none;
83
83
  }
84
- `;var vt,bt,xt;const gt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(xt=null===(bt=null===(vt=window.safari)||void 0===vt?void 0:vt.pushNotification)||void 0===bt?void 0:bt.toString())&&void 0!==xt?xt:""),mt=1,wt=2,$t=t=>(...e)=>({_$litDirective$:t,values:e});
84
+ `;var vt,bt,gt;const xt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(gt=null===(bt=null===(vt=window.safari)||void 0===vt?void 0:vt.pushNotification)||void 0===bt?void 0:bt.toString())&&void 0!==gt?gt:""),mt=1,wt=2,$t=t=>(...e)=>({_$litDirective$:t,values:e});
85
85
  /**
86
86
  * @license
87
87
  * Copyright 2017 Google LLC
@@ -91,7 +91,7 @@ var st,at;null==rt||rt(q,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
91
91
  * @license
92
92
  * Copyright 2018 Google LLC
93
93
  * SPDX-License-Identifier: BSD-3-Clause
94
- */const St=$t(class extends Ot{constructor(t){var e;if(super(t),t.type!==mt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const n=t.element.classList;this.nt.forEach((t=>{t in e||(n.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.nt.add(t)):(n.remove(t),this.nt.delete(t)))}return H}});var kt=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const Ct=ht.extend("--ft-ripple-color",ft.colorContent),Nt={color:Ct,backgroundColor:ht.extend("--ft-ripple-background-color",Ct),opacityContentOnSurfacePressed:ht.external(ft.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ht.external(ft.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ht.external(ft.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ht.external(ft.opacityContentOnSurfaceSelected,"Design system")},Et=ht.extend("--ft-ripple-color",ft.colorPrimary),Rt=Et,Mt=ht.extend("--ft-ripple-background-color",Et),zt=ht.extend("--ft-ripple-color",ft.colorSecondary),Ft=zt,Ut=ht.extend("--ft-ripple-background-color",zt);class jt extends ut{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.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:n}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=n?n-r.y:r.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.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 I`
94
+ */const St=$t(class extends Ot{constructor(t){var e;if(super(t),t.type!==mt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const n=t.element.classList;this.nt.forEach((t=>{t in e||(n.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.nt.add(t)):(n.remove(t),this.nt.delete(t)))}return H}});var kt=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const Nt=ht.extend("--ft-ripple-color",ft.colorContent),Ct={color:Nt,backgroundColor:ht.extend("--ft-ripple-background-color",Nt),opacityContentOnSurfacePressed:ht.external(ft.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ht.external(ft.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ht.external(ft.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ht.external(ft.opacityContentOnSurfaceSelected,"Design system")},Et=ht.extend("--ft-ripple-color",ft.colorPrimary),Rt=Et,Mt=ht.extend("--ft-ripple-background-color",Et),zt=ht.extend("--ft-ripple-color",ft.colorSecondary),Ft=zt,Ut=ht.extend("--ft-ripple-background-color",zt);class jt extends ut{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.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:n}=this.getCoordinates(t),s=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.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.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 I`
95
95
  <style>
96
96
  .ft-ripple .ft-ripple--effect,
97
97
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -130,11 +130,11 @@ var st,at;null==rt||rt(q,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
130
130
  }
131
131
 
132
132
  .ft-ripple .ft-ripple--background {
133
- background-color: ${Nt.backgroundColor};
133
+ background-color: ${Ct.backgroundColor};
134
134
  }
135
135
 
136
136
  .ft-ripple .ft-ripple--effect {
137
- background-color: ${Nt.color};
137
+ background-color: ${Ct.color};
138
138
  }
139
139
 
140
140
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
@@ -182,28 +182,28 @@ var st,at;null==rt||rt(q,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
182
182
  }
183
183
 
184
184
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
185
- opacity: ${Nt.opacityContentOnSurfaceHover};
185
+ opacity: ${Ct.opacityContentOnSurfaceHover};
186
186
  }
187
187
 
188
188
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
189
- opacity: ${Nt.opacityContentOnSurfaceSelected};
189
+ opacity: ${Ct.opacityContentOnSurfaceSelected};
190
190
  }
191
191
 
192
192
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
193
- opacity: ${Nt.opacityContentOnSurfaceFocused};
193
+ opacity: ${Ct.opacityContentOnSurfaceFocused};
194
194
  }
195
195
 
196
196
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
197
- opacity: ${Nt.opacityContentOnSurfacePressed};
197
+ opacity: ${Ct.opacityContentOnSurfacePressed};
198
198
  transform: translate(-50%, -50%) scale(1);
199
199
  }
200
- `,kt([o({type:Boolean})],jt.prototype,"primary",void 0),kt([o({type:Boolean})],jt.prototype,"secondary",void 0),kt([o({type:Boolean})],jt.prototype,"unbounded",void 0),kt([o({type:Boolean})],jt.prototype,"activated",void 0),kt([o({type:Boolean})],jt.prototype,"selected",void 0),kt([o({type:Boolean})],jt.prototype,"disabled",void 0),kt([n()],jt.prototype,"hovered",void 0),kt([n()],jt.prototype,"focused",void 0),kt([n()],jt.prototype,"pressed",void 0),kt([n()],jt.prototype,"rippling",void 0),kt([n()],jt.prototype,"rippleSize",void 0),kt([n()],jt.prototype,"originX",void 0),kt([n()],jt.prototype,"originY",void 0),kt([s(".ft-ripple")],jt.prototype,"ripple",void 0),kt([s(".ft-ripple--effect")],jt.prototype,"rippleEffect",void 0),p("ft-ripple")(jt);
200
+ `,kt([o({type:Boolean})],jt.prototype,"primary",void 0),kt([o({type:Boolean})],jt.prototype,"secondary",void 0),kt([o({type:Boolean})],jt.prototype,"unbounded",void 0),kt([o({type:Boolean})],jt.prototype,"activated",void 0),kt([o({type:Boolean})],jt.prototype,"selected",void 0),kt([o({type:Boolean})],jt.prototype,"disabled",void 0),kt([n()],jt.prototype,"hovered",void 0),kt([n()],jt.prototype,"focused",void 0),kt([n()],jt.prototype,"pressed",void 0),kt([n()],jt.prototype,"rippling",void 0),kt([n()],jt.prototype,"rippleSize",void 0),kt([n()],jt.prototype,"originX",void 0),kt([n()],jt.prototype,"originY",void 0),kt([r(".ft-ripple")],jt.prototype,"ripple",void 0),kt([r(".ft-ripple--effect")],jt.prototype,"rippleEffect",void 0),p("ft-ripple")(jt);
201
201
  /**
202
202
  * @license
203
203
  * Copyright 2020 Google LLC
204
204
  * SPDX-License-Identifier: BSD-3-Clause
205
205
  */
206
- const Bt=Symbol.for(""),Tt=t=>{if((null==t?void 0:t.r)===Bt)return null==t?void 0:t._$litStatic$},At=t=>({_$litStatic$:t,r:Bt}),Lt=new Map,Pt=(t=>(e,...i)=>{const o=i.length;let n,r;const s=[],a=[];let l,p=0,h=!1;for(;p<o;){for(l=e[p];p<o&&void 0!==(r=i[p],n=Tt(r));)l+=n+e[++p],h=!0;a.push(r),s.push(l),p++}if(p===o&&s.push(e[o]),h){const t=s.join("$$lit$$");void 0===(e=Lt.get(t))&&(s.raw=s,Lt.set(t,e=s)),i=a}return t(e,...i)})(I);var _t,Dt=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};!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"}(_t||(_t={}));const Wt=ht.extend("--ft-typography-font-family",ft.titleFont),It=ht.extend("--ft-typography-font-family",ft.contentFont),Ht={fontFamily:It,fontSize:ht.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ht.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ht.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ht.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ht.create("--ft-typography-text-transform","UNKNOWN","inherit")},Kt=ht.extend("--ft-typography-title-font-family",Wt),Zt=ht.extend("--ft-typography-title-font-size",Ht.fontSize,"20px"),Vt=ht.extend("--ft-typography-title-font-weight",Ht.fontWeight,"normal"),Jt=ht.extend("--ft-typography-title-letter-spacing",Ht.letterSpacing,"0.15px"),qt=ht.extend("--ft-typography-title-line-height",Ht.lineHeight,"1.2"),Xt=ht.extend("--ft-typography-title-text-transform",Ht.textTransform,"inherit"),Yt=ht.extend("--ft-typography-title-dense-font-family",Wt),Gt=ht.extend("--ft-typography-title-dense-font-size",Ht.fontSize,"14px"),Qt=ht.extend("--ft-typography-title-dense-font-weight",Ht.fontWeight,"normal"),te=ht.extend("--ft-typography-title-dense-letter-spacing",Ht.letterSpacing,"0.105px"),ee=ht.extend("--ft-typography-title-dense-line-height",Ht.lineHeight,"1.7"),ie=ht.extend("--ft-typography-title-dense-text-transform",Ht.textTransform,"inherit"),oe=ht.extend("--ft-typography-subtitle1-font-family",It),ne=ht.extend("--ft-typography-subtitle1-font-size",Ht.fontSize,"16px"),re=ht.extend("--ft-typography-subtitle1-font-weight",Ht.fontWeight,"600"),se=ht.extend("--ft-typography-subtitle1-letter-spacing",Ht.letterSpacing,"0.144px"),ae=ht.extend("--ft-typography-subtitle1-line-height",Ht.lineHeight,"1.5"),le=ht.extend("--ft-typography-subtitle1-text-transform",Ht.textTransform,"inherit"),pe=ht.extend("--ft-typography-subtitle2-font-family",It),he=ht.extend("--ft-typography-subtitle2-font-size",Ht.fontSize,"14px"),ce=ht.extend("--ft-typography-subtitle2-font-weight",Ht.fontWeight,"normal"),fe=ht.extend("--ft-typography-subtitle2-letter-spacing",Ht.letterSpacing,"0.098px"),de=ht.extend("--ft-typography-subtitle2-line-height",Ht.lineHeight,"1.7"),ue=ht.extend("--ft-typography-subtitle2-text-transform",Ht.textTransform,"inherit"),ye=ht.extend("--ft-typography-body1-font-family",It),ve=ht.extend("--ft-typography-body1-font-size",Ht.fontSize,"16px"),be=ht.extend("--ft-typography-body1-font-weight",Ht.fontWeight,"normal"),xe=ht.extend("--ft-typography-body1-letter-spacing",Ht.letterSpacing,"0.496px"),ge=ht.extend("--ft-typography-body1-line-height",Ht.lineHeight,"1.5"),me=ht.extend("--ft-typography-body1-text-transform",Ht.textTransform,"inherit"),we=ht.extend("--ft-typography-body2-font-family",It),$e=ht.extend("--ft-typography-body2-font-size",Ht.fontSize,"14px"),Oe=ht.extend("--ft-typography-body2-font-weight",Ht.fontWeight,"normal"),Se=ht.extend("--ft-typography-body2-letter-spacing",Ht.letterSpacing,"0.252px"),ke=ht.extend("--ft-typography-body2-line-height",Ht.lineHeight,"1.4"),Ce=ht.extend("--ft-typography-body2-text-transform",Ht.textTransform,"inherit"),Ne=ht.extend("--ft-typography-caption-font-family",It),Ee=ht.extend("--ft-typography-caption-font-size",Ht.fontSize,"12px"),Re=ht.extend("--ft-typography-caption-font-weight",Ht.fontWeight,"normal"),Me=ht.extend("--ft-typography-caption-letter-spacing",Ht.letterSpacing,"0.396px"),ze=ht.extend("--ft-typography-caption-line-height",Ht.lineHeight,"1.33"),Fe=ht.extend("--ft-typography-caption-text-transform",Ht.textTransform,"inherit"),Ue=ht.extend("--ft-typography-breadcrumb-font-family",It),je=ht.extend("--ft-typography-breadcrumb-font-size",Ht.fontSize,"10px"),Be=ht.extend("--ft-typography-breadcrumb-font-weight",Ht.fontWeight,"normal"),Te=ht.extend("--ft-typography-breadcrumb-letter-spacing",Ht.letterSpacing,"0.33px"),Ae=ht.extend("--ft-typography-breadcrumb-line-height",Ht.lineHeight,"1.6"),Le=ht.extend("--ft-typography-breadcrumb-text-transform",Ht.textTransform,"inherit"),Pe=ht.extend("--ft-typography-overline-font-family",It),_e=ht.extend("--ft-typography-overline-font-size",Ht.fontSize,"10px"),De=ht.extend("--ft-typography-overline-font-weight",Ht.fontWeight,"normal"),We=ht.extend("--ft-typography-overline-letter-spacing",Ht.letterSpacing,"1.5px"),Ie=ht.extend("--ft-typography-overline-line-height",Ht.lineHeight,"1.6"),He=ht.extend("--ft-typography-overline-text-transform",Ht.textTransform,"uppercase"),Ke={fontFamily:ht.extend("--ft-typography-button-font-family",It),fontSize:ht.extend("--ft-typography-button-font-size",Ht.fontSize,"14px"),fontWeight:ht.extend("--ft-typography-button-font-weight",Ht.fontWeight,"600"),letterSpacing:ht.extend("--ft-typography-button-letter-spacing",Ht.letterSpacing,"1.246px"),lineHeight:ht.extend("--ft-typography-button-line-height",Ht.lineHeight,"1.15"),textTransform:ht.extend("--ft-typography-button-text-transform",Ht.textTransform,"uppercase")},Ze=y`
206
+ const Bt=Symbol.for(""),Tt=t=>{if((null==t?void 0:t.r)===Bt)return null==t?void 0:t._$litStatic$},At=t=>({_$litStatic$:t,r:Bt}),Lt=new Map,Pt=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],a=[];let l,p=0,h=!1;for(;p<o;){for(l=e[p];p<o&&void 0!==(s=i[p],n=Tt(s));)l+=n+e[++p],h=!0;a.push(s),r.push(l),p++}if(p===o&&r.push(e[o]),h){const t=r.join("$$lit$$");void 0===(e=Lt.get(t))&&(r.raw=r,Lt.set(t,e=r)),i=a}return t(e,...i)})(I);var _t,Dt=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,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"}(_t||(_t={}));const Wt=ht.extend("--ft-typography-font-family",ft.titleFont),It=ht.extend("--ft-typography-font-family",ft.contentFont),Ht={fontFamily:It,fontSize:ht.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ht.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ht.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ht.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ht.create("--ft-typography-text-transform","UNKNOWN","inherit")},Kt=ht.extend("--ft-typography-title-font-family",Wt),Zt=ht.extend("--ft-typography-title-font-size",Ht.fontSize,"20px"),Vt=ht.extend("--ft-typography-title-font-weight",Ht.fontWeight,"normal"),Jt=ht.extend("--ft-typography-title-letter-spacing",Ht.letterSpacing,"0.15px"),qt=ht.extend("--ft-typography-title-line-height",Ht.lineHeight,"1.2"),Xt=ht.extend("--ft-typography-title-text-transform",Ht.textTransform,"inherit"),Yt=ht.extend("--ft-typography-title-dense-font-family",Wt),Gt=ht.extend("--ft-typography-title-dense-font-size",Ht.fontSize,"14px"),Qt=ht.extend("--ft-typography-title-dense-font-weight",Ht.fontWeight,"normal"),te=ht.extend("--ft-typography-title-dense-letter-spacing",Ht.letterSpacing,"0.105px"),ee=ht.extend("--ft-typography-title-dense-line-height",Ht.lineHeight,"1.7"),ie=ht.extend("--ft-typography-title-dense-text-transform",Ht.textTransform,"inherit"),oe=ht.extend("--ft-typography-subtitle1-font-family",It),ne=ht.extend("--ft-typography-subtitle1-font-size",Ht.fontSize,"16px"),se=ht.extend("--ft-typography-subtitle1-font-weight",Ht.fontWeight,"600"),re=ht.extend("--ft-typography-subtitle1-letter-spacing",Ht.letterSpacing,"0.144px"),ae=ht.extend("--ft-typography-subtitle1-line-height",Ht.lineHeight,"1.5"),le=ht.extend("--ft-typography-subtitle1-text-transform",Ht.textTransform,"inherit"),pe=ht.extend("--ft-typography-subtitle2-font-family",It),he=ht.extend("--ft-typography-subtitle2-font-size",Ht.fontSize,"14px"),ce=ht.extend("--ft-typography-subtitle2-font-weight",Ht.fontWeight,"normal"),fe=ht.extend("--ft-typography-subtitle2-letter-spacing",Ht.letterSpacing,"0.098px"),de=ht.extend("--ft-typography-subtitle2-line-height",Ht.lineHeight,"1.7"),ue=ht.extend("--ft-typography-subtitle2-text-transform",Ht.textTransform,"inherit"),ye=ht.extend("--ft-typography-body1-font-family",It),ve=ht.extend("--ft-typography-body1-font-size",Ht.fontSize,"16px"),be=ht.extend("--ft-typography-body1-font-weight",Ht.fontWeight,"normal"),ge=ht.extend("--ft-typography-body1-letter-spacing",Ht.letterSpacing,"0.496px"),xe=ht.extend("--ft-typography-body1-line-height",Ht.lineHeight,"1.5"),me=ht.extend("--ft-typography-body1-text-transform",Ht.textTransform,"inherit"),we=ht.extend("--ft-typography-body2-font-family",It),$e=ht.extend("--ft-typography-body2-font-size",Ht.fontSize,"14px"),Oe=ht.extend("--ft-typography-body2-font-weight",Ht.fontWeight,"normal"),Se=ht.extend("--ft-typography-body2-letter-spacing",Ht.letterSpacing,"0.252px"),ke=ht.extend("--ft-typography-body2-line-height",Ht.lineHeight,"1.4"),Ne=ht.extend("--ft-typography-body2-text-transform",Ht.textTransform,"inherit"),Ce=ht.extend("--ft-typography-caption-font-family",It),Ee=ht.extend("--ft-typography-caption-font-size",Ht.fontSize,"12px"),Re=ht.extend("--ft-typography-caption-font-weight",Ht.fontWeight,"normal"),Me=ht.extend("--ft-typography-caption-letter-spacing",Ht.letterSpacing,"0.396px"),ze=ht.extend("--ft-typography-caption-line-height",Ht.lineHeight,"1.33"),Fe=ht.extend("--ft-typography-caption-text-transform",Ht.textTransform,"inherit"),Ue=ht.extend("--ft-typography-breadcrumb-font-family",It),je=ht.extend("--ft-typography-breadcrumb-font-size",Ht.fontSize,"10px"),Be=ht.extend("--ft-typography-breadcrumb-font-weight",Ht.fontWeight,"normal"),Te=ht.extend("--ft-typography-breadcrumb-letter-spacing",Ht.letterSpacing,"0.33px"),Ae=ht.extend("--ft-typography-breadcrumb-line-height",Ht.lineHeight,"1.6"),Le=ht.extend("--ft-typography-breadcrumb-text-transform",Ht.textTransform,"inherit"),Pe=ht.extend("--ft-typography-overline-font-family",It),_e=ht.extend("--ft-typography-overline-font-size",Ht.fontSize,"10px"),De=ht.extend("--ft-typography-overline-font-weight",Ht.fontWeight,"normal"),We=ht.extend("--ft-typography-overline-letter-spacing",Ht.letterSpacing,"1.5px"),Ie=ht.extend("--ft-typography-overline-line-height",Ht.lineHeight,"1.6"),He=ht.extend("--ft-typography-overline-text-transform",Ht.textTransform,"uppercase"),Ke={fontFamily:ht.extend("--ft-typography-button-font-family",It),fontSize:ht.extend("--ft-typography-button-font-size",Ht.fontSize,"14px"),fontWeight:ht.extend("--ft-typography-button-font-weight",Ht.fontWeight,"600"),letterSpacing:ht.extend("--ft-typography-button-letter-spacing",Ht.letterSpacing,"1.246px"),lineHeight:ht.extend("--ft-typography-button-line-height",Ht.lineHeight,"1.15"),textTransform:ht.extend("--ft-typography-button-text-transform",Ht.textTransform,"uppercase")},Ze=y`
207
207
  .ft-typography--title {
208
208
  font-family: ${Kt};
209
209
  font-size: ${Zt};
@@ -225,8 +225,8 @@ const Bt=Symbol.for(""),Tt=t=>{if((null==t?void 0:t.r)===Bt)return null==t?void
225
225
  .ft-typography--subtitle1 {
226
226
  font-family: ${oe};
227
227
  font-size: ${ne};
228
- font-weight: ${re};
229
- letter-spacing: ${se};
228
+ font-weight: ${se};
229
+ letter-spacing: ${re};
230
230
  line-height: ${ae};
231
231
  text-transform: ${le};
232
232
  }
@@ -245,8 +245,8 @@ const Bt=Symbol.for(""),Tt=t=>{if((null==t?void 0:t.r)===Bt)return null==t?void
245
245
  font-family: ${ye};
246
246
  font-size: ${ve};
247
247
  font-weight: ${be};
248
- letter-spacing: ${xe};
249
- line-height: ${ge};
248
+ letter-spacing: ${ge};
249
+ line-height: ${xe};
250
250
  text-transform: ${me};
251
251
  }
252
252
  `,Ye=y`
@@ -256,11 +256,11 @@ const Bt=Symbol.for(""),Tt=t=>{if((null==t?void 0:t.r)===Bt)return null==t?void
256
256
  font-weight: ${Oe};
257
257
  letter-spacing: ${Se};
258
258
  line-height: ${ke};
259
- text-transform: ${Ce};
259
+ text-transform: ${Ne};
260
260
  }
261
261
  `,Ge=y`
262
262
  .ft-typography--caption {
263
- font-family: ${Ne};
263
+ font-family: ${Ce};
264
264
  font-size: ${Ee};
265
265
  font-weight: ${Re};
266
266
  letter-spacing: ${Me};
@@ -305,7 +305,7 @@ const Bt=Symbol.for(""),Tt=t=>{if((null==t?void 0:t.r)===Bt)return null==t?void
305
305
  .ft-typography {
306
306
  vertical-align: inherit;
307
307
  }
308
- `],Dt([o()],ii.prototype,"element",void 0),Dt([o()],ii.prototype,"variant",void 0),p("ft-typography")(ii);var oi=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const ni=ht.create("--ft-tooltip-distance","SIZE","4px"),ri=ht.create("--ft-tooltip-color","COLOR","#FFFFFF"),si=ht.create("--ft-tooltip-background-color","COLOR","#666666"),ai=ht.create("--ft-tooltip-z-index","NUMBER","1"),li=ht.external(ft.borderRadiusS,"Design system");class pi extends ut{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new e,this.revealDebouncer=new e}render(){return I`
308
+ `],Dt([o()],ii.prototype,"element",void 0),Dt([o()],ii.prototype,"variant",void 0),p("ft-typography")(ii);var oi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const ni=ht.create("--ft-tooltip-distance","SIZE","4px"),si=ht.create("--ft-tooltip-color","COLOR","#FFFFFF"),ri=ht.create("--ft-tooltip-background-color","COLOR","#666666"),ai=ht.create("--ft-tooltip-z-index","NUMBER","1"),li=ht.external(ft.borderRadiusS,"Design system"),pi=ht.create("--ft-tooltip-max-width","SIZE","150px");class hi extends ut{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new e,this.revealDebouncer=new e}render(){return I`
309
309
  <div part="container"
310
310
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
311
311
  @mouseenter=${this.onHover}
@@ -315,12 +315,13 @@ const Bt=Symbol.for(""),Tt=t=>{if((null==t?void 0:t.r)===Bt)return null==t?void
315
315
  @touchstart=${this.onTouch}>
316
316
  <div part="tooltip" class="ft-tooltip ft-tooltip--${this.position}" ?hidden=${!this.visible}>
317
317
  <div part="tooltip-content" class="ft-tooltip--content">
318
- <ft-typography variant="caption">${this.text}</ft-typography>
318
+ <slot name="text"></slot>
319
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
319
320
  </div>
320
321
  </div>
321
322
  <slot></slot>
322
323
  </div>
323
- `}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 e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.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=e.height+"px",n.left=o+"px";break;case"left":n.top=i+"px",n.left=-this.tooltip.clientWidth+"px";break;case"right":n.top=i+"px",n.left=e.width+"px"}n.maxWidth=Math.max(e.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())}}pi.elementDefinitions={"ft-typography":ii},pi.styles=y`
324
+ `}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 e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2;let n=0,s=0;switch(this.position){case"top":s=-this.tooltip.clientHeight,n=o;break;case"bottom":s=e.height,n=o;break;case"left":s=i,n=-this.tooltip.clientWidth;break;case"right":s=i,n=e.width}e.left+n+this.tooltip.clientWidth>window.innerWidth&&(n=window.innerWidth-this.tooltip.clientWidth-e.left),e.left+n<0&&(n=0);const r=this.tooltip.style;r.left=n+"px",r.top=s+"px",r.maxWidth=`max(${e.width}px, ${pi})`}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())}}hi.elementDefinitions={"ft-typography":ii},hi.styles=y`
324
325
  .ft-tooltip--container {
325
326
  display: block;
326
327
  position: relative;
@@ -336,7 +337,7 @@ const Bt=Symbol.for(""),Tt=t=>{if((null==t?void 0:t.r)===Bt)return null==t?void
336
337
  box-sizing: border-box;
337
338
  overflow: hidden;
338
339
  width: max-content;
339
- max-width: 150px;
340
+ max-width: ${pi};
340
341
  text-align: center;
341
342
  padding: ${ni};
342
343
  z-index: ${ai};
@@ -345,20 +346,20 @@ const Bt=Symbol.for(""),Tt=t=>{if((null==t?void 0:t.r)===Bt)return null==t?void
345
346
  .ft-tooltip--content {
346
347
  padding: 4px 8px;
347
348
  border-radius: ${li};
348
- background-color: ${si};
349
- color: ${ri};
349
+ background-color: ${ri};
350
+ color: ${si};
350
351
  top: -500px;
351
352
  left: -500px;
352
353
  position: relative;
353
354
  word-break: break-word;
354
355
  }
355
- `,oi([o()],pi.prototype,"text",void 0),oi([o({type:Boolean})],pi.prototype,"manual",void 0),oi([o({type:Boolean})],pi.prototype,"inline",void 0),oi([o({type:Number})],pi.prototype,"delay",void 0),oi([o()],pi.prototype,"position",void 0),oi([
356
+ `,oi([o()],hi.prototype,"text",void 0),oi([o({type:Boolean})],hi.prototype,"manual",void 0),oi([o({type:Boolean})],hi.prototype,"inline",void 0),oi([o({type:Number})],hi.prototype,"delay",void 0),oi([o()],hi.prototype,"position",void 0),oi([
356
357
  /**
357
358
  * @license
358
359
  * Copyright 2017 Google LLC
359
360
  * SPDX-License-Identifier: BSD-3-Clause
360
361
  */
361
- function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return r({descriptor:o=>({get(){var o;const n="slot"+(e?`[name=${e}]`:":not([name])"),r=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),s=null!=r?l(r,t):[];return i?s.filter((t=>t.matches(i))):s},enumerable:!0,configurable:!0})})}({slot:n,flatten:e,selector:i}):r({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==r?void 0:r.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],pi.prototype,"slotNodes",void 0),oi([s(".ft-tooltip--container")],pi.prototype,"container",void 0),oi([s("slot")],pi.prototype,"target",void 0),oi([s(".ft-tooltip")],pi.prototype,"tooltip",void 0),oi([s(".ft-tooltip--content")],pi.prototype,"tooltipContent",void 0),oi([n()],pi.prototype,"visible",void 0),p("ft-tooltip")(pi);const hi={color:ht.extend("--ft-loader-color",ft.colorPrimary),size:ht.create("--ft-loader-size","SIZE","80px")};class ci extends ut{static get styles(){return y`
362
+ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return s({descriptor:o=>({get(){var o;const n="slot"+(e?`[name=${e}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),r=null!=s?l(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],hi.prototype,"slotNodes",void 0),oi([r(".ft-tooltip--container")],hi.prototype,"container",void 0),oi([r("slot")],hi.prototype,"target",void 0),oi([r(".ft-tooltip")],hi.prototype,"tooltip",void 0),oi([r(".ft-tooltip--content")],hi.prototype,"tooltipContent",void 0),oi([n()],hi.prototype,"visible",void 0),p("ft-tooltip")(hi);const ci={color:ht.extend("--ft-loader-color",ft.colorPrimary),size:ht.create("--ft-loader-size","SIZE","80px")};class fi extends ut{static get styles(){return y`
362
363
  :host {
363
364
  line-height: 0;
364
365
  }
@@ -367,8 +368,8 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
367
368
  display: inline-block;
368
369
  position: relative;
369
370
 
370
- width: ${hi.size};
371
- height: ${hi.size};
371
+ width: ${ci.size};
372
+ height: ${ci.size};
372
373
  }
373
374
 
374
375
  .ft-loader div {
@@ -377,7 +378,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
377
378
  width: 25%;
378
379
  height: 25%;
379
380
  border-radius: 50%;
380
- background: ${hi.color};
381
+ background: ${ci.color};
381
382
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
382
383
  }
383
384
 
@@ -424,7 +425,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
424
425
  transform: translate(0, 0);
425
426
  }
426
427
  100% {
427
- transform: translate(calc(0.35 * ${hi.size}), 0);
428
+ transform: translate(calc(0.35 * ${ci.size}), 0);
428
429
  }
429
430
  }
430
431
  `}render(){return I`
@@ -434,13 +435,13 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
434
435
  <div></div>
435
436
  <div></div>
436
437
  </div>
437
- `}}p("ft-loader")(ci);
438
+ `}}p("ft-loader")(fi);
438
439
  /**
439
440
  * @license
440
441
  * Copyright 2017 Google LLC
441
442
  * SPDX-License-Identifier: BSD-3-Clause
442
443
  */
443
- class fi extends Ot{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||null==t)return this._t=void 0,this.it=t;if(t===H)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}fi.directiveName="unsafeHTML",fi.resultType=1;const di=$t(fi);var ui,yi;!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;"}(ui||(ui={})),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;"}(yi||(yi={})),new Map([...["abw"].map((t=>[t,yi.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,yi.AUDIO])),...["avi"].map((t=>[t,yi.AVI])),...["chm","xhs"].map((t=>[t,yi.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,yi.CODE])),...["csv"].map((t=>[t,yi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,yi.DITA])),...["epub"].map((t=>[t,yi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,yi.EXCEL])),...["flac"].map((t=>[t,yi.FLAC])),...["gif"].map((t=>[t,yi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,yi.GZIP])),...["html","htm","xhtml"].map((t=>[t,yi.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,yi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,yi.JPEG])),...["json"].map((t=>[t,yi.JSON])),...["m4a","m4p"].map((t=>[t,yi.M4A])),...["mov","qt"].map((t=>[t,yi.MOV])),...["mp3"].map((t=>[t,yi.MP3])),...["mp4","m4v"].map((t=>[t,yi.MP4])),...["ogg","oga"].map((t=>[t,yi.OGG])),...["pdf","ps"].map((t=>[t,yi.PDF])),...["png"].map((t=>[t,yi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,yi.POWERPOINT])),...["rar"].map((t=>[t,yi.RAR])),...["stp"].map((t=>[t,yi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,yi.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,yi.VIDEO])),...["wav"].map((t=>[t,yi.WAV])),...["wma"].map((t=>[t,yi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,yi.WORD])),...["xml","xsl","rdf"].map((t=>[t,yi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,yi.YAML])),...["zip"].map((t=>[t,yi.ZIP]))]);var vi,bi=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(vi||(vi={}));const xi={size:ht.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ht.extend("--ft-icon-fluid-topics-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ht.extend("--ft-icon-file-format-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ht.extend("--ft-icon-material-font-family",ht.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class gi extends ut{constructor(){super(...arguments),this.variant=vi.fluid_topics}getStyles(){return y`
444
+ class di extends Ot{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||null==t)return this._t=void 0,this.it=t;if(t===H)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}di.directiveName="unsafeHTML",di.resultType=1;const ui=$t(di);var yi,vi;!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;"}(yi||(yi={})),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;"}(vi||(vi={})),new Map([...["abw"].map((t=>[t,vi.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,vi.AUDIO])),...["avi"].map((t=>[t,vi.AVI])),...["chm","xhs"].map((t=>[t,vi.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,vi.CODE])),...["csv"].map((t=>[t,vi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,vi.DITA])),...["epub"].map((t=>[t,vi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,vi.EXCEL])),...["flac"].map((t=>[t,vi.FLAC])),...["gif"].map((t=>[t,vi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,vi.GZIP])),...["html","htm","xhtml"].map((t=>[t,vi.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,vi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,vi.JPEG])),...["json"].map((t=>[t,vi.JSON])),...["m4a","m4p"].map((t=>[t,vi.M4A])),...["mov","qt"].map((t=>[t,vi.MOV])),...["mp3"].map((t=>[t,vi.MP3])),...["mp4","m4v"].map((t=>[t,vi.MP4])),...["ogg","oga"].map((t=>[t,vi.OGG])),...["pdf","ps"].map((t=>[t,vi.PDF])),...["png"].map((t=>[t,vi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,vi.POWERPOINT])),...["rar"].map((t=>[t,vi.RAR])),...["stp"].map((t=>[t,vi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,vi.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,vi.VIDEO])),...["wav"].map((t=>[t,vi.WAV])),...["wma"].map((t=>[t,vi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,vi.WORD])),...["xml","xsl","rdf"].map((t=>[t,vi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,vi.YAML])),...["zip"].map((t=>[t,vi.ZIP]))]);var bi,gi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(bi||(bi={}));const xi={size:ht.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ht.extend("--ft-icon-fluid-topics-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ht.extend("--ft-icon-file-format-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ht.extend("--ft-icon-material-font-family",ht.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:ht.create("--ft-icon-vertical-align","UNKNOWN","unset")};class mi extends ut{constructor(){super(...arguments),this.variant=bi.fluid_topics}getStyles(){return y`
444
445
  :host {
445
446
  display: inline-block;
446
447
  }
@@ -463,6 +464,7 @@ class fi extends Ot{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
463
464
  text-rendering: auto;
464
465
  -webkit-font-smoothing: antialiased;
465
466
  -moz-osx-font-smoothing: grayscale;
467
+ vertical-align: ${xi.verticalAlign};
466
468
  }
467
469
 
468
470
  .ft-icon--fluid-topics {
@@ -478,10 +480,10 @@ class fi extends Ot{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
478
480
  }
479
481
  `}getTemplate(){return I`
480
482
  <i class="ft-icon ${"ft-icon--"+this.variant}">
481
- ${di(this.getIcon())}
483
+ ${ui(this.getIcon())}
482
484
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
483
485
  </i>
484
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===vi.file_format?null!==(t=yi[i.toUpperCase()])&&void 0!==t?t:i:this.variant===vi.fluid_topics?null!==(e=ui[i.toUpperCase()])&&void 0!==e?e:i:K}}gi.elementDefinitions={},bi([o()],gi.prototype,"variant",void 0),bi([s("slot")],gi.prototype,"slottedContent",void 0),p("ft-icon")(gi);var mi=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const wi=ht.extend("--ft-button-color",ft.colorPrimary),$i={backgroundColor:ht.extend("--ft-button-background-color",ft.colorSurface),borderRadius:ht.extend("--ft-button-border-radius",ft.borderRadiusL),color:wi,fontSize:ht.extend("--ft-button-font-size",Ke.fontSize),iconSize:ht.create("--ft-button-icon-size","SIZE","24px"),rippleColor:ht.extend("--ft-button-ripple-color",wi),opacityDisabled:ht.external(ft.colorOpacityDisabled,"Design system")},Oi=ht.extend("--ft-button-primary-color",ht.extend("--ft-button-color",ft.colorOnPrimary)),Si={backgroundColor:ht.extend("--ft-button-primary-background-color",ht.extend("--ft-button-background-color",ft.colorPrimary)),color:Oi,rippleColor:ht.extend("--ft-button-primary-ripple-color",Oi)},ki=ht.extend("--ft-button-dense-border-radius",ht.extend("--ft-button-border-radius",ft.borderRadiusM));class Ci extends ut{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[yt,y`
486
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===bi.file_format?null!==(t=vi[i.toUpperCase()])&&void 0!==t?t:i:this.variant===bi.fluid_topics?null!==(e=yi[i.toUpperCase()])&&void 0!==e?e:i:K}}mi.elementDefinitions={},gi([o()],mi.prototype,"variant",void 0),gi([r("slot")],mi.prototype,"slottedContent",void 0),p("ft-icon")(mi);var wi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const $i=ht.extend("--ft-button-color",ft.colorPrimary),Oi={backgroundColor:ht.extend("--ft-button-background-color",ft.colorSurface),borderRadius:ht.extend("--ft-button-border-radius",ft.borderRadiusL),color:$i,fontSize:ht.extend("--ft-button-font-size",Ke.fontSize),iconSize:ht.create("--ft-button-icon-size","SIZE","24px"),rippleColor:ht.extend("--ft-button-ripple-color",$i),opacityDisabled:ht.external(ft.colorOpacityDisabled,"Design system")},Si=ht.extend("--ft-button-primary-color",ht.extend("--ft-button-color",ft.colorOnPrimary)),ki={backgroundColor:ht.extend("--ft-button-primary-background-color",ht.extend("--ft-button-background-color",ft.colorPrimary)),color:Si,rippleColor:ht.extend("--ft-button-primary-ripple-color",Si)},Ni=ht.extend("--ft-button-dense-border-radius",ht.extend("--ft-button-border-radius",ft.borderRadiusM));class Ci extends ut{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[yt,y`
485
487
  :host {
486
488
  display: inline-block;
487
489
  max-width: 100%;
@@ -492,7 +494,7 @@ class fi extends Ot{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
492
494
  box-shadow: 0px 0px 0px transparent;
493
495
  border: 0px solid transparent;
494
496
  text-shadow: 0px 0px 0px transparent;
495
- font-size: 16px;
497
+ font-size: ${Oi.fontSize};
496
498
  }
497
499
 
498
500
  button:hover {
@@ -521,18 +523,17 @@ class fi extends Ot{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
521
523
  border: none;
522
524
  pointer-events: auto;
523
525
 
524
- --ft-button-internal-font-size: ${$i.fontSize};
525
- --ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
526
- --ft-button-internal-color: ${$i.color};
527
- ${ct(xi.size,$i.iconSize)};
526
+ --ft-button-internal-line-height: calc(${Oi.fontSize} + 2px);
527
+ --ft-button-internal-color: ${Oi.color};
528
+ ${ct(xi.size,Oi.iconSize)};
528
529
  --ft-button-internal-vertical-padding: 6px;
529
530
  --ft-button-internal-horizontal-padding: 8px;
530
- ${ct(Nt.color,$i.rippleColor)};
531
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${$i.iconSize});
531
+ ${ct(Ct.color,Oi.rippleColor)};
532
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Oi.iconSize});
532
533
 
533
- border-radius: ${$i.borderRadius};
534
+ border-radius: ${Oi.borderRadius};
534
535
  padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
535
- background-color: ${$i.backgroundColor};
536
+ background-color: ${Oi.backgroundColor};
536
537
  color: var(--ft-button-internal-color);
537
538
  -webkit-mask-image: radial-gradient(white, black);
538
539
  }
@@ -544,7 +545,7 @@ class fi extends Ot{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
544
545
  .ft-button--dense {
545
546
  --ft-button-internal-vertical-padding: 2px;
546
547
  --ft-button-internal-horizontal-padding: 4px;
547
- border-radius: ${ki};
548
+ border-radius: ${Ni};
548
549
  }
549
550
 
550
551
  .ft-button--round {
@@ -553,13 +554,13 @@ class fi extends Ot{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
553
554
 
554
555
  .ft-button[disabled] {
555
556
  filter: grayscale(1);
556
- opacity: ${$i.opacityDisabled};
557
+ opacity: ${Oi.opacityDisabled};
557
558
  }
558
559
 
559
560
  .ft-button.ft-button--primary {
560
- background-color: ${Si.backgroundColor};
561
- --ft-button-internal-color: ${Si.color};
562
- ${ct(Nt.color,Si.rippleColor)};
561
+ background-color: ${ki.backgroundColor};
562
+ --ft-button-internal-color: ${ki.color};
563
+ ${ct(Ct.color,ki.rippleColor)};
563
564
  }
564
565
 
565
566
  .ft-button.ft-button--outlined {
@@ -578,7 +579,7 @@ class fi extends Ot{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
578
579
  text-overflow: ellipsis;
579
580
  display: block;
580
581
  margin: 0 var(--ft-button-internal-horizontal-padding);
581
- ${ct(Ke.fontSize,"var(--ft-button-internal-font-size)")};
582
+ ${ct(Ke.fontSize,"1em")};
582
583
  ${ct(Ke.lineHeight,"var(--ft-button-internal-content-height)")};
583
584
  }
584
585
 
@@ -612,10 +613,10 @@ class fi extends Ot{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
612
613
  }
613
614
 
614
615
  ft-loader {
615
- ${ct(hi.size,$i.iconSize)};
616
- ${ct(hi.color,"var(--ft-button-internal-color)")};
616
+ ${ct(ci.size,Oi.iconSize)};
617
+ ${ct(ci.color,"var(--ft-button-internal-color)")};
617
618
  }
618
- `]}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":gt,"ft-no-text-select":!0};return this.addTooltip(I`
619
+ `]}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":xt,"ft-no-text-select":!0};return this.addTooltip(I`
619
620
  <button part="button"
620
621
  class="${St(t)}"
621
622
  aria-label="${this.getLabel()}"
@@ -637,7 +638,7 @@ class fi extends Ot{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
637
638
  </ft-tooltip>
638
639
  `}resolveIcon(){return this.loading?I`
639
640
  <ft-loader></ft-loader> `:this.icon?I`
640
- <ft-icon variant="material">${this.icon}</ft-icon> `:K}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}}Ci.elementDefinitions={"ft-ripple":jt,"ft-tooltip":pi,"ft-typography":ii,"ft-icon":gi,"ft-loader":ci},mi([o({type:Boolean})],Ci.prototype,"primary",void 0),mi([o({type:Boolean})],Ci.prototype,"outlined",void 0),mi([o({type:Boolean})],Ci.prototype,"disabled",void 0),mi([o({type:Boolean})],Ci.prototype,"dense",void 0),mi([o({type:Boolean})],Ci.prototype,"round",void 0),mi([o({type:String})],Ci.prototype,"label",void 0),mi([o({type:String})],Ci.prototype,"icon",void 0),mi([o({type:Boolean})],Ci.prototype,"trailingIcon",void 0),mi([o({type:Boolean})],Ci.prototype,"loading",void 0),mi([o({type:String})],Ci.prototype,"tooltipPosition",void 0),mi([s(".ft-button")],Ci.prototype,"button",void 0),mi([s(".ft-button--label slot")],Ci.prototype,"slottedContent",void 0),p("ft-button")(Ci);var Ni=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Ei extends ut{constructor(){super(...arguments),this.open=!1,this.label="Open here",this.primary=!1,this.secondary=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.openIcon="expand_less",this.closedIcon="expand_more",this.trailingIcon=!1}render(){return I`
641
+ <ft-icon variant="material">${this.icon}</ft-icon> `:K}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}}Ci.elementDefinitions={"ft-ripple":jt,"ft-tooltip":hi,"ft-typography":ii,"ft-icon":mi,"ft-loader":fi},wi([o({type:Boolean})],Ci.prototype,"primary",void 0),wi([o({type:Boolean})],Ci.prototype,"outlined",void 0),wi([o({type:Boolean})],Ci.prototype,"disabled",void 0),wi([o({type:Boolean})],Ci.prototype,"dense",void 0),wi([o({type:Boolean})],Ci.prototype,"round",void 0),wi([o({type:String})],Ci.prototype,"label",void 0),wi([o({type:String})],Ci.prototype,"icon",void 0),wi([o({type:Boolean})],Ci.prototype,"trailingIcon",void 0),wi([o({type:Boolean})],Ci.prototype,"loading",void 0),wi([o({type:String})],Ci.prototype,"tooltipPosition",void 0),wi([r(".ft-button")],Ci.prototype,"button",void 0),wi([r(".ft-button--label slot")],Ci.prototype,"slottedContent",void 0),p("ft-button")(Ci);var Ei=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Ri extends ut{constructor(){super(...arguments),this.open=!1,this.label="Open here",this.primary=!1,this.secondary=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.openIcon="expand_less",this.closedIcon="expand_more",this.trailingIcon=!1}render(){return I`
641
642
  <ft-button
642
643
  part="toggle"
643
644
  icon=${this.open?this.openIcon:this.closedIcon}
@@ -659,7 +660,7 @@ class fi extends Ot{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
659
660
  class="${this.hasCustomToggle()?"":"hidden"}"
660
661
  ></slot>
661
662
  <slot class="content ${this.open?"":"hidden"}"></slot>
662
- `}onCustomToggleSlotChange(){this.requestUpdate()}hasCustomToggle(){var t,e;return 0!==(null!==(e=null===(t=this.toggleSlot)||void 0===t?void 0:t.assignedNodes().length)&&void 0!==e?e:0)}toggleOpen(){this.open=!this.open}update(t){super.update(t),t.has("open")&&this.dispatchEvent(new CustomEvent("change",{detail:{open:this.open}}))}}Ei.elementDefinitions={"ft-button":Ci},Ei.styles=y`
663
+ `}onCustomToggleSlotChange(){this.requestUpdate()}hasCustomToggle(){var t,e;return 0!==(null!==(e=null===(t=this.toggleSlot)||void 0===t?void 0:t.assignedNodes().length)&&void 0!==e?e:0)}toggleOpen(){this.open=!this.open}update(t){super.update(t),t.has("open")&&this.dispatchEvent(new CustomEvent("change",{detail:{open:this.open}}))}}Ri.elementDefinitions={"ft-button":Ci},Ri.styles=y`
663
664
  :host, :root {
664
665
  display: block;
665
666
  }
@@ -671,4 +672,4 @@ class fi extends Ot{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
671
672
  .hidden {
672
673
  display: none;
673
674
  }
674
- `,Ni([s(".content")],Ei.prototype,"content",void 0),Ni([o({type:Boolean,reflect:!0})],Ei.prototype,"open",void 0),Ni([o()],Ei.prototype,"label",void 0),Ni([o({type:Boolean})],Ei.prototype,"primary",void 0),Ni([o({type:Boolean})],Ei.prototype,"secondary",void 0),Ni([o({type:Boolean})],Ei.prototype,"disabled",void 0),Ni([o({type:Boolean})],Ei.prototype,"dense",void 0),Ni([o({type:Boolean})],Ei.prototype,"round",void 0),Ni([o({type:String})],Ei.prototype,"openIcon",void 0),Ni([o({type:String})],Ei.prototype,"closedIcon",void 0),Ni([o({type:Boolean})],Ei.prototype,"trailingIcon",void 0),Ni([s('slot[name="toggle"]')],Ei.prototype,"toggleSlot",void 0),p("ft-collapsible")(Ei),t.FtCollapsible=Ei,Object.defineProperty(t,"i",{value:!0})}({});
675
+ `,Ei([r(".content")],Ri.prototype,"content",void 0),Ei([o({type:Boolean,reflect:!0})],Ri.prototype,"open",void 0),Ei([o()],Ri.prototype,"label",void 0),Ei([o({type:Boolean})],Ri.prototype,"primary",void 0),Ei([o({type:Boolean})],Ri.prototype,"secondary",void 0),Ei([o({type:Boolean})],Ri.prototype,"disabled",void 0),Ei([o({type:Boolean})],Ri.prototype,"dense",void 0),Ei([o({type:Boolean})],Ri.prototype,"round",void 0),Ei([o({type:String})],Ri.prototype,"openIcon",void 0),Ei([o({type:String})],Ri.prototype,"closedIcon",void 0),Ei([o({type:Boolean})],Ri.prototype,"trailingIcon",void 0),Ei([r('slot[name="toggle"]')],Ri.prototype,"toggleSlot",void 0),p("ft-collapsible")(Ri),t.FtCollapsible=Ri,Object.defineProperty(t,"i",{value:!0})}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-collapsible",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
4
4
  "description": "Collapsible web component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,9 +19,9 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-button": "0.3.4",
23
- "@fluid-topics/ft-wc-utils": "0.3.4",
22
+ "@fluid-topics/ft-button": "0.3.6",
23
+ "@fluid-topics/ft-wc-utils": "0.3.6",
24
24
  "lit": "2.2.8"
25
25
  },
26
- "gitHead": "3179cf74226f9447314e09a6b16a816871c0e15f"
26
+ "gitHead": "174dee2cde0a01bd51aba1031d4c5128f6fe81f1"
27
27
  }