@fluid-topics/ft-announcement 2.1.11 → 2.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- "use strict";(()=>{var Te=Object.create;var Ct=Object.defineProperty;var Se=Object.getOwnPropertyDescriptor;var Ce=Object.getOwnPropertyNames;var we=Object.getPrototypeOf,He=Object.prototype.hasOwnProperty;var et=(i,t)=>()=>{try{return t||i((t={exports:{}}).exports,t),t.exports}catch(e){throw t=0,e}};var Fe=(i,t,e,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Ce(t))!He.call(i,o)&&o!==e&&Ct(i,o,{get:()=>t[o],enumerable:!(n=Se(t,o))||n.enumerable});return i};var y=(i,t,e)=>(e=i!=null?Te(we(i)):{},Fe(t||!i||!i.__esModule?Ct(e,"default",{value:i,enumerable:!0}):e,i));var b=et((je,wt)=>{wt.exports=ftGlobals.wcUtils});var C=et((Be,Ht)=>{Ht.exports=ftGlobals.lit});var D=et((yo,Ft)=>{Ft.exports=ftGlobals.litDecorators});var at=et((Mo,he)=>{he.exports=ftGlobals.litUnsafeHTML});var Ae=y(b());var le=y(b()),fe=y(C());var zt=y(b());var T=class extends Event{constructor(t,e,n,o){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e,this.callback=n,this.subscribe=o??!1}};var z=class{constructor(t,e,n,o){if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(r,s)=>{this.unsubscribe&&(this.unsubscribe!==s&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=r,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(r,s)),this.unsubscribe=s},this.host=t,e.context!==void 0){let r=e;this.context=r.context,this.callback=r.callback,this.subscribe=r.subscribe??!1}else this.context=e,this.callback=n,this.subscribe=o??!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new T(this.context,this.host,this.t,this.subscribe))}};var ot=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){let n=e||!Object.is(t,this.o);this.o=t,n&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:n}]of this.subscriptions)e(this.o,n)},t!==void 0&&(this.value=t)}addCallback(t,e,n){if(!n)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});let{disposer:o}=this.subscriptions.get(t);t(this.value,o)}clearCallbacks(){this.subscriptions.clear()}};var lt=class extends Event{constructor(t,e){super("context-provider",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e}},R=class extends ot{constructor(t,e,n){super(e.context!==void 0?e.initialValue:n),this.onContextRequest=o=>{if(o.context!==this.context)return;let r=o.contextTarget??o.composedPath()[0];r!==this.host&&(o.stopPropagation(),this.addCallback(o.callback,r,o.subscribe))},this.onProviderRequest=o=>{if(o.context!==this.context||(o.contextTarget??o.composedPath()[0])===this.host)return;let r=new Set;for(let[s,{consumerHost:h}]of this.subscriptions)r.has(s)||(r.add(s),h.dispatchEvent(new T(this.context,h,s,!0)));o.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),this.host.addController?.(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new lt(this.context,this.host))}};function ft({context:i}){return(t,e)=>{let n=new WeakMap;if(typeof e=="object")return{get(){return t.get.call(this)},set(o){return n.get(this).setValue(o),t.set.call(this,o)},init(o){return n.set(this,new R(this,{context:i,initialValue:o})),o}};{t.constructor.addInitializer((s=>{n.set(s,new R(s,{context:i}))}));let o=Object.getOwnPropertyDescriptor(t,e),r;if(o===void 0){let s=new WeakMap;r={get(){return s.get(this)},set(h){n.get(this).setValue(h),s.set(this,h)},configurable:!0,enumerable:!0}}else{let s=o.set;r={...o,set(h){n.get(this).setValue(h),s?.call(this,h)}}}return void Object.defineProperty(t,e,r)}}}function ct({context:i,subscribe:t}){return(e,n)=>{typeof n=="object"?n.addInitializer((function(){new z(this,{context:i,callback:o=>{e.set.call(this,o)},subscribe:t})})):e.constructor.addInitializer((o=>{new z(o,{context:i,callback:r=>{o[n]=r},subscribe:t})}))}}var nt=Symbol("announcement-context");var Rt=y(D()),Re=function(i,t,e,n){var o=arguments.length,r=o<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,e):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(i,t,e,n);else for(var h=i.length-1;h>=0;h--)(s=i[h])&&(r=(o<3?s(r):o>3?s(t,e,r):s(t,e))||r);return o>3&&r&&Object.defineProperty(t,e,r),r},x=class extends zt.FtLitElement{};Re([ct({context:nt,subscribe:!0}),(0,Rt.property)({attribute:!1})],x.prototype,"announcement",void 0);var bt=globalThis,it=bt.trustedTypes,Wt=it?it.createPolicy("lit-html",{createHTML:i=>i}):void 0,qt="$lit$",S=`lit$${Math.random().toFixed(9).slice(2)}$`,Mt="?"+S,We=`<${Mt}>`,F=document,rt=()=>F.createComment(""),Z=i=>i===null||typeof i!="object"&&typeof i!="function",$t=Array.isArray,Ee=i=>$t(i)||typeof i?.[Symbol.iterator]=="function",yt=`[
2
- \f\r]`,I=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Et=/-->/g,Nt=/>/g,w=RegExp(`>|${yt}(?:([^\\s"'>=/]+)(${yt}*=${yt}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Pt=/'/g,Vt=/"/g,jt=/^(?:script|style|textarea|title)$/i,vt=i=>(t,...e)=>({_$litType$:i,strings:t,values:e}),Bt=vt(1),Ut=vt(2),Lt=vt(3),G=Symbol.for("lit-noChange"),m=Symbol.for("lit-nothing"),Ot=new WeakMap,H=F.createTreeWalker(F,129);function kt(i,t){if(!$t(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wt!==void 0?Wt.createHTML(t):t}var Ne=(i,t)=>{let e=i.length-1,n=[],o,r=t===2?"<svg>":t===3?"<math>":"",s=I;for(let h=0;h<e;h++){let l=i[h],f,g,c=-1,v=0;for(;v<l.length&&(s.lastIndex=v,g=s.exec(l),g!==null);)v=s.lastIndex,s===I?g[1]==="!--"?s=Et:g[1]!==void 0?s=Nt:g[2]!==void 0?(jt.test(g[2])&&(o=RegExp("</"+g[2],"g")),s=w):g[3]!==void 0&&(s=w):s===w?g[0]===">"?(s=o??I,c=-1):g[1]===void 0?c=-2:(c=s.lastIndex-g[2].length,f=g[1],s=g[3]===void 0?w:g[3]==='"'?Vt:Pt):s===Vt||s===Pt?s=w:s===Et||s===Nt?s=I:(s=w,o=void 0);let A=s===w&&i[h+1].startsWith("/>")?" ":"";r+=s===I?l+We:c>=0?(n.push(f),l.slice(0,c)+qt+l.slice(c)+S+A):l+S+(c===-2?h:A)}return[kt(i,r+(i[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},K=class i{constructor({strings:t,_$litType$:e},n){let o;this.parts=[];let r=0,s=0,h=t.length-1,l=this.parts,[f,g]=Ne(t,e);if(this.el=i.createElement(f,n),H.currentNode=this.el.content,e===2||e===3){let c=this.el.content.firstChild;c.replaceWith(...c.childNodes)}for(;(o=H.nextNode())!==null&&l.length<h;){if(o.nodeType===1){if(o.hasAttributes())for(let c of o.getAttributeNames())if(c.endsWith(qt)){let v=g[s++],A=o.getAttribute(c).split(S),tt=/([.?@])?(.*)/.exec(v);l.push({type:1,index:r,name:tt[2],strings:A,ctor:tt[1]==="."?mt:tt[1]==="?"?dt:tt[1]==="@"?ut:E}),o.removeAttribute(c)}else c.startsWith(S)&&(l.push({type:6,index:r}),o.removeAttribute(c));if(jt.test(o.tagName)){let c=o.textContent.split(S),v=c.length-1;if(v>0){o.textContent=it?it.emptyScript:"";for(let A=0;A<v;A++)o.append(c[A],rt()),H.nextNode(),l.push({type:2,index:++r});o.append(c[v],rt())}}}else if(o.nodeType===8)if(o.data===Mt)l.push({type:2,index:r});else{let c=-1;for(;(c=o.data.indexOf(S,c+1))!==-1;)l.push({type:7,index:r}),c+=S.length-1}r++}}static createElement(t,e){let n=F.createElement("template");return n.innerHTML=t,n}};function W(i,t,e=i,n){if(t===G)return t;let o=n!==void 0?e._$Co?.[n]:e._$Cl,r=Z(t)?void 0:t._$litDirective$;return o?.constructor!==r&&(o?._$AO?.(!1),r===void 0?o=void 0:(o=new r(i),o._$AT(i,e,n)),n!==void 0?(e._$Co??=[])[n]=o:e._$Cl=o),o!==void 0&&(t=W(i,o._$AS(i,t.values),o,n)),t}var gt=class{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){let{el:{content:e},parts:n}=this._$AD,o=(t?.creationScope??F).importNode(e,!0);H.currentNode=o;let r=H.nextNode(),s=0,h=0,l=n[0];for(;l!==void 0;){if(s===l.index){let f;l.type===2?f=new st(r,r.nextSibling,this,t):l.type===1?f=new l.ctor(r,l.name,l.strings,this,t):l.type===6&&(f=new xt(r,this,t)),this._$AV.push(f),l=n[++h]}s!==l?.index&&(r=H.nextNode(),s++)}return H.currentNode=F,o}p(t){let e=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,e),e+=n.strings.length-2):n._$AI(t[e])),e++}},st=class i{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,n,o){this.type=2,this._$AH=m,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=n,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=W(this,t,e),Z(t)?t===m||t==null||t===""?(this._$AH!==m&&this._$AR(),this._$AH=m):t!==this._$AH&&t!==G&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ee(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!==m&&Z(this._$AH)?this._$AA.nextSibling.data=t:this.T(F.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:n}=t,o=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=K.createElement(kt(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===o)this._$AH.p(e);else{let r=new gt(o,this),s=r.u(this.options);r.p(e),this.T(s),this._$AH=r}}_$AC(t){let e=Ot.get(t.strings);return e===void 0&&Ot.set(t.strings,e=new K(t)),e}k(t){$t(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,n,o=0;for(let r of t)o===e.length?e.push(n=new i(this.O(rt()),this.O(rt()),this,this.options)):n=e[o],n._$AI(r),o++;o<e.length&&(this._$AR(n&&n._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},E=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,n,o,r){this.type=1,this._$AH=m,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=m}_$AI(t,e=this,n,o){let r=this.strings,s=!1;if(r===void 0)t=W(this,t,e,0),s=!Z(t)||t!==this._$AH&&t!==G,s&&(this._$AH=t);else{let h=t,l,f;for(t=r[0],l=0;l<r.length-1;l++)f=W(this,h[n+l],e,l),f===G&&(f=this._$AH[l]),s||=!Z(f)||f!==this._$AH[l],f===m?t=m:t!==m&&(t+=(f??"")+r[l+1]),this._$AH[l]=f}s&&!o&&this.j(t)}j(t){t===m?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},mt=class extends E{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===m?void 0:t}},dt=class extends E{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==m)}},ut=class extends E{constructor(t,e,n,o,r){super(t,e,n,o,r),this.type=5}_$AI(t,e=this){if((t=W(this,t,e,0)??m)===G)return;let n=this._$AH,o=t===m&&n!==m||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,r=t!==m&&(n===m||o);o&&this.element.removeEventListener(this.name,this,n),r&&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)}},xt=class{constructor(t,e,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){W(this,t)}};var Pe=bt.litHtmlPolyfillSupport;Pe?.(K,st),(bt.litHtmlVersions??=[]).push("3.3.0");var It=Symbol.for(""),Ve=i=>{if(i?.r===It)return i?._$litStatic$},_t=i=>({_$litStatic$:i,r:It});var Dt=new Map,At=i=>(t,...e)=>{let n=e.length,o,r,s=[],h=[],l,f=0,g=!1;for(;f<n;){for(l=t[f];f<n&&(r=e[f],(o=Ve(r))!==void 0);)l+=o+t[++f],g=!0;f!==n&&h.push(r),s.push(l),f++}if(f===n&&s.push(t[n]),g){let c=s.join("$$lit$$");(t=Dt.get(c))===void 0&&(s.raw=s,Dt.set(c,t=s)),e=h}return i(t,...e)},Tt=At(Bt),$o=At(Ut),vo=At(Lt);var St=y(D()),se=y(b());var $;(function(i){i.title="title",i.title_dense="title-dense",i.subtitle1="subtitle1",i.subtitle2="subtitle2",i.body1="body1",i.body2="body2",i.caption="caption",i.breadcrumb="breadcrumb",i.overline="overline",i.button="button"})($||($={}));var u=y(C()),a=y(b()),Zt=a.FtCssVariableFactory.extend("--ft-typography-font-family","",a.designSystemVariables.titleFont),_=a.FtCssVariableFactory.extend("--ft-typography-font-family","",a.designSystemVariables.contentFont),p={fontFamily:_,fontSize:a.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:a.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:a.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:a.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:a.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},N={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Zt),fontSize:a.FtCssVariableFactory.extend("--ft-typography-title-font-size","",p.fontSize,"20px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",p.letterSpacing,"0.15px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-title-line-height","",p.lineHeight,"1.2"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",p.textTransform,"inherit")},P={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Zt),fontSize:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",p.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",p.letterSpacing,"0.105px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",p.lineHeight,"1.7"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",p.textTransform,"inherit")},V={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",_),fontSize:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",p.fontSize,"16px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",p.fontWeight,"600"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",p.letterSpacing,"0.144px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",p.lineHeight,"1.5"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",p.textTransform,"inherit")},O={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",_),fontSize:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",p.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",p.letterSpacing,"0.098px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",p.lineHeight,"1.7"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",p.textTransform,"inherit")},q={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",_),fontSize:a.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",p.fontSize,"16px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",p.letterSpacing,"0.496px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",p.lineHeight,"1.5"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",p.textTransform,"inherit")},M={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",_),fontSize:a.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",p.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",p.letterSpacing,"0.252px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",p.lineHeight,"1.4"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",p.textTransform,"inherit")},j={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",_),fontSize:a.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",p.fontSize,"12px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",p.letterSpacing,"0.396px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",p.lineHeight,"1.33"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",p.textTransform,"inherit")},B={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",_),fontSize:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",p.fontSize,"10px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",p.letterSpacing,"0.33px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",p.lineHeight,"1.6"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",p.textTransform,"inherit")},U={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",_),fontSize:a.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",p.fontSize,"10px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",p.letterSpacing,"1.5px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",p.lineHeight,"1.6"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",p.textTransform,"uppercase")},L={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-button-font-family","",_),fontSize:a.FtCssVariableFactory.extend("--ft-typography-button-font-size","",p.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",p.fontWeight,"600"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",p.letterSpacing,"1.246px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-button-line-height","",p.lineHeight,"1.15"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",p.textTransform,"uppercase")},Gt=u.css`
1
+ "use strict";(()=>{var Se=Object.create;var Ct=Object.defineProperty;var Ce=Object.getOwnPropertyDescriptor;var we=Object.getOwnPropertyNames;var Fe=Object.getPrototypeOf,He=Object.prototype.hasOwnProperty;var et=(i,t)=>()=>{try{return t||i((t={exports:{}}).exports,t),t.exports}catch(e){throw t=0,e}};var ze=(i,t,e,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of we(t))!He.call(i,o)&&o!==e&&Ct(i,o,{get:()=>t[o],enumerable:!(n=Ce(t,o))||n.enumerable});return i};var g=(i,t,e)=>(e=i!=null?Se(Fe(i)):{},ze(t||!i||!i.__esModule?Ct(e,"default",{value:i,enumerable:!0}):e,i));var b=et((Be,wt)=>{wt.exports=ftGlobals.wcUtils});var C=et((Ue,Ft)=>{Ft.exports=ftGlobals.lit});var D=et((yo,Ht)=>{Ht.exports=ftGlobals.litDecorators});var at=et((jo,le)=>{le.exports=ftGlobals.litUnsafeHTML});var Te=g(b());var fe=g(b()),ce=g(C());var zt=g(b());var T=class extends Event{constructor(t,e,n,o){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e,this.callback=n,this.subscribe=o??!1}};var z=class{constructor(t,e,n,o){if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(r,s)=>{this.unsubscribe&&(this.unsubscribe!==s&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=r,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(r,s)),this.unsubscribe=s},this.host=t,e.context!==void 0){let r=e;this.context=r.context,this.callback=r.callback,this.subscribe=r.subscribe??!1}else this.context=e,this.callback=n,this.subscribe=o??!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new T(this.context,this.host,this.t,this.subscribe))}};var ot=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){let n=e||!Object.is(t,this.o);this.o=t,n&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:n}]of this.subscriptions)e(this.o,n)},t!==void 0&&(this.value=t)}addCallback(t,e,n){if(!n)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});let{disposer:o}=this.subscriptions.get(t);t(this.value,o)}clearCallbacks(){this.subscriptions.clear()}};var lt=class extends Event{constructor(t,e){super("context-provider",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e}},R=class extends ot{constructor(t,e,n){super(e.context!==void 0?e.initialValue:n),this.onContextRequest=o=>{if(o.context!==this.context)return;let r=o.contextTarget??o.composedPath()[0];r!==this.host&&(o.stopPropagation(),this.addCallback(o.callback,r,o.subscribe))},this.onProviderRequest=o=>{if(o.context!==this.context||(o.contextTarget??o.composedPath()[0])===this.host)return;let r=new Set;for(let[s,{consumerHost:h}]of this.subscriptions)r.has(s)||(r.add(s),h.dispatchEvent(new T(this.context,h,s,!0)));o.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),this.host.addController?.(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new lt(this.context,this.host))}};function ft({context:i}){return(t,e)=>{let n=new WeakMap;if(typeof e=="object")return{get(){return t.get.call(this)},set(o){return n.get(this).setValue(o),t.set.call(this,o)},init(o){return n.set(this,new R(this,{context:i,initialValue:o})),o}};{t.constructor.addInitializer((s=>{n.set(s,new R(s,{context:i}))}));let o=Object.getOwnPropertyDescriptor(t,e),r;if(o===void 0){let s=new WeakMap;r={get(){return s.get(this)},set(h){n.get(this).setValue(h),s.set(this,h)},configurable:!0,enumerable:!0}}else{let s=o.set;r={...o,set(h){n.get(this).setValue(h),s?.call(this,h)}}}return void Object.defineProperty(t,e,r)}}}function ct({context:i,subscribe:t}){return(e,n)=>{typeof n=="object"?n.addInitializer((function(){new z(this,{context:i,callback:o=>{e.set.call(this,o)},subscribe:t})})):e.constructor.addInitializer((o=>{new z(o,{context:i,callback:r=>{o[n]=r},subscribe:t})}))}}var nt=Symbol("announcement-context");var Rt=g(D()),We=function(i,t,e,n){var o=arguments.length,r=o<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,e):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(i,t,e,n);else for(var h=i.length-1;h>=0;h--)(s=i[h])&&(r=(o<3?s(r):o>3?s(t,e,r):s(t,e))||r);return o>3&&r&&Object.defineProperty(t,e,r),r},x=class extends zt.FtLitElement{};We([ct({context:nt,subscribe:!0}),(0,Rt.property)({attribute:!1})],x.prototype,"announcement",void 0);var bt=globalThis,Wt=i=>i,it=bt.trustedTypes,Et=it?it.createPolicy("lit-html",{createHTML:i=>i}):void 0,qt="$lit$",S=`lit$${Math.random().toFixed(9).slice(2)}$`,jt="?"+S,Ee=`<${jt}>`,H=document,rt=()=>H.createComment(""),G=i=>i===null||typeof i!="object"&&typeof i!="function",$t=Array.isArray,Ne=i=>$t(i)||typeof i?.[Symbol.iterator]=="function",gt=`[
2
+ \f\r]`,I=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Nt=/-->/g,Pt=/>/g,w=RegExp(`>|${gt}(?:([^\\s"'>=/]+)(${gt}*=${gt}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Vt=/'/g,Ot=/"/g,Bt=/^(?:script|style|textarea|title)$/i,vt=i=>(t,...e)=>({_$litType$:i,strings:t,values:e}),Ut=vt(1),Lt=vt(2),kt=vt(3),Z=Symbol.for("lit-noChange"),m=Symbol.for("lit-nothing"),Mt=new WeakMap,F=H.createTreeWalker(H,129);function Dt(i,t){if(!$t(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return Et!==void 0?Et.createHTML(t):t}var Pe=(i,t)=>{let e=i.length-1,n=[],o,r=t===2?"<svg>":t===3?"<math>":"",s=I;for(let h=0;h<e;h++){let l=i[h],f,y,c=-1,v=0;for(;v<l.length&&(s.lastIndex=v,y=s.exec(l),y!==null);)v=s.lastIndex,s===I?y[1]==="!--"?s=Nt:y[1]!==void 0?s=Pt:y[2]!==void 0?(Bt.test(y[2])&&(o=RegExp("</"+y[2],"g")),s=w):y[3]!==void 0&&(s=w):s===w?y[0]===">"?(s=o??I,c=-1):y[1]===void 0?c=-2:(c=s.lastIndex-y[2].length,f=y[1],s=y[3]===void 0?w:y[3]==='"'?Ot:Vt):s===Ot||s===Vt?s=w:s===Nt||s===Pt?s=I:(s=w,o=void 0);let A=s===w&&i[h+1].startsWith("/>")?" ":"";r+=s===I?l+Ee:c>=0?(n.push(f),l.slice(0,c)+qt+l.slice(c)+S+A):l+S+(c===-2?h:A)}return[Dt(i,r+(i[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},K=class i{constructor({strings:t,_$litType$:e},n){let o;this.parts=[];let r=0,s=0,h=t.length-1,l=this.parts,[f,y]=Pe(t,e);if(this.el=i.createElement(f,n),F.currentNode=this.el.content,e===2||e===3){let c=this.el.content.firstChild;c.replaceWith(...c.childNodes)}for(;(o=F.nextNode())!==null&&l.length<h;){if(o.nodeType===1){if(o.hasAttributes())for(let c of o.getAttributeNames())if(c.endsWith(qt)){let v=y[s++],A=o.getAttribute(c).split(S),tt=/([.?@])?(.*)/.exec(v);l.push({type:1,index:r,name:tt[2],strings:A,ctor:tt[1]==="."?mt:tt[1]==="?"?dt:tt[1]==="@"?ut:E}),o.removeAttribute(c)}else c.startsWith(S)&&(l.push({type:6,index:r}),o.removeAttribute(c));if(Bt.test(o.tagName)){let c=o.textContent.split(S),v=c.length-1;if(v>0){o.textContent=it?it.emptyScript:"";for(let A=0;A<v;A++)o.append(c[A],rt()),F.nextNode(),l.push({type:2,index:++r});o.append(c[v],rt())}}}else if(o.nodeType===8)if(o.data===jt)l.push({type:2,index:r});else{let c=-1;for(;(c=o.data.indexOf(S,c+1))!==-1;)l.push({type:7,index:r}),c+=S.length-1}r++}}static createElement(t,e){let n=H.createElement("template");return n.innerHTML=t,n}};function W(i,t,e=i,n){if(t===Z)return t;let o=n!==void 0?e._$Co?.[n]:e._$Cl,r=G(t)?void 0:t._$litDirective$;return o?.constructor!==r&&(o?._$AO?.(!1),r===void 0?o=void 0:(o=new r(i),o._$AT(i,e,n)),n!==void 0?(e._$Co??=[])[n]=o:e._$Cl=o),o!==void 0&&(t=W(i,o._$AS(i,t.values),o,n)),t}var yt=class{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){let{el:{content:e},parts:n}=this._$AD,o=(t?.creationScope??H).importNode(e,!0);F.currentNode=o;let r=F.nextNode(),s=0,h=0,l=n[0];for(;l!==void 0;){if(s===l.index){let f;l.type===2?f=new st(r,r.nextSibling,this,t):l.type===1?f=new l.ctor(r,l.name,l.strings,this,t):l.type===6&&(f=new xt(r,this,t)),this._$AV.push(f),l=n[++h]}s!==l?.index&&(r=F.nextNode(),s++)}return F.currentNode=H,o}p(t){let e=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,e),e+=n.strings.length-2):n._$AI(t[e])),e++}},st=class i{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,n,o){this.type=2,this._$AH=m,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=n,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=W(this,t,e),G(t)?t===m||t==null||t===""?(this._$AH!==m&&this._$AR(),this._$AH=m):t!==this._$AH&&t!==Z&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ne(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!==m&&G(this._$AH)?this._$AA.nextSibling.data=t:this.T(H.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:n}=t,o=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=K.createElement(Dt(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===o)this._$AH.p(e);else{let r=new yt(o,this),s=r.u(this.options);r.p(e),this.T(s),this._$AH=r}}_$AC(t){let e=Mt.get(t.strings);return e===void 0&&Mt.set(t.strings,e=new K(t)),e}k(t){$t(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,n,o=0;for(let r of t)o===e.length?e.push(n=new i(this.O(rt()),this.O(rt()),this,this.options)):n=e[o],n._$AI(r),o++;o<e.length&&(this._$AR(n&&n._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let n=Wt(t).nextSibling;Wt(t).remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},E=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,n,o,r){this.type=1,this._$AH=m,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=m}_$AI(t,e=this,n,o){let r=this.strings,s=!1;if(r===void 0)t=W(this,t,e,0),s=!G(t)||t!==this._$AH&&t!==Z,s&&(this._$AH=t);else{let h=t,l,f;for(t=r[0],l=0;l<r.length-1;l++)f=W(this,h[n+l],e,l),f===Z&&(f=this._$AH[l]),s||=!G(f)||f!==this._$AH[l],f===m?t=m:t!==m&&(t+=(f??"")+r[l+1]),this._$AH[l]=f}s&&!o&&this.j(t)}j(t){t===m?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},mt=class extends E{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===m?void 0:t}},dt=class extends E{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==m)}},ut=class extends E{constructor(t,e,n,o,r){super(t,e,n,o,r),this.type=5}_$AI(t,e=this){if((t=W(this,t,e,0)??m)===Z)return;let n=this._$AH,o=t===m&&n!==m||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,r=t!==m&&(n===m||o);o&&this.element.removeEventListener(this.name,this,n),r&&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)}},xt=class{constructor(t,e,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){W(this,t)}};var Ve=bt.litHtmlPolyfillSupport;Ve?.(K,st),(bt.litHtmlVersions??=[]).push("3.3.3");var Gt=Symbol.for(""),Oe=i=>{if(i?.r===Gt)return i?._$litStatic$},_t=i=>({_$litStatic$:i,r:Gt});var It=new Map,At=i=>(t,...e)=>{let n=e.length,o,r,s=[],h=[],l,f=0,y=!1;for(;f<n;){for(l=t[f];f<n&&(r=e[f],(o=Oe(r))!==void 0);)l+=o+t[++f],y=!0;f!==n&&h.push(r),s.push(l),f++}if(f===n&&s.push(t[n]),y){let c=s.join("$$lit$$");(t=It.get(c))===void 0&&(s.raw=s,It.set(c,t=s)),e=h}return i(t,...e)},Tt=At(Ut),vo=At(Lt),_o=At(kt);var St=g(D()),ae=g(b());var $;(function(i){i.title="title",i.title_dense="title-dense",i.subtitle1="subtitle1",i.subtitle2="subtitle2",i.body1="body1",i.body2="body2",i.caption="caption",i.breadcrumb="breadcrumb",i.overline="overline",i.button="button"})($||($={}));var u=g(C()),a=g(b()),Zt=a.FtCssVariableFactory.extend("--ft-typography-font-family","",a.designSystemVariables.titleFont),_=a.FtCssVariableFactory.extend("--ft-typography-font-family","",a.designSystemVariables.contentFont),p={fontFamily:_,fontSize:a.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:a.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:a.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:a.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:a.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},N={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Zt),fontSize:a.FtCssVariableFactory.extend("--ft-typography-title-font-size","",p.fontSize,"20px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",p.letterSpacing,"0.15px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-title-line-height","",p.lineHeight,"1.2"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",p.textTransform,"inherit")},P={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Zt),fontSize:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",p.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",p.letterSpacing,"0.105px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",p.lineHeight,"1.7"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",p.textTransform,"inherit")},V={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",_),fontSize:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",p.fontSize,"16px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",p.fontWeight,"600"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",p.letterSpacing,"0.144px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",p.lineHeight,"1.5"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",p.textTransform,"inherit")},O={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",_),fontSize:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",p.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",p.letterSpacing,"0.098px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",p.lineHeight,"1.7"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",p.textTransform,"inherit")},M={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",_),fontSize:a.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",p.fontSize,"16px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",p.letterSpacing,"0.496px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",p.lineHeight,"1.5"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",p.textTransform,"inherit")},q={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",_),fontSize:a.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",p.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",p.letterSpacing,"0.252px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",p.lineHeight,"1.4"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",p.textTransform,"inherit")},j={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",_),fontSize:a.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",p.fontSize,"12px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",p.letterSpacing,"0.396px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",p.lineHeight,"1.33"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",p.textTransform,"inherit")},B={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",_),fontSize:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",p.fontSize,"10px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",p.letterSpacing,"0.33px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",p.lineHeight,"1.6"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",p.textTransform,"inherit")},U={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",_),fontSize:a.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",p.fontSize,"10px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",p.letterSpacing,"1.5px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",p.lineHeight,"1.6"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",p.textTransform,"uppercase")},L={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-button-font-family","",_),fontSize:a.FtCssVariableFactory.extend("--ft-typography-button-font-size","",p.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",p.fontWeight,"600"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",p.letterSpacing,"1.246px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-button-line-height","",p.lineHeight,"1.15"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",p.textTransform,"uppercase")},Kt=u.css`
4
4
  .ft-typography--title {
5
5
  font-family: ${N.fontFamily};
6
6
  font-size: ${N.fontSize};
@@ -9,7 +9,7 @@
9
9
  line-height: ${N.lineHeight};
10
10
  text-transform: ${N.textTransform};
11
11
  }
12
- `,Kt=u.css`
12
+ `,Jt=u.css`
13
13
  .ft-typography--title-dense {
14
14
  font-family: ${P.fontFamily};
15
15
  font-size: ${P.fontSize};
@@ -18,7 +18,7 @@
18
18
  line-height: ${P.lineHeight};
19
19
  text-transform: ${P.textTransform};
20
20
  }
21
- `,Jt=u.css`
21
+ `,Qt=u.css`
22
22
  .ft-typography--subtitle1 {
23
23
  font-family: ${V.fontFamily};
24
24
  font-size: ${V.fontSize};
@@ -27,7 +27,7 @@
27
27
  line-height: ${V.lineHeight};
28
28
  text-transform: ${V.textTransform};
29
29
  }
30
- `,Qt=u.css`
30
+ `,Xt=u.css`
31
31
  .ft-typography--subtitle2 {
32
32
  font-family: ${O.fontFamily};
33
33
  font-size: ${O.fontSize};
@@ -37,17 +37,8 @@
37
37
  text-transform: ${O.textTransform};
38
38
  }
39
39
 
40
- `,Xt=u.css`
41
- .ft-typography--body1 {
42
- font-family: ${q.fontFamily};
43
- font-size: ${q.fontSize};
44
- font-weight: ${q.fontWeight};
45
- letter-spacing: ${q.letterSpacing};
46
- line-height: ${q.lineHeight};
47
- text-transform: ${q.textTransform};
48
- }
49
40
  `,Yt=u.css`
50
- .ft-typography--body2 {
41
+ .ft-typography--body1 {
51
42
  font-family: ${M.fontFamily};
52
43
  font-size: ${M.fontSize};
53
44
  font-weight: ${M.fontWeight};
@@ -56,6 +47,15 @@
56
47
  text-transform: ${M.textTransform};
57
48
  }
58
49
  `,te=u.css`
50
+ .ft-typography--body2 {
51
+ font-family: ${q.fontFamily};
52
+ font-size: ${q.fontSize};
53
+ font-weight: ${q.fontWeight};
54
+ letter-spacing: ${q.letterSpacing};
55
+ line-height: ${q.lineHeight};
56
+ text-transform: ${q.textTransform};
57
+ }
58
+ `,ee=u.css`
59
59
  .ft-typography--caption {
60
60
  font-family: ${j.fontFamily};
61
61
  font-size: ${j.fontSize};
@@ -64,7 +64,7 @@
64
64
  line-height: ${j.lineHeight};
65
65
  text-transform: ${j.textTransform};
66
66
  }
67
- `,ee=u.css`
67
+ `,oe=u.css`
68
68
  .ft-typography--breadcrumb {
69
69
  font-family: ${B.fontFamily};
70
70
  font-size: ${B.fontSize};
@@ -73,7 +73,7 @@
73
73
  line-height: ${B.lineHeight};
74
74
  text-transform: ${B.textTransform};
75
75
  }
76
- `,oe=u.css`
76
+ `,ne=u.css`
77
77
  .ft-typography--overline {
78
78
  font-family: ${U.fontFamily};
79
79
  font-size: ${U.fontSize};
@@ -82,7 +82,7 @@
82
82
  line-height: ${U.lineHeight};
83
83
  text-transform: ${U.textTransform};
84
84
  }
85
- `,ne=u.css`
85
+ `,ie=u.css`
86
86
  .ft-typography--button {
87
87
  font-family: ${L.fontFamily};
88
88
  font-size: ${L.fontSize};
@@ -91,11 +91,11 @@
91
91
  line-height: ${L.lineHeight};
92
92
  text-transform: ${L.textTransform};
93
93
  }
94
- `,ie=u.css`
94
+ `,re=u.css`
95
95
  .ft-typography {
96
96
  vertical-align: inherit;
97
97
  }
98
- `;var re=function(i,t,e,n){var o=arguments.length,r=o<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,e):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(i,t,e,n);else for(var h=i.length-1;h>=0;h--)(s=i[h])&&(r=(o<3?s(r):o>3?s(t,e,r):s(t,e))||r);return o>3&&r&&Object.defineProperty(t,e,r),r},d=class extends se.FtLitElement{constructor(){super(...arguments),this.variant=$.body1}render(){return this.element?Tt`
98
+ `;var se=function(i,t,e,n){var o=arguments.length,r=o<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,e):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(i,t,e,n);else for(var h=i.length-1;h>=0;h--)(s=i[h])&&(r=(o<3?s(r):o>3?s(t,e,r):s(t,e))||r);return o>3&&r&&Object.defineProperty(t,e,r),r},d=class extends ae.FtLitElement{constructor(){super(...arguments),this.variant=$.body1}render(){return this.element?Tt`
99
99
  <${_t(this.element)}
100
100
  part="text"
101
101
  class="ft-typography ft-typography--${this.variant}">
@@ -103,15 +103,15 @@
103
103
  </${_t(this.element)}>
104
104
  `:Tt`
105
105
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
106
- `}};d.styles=[Gt,Kt,Jt,Qt,Xt,Yt,te,ee,oe,ne,ie];re([(0,St.property)()],d.prototype,"element",void 0);re([(0,St.property)()],d.prototype,"variant",void 0);var pe=y(b());var ae={"ft-typography":d};(0,pe.customElements)(ae);var ce=y(at()),J=class extends(0,le.withConditionalVisibility)(x){willUpdate(t){var e;super.willUpdate(t),t.has("announcement")&&(this.isVisible=!!(!((e=this.announcement)===null||e===void 0)&&e.callToAction))}render(){var t;return fe.html`
107
- <ft-typography variant="${$.body1}" part="text">${(0,ce.unsafeHTML)((t=this.announcement)===null||t===void 0?void 0:t.callToAction)}</ft-typography>
108
- `}};J.elementDefinitions={"ft-typography":d};var ye=y(C()),ge=y(D()),pt=y(b());var Oe=function(i,t,e,n){var o=arguments.length,r=o<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,e):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(i,t,e,n);else for(var h=i.length-1;h>=0;h--)(s=i[h])&&(r=(o<3?s(r):o>3?s(t,e,r):s(t,e))||r);return o>3&&r&&Object.defineProperty(t,e,r),r},Q=class extends pt.FtLitElement{render(){return ye.html`
106
+ `}};d.styles=[Kt,Jt,Qt,Xt,Yt,te,ee,oe,ne,ie,re];se([(0,St.property)()],d.prototype,"element",void 0);se([(0,St.property)()],d.prototype,"variant",void 0);var he=g(b());var pe={"ft-typography":d};(0,he.customElements)(pe);var ge=g(at()),J=class extends(0,fe.withConditionalVisibility)(x){willUpdate(t){var e;super.willUpdate(t),t.has("announcement")&&(this.isVisible=!!(!((e=this.announcement)===null||e===void 0)&&e.callToAction))}render(){var t;return ce.html`
107
+ <ft-typography variant="${$.body1}" part="text">${(0,ge.unsafeHTML)((t=this.announcement)===null||t===void 0?void 0:t.callToAction)}</ft-typography>
108
+ `}};J.elementDefinitions={"ft-typography":d};var ye=g(C()),me=g(D()),pt=g(b());var Me=function(i,t,e,n){var o=arguments.length,r=o<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,e):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(i,t,e,n);else for(var h=i.length-1;h>=0;h--)(s=i[h])&&(r=(o<3?s(r):o>3?s(t,e,r):s(t,e))||r);return o>3&&r&&Object.defineProperty(t,e,r),r},Q=class extends pt.FtLitElement{render(){return ye.html`
109
109
  <slot></slot>
110
- `}};Oe([ft({context:nt}),(0,ge.property)({attribute:!1,hasChanged:pt.hasChanged})],Q.prototype,"announcement",void 0);var me=y(C());var de=y(at()),X=class extends x{render(){var t;return me.html`
111
- <ft-typography variant="${$.title}" part="title">${(0,de.unsafeHTML)((t=this.announcement)===null||t===void 0?void 0:t.title)}</ft-typography>
112
- `}};X.elementDefinitions={"ft-typography":d};var ue=y(b()),xe=y(C());var be=y(at()),Y=class extends(0,ue.withConditionalVisibility)(x){willUpdate(t){var e;super.willUpdate(t),t.has("announcement")&&(this.isVisible=!!(!((e=this.announcement)===null||e===void 0)&&e.text))}render(){var t;return xe.html`
113
- <ft-typography variant="${$.body1}" part="text">${(0,be.unsafeHTML)((t=this.announcement)===null||t===void 0?void 0:t.text)}</ft-typography>
114
- `}};Y.elementDefinitions={"ft-typography":d};var ht=y(C());var $e=y(D()),ve=y(b()),qe=function(i,t,e,n){var o=arguments.length,r=o<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,e):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(i,t,e,n);else for(var h=i.length-1;h>=0;h--)(s=i[h])&&(r=(o<3?s(r):o>3?s(t,e,r):s(t,e))||r);return o>3&&r&&Object.defineProperty(t,e,r),r},k=class extends(0,ve.withConditionalVisibility)(x){constructor(){super(...arguments),this.target="_self"}willUpdate(t){var e;super.willUpdate(t),t.has("announcement")&&(this.isVisible=!!(!((e=this.announcement)===null||e===void 0)&&e.link))}render(){var t;return ht.html`
110
+ `}};Me([ft({context:nt}),(0,me.property)({attribute:!1,hasChanged:pt.hasChanged})],Q.prototype,"announcement",void 0);var de=g(C());var ue=g(at()),X=class extends x{render(){var t;return de.html`
111
+ <ft-typography variant="${$.title}" part="title">${(0,ue.unsafeHTML)((t=this.announcement)===null||t===void 0?void 0:t.title)}</ft-typography>
112
+ `}};X.elementDefinitions={"ft-typography":d};var xe=g(b()),be=g(C());var $e=g(at()),Y=class extends(0,xe.withConditionalVisibility)(x){willUpdate(t){var e;super.willUpdate(t),t.has("announcement")&&(this.isVisible=!!(!((e=this.announcement)===null||e===void 0)&&e.text))}render(){var t;return be.html`
113
+ <ft-typography variant="${$.body1}" part="text">${(0,$e.unsafeHTML)((t=this.announcement)===null||t===void 0?void 0:t.text)}</ft-typography>
114
+ `}};Y.elementDefinitions={"ft-typography":d};var ht=g(C());var ve=g(D()),_e=g(b()),qe=function(i,t,e,n){var o=arguments.length,r=o<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,e):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(i,t,e,n);else for(var h=i.length-1;h>=0;h--)(s=i[h])&&(r=(o<3?s(r):o>3?s(t,e,r):s(t,e))||r);return o>3&&r&&Object.defineProperty(t,e,r),r},k=class extends(0,_e.withConditionalVisibility)(x){constructor(){super(...arguments),this.target="_self"}willUpdate(t){var e;super.willUpdate(t),t.has("announcement")&&(this.isVisible=!!(!((e=this.announcement)===null||e===void 0)&&e.link))}render(){var t;return ht.html`
115
115
  <a part="link" href="${(t=this.announcement)===null||t===void 0?void 0:t.link}" target="${this.target}">
116
116
  <slot></slot>
117
117
  </a>
@@ -125,7 +125,7 @@
125
125
  slot {
126
126
  min-height: inherit;
127
127
  }
128
- `;qe([(0,$e.property)()],k.prototype,"target",void 0);var _e={"ft-announcement-call-to-action":J,"ft-announcement-context":Q,"ft-announcement-title":X,"ft-announcement-text":Y,"ft-announcement-link":k};(0,Ae.customElements)(_e);})();
128
+ `;qe([(0,ve.property)()],k.prototype,"target",void 0);var Ae={"ft-announcement-call-to-action":J,"ft-announcement-context":Q,"ft-announcement-title":X,"ft-announcement-text":Y,"ft-announcement-link":k};(0,Te.customElements)(Ae);})();
129
129
  /*! Bundled license information:
130
130
 
131
131
  @lit/context/lib/context-request-event.js: