@fluid-topics/ft-reader-metadata 1.0.13 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,13 +7,13 @@
7
7
  * @license
8
8
  * Copyright 2017 Google LLC
9
9
  * SPDX-License-Identifier: BSD-3-Clause
10
- */var f;const c=window,d=c.trustedTypes,u=d?d.createPolicy("lit-html",{createHTML:t=>t}):void 0,g="$lit$",v=`lit$${(Math.random()+"").slice(9)}$`,x="?"+v,b=`<${x}>`,y=document,m=()=>y.createComment(""),$=t=>null===t||"object"!=typeof t&&"function"!=typeof t,w=Array.isArray,k="[ \t\n\f\r]",z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,S=/-->/g,C=/>/g,I=RegExp(`>|${k}(?:([^\\s"'>=/]+)(${k}*=${k}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),O=/'/g,j=/"/g,E=/^(?:script|style|textarea|title)$/i,N=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),B=Symbol.for("lit-noChange"),T=Symbol.for("lit-nothing"),Z=new WeakMap,A=y.createTreeWalker(y,129,null,!1),F=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",s=z;for(let i=0;i<e;i++){const e=t[i];let l,a,p=-1,h=0;for(;h<e.length&&(s.lastIndex=h,a=s.exec(e),null!==a);)h=s.lastIndex,s===z?"!--"===a[1]?s=S:void 0!==a[1]?s=C:void 0!==a[2]?(E.test(a[2])&&(n=RegExp("</"+a[2],"g")),s=I):void 0!==a[3]&&(s=I):s===I?">"===a[0]?(s=null!=n?n:z,p=-1):void 0===a[1]?p=-2:(p=s.lastIndex-a[2].length,l=a[1],s=void 0===a[3]?I:'"'===a[3]?j:O):s===j||s===O?s=I:s===S||s===C?s=z:(s=I,n=void 0);const f=s===I&&t[i+1].startsWith("/>")?" ":"";r+=s===z?e+b:p>=0?(o.push(l),e.slice(0,p)+g+e.slice(p)+v+f):e+v+(-2===p?(o.push(void 0),i):f)}const l=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==u?u.createHTML(l):l,o]};class M{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const s=t.length-1,l=this.parts,[a,p]=F(t,i);if(this.el=M.createElement(a,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<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(g)||i.startsWith(v)){const e=p[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+g).split(v),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?W:"?"===i[1]?L:"@"===i[1]?P:D})}else l.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(E.test(o.tagName)){const t=o.textContent.split(v),i=t.length-1;if(i>0){o.textContent=d?d.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],m()),A.nextNode(),l.push({type:2,index:++n});o.append(t[i],m())}}}else if(8===o.nodeType)if(o.data===x)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(v,t+1));)l.push({type:7,index:n}),t+=v.length-1}n++}}static createElement(t,i){const e=y.createElement("template");return e.innerHTML=t,e}}function _(t,i,e=t,o){var n,r,s,l;if(i===B)return i;let a=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const p=$(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(r=null==a?void 0:a._$AO)||void 0===r||r.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,e,o)),void 0!==o?(null!==(s=(l=e)._$Co)&&void 0!==s?s:l._$Co=[])[o]=a:e._$Cl=a),void 0!==a&&(i=_(t,a._$AS(t,i.values),a,o)),i}class U{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:y).importNode(e,!0);A.currentNode=n;let r=A.nextNode(),s=0,l=0,a=o[0];for(;void 0!==a;){if(s===a.index){let i;2===a.type?i=new R(r,r.nextSibling,this,t):1===a.type?i=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(i=new H(r,this,t)),this._$AV.push(i),a=o[++l]}s!==(null==a?void 0:a.index)&&(r=A.nextNode(),s++)}return n}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class R{constructor(t,i,e,o){var n;this.type=2,this._$AH=T,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=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._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=_(this,t,i),$(t)?t===T||null==t||""===t?(this._$AH!==T&&this._$AR(),this._$AH=T):t!==this._$AH&&t!==B&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>w(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==T&&$(this._$AH)?this._$AA.nextSibling.data=t:this.$(y.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=M.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.v(e);else{const t=new U(n,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=Z.get(t.strings);return void 0===i&&Z.set(t.strings,i=new M(t)),i}T(t){w(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 R(this.k(m()),this.k(m()),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._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class D{constructor(t,i,e,o,n){this.type=1,this._$AH=T,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=T}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=_(this,t,i,0),r=!$(t)||t!==this._$AH&&t!==B,r&&(this._$AH=t);else{const o=t;let s,l;for(t=n[0],s=0;s<n.length-1;s++)l=_(this,o[e+s],i,s),l===B&&(l=this._$AH[s]),r||(r=!$(l)||l!==this._$AH[s]),l===T?t=T:t!==T&&(t+=(null!=l?l:"")+n[s+1]),this._$AH[s]=l}r&&!o&&this.j(t)}j(t){t===T?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class W extends D{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===T?void 0:t}}const K=d?d.emptyScript:"";class L extends D{constructor(){super(...arguments),this.type=4}j(t){t&&t!==T?this.element.setAttribute(this.name,K):this.element.removeAttribute(this.name)}}class P extends D{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=_(this,t,i,0))&&void 0!==e?e:T)===B)return;const o=this._$AH,n=t===T&&o!==T||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==T&&(o===T||n);n&&this.element.removeEventListener(this.name,this,o),r&&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 H{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){_(this,t)}}const G=c.litHtmlPolyfillSupport;null==G||G(M,R),(null!==(f=c.litHtmlVersions)&&void 0!==f?f:c.litHtmlVersions=[]).push("2.7.3");
10
+ */var f;const c=window,d=c.trustedTypes,u=d?d.createPolicy("lit-html",{createHTML:t=>t}):void 0,g="$lit$",x=`lit$${(Math.random()+"").slice(9)}$`,v="?"+x,b=`<${v}>`,y=document,m=()=>y.createComment(""),$=t=>null===t||"object"!=typeof t&&"function"!=typeof t,w=Array.isArray,k="[ \t\n\f\r]",z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,S=/-->/g,C=/>/g,I=RegExp(`>|${k}(?:([^\\s"'>=/]+)(${k}*=${k}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),O=/'/g,j=/"/g,E=/^(?:script|style|textarea|title)$/i,N=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),B=Symbol.for("lit-noChange"),T=Symbol.for("lit-nothing"),Z=new WeakMap,A=y.createTreeWalker(y,129,null,!1),F=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",s=z;for(let i=0;i<e;i++){const e=t[i];let l,a,p=-1,h=0;for(;h<e.length&&(s.lastIndex=h,a=s.exec(e),null!==a);)h=s.lastIndex,s===z?"!--"===a[1]?s=S:void 0!==a[1]?s=C:void 0!==a[2]?(E.test(a[2])&&(n=RegExp("</"+a[2],"g")),s=I):void 0!==a[3]&&(s=I):s===I?">"===a[0]?(s=null!=n?n:z,p=-1):void 0===a[1]?p=-2:(p=s.lastIndex-a[2].length,l=a[1],s=void 0===a[3]?I:'"'===a[3]?j:O):s===j||s===O?s=I:s===S||s===C?s=z:(s=I,n=void 0);const f=s===I&&t[i+1].startsWith("/>")?" ":"";r+=s===z?e+b:p>=0?(o.push(l),e.slice(0,p)+g+e.slice(p)+x+f):e+x+(-2===p?(o.push(void 0),i):f)}const l=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==u?u.createHTML(l):l,o]};class M{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const s=t.length-1,l=this.parts,[a,p]=F(t,i);if(this.el=M.createElement(a,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<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(g)||i.startsWith(x)){const e=p[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+g).split(x),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?W:"?"===i[1]?L:"@"===i[1]?P:D})}else l.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(E.test(o.tagName)){const t=o.textContent.split(x),i=t.length-1;if(i>0){o.textContent=d?d.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],m()),A.nextNode(),l.push({type:2,index:++n});o.append(t[i],m())}}}else if(8===o.nodeType)if(o.data===v)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(x,t+1));)l.push({type:7,index:n}),t+=x.length-1}n++}}static createElement(t,i){const e=y.createElement("template");return e.innerHTML=t,e}}function _(t,i,e=t,o){var n,r,s,l;if(i===B)return i;let a=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const p=$(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(r=null==a?void 0:a._$AO)||void 0===r||r.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,e,o)),void 0!==o?(null!==(s=(l=e)._$Co)&&void 0!==s?s:l._$Co=[])[o]=a:e._$Cl=a),void 0!==a&&(i=_(t,a._$AS(t,i.values),a,o)),i}class U{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:y).importNode(e,!0);A.currentNode=n;let r=A.nextNode(),s=0,l=0,a=o[0];for(;void 0!==a;){if(s===a.index){let i;2===a.type?i=new R(r,r.nextSibling,this,t):1===a.type?i=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(i=new H(r,this,t)),this._$AV.push(i),a=o[++l]}s!==(null==a?void 0:a.index)&&(r=A.nextNode(),s++)}return n}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class R{constructor(t,i,e,o){var n;this.type=2,this._$AH=T,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=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._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=_(this,t,i),$(t)?t===T||null==t||""===t?(this._$AH!==T&&this._$AR(),this._$AH=T):t!==this._$AH&&t!==B&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>w(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==T&&$(this._$AH)?this._$AA.nextSibling.data=t:this.$(y.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=M.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.v(e);else{const t=new U(n,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=Z.get(t.strings);return void 0===i&&Z.set(t.strings,i=new M(t)),i}T(t){w(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 R(this.k(m()),this.k(m()),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._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class D{constructor(t,i,e,o,n){this.type=1,this._$AH=T,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=T}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=_(this,t,i,0),r=!$(t)||t!==this._$AH&&t!==B,r&&(this._$AH=t);else{const o=t;let s,l;for(t=n[0],s=0;s<n.length-1;s++)l=_(this,o[e+s],i,s),l===B&&(l=this._$AH[s]),r||(r=!$(l)||l!==this._$AH[s]),l===T?t=T:t!==T&&(t+=(null!=l?l:"")+n[s+1]),this._$AH[s]=l}r&&!o&&this.j(t)}j(t){t===T?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class W extends D{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===T?void 0:t}}const K=d?d.emptyScript:"";class L extends D{constructor(){super(...arguments),this.type=4}j(t){t&&t!==T?this.element.setAttribute(this.name,K):this.element.removeAttribute(this.name)}}class P extends D{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=_(this,t,i,0))&&void 0!==e?e:T)===B)return;const o=this._$AH,n=t===T&&o!==T||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==T&&(o===T||n);n&&this.element.removeEventListener(this.name,this,o),r&&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 H{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){_(this,t)}}const G=c.litHtmlPolyfillSupport;null==G||G(M,R),(null!==(f=c.litHtmlVersions)&&void 0!==f?f:c.litHtmlVersions=[]).push("2.7.3");
11
11
  /**
12
12
  * @license
13
13
  * Copyright 2020 Google LLC
14
14
  * SPDX-License-Identifier: BSD-3-Clause
15
15
  */
16
- const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t._$litStatic$},X=t=>({_$litStatic$:t,r:V}),Y=new Map,J=(t=>(i,...e)=>{const o=e.length;let n,r;const s=[],l=[];let a,p=0,h=!1;for(;p<o;){for(a=i[p];p<o&&void 0!==(r=e[p],n=q(r));)a+=n+i[++p],h=!0;p!==o&&l.push(r),s.push(a),p++}if(p===o&&s.push(i[o]),h){const t=s.join("$$lit$$");void 0===(i=Y.get(t))&&(s.raw=s,Y.set(t,i=s)),e=l}return t(i,...e)})(N);var Q;!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"}(Q||(Q={}));const tt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),it=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),et={fontFamily:it,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},ot=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",tt),nt=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",et.fontSize,"20px"),rt=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",et.fontWeight,"normal"),st=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",et.letterSpacing,"0.15px"),lt=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",et.lineHeight,"1.2"),at=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",et.textTransform,"inherit"),pt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",tt),ht=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",et.fontSize,"14px"),ft=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",et.fontWeight,"normal"),ct=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",et.letterSpacing,"0.105px"),dt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",et.lineHeight,"1.7"),ut=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",et.textTransform,"inherit"),gt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",it),vt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",et.fontSize,"16px"),xt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",et.fontWeight,"600"),bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",et.letterSpacing,"0.144px"),yt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",et.lineHeight,"1.5"),mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",et.textTransform,"inherit"),$t=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",it),wt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",et.fontSize,"14px"),kt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",et.fontWeight,"normal"),zt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",et.letterSpacing,"0.098px"),St=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",et.lineHeight,"1.7"),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",et.textTransform,"inherit"),It=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",it),Ot=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",et.fontSize,"16px"),jt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",et.fontWeight,"normal"),Et=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",et.letterSpacing,"0.496px"),Nt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",et.lineHeight,"1.5"),Bt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",et.textTransform,"inherit"),Tt={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",it),fontSize:i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",et.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",et.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",et.letterSpacing,"0.252px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",et.lineHeight,"1.4"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",et.textTransform,"inherit")},Zt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",it),At=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",et.fontSize,"12px"),Ft=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",et.fontWeight,"normal"),Mt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",et.letterSpacing,"0.396px"),_t=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",et.lineHeight,"1.33"),Ut=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",et.textTransform,"inherit"),Rt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",it),Dt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",et.fontSize,"10px"),Wt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",et.fontWeight,"normal"),Kt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",et.letterSpacing,"0.33px"),Lt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",et.lineHeight,"1.6"),Pt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",et.textTransform,"inherit"),Ht=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",it),Gt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",et.fontSize,"10px"),Vt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",et.fontWeight,"normal"),qt=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",et.letterSpacing,"1.5px"),Xt=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",et.lineHeight,"1.6"),Yt=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",et.textTransform,"uppercase"),Jt={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",it),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",et.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",et.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",et.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",et.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",et.textTransform,"uppercase")},Qt=e.css`
16
+ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t._$litStatic$},X=t=>({_$litStatic$:t,r:V}),Y=new Map,J=(t=>(i,...e)=>{const o=e.length;let n,r;const s=[],l=[];let a,p=0,h=!1;for(;p<o;){for(a=i[p];p<o&&void 0!==(r=e[p],n=q(r));)a+=n+i[++p],h=!0;p!==o&&l.push(r),s.push(a),p++}if(p===o&&s.push(i[o]),h){const t=s.join("$$lit$$");void 0===(i=Y.get(t))&&(s.raw=s,Y.set(t,i=s)),e=l}return t(i,...e)})(N);var Q;!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"}(Q||(Q={}));const tt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),it=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),et={fontFamily:it,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},ot=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",tt),nt=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",et.fontSize,"20px"),rt=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",et.fontWeight,"normal"),st=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",et.letterSpacing,"0.15px"),lt=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",et.lineHeight,"1.2"),at=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",et.textTransform,"inherit"),pt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",tt),ht=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",et.fontSize,"14px"),ft=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",et.fontWeight,"normal"),ct=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",et.letterSpacing,"0.105px"),dt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",et.lineHeight,"1.7"),ut=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",et.textTransform,"inherit"),gt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",it),xt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",et.fontSize,"16px"),vt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",et.fontWeight,"600"),bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",et.letterSpacing,"0.144px"),yt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",et.lineHeight,"1.5"),mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",et.textTransform,"inherit"),$t=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",it),wt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",et.fontSize,"14px"),kt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",et.fontWeight,"normal"),zt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",et.letterSpacing,"0.098px"),St=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",et.lineHeight,"1.7"),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",et.textTransform,"inherit"),It=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",it),Ot=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",et.fontSize,"16px"),jt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",et.fontWeight,"normal"),Et=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",et.letterSpacing,"0.496px"),Nt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",et.lineHeight,"1.5"),Bt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",et.textTransform,"inherit"),Tt={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",it),fontSize:i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",et.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",et.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",et.letterSpacing,"0.252px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",et.lineHeight,"1.4"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",et.textTransform,"inherit")},Zt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",it),At=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",et.fontSize,"12px"),Ft=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",et.fontWeight,"normal"),Mt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",et.letterSpacing,"0.396px"),_t=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",et.lineHeight,"1.33"),Ut=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",et.textTransform,"inherit"),Rt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",it),Dt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",et.fontSize,"10px"),Wt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",et.fontWeight,"normal"),Kt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",et.letterSpacing,"0.33px"),Lt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",et.lineHeight,"1.6"),Pt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",et.textTransform,"inherit"),Ht=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",it),Gt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",et.fontSize,"10px"),Vt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",et.fontWeight,"normal"),qt=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",et.letterSpacing,"1.5px"),Xt=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",et.lineHeight,"1.6"),Yt=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",et.textTransform,"uppercase"),Jt={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",it),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",et.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",et.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",et.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",et.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",et.textTransform,"uppercase")},Qt=e.css`
17
17
  .ft-typography--title {
18
18
  font-family: ${ot};
19
19
  font-size: ${nt};
@@ -34,8 +34,8 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
34
34
  `,ii=e.css`
35
35
  .ft-typography--subtitle1 {
36
36
  font-family: ${gt};
37
- font-size: ${vt};
38
- font-weight: ${xt};
37
+ font-size: ${xt};
38
+ font-weight: ${vt};
39
39
  letter-spacing: ${bt};
40
40
  line-height: ${yt};
41
41
  text-transform: ${mt};
@@ -115,7 +115,7 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
115
115
  </${X(this.element)}>
116
116
  `:J`
117
117
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
118
- `}}fi.styles=[Qt,ti,ii,ei,oi,ni,ri,si,li,ai,pi],hi([o.property()],fi.prototype,"element",void 0),hi([o.property()],fi.prototype,"variant",void 0),i.customElement("ft-typography")(fi);const ci=i.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),di=i.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),ui=i.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),gi=i.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","1"),vi=i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusS,"Design system"),xi=i.FtCssVariableFactory.create("--ft-tooltip-max-width","SIZE","150px"),bi=e.css`
118
+ `}}fi.styles=[Qt,ti,ii,ei,oi,ni,ri,si,li,ai,pi],hi([o.property()],fi.prototype,"element",void 0),hi([o.property()],fi.prototype,"variant",void 0),i.customElement("ft-typography")(fi);const ci=i.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),di=i.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),ui=i.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),gi=i.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","1"),xi=i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusS,"Design system"),vi=i.FtCssVariableFactory.create("--ft-tooltip-max-width","SIZE","150px"),bi=e.css`
119
119
  .ft-tooltip--container {
120
120
  display: block;
121
121
  position: relative;
@@ -131,7 +131,7 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
131
131
  box-sizing: border-box;
132
132
  overflow: hidden;
133
133
  width: max-content;
134
- max-width: ${xi};
134
+ max-width: ${vi};
135
135
  text-align: center;
136
136
  padding: ${ci};
137
137
  z-index: ${gi};
@@ -139,7 +139,7 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
139
139
 
140
140
  .ft-tooltip--content {
141
141
  padding: 4px 8px;
142
- border-radius: ${vi};
142
+ border-radius: ${xi};
143
143
  background-color: ${ui};
144
144
  color: ${di};
145
145
  top: -500px;
@@ -165,7 +165,7 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
165
165
  </div>
166
166
  </div>
167
167
  </div>
168
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.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.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){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.validPosition){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=4-i.left);const s=this.tooltip.style;s.left=n+"px",s.top=r+"px",s.maxWidth=`max(${i.width}px, ${xi})`}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())}}mi.elementDefinitions={"ft-typography":fi},mi.styles=bi,yi([o.property()],mi.prototype,"text",void 0),yi([o.property({type:Boolean})],mi.prototype,"manual",void 0),yi([o.property({type:Boolean})],mi.prototype,"inline",void 0),yi([o.property({type:Number})],mi.prototype,"delay",void 0),yi([o.property()],mi.prototype,"position",void 0),yi([o.queryAssignedNodes("",!0)],mi.prototype,"slotNodes",void 0),yi([o.query(".ft-tooltip--container")],mi.prototype,"container",void 0),yi([o.query("slot")],mi.prototype,"target",void 0),yi([o.query(".ft-tooltip")],mi.prototype,"tooltip",void 0),yi([o.query(".ft-tooltip--content")],mi.prototype,"tooltipContent",void 0),yi([o.state()],mi.prototype,"visible",void 0),i.customElement("ft-tooltip")(mi);const $i=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorContent),wi={color:$i,backgroundColor:i.FtCssVariableFactory.extend("--ft-ripple-background-color",$i),opacityContentOnSurfacePressed:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:i.FtCssVariableFactory.create("--ft-ripple-border-radius","SIZE","0px")},ki=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary),zi=ki,Si=i.FtCssVariableFactory.extend("--ft-ripple-background-color",ki),Ci=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary),Ii=Ci,Oi=i.FtCssVariableFactory.extend("--ft-ripple-background-color",Ci),ji=e.css`
168
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.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.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){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.validPosition){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=4-i.left);const s=this.tooltip.style;s.left=n+"px",s.top=r+"px",s.maxWidth=`max(${i.width}px, ${vi})`}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())}}mi.elementDefinitions={"ft-typography":fi},mi.styles=bi,yi([o.property()],mi.prototype,"text",void 0),yi([o.property({type:Boolean})],mi.prototype,"manual",void 0),yi([o.property({type:Boolean})],mi.prototype,"inline",void 0),yi([o.property({type:Number})],mi.prototype,"delay",void 0),yi([o.property()],mi.prototype,"position",void 0),yi([o.queryAssignedNodes("",!0)],mi.prototype,"slotNodes",void 0),yi([o.query(".ft-tooltip--container")],mi.prototype,"container",void 0),yi([o.query("slot")],mi.prototype,"target",void 0),yi([o.query(".ft-tooltip")],mi.prototype,"tooltip",void 0),yi([o.query(".ft-tooltip--content")],mi.prototype,"tooltipContent",void 0),yi([o.state()],mi.prototype,"visible",void 0),i.customElement("ft-tooltip")(mi);const $i=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorContent),wi={color:$i,backgroundColor:i.FtCssVariableFactory.extend("--ft-ripple-background-color",$i),opacityContentOnSurfacePressed:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:i.FtCssVariableFactory.create("--ft-ripple-border-radius","SIZE","0px")},ki=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary),zi=ki,Si=i.FtCssVariableFactory.extend("--ft-ripple-background-color",ki),Ci=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary),Ii=Ci,Oi=i.FtCssVariableFactory.extend("--ft-ripple-background-color",Ci),ji=e.css`
169
169
  :host {
170
170
  display: contents;
171
171
  }
