@fluid-topics/ft-reader-toc 0.3.7 → 0.3.9

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,560 +1,127 @@
1
- !function(t,i,e,o,n,r,s){var l=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class a extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class p extends i.FtLitElementRedux{setReaderStateManager(t){this.stateManager=t,this.store=t.store}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),setTimeout((()=>this.dispatchEvent(new a)),10)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}l([n.state()],p.prototype,"stateManager",void 0);var h=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};const f=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorContent),d={color:f,backgroundColor:i.FtCssVariableFactory.extend("--ft-ripple-background-color",f),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")},c=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary),u=c,g=i.FtCssVariableFactory.extend("--ft-ripple-background-color",c),y=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary),x=y,v=i.FtCssVariableFactory.extend("--ft-ripple-background-color",y);class b extends i.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new i.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var i,e;let{x:o,y:n}=this.getCoordinates(t),r=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=n?n-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
2
- <style>
3
- .ft-ripple .ft-ripple--effect,
4
- .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
5
- width: ${this.rippleSize}px;
6
- height: ${this.rippleSize}px;
7
- }
8
-
9
- .ft-ripple .ft-ripple--effect {
10
- left: ${this.originX}px;
11
- top: ${this.originY}px;
12
- }
13
- </style>
14
- <div class="${r.classMap(t)}">
15
- <div class="ft-ripple--background"></div>
16
- <div class="ft-ripple--effect"></div>
17
- </div>
18
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var i,e;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(i),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const i=t,e=t;let o,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}
19
- /**
20
- * @license
21
- * Copyright 2017 Google LLC
22
- * SPDX-License-Identifier: BSD-3-Clause
23
- */
24
- var m;b.elementDefinitions={},b.styles=e.css`
25
- :host {
26
- display: contents;
27
- }
28
-
29
- .ft-ripple {
30
- position: absolute;
31
- inset: 0;
32
- pointer-events: none;
33
- }
34
-
35
- .ft-ripple:not(.ft-ripple--unbounded) {
36
- overflow: hidden;
37
- }
38
-
39
- .ft-ripple .ft-ripple--background,
40
- .ft-ripple .ft-ripple--effect {
41
- position: absolute;
42
- opacity: 0;
43
- }
44
-
45
- .ft-ripple .ft-ripple--background {
46
- background-color: ${d.backgroundColor};
47
- }
48
-
49
- .ft-ripple .ft-ripple--effect {
50
- background-color: ${d.color};
51
- }
52
-
53
- .ft-ripple.ft-ripple--secondary .ft-ripple--background {
54
- background-color: ${v};
55
- }
56
-
57
- .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
58
- background-color: ${x};
59
- }
60
-
61
- .ft-ripple.ft-ripple--primary .ft-ripple--background {
62
- background-color: ${g};
63
- }
64
-
65
- .ft-ripple.ft-ripple--primary .ft-ripple--effect {
66
- background-color: ${u};
67
- }
68
-
69
- .ft-ripple .ft-ripple--background {
70
- top: 0;
71
- left: 0;
72
- height: 100%;
73
- width: 100%;
74
- transition: opacity 75ms linear;
75
- }
76
-
77
- .ft-ripple .ft-ripple--effect,
78
- .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
79
- border-radius: 50%;
80
- }
81
-
82
- .ft-ripple .ft-ripple--effect {
83
- transform: translate(-50%, -50%) scale(0.15);
84
- transition: transform 300ms ease, opacity 75ms linear;
85
- }
86
-
87
- .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
88
- .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
89
- left: 50%;
90
- top: 50%;
91
- }
92
-
93
- .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
94
- transform: translate(-50%, -50%);
95
- }
96
-
97
- .ft-ripple.ft-ripple--hovered .ft-ripple--background {
98
- opacity: ${d.opacityContentOnSurfaceHover};
99
- }
100
-
101
- .ft-ripple.ft-ripple--selected .ft-ripple--background {
102
- opacity: ${d.opacityContentOnSurfaceSelected};
103
- }
104
-
105
- .ft-ripple.ft-ripple--focused .ft-ripple--background {
106
- opacity: ${d.opacityContentOnSurfaceFocused};
107
- }
108
-
109
- .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
110
- opacity: ${d.opacityContentOnSurfacePressed};
111
- transform: translate(-50%, -50%) scale(1);
112
- }
113
- `,h([n.property({type:Boolean})],b.prototype,"primary",void 0),h([n.property({type:Boolean})],b.prototype,"secondary",void 0),h([n.property({type:Boolean})],b.prototype,"unbounded",void 0),h([n.property({type:Boolean})],b.prototype,"activated",void 0),h([n.property({type:Boolean})],b.prototype,"selected",void 0),h([n.property({type:Boolean})],b.prototype,"disabled",void 0),h([n.state()],b.prototype,"hovered",void 0),h([n.state()],b.prototype,"focused",void 0),h([n.state()],b.prototype,"pressed",void 0),h([n.state()],b.prototype,"rippling",void 0),h([n.state()],b.prototype,"rippleSize",void 0),h([n.state()],b.prototype,"originX",void 0),h([n.state()],b.prototype,"originY",void 0),h([n.query(".ft-ripple")],b.prototype,"ripple",void 0),h([n.query(".ft-ripple--effect")],b.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(b);const $=globalThis.trustedTypes,w=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,k=`lit$${(Math.random()+"").slice(9)}$`,z="?"+k,S=`<${z}>`,O=document,j=(t="")=>O.createComment(t),N=t=>null===t||"object"!=typeof t&&"function"!=typeof t,C=Array.isArray,T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,E=/-->/g,I=/>/g,A=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),B=/'/g,F=/"/g,M=/^(?:script|style|textarea|title)$/i,_=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),R=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),D=new WeakMap,Z=O.createTreeWalker(O,129,null,!1),W=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",s=T;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===T?"!--"===a[1]?s=E:void 0!==a[1]?s=I:void 0!==a[2]?(M.test(a[2])&&(n=RegExp("</"+a[2],"g")),s=A):void 0!==a[3]&&(s=A):s===A?">"===a[0]?(s=null!=n?n:T,p=-1):void 0===a[1]?p=-2:(p=s.lastIndex-a[2].length,l=a[1],s=void 0===a[3]?A:'"'===a[3]?F:B):s===F||s===B?s=A:s===E||s===I?s=T:(s=A,n=void 0);const f=s===A&&t[i+1].startsWith("/>")?" ":"";r+=s===T?e+S:p>=0?(o.push(l),e.slice(0,p)+"$lit$"+e.slice(p)+k+f):e+k+(-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!==w?w.createHTML(l):l,o]};class P{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]=W(t,i);if(this.el=P.createElement(a,e),Z.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=Z.nextNode())&&l.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(k)){const e=p[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(k),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?q:"?"===i[1]?Y:"@"===i[1]?J:L})}else l.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(M.test(o.tagName)){const t=o.textContent.split(k),i=t.length-1;if(i>0){o.textContent=$?$.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],j()),Z.nextNode(),l.push({type:2,index:++n});o.append(t[i],j())}}}else if(8===o.nodeType)if(o.data===z)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(k,t+1));)l.push({type:7,index:n}),t+=k.length-1}n++}}static createElement(t,i){const e=O.createElement("template");return e.innerHTML=t,e}}function G(t,i,e=t,o){var n,r,s,l;if(i===R)return i;let a=void 0!==o?null===(n=e._$Cl)||void 0===n?void 0:n[o]:e._$Cu;const p=N(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)._$Cl)&&void 0!==s?s:l._$Cl=[])[o]=a:e._$Cu=a),void 0!==a&&(i=G(t,a._$AS(t,i.values),a,o)),i}class H{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:O).importNode(e,!0);Z.currentNode=n;let r=Z.nextNode(),s=0,l=0,a=o[0];for(;void 0!==a;){if(s===a.index){let i;2===a.type?i=new K(r,r.nextSibling,this,t):1===a.type?i=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(i=new Q(r,this,t)),this.v.push(i),a=o[++l]}s!==(null==a?void 0:a.index)&&(r=Z.nextNode(),s++)}return n}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class K{constructor(t,i,e,o){var n;this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$C_=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$C_}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=G(this,t,i),N(t)?t===U||null==t||""===t?(this._$AH!==U&&this._$AR(),this._$AH=U):t!==this._$AH&&t!==R&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>C(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==U&&N(this._$AH)?this._$AA.nextSibling.data=t:this.k(O.createTextNode(t)),this._$AH=t}$(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=P.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.m(e);else{const t=new H(n,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=D.get(t.strings);return void 0===i&&D.set(t.strings,i=new P(t)),i}S(t){C(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 K(this.j(j()),this.j(j()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$C_=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class L{constructor(t,i,e,o,n){this.type=1,this._$AH=U,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=U}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=G(this,t,i,0),r=!N(t)||t!==this._$AH&&t!==R,r&&(this._$AH=t);else{const o=t;let s,l;for(t=n[0],s=0;s<n.length-1;s++)l=G(this,o[e+s],i,s),l===R&&(l=this._$AH[s]),r||(r=!N(l)||l!==this._$AH[s]),l===U?t=U:t!==U&&(t+=(null!=l?l:"")+n[s+1]),this._$AH[s]=l}r&&!o&&this.P(t)}P(t){t===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class q extends L{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===U?void 0:t}}const X=$?$.emptyScript:"";class Y extends L{constructor(){super(...arguments),this.type=4}P(t){t&&t!==U?this.element.setAttribute(this.name,X):this.element.removeAttribute(this.name)}}class J extends L{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=G(this,t,i,0))&&void 0!==e?e:U)===R)return;const o=this._$AH,n=t===U&&o!==U||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==U&&(o===U||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 Q{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){G(this,t)}}const V=window.litHtmlPolyfillSupport;null==V||V(P,K),(null!==(m=globalThis.litHtmlVersions)&&void 0!==m?m:globalThis.litHtmlVersions=[]).push("2.2.7");
1
+ !function(t,i,e,o,r,n){var s,h=function(t,i,e,o){for(var r,n=arguments.length,s=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(r=t[h])&&(s=(n<3?r(s):n>3?r(i,e,s):r(i,e))||s);return n>3&&s&&Object.defineProperty(i,e,s),s};class l extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class a extends i.FtLitElementRedux{setReaderStateManager(t){this.stateManager=t,this.store=t.store}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),setTimeout((()=>this.dispatchEvent(new l)),10)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}h([r.state()],a.prototype,"stateManager",void 0);const f=globalThis.trustedTypes,p=f?f.createPolicy("lit-html",{createHTML:t=>t}):void 0,y=`lit$${(Math.random()+"").slice(9)}$`,g="?"+y,d=`<${g}>`,c=document,u=(t="")=>c.createComment(t),v=t=>null===t||"object"!=typeof t&&"function"!=typeof t,$=Array.isArray,b=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,m=/-->/g,x=/>/g,w=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),z=/'/g,_=/"/g,A=/^(?:script|style|textarea|title)$/i,S=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),k=Symbol.for("lit-noChange"),N=Symbol.for("lit-nothing"),O=new WeakMap,T=c.createTreeWalker(c,129,null,!1),j=(t,i)=>{const e=t.length-1,o=[];let r,n=2===i?"<svg>":"",s=b;for(let i=0;i<e;i++){const e=t[i];let h,l,a=-1,f=0;for(;f<e.length&&(s.lastIndex=f,l=s.exec(e),null!==l);)f=s.lastIndex,s===b?"!--"===l[1]?s=m:void 0!==l[1]?s=x:void 0!==l[2]?(A.test(l[2])&&(r=RegExp("</"+l[2],"g")),s=w):void 0!==l[3]&&(s=w):s===w?">"===l[0]?(s=null!=r?r:b,a=-1):void 0===l[1]?a=-2:(a=s.lastIndex-l[2].length,h=l[1],s=void 0===l[3]?w:'"'===l[3]?_:z):s===_||s===z?s=w:s===m||s===x?s=b:(s=w,r=void 0);const p=s===w&&t[i+1].startsWith("/>")?" ":"";n+=s===b?e+d:a>=0?(o.push(h),e.slice(0,a)+"$lit$"+e.slice(a)+y+p):e+y+(-2===a?(o.push(void 0),i):p)}const h=n+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==p?p.createHTML(h):h,o]};class E{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let r=0,n=0;const s=t.length-1,h=this.parts,[l,a]=j(t,i);if(this.el=E.createElement(l,e),T.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=T.nextNode())&&h.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(y)){const e=a[n++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(y),i=/([.?@])?(.*)/.exec(e);h.push({type:1,index:r,name:i[2],strings:t,ctor:"."===i[1]?P:"?"===i[1]?R:"@"===i[1]?Z:C})}else h.push({type:6,index:r})}for(const i of t)o.removeAttribute(i)}if(A.test(o.tagName)){const t=o.textContent.split(y),i=t.length-1;if(i>0){o.textContent=f?f.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],u()),T.nextNode(),h.push({type:2,index:++r});o.append(t[i],u())}}}else if(8===o.nodeType)if(o.data===g)h.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(y,t+1));)h.push({type:7,index:r}),t+=y.length-1}r++}}static createElement(t,i){const e=c.createElement("template");return e.innerHTML=t,e}}function I(t,i,e=t,o){var r,n,s,h;if(i===k)return i;let l=void 0!==o?null===(r=e._$Cl)||void 0===r?void 0:r[o]:e._$Cu;const a=v(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==a&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===a?l=void 0:(l=new a(t),l._$AT(t,e,o)),void 0!==o?(null!==(s=(h=e)._$Cl)&&void 0!==s?s:h._$Cl=[])[o]=l:e._$Cu=l),void 0!==l&&(i=I(t,l._$AS(t,i.values),l,o)),i}class M{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,r=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:c).importNode(e,!0);T.currentNode=r;let n=T.nextNode(),s=0,h=0,l=o[0];for(;void 0!==l;){if(s===l.index){let i;2===l.type?i=new U(n,n.nextSibling,this,t):1===l.type?i=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(i=new W(n,this,t)),this.v.push(i),l=o[++h]}s!==(null==l?void 0:l.index)&&(n=T.nextNode(),s++)}return r}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class U{constructor(t,i,e,o){var r;this.type=2,this._$AH=N,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$C_=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$C_}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=I(this,t,i),v(t)?t===N||null==t||""===t?(this._$AH!==N&&this._$AR(),this._$AH=N):t!==this._$AH&&t!==k&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>$(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==N&&v(this._$AH)?this._$AA.nextSibling.data=t:this.k(c.createTextNode(t)),this._$AH=t}$(t){var i;const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=E.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===r)this._$AH.m(e);else{const t=new M(r,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=O.get(t.strings);return void 0===i&&O.set(t.strings,i=new E(t)),i}S(t){$(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const r of t)o===i.length?i.push(e=new U(this.j(u()),this.j(u()),this,this.options)):e=i[o],e._$AI(r),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$C_=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class C{constructor(t,i,e,o,r){this.type=1,this._$AH=N,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=N}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const r=this.strings;let n=!1;if(void 0===r)t=I(this,t,i,0),n=!v(t)||t!==this._$AH&&t!==k,n&&(this._$AH=t);else{const o=t;let s,h;for(t=r[0],s=0;s<r.length-1;s++)h=I(this,o[e+s],i,s),h===k&&(h=this._$AH[s]),n||(n=!v(h)||h!==this._$AH[s]),h===N?t=N:t!==N&&(t+=(null!=h?h:"")+r[s+1]),this._$AH[s]=h}n&&!o&&this.P(t)}P(t){t===N?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class P extends C{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===N?void 0:t}}const G=f?f.emptyScript:"";class R extends C{constructor(){super(...arguments),this.type=4}P(t){t&&t!==N?this.element.setAttribute(this.name,G):this.element.removeAttribute(this.name)}}class Z extends C{constructor(t,i,e,o,r){super(t,i,e,o,r),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=I(this,t,i,0))&&void 0!==e?e:N)===k)return;const o=this._$AH,r=t===N&&o!==N||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==N&&(o===N||r);r&&this.element.removeEventListener(this.name,this,o),n&&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 W{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){I(this,t)}}const B=window.litHtmlPolyfillSupport;null==B||B(E,U),(null!==(s=globalThis.litHtmlVersions)&&void 0!==s?s:globalThis.litHtmlVersions=[]).push("2.2.7");
114
2
  /**
115
3
  * @license
116
4
  * Copyright 2020 Google LLC
117
5
  * SPDX-License-Identifier: BSD-3-Clause
118
6
  */
119
- const tt=Symbol.for(""),it=t=>{if((null==t?void 0:t.r)===tt)return null==t?void 0:t._$litStatic$},et=t=>({_$litStatic$:t,r:tt}),ot=new Map,nt=(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=it(r));)a+=n+i[++p],h=!0;l.push(r),s.push(a),p++}if(p===o&&s.push(i[o]),h){const t=s.join("$$lit$$");void 0===(i=ot.get(t))&&(s.raw=s,ot.set(t,i=s)),e=l}return t(i,...e)})(_);var rt,st=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};!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"}(rt||(rt={}));const lt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),at=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),pt={fontFamily:at,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")},ht=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",lt),ft=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",pt.fontSize,"20px"),dt=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",pt.fontWeight,"normal"),ct=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",pt.letterSpacing,"0.15px"),ut=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",pt.lineHeight,"1.2"),gt=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",pt.textTransform,"inherit"),yt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",lt),xt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",pt.fontSize,"14px"),vt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",pt.fontWeight,"normal"),bt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",pt.letterSpacing,"0.105px"),mt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",pt.lineHeight,"1.7"),$t=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",pt.textTransform,"inherit"),wt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",at),kt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",pt.fontSize,"16px"),zt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",pt.fontWeight,"600"),St=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",pt.letterSpacing,"0.144px"),Ot=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",pt.lineHeight,"1.5"),jt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",pt.textTransform,"inherit"),Nt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",at),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",pt.fontSize,"14px"),Tt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",pt.fontWeight,"normal"),Et=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",pt.letterSpacing,"0.098px"),It=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",pt.lineHeight,"1.7"),At=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",pt.textTransform,"inherit"),Bt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",at),Ft=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",pt.fontSize,"16px"),Mt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",pt.fontWeight,"normal"),_t=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",pt.letterSpacing,"0.496px"),Rt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",pt.lineHeight,"1.5"),Ut=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",pt.textTransform,"inherit"),Dt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",at),Zt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",pt.fontSize,"14px"),Wt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",pt.fontWeight,"normal"),Pt=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",pt.letterSpacing,"0.252px"),Gt=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",pt.lineHeight,"1.4"),Ht=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",pt.textTransform,"inherit"),Kt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",at),Lt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",pt.fontSize,"12px"),qt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",pt.fontWeight,"normal"),Xt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",pt.letterSpacing,"0.396px"),Yt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",pt.lineHeight,"1.33"),Jt=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",pt.textTransform,"inherit"),Qt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",at),Vt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",pt.fontSize,"10px"),ti=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",pt.fontWeight,"normal"),ii=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",pt.letterSpacing,"0.33px"),ei=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",pt.lineHeight,"1.6"),oi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",pt.textTransform,"inherit"),ni=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",at),ri=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",pt.fontSize,"10px"),si=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",pt.fontWeight,"normal"),li=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",pt.letterSpacing,"1.5px"),ai=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",pt.lineHeight,"1.6"),pi=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",pt.textTransform,"uppercase"),hi={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",at),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",pt.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",pt.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",pt.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",pt.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",pt.textTransform,"uppercase")},fi=e.css`
7
+ const D=Symbol.for(""),H=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t._$litStatic$},K=t=>({_$litStatic$:t,r:D}),F=new Map,L=(t=>(i,...e)=>{const o=e.length;let r,n;const s=[],h=[];let l,a=0,f=!1;for(;a<o;){for(l=i[a];a<o&&void 0!==(n=e[a],r=H(n));)l+=r+i[++a],f=!0;h.push(n),s.push(l),a++}if(a===o&&s.push(i[o]),f){const t=s.join("$$lit$$");void 0===(i=F.get(t))&&(s.raw=s,F.set(t,i=s)),e=h}return t(i,...e)})(S);var q,J=function(t,i,e,o){for(var r,n=arguments.length,s=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(r=t[h])&&(s=(n<3?r(s):n>3?r(i,e,s):r(i,e))||s);return n>3&&s&&Object.defineProperty(i,e,s),s};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(q||(q={}));const Q=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),V=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),X={fontFamily:V,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")},Y=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",Q),tt=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",X.fontSize,"20px"),it=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",X.fontWeight,"normal"),et=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",X.letterSpacing,"0.15px"),ot=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",X.lineHeight,"1.2"),rt=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",X.textTransform,"inherit"),nt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",Q),st=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",X.fontSize,"14px"),ht=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",X.fontWeight,"normal"),lt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",X.letterSpacing,"0.105px"),at=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",X.lineHeight,"1.7"),ft=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",X.textTransform,"inherit"),pt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",V),yt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",X.fontSize,"16px"),gt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",X.fontWeight,"600"),dt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",X.letterSpacing,"0.144px"),ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",X.lineHeight,"1.5"),ut=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",X.textTransform,"inherit"),vt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",V),$t=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",X.fontSize,"14px"),bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",X.fontWeight,"normal"),mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",X.letterSpacing,"0.098px"),xt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",X.lineHeight,"1.7"),wt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",X.textTransform,"inherit"),zt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",V),_t=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",X.fontSize,"16px"),At=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",X.fontWeight,"normal"),St=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",X.letterSpacing,"0.496px"),kt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",X.lineHeight,"1.5"),Nt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",X.textTransform,"inherit"),Ot=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",V),Tt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",X.fontSize,"14px"),jt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",X.fontWeight,"normal"),Et=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",X.letterSpacing,"0.252px"),It=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",X.lineHeight,"1.4"),Mt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",X.textTransform,"inherit"),Ut=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",V),Ct=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",X.fontSize,"12px"),Pt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",X.fontWeight,"normal"),Gt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",X.letterSpacing,"0.396px"),Rt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",X.lineHeight,"1.33"),Zt=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",X.textTransform,"inherit"),Wt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",V),Bt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",X.fontSize,"10px"),Dt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",X.fontWeight,"normal"),Ht=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",X.letterSpacing,"0.33px"),Kt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",X.lineHeight,"1.6"),Ft=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",X.textTransform,"inherit"),Lt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",V),qt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",X.fontSize,"10px"),Jt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",X.fontWeight,"normal"),Qt=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",X.letterSpacing,"1.5px"),Vt=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",X.lineHeight,"1.6"),Xt=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",X.textTransform,"uppercase"),Yt=i.FtCssVariableFactory.extend("--ft-typography-button-font-family",V),ti=i.FtCssVariableFactory.extend("--ft-typography-button-font-size",X.fontSize,"14px"),ii=i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",X.fontWeight,"600"),ei=i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",X.letterSpacing,"1.246px"),oi=i.FtCssVariableFactory.extend("--ft-typography-button-line-height",X.lineHeight,"1.15"),ri=i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",X.textTransform,"uppercase"),ni=e.css`
120
8
  .ft-typography--title {
121
- font-family: ${ht};
122
- font-size: ${ft};
123
- font-weight: ${dt};
124
- letter-spacing: ${ct};
125
- line-height: ${ut};
126
- text-transform: ${gt};
9
+ font-family: ${Y};
10
+ font-size: ${tt};
11
+ font-weight: ${it};
12
+ letter-spacing: ${et};
13
+ line-height: ${ot};
14
+ text-transform: ${rt};
127
15
  }
128
- `,di=e.css`
16
+ `,si=e.css`
129
17
  .ft-typography--title-dense {
130
- font-family: ${yt};
131
- font-size: ${xt};
132
- font-weight: ${vt};
133
- letter-spacing: ${bt};
134
- line-height: ${mt};
135
- text-transform: ${$t};
18
+ font-family: ${nt};
19
+ font-size: ${st};
20
+ font-weight: ${ht};
21
+ letter-spacing: ${lt};
22
+ line-height: ${at};
23
+ text-transform: ${ft};
136
24
  }
137
- `,ci=e.css`
25
+ `,hi=e.css`
138
26
  .ft-typography--subtitle1 {
139
- font-family: ${wt};
140
- font-size: ${kt};
141
- font-weight: ${zt};
142
- letter-spacing: ${St};
143
- line-height: ${Ot};
144
- text-transform: ${jt};
27
+ font-family: ${pt};
28
+ font-size: ${yt};
29
+ font-weight: ${gt};
30
+ letter-spacing: ${dt};
31
+ line-height: ${ct};
32
+ text-transform: ${ut};
145
33
  }
146
- `,ui=e.css`
34
+ `,li=e.css`
147
35
  .ft-typography--subtitle2 {
148
- font-family: ${Nt};
149
- font-size: ${Ct};
150
- font-weight: ${Tt};
151
- letter-spacing: ${Et};
152
- line-height: ${It};
153
- text-transform: ${At};
36
+ font-family: ${vt};
37
+ font-size: ${$t};
38
+ font-weight: ${bt};
39
+ letter-spacing: ${mt};
40
+ line-height: ${xt};
41
+ text-transform: ${wt};
154
42
  }
