@fluid-topics/ft-reader-metadata 0.3.22 → 0.3.23

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.
@@ -2,12 +2,12 @@
2
2
  :host {
3
3
  display: inline-block;
4
4
  }
5
- `;var l=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 p extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const a=function(t){class i extends t{setReaderStateManager(t){this.stateManager=t,this.store=t.store}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),setTimeout((()=>this.dispatchEvent(new p)),10)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}return l([o.state()],i.prototype,"stateManager",void 0),i}(i.FtLitElementRedux);
5
+ `;var l,p=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 a extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class h extends(function(t){class i extends t{setReaderStateManager(t){this.stateManager=t,this.store=t.store}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),setTimeout((()=>this.dispatchEvent(new a)),10)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}return p([o.state()],i.prototype,"stateManager",void 0),i}(i.FtLitElementRedux)){}
6
6
  /**
7
7
  * @license
8
8
  * Copyright 2017 Google LLC
9
9
  * SPDX-License-Identifier: BSD-3-Clause
10
- */var h;const f=window,c=f.trustedTypes,d=c?c.createPolicy("lit-html",{createHTML:t=>t}):void 0,g=`lit$${(Math.random()+"").slice(9)}$`,u="?"+g,y=`<${u}>`,x=document,v=(t="")=>x.createComment(t),m=t=>null===t||"object"!=typeof t&&"function"!=typeof t,b=Array.isArray,$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,w=/-->/g,k=/>/g,z=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),O=/'/g,C=/"/g,S=/^(?:script|style|textarea|title)$/i,j=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),N=Symbol.for("lit-noChange"),I=Symbol.for("lit-nothing"),E=new WeakMap,A=x.createTreeWalker(x,129,null,!1),B=(t,i)=>{const e=t.length-1,o=[];let n,s=2===i?"<svg>":"",r=$;for(let i=0;i<e;i++){const e=t[i];let l,p,a=-1,h=0;for(;h<e.length&&(r.lastIndex=h,p=r.exec(e),null!==p);)h=r.lastIndex,r===$?"!--"===p[1]?r=w:void 0!==p[1]?r=k:void 0!==p[2]?(S.test(p[2])&&(n=RegExp("</"+p[2],"g")),r=z):void 0!==p[3]&&(r=z):r===z?">"===p[0]?(r=null!=n?n:$,a=-1):void 0===p[1]?a=-2:(a=r.lastIndex-p[2].length,l=p[1],r=void 0===p[3]?z:'"'===p[3]?C:O):r===C||r===O?r=z:r===w||r===k?r=$:(r=z,n=void 0);const f=r===z&&t[i+1].startsWith("/>")?" ":"";s+=r===$?e+y:a>=0?(o.push(l),e.slice(0,a)+"$lit$"+e.slice(a)+g+f):e+g+(-2===a?(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!==d?d.createHTML(l):l,o]};class F{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const r=t.length-1,l=this.parts,[p,a]=B(t,i);if(this.el=F.createElement(p,e),A.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=A.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(g)){const e=a[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(g),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?Z:"?"===i[1]?W:"@"===i[1]?D:U})}else l.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(S.test(o.tagName)){const t=o.textContent.split(g),i=t.length-1;if(i>0){o.textContent=c?c.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],v()),A.nextNode(),l.push({type:2,index:++n});o.append(t[i],v())}}}else if(8===o.nodeType)if(o.data===u)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(g,t+1));)l.push({type:7,index:n}),t+=g.length-1}n++}}static createElement(t,i){const e=x.createElement("template");return e.innerHTML=t,e}}function T(t,i,e=t,o){var n,s,r,l;if(i===N)return i;let p=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const a=m(i)?void 0:i._$litDirective$;return(null==p?void 0:p.constructor)!==a&&(null===(s=null==p?void 0:p._$AO)||void 0===s||s.call(p,!1),void 0===a?p=void 0:(p=new a(t),p._$AT(t,e,o)),void 0!==o?(null!==(r=(l=e)._$Co)&&void 0!==r?r:l._$Co=[])[o]=p:e._$Cl=p),void 0!==p&&(i=T(t,p._$AS(t,i.values),p,o)),i}class M{constructor(t,i){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:x).importNode(e,!0);A.currentNode=n;let s=A.nextNode(),r=0,l=0,p=o[0];for(;void 0!==p;){if(r===p.index){let i;2===p.type?i=new _(s,s.nextSibling,this,t):1===p.type?i=new p.ctor(s,p.name,p.strings,this,t):6===p.type&&(i=new K(s,this,t)),this.u.push(i),p=o[++l]}r!==(null==p?void 0:p.index)&&(s=A.nextNode(),r++)}return n}p(t){let i=0;for(const e of this.u)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class _{constructor(t,i,e,o){var n;this.type=2,this._$AH=I,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cm=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=T(this,t,i),m(t)?t===I||null==t||""===t?(this._$AH!==I&&this._$AR(),this._$AH=I):t!==this._$AH&&t!==N&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>b(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==I&&m(this._$AH)?this._$AA.nextSibling.data=t:this.T(x.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=F.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.p(e);else{const t=new M(n,this),i=t.v(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let i=E.get(t.strings);return void 0===i&&E.set(t.strings,i=new F(t)),i}k(t){b(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new _(this.O(v()),this.O(v()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cm=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class U{constructor(t,i,e,o,n){this.type=1,this._$AH=I,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=I}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=T(this,t,i,0),s=!m(t)||t!==this._$AH&&t!==N,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=T(this,o[e+r],i,r),l===N&&(l=this._$AH[r]),s||(s=!m(l)||l!==this._$AH[r]),l===I?t=I:t!==I&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.j(t)}j(t){t===I?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Z extends U{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===I?void 0:t}}const R=c?c.emptyScript:"";class W extends U{constructor(){super(...arguments),this.type=4}j(t){t&&t!==I?this.element.setAttribute(this.name,R):this.element.removeAttribute(this.name)}}class D extends U{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=T(this,t,i,0))&&void 0!==e?e:I)===N)return;const o=this._$AH,n=t===I&&o!==I||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==I&&(o===I||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 K{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){T(this,t)}}const G=f.litHtmlPolyfillSupport;null==G||G(F,_),(null!==(h=f.litHtmlVersions)&&void 0!==h?h:f.litHtmlVersions=[]).push("2.4.0");
10
+ */const f=window,c=f.trustedTypes,d=c?c.createPolicy("lit-html",{createHTML:t=>t}):void 0,g=`lit$${(Math.random()+"").slice(9)}$`,u="?"+g,y=`<${u}>`,x=document,v=(t="")=>x.createComment(t),m=t=>null===t||"object"!=typeof t&&"function"!=typeof t,b=Array.isArray,$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,w=/-->/g,k=/>/g,z=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),O=/'/g,C=/"/g,S=/^(?:script|style|textarea|title)$/i,j=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),N=Symbol.for("lit-noChange"),I=Symbol.for("lit-nothing"),E=new WeakMap,A=x.createTreeWalker(x,129,null,!1),B=(t,i)=>{const e=t.length-1,o=[];let n,s=2===i?"<svg>":"",r=$;for(let i=0;i<e;i++){const e=t[i];let l,p,a=-1,h=0;for(;h<e.length&&(r.lastIndex=h,p=r.exec(e),null!==p);)h=r.lastIndex,r===$?"!--"===p[1]?r=w:void 0!==p[1]?r=k:void 0!==p[2]?(S.test(p[2])&&(n=RegExp("</"+p[2],"g")),r=z):void 0!==p[3]&&(r=z):r===z?">"===p[0]?(r=null!=n?n:$,a=-1):void 0===p[1]?a=-2:(a=r.lastIndex-p[2].length,l=p[1],r=void 0===p[3]?z:'"'===p[3]?C:O):r===C||r===O?r=z:r===w||r===k?r=$:(r=z,n=void 0);const f=r===z&&t[i+1].startsWith("/>")?" ":"";s+=r===$?e+y:a>=0?(o.push(l),e.slice(0,a)+"$lit$"+e.slice(a)+g+f):e+g+(-2===a?(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!==d?d.createHTML(l):l,o]};class F{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const r=t.length-1,l=this.parts,[p,a]=B(t,i);if(this.el=F.createElement(p,e),A.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=A.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(g)){const e=a[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(g),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?Z:"?"===i[1]?W:"@"===i[1]?D:U})}else l.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(S.test(o.tagName)){const t=o.textContent.split(g),i=t.length-1;if(i>0){o.textContent=c?c.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],v()),A.nextNode(),l.push({type:2,index:++n});o.append(t[i],v())}}}else if(8===o.nodeType)if(o.data===u)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(g,t+1));)l.push({type:7,index:n}),t+=g.length-1}n++}}static createElement(t,i){const e=x.createElement("template");return e.innerHTML=t,e}}function T(t,i,e=t,o){var n,s,r,l;if(i===N)return i;let p=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const a=m(i)?void 0:i._$litDirective$;return(null==p?void 0:p.constructor)!==a&&(null===(s=null==p?void 0:p._$AO)||void 0===s||s.call(p,!1),void 0===a?p=void 0:(p=new a(t),p._$AT(t,e,o)),void 0!==o?(null!==(r=(l=e)._$Co)&&void 0!==r?r:l._$Co=[])[o]=p:e._$Cl=p),void 0!==p&&(i=T(t,p._$AS(t,i.values),p,o)),i}class M{constructor(t,i){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:x).importNode(e,!0);A.currentNode=n;let s=A.nextNode(),r=0,l=0,p=o[0];for(;void 0!==p;){if(r===p.index){let i;2===p.type?i=new _(s,s.nextSibling,this,t):1===p.type?i=new p.ctor(s,p.name,p.strings,this,t):6===p.type&&(i=new K(s,this,t)),this.u.push(i),p=o[++l]}r!==(null==p?void 0:p.index)&&(s=A.nextNode(),r++)}return n}p(t){let i=0;for(const e of this.u)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class _{constructor(t,i,e,o){var n;this.type=2,this._$AH=I,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cm=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=T(this,t,i),m(t)?t===I||null==t||""===t?(this._$AH!==I&&this._$AR(),this._$AH=I):t!==this._$AH&&t!==N&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>b(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==I&&m(this._$AH)?this._$AA.nextSibling.data=t:this.T(x.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=F.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.p(e);else{const t=new M(n,this),i=t.v(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let i=E.get(t.strings);return void 0===i&&E.set(t.strings,i=new F(t)),i}k(t){b(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new _(this.O(v()),this.O(v()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cm=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class U{constructor(t,i,e,o,n){this.type=1,this._$AH=I,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=I}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=T(this,t,i,0),s=!m(t)||t!==this._$AH&&t!==N,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=T(this,o[e+r],i,r),l===N&&(l=this._$AH[r]),s||(s=!m(l)||l!==this._$AH[r]),l===I?t=I:t!==I&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.j(t)}j(t){t===I?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Z extends U{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===I?void 0:t}}const R=c?c.emptyScript:"";class W extends U{constructor(){super(...arguments),this.type=4}j(t){t&&t!==I?this.element.setAttribute(this.name,R):this.element.removeAttribute(this.name)}}class D extends U{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=T(this,t,i,0))&&void 0!==e?e:I)===N)return;const o=this._$AH,n=t===I&&o!==I||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==I&&(o===I||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 K{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){T(this,t)}}const G=f.litHtmlPolyfillSupport;null==G||G(F,_),(null!==(l=f.litHtmlVersions)&&void 0!==l?l:f.litHtmlVersions=[]).push("2.4.0");
11
11
  /**
12
12
  * @license
13
13
  * Copyright 2020 Google LLC
@@ -460,7 +460,7 @@ const H=Symbol.for(""),L=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
460
460
  <ft-ripple ?disabled=${!this.interactionsOnIcon}></ft-ripple>
461
461
  <ft-icon variant="material">${this.internalIcon}</ft-icon>
462
462
  </div>
463
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Xi))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Xi))}getLabel(){return this.label||this.textContent}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:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"cancel":void 0)}}Yi.elementDefinitions={"ft-ripple":Ti,"ft-typography":di,"ft-icon":Ri},Yi.styles=Pi,qi([o.property({type:Boolean})],Yi.prototype,"highlighted",void 0),qi([o.property({type:Boolean})],Yi.prototype,"removable",void 0),qi([o.property({type:Boolean})],Yi.prototype,"disabled",void 0),qi([o.property({type:Boolean})],Yi.prototype,"clickable",void 0),qi([o.property({type:Boolean})],Yi.prototype,"iconClickable",void 0),qi([o.property({type:Boolean})],Yi.prototype,"dense",void 0),qi([o.property({type:Boolean})],Yi.prototype,"multiLine",void 0),qi([o.property({type:String})],Yi.prototype,"label",void 0),qi([o.property({type:String})],Yi.prototype,"icon",void 0),qi([o.property({type:Boolean})],Yi.prototype,"trailingIcon",void 0),qi([o.query("ft-typography slot")],Yi.prototype,"slottedContent",void 0),i.customElement("ft-chip")(Yi);var Ji=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class Qi extends a{constructor(){super(...arguments),this.editorMode=!1}render(){return e.html`
463
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Xi))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Xi))}getLabel(){return this.label||this.textContent}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:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"cancel":void 0)}}Yi.elementDefinitions={"ft-ripple":Ti,"ft-typography":di,"ft-icon":Ri},Yi.styles=Pi,qi([o.property({type:Boolean})],Yi.prototype,"highlighted",void 0),qi([o.property({type:Boolean})],Yi.prototype,"removable",void 0),qi([o.property({type:Boolean})],Yi.prototype,"disabled",void 0),qi([o.property({type:Boolean})],Yi.prototype,"clickable",void 0),qi([o.property({type:Boolean})],Yi.prototype,"iconClickable",void 0),qi([o.property({type:Boolean})],Yi.prototype,"dense",void 0),qi([o.property({type:Boolean})],Yi.prototype,"multiLine",void 0),qi([o.property({type:String})],Yi.prototype,"label",void 0),qi([o.property({type:String})],Yi.prototype,"icon",void 0),qi([o.property({type:Boolean})],Yi.prototype,"trailingIcon",void 0),qi([o.query("ft-typography slot")],Yi.prototype,"slottedContent",void 0),i.customElement("ft-chip")(Yi);var Ji=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class Qi extends h{constructor(){super(...arguments),this.editorMode=!1}render(){return e.html`
464
464
  <ft-tooltip text="${this.tooltipText}">
465
465
  <ft-chip>
466
466
  ${this.renderContent()}
@@ -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,i=window.customElements.define,e=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 h={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,h),this._definitionsByClass.set(n,h);let c=e.call(o,t);c||(c=p(t),i.call(o,t,c)),this===window.customElements&&(s.set(n,h),h.standInClass=c);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)r.delete(t),u(t,h,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){y.push(this),o.upgrade.apply(o,arguments),y.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const i=this._getDefinition(t);if(void 0!==i)return Promise.resolve(i.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,i,e){let o=this._awaitingUpgrade.get(i);o||this._awaitingUpgrade.set(i,o=new Set),e?o.add(t):o.delete(t)}},window.HTMLElement=function(){let i=l;if(i)return l=void 0,i;const e=s.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return i=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(i,this.constructor.prototype),n.set(i,e),i},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let i=t.getRootNode();if(!h(i)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;i=t.getRootNode(),h(i)||(i=a.get(i)?.getRootNode()||document)}return i.customElements},p=i=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const o=c(e)||window.customElements,n=o._getDefinition(i);return n?u(e,n):r.set(e,o),e}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,i,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,i,!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,i,e)=>{if(0===i.size||void 0===e)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const r=t.toLowerCase();if(i.has(r)){const t=this.getAttribute(r);o.call(this,r,n),e.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(i.has(o)){const t=this.getAttribute(o);n.call(this,o),e.call(this,o,t,null)}else n.call(this,o)})},d=i=>{const e=Object.getPrototypeOf(i);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(i,window.HTMLElement):d(e)},u=(t,i,e=!1)=>{Object.setPrototypeOf(t,i.elementClass.prototype),n.set(t,i),l=t;try{new i.elementClass}catch(t){d(i.elementClass),new i.elementClass}i.observedAttributes.forEach((e=>{t.hasAttribute(e)&&i.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&i.connectedCallback&&t.isConnected&&i.connectedCallback.call(t)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const i=v.apply(this,arguments);return t.customElements&&(i.customElements=t.customElements),i};let y=[document];const g=(t,i,e)=>{const o=(e?Object.getPrototypeOf(e):t.prototype)[i];t.prototype[i]=function(){y.push(this);const t=o.apply(e||this,arguments);return void 0!==t&&a.set(t,this),y.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const x=(t,i)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,i);Object.defineProperty(t.prototype,i,{...e,set(t){y.push(this),e.set.call(this,t),y.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,i=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const o=i.call(this,...e);return t.set(o,this),o},e.forEach((i=>{const e=window.ElementInternals.prototype,o=e[i];e[i]=function(...i){const e=t.get(this);if(!0!==n.get(e).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...i)}}));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 i=new Map;t.forEach(((t,e)=>{const o=t.getAttribute("name"),n=i.get(o)||[];this[+e]=t,n.push(t),i.set(o,n)})),this.length=t.length,i.forEach(((t,i)=>{t&&(1===t.length?this[i]=t[0]:this[i]=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,[]),i=[];for(const e of t){const t=n.get(e);t&&!0!==t.formAssociated||i.push(e)}return new r(i)}})}}try{window.customElements.define("custom-element",null)}catch($e){const t=window.customElements.define;window.customElements.define=(i,e,o)=>{try{t.bind(window.customElements)(i,e,o)}catch(t){console.info(i,e,o,t)}}}class i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,i){this.callbacks=[t],this.debounce(i)}queue(t,i){this.callbacks.push(t),this.debounce(i)}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,i=window.customElements.define,e=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 h={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,h),this._definitionsByClass.set(n,h);let c=e.call(o,t);c||(c=p(t),i.call(o,t,c)),this===window.customElements&&(s.set(n,h),h.standInClass=c);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)r.delete(t),u(t,h,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){y.push(this),o.upgrade.apply(o,arguments),y.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const i=this._getDefinition(t);if(void 0!==i)return Promise.resolve(i.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,i,e){let o=this._awaitingUpgrade.get(i);o||this._awaitingUpgrade.set(i,o=new Set),e?o.add(t):o.delete(t)}},window.HTMLElement=function(){let i=l;if(i)return l=void 0,i;const e=s.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return i=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(i,this.constructor.prototype),n.set(i,e),i},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let i=t.getRootNode();if(!h(i)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;i=t.getRootNode(),h(i)||(i=a.get(i)?.getRootNode()||document)}return i.customElements},p=i=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const o=c(e)||window.customElements,n=o._getDefinition(i);return n?u(e,n):r.set(e,o),e}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,i,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,i,!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,i,e)=>{if(0===i.size||void 0===e)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const r=t.toLowerCase();if(i.has(r)){const t=this.getAttribute(r);o.call(this,r,n),e.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(i.has(o)){const t=this.getAttribute(o);n.call(this,o),e.call(this,o,t,null)}else n.call(this,o)})},d=i=>{const e=Object.getPrototypeOf(i);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(i,window.HTMLElement):d(e)},u=(t,i,e=!1)=>{Object.setPrototypeOf(t,i.elementClass.prototype),n.set(t,i),l=t;try{new i.elementClass}catch(t){d(i.elementClass),new i.elementClass}i.observedAttributes.forEach((e=>{t.hasAttribute(e)&&i.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&i.connectedCallback&&t.isConnected&&i.connectedCallback.call(t)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const i=v.apply(this,arguments);return t.customElements&&(i.customElements=t.customElements),i};let y=[document];const g=(t,i,e)=>{const o=(e?Object.getPrototypeOf(e):t.prototype)[i];t.prototype[i]=function(){y.push(this);const t=o.apply(e||this,arguments);return void 0!==t&&a.set(t,this),y.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const x=(t,i)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,i);Object.defineProperty(t.prototype,i,{...e,set(t){y.push(this),e.set.call(this,t),y.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,i=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const o=i.call(this,...e);return t.set(o,this),o},e.forEach((i=>{const e=window.ElementInternals.prototype,o=e[i];e[i]=function(...i){const e=t.get(this);if(!0!==n.get(e).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...i)}}));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 i=new Map;t.forEach(((t,e)=>{const o=t.getAttribute("name"),n=i.get(o)||[];this[+e]=t,n.push(t),i.set(o,n)})),this.length=t.length,i.forEach(((t,i)=>{t&&(1===t.length?this[i]=t[0]:this[i]=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,[]),i=[];for(const e of t){const t=n.get(e);t&&!0!==t.formAssociated||i.push(e)}return new r(i)}})}}try{window.customElements.define("custom-element",null)}catch(Oe){const t=window.customElements.define;window.customElements.define=(i,e,o)=>{try{t.bind(window.customElements)(i,e,o)}catch(t){console.info(i,e,o,t)}}}class i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,i){this.callbacks=[t],this.debounce(i)}queue(t,i){this.callbacks.push(t),this.debounce(i)}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
@@ -92,118 +92,118 @@ var ct,pt;class ft extends E{constructor(){super(...arguments),this.renderOption
92
92
  -webkit-hyphens: auto;
93
93
  hyphens: auto
94
94
  }
95
- `;var mt,wt,$t;const Ot=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==($t=null===(wt=null===(mt=window.safari)||void 0===mt?void 0:mt.pushNotification)||void 0===wt?void 0:wt.toString())&&void 0!==$t?$t:""),kt=g`
95
+ `;class mt extends xt{get store(){return this.internalStore}set store(t){this.internalStore=t,this.store&&this.setupStore()}updateFromStore(){const t=this.store.getState();this.reduxProperties&&this.reduxProperties.forEach(((i,e)=>{this[e]=i(t,this)}))}setupStore(){this.unsubscribeFromStore&&this.unsubscribeFromStore(),this.updateFromStore(),this.unsubscribeFromStore=this.store.subscribe((()=>{this.updateFromStore()})),this.onStoreAvailable(),this.requestUpdate()}onStoreAvailable(){}connectedCallback(){super.connectedCallback(),this.store&&this.setupStore()}disconnectedCallback(){this.unsubscribeFromStore&&this.unsubscribeFromStore(),super.disconnectedCallback()}}var wt,$t,Ot;const kt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ot=null===($t=null===(wt=window.safari)||void 0===wt?void 0:wt.pushNotification)||void 0===$t?void 0:$t.toString())&&void 0!==Ot?Ot:""),St=g`
96
96
  :host {
97
97
  display: inline-block;
98
98
  }
99
- `;var St=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Ct extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Nt=function(t){class i extends t{setReaderStateManager(t){this.stateManager=t,this.store=t.store}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),setTimeout((()=>this.dispatchEvent(new Ct)),10)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}return St([n()],i.prototype,"stateManager",void 0),i}(class extends xt{get store(){return this.internalStore}set store(t){this.internalStore=t,this.store&&this.setupStore()}updateFromStore(){const t=this.store.getState();this.reduxProperties&&this.reduxProperties.forEach(((i,e)=>{this[e]=i(t,this)}))}setupStore(){this.unsubscribeFromStore&&this.unsubscribeFromStore(),this.updateFromStore(),this.unsubscribeFromStore=this.store.subscribe((()=>{this.updateFromStore()})),this.onStoreAvailable(),this.requestUpdate()}onStoreAvailable(){}connectedCallback(){super.connectedCallback(),this.store&&this.setupStore()}disconnectedCallback(){this.unsubscribeFromStore&&this.unsubscribeFromStore(),super.disconnectedCallback()}}),Et=Symbol.for(""),Rt=t=>{if((null==t?void 0:t.r)===Et)return null==t?void 0:t._$litStatic$},Mt=t=>({_$litStatic$:t,r:Et}),zt=new Map,Ut=(t=>(i,...e)=>{const o=e.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=i[h];h<o&&void 0!==(r=e[h],n=Rt(r));)l+=n+i[++h],c=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(i[o]),c){const t=s.join("$$lit$$");void 0===(i=zt.get(t))&&(s.raw=s,zt.set(t,i=s)),e=a}return t(i,...e)})(V);
99
+ `;var Ct=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Nt extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class Et extends(function(t){class i extends t{setReaderStateManager(t){this.stateManager=t,this.store=t.store}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),setTimeout((()=>this.dispatchEvent(new Nt)),10)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}return Ct([n()],i.prototype,"stateManager",void 0),i}(mt)){}
100
100
  /**
101
101
  * @license
102
102
  * Copyright 2020 Google LLC
103
103
  * SPDX-License-Identifier: BSD-3-Clause
104
- */var jt;!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"}(jt||(jt={}));const Ft=ut.extend("--ft-typography-font-family",yt.titleFont),At=ut.extend("--ft-typography-font-family",yt.contentFont),Bt={fontFamily:At,fontSize:ut.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ut.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ut.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ut.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ut.create("--ft-typography-text-transform","UNKNOWN","inherit")},Lt=ut.extend("--ft-typography-title-font-family",Ft),Tt=ut.extend("--ft-typography-title-font-size",Bt.fontSize,"20px"),Pt=ut.extend("--ft-typography-title-font-weight",Bt.fontWeight,"normal"),It=ut.extend("--ft-typography-title-letter-spacing",Bt.letterSpacing,"0.15px"),_t=ut.extend("--ft-typography-title-line-height",Bt.lineHeight,"1.2"),Dt=ut.extend("--ft-typography-title-text-transform",Bt.textTransform,"inherit"),Wt=ut.extend("--ft-typography-title-dense-font-family",Ft),Kt=ut.extend("--ft-typography-title-dense-font-size",Bt.fontSize,"14px"),Ht=ut.extend("--ft-typography-title-dense-font-weight",Bt.fontWeight,"normal"),Zt=ut.extend("--ft-typography-title-dense-letter-spacing",Bt.letterSpacing,"0.105px"),Vt=ut.extend("--ft-typography-title-dense-line-height",Bt.lineHeight,"1.7"),Jt=ut.extend("--ft-typography-title-dense-text-transform",Bt.textTransform,"inherit"),qt=ut.extend("--ft-typography-subtitle1-font-family",At),Xt=ut.extend("--ft-typography-subtitle1-font-size",Bt.fontSize,"16px"),Yt=ut.extend("--ft-typography-subtitle1-font-weight",Bt.fontWeight,"600"),Gt=ut.extend("--ft-typography-subtitle1-letter-spacing",Bt.letterSpacing,"0.144px"),Qt=ut.extend("--ft-typography-subtitle1-line-height",Bt.lineHeight,"1.5"),ti=ut.extend("--ft-typography-subtitle1-text-transform",Bt.textTransform,"inherit"),ii=ut.extend("--ft-typography-subtitle2-font-family",At),ei=ut.extend("--ft-typography-subtitle2-font-size",Bt.fontSize,"14px"),oi=ut.extend("--ft-typography-subtitle2-font-weight",Bt.fontWeight,"normal"),ni=ut.extend("--ft-typography-subtitle2-letter-spacing",Bt.letterSpacing,"0.098px"),ri=ut.extend("--ft-typography-subtitle2-line-height",Bt.lineHeight,"1.7"),si=ut.extend("--ft-typography-subtitle2-text-transform",Bt.textTransform,"inherit"),ai=ut.extend("--ft-typography-body1-font-family",At),li=ut.extend("--ft-typography-body1-font-size",Bt.fontSize,"16px"),hi=ut.extend("--ft-typography-body1-font-weight",Bt.fontWeight,"normal"),ci=ut.extend("--ft-typography-body1-letter-spacing",Bt.letterSpacing,"0.496px"),pi=ut.extend("--ft-typography-body1-line-height",Bt.lineHeight,"1.5"),fi=ut.extend("--ft-typography-body1-text-transform",Bt.textTransform,"inherit"),di={fontFamily:ut.extend("--ft-typography-body2-font-family",At),fontSize:ut.extend("--ft-typography-body2-font-size",Bt.fontSize,"14px"),fontWeight:ut.extend("--ft-typography-body2-font-weight",Bt.fontWeight,"normal"),letterSpacing:ut.extend("--ft-typography-body2-letter-spacing",Bt.letterSpacing,"0.252px"),lineHeight:ut.extend("--ft-typography-body2-line-height",Bt.lineHeight,"1.4"),textTransform:ut.extend("--ft-typography-body2-text-transform",Bt.textTransform,"inherit")},ui=ut.extend("--ft-typography-caption-font-family",At),vi=ut.extend("--ft-typography-caption-font-size",Bt.fontSize,"12px"),yi=ut.extend("--ft-typography-caption-font-weight",Bt.fontWeight,"normal"),gi=ut.extend("--ft-typography-caption-letter-spacing",Bt.letterSpacing,"0.396px"),xi=ut.extend("--ft-typography-caption-line-height",Bt.lineHeight,"1.33"),bi=ut.extend("--ft-typography-caption-text-transform",Bt.textTransform,"inherit"),mi=ut.extend("--ft-typography-breadcrumb-font-family",At),wi=ut.extend("--ft-typography-breadcrumb-font-size",Bt.fontSize,"10px"),$i=ut.extend("--ft-typography-breadcrumb-font-weight",Bt.fontWeight,"normal"),Oi=ut.extend("--ft-typography-breadcrumb-letter-spacing",Bt.letterSpacing,"0.33px"),ki=ut.extend("--ft-typography-breadcrumb-line-height",Bt.lineHeight,"1.6"),Si=ut.extend("--ft-typography-breadcrumb-text-transform",Bt.textTransform,"inherit"),Ci=ut.extend("--ft-typography-overline-font-family",At),Ni=ut.extend("--ft-typography-overline-font-size",Bt.fontSize,"10px"),Ei=ut.extend("--ft-typography-overline-font-weight",Bt.fontWeight,"normal"),Ri=ut.extend("--ft-typography-overline-letter-spacing",Bt.letterSpacing,"1.5px"),Mi=ut.extend("--ft-typography-overline-line-height",Bt.lineHeight,"1.6"),zi=ut.extend("--ft-typography-overline-text-transform",Bt.textTransform,"uppercase"),Ui=ut.extend("--ft-typography-button-font-family",At),ji=ut.extend("--ft-typography-button-font-size",Bt.fontSize,"14px"),Fi=ut.extend("--ft-typography-button-font-weight",Bt.fontWeight,"600"),Ai=ut.extend("--ft-typography-button-letter-spacing",Bt.letterSpacing,"1.246px"),Bi=ut.extend("--ft-typography-button-line-height",Bt.lineHeight,"1.15"),Li=ut.extend("--ft-typography-button-text-transform",Bt.textTransform,"uppercase"),Ti=g`
104
+ */const Rt=Symbol.for(""),Mt=t=>{if((null==t?void 0:t.r)===Rt)return null==t?void 0:t._$litStatic$},zt=t=>({_$litStatic$:t,r:Rt}),Ut=new Map,jt=(t=>(i,...e)=>{const o=e.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=i[h];h<o&&void 0!==(r=e[h],n=Mt(r));)l+=n+i[++h],c=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(i[o]),c){const t=s.join("$$lit$$");void 0===(i=Ut.get(t))&&(s.raw=s,Ut.set(t,i=s)),e=a}return t(i,...e)})(V);var Ft;!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"}(Ft||(Ft={}));const At=ut.extend("--ft-typography-font-family",yt.titleFont),Bt=ut.extend("--ft-typography-font-family",yt.contentFont),Lt={fontFamily:Bt,fontSize:ut.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ut.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ut.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ut.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ut.create("--ft-typography-text-transform","UNKNOWN","inherit")},Tt=ut.extend("--ft-typography-title-font-family",At),Pt=ut.extend("--ft-typography-title-font-size",Lt.fontSize,"20px"),It=ut.extend("--ft-typography-title-font-weight",Lt.fontWeight,"normal"),_t=ut.extend("--ft-typography-title-letter-spacing",Lt.letterSpacing,"0.15px"),Dt=ut.extend("--ft-typography-title-line-height",Lt.lineHeight,"1.2"),Wt=ut.extend("--ft-typography-title-text-transform",Lt.textTransform,"inherit"),Kt=ut.extend("--ft-typography-title-dense-font-family",At),Ht=ut.extend("--ft-typography-title-dense-font-size",Lt.fontSize,"14px"),Zt=ut.extend("--ft-typography-title-dense-font-weight",Lt.fontWeight,"normal"),Vt=ut.extend("--ft-typography-title-dense-letter-spacing",Lt.letterSpacing,"0.105px"),Jt=ut.extend("--ft-typography-title-dense-line-height",Lt.lineHeight,"1.7"),qt=ut.extend("--ft-typography-title-dense-text-transform",Lt.textTransform,"inherit"),Xt=ut.extend("--ft-typography-subtitle1-font-family",Bt),Yt=ut.extend("--ft-typography-subtitle1-font-size",Lt.fontSize,"16px"),Gt=ut.extend("--ft-typography-subtitle1-font-weight",Lt.fontWeight,"600"),Qt=ut.extend("--ft-typography-subtitle1-letter-spacing",Lt.letterSpacing,"0.144px"),ti=ut.extend("--ft-typography-subtitle1-line-height",Lt.lineHeight,"1.5"),ii=ut.extend("--ft-typography-subtitle1-text-transform",Lt.textTransform,"inherit"),ei=ut.extend("--ft-typography-subtitle2-font-family",Bt),oi=ut.extend("--ft-typography-subtitle2-font-size",Lt.fontSize,"14px"),ni=ut.extend("--ft-typography-subtitle2-font-weight",Lt.fontWeight,"normal"),ri=ut.extend("--ft-typography-subtitle2-letter-spacing",Lt.letterSpacing,"0.098px"),si=ut.extend("--ft-typography-subtitle2-line-height",Lt.lineHeight,"1.7"),ai=ut.extend("--ft-typography-subtitle2-text-transform",Lt.textTransform,"inherit"),li=ut.extend("--ft-typography-body1-font-family",Bt),hi=ut.extend("--ft-typography-body1-font-size",Lt.fontSize,"16px"),ci=ut.extend("--ft-typography-body1-font-weight",Lt.fontWeight,"normal"),pi=ut.extend("--ft-typography-body1-letter-spacing",Lt.letterSpacing,"0.496px"),fi=ut.extend("--ft-typography-body1-line-height",Lt.lineHeight,"1.5"),di=ut.extend("--ft-typography-body1-text-transform",Lt.textTransform,"inherit"),ui={fontFamily:ut.extend("--ft-typography-body2-font-family",Bt),fontSize:ut.extend("--ft-typography-body2-font-size",Lt.fontSize,"14px"),fontWeight:ut.extend("--ft-typography-body2-font-weight",Lt.fontWeight,"normal"),letterSpacing:ut.extend("--ft-typography-body2-letter-spacing",Lt.letterSpacing,"0.252px"),lineHeight:ut.extend("--ft-typography-body2-line-height",Lt.lineHeight,"1.4"),textTransform:ut.extend("--ft-typography-body2-text-transform",Lt.textTransform,"inherit")},vi=ut.extend("--ft-typography-caption-font-family",Bt),yi=ut.extend("--ft-typography-caption-font-size",Lt.fontSize,"12px"),gi=ut.extend("--ft-typography-caption-font-weight",Lt.fontWeight,"normal"),xi=ut.extend("--ft-typography-caption-letter-spacing",Lt.letterSpacing,"0.396px"),bi=ut.extend("--ft-typography-caption-line-height",Lt.lineHeight,"1.33"),mi=ut.extend("--ft-typography-caption-text-transform",Lt.textTransform,"inherit"),wi=ut.extend("--ft-typography-breadcrumb-font-family",Bt),$i=ut.extend("--ft-typography-breadcrumb-font-size",Lt.fontSize,"10px"),Oi=ut.extend("--ft-typography-breadcrumb-font-weight",Lt.fontWeight,"normal"),ki=ut.extend("--ft-typography-breadcrumb-letter-spacing",Lt.letterSpacing,"0.33px"),Si=ut.extend("--ft-typography-breadcrumb-line-height",Lt.lineHeight,"1.6"),Ci=ut.extend("--ft-typography-breadcrumb-text-transform",Lt.textTransform,"inherit"),Ni=ut.extend("--ft-typography-overline-font-family",Bt),Ei=ut.extend("--ft-typography-overline-font-size",Lt.fontSize,"10px"),Ri=ut.extend("--ft-typography-overline-font-weight",Lt.fontWeight,"normal"),Mi=ut.extend("--ft-typography-overline-letter-spacing",Lt.letterSpacing,"1.5px"),zi=ut.extend("--ft-typography-overline-line-height",Lt.lineHeight,"1.6"),Ui=ut.extend("--ft-typography-overline-text-transform",Lt.textTransform,"uppercase"),ji=ut.extend("--ft-typography-button-font-family",Bt),Fi=ut.extend("--ft-typography-button-font-size",Lt.fontSize,"14px"),Ai=ut.extend("--ft-typography-button-font-weight",Lt.fontWeight,"600"),Bi=ut.extend("--ft-typography-button-letter-spacing",Lt.letterSpacing,"1.246px"),Li=ut.extend("--ft-typography-button-line-height",Lt.lineHeight,"1.15"),Ti=ut.extend("--ft-typography-button-text-transform",Lt.textTransform,"uppercase"),Pi=g`
105
105
  .ft-typography--title {
106
- font-family: ${Lt};
107
- font-size: ${Tt};
108
- font-weight: ${Pt};
109
- letter-spacing: ${It};
110
- line-height: ${_t};
111
- text-transform: ${Dt};
112
- }
113
- `,Pi=g`
114
- .ft-typography--title-dense {
115
- font-family: ${Wt};
116
- font-size: ${Kt};
117
- font-weight: ${Ht};
118
- letter-spacing: ${Zt};
119
- line-height: ${Vt};
120
- text-transform: ${Jt};
106
+ font-family: ${Tt};
107
+ font-size: ${Pt};
108
+ font-weight: ${It};
109
+ letter-spacing: ${_t};
110
+ line-height: ${Dt};
111
+ text-transform: ${Wt};
121
112
  }
122
113
  `,Ii=g`
123
- .ft-typography--subtitle1 {
124
- font-family: ${qt};
125
- font-size: ${Xt};
126
- font-weight: ${Yt};
127
- letter-spacing: ${Gt};
128
- line-height: ${Qt};
129
- text-transform: ${ti};
114
+ .ft-typography--title-dense {
115
+ font-family: ${Kt};
116
+ font-size: ${Ht};
117
+ font-weight: ${Zt};
118
+ letter-spacing: ${Vt};
119
+ line-height: ${Jt};
120
+ text-transform: ${qt};
130
121
  }
131
122
  `,_i=g`
132
- .ft-typography--subtitle2 {
133
- font-family: ${ii};
134
- font-size: ${ei};
135
- font-weight: ${oi};
136
- letter-spacing: ${ni};
137
- line-height: ${ri};
138
- text-transform: ${si};
123
+ .ft-typography--subtitle1 {
124
+ font-family: ${Xt};
125
+ font-size: ${Yt};
126
+ font-weight: ${Gt};
127
+ letter-spacing: ${Qt};
128
+ line-height: ${ti};
129
+ text-transform: ${ii};
139
130
  }
140
-
141
131
  `,Di=g`
142
- .ft-typography--body1 {
143
- font-family: ${ai};
144
- font-size: ${li};
145
- font-weight: ${hi};
146
- letter-spacing: ${ci};
147
- line-height: ${pi};
148
- text-transform: ${fi};
132
+ .ft-typography--subtitle2 {
133
+ font-family: ${ei};
134
+ font-size: ${oi};
135
+ font-weight: ${ni};
136
+ letter-spacing: ${ri};
137
+ line-height: ${si};
138
+ text-transform: ${ai};
149
139
  }
140
+
150
141
  `,Wi=g`
151
- .ft-typography--body2 {
152
- font-family: ${di.fontFamily};
153
- font-size: ${di.fontSize};
154
- font-weight: ${di.fontWeight};
155
- letter-spacing: ${di.letterSpacing};
156
- line-height: ${di.lineHeight};
157
- text-transform: ${di.textTransform};
142
+ .ft-typography--body1 {
143
+ font-family: ${li};
144
+ font-size: ${hi};
145
+ font-weight: ${ci};
146
+ letter-spacing: ${pi};
147
+ line-height: ${fi};
148
+ text-transform: ${di};
158
149
  }
159
150
  `,Ki=g`
160
- .ft-typography--caption {
161
- font-family: ${ui};
162
- font-size: ${vi};
163
- font-weight: ${yi};
164
- letter-spacing: ${gi};
165
- line-height: ${xi};
166
- text-transform: ${bi};
151
+ .ft-typography--body2 {
152
+ font-family: ${ui.fontFamily};
153
+ font-size: ${ui.fontSize};
154
+ font-weight: ${ui.fontWeight};
155
+ letter-spacing: ${ui.letterSpacing};
156
+ line-height: ${ui.lineHeight};
157
+ text-transform: ${ui.textTransform};
167
158
  }
168
159
  `,Hi=g`
169
- .ft-typography--breadcrumb {
170
- font-family: ${mi};
171
- font-size: ${wi};
172
- font-weight: ${$i};
173
- letter-spacing: ${Oi};
174
- line-height: ${ki};
175
- text-transform: ${Si};
160
+ .ft-typography--caption {
161
+ font-family: ${vi};
162
+ font-size: ${yi};
163
+ font-weight: ${gi};
164
+ letter-spacing: ${xi};
165
+ line-height: ${bi};
166
+ text-transform: ${mi};
176
167
  }
177
168
  `,Zi=g`
178
- .ft-typography--overline {
179
- font-family: ${Ci};
180
- font-size: ${Ni};
181
- font-weight: ${Ei};
182
- letter-spacing: ${Ri};
183
- line-height: ${Mi};
184
- text-transform: ${zi};
169
+ .ft-typography--breadcrumb {
170
+ font-family: ${wi};
171
+ font-size: ${$i};
172
+ font-weight: ${Oi};
173
+ letter-spacing: ${ki};
174
+ line-height: ${Si};
175
+ text-transform: ${Ci};
185
176
  }
186
177
  `,Vi=g`
187
- .ft-typography--button {
188
- font-family: ${Ui};
189
- font-size: ${ji};
190
- font-weight: ${Fi};
191
- letter-spacing: ${Ai};
192
- line-height: ${Bi};
193
- text-transform: ${Li};
178
+ .ft-typography--overline {
179
+ font-family: ${Ni};
180
+ font-size: ${Ei};
181
+ font-weight: ${Ri};
182
+ letter-spacing: ${Mi};
183
+ line-height: ${zi};
184
+ text-transform: ${Ui};
194
185
  }
195
186
  `,Ji=g`
187
+ .ft-typography--button {
188
+ font-family: ${ji};
189
+ font-size: ${Fi};
190
+ font-weight: ${Ai};
191
+ letter-spacing: ${Bi};
192
+ line-height: ${Li};
193
+ text-transform: ${Ti};
194
+ }
195
+ `,qi=g`
196
196
  .ft-typography {
197
197
  vertical-align: inherit;
198
198
  }
199
- `;var qi=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Xi extends xt{constructor(){super(...arguments),this.variant=jt.body1}render(){return this.element?Ut`
200
- <${Mt(this.element)}
199
+ `;var Xi=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Yi extends xt{constructor(){super(...arguments),this.variant=Ft.body1}render(){return this.element?jt`
200
+ <${zt(this.element)}
201
201
  class="ft-typography ft-typography--${this.variant}">
202
202
  <slot></slot>
203
- </${Mt(this.element)}>
204
- `:Ut`
203
+ </${zt(this.element)}>
204
+ `:jt`
205
205
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
206
- `}}Xi.styles=[Ti,Pi,Ii,_i,Di,Wi,Ki,Hi,Zi,Vi,Ji],qi([o()],Xi.prototype,"element",void 0),qi([o()],Xi.prototype,"variant",void 0),h("ft-typography")(Xi);const Yi=ut.create("--ft-tooltip-distance","SIZE","4px"),Gi=ut.create("--ft-tooltip-color","COLOR","#FFFFFF"),Qi=ut.create("--ft-tooltip-background-color","COLOR","#666666"),te=ut.create("--ft-tooltip-z-index","NUMBER","1"),ie=ut.external(yt.borderRadiusS,"Design system"),ee=ut.create("--ft-tooltip-max-width","SIZE","150px"),oe=g`
206
+ `}}Yi.styles=[Pi,Ii,_i,Di,Wi,Ki,Hi,Zi,Vi,Ji,qi],Xi([o()],Yi.prototype,"element",void 0),Xi([o()],Yi.prototype,"variant",void 0),h("ft-typography")(Yi);const Gi=ut.create("--ft-tooltip-distance","SIZE","4px"),Qi=ut.create("--ft-tooltip-color","COLOR","#FFFFFF"),te=ut.create("--ft-tooltip-background-color","COLOR","#666666"),ie=ut.create("--ft-tooltip-z-index","NUMBER","1"),ee=ut.external(yt.borderRadiusS,"Design system"),oe=ut.create("--ft-tooltip-max-width","SIZE","150px"),ne=g`
207
207
  .ft-tooltip--container {
208
208
  display: block;
209
209
  position: relative;
@@ -219,23 +219,23 @@ var ct,pt;class ft extends E{constructor(){super(...arguments),this.renderOption
219
219
  box-sizing: border-box;
220
220
  overflow: hidden;
221
221
  width: max-content;
222
- max-width: ${ee};
222
+ max-width: ${oe};
223
223
  text-align: center;
224
- padding: ${Yi};
225
- z-index: ${te};
224
+ padding: ${Gi};
225
+ z-index: ${ie};
226
226
  }
227
227
 
228
228
  .ft-tooltip--content {
229
229
  padding: 4px 8px;
230
- border-radius: ${ie};
231
- background-color: ${Qi};
232
- color: ${Gi};
230
+ border-radius: ${ee};
231
+ background-color: ${te};
232
+ color: ${Qi};
233
233
  top: -500px;
234
234
  left: -500px;
235
235
  position: relative;
236
236
  word-break: break-word;
237
237
  }
238
- `;var ne=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class re extends xt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new i,this.revealDebouncer=new i}render(){return V`
238
+ `;var re=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class se extends xt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new i,this.revealDebouncer=new i}render(){return V`
239
239
  <div part="container"
240
240
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
241
241
  @mouseenter=${this.onHover}
@@ -251,24 +251,24 @@ var ct,pt;class ft extends E{constructor(){super(...arguments),this.renderOption
251
251
  </div>
252
252
  <slot></slot>
253
253
  </div>
254
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){["visible","text"].some((i=>t.has(i)))&&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,r=0;switch(this.position){case"top":r=-this.tooltip.clientHeight,n=o;break;case"bottom":r=i.height,n=o;break;case"left":r=e,n=-this.tooltip.clientWidth;break;case"right":r=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 s=this.tooltip.style;s.left=n+"px",s.top=r+"px",s.maxWidth=`max(${i.width}px, ${ee})`}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())}}re.elementDefinitions={"ft-typography":Xi},re.styles=oe,ne([o()],re.prototype,"text",void 0),ne([o({type:Boolean})],re.prototype,"manual",void 0),ne([o({type:Boolean})],re.prototype,"inline",void 0),ne([o({type:Number})],re.prototype,"delay",void 0),ne([o()],re.prototype,"position",void 0),ne([
254
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){["visible","text"].some((i=>t.has(i)))&&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,r=0;switch(this.position){case"top":r=-this.tooltip.clientHeight,n=o;break;case"bottom":r=i.height,n=o;break;case"left":r=e,n=-this.tooltip.clientWidth;break;case"right":r=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 s=this.tooltip.style;s.left=n+"px",s.top=r+"px",s.maxWidth=`max(${i.width}px, ${oe})`}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())}}se.elementDefinitions={"ft-typography":Yi},se.styles=ne,re([o()],se.prototype,"text",void 0),re([o({type:Boolean})],se.prototype,"manual",void 0),re([o({type:Boolean})],se.prototype,"inline",void 0),re([o({type:Number})],se.prototype,"delay",void 0),re([o()],se.prototype,"position",void 0),re([
255
255
  /**
256
256
  * @license
257
257
  * Copyright 2017 Google LLC
258
258
  * SPDX-License-Identifier: BSD-3-Clause
259
259
  */
260
- function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},e?function(t){const{slot:i,selector:e}=null!=t?t:{};return r({descriptor:o=>({get(){var o;const n="slot"+(i?`[name=${i}]`:":not([name])"),r=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),s=null!=r?l(r,t):[];return e?s.filter((t=>t.matches(e))):s},enumerable:!0,configurable:!0})})}({slot:n,flatten:i,selector:e}):r({descriptor:t=>({get(){var t,i;const e="slot"+(n?`[name=${n}]`:":not([name])"),r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(i=null==r?void 0:r.assignedNodes(o))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}("",!0)],re.prototype,"slotNodes",void 0),ne([s(".ft-tooltip--container")],re.prototype,"container",void 0),ne([s("slot")],re.prototype,"target",void 0),ne([s(".ft-tooltip")],re.prototype,"tooltip",void 0),ne([s(".ft-tooltip--content")],re.prototype,"tooltipContent",void 0),ne([n()],re.prototype,"visible",void 0),h("ft-tooltip")(re);
260
+ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},e?function(t){const{slot:i,selector:e}=null!=t?t:{};return r({descriptor:o=>({get(){var o;const n="slot"+(i?`[name=${i}]`:":not([name])"),r=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),s=null!=r?l(r,t):[];return e?s.filter((t=>t.matches(e))):s},enumerable:!0,configurable:!0})})}({slot:n,flatten:i,selector:e}):r({descriptor:t=>({get(){var t,i;const e="slot"+(n?`[name=${n}]`:":not([name])"),r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(i=null==r?void 0:r.assignedNodes(o))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}("",!0)],se.prototype,"slotNodes",void 0),re([s(".ft-tooltip--container")],se.prototype,"container",void 0),re([s("slot")],se.prototype,"target",void 0),re([s(".ft-tooltip")],se.prototype,"tooltip",void 0),re([s(".ft-tooltip--content")],se.prototype,"tooltipContent",void 0),re([n()],se.prototype,"visible",void 0),h("ft-tooltip")(se);
261
261
  /**
262
262
  * @license
263
263
  * Copyright 2017 Google LLC
264
264
  * SPDX-License-Identifier: BSD-3-Clause
265
265
  */
266
- const se=1,ae=2,le=t=>(...i)=>({_$litDirective$:t,values:i});class he{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,i,e){this._$Ct=t,this._$AM=i,this._$Ci=e}_$AS(t,i){return this.update(t,i)}update(t,i){return this.render(...i)}}
266
+ const ae=1,le=2,he=t=>(...i)=>({_$litDirective$:t,values:i});class ce{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,i,e){this._$Ct=t,this._$AM=i,this._$Ci=e}_$AS(t,i){return this.update(t,i)}update(t,i){return this.render(...i)}}
267
267
  /**
268
268
  * @license
269
269
  * Copyright 2018 Google LLC
270
270
  * SPDX-License-Identifier: BSD-3-Clause
271
- */const ce=le(class extends he{constructor(t){var i;if(super(t),t.type!==se||"class"!==t.name||(null===(i=t.strings)||void 0===i?void 0:i.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((i=>t[i])).join(" ")+" "}update(t,[i]){var e,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 i)i[t]&&!(null===(e=this.st)||void 0===e?void 0:e.has(t))&&this.nt.add(t);return this.render(i)}const n=t.element.classList;this.nt.forEach((t=>{t in i||(n.remove(t),this.nt.delete(t))}));for(const t in i){const e=!!i[t];e===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(e?(n.add(t),this.nt.add(t)):(n.remove(t),this.nt.delete(t)))}return J}}),pe=ut.extend("--ft-ripple-color",yt.colorContent),fe={color:pe,backgroundColor:ut.extend("--ft-ripple-background-color",pe),opacityContentOnSurfacePressed:ut.external(yt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ut.external(yt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ut.external(yt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ut.external(yt.opacityContentOnSurfaceSelected,"Design system")},de=ut.extend("--ft-ripple-color",yt.colorPrimary),ue=de,ve=ut.extend("--ft-ripple-background-color",de),ye=ut.extend("--ft-ripple-color",yt.colorSecondary),ge=ye,xe=ut.extend("--ft-ripple-background-color",ye),be=g`
271
+ */const pe=he(class extends ce{constructor(t){var i;if(super(t),t.type!==ae||"class"!==t.name||(null===(i=t.strings)||void 0===i?void 0:i.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((i=>t[i])).join(" ")+" "}update(t,[i]){var e,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 i)i[t]&&!(null===(e=this.st)||void 0===e?void 0:e.has(t))&&this.nt.add(t);return this.render(i)}const n=t.element.classList;this.nt.forEach((t=>{t in i||(n.remove(t),this.nt.delete(t))}));for(const t in i){const e=!!i[t];e===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(e?(n.add(t),this.nt.add(t)):(n.remove(t),this.nt.delete(t)))}return J}}),fe=ut.extend("--ft-ripple-color",yt.colorContent),de={color:fe,backgroundColor:ut.extend("--ft-ripple-background-color",fe),opacityContentOnSurfacePressed:ut.external(yt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ut.external(yt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ut.external(yt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ut.external(yt.opacityContentOnSurfaceSelected,"Design system")},ue=ut.extend("--ft-ripple-color",yt.colorPrimary),ve=ue,ye=ut.extend("--ft-ripple-background-color",ue),ge=ut.extend("--ft-ripple-color",yt.colorSecondary),xe=ge,be=ut.extend("--ft-ripple-background-color",ge),me=g`
272
272
  :host {
273
273
  display: contents;
274
274
  }
@@ -290,27 +290,27 @@ const se=1,ae=2,le=t=>(...i)=>({_$litDirective$:t,values:i});class he{constructo
290
290
  }
291
291
 
292
292
  .ft-ripple .ft-ripple--background {
293
- background-color: ${fe.backgroundColor};
293
+ background-color: ${de.backgroundColor};
294
294
  }
295
295
 
296
296
  .ft-ripple .ft-ripple--effect {
297
- background-color: ${fe.color};
297
+ background-color: ${de.color};
298
298
  }
299
299
 
300
300
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
301
- background-color: ${xe};
301
+ background-color: ${be};
302
302
  }
303
303
 
304
304
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
305
- background-color: ${ge};
305
+ background-color: ${xe};
306
306
  }
307
307
 
308
308
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
309
- background-color: ${ve};
309
+ background-color: ${ye};
310
310
  }
311
311
 
312
312
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
313
- background-color: ${ue};
313
+ background-color: ${ve};
314
314
  }
315
315
 
316
316
  .ft-ripple .ft-ripple--background {
@@ -342,22 +342,22 @@ const se=1,ae=2,le=t=>(...i)=>({_$litDirective$:t,values:i});class he{constructo
342
342
  }
343
343
 
344
344
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
345
- opacity: ${fe.opacityContentOnSurfaceHover};
345
+ opacity: ${de.opacityContentOnSurfaceHover};
346
346
  }
347
347
 
348
348
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
349
- opacity: ${fe.opacityContentOnSurfaceSelected};
349
+ opacity: ${de.opacityContentOnSurfaceSelected};
350
350
  }
351
351
 
352
352
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
353
- opacity: ${fe.opacityContentOnSurfaceFocused};
353
+ opacity: ${de.opacityContentOnSurfaceFocused};
354
354
  }
355
355
 
356
356
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
357
- opacity: ${fe.opacityContentOnSurfacePressed};
357
+ opacity: ${de.opacityContentOnSurfacePressed};
358
358
  transform: translate(-50%, -50%) scale(1);
359
359
  }
360
- `;var me=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class we extends xt{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 i(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 i,e;let{x:o,y:n}=this.getCoordinates(t),r=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{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 V`
360
+ `;var we=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class $e extends xt{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 i(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 i,e;let{x:o,y:n}=this.getCoordinates(t),r=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{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 V`
361
361
  <style>
362
362
  .ft-ripple .ft-ripple--effect,
363
363
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -370,29 +370,29 @@ const se=1,ae=2,le=t=>(...i)=>({_$litDirective$:t,values:i});class he{constructo
370
370
  top: ${this.originY}px;
371
371
  }
372
372
  </style>
373
- <div class="${ce(t)}">
373
+ <div class="${pe(t)}">
374
374
  <div class="ft-ripple--background"></div>
375
375
  <div class="ft-ripple--effect"></div>
376
376
  </div>
377
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var i,e;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(i),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const i=t,e=t;let o,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}we.elementDefinitions={},we.styles=be,me([o({type:Boolean})],we.prototype,"primary",void 0),me([o({type:Boolean})],we.prototype,"secondary",void 0),me([o({type:Boolean})],we.prototype,"unbounded",void 0),me([o({type:Boolean})],we.prototype,"activated",void 0),me([o({type:Boolean})],we.prototype,"selected",void 0),me([o({type:Boolean})],we.prototype,"disabled",void 0),me([n()],we.prototype,"hovered",void 0),me([n()],we.prototype,"focused",void 0),me([n()],we.prototype,"pressed",void 0),me([n()],we.prototype,"rippling",void 0),me([n()],we.prototype,"rippleSize",void 0),me([n()],we.prototype,"originX",void 0),me([n()],we.prototype,"originY",void 0),me([s(".ft-ripple")],we.prototype,"ripple",void 0),me([s(".ft-ripple--effect")],we.prototype,"rippleEffect",void 0),h("ft-ripple")(we);
377
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var i,e;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(i),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const i=t,e=t;let o,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}$e.elementDefinitions={},$e.styles=me,we([o({type:Boolean})],$e.prototype,"primary",void 0),we([o({type:Boolean})],$e.prototype,"secondary",void 0),we([o({type:Boolean})],$e.prototype,"unbounded",void 0),we([o({type:Boolean})],$e.prototype,"activated",void 0),we([o({type:Boolean})],$e.prototype,"selected",void 0),we([o({type:Boolean})],$e.prototype,"disabled",void 0),we([n()],$e.prototype,"hovered",void 0),we([n()],$e.prototype,"focused",void 0),we([n()],$e.prototype,"pressed",void 0),we([n()],$e.prototype,"rippling",void 0),we([n()],$e.prototype,"rippleSize",void 0),we([n()],$e.prototype,"originX",void 0),we([n()],$e.prototype,"originY",void 0),we([s(".ft-ripple")],$e.prototype,"ripple",void 0),we([s(".ft-ripple--effect")],$e.prototype,"rippleEffect",void 0),h("ft-ripple")($e);
378
378
  /**
379
379
  * @license
380
380
  * Copyright 2017 Google LLC
381
381
  * SPDX-License-Identifier: BSD-3-Clause
382
382
  */
383
- class $e extends he{constructor(t){if(super(t),this.it=q,t.type!==ae)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===q||null==t)return this._t=void 0,this.it=t;if(t===J)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const i=[t];return i.raw=i,this._t={_$litType$:this.constructor.resultType,strings:i,values:[]}}}$e.directiveName="unsafeHTML",$e.resultType=1;const Oe=le($e);var ke,Se;!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;"}(ke||(ke={})),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;"}(Se||(Se={})),new Map([...["abw"].map((t=>[t,Se.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,Se.AUDIO])),...["avi"].map((t=>[t,Se.AVI])),...["chm","xhs"].map((t=>[t,Se.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,Se.CODE])),...["csv"].map((t=>[t,Se.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Se.DITA])),...["epub"].map((t=>[t,Se.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Se.EXCEL])),...["flac"].map((t=>[t,Se.FLAC])),...["gif"].map((t=>[t,Se.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Se.GZIP])),...["html","htm","xhtml"].map((t=>[t,Se.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,Se.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Se.JPEG])),...["json"].map((t=>[t,Se.JSON])),...["m4a","m4p"].map((t=>[t,Se.M4A])),...["mov","qt"].map((t=>[t,Se.MOV])),...["mp3"].map((t=>[t,Se.MP3])),...["mp4","m4v"].map((t=>[t,Se.MP4])),...["ogg","oga"].map((t=>[t,Se.OGG])),...["pdf","ps"].map((t=>[t,Se.PDF])),...["png"].map((t=>[t,Se.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Se.POWERPOINT])),...["rar"].map((t=>[t,Se.RAR])),...["stp"].map((t=>[t,Se.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Se.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,Se.VIDEO])),...["wav"].map((t=>[t,Se.WAV])),...["wma"].map((t=>[t,Se.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Se.WORD])),...["xml","xsl","rdf"].map((t=>[t,Se.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Se.YAML])),...["zip"].map((t=>[t,Se.ZIP]))]);const Ce={size:ut.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ut.extend("--ft-icon-fluid-topics-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ut.extend("--ft-icon-file-format-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ut.extend("--ft-icon-material-font-family",ut.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:ut.create("--ft-icon-vertical-align","UNKNOWN","unset")},Ne=g`
383
+ class Oe extends ce{constructor(t){if(super(t),this.it=q,t.type!==le)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===q||null==t)return this._t=void 0,this.it=t;if(t===J)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const i=[t];return i.raw=i,this._t={_$litType$:this.constructor.resultType,strings:i,values:[]}}}Oe.directiveName="unsafeHTML",Oe.resultType=1;const ke=he(Oe);var Se,Ce;!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;"}(Se||(Se={})),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;"}(Ce||(Ce={})),new Map([...["abw"].map((t=>[t,Ce.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,Ce.AUDIO])),...["avi"].map((t=>[t,Ce.AVI])),...["chm","xhs"].map((t=>[t,Ce.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,Ce.CODE])),...["csv"].map((t=>[t,Ce.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ce.DITA])),...["epub"].map((t=>[t,Ce.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ce.EXCEL])),...["flac"].map((t=>[t,Ce.FLAC])),...["gif"].map((t=>[t,Ce.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ce.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ce.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,Ce.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ce.JPEG])),...["json"].map((t=>[t,Ce.JSON])),...["m4a","m4p"].map((t=>[t,Ce.M4A])),...["mov","qt"].map((t=>[t,Ce.MOV])),...["mp3"].map((t=>[t,Ce.MP3])),...["mp4","m4v"].map((t=>[t,Ce.MP4])),...["ogg","oga"].map((t=>[t,Ce.OGG])),...["pdf","ps"].map((t=>[t,Ce.PDF])),...["png"].map((t=>[t,Ce.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ce.POWERPOINT])),...["rar"].map((t=>[t,Ce.RAR])),...["stp"].map((t=>[t,Ce.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ce.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,Ce.VIDEO])),...["wav"].map((t=>[t,Ce.WAV])),...["wma"].map((t=>[t,Ce.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ce.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ce.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ce.YAML])),...["zip"].map((t=>[t,Ce.ZIP]))]);const Ne={size:ut.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ut.extend("--ft-icon-fluid-topics-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ut.extend("--ft-icon-file-format-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ut.extend("--ft-icon-material-font-family",ut.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:ut.create("--ft-icon-vertical-align","UNKNOWN","unset")},Ee=g`
384
384
  :host {
385
385
  display: inline-block;
386
386
  }
387
387
 
388
388
  :host, i.ft-icon {
389
- width: ${Ce.size};
390
- height: ${Ce.size};
389
+ width: ${Ne.size};
390
+ height: ${Ne.size};
391
391
  text-align: center;
392
392
  }
393
393
 
394
394
  i.ft-icon {
395
- font-size: ${Ce.size};
395
+ font-size: ${Ne.size};
396
396
  line-height: 1;
397
397
  font-weight: normal;
398
398
  text-transform: none;
@@ -403,26 +403,26 @@ class $e extends he{constructor(t){if(super(t),this.it=q,t.type!==ae)throw Error
403
403
  text-rendering: auto;
404
404
  -webkit-font-smoothing: antialiased;
405
405
  -moz-osx-font-smoothing: grayscale;
406
- vertical-align: ${Ce.verticalAlign};
406
+ vertical-align: ${Ne.verticalAlign};
407
407
  }
408
408
 
409
409
  .ft-icon--fluid-topics {
410
- font-family: ${Ce.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
410
+ font-family: ${Ne.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
411
411
  }
412
412
 
413
413
  .ft-icon--file-format {
414
- font-family: ${Ce.fileFormatFontFamily}, ft-mime, sans-serif;
414
+ font-family: ${Ne.fileFormatFontFamily}, ft-mime, sans-serif;
415
415
  }
416
416
 
417
417
  .ft-icon--material {
418
- font-family: ${Ce.materialFontFamily}, "Material Icons", sans-serif;
418
+ font-family: ${Ne.materialFontFamily}, "Material Icons", sans-serif;
419
419
  }
420
- `;var Ee;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ee||(Ee={}));var Re=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Me extends xt{constructor(){super(...arguments),this.variant=Ee.fluid_topics,this.resolvedIcon=q}render(){const t="material"!==this.variant||this.value;return V`
420
+ `;var Re;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Re||(Re={}));var Me=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class ze extends xt{constructor(){super(...arguments),this.variant=Re.fluid_topics,this.resolvedIcon=q}render(){const t="material"!==this.variant||this.value;return V`
421
421
  <i class="ft-icon ${"ft-icon--"+this.variant}">
422
- ${Oe(this.resolvedIcon)}
422
+ ${ke(this.resolvedIcon)}
423
423
  <slot ?hidden=${t}></slot>
424
424
  </i>
425
- `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let e=this.value||this.textContent;switch(this.variant){case Ee.file_format:this.resolvedIcon=null!==(t=Se[e.toUpperCase()])&&void 0!==t?t:e;break;case Ee.fluid_topics:this.resolvedIcon=null!==(i=ke[e.toUpperCase()])&&void 0!==i?i:e;break;default:this.resolvedIcon=this.value||q}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}Me.elementDefinitions={},Me.styles=Ne,Re([o()],Me.prototype,"variant",void 0),Re([o()],Me.prototype,"value",void 0),Re([n()],Me.prototype,"resolvedIcon",void 0),Re([s("slot")],Me.prototype,"slottedContent",void 0),h("ft-icon")(Me);const ze=ut.extend("--ft-chip-color",yt.colorOnSurface),Ue={backgroundColor:ut.extend("--ft-chip-background-color",yt.colorSurface),color:ze,fontSize:ut.extend("--ft-chip-font-size",di.fontSize),iconSize:ut.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:ut.extend("--ft-chip-ripple-color",ze),horizontalPadding:ut.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:ut.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:ut.external(yt.colorOutline,"Design system"),opacityDisabled:ut.external(yt.colorOpacityDisabled,"Design system")},je=ut.extend("--ft-chip-highlighted-color",ut.extend("--ft-chip-color",yt.colorOnPrimary)),Fe={backgroundColor:ut.extend("--ft-chip-highlighted-background-color",ut.extend("--ft-chip-background-color",yt.colorPrimary)),color:je,rippleColor:ut.extend("--ft-chip-highlighted-ripple-color",je)},Ae=ut.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),Be=ut.create("--ft-chip-dense-vertical-padding","SIZE","4px"),Le=[bt,g`
425
+ `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let e=this.value||this.textContent;switch(this.variant){case Re.file_format:this.resolvedIcon=null!==(t=Ce[e.toUpperCase()])&&void 0!==t?t:e;break;case Re.fluid_topics:this.resolvedIcon=null!==(i=Se[e.toUpperCase()])&&void 0!==i?i:e;break;default:this.resolvedIcon=this.value||q}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}ze.elementDefinitions={},ze.styles=Ee,Me([o()],ze.prototype,"variant",void 0),Me([o()],ze.prototype,"value",void 0),Me([n()],ze.prototype,"resolvedIcon",void 0),Me([s("slot")],ze.prototype,"slottedContent",void 0),h("ft-icon")(ze);const Ue=ut.extend("--ft-chip-color",yt.colorOnSurface),je={backgroundColor:ut.extend("--ft-chip-background-color",yt.colorSurface),color:Ue,fontSize:ut.extend("--ft-chip-font-size",ui.fontSize),iconSize:ut.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:ut.extend("--ft-chip-ripple-color",Ue),horizontalPadding:ut.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:ut.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:ut.external(yt.colorOutline,"Design system"),opacityDisabled:ut.external(yt.colorOpacityDisabled,"Design system")},Fe=ut.extend("--ft-chip-highlighted-color",ut.extend("--ft-chip-color",yt.colorOnPrimary)),Ae={backgroundColor:ut.extend("--ft-chip-highlighted-background-color",ut.extend("--ft-chip-background-color",yt.colorPrimary)),color:Fe,rippleColor:ut.extend("--ft-chip-highlighted-ripple-color",Fe)},Be=ut.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),Le=ut.create("--ft-chip-dense-vertical-padding","SIZE","4px"),Te=[bt,g`
426
426
  :host {
427
427
  display: inline-block;
428
428
  max-width: 100%;
@@ -439,20 +439,20 @@ class $e extends he{constructor(t){if(super(t),this.it=q,t.type!==ae)throw Error
439
439
  box-sizing: border-box;
440
440
  pointer-events: auto;
441
441
 
442
- --ft-chip-internal-font-size: ${Ue.fontSize};
442
+ --ft-chip-internal-font-size: ${je.fontSize};
443
443
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
444
- ${vt(Ce.size,Ue.iconSize)};
445
- --ft-chip-internal-vertical-padding: ${Ue.verticalPadding};
446
- --ft-chip-internal-horizontal-padding: ${Ue.horizontalPadding};
444
+ ${vt(Ne.size,je.iconSize)};
445
+ --ft-chip-internal-vertical-padding: ${je.verticalPadding};
446
+ --ft-chip-internal-horizontal-padding: ${je.horizontalPadding};
447
447
  --ft-chip-internal-icon-padding: 3px;
448
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Ue.iconSize});
448
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${je.iconSize});
449
449
 
450
- border: 1px solid ${Ue.colorOutline};
451
- color: ${Ue.color};
452
- ${vt(fe.color,Ue.rippleColor)};
450
+ border: 1px solid ${je.colorOutline};
451
+ color: ${je.color};
452
+ ${vt(de.color,je.rippleColor)};
453
453
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
454
454
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
455
- background-color: ${Ue.backgroundColor};
455
+ background-color: ${je.backgroundColor};
456
456
  line-height: var(--ft-chip-internal-content-height);
457
457
  }
458
458
 
@@ -462,8 +462,8 @@ class $e extends he{constructor(t){if(super(t),this.it=q,t.type!==ae)throw Error
462
462
 
463
463
  .ft-chip--dense {
464
464
  --ft-chip-internal-icon-padding: 3px;
465
- --ft-chip-internal-vertical-padding: ${Be};
466
- --ft-chip-internal-horizontal-padding: ${Ae};
465
+ --ft-chip-internal-vertical-padding: ${Le};
466
+ --ft-chip-internal-horizontal-padding: ${Be};
467
467
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
468
468
  }
469
469
 
@@ -475,15 +475,15 @@ class $e extends he{constructor(t){if(super(t),this.it=q,t.type!==ae)throw Error
475
475
  cursor: default;
476
476
  pointer-events: none;
477
477
  filter: grayscale(1);
478
- opacity: ${Ue.opacityDisabled};
478
+ opacity: ${je.opacityDisabled};
479
479
  }
480
480
 
481
481
  .ft-chip--highlighted {
482
482
  border: none;
483
483
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
484
- background-color: ${Fe.backgroundColor};
485
- ${vt(fe.color,Fe.rippleColor)};
486
- color: ${Fe.color};
484
+ background-color: ${Ae.backgroundColor};
485
+ ${vt(de.color,Ae.rippleColor)};
486
+ color: ${Ae.color};
487
487
  }
488
488
 
489
489
  .ft-chip--clickable {
@@ -516,8 +516,8 @@ class $e extends he{constructor(t){if(super(t),this.it=q,t.type!==ae)throw Error
516
516
  vertical-align: bottom;
517
517
  display: block;
518
518
  margin: 0 var(--ft-chip-internal-horizontal-padding);
519
- ${vt(di.fontSize,"var(--ft-chip-internal-font-size)")};
520
- ${vt(di.lineHeight,"var(--ft-chip-internal-content-height)")};
519
+ ${vt(ui.fontSize,"var(--ft-chip-internal-font-size)")};
520
+ ${vt(ui.lineHeight,"var(--ft-chip-internal-content-height)")};
521
521
  }
522
522
 
523
523
  .ft-chip--safari-fix .ft-chip--label {
@@ -552,8 +552,8 @@ class $e extends he{constructor(t){if(super(t),this.it=q,t.type!==ae)throw Error
552
552
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-container {
553
553
  order: -1;
554
554
  }
555
- `];var Te=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Pe extends CustomEvent{constructor(){super("icon-click")}}class Ie extends xt{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Ot};return V`
556
- <div class="${ce(t)}"
555
+ `];var Pe=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Ie extends CustomEvent{constructor(){super("icon-click")}}class _e extends xt{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":kt};return V`
556
+ <div class="${pe(t)}"
557
557
  aria-label="${this.getLabel()}"
558
558
  tabindex="${this.interactionsOnChip?0:-1}"
559
559
  @keyup=${this.onKeyUp}>
@@ -571,7 +571,7 @@ class $e extends he{constructor(t){if(super(t),this.it=q,t.type!==ae)throw Error
571
571
  <ft-ripple ?disabled=${!this.interactionsOnIcon}></ft-ripple>
572
572
  <ft-icon variant="material">${this.internalIcon}</ft-icon>
573
573
  </div>
574
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Pe))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Pe))}getLabel(){return this.label||this.textContent}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:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"cancel":void 0)}}Ie.elementDefinitions={"ft-ripple":we,"ft-typography":Xi,"ft-icon":Me},Ie.styles=Le,Te([o({type:Boolean})],Ie.prototype,"highlighted",void 0),Te([o({type:Boolean})],Ie.prototype,"removable",void 0),Te([o({type:Boolean})],Ie.prototype,"disabled",void 0),Te([o({type:Boolean})],Ie.prototype,"clickable",void 0),Te([o({type:Boolean})],Ie.prototype,"iconClickable",void 0),Te([o({type:Boolean})],Ie.prototype,"dense",void 0),Te([o({type:Boolean})],Ie.prototype,"multiLine",void 0),Te([o({type:String})],Ie.prototype,"label",void 0),Te([o({type:String})],Ie.prototype,"icon",void 0),Te([o({type:Boolean})],Ie.prototype,"trailingIcon",void 0),Te([s("ft-typography slot")],Ie.prototype,"slottedContent",void 0),h("ft-chip")(Ie);var _e,De,We=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Ke extends Nt{constructor(){super(...arguments),this.editorMode=!1}render(){return V`
574
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Ie))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Ie))}getLabel(){return this.label||this.textContent}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:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"cancel":void 0)}}_e.elementDefinitions={"ft-ripple":$e,"ft-typography":Yi,"ft-icon":ze},_e.styles=Te,Pe([o({type:Boolean})],_e.prototype,"highlighted",void 0),Pe([o({type:Boolean})],_e.prototype,"removable",void 0),Pe([o({type:Boolean})],_e.prototype,"disabled",void 0),Pe([o({type:Boolean})],_e.prototype,"clickable",void 0),Pe([o({type:Boolean})],_e.prototype,"iconClickable",void 0),Pe([o({type:Boolean})],_e.prototype,"dense",void 0),Pe([o({type:Boolean})],_e.prototype,"multiLine",void 0),Pe([o({type:String})],_e.prototype,"label",void 0),Pe([o({type:String})],_e.prototype,"icon",void 0),Pe([o({type:Boolean})],_e.prototype,"trailingIcon",void 0),Pe([s("ft-typography slot")],_e.prototype,"slottedContent",void 0),h("ft-chip")(_e);var De,We,Ke=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class He extends Et{constructor(){super(...arguments),this.editorMode=!1}render(){return V`
575
575
  <ft-tooltip text="${this.tooltipText}">
576
576
  <ft-chip>
577
577
  ${this.renderContent()}
@@ -584,4 +584,4 @@ class $e extends he{constructor(t){if(super(t),this.it=q,t.type!==ae)throw Error
584
584
  display: none !important;
585
585
  }
586
586
  </style>
587
- `}get valueText(){var t,i;return null!==(i=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==i?i:""}get tooltipText(){var t,i;return this.metadata?`${null!==(i=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==i?i:this.metadata.key}: ${this.valueText}`:""}}Ke.elementDefinitions={"ft-tooltip":re,"ft-chip":Ie},Ke.styles=kt,We([o()],Ke.prototype,"key",void 0),We([o({attribute:!1})],Ke.prototype,"editorMode",void 0),We([(_e=(t,i)=>{var e,o;return null===(o=null===(e=t.map)||void 0===e?void 0:e.metadata)||void 0===o?void 0:o.find((t=>t.key===i.key))},(t,i)=>{t.constructor.createProperty(i,{attribute:!1,hasChanged:null!=De?De:(t,i)=>!c(t,i)});const e=t;e.reduxProperties=e.reduxProperties||new Map,e.reduxProperties.set(i,null!=_e?_e:t=>t[i])})],Ke.prototype,"metadata",void 0),h("ft-reader-metadata")(Ke),t.FtReaderMetadata=Ke,t.FtReaderMetadataCssVariables={},t.styles=kt,Object.defineProperty(t,"i",{value:!0})}({});
587
+ `}get valueText(){var t,i;return null!==(i=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==i?i:""}get tooltipText(){var t,i;return this.metadata?`${null!==(i=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==i?i:this.metadata.key}: ${this.valueText}`:""}}He.elementDefinitions={"ft-tooltip":se,"ft-chip":_e},He.styles=St,Ke([o()],He.prototype,"key",void 0),Ke([o({attribute:!1})],He.prototype,"editorMode",void 0),Ke([(De=(t,i)=>{var e,o;return null===(o=null===(e=t.map)||void 0===e?void 0:e.metadata)||void 0===o?void 0:o.find((t=>t.key===i.key))},(t,i)=>{t.constructor.createProperty(i,{attribute:!1,hasChanged:null!=We?We:(t,i)=>!c(t,i)});const e=t;e.reduxProperties=e.reduxProperties||new Map,e.reduxProperties.set(i,null!=De?De:t=>t[i])})],He.prototype,"metadata",void 0),h("ft-reader-metadata")(He),t.FtReaderMetadata=He,t.FtReaderMetadataCssVariables={},t.styles=St,Object.defineProperty(t,"i",{value:!0})}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-metadata",
3
- "version": "0.3.22",
3
+ "version": "0.3.23",
4
4
  "description": "Metadata for integrated reader",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,11 +19,11 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-chip": "0.3.22",
23
- "@fluid-topics/ft-reader-context": "0.3.22",
24
- "@fluid-topics/ft-tooltip": "0.3.22",
25
- "@fluid-topics/ft-wc-utils": "0.3.22",
22
+ "@fluid-topics/ft-chip": "0.3.23",
23
+ "@fluid-topics/ft-reader-context": "0.3.23",
24
+ "@fluid-topics/ft-tooltip": "0.3.23",
25
+ "@fluid-topics/ft-wc-utils": "0.3.23",
26
26
  "lit": "2.2.8"
27
27
  },
28
- "gitHead": "5ca6dd4bc6ec9dca0bf645892ec3f07e4b62683d"
28
+ "gitHead": "7fb0bb52d064423f63bfd9c36c5454d65aa890d6"
29
29
  }