@@ -272,7 +272,7 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
272
272
  <div class="ft-ripple--background"></div>
273
273
  <div class="ft-ripple--effect"></div>
274
274
  </div>
275
- `}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(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i:e),this.setRippleSize()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const 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,this.target=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()}}Ti.elementDefinitions={},Ti.styles=ji,Bi([o.property({type:Boolean})],Ti.prototype,"primary",void 0),Bi([o.property({type:Boolean})],Ti.prototype,"secondary",void 0),Bi([o.property({type:Boolean})],Ti.prototype,"unbounded",void 0),Bi([o.property({type:Boolean})],Ti.prototype,"activated",void 0),Bi([o.property({type:Boolean})],Ti.prototype,"selected",void 0),Bi([o.property({type:Boolean})],Ti.prototype,"disabled",void 0),Bi([o.state()],Ti.prototype,"hovered",void 0),Bi([o.state()],Ti.prototype,"focused",void 0),Bi([o.state()],Ti.prototype,"pressed",void 0),Bi([o.state()],Ti.prototype,"rippling",void 0),Bi([o.state()],Ti.prototype,"rippleSize",void 0),Bi([o.state()],Ti.prototype,"originX",void 0),Bi([o.state()],Ti.prototype,"originY",void 0),Bi([o.query(".ft-ripple")],Ti.prototype,"ripple",void 0),Bi([o.query(".ft-ripple--effect")],Ti.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(Ti),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;"}(Ei||(Ei={})),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;"}(Ni||(Ni={})),new Map([...["abw"].map((t=>[t,Ni.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,Ni.AUDIO])),...["avi"].map((t=>[t,Ni.AVI])),...["chm","xhs"].map((t=>[t,Ni.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,Ni.CODE])),...["csv"].map((t=>[t,Ni.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ni.DITA])),...["epub"].map((t=>[t,Ni.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ni.EXCEL])),...["flac"].map((t=>[t,Ni.FLAC])),...["gif"].map((t=>[t,Ni.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ni.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ni.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,Ni.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ni.JPEG])),...["json"].map((t=>[t,Ni.JSON])),...["m4a","m4p"].map((t=>[t,Ni.M4A])),...["mov","qt"].map((t=>[t,Ni.MOV])),...["mp3"].map((t=>[t,Ni.MP3])),...["mp4","m4v"].map((t=>[t,Ni.MP4])),...["ogg","oga"].map((t=>[t,Ni.OGG])),...["pdf","ps"].map((t=>[t,Ni.PDF])),...["png"].map((t=>[t,Ni.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ni.POWERPOINT])),...["rar"].map((t=>[t,Ni.RAR])),...["stp"].map((t=>[t,Ni.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ni.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,Ni.VIDEO])),...["wav"].map((t=>[t,Ni.WAV])),...["wma"].map((t=>[t,Ni.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ni.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ni.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ni.YAML])),...["zip"].map((t=>[t,Ni.ZIP]))]);const Zi={size:i.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariableFactory.extend("--ft-icon-material-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:i.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")},Ai=e.css`
275
+ `}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(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i:e),this.setRippleSize()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const 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,this.target=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()}}Ti.elementDefinitions={},Ti.styles=ji,Bi([o.property({type:Boolean})],Ti.prototype,"primary",void 0),Bi([o.property({type:Boolean})],Ti.prototype,"secondary",void 0),Bi([o.property({type:Boolean})],Ti.prototype,"unbounded",void 0),Bi([o.property({type:Boolean})],Ti.prototype,"activated",void 0),Bi([o.property({type:Boolean})],Ti.prototype,"selected",void 0),Bi([o.property({type:Boolean})],Ti.prototype,"disabled",void 0),Bi([o.state()],Ti.prototype,"hovered",void 0),Bi([o.state()],Ti.prototype,"focused",void 0),Bi([o.state()],Ti.prototype,"pressed",void 0),Bi([o.state()],Ti.prototype,"rippling",void 0),Bi([o.state()],Ti.prototype,"rippleSize",void 0),Bi([o.state()],Ti.prototype,"originX",void 0),Bi([o.state()],Ti.prototype,"originY",void 0),Bi([o.query(".ft-ripple")],Ti.prototype,"ripple",void 0),Bi([o.query(".ft-ripple--effect")],Ti.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(Ti),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;"}(Ei||(Ei={})),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;"}(Ni||(Ni={})),new Map([...["abw"].map((t=>[t,Ni.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,Ni.AUDIO])),...["avi"].map((t=>[t,Ni.AVI])),...["chm","xhs"].map((t=>[t,Ni.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,Ni.CODE])),...["csv"].map((t=>[t,Ni.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ni.DITA])),...["epub"].map((t=>[t,Ni.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ni.EXCEL])),...["flac"].map((t=>[t,Ni.FLAC])),...["gif"].map((t=>[t,Ni.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ni.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ni.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,Ni.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ni.JPEG])),...["json"].map((t=>[t,Ni.JSON])),...["m4a","m4p"].map((t=>[t,Ni.M4A])),...["mov","qt"].map((t=>[t,Ni.MOV])),...["mp3"].map((t=>[t,Ni.MP3])),...["mp4","m4v"].map((t=>[t,Ni.MP4])),...["ogg","oga"].map((t=>[t,Ni.OGG])),...["pdf","ps"].map((t=>[t,Ni.PDF])),...["png"].map((t=>[t,Ni.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ni.POWERPOINT])),...["rar"].map((t=>[t,Ni.RAR])),...["stp"].map((t=>[t,Ni.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ni.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,Ni.VIDEO])),...["wav"].map((t=>[t,Ni.WAV])),...["wma"].map((t=>[t,Ni.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ni.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ni.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ni.YAML])),...["zip"].map((t=>[t,Ni.ZIP]))]);const Zi={size:i.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariableFactory.extend("--ft-icon-material-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:i.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")},Ai=e.css`
276
276
  :host, i.ft-icon {
277
277
  display: inline-flex;
278
278
  align-items: center;
@@ -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(){b.push(this),o.upgrade.apply(o,arguments),b.pop()}get(t){const i=this._definitionsByTag.get(t);return i?.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=b[b.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(){const t=n.get(this);t?.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 b=[document];const y=(t,i,e=void 0)=>{const o=(e?Object.getPrototypeOf(e):t.prototype)[i];t.prototype[i]=function(){b.push(this);const t=o.apply(e||this,arguments);return void 0!==t&&a.set(t,this),b.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const g=(t,i)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,i);Object.defineProperty(t.prototype,i,{...e,set(t){b.push(this),e.set.call(this,t),b.pop()}})};if(g(Element,"innerHTML"),g(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,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(ze){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){return this.callbacks=[t],this.debounce(i)}queue(t,i){return this.callbacks.push(t),this.debounce(i)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,i)=>{this.resolvePromise=t,this.rejectPromise=i}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,i;const e=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(i=this.resolvePromise)&&void 0!==i?i:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void o(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
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(){b.push(this),o.upgrade.apply(o,arguments),b.pop()}get(t){const i=this._definitionsByTag.get(t);return i?.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=b[b.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(){const t=n.get(this);t?.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 b=[document];const y=(t,i,e=void 0)=>{const o=(e?Object.getPrototypeOf(e):t.prototype)[i];t.prototype[i]=function(){b.push(this);const t=o.apply(e||this,arguments);return void 0!==t&&a.set(t,this),b.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const g=(t,i)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,i);Object.defineProperty(t.prototype,i,{...e,set(t){b.push(this),e.set.call(this,t),b.pop()}})};if(g(Element,"innerHTML"),g(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,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(ze){const t=window.customElements.define;window.customElements.define=(i,e,o)=>{if(null!==e)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){return this.callbacks=[t],this.debounce(i)}queue(t,i){return this.callbacks.push(t),this.debounce(i)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,i)=>{this.resolvePromise=t,this.rejectPromise=i}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,i;const e=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(i=this.resolvePromise)&&void 0!==i?i:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void o(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -385,7 +385,7 @@ const ve=1,be=2,ye=t=>(...i)=>({_$litDirective$:t,values:i});class ge{constructo
385
385
  * Copyright 2017 Google LLC
386
386
  * SPDX-License-Identifier: BSD-3-Clause
387
387
  */
388
- class ze extends ge{constructor(t){if(super(t),this.et=Y,t.type!==be)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Y||null==t)return this.ft=void 0,this.et=t;if(t===X)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const i=[t];return i.raw=i,this.ft={_$litType$:this.constructor.resultType,strings:i,values:[]}}}ze.directiveName="unsafeHTML",ze.resultType=1;const je=ye(ze);var Ue,Fe;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;"}(Ue||(Ue={})),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;"}(Fe||(Fe={})),new Map([...["abw"].map((t=>[t,Fe.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,Fe.AUDIO])),...["avi"].map((t=>[t,Fe.AVI])),...["chm","xhs"].map((t=>[t,Fe.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,Fe.CODE])),...["csv"].map((t=>[t,Fe.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Fe.DITA])),...["epub"].map((t=>[t,Fe.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Fe.EXCEL])),...["flac"].map((t=>[t,Fe.FLAC])),...["gif"].map((t=>[t,Fe.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Fe.GZIP])),...["html","htm","xhtml"].map((t=>[t,Fe.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,Fe.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Fe.JPEG])),...["json"].map((t=>[t,Fe.JSON])),...["m4a","m4p"].map((t=>[t,Fe.M4A])),...["mov","qt"].map((t=>[t,Fe.MOV])),...["mp3"].map((t=>[t,Fe.MP3])),...["mp4","m4v"].map((t=>[t,Fe.MP4])),...["ogg","oga"].map((t=>[t,Fe.OGG])),...["pdf","ps"].map((t=>[t,Fe.PDF])),...["png"].map((t=>[t,Fe.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Fe.POWERPOINT])),...["rar"].map((t=>[t,Fe.RAR])),...["stp"].map((t=>[t,Fe.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Fe.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,Fe.VIDEO])),...["wav"].map((t=>[t,Fe.WAV])),...["wma"].map((t=>[t,Fe.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Fe.WORD])),...["xml","xsl","rdf"].map((t=>[t,Fe.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Fe.YAML])),...["zip"].map((t=>[t,Fe.ZIP]))]);const Be={size:bt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:bt.extend("--ft-icon-fluid-topics-font-family",bt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:bt.extend("--ft-icon-file-format-font-family",bt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:bt.extend("--ft-icon-material-font-family",bt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:bt.create("--ft-icon-vertical-align","UNKNOWN","unset")},Te=y`
388
+ class ze extends ge{constructor(t){if(super(t),this.et=Y,t.type!==be)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Y||null==t)return this.ft=void 0,this.et=t;if(t===X)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const i=[t];return i.raw=i,this.ft={_$litType$:this.constructor.resultType,strings:i,values:[]}}}ze.directiveName="unsafeHTML",ze.resultType=1;const je=ye(ze);var Ue,Fe;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;"}(Ue||(Ue={})),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;"}(Fe||(Fe={})),new Map([...["abw"].map((t=>[t,Fe.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,Fe.AUDIO])),...["avi"].map((t=>[t,Fe.AVI])),...["chm","xhs"].map((t=>[t,Fe.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,Fe.CODE])),...["csv"].map((t=>[t,Fe.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Fe.DITA])),...["epub"].map((t=>[t,Fe.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Fe.EXCEL])),...["flac"].map((t=>[t,Fe.FLAC])),...["gif"].map((t=>[t,Fe.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Fe.GZIP])),...["html","htm","xhtml"].map((t=>[t,Fe.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,Fe.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Fe.JPEG])),...["json"].map((t=>[t,Fe.JSON])),...["m4a","m4p"].map((t=>[t,Fe.M4A])),...["mov","qt"].map((t=>[t,Fe.MOV])),...["mp3"].map((t=>[t,Fe.MP3])),...["mp4","m4v"].map((t=>[t,Fe.MP4])),...["ogg","oga"].map((t=>[t,Fe.OGG])),...["pdf","ps"].map((t=>[t,Fe.PDF])),...["png"].map((t=>[t,Fe.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Fe.POWERPOINT])),...["rar"].map((t=>[t,Fe.RAR])),...["stp"].map((t=>[t,Fe.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Fe.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,Fe.VIDEO])),...["wav"].map((t=>[t,Fe.WAV])),...["wma"].map((t=>[t,Fe.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Fe.WORD])),...["xml","xsl","rdf"].map((t=>[t,Fe.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Fe.YAML])),...["zip"].map((t=>[t,Fe.ZIP]))]);const Be={size:bt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:bt.extend("--ft-icon-fluid-topics-font-family",bt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:bt.extend("--ft-icon-file-format-font-family",bt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:bt.extend("--ft-icon-material-font-family",bt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:bt.create("--ft-icon-vertical-align","UNKNOWN","unset")},Te=y`
389
389
  :host, i.ft-icon {
390
390
  display: inline-flex;
391
391
  align-items: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-metadata",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
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": "1.0.13",
23
- "@fluid-topics/ft-reader-context": "1.0.13",
24
- "@fluid-topics/ft-tooltip": "1.0.13",
25
- "@fluid-topics/ft-wc-utils": "1.0.13",
22
+ "@fluid-topics/ft-chip": "1.0.15",
23
+ "@fluid-topics/ft-reader-context": "1.0.15",
24
+ "@fluid-topics/ft-tooltip": "1.0.15",
25
+ "@fluid-topics/ft-wc-utils": "1.0.15",
26
26
  "lit": "2.7.2"
27
27
  },
28
- "gitHead": "3ce26f9002e59dd63fced5c00272dcb4cf863d10"
28
+ "gitHead": "1790145546a4c4eb194a606ec2decb59f7339532"
29
29
  }