155
43
 
156
- `,gi=e.css`
44
+ `,ai=e.css`
157
45
  .ft-typography--body1 {
158
- font-family: ${Bt};
159
- font-size: ${Ft};
160
- font-weight: ${Mt};
161
- letter-spacing: ${_t};
162
- line-height: ${Rt};
163
- text-transform: ${Ut};
46
+ font-family: ${zt};
47
+ font-size: ${_t};
48
+ font-weight: ${At};
49
+ letter-spacing: ${St};
50
+ line-height: ${kt};
51
+ text-transform: ${Nt};
164
52
  }
165
- `,yi=e.css`
53
+ `,fi=e.css`
166
54
  .ft-typography--body2 {
167
- font-family: ${Dt};
168
- font-size: ${Zt};
169
- font-weight: ${Wt};
170
- letter-spacing: ${Pt};
171
- line-height: ${Gt};
172
- text-transform: ${Ht};
55
+ font-family: ${Ot};
56
+ font-size: ${Tt};
57
+ font-weight: ${jt};
58
+ letter-spacing: ${Et};
59
+ line-height: ${It};
60
+ text-transform: ${Mt};
173
61
  }
174
- `,xi=e.css`
62
+ `,pi=e.css`
175
63
  .ft-typography--caption {
176
- font-family: ${Kt};
177
- font-size: ${Lt};
178
- font-weight: ${qt};
179
- letter-spacing: ${Xt};
180
- line-height: ${Yt};
181
- text-transform: ${Jt};
64
+ font-family: ${Ut};
65
+ font-size: ${Ct};
66
+ font-weight: ${Pt};
67
+ letter-spacing: ${Gt};
68
+ line-height: ${Rt};
69
+ text-transform: ${Zt};
182
70
  }
183
- `,vi=e.css`
71
+ `,yi=e.css`
184
72
  .ft-typography--breadcrumb {
185
- font-family: ${Qt};
186
- font-size: ${Vt};
187
- font-weight: ${ti};
188
- letter-spacing: ${ii};
189
- line-height: ${ei};
190
- text-transform: ${oi};
73
+ font-family: ${Wt};
74
+ font-size: ${Bt};
75
+ font-weight: ${Dt};
76
+ letter-spacing: ${Ht};
77
+ line-height: ${Kt};
78
+ text-transform: ${Ft};
191
79
  }
192
- `,bi=e.css`
80
+ `,gi=e.css`
193
81
  .ft-typography--overline {
194
- font-family: ${ni};
195
- font-size: ${ri};
196
- font-weight: ${si};
197
- letter-spacing: ${li};
198
- line-height: ${ai};
199
- text-transform: ${pi};
82
+ font-family: ${Lt};
83
+ font-size: ${qt};
84
+ font-weight: ${Jt};
85
+ letter-spacing: ${Qt};
86
+ line-height: ${Vt};
87
+ text-transform: ${Xt};
200
88
  }
201
- `,mi=e.css`
89
+ `,di=e.css`
202
90
  .ft-typography--button {
203
- font-family: ${hi.fontFamily};
204
- font-size: ${hi.fontSize};
205
- font-weight: ${hi.fontWeight};
206
- letter-spacing: ${hi.letterSpacing};
207
- line-height: ${hi.lineHeight};
208
- text-transform: ${hi.textTransform};
91
+ font-family: ${Yt};
92
+ font-size: ${ti};
93
+ font-weight: ${ii};
94
+ letter-spacing: ${ei};
95
+ line-height: ${oi};
96
+ text-transform: ${ri};
209
97
  }
210
- `;class $i extends i.FtLitElement{constructor(){super(...arguments),this.variant=rt.body1}render(){return this.element?nt`
211
- <${et(this.element)}
98
+ `;class ci extends i.FtLitElement{constructor(){super(...arguments),this.variant=q.body1}render(){return this.element?L`
99
+ <${K(this.element)}
212
100
  class="ft-typography ft-typography--${this.variant}">
213
101
  <slot></slot>
214
- </${et(this.element)}>
215
- `:nt`
102
+ </${K(this.element)}>
103
+ `:L`
216
104
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
217
- `}}$i.styles=[fi,di,ci,ui,gi,yi,xi,vi,bi,mi,e.css`
105
+ `}}ci.styles=[ni,si,hi,li,ai,fi,pi,yi,gi,di,e.css`
218
106
  .ft-typography {
219
107
  vertical-align: inherit;
220
108
  }
221
- `],st([n.property()],$i.prototype,"element",void 0),st([n.property()],$i.prototype,"variant",void 0),i.customElement("ft-typography")($i);var wi=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};const ki=i.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),zi=i.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),Si=i.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),Oi=i.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","1"),ji=i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusS,"Design system"),Ni=i.FtCssVariableFactory.create("--ft-tooltip-max-width","SIZE","150px");class Ci extends i.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new i.Debouncer,this.revealDebouncer=new i.Debouncer}render(){return e.html`
222
- <div part="container"
223
- class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
224
- @mouseenter=${this.onHover}
225
- @mouseleave=${this.onOut}
226
- @focusin=${this.onHover}
227
- @focusout=${this.onOut}
228
- @touchstart=${this.onTouch}>
229
- <div part="tooltip" class="ft-tooltip ft-tooltip--${this.position}" ?hidden=${!this.visible}>
230
- <div part="tooltip-content" class="ft-tooltip--content">
231
- <slot name="text"></slot>
232
- <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
233
- </div>
234
- </div>
235
- <slot></slot>
236
- </div>
237
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=t.getBoundingClientRect(),e=(i.height-this.tooltip.clientHeight)/2,o=(i.width-this.tooltip.clientWidth)/2;let n=0,r=0;switch(this.position){case"top":r=-this.tooltip.clientHeight,n=o;break;case"bottom":r=i.height,n=o;break;case"left":r=e,n=-this.tooltip.clientWidth;break;case"right":r=e,n=i.width}i.left+n+this.tooltip.clientWidth>window.innerWidth&&(n=window.innerWidth-this.tooltip.clientWidth-i.left),i.left+n<0&&(n=0);const s=this.tooltip.style;s.left=n+"px",s.top=r+"px",s.maxWidth=`max(${i.width}px, ${Ni})`}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())}}Ci.elementDefinitions={"ft-typography":$i},Ci.styles=e.css`
238
- .ft-tooltip--container {
239
- display: block;
240
- position: relative;
241
- }
242
-
243
- .ft-tooltip--inline {
244
- display: inline-block;
245
- max-width: 100%;
246
- }
247
-
248
- .ft-tooltip {
249
- position: absolute;
250
- box-sizing: border-box;
251
- overflow: hidden;
252
- width: max-content;
253
- max-width: ${Ni};
254
- text-align: center;
255
- padding: ${ki};
256
- z-index: ${Oi};
257
- }
258
-
259
- .ft-tooltip--content {
260
- padding: 4px 8px;
261
- border-radius: ${ji};
262
- background-color: ${Si};
263
- color: ${zi};
264
- top: -500px;
265
- left: -500px;
266
- position: relative;
267
- word-break: break-word;
268
- }
269
- `,wi([n.property()],Ci.prototype,"text",void 0),wi([n.property({type:Boolean})],Ci.prototype,"manual",void 0),wi([n.property({type:Boolean})],Ci.prototype,"inline",void 0),wi([n.property({type:Number})],Ci.prototype,"delay",void 0),wi([n.property()],Ci.prototype,"position",void 0),wi([n.queryAssignedNodes("",!0)],Ci.prototype,"slotNodes",void 0),wi([n.query(".ft-tooltip--container")],Ci.prototype,"container",void 0),wi([n.query("slot")],Ci.prototype,"target",void 0),wi([n.query(".ft-tooltip")],Ci.prototype,"tooltip",void 0),wi([n.query(".ft-tooltip--content")],Ci.prototype,"tooltipContent",void 0),wi([n.state()],Ci.prototype,"visible",void 0),i.customElement("ft-tooltip")(Ci);const Ti={color:i.FtCssVariableFactory.extend("--ft-loader-color",i.designSystemVariables.colorPrimary),size:i.FtCssVariableFactory.create("--ft-loader-size","SIZE","80px")};class Ei extends i.FtLitElement{static get styles(){return e.css`
270
- :host {
271
- line-height: 0;
272
- }
273
-
274
- .ft-loader {
275
- display: inline-block;
276
- position: relative;
277
-
278
- width: ${Ti.size};
279
- height: ${Ti.size};
280
- }
281
-
282
- .ft-loader div {
283
- position: absolute;
284
- top: 37.5%;
285
- width: 25%;
286
- height: 25%;
287
- border-radius: 50%;
288
- background: ${Ti.color};
289
- animation-timing-function: cubic-bezier(0, 1, 1, 0);
290
- }
291
-
292
- .ft-loader div:nth-child(1) {
293
- left: 2.5%;
294
- animation: appear 0.6s infinite;
295
- }
296
-
297
- .ft-loader div:nth-child(2) {
298
- left: 2.5%;
299
- animation: move 0.6s infinite;
300
- }
301
-
302
- .ft-loader div:nth-child(3) {
303
- left: 37.5%;
304
- animation: move 0.6s infinite;
305
- }
306
-
307
- .ft-loader div:nth-child(4) {
308
- left: 72.5%;
309
- animation: disappear 0.6s infinite;
310
- }
311
-
312
- @keyframes appear {
313
- 0% {
314
- transform: scale(0);
315
- }
316
- 100% {
317
- transform: scale(1);
318
- }
319
- }
320
-
321
- @keyframes disappear {
322
- 0% {
323
- transform: scale(1);
324
- }
325
- 100% {
326
- transform: scale(0);
327
- }
328
- }
329
-
330
- @keyframes move {
331
- 0% {
332
- transform: translate(0, 0);
333
- }
334
- 100% {
335
- transform: translate(calc(0.35 * ${Ti.size}), 0);
336
- }
337
- }
338
- `}render(){return e.html`
339
- <div class="ft-loader">
340
- <div></div>
341
- <div></div>
342
- <div></div>
343
- <div></div>
344
- </div>
345
- `}}var Ii,Ai;i.customElement("ft-loader")(Ei),function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(Ii||(Ii={})),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;"}(Ai||(Ai={})),new Map([...["abw"].map((t=>[t,Ai.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,Ai.AUDIO])),...["avi"].map((t=>[t,Ai.AVI])),...["chm","xhs"].map((t=>[t,Ai.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,Ai.CODE])),...["csv"].map((t=>[t,Ai.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ai.DITA])),...["epub"].map((t=>[t,Ai.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ai.EXCEL])),...["flac"].map((t=>[t,Ai.FLAC])),...["gif"].map((t=>[t,Ai.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ai.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ai.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,Ai.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ai.JPEG])),...["json"].map((t=>[t,Ai.JSON])),...["m4a","m4p"].map((t=>[t,Ai.M4A])),...["mov","qt"].map((t=>[t,Ai.MOV])),...["mp3"].map((t=>[t,Ai.MP3])),...["mp4","m4v"].map((t=>[t,Ai.MP4])),...["ogg","oga"].map((t=>[t,Ai.OGG])),...["pdf","ps"].map((t=>[t,Ai.PDF])),...["png"].map((t=>[t,Ai.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ai.POWERPOINT])),...["rar"].map((t=>[t,Ai.RAR])),...["stp"].map((t=>[t,Ai.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ai.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,Ai.VIDEO])),...["wav"].map((t=>[t,Ai.WAV])),...["wma"].map((t=>[t,Ai.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ai.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ai.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ai.YAML])),...["zip"].map((t=>[t,Ai.ZIP]))]);var Bi,Fi=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Bi||(Bi={}));const Mi={size:i.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariableFactory.extend("--ft-icon-material-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:i.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")};class _i extends i.FtLitElement{constructor(){super(...arguments),this.variant=Bi.fluid_topics}getStyles(){return e.css`
346
- :host {
347
- display: inline-block;
348
- }
349
-
350
- :host, i.ft-icon {
351
- width: ${Mi.size};
352
- height: ${Mi.size};
353
- text-align: center;
354
- }
355
-
356
- i.ft-icon {
357
- font-size: ${Mi.size};
358
- line-height: 1;
359
- font-weight: normal;
360
- text-transform: none;
361
- font-style: normal;
362
- font-variant: normal;
363
- speak: none;
364
- text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
365
- text-rendering: auto;
366
- -webkit-font-smoothing: antialiased;
367
- -moz-osx-font-smoothing: grayscale;
368
- vertical-align: ${Mi.verticalAlign};
369
- }
370
-
371
- .ft-icon--fluid-topics {
372
- font-family: ${Mi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
373
- }
374
-
375
- .ft-icon--file-format {
376
- font-family: ${Mi.fileFormatFontFamily}, ft-mime, sans-serif;
377
- }
378
-
379
- .ft-icon--material {
380
- font-family: ${Mi.materialFontFamily}, "Material Icons", sans-serif;
381
- }
382
- `}getTemplate(){return e.html`
383
- <i class="ft-icon ${"ft-icon--"+this.variant}">
384
- ${s.unsafeHTML(this.getIcon())}
385
- <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
386
- </i>
387
- `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}getIcon(){var t,i;let o=this.textContent;return this.variant===Bi.file_format?null!==(t=Ai[o.toUpperCase()])&&void 0!==t?t:o:this.variant===Bi.fluid_topics?null!==(i=Ii[o.toUpperCase()])&&void 0!==i?i:o:e.nothing}}_i.elementDefinitions={},Fi([n.property()],_i.prototype,"variant",void 0),Fi([n.query("slot")],_i.prototype,"slottedContent",void 0),i.customElement("ft-icon")(_i);var Ri=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};const Ui=i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorPrimary),Di={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorSurface),borderRadius:i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusL),color:Ui,fontSize:i.FtCssVariableFactory.extend("--ft-button-font-size",hi.fontSize),iconSize:i.FtCssVariableFactory.create("--ft-button-icon-size","SIZE","24px"),rippleColor:i.FtCssVariableFactory.extend("--ft-button-ripple-color",Ui),opacityDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Zi=i.FtCssVariableFactory.extend("--ft-button-primary-color",i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorOnPrimary)),Wi={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-primary-background-color",i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorPrimary)),color:Zi,rippleColor:i.FtCssVariableFactory.extend("--ft-button-primary-ripple-color",Zi)},Pi=i.FtCssVariableFactory.extend("--ft-button-dense-border-radius",i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusM));class Gi extends i.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[i.noTextSelect,e.css`
388
- :host {
389
- display: inline-block;
390
- max-width: 100%;
391
- pointer-events: none;
392
- }
393
-
394
- button {
395
- box-shadow: 0px 0px 0px transparent;
396
- border: 0px solid transparent;
397
- text-shadow: 0px 0px 0px transparent;
398
- font-size: ${Di.fontSize};
399
- }
400
-
401
- button:hover {
402
- box-shadow: 0px 0px 0px transparent;
403
- border: 0px solid transparent;
404
- text-shadow: 0px 0px 0px transparent;
405
- }
406
-
407
- button:active {
408
- outline: none;
409
- border: none;
410
- }
411
-
412
- button:focus {
413
- outline: 0;
414
- }
415
-
416
- .ft-button {
417
- position: relative;
418
- display: flex;
419
- justify-content: center;
420
- align-items: center;
421
- width: 100%;
422
- overflow: hidden;
423
- box-sizing: border-box;
424
- border: none;
425
- pointer-events: auto;
426
-
427
- --ft-button-internal-line-height: calc(${Di.fontSize} + 2px);
428
- --ft-button-internal-color: ${Di.color};
429
- ${i.setVariable(Mi.size,Di.iconSize)};
430
- --ft-button-internal-vertical-padding: 6px;
431
- --ft-button-internal-horizontal-padding: 8px;
432
- ${i.setVariable(d.color,Di.rippleColor)};
433
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Di.iconSize});
434
-
435
- border-radius: ${Di.borderRadius};
436
- padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
437
- background-color: ${Di.backgroundColor};
438
- color: var(--ft-button-internal-color);
439
- -webkit-mask-image: radial-gradient(white, black);
440
- }
441
-
442
- .ft-button:not([disabled]):hover {
443
- cursor: pointer;
444
- }
445
-
446
- .ft-button--dense {
447
- --ft-button-internal-vertical-padding: 2px;
448
- --ft-button-internal-horizontal-padding: 4px;
449
- border-radius: ${Pi};
450
- }
451
-
452
- .ft-button--round {
453
- border-radius: calc(var(--ft-button-internal-content-height) / 2 + var(--ft-button-internal-vertical-padding));
454
- }
455
-
456
- .ft-button[disabled] {
457
- filter: grayscale(1);
458
- opacity: ${Di.opacityDisabled};
459
- }
460
-
461
- .ft-button.ft-button--primary {
462
- background-color: ${Wi.backgroundColor};
463
- --ft-button-internal-color: ${Wi.color};
464
- ${i.setVariable(d.color,Wi.rippleColor)};
465
- }
466
-
467
- .ft-button.ft-button--outlined {
468
- border: 1px solid var(--ft-button-internal-color);
469
- padding: calc(var(--ft-button-internal-vertical-padding) - 1px) calc(var(--ft-button-internal-horizontal-padding) - 1px);
470
- }
471
-
472
- .ft-button:focus {
473
- outline: none;
474
- }
475
-
476
- .ft-button--label {
477
- position: relative;
478
- overflow: hidden;
479
- white-space: nowrap;
480
- text-overflow: ellipsis;
481
- display: block;
482
- margin: 0 var(--ft-button-internal-horizontal-padding);
483
- ${i.setVariable(hi.fontSize,"1em")};
484
- ${i.setVariable(hi.lineHeight,"var(--ft-button-internal-content-height)")};
485
- }
486
-
487
- .ft-button--safari-fix .ft-button--label {
488
- margin-right: 0;
489
- }
490
-
491
- .ft-button--safari-fix .ft-button--label:after {
492
- content: "\\0000a0";
493
- display: inline-block;
494
- width: 0;
495
- }
496
-
497
- .ft-button--label[hidden] {
498
- display: none;
499
- }
500
-
501
- ft-icon {
502
- flex-shrink: 0;
503
- position: relative;
504
- }
505
-
506
- .ft-button--label[hidden] + ft-icon {
507
- margin: 0 calc(var(--ft-button-internal-horizontal-padding) * -1);
508
- padding: 0 var(--ft-button-internal-vertical-padding);
509
- }
510
-
511
- .ft-button:not(.ft-button--trailing-icon) ft-icon,
512
- .ft-button:not(.ft-button--trailing-icon) ft-loader {
513
- order: -1;
514
- }
515
-
516
- ft-loader {
517
- ${i.setVariable(Ti.size,Di.iconSize)};
518
- ${i.setVariable(Ti.color,"var(--ft-button-internal-color)")};
519
- }
520
- `]}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--safari-fix":i.isSafari,"ft-no-text-select":!0};return this.addTooltip(e.html`
521
- <button part="button"
522
- class="${r.classMap(t)}"
523
- aria-label="${this.getLabel()}"
524
- ?disabled=${this.isDisabled()}>
525
- <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
526
- <ft-typography part="label"
527
- variant="button"
528
- class="ft-button--label"
529
- ?hidden=${!this.hasTextContent()}>
530
- <slot @slotchange=${this.onSlotchange}></slot>
531
- </ft-typography>
532
- ${this.resolveIcon()}
533
- </button>
534
- `)}addTooltip(t){return this.hasTextContent()||0===this.getLabel().trim().length?t:e.html`
535
- <ft-tooltip part="tooltip"
536
- text="${this.getLabel()}"
537
- position="${this.tooltipPosition}">
538
- ${t}
539
- </ft-tooltip>
540
- `}resolveIcon(){return this.loading?e.html`
541
- <ft-loader></ft-loader> `:this.icon?e.html`
542
- <ft-icon variant="material">${this.icon}</ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Gi.elementDefinitions={"ft-ripple":b,"ft-tooltip":Ci,"ft-typography":$i,"ft-icon":_i,"ft-loader":Ei},Ri([n.property({type:Boolean})],Gi.prototype,"primary",void 0),Ri([n.property({type:Boolean})],Gi.prototype,"outlined",void 0),Ri([n.property({type:Boolean})],Gi.prototype,"disabled",void 0),Ri([n.property({type:Boolean})],Gi.prototype,"dense",void 0),Ri([n.property({type:Boolean})],Gi.prototype,"round",void 0),Ri([n.property({type:String})],Gi.prototype,"label",void 0),Ri([n.property({type:String})],Gi.prototype,"icon",void 0),Ri([n.property({type:Boolean})],Gi.prototype,"trailingIcon",void 0),Ri([n.property({type:Boolean})],Gi.prototype,"loading",void 0),Ri([n.property({type:String})],Gi.prototype,"tooltipPosition",void 0),Ri([n.query(".ft-button")],Gi.prototype,"button",void 0),Ri([n.query(".ft-button--label slot")],Gi.prototype,"slottedContent",void 0),i.customElement("ft-button")(Gi);var Hi=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Ki extends p{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let i=r.classMap({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return e.html`
109
+ `],J([r.property()],ci.prototype,"element",void 0),J([r.property()],ci.prototype,"variant",void 0),i.customElement("ft-typography")(ci);var ui=function(t,i,e,o){for(var r,n=arguments.length,s=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(r=t[h])&&(s=(n<3?r(s):n>3?r(i,e,s):r(i,e))||s);return n>3&&s&&Object.defineProperty(i,e,s),s};class vi extends a{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let i=n.classMap({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return e.html`
543
110
  <a class=${i}
544
111
  href="${null===(t=this.service)||void 0===t?void 0:t.getLink(this.tocId,this.pageNumber,this.section)}"
545
112
  @click=${t=>this.onClick(t)}>
546
113
  <slot></slot>
547
114
  </a>
548
- `}onClick(t){var i;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),this.tocId&&(null===(i=this.stateManager)||void 0===i||i.navigateToTopic(this.tocId,this.section)))}}Ki.styles=e.css`
115
+ `}onClick(t){var i;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),this.tocId&&(null===(i=this.stateManager)||void 0===i||i.navigateToTopic(this.tocId,this.section)))}}vi.styles=e.css`
549
116
  .ft-reader-link--remove-style {
550
117
  text-decoration: none;
551
118
  color: inherit;
552
119
  }
553
- `,Hi([n.property()],Ki.prototype,"tocId",void 0),Hi([n.property()],Ki.prototype,"section",void 0),Hi([n.property()],Ki.prototype,"pageNumber",void 0),Hi([n.property({type:Boolean})],Ki.prototype,"removeStyle",void 0),i.customElement("ft-reader-internal-link")(Ki);var Li=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};const qi={colorPrimary:i.FtCssVariableFactory.external(i.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnPrimary,"Design system"),tabulationSize:i.FtCssVariableFactory.create("--ft-reader-toc-tabulation-size","SIZE","8px")};class Xi extends p{render(){var t;return e.html`
120
+ `,ui([r.property()],vi.prototype,"tocId",void 0),ui([r.property()],vi.prototype,"section",void 0),ui([r.property()],vi.prototype,"pageNumber",void 0),ui([r.property({type:Boolean})],vi.prototype,"removeStyle",void 0),i.customElement("ft-reader-internal-link")(vi);var $i=function(t,i,e,o){for(var r,n=arguments.length,s=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(r=t[h])&&(s=(n<3?r(s):n>3?r(i,e,s):r(i,e))||s);return n>3&&s&&Object.defineProperty(i,e,s),s};const bi={colorPrimary:i.FtCssVariableFactory.external(i.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnPrimary,"Design system"),tabulationSize:i.FtCssVariableFactory.create("--ft-reader-toc-tabulation-size","SIZE","8px")};class mi extends a{render(){var t;return e.html`
554
121
  <div class="ft-reader-toc">
555
122
  ${o.repeat(null!==(t=this.toc)&&void 0!==t?t:[],(t=>t.tocId),(t=>this.renderNode(t)))}
556
123
  </div>
557
- `}renderNode(t){var i,n;const r=this.splitToc&&null!=t.page&&!t.page.onItsOwn,s=this.splitToc?(null===(i=this.currentPage)||void 0===i?void 0:i.rootTocId)===t.tocId:null===(n=this.visibleTopics)||void 0===n?void 0:n.includes(t.tocId);return e.html`
124
+ `}renderNode(t){var i,r;const n=this.splitToc&&null!=t.page&&!t.page.onItsOwn,s=this.splitToc?(null===(i=this.currentPage)||void 0===i?void 0:i.rootTocId)===t.tocId:null===(r=this.visibleTopics)||void 0===r?void 0:r.includes(t.tocId);return e.html`
558
125
  <div class="ft-reader-toc--node">
559
126
  <ft-reader-internal-link
560
127
  class="${s?"ft-reader-toc--node-visible":""}"
@@ -562,16 +129,16 @@ const tt=Symbol.for(""),it=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
562
129
  <ft-typography variant="body2">${t.title}</ft-typography>
563
130
  </ft-reader-internal-link>
564
131
  <div class="ft-reader-toc--node-children">
565
- ${r?e.nothing:o.repeat(t.children,(t=>t.tocId),(t=>this.renderNode(t)))}
132
+ ${n?e.nothing:o.repeat(t.children,(t=>t.tocId),(t=>this.renderNode(t)))}
566
133
  </div>
567
134
  </div>
568
- `}}Xi.elementDefinitions={"ft-button":Gi,"ft-typography":$i,"ft-reader-internal-link":Ki},Xi.styles=e.css`
135
+ `}}mi.elementDefinitions={"ft-typography":ci,"ft-reader-internal-link":vi},mi.styles=e.css`
569
136
  .ft-reader-toc--node-visible {
570
- background-color: ${qi.colorPrimary};
571
- color: ${qi.colorOnPrimary};
137
+ background-color: ${bi.colorPrimary};
138
+ color: ${bi.colorOnPrimary};
572
139
  }
573
140
 
574
141
  .ft-reader-toc--node-children {
575
- padding-left: ${qi.tabulationSize};
142
+ padding-left: ${bi.tabulationSize};
576
143
  }
577
- `,Li([i.redux()],Xi.prototype,"toc",void 0),Li([i.redux((t=>{var i;return null===(i=t.map)||void 0===i?void 0:i.shouldSplitCurrentPageToc}))],Xi.prototype,"splitToc",void 0),Li([i.redux()],Xi.prototype,"currentPage",void 0),Li([i.redux()],Xi.prototype,"visibleTopics",void 0),i.customElement("ft-reader-toc")(Xi),t.FtReaderToc=Xi,t.FtReaderTocCssVariables=qi,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
144
+ `,$i([i.redux()],mi.prototype,"toc",void 0),$i([i.redux((t=>{var i;return null===(i=t.map)||void 0===i?void 0:i.shouldSplitCurrentPageToc}))],mi.prototype,"splitToc",void 0),$i([i.redux()],mi.prototype,"currentPage",void 0),$i([i.redux()],mi.prototype,"visibleTopics",void 0),i.customElement("ft-reader-toc")(mi),t.FtReaderToc=mi,t.FtReaderTocCssVariables=bi,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litDecorators,ftGlobals.litClassMap);