@fluid-topics/ft-reader-title 2.1.12 → 2.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- "use strict";(()=>{var ge=Object.create;var ut=Object.defineProperty;var ye=Object.getOwnPropertyDescriptor;var ce=Object.getOwnPropertyNames;var de=Object.getPrototypeOf,me=Object.prototype.hasOwnProperty;var et=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(i){throw t=0,i}};var xe=(e,t,i,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of ce(t))!me.call(e,n)&&n!==i&&ut(e,n,{get:()=>t[n],enumerable:!(o=ye(t,n))||o.enumerable});return e};var d=(e,t,i)=>(i=e!=null?ge(de(e)):{},xe(t||!e||!e.__esModule?ut(i,"default",{value:e,enumerable:!0}):i,e));var u=et((He,bt)=>{bt.exports=ftGlobals.wcUtils});var V=et((Ce,_t)=>{_t.exports=ftGlobals.lit});var it=et((Fe,At)=>{At.exports=ftGlobals.litDecorators});var fe=d(u());var W=d(V()),$t=d(u());var Y=d(u()),Tt=d(it());var vt;(function(e){e.clusteringHelperCreated="clustering-helper-created",e.mapAttachmentsUpdate="map-attachments-update",e.visibleTopicChange="visible-topic-change",e.requestedTopicNotFound="requested-topic-not-found"})(vt||(vt={}));var St;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(St||(St={}));var $e=function(e,t,i,o){var n=arguments.length,s=n<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,i,o);else for(var g=e.length-1;g>=0;g--)(a=e[g])&&(s=(n<3?a(s):n>3?a(t,i,s):a(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s},ot=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},nt=Symbol("registerInterval"),ue=(0,Y.applyMixinOnce)(Symbol("toFtReaderComponent"),function(e){var t;class i extends e{constructor(){super(...arguments),this[t]=0}setReaderStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var n;return(n=this.stateManager)===null||n===void 0?void 0:n.service}connectedCallback(){super.connectedCallback(),this[nt]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[nt]):this.dispatchEvent(new ot)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=nt,$e([(0,Tt.state)()],i.prototype,"stateManager",void 0),i}),q=class extends ue(Y.FtLitElementRedux){};var ft=globalThis,J=ft.trustedTypes,Ht=J?J.createPolicy("lit-html",{createHTML:e=>e}):void 0,Nt="$lit$",S=`lit$${Math.random().toFixed(9).slice(2)}$`,Ot="?"+S,be=`<${Ot}>`,z=document,Q=()=>z.createComment(""),U=e=>e===null||typeof e!="object"&&typeof e!="function",gt=Array.isArray,_e=e=>gt(e)||typeof e?.[Symbol.iterator]=="function",rt=`[
2
- \f\r]`,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ct=/-->/g,Ft=/>/g,F=RegExp(`>|${rt}(?:([^\\s"'>=/]+)(${rt}*=${rt}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),wt=/'/g,zt=/"/g,Mt=/^(?:script|style|textarea|title)$/i,yt=e=>(t,...i)=>({_$litType$:e,strings:t,values:i}),Et=yt(1),Bt=yt(2),Rt=yt(3),K=Symbol.for("lit-noChange"),c=Symbol.for("lit-nothing"),Wt=new WeakMap,w=z.createTreeWalker(z,129);function It(e,t){if(!gt(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ht!==void 0?Ht.createHTML(t):t}var Ae=(e,t)=>{let i=e.length-1,o=[],n,s=t===2?"<svg>":t===3?"<math>":"",a=j;for(let g=0;g<i;g++){let p=e[g],h,y,f=-1,b=0;for(;b<p.length&&(a.lastIndex=b,y=a.exec(p),y!==null);)b=a.lastIndex,a===j?y[1]==="!--"?a=Ct:y[1]!==void 0?a=Ft:y[2]!==void 0?(Mt.test(y[2])&&(n=RegExp("</"+y[2],"g")),a=F):y[3]!==void 0&&(a=F):a===F?y[0]===">"?(a=n??j,f=-1):y[1]===void 0?f=-2:(f=a.lastIndex-y[2].length,h=y[1],a=y[3]===void 0?F:y[3]==='"'?zt:wt):a===zt||a===wt?a=F:a===Ct||a===Ft?a=j:(a=F,n=void 0);let v=a===F&&e[g+1].startsWith("/>")?" ":"";s+=a===j?p+be:f>=0?(o.push(h),p.slice(0,f)+Nt+p.slice(f)+S+v):p+S+(f===-2?g:v)}return[It(e,s+(e[i]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},Z=class e{constructor({strings:t,_$litType$:i},o){let n;this.parts=[];let s=0,a=0,g=t.length-1,p=this.parts,[h,y]=Ae(t,i);if(this.el=e.createElement(h,o),w.currentNode=this.el.content,i===2||i===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(n=w.nextNode())!==null&&p.length<g;){if(n.nodeType===1){if(n.hasAttributes())for(let f of n.getAttributeNames())if(f.endsWith(Nt)){let b=y[a++],v=n.getAttribute(f).split(S),G=/([.?@])?(.*)/.exec(b);p.push({type:1,index:s,name:G[2],strings:v,ctor:G[1]==="."?at:G[1]==="?"?lt:G[1]==="@"?pt:O}),n.removeAttribute(f)}else f.startsWith(S)&&(p.push({type:6,index:s}),n.removeAttribute(f));if(Mt.test(n.tagName)){let f=n.textContent.split(S),b=f.length-1;if(b>0){n.textContent=J?J.emptyScript:"";for(let v=0;v<b;v++)n.append(f[v],Q()),w.nextNode(),p.push({type:2,index:++s});n.append(f[b],Q())}}}else if(n.nodeType===8)if(n.data===Ot)p.push({type:2,index:s});else{let f=-1;for(;(f=n.data.indexOf(S,f+1))!==-1;)p.push({type:7,index:s}),f+=S.length-1}s++}}static createElement(t,i){let o=z.createElement("template");return o.innerHTML=t,o}};function N(e,t,i=e,o){if(t===K)return t;let n=o!==void 0?i._$Co?.[o]:i._$Cl,s=U(t)?void 0:t._$litDirective$;return n?.constructor!==s&&(n?._$AO?.(!1),s===void 0?n=void 0:(n=new s(e),n._$AT(e,i,o)),o!==void 0?(i._$Co??=[])[o]=n:i._$Cl=n),n!==void 0&&(t=N(e,n._$AS(e,t.values),n,o)),t}var st=class{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:i},parts:o}=this._$AD,n=(t?.creationScope??z).importNode(i,!0);w.currentNode=n;let s=w.nextNode(),a=0,g=0,p=o[0];for(;p!==void 0;){if(a===p.index){let h;p.type===2?h=new X(s,s.nextSibling,this,t):p.type===1?h=new p.ctor(s,p.name,p.strings,this,t):p.type===6&&(h=new ht(s,this,t)),this._$AV.push(h),p=o[++g]}a!==p?.index&&(s=w.nextNode(),a++)}return w.currentNode=z,n}p(t){let i=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,i),i+=o.strings.length-2):o._$AI(t[i])),i++}},X=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,o,n){this.type=2,this._$AH=c,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=o,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,i=this._$AM;return i!==void 0&&t?.nodeType===11&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=N(this,t,i),U(t)?t===c||t==null||t===""?(this._$AH!==c&&this._$AR(),this._$AH=c):t!==this._$AH&&t!==K&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):_e(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==c&&U(this._$AH)?this._$AA.nextSibling.data=t:this.T(z.createTextNode(t)),this._$AH=t}$(t){let{values:i,_$litType$:o}=t,n=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Z.createElement(It(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(i);else{let s=new st(n,this),a=s.u(this.options);s.p(i),this.T(a),this._$AH=s}}_$AC(t){let i=Wt.get(t.strings);return i===void 0&&Wt.set(t.strings,i=new Z(t)),i}k(t){gt(this._$AH)||(this._$AH=[],this._$AR());let i=this._$AH,o,n=0;for(let s of t)n===i.length?i.push(o=new e(this.O(Q()),this.O(Q()),this,this.options)):o=i[n],o._$AI(s),n++;n<i.length&&(this._$AR(o&&o._$AB.nextSibling,n),i.length=n)}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},O=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,o,n,s){this.type=1,this._$AH=c,this._$AN=void 0,this.element=t,this.name=i,this._$AM=n,this.options=s,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=c}_$AI(t,i=this,o,n){let s=this.strings,a=!1;if(s===void 0)t=N(this,t,i,0),a=!U(t)||t!==this._$AH&&t!==K,a&&(this._$AH=t);else{let g=t,p,h;for(t=s[0],p=0;p<s.length-1;p++)h=N(this,g[o+p],i,p),h===K&&(h=this._$AH[p]),a||=!U(h)||h!==this._$AH[p],h===c?t=c:t!==c&&(t+=(h??"")+s[p+1]),this._$AH[p]=h}a&&!n&&this.j(t)}j(t){t===c?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},at=class extends O{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===c?void 0:t}},lt=class extends O{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==c)}},pt=class extends O{constructor(t,i,o,n,s){super(t,i,o,n,s),this.type=5}_$AI(t,i=this){if((t=N(this,t,i,0)??c)===K)return;let o=this._$AH,n=t===c&&o!==c||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==c&&(o===c||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ht=class{constructor(t,i,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){N(this,t)}};var ve=ft.litHtmlPolyfillSupport;ve?.(Z,X),(ft.litHtmlVersions??=[]).push("3.3.0");var Lt=Symbol.for(""),Se=e=>{if(e?.r===Lt)return e?._$litStatic$},ct=e=>({_$litStatic$:e,r:Lt});var kt=new Map,dt=e=>(t,...i)=>{let o=i.length,n,s,a=[],g=[],p,h=0,y=!1;for(;h<o;){for(p=t[h];h<o&&(s=i[h],(n=Se(s))!==void 0);)p+=n+t[++h],y=!0;h!==o&&g.push(s),a.push(p),h++}if(h===o&&a.push(t[o]),y){let f=a.join("$$lit$$");(t=kt.get(f))===void 0&&(a.raw=a,kt.set(f,t=a)),i=g}return e(t,...i)},mt=dt(Et),Me=dt(Bt),Ee=dt(Rt);var xt=d(it()),te=d(u());var tt;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button"})(tt||(tt={}));var x=d(V()),r=d(u()),Dt=r.FtCssVariableFactory.extend("--ft-typography-font-family","",r.designSystemVariables.titleFont),_=r.FtCssVariableFactory.extend("--ft-typography-font-family","",r.designSystemVariables.contentFont),l={fontFamily:_,fontSize:r.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},T={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Dt),fontSize:r.FtCssVariableFactory.extend("--ft-typography-title-font-size","",l.fontSize,"20px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",l.letterSpacing,"0.15px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-title-line-height","",l.lineHeight,"1.2"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",l.textTransform,"inherit")},M={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Dt),fontSize:r.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",l.fontSize,"14px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",l.letterSpacing,"0.105px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",l.lineHeight,"1.7"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",l.textTransform,"inherit")},E={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",_),fontSize:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",l.fontSize,"16px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",l.fontWeight,"600"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",l.letterSpacing,"0.144px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",l.lineHeight,"1.5"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",l.textTransform,"inherit")},B={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",_),fontSize:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",l.fontSize,"14px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",l.letterSpacing,"0.098px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",l.lineHeight,"1.7"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",l.textTransform,"inherit")},R={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",_),fontSize:r.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",l.fontSize,"16px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",l.letterSpacing,"0.496px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",l.lineHeight,"1.5"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",l.textTransform,"inherit")},I={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",_),fontSize:r.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",l.fontSize,"14px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",l.letterSpacing,"0.252px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",l.lineHeight,"1.4"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",l.textTransform,"inherit")},k={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",_),fontSize:r.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",l.fontSize,"12px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",l.letterSpacing,"0.396px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",l.lineHeight,"1.33"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",l.textTransform,"inherit")},L={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",_),fontSize:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",l.fontSize,"10px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",l.letterSpacing,"0.33px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",l.lineHeight,"1.6"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",l.textTransform,"inherit")},D={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",_),fontSize:r.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",l.fontSize,"10px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",l.letterSpacing,"1.5px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",l.lineHeight,"1.6"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",l.textTransform,"uppercase")},P={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-button-font-family","",_),fontSize:r.FtCssVariableFactory.extend("--ft-typography-button-font-size","",l.fontSize,"14px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",l.fontWeight,"600"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",l.letterSpacing,"1.246px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-button-line-height","",l.lineHeight,"1.15"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",l.textTransform,"uppercase")},Pt=x.css`
1
+ "use strict";(()=>{var ye=Object.create;var ut=Object.defineProperty;var ce=Object.getOwnPropertyDescriptor;var de=Object.getOwnPropertyNames;var me=Object.getPrototypeOf,xe=Object.prototype.hasOwnProperty;var et=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(i){throw t=0,i}};var $e=(e,t,i,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of de(t))!xe.call(e,n)&&n!==i&&ut(e,n,{get:()=>t[n],enumerable:!(o=ce(t,n))||o.enumerable});return e};var d=(e,t,i)=>(i=e!=null?ye(me(e)):{},$e(t||!e||!e.__esModule?ut(i,"default",{value:e,enumerable:!0}):i,e));var u=et((Ce,bt)=>{bt.exports=ftGlobals.wcUtils});var V=et((Fe,_t)=>{_t.exports=ftGlobals.lit});var it=et((we,At)=>{At.exports=ftGlobals.litDecorators});var ge=d(u());var N=d(V()),$t=d(u());var Y=d(u()),Tt=d(it());var vt;(function(e){e.clusteringHelperCreated="clustering-helper-created",e.mapAttachmentsUpdate="map-attachments-update",e.visibleTopicChange="visible-topic-change",e.requestedTopicNotFound="requested-topic-not-found"})(vt||(vt={}));var St;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(St||(St={}));var ue=function(e,t,i,o){var n=arguments.length,s=n<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,i,o);else for(var g=e.length-1;g>=0;g--)(a=e[g])&&(s=(n<3?a(s):n>3?a(t,i,s):a(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s},ot=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},nt=Symbol("registerInterval"),be=(0,Y.applyMixinOnce)(Symbol("toFtReaderComponent"),function(e){var t;class i extends e{constructor(){super(...arguments),this[t]=0}setReaderStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var n;return(n=this.stateManager)===null||n===void 0?void 0:n.service}connectedCallback(){super.connectedCallback(),this[nt]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[nt]):this.dispatchEvent(new ot)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=nt,ue([(0,Tt.state)()],i.prototype,"stateManager",void 0),i}),q=class extends be(Y.FtLitElementRedux){};var ft=globalThis,Ht=e=>e,J=ft.trustedTypes,Ct=J?J.createPolicy("lit-html",{createHTML:e=>e}):void 0,Ot="$lit$",S=`lit$${Math.random().toFixed(9).slice(2)}$`,Mt="?"+S,_e=`<${Mt}>`,z=document,Q=()=>z.createComment(""),U=e=>e===null||typeof e!="object"&&typeof e!="function",gt=Array.isArray,Ae=e=>gt(e)||typeof e?.[Symbol.iterator]=="function",rt=`[
2
+ \f\r]`,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ft=/-->/g,wt=/>/g,F=RegExp(`>|${rt}(?:([^\\s"'>=/]+)(${rt}*=${rt}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),zt=/'/g,Nt=/"/g,Et=/^(?:script|style|textarea|title)$/i,yt=e=>(t,...i)=>({_$litType$:e,strings:t,values:i}),Bt=yt(1),Rt=yt(2),It=yt(3),K=Symbol.for("lit-noChange"),c=Symbol.for("lit-nothing"),Wt=new WeakMap,w=z.createTreeWalker(z,129);function kt(e,t){if(!gt(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ct!==void 0?Ct.createHTML(t):t}var ve=(e,t)=>{let i=e.length-1,o=[],n,s=t===2?"<svg>":t===3?"<math>":"",a=j;for(let g=0;g<i;g++){let p=e[g],h,y,f=-1,b=0;for(;b<p.length&&(a.lastIndex=b,y=a.exec(p),y!==null);)b=a.lastIndex,a===j?y[1]==="!--"?a=Ft:y[1]!==void 0?a=wt:y[2]!==void 0?(Et.test(y[2])&&(n=RegExp("</"+y[2],"g")),a=F):y[3]!==void 0&&(a=F):a===F?y[0]===">"?(a=n??j,f=-1):y[1]===void 0?f=-2:(f=a.lastIndex-y[2].length,h=y[1],a=y[3]===void 0?F:y[3]==='"'?Nt:zt):a===Nt||a===zt?a=F:a===Ft||a===wt?a=j:(a=F,n=void 0);let v=a===F&&e[g+1].startsWith("/>")?" ":"";s+=a===j?p+_e:f>=0?(o.push(h),p.slice(0,f)+Ot+p.slice(f)+S+v):p+S+(f===-2?g:v)}return[kt(e,s+(e[i]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},Z=class e{constructor({strings:t,_$litType$:i},o){let n;this.parts=[];let s=0,a=0,g=t.length-1,p=this.parts,[h,y]=ve(t,i);if(this.el=e.createElement(h,o),w.currentNode=this.el.content,i===2||i===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(n=w.nextNode())!==null&&p.length<g;){if(n.nodeType===1){if(n.hasAttributes())for(let f of n.getAttributeNames())if(f.endsWith(Ot)){let b=y[a++],v=n.getAttribute(f).split(S),G=/([.?@])?(.*)/.exec(b);p.push({type:1,index:s,name:G[2],strings:v,ctor:G[1]==="."?at:G[1]==="?"?lt:G[1]==="@"?pt:O}),n.removeAttribute(f)}else f.startsWith(S)&&(p.push({type:6,index:s}),n.removeAttribute(f));if(Et.test(n.tagName)){let f=n.textContent.split(S),b=f.length-1;if(b>0){n.textContent=J?J.emptyScript:"";for(let v=0;v<b;v++)n.append(f[v],Q()),w.nextNode(),p.push({type:2,index:++s});n.append(f[b],Q())}}}else if(n.nodeType===8)if(n.data===Mt)p.push({type:2,index:s});else{let f=-1;for(;(f=n.data.indexOf(S,f+1))!==-1;)p.push({type:7,index:s}),f+=S.length-1}s++}}static createElement(t,i){let o=z.createElement("template");return o.innerHTML=t,o}};function W(e,t,i=e,o){if(t===K)return t;let n=o!==void 0?i._$Co?.[o]:i._$Cl,s=U(t)?void 0:t._$litDirective$;return n?.constructor!==s&&(n?._$AO?.(!1),s===void 0?n=void 0:(n=new s(e),n._$AT(e,i,o)),o!==void 0?(i._$Co??=[])[o]=n:i._$Cl=n),n!==void 0&&(t=W(e,n._$AS(e,t.values),n,o)),t}var st=class{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:i},parts:o}=this._$AD,n=(t?.creationScope??z).importNode(i,!0);w.currentNode=n;let s=w.nextNode(),a=0,g=0,p=o[0];for(;p!==void 0;){if(a===p.index){let h;p.type===2?h=new X(s,s.nextSibling,this,t):p.type===1?h=new p.ctor(s,p.name,p.strings,this,t):p.type===6&&(h=new ht(s,this,t)),this._$AV.push(h),p=o[++g]}a!==p?.index&&(s=w.nextNode(),a++)}return w.currentNode=z,n}p(t){let i=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,i),i+=o.strings.length-2):o._$AI(t[i])),i++}},X=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,o,n){this.type=2,this._$AH=c,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=o,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,i=this._$AM;return i!==void 0&&t?.nodeType===11&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=W(this,t,i),U(t)?t===c||t==null||t===""?(this._$AH!==c&&this._$AR(),this._$AH=c):t!==this._$AH&&t!==K&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ae(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==c&&U(this._$AH)?this._$AA.nextSibling.data=t:this.T(z.createTextNode(t)),this._$AH=t}$(t){let{values:i,_$litType$:o}=t,n=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Z.createElement(kt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(i);else{let s=new st(n,this),a=s.u(this.options);s.p(i),this.T(a),this._$AH=s}}_$AC(t){let i=Wt.get(t.strings);return i===void 0&&Wt.set(t.strings,i=new Z(t)),i}k(t){gt(this._$AH)||(this._$AH=[],this._$AR());let i=this._$AH,o,n=0;for(let s of t)n===i.length?i.push(o=new e(this.O(Q()),this.O(Q()),this,this.options)):o=i[n],o._$AI(s),n++;n<i.length&&(this._$AR(o&&o._$AB.nextSibling,n),i.length=n)}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t!==this._$AB;){let o=Ht(t).nextSibling;Ht(t).remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},O=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,o,n,s){this.type=1,this._$AH=c,this._$AN=void 0,this.element=t,this.name=i,this._$AM=n,this.options=s,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=c}_$AI(t,i=this,o,n){let s=this.strings,a=!1;if(s===void 0)t=W(this,t,i,0),a=!U(t)||t!==this._$AH&&t!==K,a&&(this._$AH=t);else{let g=t,p,h;for(t=s[0],p=0;p<s.length-1;p++)h=W(this,g[o+p],i,p),h===K&&(h=this._$AH[p]),a||=!U(h)||h!==this._$AH[p],h===c?t=c:t!==c&&(t+=(h??"")+s[p+1]),this._$AH[p]=h}a&&!n&&this.j(t)}j(t){t===c?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},at=class extends O{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===c?void 0:t}},lt=class extends O{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==c)}},pt=class extends O{constructor(t,i,o,n,s){super(t,i,o,n,s),this.type=5}_$AI(t,i=this){if((t=W(this,t,i,0)??c)===K)return;let o=this._$AH,n=t===c&&o!==c||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==c&&(o===c||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ht=class{constructor(t,i,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){W(this,t)}};var Se=ft.litHtmlPolyfillSupport;Se?.(Z,X),(ft.litHtmlVersions??=[]).push("3.3.3");var Lt=Symbol.for(""),Te=e=>{if(e?.r===Lt)return e?._$litStatic$},ct=e=>({_$litStatic$:e,r:Lt});var Dt=new Map,dt=e=>(t,...i)=>{let o=i.length,n,s,a=[],g=[],p,h=0,y=!1;for(;h<o;){for(p=t[h];h<o&&(s=i[h],(n=Te(s))!==void 0);)p+=n+t[++h],y=!0;h!==o&&g.push(s),a.push(p),h++}if(h===o&&a.push(t[o]),y){let f=a.join("$$lit$$");(t=Dt.get(f))===void 0&&(a.raw=a,Dt.set(f,t=a)),i=g}return e(t,...i)},mt=dt(Bt),Ee=dt(Rt),Be=dt(It);var xt=d(it()),ee=d(u());var tt;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button"})(tt||(tt={}));var x=d(V()),r=d(u()),Pt=r.FtCssVariableFactory.extend("--ft-typography-font-family","",r.designSystemVariables.titleFont),_=r.FtCssVariableFactory.extend("--ft-typography-font-family","",r.designSystemVariables.contentFont),l={fontFamily:_,fontSize:r.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},T={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Pt),fontSize:r.FtCssVariableFactory.extend("--ft-typography-title-font-size","",l.fontSize,"20px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",l.letterSpacing,"0.15px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-title-line-height","",l.lineHeight,"1.2"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",l.textTransform,"inherit")},M={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Pt),fontSize:r.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",l.fontSize,"14px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",l.letterSpacing,"0.105px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",l.lineHeight,"1.7"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",l.textTransform,"inherit")},E={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",_),fontSize:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",l.fontSize,"16px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",l.fontWeight,"600"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",l.letterSpacing,"0.144px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",l.lineHeight,"1.5"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",l.textTransform,"inherit")},B={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",_),fontSize:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",l.fontSize,"14px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",l.letterSpacing,"0.098px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",l.lineHeight,"1.7"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",l.textTransform,"inherit")},R={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",_),fontSize:r.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",l.fontSize,"16px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",l.letterSpacing,"0.496px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",l.lineHeight,"1.5"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",l.textTransform,"inherit")},I={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",_),fontSize:r.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",l.fontSize,"14px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",l.letterSpacing,"0.252px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",l.lineHeight,"1.4"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",l.textTransform,"inherit")},k={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",_),fontSize:r.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",l.fontSize,"12px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",l.letterSpacing,"0.396px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",l.lineHeight,"1.33"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",l.textTransform,"inherit")},D={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",_),fontSize:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",l.fontSize,"10px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",l.letterSpacing,"0.33px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",l.lineHeight,"1.6"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",l.textTransform,"inherit")},L={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",_),fontSize:r.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",l.fontSize,"10px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",l.letterSpacing,"1.5px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",l.lineHeight,"1.6"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",l.textTransform,"uppercase")},P={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-button-font-family","",_),fontSize:r.FtCssVariableFactory.extend("--ft-typography-button-font-size","",l.fontSize,"14px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",l.fontWeight,"600"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",l.letterSpacing,"1.246px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-button-line-height","",l.lineHeight,"1.15"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",l.textTransform,"uppercase")},Vt=x.css`
4
4
  .ft-typography--title {
5
5
  font-family: ${T.fontFamily};
6
6
  font-size: ${T.fontSize};
@@ -9,7 +9,7 @@
9
9
  line-height: ${T.lineHeight};
10
10
  text-transform: ${T.textTransform};
11
11
  }
12
- `,Vt=x.css`
12
+ `,jt=x.css`
13
13
  .ft-typography--title-dense {
14
14
  font-family: ${M.fontFamily};
15
15
  font-size: ${M.fontSize};
@@ -18,7 +18,7 @@
18
18
  line-height: ${M.lineHeight};
19
19
  text-transform: ${M.textTransform};
20
20
  }
21
- `,jt=x.css`
21
+ `,Ut=x.css`
22
22
  .ft-typography--subtitle1 {
23
23
  font-family: ${E.fontFamily};
24
24
  font-size: ${E.fontSize};
@@ -27,7 +27,7 @@
27
27
  line-height: ${E.lineHeight};
28
28
  text-transform: ${E.textTransform};
29
29
  }
30
- `,Ut=x.css`
30
+ `,Kt=x.css`
31
31
  .ft-typography--subtitle2 {
32
32
  font-family: ${B.fontFamily};
33
33
  font-size: ${B.fontSize};
@@ -37,7 +37,7 @@
37
37
  text-transform: ${B.textTransform};
38
38
  }
39
39
 
40
- `,Kt=x.css`
40
+ `,Zt=x.css`
41
41
  .ft-typography--body1 {
42
42
  font-family: ${R.fontFamily};
43
43
  font-size: ${R.fontSize};
@@ -46,7 +46,7 @@
46
46
  line-height: ${R.lineHeight};
47
47
  text-transform: ${R.textTransform};
48
48
  }
49
- `,Zt=x.css`
49
+ `,Gt=x.css`
50
50
  .ft-typography--body2 {
51
51
  font-family: ${I.fontFamily};
52
52
  font-size: ${I.fontSize};
@@ -55,7 +55,7 @@
55
55
  line-height: ${I.lineHeight};
56
56
  text-transform: ${I.textTransform};
57
57
  }
58
- `,Gt=x.css`
58
+ `,qt=x.css`
59
59
  .ft-typography--caption {
60
60
  font-family: ${k.fontFamily};
61
61
  font-size: ${k.fontSize};
@@ -64,17 +64,8 @@
64
64
  line-height: ${k.lineHeight};
65
65
  text-transform: ${k.textTransform};
66
66
  }
67
- `,qt=x.css`
68
- .ft-typography--breadcrumb {
69
- font-family: ${L.fontFamily};
70
- font-size: ${L.fontSize};
71
- font-weight: ${L.fontWeight};
72
- letter-spacing: ${L.letterSpacing};
73
- line-height: ${L.lineHeight};
74
- text-transform: ${L.textTransform};
75
- }
76
67
  `,Yt=x.css`
77
- .ft-typography--overline {
68
+ .ft-typography--breadcrumb {
78
69
  font-family: ${D.fontFamily};
79
70
  font-size: ${D.fontSize};
80
71
  font-weight: ${D.fontWeight};
@@ -83,6 +74,15 @@
83
74
  text-transform: ${D.textTransform};
84
75
  }
85
76
  `,Jt=x.css`
77
+ .ft-typography--overline {
78
+ font-family: ${L.fontFamily};
79
+ font-size: ${L.fontSize};
80
+ font-weight: ${L.fontWeight};
81
+ letter-spacing: ${L.letterSpacing};
82
+ line-height: ${L.lineHeight};
83
+ text-transform: ${L.textTransform};
84
+ }
85
+ `,Qt=x.css`
86
86
  .ft-typography--button {
87
87
  font-family: ${P.fontFamily};
88
88
  font-size: ${P.fontSize};
@@ -91,11 +91,11 @@
91
91
  line-height: ${P.lineHeight};
92
92
  text-transform: ${P.textTransform};
93
93
  }
94
- `,Qt=x.css`
94
+ `,Xt=x.css`
95
95
  .ft-typography {
96
96
  vertical-align: inherit;
97
97
  }
98
- `;var Xt=function(e,t,i,o){var n=arguments.length,s=n<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,i,o);else for(var g=e.length-1;g>=0;g--)(a=e[g])&&(s=(n<3?a(s):n>3?a(t,i,s):a(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s},A=class extends te.FtLitElement{constructor(){super(...arguments),this.variant=tt.body1}render(){return this.element?mt`
98
+ `;var te=function(e,t,i,o){var n=arguments.length,s=n<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,i,o);else for(var g=e.length-1;g>=0;g--)(a=e[g])&&(s=(n<3?a(s):n>3?a(t,i,s):a(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s},A=class extends ee.FtLitElement{constructor(){super(...arguments),this.variant=tt.body1}render(){return this.element?mt`
99
99
  <${ct(this.element)}
100
100
  part="text"
101
101
  class="ft-typography ft-typography--${this.variant}">
@@ -103,7 +103,7 @@
103
103
  </${ct(this.element)}>
104
104
  `:mt`
105
105
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
106
- `}};A.styles=[Pt,Vt,jt,Ut,Kt,Zt,Gt,qt,Yt,Jt,Qt];Xt([(0,xt.property)()],A.prototype,"element",void 0);Xt([(0,xt.property)()],A.prototype,"variant",void 0);var ie=d(u());var ee={"ft-typography":A};(0,ie.customElements)(ee);var re=d(V()),se=d(u());var ne=d(V()),$=d(u()),m={display:$.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:$.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:$.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:$.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:$.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:$.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:$.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:$.FtCssVariableFactory.external($.designSystemVariables.borderRadiusM,"Design system")},oe=ne.css`
106
+ `}};A.styles=[Vt,jt,Ut,Kt,Zt,Gt,qt,Yt,Jt,Qt,Xt];te([(0,xt.property)()],A.prototype,"element",void 0);te([(0,xt.property)()],A.prototype,"variant",void 0);var ne=d(u());var ie={"ft-typography":A};(0,ne.customElements)(ie);var se=d(V()),ae=d(u());var oe=d(V()),$=d(u()),m={display:$.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:$.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:$.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:$.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:$.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:$.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:$.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:$.FtCssVariableFactory.external($.designSystemVariables.borderRadiusM,"Design system")},re=oe.css`
107
107
  :host {
108
108
  width: ${m.width};
109
109
  height: ${m.height};
@@ -130,10 +130,10 @@
130
130
  background-position: calc(100vw + ${m.glareWidth}) 0, calc(${m.glareWidth} * -1) 0;
131
131
  }
132
132
  }
133
- `;var H=class extends se.FtLitElement{render(){return re.html`
134
- `}};H.elementDefinitions={};H.styles=oe;var le=d(u());var ae={"ft-skeleton":H};(0,le.customElements)(ae);var pe=function(e,t,i,o){var n=arguments.length,s=n<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,i,o);else for(var g=e.length-1;g>=0;g--)(a=e[g])&&(s=(n<3?a(s):n>3?a(t,i,s):a(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s},C=class extends q{render(){return this.translationLoading?W.html`
135
- <ft-skeleton></ft-skeleton>`:this.mapTitle?W.html`
136
- <ft-typography variant="title" part="title" element="h1">${this.mapTitle}</ft-typography>`:W.nothing}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("mapTitle")&&this.mapTitle&&performance.mark("fluid_topics__reader_title_displayed")}};C.elementDefinitions={"ft-typography":A,"ft-skeleton":H};C.styles=W.css`
133
+ `;var H=class extends ae.FtLitElement{render(){return se.html`
134
+ `}};H.elementDefinitions={};H.styles=re;var pe=d(u());var le={"ft-skeleton":H};(0,pe.customElements)(le);var he=function(e,t,i,o){var n=arguments.length,s=n<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,i,o);else for(var g=e.length-1;g>=0;g--)(a=e[g])&&(s=(n<3?a(s):n>3?a(t,i,s):a(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s},C=class extends q{render(){return this.translationLoading?N.html`
135
+ <ft-skeleton></ft-skeleton>`:this.mapTitle?N.html`
136
+ <ft-typography variant="title" part="title" element="h1">${this.mapTitle}</ft-typography>`:N.nothing}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("mapTitle")&&this.mapTitle&&performance.mark("fluid_topics__reader_title_displayed")}};C.elementDefinitions={"ft-typography":A,"ft-skeleton":H};C.styles=N.css`
137
137
  [part="title"]::part(text) {
138
138
  margin: unset;
139
139
  }
@@ -141,7 +141,7 @@
141
141
  ft-skeleton {
142
142
  height: ${T.fontSize};
143
143
  }
144
- `;pe([(0,$t.redux)({selector:e=>{var t;return(t=e.map)===null||t===void 0?void 0:t.title}})],C.prototype,"mapTitle",void 0);pe([(0,$t.redux)({selector:e=>e.translation.isLoading})],C.prototype,"translationLoading",void 0);var he={"ft-reader-title":C};(0,fe.customElements)(he);})();
144
+ `;he([(0,$t.redux)({selector:e=>{var t;return(t=e.map)===null||t===void 0?void 0:t.title}})],C.prototype,"mapTitle",void 0);he([(0,$t.redux)({selector:e=>e.translation.isLoading})],C.prototype,"translationLoading",void 0);var fe={"ft-reader-title":C};(0,ge.customElements)(fe);})();
145
145
  /*! Bundled license information:
146
146
 
147
147
  lit-html/lit-html.js: