@fluid-topics/ft-reader-saved-bookmarks 2.0.28 → 2.0.29

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.
@@ -36,7 +36,7 @@
36
36
  text-decoration: line-through;
37
37
  color: ${Ue.itemBorderColor};
38
38
  }
39
- `;var en=A(z()),li=A(te());var ci;(function(e){e.clusteringHelperCreated="clustering-helper-created",e.mapAttachmentsUpdate="map-attachments-update",e.visibleTopicChange="visible-topic-change"})(ci||(ci={}));var si;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(si||(si={}));var W2=function(e,t,n,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,n):o,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,o);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,n,i):c(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},ho=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},po=Symbol("registerInterval"),F2=(0,en.applyMixinOnce)(Symbol("toFtReaderComponent"),function(e){var t;class n extends e{constructor(){super(...arguments),this[t]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[po]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[po]):this.dispatchEvent(new ho)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=po,W2([(0,li.state)()],n.prototype,"stateManager",void 0),n}),Jr=class extends F2(en.FtLitElementRedux){};var M2=A(ui()),k2=A(tn());function pi(e,t,n){return e?t(e):n?.(e)}var So=globalThis,rn=So.trustedTypes,hi=rn?rn.createPolicy("lit-html",{createHTML:e=>e}):void 0,vi="$lit$",Ke=`lit$${Math.random().toFixed(9).slice(2)}$`,Si="?"+Ke,$2=`<${Si}>`,gt=document,nn=()=>gt.createComment(""),vr=e=>e===null||typeof e!="object"&&typeof e!="function",Co=Array.isArray,j2=e=>Co(e)||typeof e?.[Symbol.iterator]=="function",mo=`[
39
+ `;var en=A(z()),li=A(te());var ci;(function(e){e.clusteringHelperCreated="clustering-helper-created",e.mapAttachmentsUpdate="map-attachments-update",e.visibleTopicChange="visible-topic-change",e.requestedTopicNotFound="requested-topic-not-found"})(ci||(ci={}));var si;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(si||(si={}));var W2=function(e,t,n,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,n):o,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,o);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,n,i):c(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},ho=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},po=Symbol("registerInterval"),F2=(0,en.applyMixinOnce)(Symbol("toFtReaderComponent"),function(e){var t;class n extends e{constructor(){super(...arguments),this[t]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[po]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[po]):this.dispatchEvent(new ho)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=po,W2([(0,li.state)()],n.prototype,"stateManager",void 0),n}),Jr=class extends F2(en.FtLitElementRedux){};var M2=A(ui()),k2=A(tn());function pi(e,t,n){return e?t(e):n?.(e)}var So=globalThis,rn=So.trustedTypes,hi=rn?rn.createPolicy("lit-html",{createHTML:e=>e}):void 0,vi="$lit$",Ke=`lit$${Math.random().toFixed(9).slice(2)}$`,Si="?"+Ke,$2=`<${Si}>`,gt=document,nn=()=>gt.createComment(""),vr=e=>e===null||typeof e!="object"&&typeof e!="function",Co=Array.isArray,j2=e=>Co(e)||typeof e?.[Symbol.iterator]=="function",mo=`[
40
40
  \f\r]`,xr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,mi=/-->/g,gi=/>/g,ht=RegExp(`>|${mo}(?:([^\\s"'>=/]+)(${mo}*=${mo}*(?:[^
41
41
  \f\r"'\`<>=]|("|')|))|$)`,"g"),yi=/'/g,bi=/"/g,Ci=/^(?:script|style|textarea|title)$/i,Eo=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),Ei=Eo(1),Ai=Eo(2),Li=Eo(3),Sr=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),xi=new WeakMap,mt=gt.createTreeWalker(gt,129);function Oi(e,t){if(!Co(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return hi!==void 0?hi.createHTML(t):t}var V2=(e,t)=>{let n=e.length-1,o=[],a,i=t===2?"<svg>":t===3?"<math>":"",c=xr;for(let l=0;l<n;l++){let u=e[l],f,m,g=-1,y=0;for(;y<u.length&&(c.lastIndex=y,m=c.exec(u),m!==null);)y=c.lastIndex,c===xr?m[1]==="!--"?c=mi:m[1]!==void 0?c=gi:m[2]!==void 0?(Ci.test(m[2])&&(a=RegExp("</"+m[2],"g")),c=ht):m[3]!==void 0&&(c=ht):c===ht?m[0]===">"?(c=a??xr,g=-1):m[1]===void 0?g=-2:(g=c.lastIndex-m[2].length,f=m[1],c=m[3]===void 0?ht:m[3]==='"'?bi:yi):c===bi||c===yi?c=ht:c===mi||c===gi?c=xr:(c=ht,a=void 0);let x=c===ht&&e[l+1].startsWith("/>")?" ":"";i+=c===xr?u+$2:g>=0?(o.push(f),u.slice(0,g)+vi+u.slice(g)+Ke+x):u+Ke+(g===-2?l:x)}return[Oi(e,i+(e[n]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},Cr=class e{constructor({strings:t,_$litType$:n},o){let a;this.parts=[];let i=0,c=0,l=t.length-1,u=this.parts,[f,m]=V2(t,n);if(this.el=e.createElement(f,o),mt.currentNode=this.el.content,n===2||n===3){let g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(a=mt.nextNode())!==null&&u.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let g of a.getAttributeNames())if(g.endsWith(vi)){let y=m[c++],x=a.getAttribute(g).split(Ke),v=/([.?@])?(.*)/.exec(y);u.push({type:1,index:i,name:v[2],strings:x,ctor:v[1]==="."?yo:v[1]==="?"?bo:v[1]==="@"?xo:It}),a.removeAttribute(g)}else g.startsWith(Ke)&&(u.push({type:6,index:i}),a.removeAttribute(g));if(Ci.test(a.tagName)){let g=a.textContent.split(Ke),y=g.length-1;if(y>0){a.textContent=rn?rn.emptyScript:"";for(let x=0;x<y;x++)a.append(g[x],nn()),mt.nextNode(),u.push({type:2,index:++i});a.append(g[y],nn())}}}else if(a.nodeType===8)if(a.data===Si)u.push({type:2,index:i});else{let g=-1;for(;(g=a.data.indexOf(Ke,g+1))!==-1;)u.push({type:7,index:i}),g+=Ke.length-1}i++}}static createElement(t,n){let o=gt.createElement("template");return o.innerHTML=t,o}};function Pt(e,t,n=e,o){if(t===Sr)return t;let a=o!==void 0?n._$Co?.[o]:n._$Cl,i=vr(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,n,o)),o!==void 0?(n._$Co??=[])[o]=a:n._$Cl=a),a!==void 0&&(t=Pt(e,a._$AS(e,t.values),a,o)),t}var go=class{constructor(t,n){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=n}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:n},parts:o}=this._$AD,a=(t?.creationScope??gt).importNode(n,!0);mt.currentNode=a;let i=mt.nextNode(),c=0,l=0,u=o[0];for(;u!==void 0;){if(c===u.index){let f;u.type===2?f=new on(i,i.nextSibling,this,t):u.type===1?f=new u.ctor(i,u.name,u.strings,this,t):u.type===6&&(f=new vo(i,this,t)),this._$AV.push(f),u=o[++l]}c!==u?.index&&(i=mt.nextNode(),c++)}return mt.currentNode=gt,a}p(t){let n=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,n),n+=o.strings.length-2):o._$AI(t[n])),n++}},on=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,n,o,a){this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=n,this._$AM=o,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,n=this._$AM;return n!==void 0&&t?.nodeType===11&&(t=n.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,n=this){t=Pt(this,t,n),vr(t)?t===q||t==null||t===""?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==Sr&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):j2(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!==q&&vr(this._$AH)?this._$AA.nextSibling.data=t:this.T(gt.createTextNode(t)),this._$AH=t}$(t){let{values:n,_$litType$:o}=t,a=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Cr.createElement(Oi(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===a)this._$AH.p(n);else{let i=new go(a,this),c=i.u(this.options);i.p(n),this.T(c),this._$AH=i}}_$AC(t){let n=xi.get(t.strings);return n===void 0&&xi.set(t.strings,n=new Cr(t)),n}k(t){Co(this._$AH)||(this._$AH=[],this._$AR());let n=this._$AH,o,a=0;for(let i of t)a===n.length?n.push(o=new e(this.O(nn()),this.O(nn()),this,this.options)):o=n[a],o._$AI(i),a++;a<n.length&&(this._$AR(o&&o._$AB.nextSibling,a),n.length=a)}_$AR(t=this._$AA.nextSibling,n){for(this._$AP?.(!1,!0,n);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},It=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,n,o,a,i){this.type=1,this._$AH=q,this._$AN=void 0,this.element=t,this.name=n,this._$AM=a,this.options=i,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=q}_$AI(t,n=this,o,a){let i=this.strings,c=!1;if(i===void 0)t=Pt(this,t,n,0),c=!vr(t)||t!==this._$AH&&t!==Sr,c&&(this._$AH=t);else{let l=t,u,f;for(t=i[0],u=0;u<i.length-1;u++)f=Pt(this,l[o+u],n,u),f===Sr&&(f=this._$AH[u]),c||=!vr(f)||f!==this._$AH[u],f===q?t=q:t!==q&&(t+=(f??"")+i[u+1]),this._$AH[u]=f}c&&!a&&this.j(t)}j(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},yo=class extends It{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===q?void 0:t}},bo=class extends It{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==q)}},xo=class extends It{constructor(t,n,o,a,i){super(t,n,o,a,i),this.type=5}_$AI(t,n=this){if((t=Pt(this,t,n,0)??q)===Sr)return;let o=this._$AH,a=t===q&&o!==q||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==q&&(o===q||a);a&&this.element.removeEventListener(this.name,this,o),i&&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)}},vo=class{constructor(t,n,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=n,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){Pt(this,t)}};var K2=So.litHtmlPolyfillSupport;K2?.(Cr,on),(So.litHtmlVersions??=[]).push("3.3.0");var wi=Symbol.for(""),Z2=e=>{if(e?.r===wi)return e?._$litStatic$},zt=e=>({_$litStatic$:e,r:wi});var Ri=new Map,Ao=e=>(t,...n)=>{let o=n.length,a,i,c=[],l=[],u,f=0,m=!1;for(;f<o;){for(u=t[f];f<o&&(i=n[f],(a=Z2(i))!==void 0);)u+=a+t[++f],m=!0;f!==o&&l.push(i),c.push(u),f++}if(f===o&&c.push(t[o]),m){let g=c.join("$$lit$$");(t=Ri.get(g))===void 0&&(c.raw=c,Ri.set(g,t=c)),n=l}return e(t,...n)},Dt=Ao(Ei),wu=Ao(Ai),_u=Ao(Li);var Lo=A(te()),Wi=A(z());var Ze;(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"})(Ze||(Ze={}));var me=A(Z()),w=A(z()),_i=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.titleFont),Be=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.contentFont),k={fontFamily:Be,fontSize:w.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:w.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:w.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:w.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:w.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ut={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-font-family","",_i),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-font-size","",k.fontSize,"20px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",k.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",k.letterSpacing,"0.15px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-line-height","",k.lineHeight,"1.2"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",k.textTransform,"inherit")},Bt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",_i),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",k.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",k.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",k.letterSpacing,"0.105px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",k.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",k.textTransform,"inherit")},Gt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Be),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",k.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",k.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",k.letterSpacing,"0.144px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",k.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",k.textTransform,"inherit")},Ht={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Be),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",k.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",k.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",k.letterSpacing,"0.098px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",k.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",k.textTransform,"inherit")},Wt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Be),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",k.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",k.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",k.letterSpacing,"0.496px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",k.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",k.textTransform,"inherit")},Ft={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Be),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",k.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",k.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",k.letterSpacing,"0.252px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",k.lineHeight,"1.4"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",k.textTransform,"inherit")},$t={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Be),fontSize:w.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",k.fontSize,"12px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",k.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",k.letterSpacing,"0.396px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",k.lineHeight,"1.33"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",k.textTransform,"inherit")},jt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Be),fontSize:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",k.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",k.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",k.letterSpacing,"0.33px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",k.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",k.textTransform,"inherit")},Vt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Be),fontSize:w.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",k.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",k.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",k.letterSpacing,"1.5px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",k.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",k.textTransform,"uppercase")},Kt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Be),fontSize:w.FtCssVariableFactory.extend("--ft-typography-button-font-size","",k.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",k.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",k.letterSpacing,"1.246px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-button-line-height","",k.lineHeight,"1.15"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",k.textTransform,"uppercase")},Ni=me.css`
42
42
  .ft-typography--title {
@@ -119,7 +119,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:n.extend("--ftds-con
119
119
  text-decoration: line-through;
120
120
  color: ${rt.itemBorderColor};
121
121
  }
122
- `;var K1;(function(e){e.clusteringHelperCreated="clustering-helper-created",e.mapAttachmentsUpdate="map-attachments-update",e.visibleTopicChange="visible-topic-change"})(K1||(K1={}));var Z1;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Z1||(Z1={}));var ef=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},ms=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},hs=Symbol("registerInterval"),tf=ne(Symbol("toFtReaderComponent"),function(e){var t;class r extends e{constructor(){super(...arguments),this[t]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[hs]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[hs]):this.dispatchEvent(new ms)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=hs,ef([J()],r.prototype,"stateManager",void 0),r}),xn=class extends tf(et){};var q1=Symbol.for(""),rf=e=>{if(e?.r===q1)return e?._$litStatic$},Or=e=>({_$litStatic$:e,r:q1});var Y1=new Map,gs=e=>(t,...r)=>{let o=r.length,a,i,s=[],c=[],d,u=0,h=!1;for(;u<o;){for(d=t[u];u<o&&(i=r[u],(a=rf(i))!==void 0);)d+=a+t[++u],h=!0;u!==o&&c.push(i),s.push(d),u++}if(u===o&&s.push(t[o]),h){let p=s.join("$$lit$$");(t=Y1.get(p))===void 0&&(s.raw=s,Y1.set(p,t=s)),r=c}return e(t,...r)},Rr=gs(q),qy=gs(oa),Xy=gs(na);var bt;(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"})(bt||(bt={}));var X1=n.extend("--ft-typography-font-family","",Q.titleFont),ot=n.extend("--ft-typography-font-family","",Q.contentFont),z={fontFamily:ot,fontSize:n.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:n.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:n.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:n.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:n.create("--ft-typography-text-transform","","UNKNOWN","inherit")},wr={fontFamily:n.extend("--ft-typography-title-font-family","",X1),fontSize:n.extend("--ft-typography-title-font-size","",z.fontSize,"20px"),fontWeight:n.extend("--ft-typography-title-font-weight","",z.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-title-letter-spacing","",z.letterSpacing,"0.15px"),lineHeight:n.extend("--ft-typography-title-line-height","",z.lineHeight,"1.2"),textTransform:n.extend("--ft-typography-title-text-transform","",z.textTransform,"inherit")},_r={fontFamily:n.extend("--ft-typography-title-dense-font-family","",X1),fontSize:n.extend("--ft-typography-title-dense-font-size","",z.fontSize,"14px"),fontWeight:n.extend("--ft-typography-title-dense-font-weight","",z.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-title-dense-letter-spacing","",z.letterSpacing,"0.105px"),lineHeight:n.extend("--ft-typography-title-dense-line-height","",z.lineHeight,"1.7"),textTransform:n.extend("--ft-typography-title-dense-text-transform","",z.textTransform,"inherit")},Tr={fontFamily:n.extend("--ft-typography-subtitle1-font-family","",ot),fontSize:n.extend("--ft-typography-subtitle1-font-size","",z.fontSize,"16px"),fontWeight:n.extend("--ft-typography-subtitle1-font-weight","",z.fontWeight,"600"),letterSpacing:n.extend("--ft-typography-subtitle1-letter-spacing","",z.letterSpacing,"0.144px"),lineHeight:n.extend("--ft-typography-subtitle1-line-height","",z.lineHeight,"1.5"),textTransform:n.extend("--ft-typography-subtitle1-text-transform","",z.textTransform,"inherit")},Nr={fontFamily:n.extend("--ft-typography-subtitle2-font-family","",ot),fontSize:n.extend("--ft-typography-subtitle2-font-size","",z.fontSize,"14px"),fontWeight:n.extend("--ft-typography-subtitle2-font-weight","",z.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-subtitle2-letter-spacing","",z.letterSpacing,"0.098px"),lineHeight:n.extend("--ft-typography-subtitle2-line-height","",z.lineHeight,"1.7"),textTransform:n.extend("--ft-typography-subtitle2-text-transform","",z.textTransform,"inherit")},Mr={fontFamily:n.extend("--ft-typography-body1-font-family","",ot),fontSize:n.extend("--ft-typography-body1-font-size","",z.fontSize,"16px"),fontWeight:n.extend("--ft-typography-body1-font-weight","",z.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-body1-letter-spacing","",z.letterSpacing,"0.496px"),lineHeight:n.extend("--ft-typography-body1-line-height","",z.lineHeight,"1.5"),textTransform:n.extend("--ft-typography-body1-text-transform","",z.textTransform,"inherit")},kr={fontFamily:n.extend("--ft-typography-body2-font-family","",ot),fontSize:n.extend("--ft-typography-body2-font-size","",z.fontSize,"14px"),fontWeight:n.extend("--ft-typography-body2-font-weight","",z.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-body2-letter-spacing","",z.letterSpacing,"0.252px"),lineHeight:n.extend("--ft-typography-body2-line-height","",z.lineHeight,"1.4"),textTransform:n.extend("--ft-typography-body2-text-transform","",z.textTransform,"inherit")},Pr={fontFamily:n.extend("--ft-typography-caption-font-family","",ot),fontSize:n.extend("--ft-typography-caption-font-size","",z.fontSize,"12px"),fontWeight:n.extend("--ft-typography-caption-font-weight","",z.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-caption-letter-spacing","",z.letterSpacing,"0.396px"),lineHeight:n.extend("--ft-typography-caption-line-height","",z.lineHeight,"1.33"),textTransform:n.extend("--ft-typography-caption-text-transform","",z.textTransform,"inherit")},Ir={fontFamily:n.extend("--ft-typography-breadcrumb-font-family","",ot),fontSize:n.extend("--ft-typography-breadcrumb-font-size","",z.fontSize,"10px"),fontWeight:n.extend("--ft-typography-breadcrumb-font-weight","",z.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-breadcrumb-letter-spacing","",z.letterSpacing,"0.33px"),lineHeight:n.extend("--ft-typography-breadcrumb-line-height","",z.lineHeight,"1.6"),textTransform:n.extend("--ft-typography-breadcrumb-text-transform","",z.textTransform,"inherit")},zr={fontFamily:n.extend("--ft-typography-overline-font-family","",ot),fontSize:n.extend("--ft-typography-overline-font-size","",z.fontSize,"10px"),fontWeight:n.extend("--ft-typography-overline-font-weight","",z.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-overline-letter-spacing","",z.letterSpacing,"1.5px"),lineHeight:n.extend("--ft-typography-overline-line-height","",z.lineHeight,"1.6"),textTransform:n.extend("--ft-typography-overline-text-transform","",z.textTransform,"uppercase")},Dr={fontFamily:n.extend("--ft-typography-button-font-family","",ot),fontSize:n.extend("--ft-typography-button-font-size","",z.fontSize,"14px"),fontWeight:n.extend("--ft-typography-button-font-weight","",z.fontWeight,"600"),letterSpacing:n.extend("--ft-typography-button-letter-spacing","",z.letterSpacing,"1.246px"),lineHeight:n.extend("--ft-typography-button-line-height","",z.lineHeight,"1.15"),textTransform:n.extend("--ft-typography-button-text-transform","",z.textTransform,"uppercase")},J1=D`
122
+ `;var K1;(function(e){e.clusteringHelperCreated="clustering-helper-created",e.mapAttachmentsUpdate="map-attachments-update",e.visibleTopicChange="visible-topic-change",e.requestedTopicNotFound="requested-topic-not-found"})(K1||(K1={}));var Z1;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Z1||(Z1={}));var ef=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},ms=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},hs=Symbol("registerInterval"),tf=ne(Symbol("toFtReaderComponent"),function(e){var t;class r extends e{constructor(){super(...arguments),this[t]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[hs]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[hs]):this.dispatchEvent(new ms)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=hs,ef([J()],r.prototype,"stateManager",void 0),r}),xn=class extends tf(et){};var q1=Symbol.for(""),rf=e=>{if(e?.r===q1)return e?._$litStatic$},Or=e=>({_$litStatic$:e,r:q1});var Y1=new Map,gs=e=>(t,...r)=>{let o=r.length,a,i,s=[],c=[],d,u=0,h=!1;for(;u<o;){for(d=t[u];u<o&&(i=r[u],(a=rf(i))!==void 0);)d+=a+t[++u],h=!0;u!==o&&c.push(i),s.push(d),u++}if(u===o&&s.push(t[o]),h){let p=s.join("$$lit$$");(t=Y1.get(p))===void 0&&(s.raw=s,Y1.set(p,t=s)),r=c}return e(t,...r)},Rr=gs(q),qy=gs(oa),Xy=gs(na);var bt;(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"})(bt||(bt={}));var X1=n.extend("--ft-typography-font-family","",Q.titleFont),ot=n.extend("--ft-typography-font-family","",Q.contentFont),z={fontFamily:ot,fontSize:n.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:n.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:n.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:n.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:n.create("--ft-typography-text-transform","","UNKNOWN","inherit")},wr={fontFamily:n.extend("--ft-typography-title-font-family","",X1),fontSize:n.extend("--ft-typography-title-font-size","",z.fontSize,"20px"),fontWeight:n.extend("--ft-typography-title-font-weight","",z.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-title-letter-spacing","",z.letterSpacing,"0.15px"),lineHeight:n.extend("--ft-typography-title-line-height","",z.lineHeight,"1.2"),textTransform:n.extend("--ft-typography-title-text-transform","",z.textTransform,"inherit")},_r={fontFamily:n.extend("--ft-typography-title-dense-font-family","",X1),fontSize:n.extend("--ft-typography-title-dense-font-size","",z.fontSize,"14px"),fontWeight:n.extend("--ft-typography-title-dense-font-weight","",z.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-title-dense-letter-spacing","",z.letterSpacing,"0.105px"),lineHeight:n.extend("--ft-typography-title-dense-line-height","",z.lineHeight,"1.7"),textTransform:n.extend("--ft-typography-title-dense-text-transform","",z.textTransform,"inherit")},Tr={fontFamily:n.extend("--ft-typography-subtitle1-font-family","",ot),fontSize:n.extend("--ft-typography-subtitle1-font-size","",z.fontSize,"16px"),fontWeight:n.extend("--ft-typography-subtitle1-font-weight","",z.fontWeight,"600"),letterSpacing:n.extend("--ft-typography-subtitle1-letter-spacing","",z.letterSpacing,"0.144px"),lineHeight:n.extend("--ft-typography-subtitle1-line-height","",z.lineHeight,"1.5"),textTransform:n.extend("--ft-typography-subtitle1-text-transform","",z.textTransform,"inherit")},Nr={fontFamily:n.extend("--ft-typography-subtitle2-font-family","",ot),fontSize:n.extend("--ft-typography-subtitle2-font-size","",z.fontSize,"14px"),fontWeight:n.extend("--ft-typography-subtitle2-font-weight","",z.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-subtitle2-letter-spacing","",z.letterSpacing,"0.098px"),lineHeight:n.extend("--ft-typography-subtitle2-line-height","",z.lineHeight,"1.7"),textTransform:n.extend("--ft-typography-subtitle2-text-transform","",z.textTransform,"inherit")},Mr={fontFamily:n.extend("--ft-typography-body1-font-family","",ot),fontSize:n.extend("--ft-typography-body1-font-size","",z.fontSize,"16px"),fontWeight:n.extend("--ft-typography-body1-font-weight","",z.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-body1-letter-spacing","",z.letterSpacing,"0.496px"),lineHeight:n.extend("--ft-typography-body1-line-height","",z.lineHeight,"1.5"),textTransform:n.extend("--ft-typography-body1-text-transform","",z.textTransform,"inherit")},kr={fontFamily:n.extend("--ft-typography-body2-font-family","",ot),fontSize:n.extend("--ft-typography-body2-font-size","",z.fontSize,"14px"),fontWeight:n.extend("--ft-typography-body2-font-weight","",z.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-body2-letter-spacing","",z.letterSpacing,"0.252px"),lineHeight:n.extend("--ft-typography-body2-line-height","",z.lineHeight,"1.4"),textTransform:n.extend("--ft-typography-body2-text-transform","",z.textTransform,"inherit")},Pr={fontFamily:n.extend("--ft-typography-caption-font-family","",ot),fontSize:n.extend("--ft-typography-caption-font-size","",z.fontSize,"12px"),fontWeight:n.extend("--ft-typography-caption-font-weight","",z.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-caption-letter-spacing","",z.letterSpacing,"0.396px"),lineHeight:n.extend("--ft-typography-caption-line-height","",z.lineHeight,"1.33"),textTransform:n.extend("--ft-typography-caption-text-transform","",z.textTransform,"inherit")},Ir={fontFamily:n.extend("--ft-typography-breadcrumb-font-family","",ot),fontSize:n.extend("--ft-typography-breadcrumb-font-size","",z.fontSize,"10px"),fontWeight:n.extend("--ft-typography-breadcrumb-font-weight","",z.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-breadcrumb-letter-spacing","",z.letterSpacing,"0.33px"),lineHeight:n.extend("--ft-typography-breadcrumb-line-height","",z.lineHeight,"1.6"),textTransform:n.extend("--ft-typography-breadcrumb-text-transform","",z.textTransform,"inherit")},zr={fontFamily:n.extend("--ft-typography-overline-font-family","",ot),fontSize:n.extend("--ft-typography-overline-font-size","",z.fontSize,"10px"),fontWeight:n.extend("--ft-typography-overline-font-weight","",z.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-overline-letter-spacing","",z.letterSpacing,"1.5px"),lineHeight:n.extend("--ft-typography-overline-line-height","",z.lineHeight,"1.6"),textTransform:n.extend("--ft-typography-overline-text-transform","",z.textTransform,"uppercase")},Dr={fontFamily:n.extend("--ft-typography-button-font-family","",ot),fontSize:n.extend("--ft-typography-button-font-size","",z.fontSize,"14px"),fontWeight:n.extend("--ft-typography-button-font-weight","",z.fontWeight,"600"),letterSpacing:n.extend("--ft-typography-button-letter-spacing","",z.letterSpacing,"1.246px"),lineHeight:n.extend("--ft-typography-button-line-height","",z.lineHeight,"1.15"),textTransform:n.extend("--ft-typography-button-text-transform","",z.textTransform,"uppercase")},J1=D`
123
123
  .ft-typography--title {
124
124
  font-family: ${wr.fontFamily};
125
125
  font-size: ${wr.fontSize};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-saved-bookmarks",
3
- "version": "2.0.28",
3
+ "version": "2.0.29",
4
4
  "description": "Display the list of saved bookmarks",
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-wc-utils": "2.0.28",
22
+ "@fluid-topics/ft-wc-utils": "2.0.29",
23
23
  "lit": "3.1.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@fluid-topics/ft-wc-test-utils": "2.0.28"
26
+ "@fluid-topics/ft-wc-test-utils": "2.0.29"
27
27
  },
28
- "gitHead": "c81a78f103c19425eb2eac2675a6dd8396e2aa4e"
28
+ "gitHead": "7c6a7af32908ebb8496d98416d21cd37097b991f"
29
29
  }