@fluid-topics/ft-notice 2.2.4 → 2.2.6
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-notice.light.js +94 -84
- package/build/ft-notice.min.js +83 -73
- package/package.json +5 -5
package/build/ft-notice.light.js
CHANGED
|
@@ -1,109 +1,119 @@
|
|
|
1
|
-
"use strict";(()=>{var Tt=Object.create;var be=Object.defineProperty;var bt=Object.getOwnPropertyDescriptor;var $t=Object.getOwnPropertyNames;var Ot=Object.getPrototypeOf,Nt=Object.prototype.hasOwnProperty;var q=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(i){throw t=0,i}};var Rt=(e,t,i,
|
|
2
|
-
\f\r]`,I=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Re=/-->/g,Ce=/>/g,
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Le=/'/g,ve=/"/g,Me=/^(?:script|style|textarea|title)$/i,Ae=e=>(t,...i)=>({_$litType$:e,strings:t,values:i}),Be=Ae(1),We=Ae(2),Ue=Ae(3),ee=Symbol.for("lit-noChange"),A=Symbol.for("lit-nothing"),He=new WeakMap,M=B.createTreeWalker(B,129);function we(e,t){if(!ce(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ne!==void 0?Ne.createHTML(t):t}var vt=(e,t)=>{let i=e.length-1,r=[],o,p=t===2?"<svg>":t===3?"<math>":"",l=I;for(let m=0;m<i;m++){let f=e[m],x,y,h=-1,b=0;for(;b<f.length&&(l.lastIndex=b,y=l.exec(f),y!==null);)b=l.lastIndex,l===I?y[1]==="!--"?l=Re:y[1]!==void 0?l=Ce:y[2]!==void 0?(Me.test(y[2])&&(o=RegExp("</"+y[2],"g")),l=D):y[3]!==void 0&&(l=D):l===D?y[0]===">"?(l=o??I,h=-1):y[1]===void 0?h=-2:(h=l.lastIndex-y[2].length,x=y[1],l=y[3]===void 0?D:y[3]==='"'?ve:Le):l===ve||l===Le?l=D:l===Re||l===Ce?l=I:(l=D,o=void 0);let C=l===D&&e[m+1].startsWith("/>")?" ":"";p+=l===I?f+Ct:h>=0?(r.push(x),f.slice(0,h)+Pe+f.slice(h)+v+C):f+v+(h===-2?m:C)}return[we(e,p+(e[i]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),r]},te=class e{constructor({strings:t,_$litType$:i},r){let o;this.parts=[];let p=0,l=0,m=t.length-1,f=this.parts,[x,y]=vt(t,i);if(this.el=e.createElement(x,r),M.currentNode=this.el.content,i===2||i===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(o=M.nextNode())!==null&&f.length<m;){if(o.nodeType===1){if(o.hasAttributes())for(let h of o.getAttributeNames())if(h.endsWith(Pe)){let b=y[l++],C=o.getAttribute(h).split(v),oe=/([.?@])?(.*)/.exec(b);f.push({type:1,index:p,name:oe[2],strings:C,ctor:oe[1]==="."?he:oe[1]==="?"?me:oe[1]==="@"?de:w}),o.removeAttribute(h)}else h.startsWith(v)&&(f.push({type:6,index:p}),o.removeAttribute(h));if(Me.test(o.tagName)){let h=o.textContent.split(v),b=h.length-1;if(b>0){o.textContent=ae?ae.emptyScript:"";for(let C=0;C<b;C++)o.append(h[C],ne()),M.nextNode(),f.push({type:2,index:++p});o.append(h[b],ne())}}}else if(o.nodeType===8)if(o.data===De)f.push({type:2,index:p});else{let h=-1;for(;(h=o.data.indexOf(v,h+1))!==-1;)f.push({type:7,index:p}),h+=v.length-1}p++}}static createElement(t,i){let r=B.createElement("template");return r.innerHTML=t,r}};function U(e,t,i=e,r){if(t===ee)return t;let o=r!==void 0?i._$Co?.[r]:i._$Cl,p=F(t)?void 0:t._$litDirective$;return o?.constructor!==p&&(o?._$AO?.(!1),p===void 0?o=void 0:(o=new p(e),o._$AT(e,i,r)),r!==void 0?(i._$Co??=[])[r]=o:i._$Cl=o),o!==void 0&&(t=U(e,o._$AS(e,t.values),o,r)),t}var xe=class{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:i},parts:r}=this._$AD,o=(t?.creationScope??B).importNode(i,!0);M.currentNode=o;let p=M.nextNode(),l=0,m=0,f=r[0];for(;f!==void 0;){if(l===f.index){let x;f.type===2?x=new pe(p,p.nextSibling,this,t):f.type===1?x=new f.ctor(p,f.name,f.strings,this,t):f.type===6&&(x=new ge(p,this,t)),this._$AV.push(x),f=r[++m]}l!==f?.index&&(p=M.nextNode(),l++)}return M.currentNode=B,o}p(t){let i=0;for(let r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(t,r,i),i+=r.strings.length-2):r._$AI(t[i])),i++}},pe=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,r,o){this.type=2,this._$AH=A,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=r,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,i=this._$AM;return i!==void 0&&t?.nodeType===11&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=U(this,t,i),F(t)?t===A||t==null||t===""?(this._$AH!==A&&this._$AR(),this._$AH=A):t!==this._$AH&&t!==ee&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Lt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==A&&F(this._$AH)?this._$AA.nextSibling.data=t:this.T(B.createTextNode(t)),this._$AH=t}$(t){let{values:i,_$litType$:r}=t,o=typeof r=="number"?this._$AC(t):(r.el===void 0&&(r.el=te.createElement(we(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===o)this._$AH.p(i);else{let p=new xe(o,this),l=p.u(this.options);p.p(i),this.T(l),this._$AH=p}}_$AC(t){let i=He.get(t.strings);return i===void 0&&He.set(t.strings,i=new te(t)),i}k(t){ce(this._$AH)||(this._$AH=[],this._$AR());let i=this._$AH,r,o=0;for(let p of t)o===i.length?i.push(r=new e(this.O(ne()),this.O(ne()),this,this.options)):r=i[o],r._$AI(p),o++;o<i.length&&(this._$AR(r&&r._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t!==this._$AB;){let r=Oe(t).nextSibling;Oe(t).remove(),t=r}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},w=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,r,o,p){this.type=1,this._$AH=A,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=p,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=A}_$AI(t,i=this,r,o){let p=this.strings,l=!1;if(p===void 0)t=U(this,t,i,0),l=!F(t)||t!==this._$AH&&t!==ee,l&&(this._$AH=t);else{let m=t,f,x;for(t=p[0],f=0;f<p.length-1;f++)x=U(this,m[r+f],i,f),x===ee&&(x=this._$AH[f]),l||=!F(x)||x!==this._$AH[f],x===A?t=A:t!==A&&(t+=(x??"")+p[f+1]),this._$AH[f]=x}l&&!o&&this.j(t)}j(t){t===A?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},he=class extends w{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===A?void 0:t}},me=class extends w{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==A)}},de=class extends w{constructor(t,i,r,o,p){super(t,i,r,o,p),this.type=5}_$AI(t,i=this){if((t=U(this,t,i,0)??A)===ee)return;let r=this._$AH,o=t===A&&r!==A||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,p=t!==A&&(r===A||o);o&&this.element.removeEventListener(this.name,this,r),p&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ge=class{constructor(t,i,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){U(this,t)}};var Ht=ye.litHtmlPolyfillSupport;Ht?.(te,pe),(ye.litHtmlVersions??=[]).push("3.3.3");var ze=Symbol.for(""),Pt=e=>{if(e?.r===ze)return e?._$litStatic$},_e=e=>({_$litStatic$:e,r:ze});var Ge=new Map,Ee=e=>(t,...i)=>{let r=i.length,o,p,l=[],m=[],f,x=0,y=!1;for(;x<r;){for(f=t[x];x<r&&(p=i[x],(o=Pt(p))!==void 0);)f+=o+t[++x],y=!0;x!==r&&m.push(p),l.push(f),x++}if(x===r&&l.push(t[r]),y){let h=l.join("$$lit$$");(t=Ge.get(h))===void 0&&(l.raw=l,Ge.set(h,t=l)),i=m}return e(t,...i)},Se=Ee(Be),wt=Ee(We),Gt=Ee(Ue);var ue=c(le()),rt=c(T());var W;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button"})(W||(W={}));var E=c(G()),n=c(T()),je=n.FtCssVariableFactory.extend("--ft-typography-font-family","",n.designSystemVariables.titleFont),$=n.FtCssVariableFactory.extend("--ft-typography-font-family","",n.designSystemVariables.contentFont),s={fontFamily:$,fontSize:n.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:n.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:n.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:n.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:n.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},z={fontFamily:n.FtCssVariableFactory.extend("--ft-typography-title-font-family","",je),fontSize:n.FtCssVariableFactory.extend("--ft-typography-title-font-size","",s.fontSize,"20px"),fontWeight:n.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",s.fontWeight,"normal"),letterSpacing:n.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",s.letterSpacing,"0.15px"),lineHeight:n.FtCssVariableFactory.extend("--ft-typography-title-line-height","",s.lineHeight,"1.2"),textTransform:n.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",s.textTransform,"inherit")},K={fontFamily:n.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",je),fontSize:n.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",s.fontSize,"14px"),fontWeight:n.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",s.fontWeight,"normal"),letterSpacing:n.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",s.letterSpacing,"0.105px"),lineHeight:n.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",s.lineHeight,"1.7"),textTransform:n.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",s.textTransform,"inherit")},V={fontFamily:n.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",$),fontSize:n.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",s.fontSize,"16px"),fontWeight:n.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",s.fontWeight,"600"),letterSpacing:n.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",s.letterSpacing,"0.144px"),lineHeight:n.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",s.lineHeight,"1.5"),textTransform:n.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",s.textTransform,"inherit")},j={fontFamily:n.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",$),fontSize:n.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",s.fontSize,"14px"),fontWeight:n.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",s.fontWeight,"normal"),letterSpacing:n.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",s.letterSpacing,"0.098px"),lineHeight:n.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",s.lineHeight,"1.7"),textTransform:n.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",s.textTransform,"inherit")},Y={fontFamily:n.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",$),fontSize:n.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",s.fontSize,"16px"),fontWeight:n.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",s.fontWeight,"normal"),letterSpacing:n.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",s.letterSpacing,"0.496px"),lineHeight:n.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",s.lineHeight,"1.5"),textTransform:n.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",s.textTransform,"inherit")},X={fontFamily:n.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",$),fontSize:n.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",s.fontSize,"14px"),fontWeight:n.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",s.fontWeight,"normal"),letterSpacing:n.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",s.letterSpacing,"0.252px"),lineHeight:n.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",s.lineHeight,"1.4"),textTransform:n.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",s.textTransform,"inherit")},Z={fontFamily:n.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",$),fontSize:n.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",s.fontSize,"12px"),fontWeight:n.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",s.fontWeight,"normal"),letterSpacing:n.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",s.letterSpacing,"0.396px"),lineHeight:n.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",s.lineHeight,"1.33"),textTransform:n.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",s.textTransform,"inherit")},k={fontFamily:n.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",$),fontSize:n.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",s.fontSize,"10px"),fontWeight:n.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",s.fontWeight,"normal"),letterSpacing:n.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",s.letterSpacing,"0.33px"),lineHeight:n.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",s.lineHeight,"1.6"),textTransform:n.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",s.textTransform,"inherit")},J={fontFamily:n.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",$),fontSize:n.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",s.fontSize,"10px"),fontWeight:n.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",s.fontWeight,"normal"),letterSpacing:n.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",s.letterSpacing,"1.5px"),lineHeight:n.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",s.lineHeight,"1.6"),textTransform:n.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",s.textTransform,"uppercase")},Q={fontFamily:n.FtCssVariableFactory.extend("--ft-typography-button-font-family","",$),fontSize:n.FtCssVariableFactory.extend("--ft-typography-button-font-size","",s.fontSize,"14px"),fontWeight:n.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",s.fontWeight,"600"),letterSpacing:n.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",s.letterSpacing,"1.246px"),lineHeight:n.FtCssVariableFactory.extend("--ft-typography-button-line-height","",s.lineHeight,"1.15"),textTransform:n.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",s.textTransform,"uppercase")},Ye=E.css`
|
|
1
|
+
"use strict";(()=>{var Tt=Object.create;var be=Object.defineProperty;var bt=Object.getOwnPropertyDescriptor;var $t=Object.getOwnPropertyNames;var Ot=Object.getPrototypeOf,Nt=Object.prototype.hasOwnProperty;var q=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(i){throw t=0,i}};var Rt=(e,t,i,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of $t(t))!Nt.call(e,a)&&a!==i&&be(e,a,{get:()=>t[a],enumerable:!(o=bt(t,a))||o.enumerable});return e};var c=(e,t,i)=>(i=e!=null?Tt(Ot(e)):{},Rt(t||!e||!e.__esModule?be(i,"default",{value:e,enumerable:!0}):i,e));var T=q((Mt,$e)=>{$e.exports=ftGlobals.wcUtils});var le=q((jt,Ke)=>{Ke.exports=ftGlobals.litDecorators});var Q=q((Xt,Ve)=>{Ve.exports=ftGlobals.lit});var xt=q((fi,ft)=>{ft.exports=ftGlobals.litUnsafeHTML});var ct=q((Ni,yt)=>{yt.exports=ftGlobals.litClassMap});var St=c(T());var L;(function(e){e.info="info",e.warning="warning",e.error="error",e.success="success"})(L||(L={}));var ye=globalThis,Oe=e=>e,ae=ye.trustedTypes,Ne=ae?ae.createPolicy("lit-html",{createHTML:e=>e}):void 0,He="$lit$",v=`lit$${Math.random().toFixed(9).slice(2)}$`,Pe="?"+v,Ct=`<${Pe}>`,B=document,ne=()=>B.createComment(""),F=e=>e===null||typeof e!="object"&&typeof e!="function",ce=Array.isArray,Lt=e=>ce(e)||typeof e?.[Symbol.iterator]=="function",fe=`[
|
|
2
|
+
\f\r]`,I=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Re=/-->/g,Ce=/>/g,P=RegExp(`>|${fe}(?:([^\\s"'>=/]+)(${fe}*=${fe}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Le=/'/g,ve=/"/g,Me=/^(?:script|style|textarea|title)$/i,Ae=e=>(t,...i)=>({_$litType$:e,strings:t,values:i}),Be=Ae(1),We=Ae(2),Ue=Ae(3),ee=Symbol.for("lit-noChange"),A=Symbol.for("lit-nothing"),De=new WeakMap,M=B.createTreeWalker(B,129);function we(e,t){if(!ce(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ne!==void 0?Ne.createHTML(t):t}var vt=(e,t)=>{let i=e.length-1,o=[],a,p=t===2?"<svg>":t===3?"<math>":"",s=I;for(let d=0;d<i;d++){let f=e[d],x,y,h=-1,b=0;for(;b<f.length&&(s.lastIndex=b,y=s.exec(f),y!==null);)b=s.lastIndex,s===I?y[1]==="!--"?s=Re:y[1]!==void 0?s=Ce:y[2]!==void 0?(Me.test(y[2])&&(a=RegExp("</"+y[2],"g")),s=P):y[3]!==void 0&&(s=P):s===P?y[0]===">"?(s=a??I,h=-1):y[1]===void 0?h=-2:(h=s.lastIndex-y[2].length,x=y[1],s=y[3]===void 0?P:y[3]==='"'?ve:Le):s===ve||s===Le?s=P:s===Re||s===Ce?s=I:(s=P,a=void 0);let C=s===P&&e[d+1].startsWith("/>")?" ":"";p+=s===I?f+Ct:h>=0?(o.push(x),f.slice(0,h)+He+f.slice(h)+v+C):f+v+(h===-2?d:C)}return[we(e,p+(e[i]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},te=class e{constructor({strings:t,_$litType$:i},o){let a;this.parts=[];let p=0,s=0,d=t.length-1,f=this.parts,[x,y]=vt(t,i);if(this.el=e.createElement(x,o),M.currentNode=this.el.content,i===2||i===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=M.nextNode())!==null&&f.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(He)){let b=y[s++],C=a.getAttribute(h).split(v),re=/([.?@])?(.*)/.exec(b);f.push({type:1,index:p,name:re[2],strings:C,ctor:re[1]==="."?he:re[1]==="?"?de:re[1]==="@"?me:J}),a.removeAttribute(h)}else h.startsWith(v)&&(f.push({type:6,index:p}),a.removeAttribute(h));if(Me.test(a.tagName)){let h=a.textContent.split(v),b=h.length-1;if(b>0){a.textContent=ae?ae.emptyScript:"";for(let C=0;C<b;C++)a.append(h[C],ne()),M.nextNode(),f.push({type:2,index:++p});a.append(h[b],ne())}}}else if(a.nodeType===8)if(a.data===Pe)f.push({type:2,index:p});else{let h=-1;for(;(h=a.data.indexOf(v,h+1))!==-1;)f.push({type:7,index:p}),h+=v.length-1}p++}}static createElement(t,i){let o=B.createElement("template");return o.innerHTML=t,o}};function k(e,t,i=e,o){if(t===ee)return t;let a=o!==void 0?i._$Co?.[o]:i._$Cl,p=F(t)?void 0:t._$litDirective$;return a?.constructor!==p&&(a?._$AO?.(!1),p===void 0?a=void 0:(a=new p(e),a._$AT(e,i,o)),o!==void 0?(i._$Co??=[])[o]=a:i._$Cl=a),a!==void 0&&(t=k(e,a._$AS(e,t.values),a,o)),t}var xe=class{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:i},parts:o}=this._$AD,a=(t?.creationScope??B).importNode(i,!0);M.currentNode=a;let p=M.nextNode(),s=0,d=0,f=o[0];for(;f!==void 0;){if(s===f.index){let x;f.type===2?x=new pe(p,p.nextSibling,this,t):f.type===1?x=new f.ctor(p,f.name,f.strings,this,t):f.type===6&&(x=new ge(p,this,t)),this._$AV.push(x),f=o[++d]}s!==f?.index&&(p=M.nextNode(),s++)}return M.currentNode=B,a}p(t){let i=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,i),i+=o.strings.length-2):o._$AI(t[i])),i++}},pe=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,o,a){this.type=2,this._$AH=A,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=o,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,i=this._$AM;return i!==void 0&&t?.nodeType===11&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=k(this,t,i),F(t)?t===A||t==null||t===""?(this._$AH!==A&&this._$AR(),this._$AH=A):t!==this._$AH&&t!==ee&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Lt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==A&&F(this._$AH)?this._$AA.nextSibling.data=t:this.T(B.createTextNode(t)),this._$AH=t}$(t){let{values:i,_$litType$:o}=t,a=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=te.createElement(we(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===a)this._$AH.p(i);else{let p=new xe(a,this),s=p.u(this.options);p.p(i),this.T(s),this._$AH=p}}_$AC(t){let i=De.get(t.strings);return i===void 0&&De.set(t.strings,i=new te(t)),i}k(t){ce(this._$AH)||(this._$AH=[],this._$AR());let i=this._$AH,o,a=0;for(let p of t)a===i.length?i.push(o=new e(this.O(ne()),this.O(ne()),this,this.options)):o=i[a],o._$AI(p),a++;a<i.length&&(this._$AR(o&&o._$AB.nextSibling,a),i.length=a)}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t!==this._$AB;){let o=Oe(t).nextSibling;Oe(t).remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},J=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,o,a,p){this.type=1,this._$AH=A,this._$AN=void 0,this.element=t,this.name=i,this._$AM=a,this.options=p,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=A}_$AI(t,i=this,o,a){let p=this.strings,s=!1;if(p===void 0)t=k(this,t,i,0),s=!F(t)||t!==this._$AH&&t!==ee,s&&(this._$AH=t);else{let d=t,f,x;for(t=p[0],f=0;f<p.length-1;f++)x=k(this,d[o+f],i,f),x===ee&&(x=this._$AH[f]),s||=!F(x)||x!==this._$AH[f],x===A?t=A:t!==A&&(t+=(x??"")+p[f+1]),this._$AH[f]=x}s&&!a&&this.j(t)}j(t){t===A?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},he=class extends J{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===A?void 0:t}},de=class extends J{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==A)}},me=class extends J{constructor(t,i,o,a,p){super(t,i,o,a,p),this.type=5}_$AI(t,i=this){if((t=k(this,t,i,0)??A)===ee)return;let o=this._$AH,a=t===A&&o!==A||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,p=t!==A&&(o===A||a);a&&this.element.removeEventListener(this.name,this,o),p&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ge=class{constructor(t,i,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){k(this,t)}};var Dt=ye.litHtmlPolyfillSupport;Dt?.(te,pe),(ye.litHtmlVersions??=[]).push("3.3.3");var ze=Symbol.for(""),Ht=e=>{if(e?.r===ze)return e?._$litStatic$},_e=e=>({_$litStatic$:e,r:ze});var Ge=new Map,Ee=e=>(t,...i)=>{let o=i.length,a,p,s=[],d=[],f,x=0,y=!1;for(;x<o;){for(f=t[x];x<o&&(p=i[x],(a=Ht(p))!==void 0);)f+=a+t[++x],y=!0;x!==o&&d.push(p),s.push(f),x++}if(x===o&&s.push(t[o]),y){let h=s.join("$$lit$$");(t=Ge.get(h))===void 0&&(s.raw=s,Ge.set(h,t=s)),i=d}return e(t,...i)},ue=Ee(Be),wt=Ee(We),Gt=Ee(Ue);var Se=c(le()),ot=c(T());var W;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button"})(W||(W={}));var E=c(Q()),r=c(T()),je=r.FtCssVariableFactory.extend("--ft-typography-font-family","",r.designSystemVariables.titleFont),$=r.FtCssVariableFactory.extend("--ft-typography-font-family","",r.designSystemVariables.contentFont),l={fontFamily:$,fontSize:r.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit"),textDecoration:r.FtCssVariableFactory.create("--ft-typography-text-decoration","","UNKNOWN","inherit")},U={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-title-font-family","",je),fontSize:r.FtCssVariableFactory.extend("--ft-typography-title-font-size","",l.fontSize,"20px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",l.letterSpacing,"0.15px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-title-line-height","",l.lineHeight,"1.2"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",l.textTransform,"inherit"),textDecoration:r.FtCssVariableFactory.extend("--ft-typography-title-text-decoration","",l.textDecoration,"inherit")},w={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",je),fontSize:r.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",l.fontSize,"14px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",l.letterSpacing,"0.105px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",l.lineHeight,"1.7"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",l.textTransform,"inherit"),textDecoration:r.FtCssVariableFactory.extend("--ft-typography-title-dense-text-decoration","",l.textDecoration,"inherit")},G={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",$),fontSize:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",l.fontSize,"16px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",l.fontWeight,"600"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",l.letterSpacing,"0.144px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",l.lineHeight,"1.5"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",l.textTransform,"inherit"),textDecoration:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-decoration","",l.textDecoration,"inherit")},z={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",$),fontSize:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",l.fontSize,"14px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",l.letterSpacing,"0.098px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",l.lineHeight,"1.7"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",l.textTransform,"inherit"),textDecoration:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-decoration","",l.textDecoration,"inherit")},K={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",$),fontSize:r.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",l.fontSize,"16px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",l.letterSpacing,"0.496px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",l.lineHeight,"1.5"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",l.textTransform,"inherit"),textDecoration:r.FtCssVariableFactory.extend("--ft-typography-body1-text-decoration","",l.textDecoration,"inherit")},V={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",$),fontSize:r.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",l.fontSize,"14px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",l.letterSpacing,"0.252px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",l.lineHeight,"1.4"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",l.textTransform,"inherit"),textDecoration:r.FtCssVariableFactory.extend("--ft-typography-body2-text-decoration","",l.textDecoration,"inherit")},j={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",$),fontSize:r.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",l.fontSize,"12px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",l.letterSpacing,"0.396px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",l.lineHeight,"1.33"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",l.textTransform,"inherit"),textDecoration:r.FtCssVariableFactory.extend("--ft-typography-caption-text-decoration","",l.textDecoration,"inherit")},Y={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",$),fontSize:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",l.fontSize,"10px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",l.letterSpacing,"0.33px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",l.lineHeight,"1.6"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",l.textTransform,"inherit"),textDecoration:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-decoration","",l.textDecoration,"inherit")},X={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",$),fontSize:r.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",l.fontSize,"10px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",l.letterSpacing,"1.5px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",l.lineHeight,"1.6"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",l.textTransform,"uppercase"),textDecoration:r.FtCssVariableFactory.extend("--ft-typography-overline-text-decoration","",l.textDecoration,"inherit")},Z={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-button-font-family","",$),fontSize:r.FtCssVariableFactory.extend("--ft-typography-button-font-size","",l.fontSize,"14px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",l.fontWeight,"600"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",l.letterSpacing,"1.246px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-button-line-height","",l.lineHeight,"1.15"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",l.textTransform,"uppercase"),textDecoration:r.FtCssVariableFactory.extend("--ft-typography-button-text-decoration","",l.textDecoration,"inherit")},Ye=E.css`
|
|
4
4
|
.ft-typography--title {
|
|
5
|
+
font-family: ${U.fontFamily};
|
|
6
|
+
font-size: ${U.fontSize};
|
|
7
|
+
font-weight: ${U.fontWeight};
|
|
8
|
+
letter-spacing: ${U.letterSpacing};
|
|
9
|
+
line-height: ${U.lineHeight};
|
|
10
|
+
text-transform: ${U.textTransform};
|
|
11
|
+
text-decoration: ${U.textDecoration};
|
|
12
|
+
}
|
|
13
|
+
`,Xe=E.css`
|
|
14
|
+
.ft-typography--title-dense {
|
|
15
|
+
font-family: ${w.fontFamily};
|
|
16
|
+
font-size: ${w.fontSize};
|
|
17
|
+
font-weight: ${w.fontWeight};
|
|
18
|
+
letter-spacing: ${w.letterSpacing};
|
|
19
|
+
line-height: ${w.lineHeight};
|
|
20
|
+
text-transform: ${w.textTransform};
|
|
21
|
+
text-decoration: ${w.textDecoration};
|
|
22
|
+
}
|
|
23
|
+
`,Ze=E.css`
|
|
24
|
+
.ft-typography--subtitle1 {
|
|
25
|
+
font-family: ${G.fontFamily};
|
|
26
|
+
font-size: ${G.fontSize};
|
|
27
|
+
font-weight: ${G.fontWeight};
|
|
28
|
+
letter-spacing: ${G.letterSpacing};
|
|
29
|
+
line-height: ${G.lineHeight};
|
|
30
|
+
text-transform: ${G.textTransform};
|
|
31
|
+
text-decoration: ${G.textDecoration};
|
|
32
|
+
}
|
|
33
|
+
`,ke=E.css`
|
|
34
|
+
.ft-typography--subtitle2 {
|
|
5
35
|
font-family: ${z.fontFamily};
|
|
6
36
|
font-size: ${z.fontSize};
|
|
7
37
|
font-weight: ${z.fontWeight};
|
|
8
38
|
letter-spacing: ${z.letterSpacing};
|
|
9
39
|
line-height: ${z.lineHeight};
|
|
10
40
|
text-transform: ${z.textTransform};
|
|
41
|
+
text-decoration: ${z.textDecoration};
|
|
11
42
|
}
|
|
12
|
-
|
|
13
|
-
|
|
43
|
+
|
|
44
|
+
`,Je=E.css`
|
|
45
|
+
.ft-typography--body1 {
|
|
14
46
|
font-family: ${K.fontFamily};
|
|
15
47
|
font-size: ${K.fontSize};
|
|
16
48
|
font-weight: ${K.fontWeight};
|
|
17
49
|
letter-spacing: ${K.letterSpacing};
|
|
18
50
|
line-height: ${K.lineHeight};
|
|
19
51
|
text-transform: ${K.textTransform};
|
|
52
|
+
text-decoration: ${K.textDecoration};
|
|
20
53
|
}
|
|
21
|
-
`,
|
|
22
|
-
.ft-typography--
|
|
54
|
+
`,Qe=E.css`
|
|
55
|
+
.ft-typography--body2 {
|
|
23
56
|
font-family: ${V.fontFamily};
|
|
24
57
|
font-size: ${V.fontSize};
|
|
25
58
|
font-weight: ${V.fontWeight};
|
|
26
59
|
letter-spacing: ${V.letterSpacing};
|
|
27
60
|
line-height: ${V.lineHeight};
|
|
28
61
|
text-transform: ${V.textTransform};
|
|
62
|
+
text-decoration: ${V.textDecoration};
|
|
29
63
|
}
|
|
30
|
-
`,
|
|
31
|
-
.ft-typography--
|
|
64
|
+
`,qe=E.css`
|
|
65
|
+
.ft-typography--caption {
|
|
32
66
|
font-family: ${j.fontFamily};
|
|
33
67
|
font-size: ${j.fontSize};
|
|
34
68
|
font-weight: ${j.fontWeight};
|
|
35
69
|
letter-spacing: ${j.letterSpacing};
|
|
36
70
|
line-height: ${j.lineHeight};
|
|
37
71
|
text-transform: ${j.textTransform};
|
|
72
|
+
text-decoration: ${j.textDecoration};
|
|
38
73
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
.ft-typography--body1 {
|
|
74
|
+
`,Ie=E.css`
|
|
75
|
+
.ft-typography--breadcrumb {
|
|
42
76
|
font-family: ${Y.fontFamily};
|
|
43
77
|
font-size: ${Y.fontSize};
|
|
44
78
|
font-weight: ${Y.fontWeight};
|
|
45
79
|
letter-spacing: ${Y.letterSpacing};
|
|
46
80
|
line-height: ${Y.lineHeight};
|
|
47
81
|
text-transform: ${Y.textTransform};
|
|
82
|
+
text-decoration: ${Y.textDecoration};
|
|
48
83
|
}
|
|
49
|
-
`,
|
|
50
|
-
.ft-typography--
|
|
84
|
+
`,Fe=E.css`
|
|
85
|
+
.ft-typography--overline {
|
|
51
86
|
font-family: ${X.fontFamily};
|
|
52
87
|
font-size: ${X.fontSize};
|
|
53
88
|
font-weight: ${X.fontWeight};
|
|
54
89
|
letter-spacing: ${X.letterSpacing};
|
|
55
90
|
line-height: ${X.lineHeight};
|
|
56
91
|
text-transform: ${X.textTransform};
|
|
92
|
+
text-decoration: ${X.textDecoration};
|
|
57
93
|
}
|
|
58
|
-
`,
|
|
59
|
-
.ft-typography--
|
|
94
|
+
`,et=E.css`
|
|
95
|
+
.ft-typography--button {
|
|
60
96
|
font-family: ${Z.fontFamily};
|
|
61
97
|
font-size: ${Z.fontSize};
|
|
62
98
|
font-weight: ${Z.fontWeight};
|
|
63
99
|
letter-spacing: ${Z.letterSpacing};
|
|
64
100
|
line-height: ${Z.lineHeight};
|
|
65
101
|
text-transform: ${Z.textTransform};
|
|
66
|
-
|
|
67
|
-
`,Ie=E.css`
|
|
68
|
-
.ft-typography--breadcrumb {
|
|
69
|
-
font-family: ${k.fontFamily};
|
|
70
|
-
font-size: ${k.fontSize};
|
|
71
|
-
font-weight: ${k.fontWeight};
|
|
72
|
-
letter-spacing: ${k.letterSpacing};
|
|
73
|
-
line-height: ${k.lineHeight};
|
|
74
|
-
text-transform: ${k.textTransform};
|
|
75
|
-
}
|
|
76
|
-
`,Fe=E.css`
|
|
77
|
-
.ft-typography--overline {
|
|
78
|
-
font-family: ${J.fontFamily};
|
|
79
|
-
font-size: ${J.fontSize};
|
|
80
|
-
font-weight: ${J.fontWeight};
|
|
81
|
-
letter-spacing: ${J.letterSpacing};
|
|
82
|
-
line-height: ${J.lineHeight};
|
|
83
|
-
text-transform: ${J.textTransform};
|
|
84
|
-
}
|
|
85
|
-
`,et=E.css`
|
|
86
|
-
.ft-typography--button {
|
|
87
|
-
font-family: ${Q.fontFamily};
|
|
88
|
-
font-size: ${Q.fontSize};
|
|
89
|
-
font-weight: ${Q.fontWeight};
|
|
90
|
-
letter-spacing: ${Q.letterSpacing};
|
|
91
|
-
line-height: ${Q.lineHeight};
|
|
92
|
-
text-transform: ${Q.textTransform};
|
|
102
|
+
text-decoration: ${Z.textDecoration};
|
|
93
103
|
}
|
|
94
104
|
`,tt=E.css`
|
|
95
105
|
.ft-typography {
|
|
96
106
|
vertical-align: inherit;
|
|
97
107
|
}
|
|
98
|
-
`;var it=function(e,t,i,
|
|
108
|
+
`;var it=function(e,t,i,o){var a=arguments.length,p=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(e,t,i,o);else for(var d=e.length-1;d>=0;d--)(s=e[d])&&(p=(a<3?s(p):a>3?s(t,i,p):s(t,i))||p);return a>3&&p&&Object.defineProperty(t,i,p),p},O=class extends ot.FtLitElement{constructor(){super(...arguments),this.variant=W.body1}render(){return this.element?ue`
|
|
99
109
|
<${_e(this.element)}
|
|
100
110
|
part="text"
|
|
101
111
|
class="ft-typography ft-typography--${this.variant}">
|
|
102
112
|
<slot></slot>
|
|
103
113
|
</${_e(this.element)}>
|
|
104
|
-
`:
|
|
114
|
+
`:ue`
|
|
105
115
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
106
|
-
`}};O.styles=[Ye,Xe,Ze,ke,Je,Qe,qe,Ie,Fe,et,tt];it([(0,
|
|
116
|
+
`}};O.styles=[Ye,Xe,Ze,ke,Je,Qe,qe,Ie,Fe,et,tt];it([(0,Se.property)()],O.prototype,"element",void 0);it([(0,Se.property)()],O.prototype,"variant",void 0);var at=c(T());var rt={"ft-typography":O};(0,at.customElements)(rt);var g=c(T());var nt=c(Q()),S=c(T()),u={size:S.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:S.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",S.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:S.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",S.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:S.FtCssVariableFactory.extend("--ft-icon-material-font-family","",S.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:S.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},pt=[nt.css`
|
|
107
117
|
:host, i.ft-icon {
|
|
108
118
|
display: inline-flex;
|
|
109
119
|
align-items: center;
|
|
@@ -112,14 +122,14 @@
|
|
|
112
122
|
}
|
|
113
123
|
|
|
114
124
|
:host {
|
|
115
|
-
width: ${
|
|
116
|
-
height: ${
|
|
125
|
+
width: ${u.size};
|
|
126
|
+
height: ${u.size};
|
|
117
127
|
}
|
|
118
128
|
|
|
119
129
|
i.ft-icon {
|
|
120
130
|
width: 100%;
|
|
121
131
|
height: 100%;
|
|
122
|
-
font-size: ${
|
|
132
|
+
font-size: ${u.size};
|
|
123
133
|
line-height: 1;
|
|
124
134
|
font-weight: normal;
|
|
125
135
|
text-transform: none;
|
|
@@ -130,28 +140,28 @@
|
|
|
130
140
|
text-rendering: auto;
|
|
131
141
|
-webkit-font-smoothing: antialiased;
|
|
132
142
|
-moz-osx-font-smoothing: grayscale;
|
|
133
|
-
vertical-align: ${
|
|
143
|
+
vertical-align: ${u.verticalAlign};
|
|
134
144
|
}
|
|
135
145
|
|
|
136
146
|
i.ft-icon.ft-icon--fluid-topics {
|
|
137
|
-
font-family: ${
|
|
147
|
+
font-family: ${u.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
138
148
|
|
|
139
149
|
/* Ugly fix because font is broken */
|
|
140
|
-
font-size: calc(0.75 * ${
|
|
141
|
-
line-height: ${
|
|
150
|
+
font-size: calc(0.75 * ${u.size});
|
|
151
|
+
line-height: ${u.size};
|
|
142
152
|
position: relative;
|
|
143
153
|
top: -4%;
|
|
144
154
|
justify-content: center;
|
|
145
155
|
}
|
|
146
156
|
|
|
147
157
|
.ft-icon--file-format {
|
|
148
|
-
font-family: ${
|
|
158
|
+
font-family: ${u.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
149
159
|
}
|
|
150
160
|
|
|
151
161
|
.ft-icon--material {
|
|
152
|
-
font-family: ${
|
|
162
|
+
font-family: ${u.materialFontFamily}, "Material Icons", sans-serif;
|
|
153
163
|
}
|
|
154
|
-
`,
|
|
164
|
+
`,S.noTextSelect];var lt=c(Q()),m={noticeColor:g.FtCssVariableFactory.extend("--ft-notice-color","",g.designSystemVariables.colorPrimary),noticeLabelColor:g.FtCssVariableFactory.extend("--ft-notice-label-color","",g.designSystemVariables.colorOnSurface),noticeIconColor:g.FtCssVariableFactory.extend("--ft-notice-icon-color","",g.designSystemVariables.colorOnPrimary),borderRadius:g.FtCssVariableFactory.external(g.designSystemVariables.borderRadiusS,"Design System"),iconSize:g.FtCssVariableFactory.create("--ft-notice-icon-size","","SIZE","24px"),denseIconSize:g.FtCssVariableFactory.create("--ft-notice-dense-icon-size","","SIZE","16px"),infoColor:g.FtCssVariableFactory.extend("--ft-notice-info-color","",g.designSystemVariables.colorInfo),warningColor:g.FtCssVariableFactory.extend("--ft-notice-warning-color","",g.designSystemVariables.colorWarning),errorColor:g.FtCssVariableFactory.extend("--ft-notice-error-color","",g.designSystemVariables.colorError),successColor:g.FtCssVariableFactory.extend("--ft-notice-success-color","",g.designSystemVariables.colorSuccess)},st=lt.css`
|
|
155
165
|
[part="container"] {
|
|
156
166
|
display: inline-flex;
|
|
157
167
|
align-items: stretch;
|
|
@@ -159,27 +169,27 @@
|
|
|
159
169
|
}
|
|
160
170
|
|
|
161
171
|
ft-icon {
|
|
162
|
-
${
|
|
172
|
+
${u.size.set(m.iconSize)};
|
|
163
173
|
padding: 0 8px;
|
|
164
174
|
display: flex;
|
|
165
175
|
align-self: center;
|
|
166
176
|
}
|
|
167
177
|
|
|
168
178
|
[part="icon"] {
|
|
169
|
-
color: ${
|
|
170
|
-
background-color: ${
|
|
179
|
+
color: ${m.noticeIconColor};
|
|
180
|
+
background-color: ${m.noticeColor};
|
|
171
181
|
display: flex;
|
|
172
182
|
align-items: center;
|
|
173
|
-
border-top-left-radius: ${
|
|
174
|
-
border-bottom-left-radius: ${
|
|
183
|
+
border-top-left-radius: ${m.borderRadius};
|
|
184
|
+
border-bottom-left-radius: ${m.borderRadius};
|
|
175
185
|
}
|
|
176
186
|
|
|
177
187
|
[part="label"] {
|
|
178
|
-
color: ${
|
|
188
|
+
color: ${m.noticeLabelColor};
|
|
179
189
|
padding: 8px;
|
|
180
|
-
border-top-right-radius: ${
|
|
181
|
-
border-bottom-right-radius: ${
|
|
182
|
-
border: 1px solid ${
|
|
190
|
+
border-top-right-radius: ${m.borderRadius};
|
|
191
|
+
border-bottom-right-radius: ${m.borderRadius};
|
|
192
|
+
border: 1px solid ${m.noticeColor};
|
|
183
193
|
}
|
|
184
194
|
|
|
185
195
|
|
|
@@ -187,95 +197,95 @@
|
|
|
187
197
|
[part="icon"] {
|
|
188
198
|
background-color: transparent;
|
|
189
199
|
padding: 0;
|
|
190
|
-
color: ${
|
|
200
|
+
color: ${m.noticeColor};
|
|
191
201
|
}
|
|
192
202
|
|
|
193
203
|
ft-icon {
|
|
194
204
|
padding: 0 4px 0 0;
|
|
195
|
-
${
|
|
205
|
+
${u.size.set(m.denseIconSize)};
|
|
196
206
|
margin-top: 1px;
|
|
197
207
|
}
|
|
198
208
|
|
|
199
209
|
[part="label"] {
|
|
200
210
|
padding: 0;
|
|
201
211
|
border: none;
|
|
202
|
-
color: ${
|
|
212
|
+
color: ${m.noticeColor};
|
|
203
213
|
}
|
|
204
214
|
}
|
|
205
215
|
|
|
206
216
|
.info {
|
|
207
217
|
[part="icon"] {
|
|
208
|
-
background-color: ${
|
|
218
|
+
background-color: ${m.infoColor};
|
|
209
219
|
}
|
|
210
220
|
|
|
211
221
|
[part="label"] {
|
|
212
|
-
border-color: ${
|
|
222
|
+
border-color: ${m.infoColor};
|
|
213
223
|
}
|
|
214
224
|
|
|
215
225
|
&.dense {
|
|
216
226
|
[part="icon"], [part="label"] {
|
|
217
227
|
background-color: transparent;
|
|
218
|
-
color: ${
|
|
228
|
+
color: ${m.infoColor};
|
|
219
229
|
}
|
|
220
230
|
}
|
|
221
231
|
}
|
|
222
232
|
|
|
223
233
|
.warning {
|
|
224
234
|
[part="icon"] {
|
|
225
|
-
background-color: ${
|
|
235
|
+
background-color: ${m.warningColor};
|
|
226
236
|
}
|
|
227
237
|
|
|
228
238
|
[part="label"] {
|
|
229
|
-
border-color: ${
|
|
239
|
+
border-color: ${m.warningColor};
|
|
230
240
|
}
|
|
231
241
|
|
|
232
242
|
&.dense {
|
|
233
243
|
[part="icon"], [part="label"] {
|
|
234
244
|
background-color: transparent;
|
|
235
|
-
color: ${
|
|
245
|
+
color: ${m.warningColor};
|
|
236
246
|
}
|
|
237
247
|
}
|
|
238
248
|
}
|
|
239
249
|
|
|
240
250
|
.error {
|
|
241
251
|
[part="icon"] {
|
|
242
|
-
background-color: ${
|
|
252
|
+
background-color: ${m.errorColor};
|
|
243
253
|
}
|
|
244
254
|
|
|
245
255
|
[part="label"] {
|
|
246
|
-
border-color: ${
|
|
256
|
+
border-color: ${m.errorColor};
|
|
247
257
|
}
|
|
248
258
|
|
|
249
259
|
&.dense {
|
|
250
260
|
[part="icon"], [part="label"] {
|
|
251
261
|
background-color: transparent;
|
|
252
|
-
color: ${
|
|
262
|
+
color: ${m.errorColor};
|
|
253
263
|
}
|
|
254
264
|
}
|
|
255
265
|
}
|
|
256
266
|
|
|
257
267
|
.success {
|
|
258
268
|
[part="icon"] {
|
|
259
|
-
background-color: ${
|
|
269
|
+
background-color: ${m.successColor};
|
|
260
270
|
}
|
|
261
271
|
|
|
262
272
|
[part="label"] {
|
|
263
|
-
border-color: ${
|
|
273
|
+
border-color: ${m.successColor};
|
|
264
274
|
}
|
|
265
275
|
|
|
266
276
|
&.dense {
|
|
267
277
|
[part="icon"], [part="label"] {
|
|
268
278
|
background-color: transparent;
|
|
269
|
-
color: ${
|
|
279
|
+
color: ${m.successColor};
|
|
270
280
|
}
|
|
271
281
|
}
|
|
272
282
|
}
|
|
273
|
-
`;var At=c(T());var
|
|
283
|
+
`;var At=c(T());var D;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(D||(D={}));var ie=c(Q()),H=c(le()),ht=c(T()),dt=c(xt());var N;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.CIRCLE_QUESTION="",e.GRIP_LINES_SOLID="",e.TRANSLATE_SPARKLE_SOLID="",e.CODE="",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",e.PAPER_PLANE_SLASH="",e.COMPRESS="",e.EXPAND="",e.ARROW_ROTATE_LEFT="",e.MOBILE_SMALL="",e.SPARKLES="",e.HAND_SOLID="",e.CLOCK_SOLID="",e.CONTEXT_MENU_CURSOR="",e.LANGUAGE_SLASH="",e.MAGNIFYING_GLASS_FLOPPY_DISK="",e.CABINET_FILING_FLOPPY_DISK="",e.BOOKMARK_SLASH="",e.CIRCLE_PAUSE="",e.CIRCLE_PLAY="",e.CIRCLE_STOP_PLAIN="",e.CIRCLE_ARROW_DOWN="",e.SHARE_NODES="",e.BELL="",e.BELL_SLASH="",e.FILE="",e.HAND="",e.SQUARE_INFO_SOLID="",e.FILE_CODE="",e.BOX_CODE="",e.TOPICS_SOLID="",e.PHOTO_FILM="",e.HYPHEN_SOLID="",e.CROSSHAIRS="",e.PERSON_CHALKBOARD="",e.CIRCLE_ARROW_DOWN_SLASH="",e.BOOK_OPEN_COVER="",e.LIGHTBULB="",e.MESSAGE_BOT_AGENTIC_SOLID="",e.CHART_LINE_USER="",e.SERVER_CIRCLE_ARROW_DOWN="",e.EYE="",e.SHARE="󨃱"})(N||(N={}));var n;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(n||(n={}));var xi=new Map([...["abw"].map(e=>[e,n.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,n.AUDIO]),...["avi"].map(e=>[e,n.AVI]),...["chm","xhs"].map(e=>[e,n.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,n.CODE]),...["csv"].map(e=>[e,n.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,n.DITA]),...["epub"].map(e=>[e,n.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,n.EXCEL]),...["flac"].map(e=>[e,n.FLAC]),...["gif"].map(e=>[e,n.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,n.GZIP]),...["html","htm","xhtml"].map(e=>[e,n.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,n.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,n.JPEG]),...["json"].map(e=>[e,n.JSON]),...["m4a","m4p"].map(e=>[e,n.M4A]),...["mov","qt"].map(e=>[e,n.MOV]),...["mp3"].map(e=>[e,n.MP3]),...["mp4","m4v"].map(e=>[e,n.MP4]),...["ogg","oga"].map(e=>[e,n.OGG]),...["pdf","ps"].map(e=>[e,n.PDF]),...["png"].map(e=>[e,n.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,n.POWERPOINT]),...["rar"].map(e=>[e,n.RAR]),...["stp"].map(e=>[e,n.STP]),...["txt","rtf","md","mdown"].map(e=>[e,n.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,n.VIDEO]),...["wav"].map(e=>[e,n.WAV]),...["wma"].map(e=>[e,n.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,n.WORD]),...["xml","xsl","rdf"].map(e=>[e,n.XML]),...["yaml","yml","x-yaml"].map(e=>[e,n.YAML]),...["zip"].map(e=>[e,n.ZIP])]);var hi={[n.ABW]:"#91ABC6",[n.AUDIO]:"#1795E3",[n.AVI]:"#E63324",[n.CHM]:"#71C3EB",[n.CODE]:"#71C3EB",[n.CSV]:"#1F7345",[n.DITA]:"#71C3EB",[n.EPUB]:"#85B926",[n.EXCEL]:"#1F7345",[n.FLAC]:"#1795E3",[n.GIF]:"#59B031",[n.GZIP]:"#F8AB36",[n.HTML]:"#71C3EB",[n.IMAGE]:"#59B031",[n.JPEG]:"#59B031",[n.JSON]:"#71C3EB",[n.M4A]:"#1795E3",[n.MOV]:"#E63324",[n.MP3]:"#1795E3",[n.MP4]:"#E63324",[n.OGG]:"#1795E3",[n.PDF]:"#E44948",[n.PNG]:"#59B031",[n.POWERPOINT]:"#B54A2B",[n.RAR]:"#F8AB36",[n.STP]:"#3764B1",[n.TEXT]:"#3162AB",[n.UNKNOWN]:"#999999",[n.VIDEO]:"#E63324",[n.WAV]:"#1795E3",[n.WMA]:"#1795E3",[n.WORD]:"#3162AB",[n.XML]:"#71C3EB",[n.YAML]:"#71C3EB",[n.ZIP]:"#F8AB36"};var oe=function(e,t,i,o){var a=arguments.length,p=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(e,t,i,o);else for(var d=e.length-1;d>=0;d--)(s=e[d])&&(p=(a<3?s(p):a>3?s(t,i,p):s(t,i))||p);return a>3&&p&&Object.defineProperty(t,i,p),p},_=class extends ht.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=ie.nothing}render(){let t=this.variant&&Object.values(D).includes(this.variant)?this.variant:D.fluid_topics,i=t!==D.material||!!this.value;return ie.html`
|
|
274
284
|
<i class="ft-icon ft-icon--${t} ft-no-text-select" part="icon icon-${t}">
|
|
275
|
-
${(0,
|
|
285
|
+
${(0,dt.unsafeHTML)(this.resolvedIcon)}
|
|
276
286
|
<slot ?hidden=${i}></slot>
|
|
277
287
|
</i>
|
|
278
|
-
`}getTextContent(){var t,i;return(i=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(
|
|
288
|
+
`}getTextContent(){var t,i;return(i=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&i!==void 0?i:""}update(t){super.update(t),["value","variant"].some(i=>t.has(i))&&this.resolveIcon()}resolveIcon(){var t,i;let o=this.value||this.getTextContent();switch(this.variant){case D.file_format:this.resolvedIcon=(t=n[o.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:o;break;case D.material:this.resolvedIcon=this.value||ie.nothing;break;default:this.resolvedIcon=(i=N[o.replace("-","_").toUpperCase()])!==null&&i!==void 0?i:o;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};_.elementDefinitions={};_.styles=pt;oe([(0,H.property)()],_.prototype,"variant",void 0);oe([(0,H.property)()],_.prototype,"value",void 0);oe([(0,H.property)({reflect:!0,attribute:"aria-hidden"})],_.prototype,"ariaHidden",void 0);oe([(0,H.state)()],_.prototype,"resolvedIcon",void 0);oe([(0,H.query)("slot")],_.prototype,"slottedContent",void 0);var gt=c(T());var mt={"ft-icon":_};(0,gt.customElements)(mt);var se=c(le()),_t=c(Q()),Et=c(ct()),Te=function(e,t,i,o){var a=arguments.length,p=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(e,t,i,o);else for(var d=e.length-1;d>=0;d--)(s=e[d])&&(p=(a<3?s(p):a>3?s(t,i,p):s(t,i))||p);return a>3&&p&&Object.defineProperty(t,i,p),p},R=class extends At.FtLitElement{constructor(){super(...arguments),this.family=L.info,this.dense=!1,this.iconByFamily={[L.info]:N.SQUARE_INFO_SOLID,[L.warning]:N.WARNING,[L.error]:N.CLOSE_PLAIN,[L.success]:N.CHECK_PLAIN}}render(){let t={[this.family]:!0,dense:this.dense};return _t.html`
|
|
279
289
|
<div class="${(0,Et.classMap)(t)}" part="container">
|
|
280
290
|
<div part="icon">
|
|
281
291
|
<ft-icon value="${this.icon||this.iconByFamily[this.family]}"></ft-icon>
|
|
@@ -284,7 +294,7 @@
|
|
|
284
294
|
<slot></slot>
|
|
285
295
|
</ft-typography>
|
|
286
296
|
</div>
|
|
287
|
-
`}get typographyVariant(){return this.dense?W.caption:W.body2}};R.elementDefinitions={"ft-icon":_,"ft-typography":O};R.styles=st;Te([(0,se.property)()],R.prototype,"family",void 0);Te([(0,se.property)({type:Boolean})],R.prototype,"dense",void 0);Te([(0,se.property)({type:String})],R.prototype,"icon",void 0);var
|
|
297
|
+
`}get typographyVariant(){return this.dense?W.caption:W.body2}};R.elementDefinitions={"ft-icon":_,"ft-typography":O};R.styles=st;Te([(0,se.property)()],R.prototype,"family",void 0);Te([(0,se.property)({type:Boolean})],R.prototype,"dense",void 0);Te([(0,se.property)({type:String})],R.prototype,"icon",void 0);var ut={"ft-notice":R};(0,St.customElements)(ut);})();
|
|
288
298
|
/*! Bundled license information:
|
|
289
299
|
|
|
290
300
|
lit-html/lit-html.js:
|