@fluid-topics/ft-reader-navigation-button 1.0.52 → 1.0.53

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.
@@ -122,13 +122,13 @@
122
122
  <div class="ft-ripple--background"></div>
123
123
  <div class="ft-ripple--effect"></div>
124
124
  </div>
125
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var i,e;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i:e),this.setRippleSize()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const i=t,e=t;let o,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}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()}}m.elementDefinitions={},m.styles=v,b([o.property({type:Boolean})],m.prototype,"primary",void 0),b([o.property({type:Boolean})],m.prototype,"secondary",void 0),b([o.property({type:Boolean})],m.prototype,"unbounded",void 0),b([o.property({type:Boolean})],m.prototype,"activated",void 0),b([o.property({type:Boolean})],m.prototype,"selected",void 0),b([o.property({type:Boolean})],m.prototype,"disabled",void 0),b([o.state()],m.prototype,"hovered",void 0),b([o.state()],m.prototype,"focused",void 0),b([o.state()],m.prototype,"pressed",void 0),b([o.state()],m.prototype,"rippling",void 0),b([o.state()],m.prototype,"rippleSize",void 0),b([o.state()],m.prototype,"originX",void 0),b([o.state()],m.prototype,"originY",void 0),b([o.query(".ft-ripple")],m.prototype,"ripple",void 0),b([o.query(".ft-ripple--effect")],m.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(m);const $=window,w=$.trustedTypes,k=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,z="$lit$",S=`lit$${(Math.random()+"").slice(9)}$`,j="?"+S,O=`<${j}>`,C=document,I=()=>C.createComment(""),N=t=>null===t||"object"!=typeof t&&"function"!=typeof t,E=Array.isArray,T="[ \t\n\f\r]",B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,M=/-->/g,A=/>/g,F=RegExp(`>|${T}(?:([^\\s"'>=/]+)(${T}*=${T}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),_=/'/g,Z=/"/g,R=/^(?:script|style|textarea|title)$/i,U=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),P=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),D=new WeakMap,H=C.createTreeWalker(C,129,null,!1),L=(t,i)=>{const e=t.length-1,o=[];let n,s=2===i?"<svg>":"",r=B;for(let i=0;i<e;i++){const e=t[i];let l,a,p=-1,h=0;for(;h<e.length&&(r.lastIndex=h,a=r.exec(e),null!==a);)h=r.lastIndex,r===B?"!--"===a[1]?r=M:void 0!==a[1]?r=A:void 0!==a[2]?(R.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=F):void 0!==a[3]&&(r=F):r===F?">"===a[0]?(r=null!=n?n:B,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?F:'"'===a[3]?Z:_):r===Z||r===_?r=F:r===M||r===A?r=B:(r=F,n=void 0);const f=r===F&&t[i+1].startsWith("/>")?" ":"";s+=r===B?e+O:p>=0?(o.push(l),e.slice(0,p)+z+e.slice(p)+S+f):e+S+(-2===p?(o.push(void 0),i):f)}const l=s+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==k?k.createHTML(l):l,o]};class K{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const r=t.length-1,l=this.parts,[a,p]=L(t,i);if(this.el=K.createElement(a,e),H.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=H.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(z)||i.startsWith(S)){const e=p[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+z).split(S),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?Y:"?"===i[1]?Q:"@"===i[1]?tt:X})}else l.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(R.test(o.tagName)){const t=o.textContent.split(S),i=t.length-1;if(i>0){o.textContent=w?w.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],I()),H.nextNode(),l.push({type:2,index:++n});o.append(t[i],I())}}}else if(8===o.nodeType)if(o.data===j)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(S,t+1));)l.push({type:7,index:n}),t+=S.length-1}n++}}static createElement(t,i){const e=C.createElement("template");return e.innerHTML=t,e}}function G(t,i,e=t,o){var n,s,r,l;if(i===P)return i;let a=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const p=N(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,e,o)),void 0!==o?(null!==(r=(l=e)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:e._$Cl=a),void 0!==a&&(i=G(t,a._$AS(t,i.values),a,o)),i}class V{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:C).importNode(e,!0);H.currentNode=n;let s=H.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let i;2===a.type?i=new q(s,s.nextSibling,this,t):1===a.type?i=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(i=new it(s,this,t)),this._$AV.push(i),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=H.nextNode(),r++)}return n}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class q{constructor(t,i,e,o){var n;this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=G(this,t,i),N(t)?t===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==P&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>E(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==W&&N(this._$AH)?this._$AA.nextSibling.data=t:this.$(C.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=K.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.v(e);else{const t=new V(n,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=D.get(t.strings);return void 0===i&&D.set(t.strings,i=new K(t)),i}T(t){E(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 q(this.k(I()),this.k(I()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class X{constructor(t,i,e,o,n){this.type=1,this._$AH=W,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=W}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let s=!1;if(void 0===n)t=G(this,t,i,0),s=!N(t)||t!==this._$AH&&t!==P,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=G(this,o[e+r],i,r),l===P&&(l=this._$AH[r]),s||(s=!N(l)||l!==this._$AH[r]),l===W?t=W:t!==W&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.j(t)}j(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Y extends X{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===W?void 0:t}}const J=w?w.emptyScript:"";class Q extends X{constructor(){super(...arguments),this.type=4}j(t){t&&t!==W?this.element.setAttribute(this.name,J):this.element.removeAttribute(this.name)}}class tt extends X{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:W)===P)return;const o=this._$AH,n=t===W&&o!==W||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==W&&(o===W||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class it{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 et=$.litHtmlPolyfillSupport;null==et||et(K,q),(null!==(y=$.litHtmlVersions)&&void 0!==y?y:$.litHtmlVersions=[]).push("2.7.3");
125
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var i,e;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i:e),this.setRippleSize()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const i=t,e=t;let o,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}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()}}m.elementDefinitions={},m.styles=v,b([o.property({type:Boolean})],m.prototype,"primary",void 0),b([o.property({type:Boolean})],m.prototype,"secondary",void 0),b([o.property({type:Boolean})],m.prototype,"unbounded",void 0),b([o.property({type:Boolean})],m.prototype,"activated",void 0),b([o.property({type:Boolean})],m.prototype,"selected",void 0),b([o.property({type:Boolean})],m.prototype,"disabled",void 0),b([o.state()],m.prototype,"hovered",void 0),b([o.state()],m.prototype,"focused",void 0),b([o.state()],m.prototype,"pressed",void 0),b([o.state()],m.prototype,"rippling",void 0),b([o.state()],m.prototype,"rippleSize",void 0),b([o.state()],m.prototype,"originX",void 0),b([o.state()],m.prototype,"originY",void 0),b([o.query(".ft-ripple")],m.prototype,"ripple",void 0),b([o.query(".ft-ripple--effect")],m.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(m);const $=window,w=$.trustedTypes,k=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,z="$lit$",S=`lit$${(Math.random()+"").slice(9)}$`,O="?"+S,j=`<${O}>`,C=document,I=()=>C.createComment(""),N=t=>null===t||"object"!=typeof t&&"function"!=typeof t,E=Array.isArray,T="[ \t\n\f\r]",B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,M=/-->/g,A=/>/g,F=RegExp(`>|${T}(?:([^\\s"'>=/]+)(${T}*=${T}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),_=/'/g,Z=/"/g,R=/^(?:script|style|textarea|title)$/i,U=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),P=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),D=new WeakMap,H=C.createTreeWalker(C,129,null,!1),L=(t,i)=>{const e=t.length-1,o=[];let n,s=2===i?"<svg>":"",r=B;for(let i=0;i<e;i++){const e=t[i];let l,a,p=-1,h=0;for(;h<e.length&&(r.lastIndex=h,a=r.exec(e),null!==a);)h=r.lastIndex,r===B?"!--"===a[1]?r=M:void 0!==a[1]?r=A:void 0!==a[2]?(R.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=F):void 0!==a[3]&&(r=F):r===F?">"===a[0]?(r=null!=n?n:B,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?F:'"'===a[3]?Z:_):r===Z||r===_?r=F:r===M||r===A?r=B:(r=F,n=void 0);const f=r===F&&t[i+1].startsWith("/>")?" ":"";s+=r===B?e+j:p>=0?(o.push(l),e.slice(0,p)+z+e.slice(p)+S+f):e+S+(-2===p?(o.push(void 0),i):f)}const l=s+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==k?k.createHTML(l):l,o]};class K{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const r=t.length-1,l=this.parts,[a,p]=L(t,i);if(this.el=K.createElement(a,e),H.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=H.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(z)||i.startsWith(S)){const e=p[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+z).split(S),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?Y:"?"===i[1]?Q:"@"===i[1]?tt:X})}else l.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(R.test(o.tagName)){const t=o.textContent.split(S),i=t.length-1;if(i>0){o.textContent=w?w.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],I()),H.nextNode(),l.push({type:2,index:++n});o.append(t[i],I())}}}else if(8===o.nodeType)if(o.data===O)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(S,t+1));)l.push({type:7,index:n}),t+=S.length-1}n++}}static createElement(t,i){const e=C.createElement("template");return e.innerHTML=t,e}}function G(t,i,e=t,o){var n,s,r,l;if(i===P)return i;let a=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const p=N(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,e,o)),void 0!==o?(null!==(r=(l=e)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:e._$Cl=a),void 0!==a&&(i=G(t,a._$AS(t,i.values),a,o)),i}class V{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:C).importNode(e,!0);H.currentNode=n;let s=H.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let i;2===a.type?i=new q(s,s.nextSibling,this,t):1===a.type?i=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(i=new it(s,this,t)),this._$AV.push(i),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=H.nextNode(),r++)}return n}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class q{constructor(t,i,e,o){var n;this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=G(this,t,i),N(t)?t===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==P&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>E(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==W&&N(this._$AH)?this._$AA.nextSibling.data=t:this.$(C.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=K.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.v(e);else{const t=new V(n,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=D.get(t.strings);return void 0===i&&D.set(t.strings,i=new K(t)),i}T(t){E(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 q(this.k(I()),this.k(I()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class X{constructor(t,i,e,o,n){this.type=1,this._$AH=W,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=W}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let s=!1;if(void 0===n)t=G(this,t,i,0),s=!N(t)||t!==this._$AH&&t!==P,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=G(this,o[e+r],i,r),l===P&&(l=this._$AH[r]),s||(s=!N(l)||l!==this._$AH[r]),l===W?t=W:t!==W&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.j(t)}j(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Y extends X{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===W?void 0:t}}const J=w?w.emptyScript:"";class Q extends X{constructor(){super(...arguments),this.type=4}j(t){t&&t!==W?this.element.setAttribute(this.name,J):this.element.removeAttribute(this.name)}}class tt extends X{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:W)===P)return;const o=this._$AH,n=t===W&&o!==W||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==W&&(o===W||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class it{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 et=$.litHtmlPolyfillSupport;null==et||et(K,q),(null!==(y=$.litHtmlVersions)&&void 0!==y?y:$.litHtmlVersions=[]).push("2.7.3");
126
126
  /**
127
127
  * @license
128
128
  * Copyright 2020 Google LLC
129
129
  * SPDX-License-Identifier: BSD-3-Clause
130
130
  */
131
- const ot=Symbol.for(""),nt=t=>{if((null==t?void 0:t.r)===ot)return null==t?void 0:t._$litStatic$},st=t=>({_$litStatic$:t,r:ot}),rt=new Map,lt=(t=>(i,...e)=>{const o=e.length;let n,s;const r=[],l=[];let a,p=0,h=!1;for(;p<o;){for(a=i[p];p<o&&void 0!==(s=e[p],n=nt(s));)a+=n+i[++p],h=!0;p!==o&&l.push(s),r.push(a),p++}if(p===o&&r.push(i[o]),h){const t=r.join("$$lit$$");void 0===(i=rt.get(t))&&(r.raw=r,rt.set(t,i=r)),e=l}return t(i,...e)})(U);var at;!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"}(at||(at={}));const pt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),ht=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),ft={fontFamily:ht,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")},dt=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",pt),ct=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",ft.fontSize,"20px"),ut=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",ft.fontWeight,"normal"),xt=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",ft.letterSpacing,"0.15px"),gt=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",ft.lineHeight,"1.2"),vt=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",ft.textTransform,"inherit"),yt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",pt),bt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",ft.fontSize,"14px"),mt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",ft.fontWeight,"normal"),$t=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",ft.letterSpacing,"0.105px"),wt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",ft.lineHeight,"1.7"),kt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",ft.textTransform,"inherit"),zt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",ht),St=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",ft.fontSize,"16px"),jt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",ft.fontWeight,"600"),Ot=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",ft.letterSpacing,"0.144px"),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",ft.lineHeight,"1.5"),It=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",ft.textTransform,"inherit"),Nt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",ht),Et=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",ft.fontSize,"14px"),Tt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",ft.fontWeight,"normal"),Bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",ft.letterSpacing,"0.098px"),Mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",ft.lineHeight,"1.7"),At=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",ft.textTransform,"inherit"),Ft=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",ht),_t=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",ft.fontSize,"16px"),Zt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",ft.fontWeight,"normal"),Rt=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",ft.letterSpacing,"0.496px"),Ut=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",ft.lineHeight,"1.5"),Pt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",ft.textTransform,"inherit"),Wt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",ht),Dt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",ft.fontSize,"14px"),Ht=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",ft.fontWeight,"normal"),Lt=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",ft.letterSpacing,"0.252px"),Kt=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",ft.lineHeight,"1.4"),Gt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",ft.textTransform,"inherit"),Vt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",ht),qt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",ft.fontSize,"12px"),Xt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",ft.fontWeight,"normal"),Yt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",ft.letterSpacing,"0.396px"),Jt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",ft.lineHeight,"1.33"),Qt=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",ft.textTransform,"inherit"),ti=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",ht),ii=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",ft.fontSize,"10px"),ei=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",ft.fontWeight,"normal"),oi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",ft.letterSpacing,"0.33px"),ni=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",ft.lineHeight,"1.6"),si=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",ft.textTransform,"inherit"),ri=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",ht),li=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",ft.fontSize,"10px"),ai=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",ft.fontWeight,"normal"),pi=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",ft.letterSpacing,"1.5px"),hi=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",ft.lineHeight,"1.6"),fi=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",ft.textTransform,"uppercase"),di={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",ht),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",ft.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",ft.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",ft.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",ft.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",ft.textTransform,"uppercase")},ci=e.css`
131
+ const ot=Symbol.for(""),nt=t=>{if((null==t?void 0:t.r)===ot)return null==t?void 0:t._$litStatic$},st=t=>({_$litStatic$:t,r:ot}),rt=new Map,lt=(t=>(i,...e)=>{const o=e.length;let n,s;const r=[],l=[];let a,p=0,h=!1;for(;p<o;){for(a=i[p];p<o&&void 0!==(s=e[p],n=nt(s));)a+=n+i[++p],h=!0;p!==o&&l.push(s),r.push(a),p++}if(p===o&&r.push(i[o]),h){const t=r.join("$$lit$$");void 0===(i=rt.get(t))&&(r.raw=r,rt.set(t,i=r)),e=l}return t(i,...e)})(U);var at;!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"}(at||(at={}));const pt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),ht=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),ft={fontFamily:ht,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")},dt=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",pt),ct=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",ft.fontSize,"20px"),ut=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",ft.fontWeight,"normal"),xt=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",ft.letterSpacing,"0.15px"),gt=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",ft.lineHeight,"1.2"),vt=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",ft.textTransform,"inherit"),yt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",pt),bt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",ft.fontSize,"14px"),mt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",ft.fontWeight,"normal"),$t=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",ft.letterSpacing,"0.105px"),wt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",ft.lineHeight,"1.7"),kt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",ft.textTransform,"inherit"),zt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",ht),St=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",ft.fontSize,"16px"),Ot=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",ft.fontWeight,"600"),jt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",ft.letterSpacing,"0.144px"),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",ft.lineHeight,"1.5"),It=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",ft.textTransform,"inherit"),Nt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",ht),Et=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",ft.fontSize,"14px"),Tt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",ft.fontWeight,"normal"),Bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",ft.letterSpacing,"0.098px"),Mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",ft.lineHeight,"1.7"),At=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",ft.textTransform,"inherit"),Ft=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",ht),_t=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",ft.fontSize,"16px"),Zt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",ft.fontWeight,"normal"),Rt=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",ft.letterSpacing,"0.496px"),Ut=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",ft.lineHeight,"1.5"),Pt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",ft.textTransform,"inherit"),Wt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",ht),Dt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",ft.fontSize,"14px"),Ht=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",ft.fontWeight,"normal"),Lt=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",ft.letterSpacing,"0.252px"),Kt=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",ft.lineHeight,"1.4"),Gt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",ft.textTransform,"inherit"),Vt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",ht),qt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",ft.fontSize,"12px"),Xt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",ft.fontWeight,"normal"),Yt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",ft.letterSpacing,"0.396px"),Jt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",ft.lineHeight,"1.33"),Qt=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",ft.textTransform,"inherit"),ti=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",ht),ii=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",ft.fontSize,"10px"),ei=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",ft.fontWeight,"normal"),oi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",ft.letterSpacing,"0.33px"),ni=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",ft.lineHeight,"1.6"),si=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",ft.textTransform,"inherit"),ri=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",ht),li=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",ft.fontSize,"10px"),ai=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",ft.fontWeight,"normal"),pi=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",ft.letterSpacing,"1.5px"),hi=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",ft.lineHeight,"1.6"),fi=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",ft.textTransform,"uppercase"),di={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",ht),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",ft.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",ft.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",ft.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",ft.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",ft.textTransform,"uppercase")},ci=e.css`
132
132
  .ft-typography--title {
133
133
  font-family: ${dt};
134
134
  font-size: ${ct};
@@ -150,8 +150,8 @@ const ot=Symbol.for(""),nt=t=>{if((null==t?void 0:t.r)===ot)return null==t?void
150
150
  .ft-typography--subtitle1 {
151
151
  font-family: ${zt};
152
152
  font-size: ${St};
153
- font-weight: ${jt};
154
- letter-spacing: ${Ot};
153
+ font-weight: ${Ot};
154
+ letter-spacing: ${jt};
155
155
  line-height: ${Ct};
156
156
  text-transform: ${It};
157
157
  }
@@ -230,7 +230,7 @@ const ot=Symbol.for(""),nt=t=>{if((null==t?void 0:t.r)===ot)return null==t?void
230
230
  </${st(this.element)}>
231
231
  `:lt`
232
232
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
233
- `}}Si.styles=[ci,ui,xi,gi,vi,yi,bi,mi,$i,wi,ki],zi([o.property()],Si.prototype,"element",void 0),zi([o.property()],Si.prototype,"variant",void 0),i.customElement("ft-typography")(Si);const ji=i.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),Oi=i.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),Ci=i.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),Ii=i.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","1"),Ni=i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusS,"Design system"),Ei=i.FtCssVariableFactory.create("--ft-tooltip-max-width","SIZE","150px"),Ti=e.css`
233
+ `}}Si.styles=[ci,ui,xi,gi,vi,yi,bi,mi,$i,wi,ki],zi([o.property()],Si.prototype,"element",void 0),zi([o.property()],Si.prototype,"variant",void 0),i.customElement("ft-typography")(Si);const Oi=i.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),ji=i.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),Ci=i.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),Ii=i.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","100"),Ni=i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusS,"Design system"),Ei=i.FtCssVariableFactory.create("--ft-tooltip-max-width","SIZE","150px"),Ti=e.css`
234
234
  .ft-tooltip--container {
235
235
  display: block;
236
236
  }
@@ -247,7 +247,7 @@ const ot=Symbol.for(""),nt=t=>{if((null==t?void 0:t.r)===ot)return null==t?void
247
247
  width: max-content;
248
248
  max-width: ${Ei};
249
249
  text-align: center;
250
- padding: ${ji};
250
+ padding: ${Oi};
251
251
  z-index: ${Ii};
252
252
  }
253
253
 
@@ -255,7 +255,7 @@ const ot=Symbol.for(""),nt=t=>{if((null==t?void 0:t.r)===ot)return null==t?void
255
255
  padding: 4px 8px;
256
256
  border-radius: ${Ni};
257
257
  background-color: ${Ci};
258
- color: ${Oi};
258
+ color: ${ji};
259
259
  position: relative;
260
260
  word-break: break-word;
261
261
  }
@@ -277,7 +277,7 @@ const ot=Symbol.for(""),nt=t=>{if((null==t?void 0:t.r)===ot)return null==t?void
277
277
  </div>
278
278
  </div>
279
279
  </div>
280
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((i=>t.has(i)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,o=(t.offsetHeight-e)/2,n=(t.offsetWidth-i)/2;let s=0,r=0;switch(this.validPosition){case"top":r=t.offsetTop-e,s=t.offsetLeft+n;break;case"bottom":r=t.offsetTop+t.offsetHeight,s=t.offsetLeft+n;break;case"left":r=t.offsetTop+o,s=t.offsetLeft-i;break;case"right":r=t.offsetTop+o,s=t.offsetLeft+t.offsetWidth}const l=this.tooltip.style;l.left=this.limitValueBetween(s,0,window.innerWidth-i)+"px",l.top=this.limitValueBetween(r,0,window.innerHeight-e)+"px",l.maxWidth=`max(${t.offsetWidth}px, ${Ei})`}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())}limitValueBetween(t,i,e){return Math.max(i,Math.min(t,e))}}Mi.elementDefinitions={"ft-typography":Si},Mi.styles=Ti,Bi([o.property()],Mi.prototype,"text",void 0),Bi([o.property({type:Boolean})],Mi.prototype,"manual",void 0),Bi([o.property({type:Boolean})],Mi.prototype,"inline",void 0),Bi([o.property({type:Number})],Mi.prototype,"delay",void 0),Bi([o.property()],Mi.prototype,"position",void 0),Bi([o.queryAssignedNodes("",!0)],Mi.prototype,"slotNodes",void 0),Bi([o.query(".ft-tooltip--container")],Mi.prototype,"container",void 0),Bi([o.query(".ft-tooltip")],Mi.prototype,"tooltip",void 0),Bi([o.query(".ft-tooltip--content")],Mi.prototype,"tooltipContent",void 0),Bi([o.state()],Mi.prototype,"visible",void 0),i.customElement("ft-tooltip")(Mi);const Ai={color:i.FtCssVariableFactory.extend("--ft-loader-color",i.designSystemVariables.colorPrimary),size:i.FtCssVariableFactory.create("--ft-loader-size","SIZE","80px")},Fi=e.css`
280
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((i=>t.has(i)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,o=(t.offsetHeight-e)/2,n=(t.offsetWidth-i)/2;let s=0,r=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":r=t.offsetTop-e-this.tooltip.offsetTop,s=t.offsetLeft+n-this.tooltip.offsetLeft;break;case"bottom":r=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,s=t.offsetLeft+n-this.tooltip.offsetLeft;break;case"left":r=t.offsetTop+o-this.tooltip.offsetTop,s=t.offsetLeft-i-this.tooltip.offsetLeft;break;case"right":r=t.offsetTop+o-this.tooltip.offsetTop,s=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=s+"px",l.top=r+"px";const a=this.tooltip.getBoundingClientRect();let p=-a.x,h=a.x+a.width-window.innerWidth;l.left=s+Math.round(this.correctOutOfWindowPixels(p,h))+"px";let f=-a.y,d=a.y+a.height-window.innerHeight;l.top=r+Math.round(this.correctOutOfWindowPixels(f,d))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${Ei})`}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())}correctOutOfWindowPixels(t,i){return Math.max(t,Math.min(0,-i))}}Mi.elementDefinitions={"ft-typography":Si},Mi.styles=Ti,Bi([o.property()],Mi.prototype,"text",void 0),Bi([o.property({type:Boolean})],Mi.prototype,"manual",void 0),Bi([o.property({type:Boolean})],Mi.prototype,"inline",void 0),Bi([o.property({type:Number})],Mi.prototype,"delay",void 0),Bi([o.property()],Mi.prototype,"position",void 0),Bi([o.queryAssignedNodes("",!0)],Mi.prototype,"slotNodes",void 0),Bi([o.query(".ft-tooltip--container")],Mi.prototype,"container",void 0),Bi([o.query(".ft-tooltip")],Mi.prototype,"tooltip",void 0),Bi([o.query(".ft-tooltip--content")],Mi.prototype,"tooltipContent",void 0),Bi([o.state()],Mi.prototype,"visible",void 0),i.customElement("ft-tooltip")(Mi);const Ai={color:i.FtCssVariableFactory.extend("--ft-loader-color",i.designSystemVariables.colorPrimary),size:i.FtCssVariableFactory.create("--ft-loader-size","SIZE","80px")},Fi=e.css`
281
281
  :host {
282
282
  line-height: 0;
283
283
  }
@@ -56,7 +56,7 @@ const p=window,d=p.ShadowRoot&&(void 0===p.ShadyCSS||p.ShadyCSS.nativeShadow)&&"
56
56
  * Copyright 2017 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
58
  */
59
- var R;E.finalized=!0,E.elementProperties=new Map,E.elementStyles=[],E.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:E}),(null!==(m=w.reactiveElementVersions)&&void 0!==m?m:w.reactiveElementVersions=[]).push("1.6.1");const M=window,U=M.trustedTypes,j=U?U.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",z=`lit$${(Math.random()+"").slice(9)}$`,B="?"+z,T=`<${B}>`,P=document,A=()=>P.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,I=Array.isArray,_="[ \t\n\f\r]",D=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,W=/-->/g,H=/>/g,K=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Z=/'/g,V=/"/g,J=/^(?:script|style|textarea|title)$/i,q=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),X=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),G=new WeakMap,Q=P.createTreeWalker(P,129,null,!1),tt=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=D;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(r.lastIndex=c,l=r.exec(i),null!==l);)c=r.lastIndex,r===D?"!--"===l[1]?r=W:void 0!==l[1]?r=H:void 0!==l[2]?(J.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=K):void 0!==l[3]&&(r=K):r===K?">"===l[0]?(r=null!=n?n:D,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?K:'"'===l[3]?V:Z):r===V||r===Z?r=K:r===W||r===H?r=D:(r=K,n=void 0);const p=r===K&&t[e+1].startsWith("/>")?" ":"";s+=r===D?i+T:h>=0?(o.push(a),i.slice(0,h)+F+i.slice(h)+z+p):i+z+(-2===h?(o.push(void 0),e):p)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==j?j.createHTML(a):a,o]};class et{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,h]=tt(t,e);if(this.el=et.createElement(l,i),Q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Q.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(F)||e.startsWith(z)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+F).split(z),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?rt:"?"===e[1]?lt:"@"===e[1]?ht:st})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(J.test(o.tagName)){const t=o.textContent.split(z),e=t.length-1;if(e>0){o.textContent=U?U.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],A()),Q.nextNode(),a.push({type:2,index:++n});o.append(t[e],A())}}}else if(8===o.nodeType)if(o.data===B)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(z,t+1));)a.push({type:7,index:n}),t+=z.length-1}n++}}static createElement(t,e){const i=P.createElement("template");return i.innerHTML=t,i}}function it(t,e,i=t,o){var n,s,r,a;if(e===X)return e;let l=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const h=L(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(r=(a=i)._$Co)&&void 0!==r?r:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=it(t,l._$AS(t,e.values),l,o)),e}class ot{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:P).importNode(i,!0);Q.currentNode=n;let s=Q.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new nt(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new ct(s,this,t)),this._$AV.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=Q.nextNode(),r++)}return n}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class nt{constructor(t,e,i,o){var n;this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=it(this,t,e),L(t)?t===Y||null==t||""===t?(this._$AH!==Y&&this._$AR(),this._$AH=Y):t!==this._$AH&&t!==X&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>I(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Y&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(P.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=et.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.v(i);else{const t=new ot(n,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=G.get(t.strings);return void 0===e&&G.set(t.strings,e=new et(t)),e}T(t){I(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new nt(this.k(A()),this.k(A()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class st{constructor(t,e,i,o,n){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Y}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=it(this,t,e,0),s=!L(t)||t!==this._$AH&&t!==X,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=it(this,o[i+r],e,r),a===X&&(a=this._$AH[r]),s||(s=!L(a)||a!==this._$AH[r]),a===Y?t=Y:t!==Y&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.j(t)}j(t){t===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class rt extends st{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Y?void 0:t}}const at=U?U.emptyScript:"";class lt extends st{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Y?this.element.setAttribute(this.name,at):this.element.removeAttribute(this.name)}}class ht extends st{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=it(this,t,e,0))&&void 0!==i?i:Y)===X)return;const o=this._$AH,n=t===Y&&o!==Y||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==Y&&(o===Y||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class ct{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){it(this,t)}}const pt=M.litHtmlPolyfillSupport;null==pt||pt(et,nt),(null!==(R=M.litHtmlVersions)&&void 0!==R?R:M.litHtmlVersions=[]).push("2.7.3");
59
+ var M;E.finalized=!0,E.elementProperties=new Map,E.elementStyles=[],E.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:E}),(null!==(m=w.reactiveElementVersions)&&void 0!==m?m:w.reactiveElementVersions=[]).push("1.6.1");const R=window,U=R.trustedTypes,j=U?U.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",z=`lit$${(Math.random()+"").slice(9)}$`,B="?"+z,T=`<${B}>`,P=document,A=()=>P.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,I=Array.isArray,_="[ \t\n\f\r]",D=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,W=/-->/g,H=/>/g,K=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Z=/'/g,V=/"/g,J=/^(?:script|style|textarea|title)$/i,q=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),X=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),G=new WeakMap,Q=P.createTreeWalker(P,129,null,!1),tt=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=D;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(r.lastIndex=c,l=r.exec(i),null!==l);)c=r.lastIndex,r===D?"!--"===l[1]?r=W:void 0!==l[1]?r=H:void 0!==l[2]?(J.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=K):void 0!==l[3]&&(r=K):r===K?">"===l[0]?(r=null!=n?n:D,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?K:'"'===l[3]?V:Z):r===V||r===Z?r=K:r===W||r===H?r=D:(r=K,n=void 0);const p=r===K&&t[e+1].startsWith("/>")?" ":"";s+=r===D?i+T:h>=0?(o.push(a),i.slice(0,h)+F+i.slice(h)+z+p):i+z+(-2===h?(o.push(void 0),e):p)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==j?j.createHTML(a):a,o]};class et{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,h]=tt(t,e);if(this.el=et.createElement(l,i),Q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Q.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(F)||e.startsWith(z)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+F).split(z),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?rt:"?"===e[1]?lt:"@"===e[1]?ht:st})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(J.test(o.tagName)){const t=o.textContent.split(z),e=t.length-1;if(e>0){o.textContent=U?U.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],A()),Q.nextNode(),a.push({type:2,index:++n});o.append(t[e],A())}}}else if(8===o.nodeType)if(o.data===B)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(z,t+1));)a.push({type:7,index:n}),t+=z.length-1}n++}}static createElement(t,e){const i=P.createElement("template");return i.innerHTML=t,i}}function it(t,e,i=t,o){var n,s,r,a;if(e===X)return e;let l=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const h=L(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(r=(a=i)._$Co)&&void 0!==r?r:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=it(t,l._$AS(t,e.values),l,o)),e}class ot{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:P).importNode(i,!0);Q.currentNode=n;let s=Q.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new nt(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new ct(s,this,t)),this._$AV.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=Q.nextNode(),r++)}return n}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class nt{constructor(t,e,i,o){var n;this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=it(this,t,e),L(t)?t===Y||null==t||""===t?(this._$AH!==Y&&this._$AR(),this._$AH=Y):t!==this._$AH&&t!==X&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>I(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Y&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(P.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=et.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.v(i);else{const t=new ot(n,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=G.get(t.strings);return void 0===e&&G.set(t.strings,e=new et(t)),e}T(t){I(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new nt(this.k(A()),this.k(A()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class st{constructor(t,e,i,o,n){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Y}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=it(this,t,e,0),s=!L(t)||t!==this._$AH&&t!==X,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=it(this,o[i+r],e,r),a===X&&(a=this._$AH[r]),s||(s=!L(a)||a!==this._$AH[r]),a===Y?t=Y:t!==Y&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.j(t)}j(t){t===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class rt extends st{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Y?void 0:t}}const at=U?U.emptyScript:"";class lt extends st{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Y?this.element.setAttribute(this.name,at):this.element.removeAttribute(this.name)}}class ht extends st{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=it(this,t,e,0))&&void 0!==i?i:Y)===X)return;const o=this._$AH,n=t===Y&&o!==Y||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==Y&&(o===Y||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class ct{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){it(this,t)}}const pt=R.litHtmlPolyfillSupport;null==pt||pt(et,nt),(null!==(M=R.litHtmlVersions)&&void 0!==M?M:R.litHtmlVersions=[]).push("2.7.3");
60
60
  /**
61
61
  * @license
62
62
  * Copyright 2017 Google LLC
@@ -94,7 +94,7 @@ var dt,ft;let ut=class extends E{constructor(){super(...arguments),this.renderOp
94
94
  display: inline-block;
95
95
  width: 0;
96
96
  }
97
- `;function Et(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Rt,Mt,Ut;const jt=Symbol("internalReduxEventsUnsubscribers"),Ft=Symbol("internalStoresUnsubscribers"),zt=Symbol("internalStores");class Bt extends kt{constructor(){super(...arguments),this[Rt]=new Map,this[Mt]=new Map,this[Ut]=[]}updated(t){var e;super.updated(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[zt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[zt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[zt].get(t)}addStore(t,e){var i;e=null!==(i=null!=e?e:Et(t)?t.name:void 0)&&void 0!==i?i:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[zt].delete(e)}setupStore(t,e){this[zt].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[zt].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const i=this.constructor.getPropertyOptions(e);if(!(null==i?void 0:i.attribute)||!this.hasAttribute("string"==typeof(null==i?void 0:i.attribute)?i.attribute:e)){const i=this.getStore(t.store);i&&(t.store?this[Ft].has(t.store):this[Ft].size>0)&&(this[e]=t.selector(i.getState(),this))}}))}subscribeToStore(t,e){var i;this[Ft].set(t,e.subscribe((()=>this.updateFromStores()))),Et(e)&&e.eventBus&&(null===(i=this.reduxEventListeners)||void 0===i||i.forEach(((t,i)=>{if("function"==typeof this[i]&&(!t.store||e.name===t.store)){const o=t=>this[i](t);e.eventBus.addEventListener(t.eventName,o),this[jt].push((()=>e.eventBus.removeEventListener(t.eventName,o)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Ft].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[jt].forEach((t=>t())),this[jt]=[]}unsubscribeFromStore(t){this[Ft].has(t)&&this[Ft].get(t)(),this[Ft].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Rt=Ft,Mt=zt,Ut=jt,window.ftReduxStores||(window.ftReduxStores={});var Tt,Pt,At;const Lt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(At=null===(Pt=null===(Tt=window.safari)||void 0===Tt?void 0:Tt.pushNotification)||void 0===Pt?void 0:Pt.toString())&&void 0!==At?At:""),It={outlineColor:bt.extend("--ft-reader-internal-link-outline-color",xt.colorPrimary)},_t=y`
97
+ `;function Et(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Mt,Rt,Ut;const jt=Symbol("internalReduxEventsUnsubscribers"),Ft=Symbol("internalStoresUnsubscribers"),zt=Symbol("internalStores");class Bt extends kt{constructor(){super(...arguments),this[Mt]=new Map,this[Rt]=new Map,this[Ut]=[]}updated(t){var e;super.updated(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[zt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[zt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[zt].get(t)}addStore(t,e){var i;e=null!==(i=null!=e?e:Et(t)?t.name:void 0)&&void 0!==i?i:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[zt].delete(e)}setupStore(t,e){this[zt].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[zt].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const i=this.constructor.getPropertyOptions(e);if(!(null==i?void 0:i.attribute)||!this.hasAttribute("string"==typeof(null==i?void 0:i.attribute)?i.attribute:e)){const i=this.getStore(t.store);i&&(t.store?this[Ft].has(t.store):this[Ft].size>0)&&(this[e]=t.selector(i.getState(),this))}}))}subscribeToStore(t,e){var i;this[Ft].set(t,e.subscribe((()=>this.updateFromStores()))),Et(e)&&e.eventBus&&(null===(i=this.reduxEventListeners)||void 0===i||i.forEach(((t,i)=>{if("function"==typeof this[i]&&(!t.store||e.name===t.store)){const o=t=>this[i](t);e.eventBus.addEventListener(t.eventName,o),this[jt].push((()=>e.eventBus.removeEventListener(t.eventName,o)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Ft].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[jt].forEach((t=>t())),this[jt]=[]}unsubscribeFromStore(t){this[Ft].has(t)&&this[Ft].get(t)(),this[Ft].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Mt=Ft,Rt=zt,Ut=jt,window.ftReduxStores||(window.ftReduxStores={});var Tt,Pt,At;const Lt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(At=null===(Pt=null===(Tt=window.safari)||void 0===Tt?void 0:Tt.pushNotification)||void 0===Pt?void 0:Pt.toString())&&void 0!==At?At:""),It={outlineColor:bt.extend("--ft-reader-internal-link-outline-color",xt.colorPrimary)},_t=y`
98
98
  :host {
99
99
  display: contents;
100
100
  }
@@ -234,7 +234,7 @@ var dt,ft;let ut=class extends E{constructor(){super(...arguments),this.renderOp
234
234
  * Copyright 2020 Google LLC
235
235
  * SPDX-License-Identifier: BSD-3-Clause
236
236
  */
237
- const se=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===se)return null==t?void 0:t._$litStatic$},ae=t=>({_$litStatic$:t,r:se}),le=new Map,he=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(s=i[h],n=re(s));)l+=n+e[++h],c=!0;h!==o&&a.push(s),r.push(l),h++}if(h===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=le.get(t))&&(r.raw=r,le.set(t,e=r)),i=a}return t(e,...i)})(q);var ce;!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"}(ce||(ce={}));const pe=bt.extend("--ft-typography-font-family",xt.titleFont),de=bt.extend("--ft-typography-font-family",xt.contentFont),fe={fontFamily:de,fontSize:bt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:bt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:bt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:bt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:bt.create("--ft-typography-text-transform","UNKNOWN","inherit")},ue=bt.extend("--ft-typography-title-font-family",pe),ve=bt.extend("--ft-typography-title-font-size",fe.fontSize,"20px"),be=bt.extend("--ft-typography-title-font-weight",fe.fontWeight,"normal"),ye=bt.extend("--ft-typography-title-letter-spacing",fe.letterSpacing,"0.15px"),xe=bt.extend("--ft-typography-title-line-height",fe.lineHeight,"1.2"),ge=bt.extend("--ft-typography-title-text-transform",fe.textTransform,"inherit"),me=bt.extend("--ft-typography-title-dense-font-family",pe),we=bt.extend("--ft-typography-title-dense-font-size",fe.fontSize,"14px"),$e=bt.extend("--ft-typography-title-dense-font-weight",fe.fontWeight,"normal"),Oe=bt.extend("--ft-typography-title-dense-letter-spacing",fe.letterSpacing,"0.105px"),Se=bt.extend("--ft-typography-title-dense-line-height",fe.lineHeight,"1.7"),ke=bt.extend("--ft-typography-title-dense-text-transform",fe.textTransform,"inherit"),Ce=bt.extend("--ft-typography-subtitle1-font-family",de),Ne=bt.extend("--ft-typography-subtitle1-font-size",fe.fontSize,"16px"),Ee=bt.extend("--ft-typography-subtitle1-font-weight",fe.fontWeight,"600"),Re=bt.extend("--ft-typography-subtitle1-letter-spacing",fe.letterSpacing,"0.144px"),Me=bt.extend("--ft-typography-subtitle1-line-height",fe.lineHeight,"1.5"),Ue=bt.extend("--ft-typography-subtitle1-text-transform",fe.textTransform,"inherit"),je=bt.extend("--ft-typography-subtitle2-font-family",de),Fe=bt.extend("--ft-typography-subtitle2-font-size",fe.fontSize,"14px"),ze=bt.extend("--ft-typography-subtitle2-font-weight",fe.fontWeight,"normal"),Be=bt.extend("--ft-typography-subtitle2-letter-spacing",fe.letterSpacing,"0.098px"),Te=bt.extend("--ft-typography-subtitle2-line-height",fe.lineHeight,"1.7"),Pe=bt.extend("--ft-typography-subtitle2-text-transform",fe.textTransform,"inherit"),Ae=bt.extend("--ft-typography-body1-font-family",de),Le=bt.extend("--ft-typography-body1-font-size",fe.fontSize,"16px"),Ie=bt.extend("--ft-typography-body1-font-weight",fe.fontWeight,"normal"),_e=bt.extend("--ft-typography-body1-letter-spacing",fe.letterSpacing,"0.496px"),De=bt.extend("--ft-typography-body1-line-height",fe.lineHeight,"1.5"),We=bt.extend("--ft-typography-body1-text-transform",fe.textTransform,"inherit"),He=bt.extend("--ft-typography-body2-font-family",de),Ke=bt.extend("--ft-typography-body2-font-size",fe.fontSize,"14px"),Ze=bt.extend("--ft-typography-body2-font-weight",fe.fontWeight,"normal"),Ve=bt.extend("--ft-typography-body2-letter-spacing",fe.letterSpacing,"0.252px"),Je=bt.extend("--ft-typography-body2-line-height",fe.lineHeight,"1.4"),qe=bt.extend("--ft-typography-body2-text-transform",fe.textTransform,"inherit"),Xe=bt.extend("--ft-typography-caption-font-family",de),Ye=bt.extend("--ft-typography-caption-font-size",fe.fontSize,"12px"),Ge=bt.extend("--ft-typography-caption-font-weight",fe.fontWeight,"normal"),Qe=bt.extend("--ft-typography-caption-letter-spacing",fe.letterSpacing,"0.396px"),ti=bt.extend("--ft-typography-caption-line-height",fe.lineHeight,"1.33"),ei=bt.extend("--ft-typography-caption-text-transform",fe.textTransform,"inherit"),ii=bt.extend("--ft-typography-breadcrumb-font-family",de),oi=bt.extend("--ft-typography-breadcrumb-font-size",fe.fontSize,"10px"),ni=bt.extend("--ft-typography-breadcrumb-font-weight",fe.fontWeight,"normal"),si=bt.extend("--ft-typography-breadcrumb-letter-spacing",fe.letterSpacing,"0.33px"),ri=bt.extend("--ft-typography-breadcrumb-line-height",fe.lineHeight,"1.6"),ai=bt.extend("--ft-typography-breadcrumb-text-transform",fe.textTransform,"inherit"),li=bt.extend("--ft-typography-overline-font-family",de),hi=bt.extend("--ft-typography-overline-font-size",fe.fontSize,"10px"),ci=bt.extend("--ft-typography-overline-font-weight",fe.fontWeight,"normal"),pi=bt.extend("--ft-typography-overline-letter-spacing",fe.letterSpacing,"1.5px"),di=bt.extend("--ft-typography-overline-line-height",fe.lineHeight,"1.6"),fi=bt.extend("--ft-typography-overline-text-transform",fe.textTransform,"uppercase"),ui={fontFamily:bt.extend("--ft-typography-button-font-family",de),fontSize:bt.extend("--ft-typography-button-font-size",fe.fontSize,"14px"),fontWeight:bt.extend("--ft-typography-button-font-weight",fe.fontWeight,"600"),letterSpacing:bt.extend("--ft-typography-button-letter-spacing",fe.letterSpacing,"1.246px"),lineHeight:bt.extend("--ft-typography-button-line-height",fe.lineHeight,"1.15"),textTransform:bt.extend("--ft-typography-button-text-transform",fe.textTransform,"uppercase")},vi=y`
237
+ const se=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===se)return null==t?void 0:t._$litStatic$},ae=t=>({_$litStatic$:t,r:se}),le=new Map,he=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(s=i[h],n=re(s));)l+=n+e[++h],c=!0;h!==o&&a.push(s),r.push(l),h++}if(h===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=le.get(t))&&(r.raw=r,le.set(t,e=r)),i=a}return t(e,...i)})(q);var ce;!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"}(ce||(ce={}));const pe=bt.extend("--ft-typography-font-family",xt.titleFont),de=bt.extend("--ft-typography-font-family",xt.contentFont),fe={fontFamily:de,fontSize:bt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:bt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:bt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:bt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:bt.create("--ft-typography-text-transform","UNKNOWN","inherit")},ue=bt.extend("--ft-typography-title-font-family",pe),ve=bt.extend("--ft-typography-title-font-size",fe.fontSize,"20px"),be=bt.extend("--ft-typography-title-font-weight",fe.fontWeight,"normal"),ye=bt.extend("--ft-typography-title-letter-spacing",fe.letterSpacing,"0.15px"),xe=bt.extend("--ft-typography-title-line-height",fe.lineHeight,"1.2"),ge=bt.extend("--ft-typography-title-text-transform",fe.textTransform,"inherit"),me=bt.extend("--ft-typography-title-dense-font-family",pe),we=bt.extend("--ft-typography-title-dense-font-size",fe.fontSize,"14px"),$e=bt.extend("--ft-typography-title-dense-font-weight",fe.fontWeight,"normal"),Oe=bt.extend("--ft-typography-title-dense-letter-spacing",fe.letterSpacing,"0.105px"),Se=bt.extend("--ft-typography-title-dense-line-height",fe.lineHeight,"1.7"),ke=bt.extend("--ft-typography-title-dense-text-transform",fe.textTransform,"inherit"),Ce=bt.extend("--ft-typography-subtitle1-font-family",de),Ne=bt.extend("--ft-typography-subtitle1-font-size",fe.fontSize,"16px"),Ee=bt.extend("--ft-typography-subtitle1-font-weight",fe.fontWeight,"600"),Me=bt.extend("--ft-typography-subtitle1-letter-spacing",fe.letterSpacing,"0.144px"),Re=bt.extend("--ft-typography-subtitle1-line-height",fe.lineHeight,"1.5"),Ue=bt.extend("--ft-typography-subtitle1-text-transform",fe.textTransform,"inherit"),je=bt.extend("--ft-typography-subtitle2-font-family",de),Fe=bt.extend("--ft-typography-subtitle2-font-size",fe.fontSize,"14px"),ze=bt.extend("--ft-typography-subtitle2-font-weight",fe.fontWeight,"normal"),Be=bt.extend("--ft-typography-subtitle2-letter-spacing",fe.letterSpacing,"0.098px"),Te=bt.extend("--ft-typography-subtitle2-line-height",fe.lineHeight,"1.7"),Pe=bt.extend("--ft-typography-subtitle2-text-transform",fe.textTransform,"inherit"),Ae=bt.extend("--ft-typography-body1-font-family",de),Le=bt.extend("--ft-typography-body1-font-size",fe.fontSize,"16px"),Ie=bt.extend("--ft-typography-body1-font-weight",fe.fontWeight,"normal"),_e=bt.extend("--ft-typography-body1-letter-spacing",fe.letterSpacing,"0.496px"),De=bt.extend("--ft-typography-body1-line-height",fe.lineHeight,"1.5"),We=bt.extend("--ft-typography-body1-text-transform",fe.textTransform,"inherit"),He=bt.extend("--ft-typography-body2-font-family",de),Ke=bt.extend("--ft-typography-body2-font-size",fe.fontSize,"14px"),Ze=bt.extend("--ft-typography-body2-font-weight",fe.fontWeight,"normal"),Ve=bt.extend("--ft-typography-body2-letter-spacing",fe.letterSpacing,"0.252px"),Je=bt.extend("--ft-typography-body2-line-height",fe.lineHeight,"1.4"),qe=bt.extend("--ft-typography-body2-text-transform",fe.textTransform,"inherit"),Xe=bt.extend("--ft-typography-caption-font-family",de),Ye=bt.extend("--ft-typography-caption-font-size",fe.fontSize,"12px"),Ge=bt.extend("--ft-typography-caption-font-weight",fe.fontWeight,"normal"),Qe=bt.extend("--ft-typography-caption-letter-spacing",fe.letterSpacing,"0.396px"),ti=bt.extend("--ft-typography-caption-line-height",fe.lineHeight,"1.33"),ei=bt.extend("--ft-typography-caption-text-transform",fe.textTransform,"inherit"),ii=bt.extend("--ft-typography-breadcrumb-font-family",de),oi=bt.extend("--ft-typography-breadcrumb-font-size",fe.fontSize,"10px"),ni=bt.extend("--ft-typography-breadcrumb-font-weight",fe.fontWeight,"normal"),si=bt.extend("--ft-typography-breadcrumb-letter-spacing",fe.letterSpacing,"0.33px"),ri=bt.extend("--ft-typography-breadcrumb-line-height",fe.lineHeight,"1.6"),ai=bt.extend("--ft-typography-breadcrumb-text-transform",fe.textTransform,"inherit"),li=bt.extend("--ft-typography-overline-font-family",de),hi=bt.extend("--ft-typography-overline-font-size",fe.fontSize,"10px"),ci=bt.extend("--ft-typography-overline-font-weight",fe.fontWeight,"normal"),pi=bt.extend("--ft-typography-overline-letter-spacing",fe.letterSpacing,"1.5px"),di=bt.extend("--ft-typography-overline-line-height",fe.lineHeight,"1.6"),fi=bt.extend("--ft-typography-overline-text-transform",fe.textTransform,"uppercase"),ui={fontFamily:bt.extend("--ft-typography-button-font-family",de),fontSize:bt.extend("--ft-typography-button-font-size",fe.fontSize,"14px"),fontWeight:bt.extend("--ft-typography-button-font-weight",fe.fontWeight,"600"),letterSpacing:bt.extend("--ft-typography-button-letter-spacing",fe.letterSpacing,"1.246px"),lineHeight:bt.extend("--ft-typography-button-line-height",fe.lineHeight,"1.15"),textTransform:bt.extend("--ft-typography-button-text-transform",fe.textTransform,"uppercase")},vi=y`
238
238
  .ft-typography--title {
239
239
  font-family: ${ue};
240
240
  font-size: ${ve};
@@ -257,8 +257,8 @@ const se=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===se)return null==t?void
257
257
  font-family: ${Ce};
258
258
  font-size: ${Ne};
259
259
  font-weight: ${Ee};
260
- letter-spacing: ${Re};
261
- line-height: ${Me};
260
+ letter-spacing: ${Me};
261
+ line-height: ${Re};
262
262
  text-transform: ${Ue};
263
263
  }
264
264
  `,xi=y`
@@ -336,7 +336,7 @@ const se=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===se)return null==t?void
336
336
  </${ae(this.element)}>
337
337
  `:he`
338
338
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
339
- `}}Ni.styles=[vi,bi,yi,xi,gi,mi,wi,$i,Oi,Si,ki],Ci([o()],Ni.prototype,"element",void 0),Ci([o()],Ni.prototype,"variant",void 0),c("ft-typography")(Ni);const Ei=bt.create("--ft-tooltip-distance","SIZE","4px"),Ri=bt.create("--ft-tooltip-color","COLOR","#FFFFFF"),Mi=bt.create("--ft-tooltip-background-color","COLOR","#666666"),Ui=bt.create("--ft-tooltip-z-index","NUMBER","1"),ji=bt.external(xt.borderRadiusS,"Design system"),Fi=bt.create("--ft-tooltip-max-width","SIZE","150px"),zi=y`
339
+ `}}Ni.styles=[vi,bi,yi,xi,gi,mi,wi,$i,Oi,Si,ki],Ci([o()],Ni.prototype,"element",void 0),Ci([o()],Ni.prototype,"variant",void 0),c("ft-typography")(Ni);const Ei=bt.create("--ft-tooltip-distance","SIZE","4px"),Mi=bt.create("--ft-tooltip-color","COLOR","#FFFFFF"),Ri=bt.create("--ft-tooltip-background-color","COLOR","#666666"),Ui=bt.create("--ft-tooltip-z-index","NUMBER","100"),ji=bt.external(xt.borderRadiusS,"Design system"),Fi=bt.create("--ft-tooltip-max-width","SIZE","150px"),zi=y`
340
340
  .ft-tooltip--container {
341
341
  display: block;
342
342
  }
@@ -360,8 +360,8 @@ const se=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===se)return null==t?void
360
360
  .ft-tooltip--content {
361
361
  padding: 4px 8px;
362
362
  border-radius: ${ji};
363
- background-color: ${Mi};
364
- color: ${Ri};
363
+ background-color: ${Ri};
364
+ color: ${Mi};
365
365
  position: relative;
366
366
  word-break: break-word;
367
367
  }
@@ -383,7 +383,7 @@ const se=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===se)return null==t?void
383
383
  </div>
384
384
  </div>
385
385
  </div>
386
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,i=this.tooltip.offsetHeight,o=(t.offsetHeight-i)/2,n=(t.offsetWidth-e)/2;let s=0,r=0;switch(this.validPosition){case"top":r=t.offsetTop-i,s=t.offsetLeft+n;break;case"bottom":r=t.offsetTop+t.offsetHeight,s=t.offsetLeft+n;break;case"left":r=t.offsetTop+o,s=t.offsetLeft-e;break;case"right":r=t.offsetTop+o,s=t.offsetLeft+t.offsetWidth}const a=this.tooltip.style;a.left=this.limitValueBetween(s,0,window.innerWidth-e)+"px",a.top=this.limitValueBetween(r,0,window.innerHeight-i)+"px",a.maxWidth=`max(${t.offsetWidth}px, ${Fi})`}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())}limitValueBetween(t,e,i){return Math.max(e,Math.min(t,i))}}Ti.elementDefinitions={"ft-typography":Ni},Ti.styles=zi,Bi([o()],Ti.prototype,"text",void 0),Bi([o({type:Boolean})],Ti.prototype,"manual",void 0),Bi([o({type:Boolean})],Ti.prototype,"inline",void 0),Bi([o({type:Number})],Ti.prototype,"delay",void 0),Bi([o()],Ti.prototype,"position",void 0),Bi([
386
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,i=this.tooltip.offsetHeight,o=(t.offsetHeight-i)/2,n=(t.offsetWidth-e)/2;let s=0,r=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":r=t.offsetTop-i-this.tooltip.offsetTop,s=t.offsetLeft+n-this.tooltip.offsetLeft;break;case"bottom":r=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,s=t.offsetLeft+n-this.tooltip.offsetLeft;break;case"left":r=t.offsetTop+o-this.tooltip.offsetTop,s=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":r=t.offsetTop+o-this.tooltip.offsetTop,s=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const a=this.tooltip.style;a.left=s+"px",a.top=r+"px";const l=this.tooltip.getBoundingClientRect();let h=-l.x,c=l.x+l.width-window.innerWidth;a.left=s+Math.round(this.correctOutOfWindowPixels(h,c))+"px";let p=-l.y,d=l.y+l.height-window.innerHeight;a.top=r+Math.round(this.correctOutOfWindowPixels(p,d))+"px",a.maxWidth=`max(${t.offsetWidth}px, ${Fi})`}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())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Ti.elementDefinitions={"ft-typography":Ni},Ti.styles=zi,Bi([o()],Ti.prototype,"text",void 0),Bi([o({type:Boolean})],Ti.prototype,"manual",void 0),Bi([o({type:Boolean})],Ti.prototype,"inline",void 0),Bi([o({type:Number})],Ti.prototype,"delay",void 0),Bi([o()],Ti.prototype,"position",void 0),Bi([
387
387
  /**
388
388
  * @license
389
389
  * Copyright 2017 Google LLC
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-navigation-button",
3
- "version": "1.0.52",
3
+ "version": "1.0.53",
4
4
  "description": "Button used to navigate between pages in an integrated reader context.",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-button": "1.0.52",
23
- "@fluid-topics/ft-reader-context": "1.0.52",
24
- "@fluid-topics/ft-reader-internal-link": "1.0.52",
25
- "@fluid-topics/ft-tooltip": "1.0.52",
26
- "@fluid-topics/ft-wc-utils": "1.0.52",
22
+ "@fluid-topics/ft-button": "1.0.53",
23
+ "@fluid-topics/ft-reader-context": "1.0.53",
24
+ "@fluid-topics/ft-reader-internal-link": "1.0.53",
25
+ "@fluid-topics/ft-tooltip": "1.0.53",
26
+ "@fluid-topics/ft-wc-utils": "1.0.53",
27
27
  "lit": "2.7.2"
28
28
  },
29
- "gitHead": "e5ca580eaeb1a17693fa8f2cf59fbdca412bf7d0"
29
+ "gitHead": "adfef35652b764d792d22aeef90c706676636803"
30
30
  }