@fluid-topics/ft-reader-toc 1.0.51 → 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.
- package/build/ft-reader-toc.light.js +23 -26
- package/build/ft-reader-toc.min.js +17 -20
- package/package.json +7 -7
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright 2017 Google LLC
|
|
5
5
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
|
-
*/var f;const c=window,u=c.trustedTypes,x=u?u.createPolicy("lit-html",{createHTML:t=>t}):void 0,g="$lit$",v=`lit$${(Math.random()+"").slice(9)}$`,y="?"+v,b=`<${y}>`,m=document,$=()=>m.createComment(""),w=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,z="[ \t\n\f\r]",S=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,C=/-->/g,N=/>/g,I=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),
|
|
6
|
+
*/var f;const c=window,u=c.trustedTypes,x=u?u.createPolicy("lit-html",{createHTML:t=>t}):void 0,g="$lit$",v=`lit$${(Math.random()+"").slice(9)}$`,y="?"+v,b=`<${y}>`,m=document,$=()=>m.createComment(""),w=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,z="[ \t\n\f\r]",S=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,C=/-->/g,N=/>/g,I=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),O=/'/g,A=/"/g,E=/^(?:script|style|textarea|title)$/i,j=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),T=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),M=new WeakMap,L=m.createTreeWalker(m,129,null,!1),_=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=S;for(let e=0;e<i;e++){const i=t[e];let l,a,h=-1,p=0;for(;p<i.length&&(r.lastIndex=p,a=r.exec(i),null!==a);)p=r.lastIndex,r===S?"!--"===a[1]?r=C:void 0!==a[1]?r=N:void 0!==a[2]?(E.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=I):void 0!==a[3]&&(r=I):r===I?">"===a[0]?(r=null!=n?n:S,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?I:'"'===a[3]?A:O):r===A||r===O?r=I:r===C||r===N?r=S:(r=I,n=void 0);const d=r===I&&t[e+1].startsWith("/>")?" ":"";s+=r===S?i+b:h>=0?(o.push(l),i.slice(0,h)+g+i.slice(h)+v+d):i+v+(-2===h?(o.push(void 0),e):d)}const l=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==x?x.createHTML(l):l,o]};class F{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,l=this.parts,[a,h]=_(t,e);if(this.el=F.createElement(a,i),L.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=L.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(g)||e.startsWith(v)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+g).split(v),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?W:"?"===e[1]?H:"@"===e[1]?G:R})}else l.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(E.test(o.tagName)){const t=o.textContent.split(v),e=t.length-1;if(e>0){o.textContent=u?u.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],$()),L.nextNode(),l.push({type:2,index:++n});o.append(t[e],$())}}}else if(8===o.nodeType)if(o.data===y)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(v,t+1));)l.push({type:7,index:n}),t+=v.length-1}n++}}static createElement(t,e){const i=m.createElement("template");return i.innerHTML=t,i}}function U(t,e,i=t,o){var n,s,r,l;if(e===T)return e;let a=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const h=w(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=U(t,a._$AS(t,e.values),a,o)),e}class Z{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:m).importNode(i,!0);L.currentNode=n;let s=L.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new P(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new K(s,this,t)),this._$AV.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=L.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 P{constructor(t,e,i,o){var n;this.type=2,this._$AH=B,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=U(this,t,e),w(t)?t===B||null==t||""===t?(this._$AH!==B&&this._$AR(),this._$AH=B):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>k(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!==B&&w(this._$AH)?this._$AA.nextSibling.data=t:this.$(m.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=F.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 Z(n,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=M.get(t.strings);return void 0===e&&M.set(t.strings,e=new F(t)),e}T(t){k(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 P(this.k($()),this.k($()),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 R{constructor(t,e,i,o,n){this.type=1,this._$AH=B,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=B}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=U(this,t,e,0),s=!w(t)||t!==this._$AH&&t!==T,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=U(this,o[i+r],e,r),l===T&&(l=this._$AH[r]),s||(s=!w(l)||l!==this._$AH[r]),l===B?t=B:t!==B&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.j(t)}j(t){t===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class W extends R{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===B?void 0:t}}const D=u?u.emptyScript:"";class H extends R{constructor(){super(...arguments),this.type=4}j(t){t&&t!==B?this.element.setAttribute(this.name,D):this.element.removeAttribute(this.name)}}class G extends R{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=U(this,t,e,0))&&void 0!==i?i:B)===T)return;const o=this._$AH,n=t===B&&o!==B||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==B&&(o===B||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 K{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){U(this,t)}}const V=c.litHtmlPolyfillSupport;null==V||V(F,P),(null!==(f=c.litHtmlVersions)&&void 0!==f?f:c.litHtmlVersions=[]).push("2.7.3");
|
|
7
7
|
/**
|
|
8
8
|
* @license
|
|
9
9
|
* Copyright 2020 Google LLC
|
|
10
10
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
11
11
|
*/
|
|
12
|
-
const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t._$litStatic$},Y=t=>({_$litStatic$:t,r:X}),J=new Map,Q=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],l=[];let a,h=0,p=!1;for(;h<o;){for(a=e[h];h<o&&void 0!==(s=i[h],n=q(s));)a+=n+e[++h],p=!0;h!==o&&l.push(s),r.push(a),h++}if(h===o&&r.push(e[o]),p){const t=r.join("$$lit$$");void 0===(e=J.get(t))&&(r.raw=r,J.set(t,e=r)),i=l}return t(e,...i)})(j);var tt;!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"}(tt||(tt={}));const et=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),it=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),ot={fontFamily:it,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},nt=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",et),st=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",ot.fontSize,"20px"),rt=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",ot.fontWeight,"normal"),lt=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",ot.letterSpacing,"0.15px"),at=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",ot.lineHeight,"1.2"),ht=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",ot.textTransform,"inherit"),pt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",et),dt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",ot.fontSize,"14px"),ft=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",ot.fontWeight,"normal"),ct=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",ot.letterSpacing,"0.105px"),ut=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",ot.lineHeight,"1.7"),xt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",ot.textTransform,"inherit"),gt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",it),vt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",ot.fontSize,"16px"),yt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",ot.fontWeight,"600"),bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",ot.letterSpacing,"0.144px"),mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",ot.lineHeight,"1.5"),$t=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",ot.textTransform,"inherit"),wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",it),kt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",ot.fontSize,"14px"),zt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",ot.fontWeight,"normal"),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",ot.letterSpacing,"0.098px"),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",ot.lineHeight,"1.7"),Nt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",ot.textTransform,"inherit"),It=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",it),
|
|
12
|
+
const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t._$litStatic$},Y=t=>({_$litStatic$:t,r:X}),J=new Map,Q=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],l=[];let a,h=0,p=!1;for(;h<o;){for(a=e[h];h<o&&void 0!==(s=i[h],n=q(s));)a+=n+e[++h],p=!0;h!==o&&l.push(s),r.push(a),h++}if(h===o&&r.push(e[o]),p){const t=r.join("$$lit$$");void 0===(e=J.get(t))&&(r.raw=r,J.set(t,e=r)),i=l}return t(e,...i)})(j);var tt;!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"}(tt||(tt={}));const et=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),it=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),ot={fontFamily:it,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},nt=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",et),st=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",ot.fontSize,"20px"),rt=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",ot.fontWeight,"normal"),lt=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",ot.letterSpacing,"0.15px"),at=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",ot.lineHeight,"1.2"),ht=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",ot.textTransform,"inherit"),pt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",et),dt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",ot.fontSize,"14px"),ft=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",ot.fontWeight,"normal"),ct=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",ot.letterSpacing,"0.105px"),ut=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",ot.lineHeight,"1.7"),xt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",ot.textTransform,"inherit"),gt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",it),vt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",ot.fontSize,"16px"),yt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",ot.fontWeight,"600"),bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",ot.letterSpacing,"0.144px"),mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",ot.lineHeight,"1.5"),$t=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",ot.textTransform,"inherit"),wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",it),kt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",ot.fontSize,"14px"),zt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",ot.fontWeight,"normal"),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",ot.letterSpacing,"0.098px"),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",ot.lineHeight,"1.7"),Nt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",ot.textTransform,"inherit"),It=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",it),Ot=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",ot.fontSize,"16px"),At=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",ot.fontWeight,"normal"),Et=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",ot.letterSpacing,"0.496px"),jt=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",ot.lineHeight,"1.5"),Tt=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",ot.textTransform,"inherit"),Bt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",it),Mt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",ot.fontSize,"14px"),Lt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",ot.fontWeight,"normal"),_t=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",ot.letterSpacing,"0.252px"),Ft=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",ot.lineHeight,"1.4"),Ut=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",ot.textTransform,"inherit"),Zt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",it),Pt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",ot.fontSize,"12px"),Rt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",ot.fontWeight,"normal"),Wt=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",ot.letterSpacing,"0.396px"),Dt=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",ot.lineHeight,"1.33"),Ht=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",ot.textTransform,"inherit"),Gt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",it),Kt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",ot.fontSize,"10px"),Vt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",ot.fontWeight,"normal"),Xt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",ot.letterSpacing,"0.33px"),qt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",ot.lineHeight,"1.6"),Yt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",ot.textTransform,"inherit"),Jt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",it),Qt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",ot.fontSize,"10px"),te=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",ot.fontWeight,"normal"),ee=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",ot.letterSpacing,"1.5px"),ie=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",ot.lineHeight,"1.6"),oe=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",ot.textTransform,"uppercase"),ne={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family",it),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size",ot.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",ot.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",ot.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height",ot.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",ot.textTransform,"uppercase")},se=i.css`
|
|
13
13
|
.ft-typography--title {
|
|
14
14
|
font-family: ${nt};
|
|
15
15
|
font-size: ${st};
|
|
@@ -49,8 +49,8 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
49
49
|
`,he=i.css`
|
|
50
50
|
.ft-typography--body1 {
|
|
51
51
|
font-family: ${It};
|
|
52
|
-
font-size: ${
|
|
53
|
-
font-weight: ${
|
|
52
|
+
font-size: ${Ot};
|
|
53
|
+
font-weight: ${At};
|
|
54
54
|
letter-spacing: ${Et};
|
|
55
55
|
line-height: ${jt};
|
|
56
56
|
text-transform: ${Tt};
|
|
@@ -58,10 +58,10 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
58
58
|
`,pe=i.css`
|
|
59
59
|
.ft-typography--body2 {
|
|
60
60
|
font-family: ${Bt};
|
|
61
|
-
font-size: ${
|
|
62
|
-
font-weight: ${
|
|
63
|
-
letter-spacing: ${
|
|
64
|
-
line-height: ${
|
|
61
|
+
font-size: ${Mt};
|
|
62
|
+
font-weight: ${Lt};
|
|
63
|
+
letter-spacing: ${_t};
|
|
64
|
+
line-height: ${Ft};
|
|
65
65
|
text-transform: ${Ut};
|
|
66
66
|
}
|
|
67
67
|
`,de=i.css`
|
|
@@ -183,7 +183,7 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
183
183
|
${l.unsafeHTML(this.resolvedIcon)}
|
|
184
184
|
<slot ?hidden=${e}></slot>
|
|
185
185
|
</i>
|
|
186
|
-
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case Ce.file_format:this.resolvedIcon=null!==(t=$e[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Ce.material:this.resolvedIcon=this.value||i.nothing;break;default:this.resolvedIcon=null!==(e=me[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ie.elementDefinitions={},Ie.styles=Se,Ne([r.property()],Ie.prototype,"variant",void 0),Ne([r.property()],Ie.prototype,"value",void 0),Ne([r.state()],Ie.prototype,"resolvedIcon",void 0),Ne([r.query("slot")],Ie.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Ie);const
|
|
186
|
+
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case Ce.file_format:this.resolvedIcon=null!==(t=$e[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Ce.material:this.resolvedIcon=this.value||i.nothing;break;default:this.resolvedIcon=null!==(e=me[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ie.elementDefinitions={},Ie.styles=Se,Ne([r.property()],Ie.prototype,"variant",void 0),Ne([r.property()],Ie.prototype,"value",void 0),Ne([r.state()],Ie.prototype,"resolvedIcon",void 0),Ne([r.query("slot")],Ie.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Ie);const Oe=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorContent),Ae={color:Oe,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color",Oe),opacityContentOnSurfacePressed:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:e.FtCssVariableFactory.create("--ft-ripple-border-radius","SIZE","0px")},Ee=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),je=Ee,Te=e.FtCssVariableFactory.extend("--ft-ripple-background-color",Ee),Be=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),Me=Be,Le=e.FtCssVariableFactory.extend("--ft-ripple-background-color",Be),_e=i.css`
|
|
187
187
|
:host {
|
|
188
188
|
display: contents;
|
|
189
189
|
}
|
|
@@ -196,7 +196,7 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
196
196
|
|
|
197
197
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
198
198
|
overflow: hidden;
|
|
199
|
-
border-radius: ${
|
|
199
|
+
border-radius: ${Ae.borderRadius};
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
.ft-ripple .ft-ripple--background,
|
|
@@ -206,19 +206,19 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
.ft-ripple .ft-ripple--background {
|
|
209
|
-
background-color: ${
|
|
209
|
+
background-color: ${Ae.backgroundColor};
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
.ft-ripple .ft-ripple--effect {
|
|
213
|
-
background-color: ${
|
|
213
|
+
background-color: ${Ae.color};
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
217
|
-
background-color: ${
|
|
217
|
+
background-color: ${Le};
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
221
|
-
background-color: ${
|
|
221
|
+
background-color: ${Me};
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
@@ -258,22 +258,22 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
261
|
-
opacity: ${
|
|
261
|
+
opacity: ${Ae.opacityContentOnSurfaceHover};
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
265
|
-
opacity: ${
|
|
265
|
+
opacity: ${Ae.opacityContentOnSurfaceSelected};
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
269
|
-
opacity: ${
|
|
269
|
+
opacity: ${Ae.opacityContentOnSurfaceFocused};
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
273
|
-
opacity: ${
|
|
273
|
+
opacity: ${Ae.opacityContentOnSurfacePressed};
|
|
274
274
|
transform: translate(-50%, -50%) scale(1);
|
|
275
275
|
}
|
|
276
|
-
`;var
|
|
276
|
+
`;var Fe=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Ue extends e.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 e.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.setupDebouncer=new e.Debouncer(10),this.moveRipple=t=>{var e,i;let{x:o,y:n}=this.getCoordinates(t),s=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.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.isFocusVisible(null==t?void 0:t.target)&&!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 i.html`
|
|
277
277
|
<style>
|
|
278
278
|
.ft-ripple .ft-ripple--effect,
|
|
279
279
|
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
@@ -290,10 +290,9 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
290
290
|
<div class="ft-ripple--background"></div>
|
|
291
291
|
<div class="ft-ripple--effect"></div>
|
|
292
292
|
</div>
|
|
293
|
-
`}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 e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.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,e;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i),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 e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),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",i),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 e=t,i=t;let o,n;return null!=e.x?({x:o,y:n}=e):null!=i.touches&&(o=i.touches[0].clientX,n=i.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 e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Ue.elementDefinitions={},Ue.styles=Fe
|
|
293
|
+
`}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 e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.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,e;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i),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 e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),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",i),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 e=t,i=t;let o,n;return null!=e.x?({x:o,y:n}=e):null!=i.touches&&(o=i.touches[0].clientX,n=i.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 e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Ue.elementDefinitions={},Ue.styles=_e,Fe([r.property({type:Boolean})],Ue.prototype,"primary",void 0),Fe([r.property({type:Boolean})],Ue.prototype,"secondary",void 0),Fe([r.property({type:Boolean})],Ue.prototype,"unbounded",void 0),Fe([r.property({type:Boolean})],Ue.prototype,"activated",void 0),Fe([r.property({type:Boolean})],Ue.prototype,"selected",void 0),Fe([r.property({type:Boolean})],Ue.prototype,"disabled",void 0),Fe([r.state()],Ue.prototype,"hovered",void 0),Fe([r.state()],Ue.prototype,"focused",void 0),Fe([r.state()],Ue.prototype,"pressed",void 0),Fe([r.state()],Ue.prototype,"rippling",void 0),Fe([r.state()],Ue.prototype,"rippleSize",void 0),Fe([r.state()],Ue.prototype,"originX",void 0),Fe([r.state()],Ue.prototype,"originY",void 0),Fe([r.query(".ft-ripple")],Ue.prototype,"ripple",void 0),Fe([r.query(".ft-ripple--effect")],Ue.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(Ue);const Ze=e.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),Pe=e.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),Re=e.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),We=e.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","100"),De=e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),He=e.FtCssVariableFactory.create("--ft-tooltip-max-width","SIZE","150px"),Ge=i.css`
|
|
294
294
|
.ft-tooltip--container {
|
|
295
295
|
display: block;
|
|
296
|
-
position: relative;
|
|
297
296
|
}
|
|
298
297
|
|
|
299
298
|
.ft-tooltip--inline {
|
|
@@ -317,8 +316,6 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
317
316
|
border-radius: ${De};
|
|
318
317
|
background-color: ${Re};
|
|
319
318
|
color: ${Pe};
|
|
320
|
-
top: -500px;
|
|
321
|
-
left: -500px;
|
|
322
319
|
position: relative;
|
|
323
320
|
word-break: break-word;
|
|
324
321
|
}
|
|
@@ -340,7 +337,7 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
340
337
|
</div>
|
|
341
338
|
</div>
|
|
342
339
|
</div>
|
|
343
|
-
`}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=
|
|
340
|
+
`}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 l=this.tooltip.style;l.left=s+"px",l.top=r+"px";const a=this.tooltip.getBoundingClientRect();let h=-a.x,p=a.x+a.width-window.innerWidth;l.left=s+Math.round(this.correctOutOfWindowPixels(h,p))+"px";let d=-a.y,f=a.y+a.height-window.innerHeight;l.top=r+Math.round(this.correctOutOfWindowPixels(d,f))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${He})`}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))}}Ve.elementDefinitions={"ft-typography":ve},Ve.styles=Ge,Ke([r.property()],Ve.prototype,"text",void 0),Ke([r.property({type:Boolean})],Ve.prototype,"manual",void 0),Ke([r.property({type:Boolean})],Ve.prototype,"inline",void 0),Ke([r.property({type:Number})],Ve.prototype,"delay",void 0),Ke([r.property()],Ve.prototype,"position",void 0),Ke([r.queryAssignedNodes("",!0)],Ve.prototype,"slotNodes",void 0),Ke([r.query(".ft-tooltip--container")],Ve.prototype,"container",void 0),Ke([r.query(".ft-tooltip")],Ve.prototype,"tooltip",void 0),Ke([r.query(".ft-tooltip--content")],Ve.prototype,"tooltipContent",void 0),Ke([r.state()],Ve.prototype,"visible",void 0),e.customElement("ft-tooltip")(Ve);const Xe={color:e.FtCssVariableFactory.extend("--ft-loader-color",e.designSystemVariables.colorPrimary),size:e.FtCssVariableFactory.create("--ft-loader-size","SIZE","80px")},qe=i.css`
|
|
344
341
|
:host {
|
|
345
342
|
line-height: 0;
|
|
346
343
|
}
|
|
@@ -459,7 +456,7 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
459
456
|
--ft-button-internal-line-height: max(calc(${Qe.fontSize} + 2px), ${Qe.iconSize});
|
|
460
457
|
--ft-button-internal-color: ${Qe.color};
|
|
461
458
|
${e.setVariable(ze.size,Qe.iconSize)};
|
|
462
|
-
${e.setVariable(
|
|
459
|
+
${e.setVariable(Ae.color,Qe.rippleColor)};
|
|
463
460
|
|
|
464
461
|
border-radius: ${Qe.borderRadius};
|
|
465
462
|
padding: ${Qe.verticalPadding} ${Qe.horizontalPadding};
|
|
@@ -503,7 +500,7 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
503
500
|
.ft-button.ft-button--primary {
|
|
504
501
|
background-color: ${ei.backgroundColor};
|
|
505
502
|
--ft-button-internal-color: ${ei.color};
|
|
506
|
-
${e.setVariable(
|
|
503
|
+
${e.setVariable(Ae.color,ei.rippleColor)};
|
|
507
504
|
}
|
|
508
505
|
|
|
509
506
|
.ft-button:focus {
|
|
@@ -49,19 +49,19 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
|
|
|
49
49
|
* @license
|
|
50
50
|
* Copyright 2017 Google LLC
|
|
51
51
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
52
|
-
*/;var w;const $=window,S=$.trustedTypes,O=S?S.emptyScript:"",k=$.reactiveElementPolyfillSupport,C={toAttribute(t,e){switch(e){case Boolean:t=t?O:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},N=(t,e)=>e!==t&&(e==e||t==t),E={attribute:!0,type:String,converter:C,reflect:!1,hasChanged:N};let
|
|
52
|
+
*/;var w;const $=window,S=$.trustedTypes,O=S?S.emptyScript:"",k=$.reactiveElementPolyfillSupport,C={toAttribute(t,e){switch(e){case Boolean:t=t?O:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},N=(t,e)=>e!==t&&(e==e||t==t),E={attribute:!0,type:String,converter:C,reflect:!1,hasChanged:N};let M=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=E){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||E}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(m(t))}else void 0!==t&&e.push(m(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return g(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=E){var o;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const s=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:C).toAttribute(e,i.type);this._$El=t,null==s?this.removeAttribute(n):this.setAttribute(n,s),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,n=o._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=o.getPropertyOptions(n),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:C;this._$El=n,this[n]=s.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||N)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
|
|
53
53
|
/**
|
|
54
54
|
* @license
|
|
55
55
|
* Copyright 2017 Google LLC
|
|
56
56
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
57
57
|
*/
|
|
58
|
-
var M
|
|
58
|
+
var R;M.finalized=!0,M.elementProperties=new Map,M.elementStyles=[],M.shadowRootOptions={mode:"open"},null==k||k({ReactiveElement:M}),(null!==(w=$.reactiveElementVersions)&&void 0!==w?w:$.reactiveElementVersions=[]).push("1.6.1");const z=window,A=z.trustedTypes,U=A?A.createPolicy("lit-html",{createHTML:t=>t}):void 0,j="$lit$",F=`lit$${(Math.random()+"").slice(9)}$`,L="?"+F,I=`<${L}>`,T=document,B=()=>T.createComment(""),P=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,D=t=>_(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),W="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,K=/-->/g,Z=/>/g,V=RegExp(`>|${W}(?:([^\\s"'>=/]+)(${W}*=${W}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),X=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,Y=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),G=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),tt=new WeakMap,et=T.createTreeWalker(T,129,null,!1),it=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=H;for(let e=0;e<i;e++){const i=t[e];let l,a,h=-1,c=0;for(;c<i.length&&(r.lastIndex=c,a=r.exec(i),null!==a);)c=r.lastIndex,r===H?"!--"===a[1]?r=K:void 0!==a[1]?r=Z:void 0!==a[2]?(q.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=V):void 0!==a[3]&&(r=V):r===V?">"===a[0]?(r=null!=n?n:H,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?V:'"'===a[3]?J:X):r===J||r===X?r=V:r===K||r===Z?r=H:(r=V,n=void 0);const p=r===V&&t[e+1].startsWith("/>")?" ":"";s+=r===H?i+I:h>=0?(o.push(l),i.slice(0,h)+j+i.slice(h)+F+p):i+F+(-2===h?(o.push(void 0),e):p)}const l=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==U?U.createHTML(l):l,o]};class ot{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,l=this.parts,[a,h]=it(t,e);if(this.el=ot.createElement(a,i),et.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=et.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(j)||e.startsWith(F)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+j).split(F),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?at:"?"===e[1]?ct:"@"===e[1]?pt:lt})}else l.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(q.test(o.tagName)){const t=o.textContent.split(F),e=t.length-1;if(e>0){o.textContent=A?A.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],B()),et.nextNode(),l.push({type:2,index:++n});o.append(t[e],B())}}}else if(8===o.nodeType)if(o.data===L)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(F,t+1));)l.push({type:7,index:n}),t+=F.length-1}n++}}static createElement(t,e){const i=T.createElement("template");return i.innerHTML=t,i}}function nt(t,e,i=t,o){var n,s,r,l;if(e===G)return e;let a=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const h=P(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=nt(t,a._$AS(t,e.values),a,o)),e}class st{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:T).importNode(i,!0);et.currentNode=n;let s=et.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new rt(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new dt(s,this,t)),this._$AV.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=et.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 rt{constructor(t,e,i,o){var n;this.type=2,this._$AH=Q,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=nt(this,t,e),P(t)?t===Q||null==t||""===t?(this._$AH!==Q&&this._$AR(),this._$AH=Q):t!==this._$AH&&t!==G&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):D(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!==Q&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(T.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=ot.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 st(n,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=tt.get(t.strings);return void 0===e&&tt.set(t.strings,e=new ot(t)),e}T(t){_(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 rt(this.k(B()),this.k(B()),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 lt{constructor(t,e,i,o,n){this.type=1,this._$AH=Q,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=Q}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=nt(this,t,e,0),s=!P(t)||t!==this._$AH&&t!==G,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=nt(this,o[i+r],e,r),l===G&&(l=this._$AH[r]),s||(s=!P(l)||l!==this._$AH[r]),l===Q?t=Q:t!==Q&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.j(t)}j(t){t===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class at extends lt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Q?void 0:t}}const ht=A?A.emptyScript:"";class ct extends lt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Q?this.element.setAttribute(this.name,ht):this.element.removeAttribute(this.name)}}class pt extends lt{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=nt(this,t,e,0))&&void 0!==i?i:Q)===G)return;const o=this._$AH,n=t===Q&&o!==Q||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==Q&&(o===Q||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 dt{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){nt(this,t)}}const ft={O:j,P:F,A:L,C:1,M:it,L:st,D,R:nt,I:rt,V:lt,H:ct,N:pt,U:at,F:dt},ut=z.litHtmlPolyfillSupport;null==ut||ut(ot,rt),(null!==(R=z.litHtmlVersions)&&void 0!==R?R:z.litHtmlVersions=[]).push("2.7.3");
|
|
59
59
|
/**
|
|
60
60
|
* @license
|
|
61
61
|
* Copyright 2017 Google LLC
|
|
62
62
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
63
63
|
*/
|
|
64
|
-
var vt,xt;let yt=class extends R{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,n;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=s._$litPart$;if(void 0===r){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;s._$litPart$=r=new rt(e.insertBefore(B(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return G}};yt.finalized=!0,yt._$litElement$=!0,null===(vt=globalThis.litElementHydrateSupport)||void 0===vt||vt.call(globalThis,{LitElement:yt});const bt=globalThis.litElementPolyfillSupport;null==bt||bt({LitElement:yt}),(null!==(xt=globalThis.litElementVersions)&&void 0!==xt?xt:globalThis.litElementVersions=[]).push("3.3.2");class gt{static create(t,e,i){let o=t=>y(null!=t?t:i),n=b`var(${y(t)}, ${o(i)})`;return n.name=t,n.category=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>b`var(${y(t)}, ${o(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),n=b`var(${y(t)}, ${o(i)})`;return n.name=t,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>b`var(${y(t)}, ${o(e)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>i,n}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):y(null!=e?e:t.defaultValue),o=b`var(${y(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>b`var(${y(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function mt(t,e){return y(`${t.name}: ${e}`)}const wt={colorPrimary:gt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:gt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:gt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:gt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:gt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:gt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:gt.create("--ft-color-error","COLOR","#B00020"),colorOutline:gt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:gt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:gt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:gt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:gt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:gt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:gt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:gt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:gt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:gt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:gt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:gt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:gt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:gt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:gt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:gt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:gt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:gt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:gt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:gt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:gt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:gt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:gt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:gt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:gt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:gt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:gt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:gt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:gt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:gt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:gt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:gt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:gt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:gt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:gt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:gt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:gt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:gt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:gt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:gt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:gt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:gt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:gt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:gt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:gt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:gt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:gt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:gt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:gt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:gt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:gt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:gt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:gt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:gt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:gt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class $t extends yt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return g(i,t.elementStyles),i}}var St,Ot=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const kt=Symbol("constructorPrototype"),Ct=Symbol("constructorName"),Nt=Symbol("exportpartsDebouncer");class Et extends $t{constructor(){super(),this[St]=new e(5),this[Ct]=this.constructor.name,this[kt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ct]&&Object.setPrototypeOf(this,this[kt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Nt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,n,s,r;const l=t=>null!=t&&t.trim().length>0,a=t.filter(l).map((t=>t.trim()));if(0===a.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],i=null!==(r=null===(s=t.getAttribute("exportparts"))||void 0===s?void 0:s.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];new Array(...e,...i).filter(l).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const c=[...h.values()].flatMap((t=>a.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}St=Nt,Ot([o()],Et.prototype,"exportpartsPrefix",void 0),Ot([p([])],Et.prototype,"exportpartsPrefixes",void 0),Ot([o()],Et.prototype,"customStylesheet",void 0);const Rt=b`
|
|
64
|
+
var vt,xt;let yt=class extends M{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,n;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=s._$litPart$;if(void 0===r){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;s._$litPart$=r=new rt(e.insertBefore(B(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return G}};yt.finalized=!0,yt._$litElement$=!0,null===(vt=globalThis.litElementHydrateSupport)||void 0===vt||vt.call(globalThis,{LitElement:yt});const bt=globalThis.litElementPolyfillSupport;null==bt||bt({LitElement:yt}),(null!==(xt=globalThis.litElementVersions)&&void 0!==xt?xt:globalThis.litElementVersions=[]).push("3.3.2");class gt{static create(t,e,i){let o=t=>y(null!=t?t:i),n=b`var(${y(t)}, ${o(i)})`;return n.name=t,n.category=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>b`var(${y(t)}, ${o(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),n=b`var(${y(t)}, ${o(i)})`;return n.name=t,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>b`var(${y(t)}, ${o(e)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>i,n}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):y(null!=e?e:t.defaultValue),o=b`var(${y(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>b`var(${y(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function mt(t,e){return y(`${t.name}: ${e}`)}const wt={colorPrimary:gt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:gt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:gt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:gt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:gt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:gt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:gt.create("--ft-color-error","COLOR","#B00020"),colorOutline:gt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:gt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:gt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:gt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:gt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:gt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:gt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:gt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:gt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:gt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:gt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:gt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:gt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:gt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:gt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:gt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:gt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:gt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:gt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:gt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:gt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:gt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:gt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:gt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:gt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:gt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:gt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:gt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:gt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:gt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:gt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:gt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:gt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:gt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:gt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:gt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:gt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:gt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:gt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:gt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:gt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:gt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:gt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:gt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:gt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:gt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:gt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:gt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:gt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:gt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:gt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:gt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:gt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:gt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:gt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class $t extends yt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return g(i,t.elementStyles),i}}var St,Ot=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const kt=Symbol("constructorPrototype"),Ct=Symbol("constructorName"),Nt=Symbol("exportpartsDebouncer");class Et extends $t{constructor(){super(),this[St]=new e(5),this[Ct]=this.constructor.name,this[kt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ct]&&Object.setPrototypeOf(this,this[kt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Nt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,n,s,r;const l=t=>null!=t&&t.trim().length>0,a=t.filter(l).map((t=>t.trim()));if(0===a.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],i=null!==(r=null===(s=t.getAttribute("exportparts"))||void 0===s?void 0:s.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];new Array(...e,...i).filter(l).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const c=[...h.values()].flatMap((t=>a.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}St=Nt,Ot([o()],Et.prototype,"exportpartsPrefix",void 0),Ot([p([])],Et.prototype,"exportpartsPrefixes",void 0),Ot([o()],Et.prototype,"customStylesheet",void 0);const Mt=b`
|
|
65
65
|
.ft-no-text-select {
|
|
66
66
|
-webkit-touch-callout: none;
|
|
67
67
|
-webkit-user-select: none;
|
|
@@ -82,7 +82,7 @@ var vt,xt;let yt=class extends R{constructor(){super(...arguments),this.renderOp
|
|
|
82
82
|
-webkit-hyphens: auto;
|
|
83
83
|
hyphens: auto
|
|
84
84
|
}
|
|
85
|
-
`;const
|
|
85
|
+
`;const Rt=b`
|
|
86
86
|
.ft-safari-ellipsis-fix {
|
|
87
87
|
margin-right: 0;
|
|
88
88
|
|
|
@@ -113,7 +113,7 @@ var vt,xt;let yt=class extends R{constructor(){super(...arguments),this.renderOp
|
|
|
113
113
|
* @license
|
|
114
114
|
* Copyright 2020 Google LLC
|
|
115
115
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
116
|
-
*/const pe=Symbol.for(""),de=t=>{if((null==t?void 0:t.r)===pe)return null==t?void 0:t._$litStatic$},fe=t=>({_$litStatic$:t,r:pe}),ue=new Map,ve=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],l=[];let a,h=0,c=!1;for(;h<o;){for(a=e[h];h<o&&void 0!==(s=i[h],n=de(s));)a+=n+e[++h],c=!0;h!==o&&l.push(s),r.push(a),h++}if(h===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=ue.get(t))&&(r.raw=r,ue.set(t,e=r)),i=l}return t(e,...i)})(Y);var xe;!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"}(xe||(xe={}));const ye=gt.extend("--ft-typography-font-family",wt.titleFont),be=gt.extend("--ft-typography-font-family",wt.contentFont),ge={fontFamily:be,fontSize:gt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:gt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:gt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:gt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:gt.create("--ft-typography-text-transform","UNKNOWN","inherit")},me=gt.extend("--ft-typography-title-font-family",ye),we=gt.extend("--ft-typography-title-font-size",ge.fontSize,"20px"),$e=gt.extend("--ft-typography-title-font-weight",ge.fontWeight,"normal"),Se=gt.extend("--ft-typography-title-letter-spacing",ge.letterSpacing,"0.15px"),Oe=gt.extend("--ft-typography-title-line-height",ge.lineHeight,"1.2"),ke=gt.extend("--ft-typography-title-text-transform",ge.textTransform,"inherit"),Ce=gt.extend("--ft-typography-title-dense-font-family",ye),Ne=gt.extend("--ft-typography-title-dense-font-size",ge.fontSize,"14px"),Ee=gt.extend("--ft-typography-title-dense-font-weight",ge.fontWeight,"normal"),
|
|
116
|
+
*/const pe=Symbol.for(""),de=t=>{if((null==t?void 0:t.r)===pe)return null==t?void 0:t._$litStatic$},fe=t=>({_$litStatic$:t,r:pe}),ue=new Map,ve=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],l=[];let a,h=0,c=!1;for(;h<o;){for(a=e[h];h<o&&void 0!==(s=i[h],n=de(s));)a+=n+e[++h],c=!0;h!==o&&l.push(s),r.push(a),h++}if(h===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=ue.get(t))&&(r.raw=r,ue.set(t,e=r)),i=l}return t(e,...i)})(Y);var xe;!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"}(xe||(xe={}));const ye=gt.extend("--ft-typography-font-family",wt.titleFont),be=gt.extend("--ft-typography-font-family",wt.contentFont),ge={fontFamily:be,fontSize:gt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:gt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:gt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:gt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:gt.create("--ft-typography-text-transform","UNKNOWN","inherit")},me=gt.extend("--ft-typography-title-font-family",ye),we=gt.extend("--ft-typography-title-font-size",ge.fontSize,"20px"),$e=gt.extend("--ft-typography-title-font-weight",ge.fontWeight,"normal"),Se=gt.extend("--ft-typography-title-letter-spacing",ge.letterSpacing,"0.15px"),Oe=gt.extend("--ft-typography-title-line-height",ge.lineHeight,"1.2"),ke=gt.extend("--ft-typography-title-text-transform",ge.textTransform,"inherit"),Ce=gt.extend("--ft-typography-title-dense-font-family",ye),Ne=gt.extend("--ft-typography-title-dense-font-size",ge.fontSize,"14px"),Ee=gt.extend("--ft-typography-title-dense-font-weight",ge.fontWeight,"normal"),Me=gt.extend("--ft-typography-title-dense-letter-spacing",ge.letterSpacing,"0.105px"),Re=gt.extend("--ft-typography-title-dense-line-height",ge.lineHeight,"1.7"),ze=gt.extend("--ft-typography-title-dense-text-transform",ge.textTransform,"inherit"),Ae=gt.extend("--ft-typography-subtitle1-font-family",be),Ue=gt.extend("--ft-typography-subtitle1-font-size",ge.fontSize,"16px"),je=gt.extend("--ft-typography-subtitle1-font-weight",ge.fontWeight,"600"),Fe=gt.extend("--ft-typography-subtitle1-letter-spacing",ge.letterSpacing,"0.144px"),Le=gt.extend("--ft-typography-subtitle1-line-height",ge.lineHeight,"1.5"),Ie=gt.extend("--ft-typography-subtitle1-text-transform",ge.textTransform,"inherit"),Te=gt.extend("--ft-typography-subtitle2-font-family",be),Be=gt.extend("--ft-typography-subtitle2-font-size",ge.fontSize,"14px"),Pe=gt.extend("--ft-typography-subtitle2-font-weight",ge.fontWeight,"normal"),_e=gt.extend("--ft-typography-subtitle2-letter-spacing",ge.letterSpacing,"0.098px"),De=gt.extend("--ft-typography-subtitle2-line-height",ge.lineHeight,"1.7"),We=gt.extend("--ft-typography-subtitle2-text-transform",ge.textTransform,"inherit"),He=gt.extend("--ft-typography-body1-font-family",be),Ke=gt.extend("--ft-typography-body1-font-size",ge.fontSize,"16px"),Ze=gt.extend("--ft-typography-body1-font-weight",ge.fontWeight,"normal"),Ve=gt.extend("--ft-typography-body1-letter-spacing",ge.letterSpacing,"0.496px"),Xe=gt.extend("--ft-typography-body1-line-height",ge.lineHeight,"1.5"),Je=gt.extend("--ft-typography-body1-text-transform",ge.textTransform,"inherit"),qe=gt.extend("--ft-typography-body2-font-family",be),Ye=gt.extend("--ft-typography-body2-font-size",ge.fontSize,"14px"),Ge=gt.extend("--ft-typography-body2-font-weight",ge.fontWeight,"normal"),Qe=gt.extend("--ft-typography-body2-letter-spacing",ge.letterSpacing,"0.252px"),ti=gt.extend("--ft-typography-body2-line-height",ge.lineHeight,"1.4"),ei=gt.extend("--ft-typography-body2-text-transform",ge.textTransform,"inherit"),ii=gt.extend("--ft-typography-caption-font-family",be),oi=gt.extend("--ft-typography-caption-font-size",ge.fontSize,"12px"),ni=gt.extend("--ft-typography-caption-font-weight",ge.fontWeight,"normal"),si=gt.extend("--ft-typography-caption-letter-spacing",ge.letterSpacing,"0.396px"),ri=gt.extend("--ft-typography-caption-line-height",ge.lineHeight,"1.33"),li=gt.extend("--ft-typography-caption-text-transform",ge.textTransform,"inherit"),ai=gt.extend("--ft-typography-breadcrumb-font-family",be),hi=gt.extend("--ft-typography-breadcrumb-font-size",ge.fontSize,"10px"),ci=gt.extend("--ft-typography-breadcrumb-font-weight",ge.fontWeight,"normal"),pi=gt.extend("--ft-typography-breadcrumb-letter-spacing",ge.letterSpacing,"0.33px"),di=gt.extend("--ft-typography-breadcrumb-line-height",ge.lineHeight,"1.6"),fi=gt.extend("--ft-typography-breadcrumb-text-transform",ge.textTransform,"inherit"),ui=gt.extend("--ft-typography-overline-font-family",be),vi=gt.extend("--ft-typography-overline-font-size",ge.fontSize,"10px"),xi=gt.extend("--ft-typography-overline-font-weight",ge.fontWeight,"normal"),yi=gt.extend("--ft-typography-overline-letter-spacing",ge.letterSpacing,"1.5px"),bi=gt.extend("--ft-typography-overline-line-height",ge.lineHeight,"1.6"),gi=gt.extend("--ft-typography-overline-text-transform",ge.textTransform,"uppercase"),mi={fontFamily:gt.extend("--ft-typography-button-font-family",be),fontSize:gt.extend("--ft-typography-button-font-size",ge.fontSize,"14px"),fontWeight:gt.extend("--ft-typography-button-font-weight",ge.fontWeight,"600"),letterSpacing:gt.extend("--ft-typography-button-letter-spacing",ge.letterSpacing,"1.246px"),lineHeight:gt.extend("--ft-typography-button-line-height",ge.lineHeight,"1.15"),textTransform:gt.extend("--ft-typography-button-text-transform",ge.textTransform,"uppercase")},wi=b`
|
|
117
117
|
.ft-typography--title {
|
|
118
118
|
font-family: ${me};
|
|
119
119
|
font-size: ${we};
|
|
@@ -127,8 +127,8 @@ var vt,xt;let yt=class extends R{constructor(){super(...arguments),this.renderOp
|
|
|
127
127
|
font-family: ${Ce};
|
|
128
128
|
font-size: ${Ne};
|
|
129
129
|
font-weight: ${Ee};
|
|
130
|
-
letter-spacing: ${
|
|
131
|
-
line-height: ${
|
|
130
|
+
letter-spacing: ${Me};
|
|
131
|
+
line-height: ${Re};
|
|
132
132
|
text-transform: ${ze};
|
|
133
133
|
}
|
|
134
134
|
`,Si=b`
|
|
@@ -186,7 +186,7 @@ var vt,xt;let yt=class extends R{constructor(){super(...arguments),this.renderOp
|
|
|
186
186
|
line-height: ${di};
|
|
187
187
|
text-transform: ${fi};
|
|
188
188
|
}
|
|
189
|
-
`,
|
|
189
|
+
`,Mi=b`
|
|
190
190
|
.ft-typography--overline {
|
|
191
191
|
font-family: ${ui};
|
|
192
192
|
font-size: ${vi};
|
|
@@ -195,7 +195,7 @@ var vt,xt;let yt=class extends R{constructor(){super(...arguments),this.renderOp
|
|
|
195
195
|
line-height: ${bi};
|
|
196
196
|
text-transform: ${gi};
|
|
197
197
|
}
|
|
198
|
-
`,
|
|
198
|
+
`,Ri=b`
|
|
199
199
|
.ft-typography--button {
|
|
200
200
|
font-family: ${mi.fontFamily};
|
|
201
201
|
font-size: ${mi.fontSize};
|
|
@@ -215,7 +215,7 @@ var vt,xt;let yt=class extends R{constructor(){super(...arguments),this.renderOp
|
|
|
215
215
|
</${fe(this.element)}>
|
|
216
216
|
`:ve`
|
|
217
217
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
218
|
-
`}}Ui.styles=[wi,$i,Si,Oi,ki,Ci,Ni,Ei,Ri,
|
|
218
|
+
`}}Ui.styles=[wi,$i,Si,Oi,ki,Ci,Ni,Ei,Mi,Ri,zi],Ai([o()],Ui.prototype,"element",void 0),Ai([o()],Ui.prototype,"variant",void 0),c("ft-typography")(Ui);const ji=gt.extend("--ft-reader-internal-link-outline-color",wt.colorPrimary),Fi=b`
|
|
219
219
|
:host {
|
|
220
220
|
display: contents;
|
|
221
221
|
}
|
|
@@ -400,10 +400,9 @@ class Ti extends Xt{constructor(t){if(super(t),this.et=Q,t.type!==Zt)throw Error
|
|
|
400
400
|
<div class="ft-ripple--background"></div>
|
|
401
401
|
<div class="ft-ripple--effect"></div>
|
|
402
402
|
</div>
|
|
403
|
-
`}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 e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.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,e;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i),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 e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),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",i),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 e=t,i=t;let o,n;return null!=e.x?({x:o,y:n}=e):null!=i.touches&&(o=i.touches[0].clientX,n=i.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 e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}oo.elementDefinitions={},oo.styles=eo,io([o({type:Boolean})],oo.prototype,"primary",void 0),io([o({type:Boolean})],oo.prototype,"secondary",void 0),io([o({type:Boolean})],oo.prototype,"unbounded",void 0),io([o({type:Boolean})],oo.prototype,"activated",void 0),io([o({type:Boolean})],oo.prototype,"selected",void 0),io([o({type:Boolean})],oo.prototype,"disabled",void 0),io([n()],oo.prototype,"hovered",void 0),io([n()],oo.prototype,"focused",void 0),io([n()],oo.prototype,"pressed",void 0),io([n()],oo.prototype,"rippling",void 0),io([n()],oo.prototype,"rippleSize",void 0),io([n()],oo.prototype,"originX",void 0),io([n()],oo.prototype,"originY",void 0),io([r(".ft-ripple")],oo.prototype,"ripple",void 0),io([r(".ft-ripple--effect")],oo.prototype,"rippleEffect",void 0),c("ft-ripple")(oo);const no=gt.create("--ft-tooltip-distance","SIZE","4px"),so=gt.create("--ft-tooltip-color","COLOR","#FFFFFF"),ro=gt.create("--ft-tooltip-background-color","COLOR","#666666"),lo=gt.create("--ft-tooltip-z-index","NUMBER","
|
|
403
|
+
`}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 e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.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,e;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i),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 e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),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",i),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 e=t,i=t;let o,n;return null!=e.x?({x:o,y:n}=e):null!=i.touches&&(o=i.touches[0].clientX,n=i.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 e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}oo.elementDefinitions={},oo.styles=eo,io([o({type:Boolean})],oo.prototype,"primary",void 0),io([o({type:Boolean})],oo.prototype,"secondary",void 0),io([o({type:Boolean})],oo.prototype,"unbounded",void 0),io([o({type:Boolean})],oo.prototype,"activated",void 0),io([o({type:Boolean})],oo.prototype,"selected",void 0),io([o({type:Boolean})],oo.prototype,"disabled",void 0),io([n()],oo.prototype,"hovered",void 0),io([n()],oo.prototype,"focused",void 0),io([n()],oo.prototype,"pressed",void 0),io([n()],oo.prototype,"rippling",void 0),io([n()],oo.prototype,"rippleSize",void 0),io([n()],oo.prototype,"originX",void 0),io([n()],oo.prototype,"originY",void 0),io([r(".ft-ripple")],oo.prototype,"ripple",void 0),io([r(".ft-ripple--effect")],oo.prototype,"rippleEffect",void 0),c("ft-ripple")(oo);const no=gt.create("--ft-tooltip-distance","SIZE","4px"),so=gt.create("--ft-tooltip-color","COLOR","#FFFFFF"),ro=gt.create("--ft-tooltip-background-color","COLOR","#666666"),lo=gt.create("--ft-tooltip-z-index","NUMBER","100"),ao=gt.external(wt.borderRadiusS,"Design system"),ho=gt.create("--ft-tooltip-max-width","SIZE","150px"),co=b`
|
|
404
404
|
.ft-tooltip--container {
|
|
405
405
|
display: block;
|
|
406
|
-
position: relative;
|
|
407
406
|
}
|
|
408
407
|
|
|
409
408
|
.ft-tooltip--inline {
|
|
@@ -427,8 +426,6 @@ class Ti extends Xt{constructor(t){if(super(t),this.et=Q,t.type!==Zt)throw Error
|
|
|
427
426
|
border-radius: ${ao};
|
|
428
427
|
background-color: ${ro};
|
|
429
428
|
color: ${so};
|
|
430
|
-
top: -500px;
|
|
431
|
-
left: -500px;
|
|
432
429
|
position: relative;
|
|
433
430
|
word-break: break-word;
|
|
434
431
|
}
|
|
@@ -450,13 +447,13 @@ class Ti extends Xt{constructor(t){if(super(t),this.et=Q,t.type!==Zt)throw Error
|
|
|
450
447
|
</div>
|
|
451
448
|
</div>
|
|
452
449
|
</div>
|
|
453
|
-
`}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=
|
|
450
|
+
`}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 l=this.tooltip.style;l.left=s+"px",l.top=r+"px";const a=this.tooltip.getBoundingClientRect();let h=-a.x,c=a.x+a.width-window.innerWidth;l.left=s+Math.round(this.correctOutOfWindowPixels(h,c))+"px";let p=-a.y,d=a.y+a.height-window.innerHeight;l.top=r+Math.round(this.correctOutOfWindowPixels(p,d))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${ho})`}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))}}fo.elementDefinitions={"ft-typography":Ui},fo.styles=co,po([o()],fo.prototype,"text",void 0),po([o({type:Boolean})],fo.prototype,"manual",void 0),po([o({type:Boolean})],fo.prototype,"inline",void 0),po([o({type:Number})],fo.prototype,"delay",void 0),po([o()],fo.prototype,"position",void 0),po([
|
|
454
451
|
/**
|
|
455
452
|
* @license
|
|
456
453
|
* Copyright 2017 Google LLC
|
|
457
454
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
458
455
|
*/
|
|
459
|
-
function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return s({descriptor:o=>({get(){var o;const n="slot"+(e?`[name=${e}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),r=null!=s?a(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],fo.prototype,"slotNodes",void 0),po([r(".ft-tooltip--container")],fo.prototype,"container",void 0),po([r("
|
|
456
|
+
function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return s({descriptor:o=>({get(){var o;const n="slot"+(e?`[name=${e}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),r=null!=s?a(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],fo.prototype,"slotNodes",void 0),po([r(".ft-tooltip--container")],fo.prototype,"container",void 0),po([r(".ft-tooltip")],fo.prototype,"tooltip",void 0),po([r(".ft-tooltip--content")],fo.prototype,"tooltipContent",void 0),po([n()],fo.prototype,"visible",void 0),c("ft-tooltip")(fo);const uo={color:gt.extend("--ft-loader-color",wt.colorPrimary),size:gt.create("--ft-loader-size","SIZE","80px")},vo=b`
|
|
460
457
|
:host {
|
|
461
458
|
line-height: 0;
|
|
462
459
|
}
|
|
@@ -669,7 +666,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
|
|
|
669
666
|
${mt(uo.size,bo.iconSize)};
|
|
670
667
|
${mt(uo.color,"var(--ft-button-internal-color)")};
|
|
671
668
|
}
|
|
672
|
-
`,
|
|
669
|
+
`,Mt];var Co,No=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Eo extends Et{constructor(){super(...arguments),this.role="button",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.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}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-no-text-select":!0};return this.addTooltipIfNeeded(Y`
|
|
673
670
|
<button part="button"
|
|
674
671
|
class="${oe(t)}"
|
|
675
672
|
aria-label="${this.getLabel()}"
|
|
@@ -692,7 +689,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
|
|
|
692
689
|
</ft-tooltip>
|
|
693
690
|
`:t}resolveIcon(){return this.loading?Y`
|
|
694
691
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?Y`
|
|
695
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:Q}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}}Eo.elementDefinitions={"ft-ripple":oo,"ft-tooltip":fo,"ft-typography":Ui,"ft-icon":Zi,"ft-loader":xo},Eo.styles=[
|
|
692
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:Q}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}}Eo.elementDefinitions={"ft-ripple":oo,"ft-tooltip":fo,"ft-typography":Ui,"ft-icon":Zi,"ft-loader":xo},Eo.styles=[Rt,ko],No([o({type:String,reflect:!0})],Eo.prototype,"role",void 0),No([o({type:Boolean})],Eo.prototype,"primary",void 0),No([o({type:Boolean})],Eo.prototype,"outlined",void 0),No([o({type:Boolean})],Eo.prototype,"disabled",void 0),No([o({type:Boolean})],Eo.prototype,"dense",void 0),No([o({type:Boolean})],Eo.prototype,"round",void 0),No([o()],Eo.prototype,"label",void 0),No([o()],Eo.prototype,"icon",void 0),No([o()],Eo.prototype,"iconVariant",void 0),No([o({type:Boolean})],Eo.prototype,"trailingIcon",void 0),No([o({type:Boolean})],Eo.prototype,"loading",void 0),No([o()],Eo.prototype,"tooltipPosition",void 0),No([o({type:Boolean})],Eo.prototype,"hideTooltip",void 0),No([o({type:Boolean})],Eo.prototype,"forceTooltip",void 0),No([r(".ft-button")],Eo.prototype,"button",void 0),No([r(".ft-button--label slot")],Eo.prototype,"slottedContent",void 0),c("ft-button")(Eo),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(Co||(Co={}));const Mo=b`
|
|
696
693
|
.ft-size-watcher--pixel {
|
|
697
694
|
width: 0;
|
|
698
695
|
height: 0;
|
|
@@ -711,11 +708,11 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
|
|
|
711
708
|
.ft-size-watcher--local .ft-size-watcher--watcher {
|
|
712
709
|
width: 100%;
|
|
713
710
|
}
|
|
714
|
-
`;var
|
|
711
|
+
`;var Ro=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class zo extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class Ao extends Et{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Co.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new e}render(){return Y`
|
|
715
712
|
<div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
|
|
716
713
|
<div class="ft-size-watcher--watcher"></div>
|
|
717
714
|
</div>
|
|
718
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=Co.S:this.size<976?this.category=Co.M:this.size<1024?this.category=Co.L:this.size<1440?this.category=Co.XL:this.category=Co.XXL,this.dispatchEvent(new zo(this.size,this.category)))}),this.debounceTimeout)}}Ao.elementDefinitions={},Ao.styles=Ro
|
|
715
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=Co.S:this.size<976?this.category=Co.M:this.size<1024?this.category=Co.L:this.size<1440?this.category=Co.XL:this.category=Co.XXL,this.dispatchEvent(new zo(this.size,this.category)))}),this.debounceTimeout)}}Ao.elementDefinitions={},Ao.styles=Mo,Ro([o({type:Number})],Ao.prototype,"debounceTimeout",void 0),Ro([o({type:Boolean})],Ao.prototype,"local",void 0),Ro([o({type:Number,reflect:!0})],Ao.prototype,"size",void 0),Ro([o({type:String,reflect:!0})],Ao.prototype,"category",void 0),Ro([r(".ft-size-watcher--watcher")],Ao.prototype,"watcher",void 0),c("ft-size-watcher")(Ao);const Uo={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},jo={tabulationSize:gt.create("--ft-reader-toc-tabulation-size","SIZE","16px"),verticalSpacing:gt.create("--ft-reader-toc-vertical-spacing","SIZE","4px"),textColor:gt.extend("--ft-reader-toc-text-color",wt.colorOnSurface),hoverColor:gt.extend("--ft-reader-toc-hover-color",wt.colorPrimary),highlightedTextColor:gt.extend("--ft-reader-toc-highlighted-text-color",wt.colorPrimary),highlightedFontWeight:gt.create("--ft-reader-toc-highlighted-font-weight","UNKNOWN","bold"),highlightedBackgroundColor:gt.create("--ft-reader-toc-highlighted-background-color","COLOR","transparent"),iconFontSize:gt.create("--ft-reader-toc-icon-font-size","SIZE","16px")},Fo=b`
|
|
719
716
|
.ft-reader-toc {
|
|
720
717
|
color: ${jo.textColor};
|
|
721
718
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-reader-toc",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.53",
|
|
4
4
|
"description": "Main table of content for integrated reader",
|
|
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-icon": "1.0.
|
|
23
|
-
"@fluid-topics/ft-reader-context": "1.0.
|
|
24
|
-
"@fluid-topics/ft-size-watcher": "1.0.
|
|
25
|
-
"@fluid-topics/ft-typography": "1.0.
|
|
26
|
-
"@fluid-topics/ft-wc-utils": "1.0.
|
|
22
|
+
"@fluid-topics/ft-icon": "1.0.53",
|
|
23
|
+
"@fluid-topics/ft-reader-context": "1.0.53",
|
|
24
|
+
"@fluid-topics/ft-size-watcher": "1.0.53",
|
|
25
|
+
"@fluid-topics/ft-typography": "1.0.53",
|
|
26
|
+
"@fluid-topics/ft-wc-utils": "1.0.53",
|
|
27
27
|
"lit": "2.7.2"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "adfef35652b764d792d22aeef90c706676636803"
|
|
30
30
|
}
|