@fluid-topics/ft-notice 2.0.30 → 2.0.32

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,4 +1,4 @@
1
- "use strict";(()=>{var lr=Object.create;var L2=Object.defineProperty;var ir=Object.getOwnPropertyDescriptor;var sr=Object.getOwnPropertyNames;var dr=Object.getPrototypeOf,fr=Object.prototype.hasOwnProperty;var Ze=(t,o)=>()=>(o||t((o={exports:{}}).exports,o),o.exports);var pr=(t,o,a,c)=>{if(o&&typeof o=="object"||typeof o=="function")for(let l of sr(o))!fr.call(t,l)&&l!==a&&L2(t,l,{get:()=>o[l],enumerable:!(c=ir(o,l))||c.enumerable});return t};var O=(t,o,a)=>(a=t!=null?lr(dr(t)):{},pr(o||!t||!t.__esModule?L2(a,"default",{value:t,enumerable:!0}):a,t));var P=Ze((C4,C2)=>{C2.exports=ftGlobals.wcUtils});var ye=Ze((_4,I2)=>{I2.exports=ftGlobals.litDecorators});var B=Ze((k4,B2)=>{B2.exports=ftGlobals.lit});var Ut=Ze((L3,z1)=>{z1.exports=ftGlobals.litUnsafeHTML});var ft=Ze((_3,k1)=>{k1.exports=ftGlobals.litClassMap});var ar=O(P());var re;(function(t){t.info="info",t.warning="warning",t.error="error",t.success="success"})(re||(re={}));var kt=globalThis,lt=kt.trustedTypes,S2=lt?lt.createPolicy("lit-html",{createHTML:t=>t}):void 0,N2="$lit$",ae=`lit$${Math.random().toFixed(9).slice(2)}$`,v2="?"+ae,ur=`<${v2}>`,ge=document,it=()=>ge.createComment(""),je=t=>t===null||typeof t!="object"&&typeof t!="function",Pt=Array.isArray,mr=t=>Pt(t)||typeof t?.[Symbol.iterator]=="function",zt=`[
1
+ "use strict";(()=>{var lr=Object.create;var L2=Object.defineProperty;var ir=Object.getOwnPropertyDescriptor;var sr=Object.getOwnPropertyNames;var dr=Object.getPrototypeOf,fr=Object.prototype.hasOwnProperty;var Ze=(t,o)=>()=>{try{return o||t((o={exports:{}}).exports,o),o.exports}catch(a){throw o=0,a}};var pr=(t,o,a,c)=>{if(o&&typeof o=="object"||typeof o=="function")for(let l of sr(o))!fr.call(t,l)&&l!==a&&L2(t,l,{get:()=>o[l],enumerable:!(c=ir(o,l))||c.enumerable});return t};var O=(t,o,a)=>(a=t!=null?lr(dr(t)):{},pr(o||!t||!t.__esModule?L2(a,"default",{value:t,enumerable:!0}):a,t));var P=Ze((C4,C2)=>{C2.exports=ftGlobals.wcUtils});var ye=Ze((_4,I2)=>{I2.exports=ftGlobals.litDecorators});var B=Ze((k4,B2)=>{B2.exports=ftGlobals.lit});var Ut=Ze((L3,z1)=>{z1.exports=ftGlobals.litUnsafeHTML});var ft=Ze((_3,k1)=>{k1.exports=ftGlobals.litClassMap});var ar=O(P());var re;(function(t){t.info="info",t.warning="warning",t.error="error",t.success="success"})(re||(re={}));var kt=globalThis,lt=kt.trustedTypes,S2=lt?lt.createPolicy("lit-html",{createHTML:t=>t}):void 0,N2="$lit$",ae=`lit$${Math.random().toFixed(9).slice(2)}$`,v2="?"+ae,ur=`<${v2}>`,ge=document,it=()=>ge.createComment(""),je=t=>t===null||typeof t!="object"&&typeof t!="function",Pt=Array.isArray,mr=t=>Pt(t)||typeof t?.[Symbol.iterator]=="function",zt=`[
2
2
  \f\r]`,Ye=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,O2=/-->/g,E2=/>/g,ue=RegExp(`>|${zt}(?:([^\\s"'>=/]+)(${zt}*=${zt}*(?:[^
3
3
  \f\r"'\`<>=]|("|')|))|$)`,"g"),A2=/'/g,z2=/"/g,_2=/^(?:script|style|textarea|title)$/i,wt=t=>(o,...a)=>({_$litType$:t,strings:o,values:a}),M2=wt(1),k2=wt(2),P2=wt(3),Fe=Symbol.for("lit-noChange"),v=Symbol.for("lit-nothing"),R2=new WeakMap,me=ge.createTreeWalker(ge,129);function w2(t,o){if(!Pt(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return S2!==void 0?S2.createHTML(o):o}var gr=(t,o)=>{let a=t.length-1,c=[],l,i=o===2?"<svg>":o===3?"<math>":"",f=Ye;for(let p=0;p<a;p++){let m=t[p],g,b,L=-1,S=0;for(;S<m.length&&(f.lastIndex=S,b=f.exec(m),b!==null);)S=f.lastIndex,f===Ye?b[1]==="!--"?f=O2:b[1]!==void 0?f=E2:b[2]!==void 0?(_2.test(b[2])&&(l=RegExp("</"+b[2],"g")),f=ue):b[3]!==void 0&&(f=ue):f===ue?b[0]===">"?(f=l??Ye,L=-1):b[1]===void 0?L=-2:(L=f.lastIndex-b[2].length,g=b[1],f=b[3]===void 0?ue:b[3]==='"'?z2:A2):f===z2||f===A2?f=ue:f===O2||f===E2?f=Ye:(f=ue,l=void 0);let R=f===ue&&t[p+1].startsWith("/>")?" ":"";i+=f===Ye?m+ur:L>=0?(c.push(g),m.slice(0,L)+N2+m.slice(L)+ae+R):m+ae+(L===-2?p:R)}return[w2(t,i+(t[a]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),c]},Xe=class t{constructor({strings:o,_$litType$:a},c){let l;this.parts=[];let i=0,f=0,p=o.length-1,m=this.parts,[g,b]=gr(o,a);if(this.el=t.createElement(g,c),me.currentNode=this.el.content,a===2||a===3){let L=this.el.content.firstChild;L.replaceWith(...L.childNodes)}for(;(l=me.nextNode())!==null&&m.length<p;){if(l.nodeType===1){if(l.hasAttributes())for(let L of l.getAttributeNames())if(L.endsWith(N2)){let S=b[f++],R=l.getAttribute(L).split(ae),G=/([.?@])?(.*)/.exec(S);m.push({type:1,index:i,name:G[2],strings:R,ctor:G[1]==="."?Nt:G[1]==="?"?vt:G[1]==="@"?_t:Re}),l.removeAttribute(L)}else L.startsWith(ae)&&(m.push({type:6,index:i}),l.removeAttribute(L));if(_2.test(l.tagName)){let L=l.textContent.split(ae),S=L.length-1;if(S>0){l.textContent=lt?lt.emptyScript:"";for(let R=0;R<S;R++)l.append(L[R],it()),me.nextNode(),m.push({type:2,index:++i});l.append(L[S],it())}}}else if(l.nodeType===8)if(l.data===v2)m.push({type:2,index:i});else{let L=-1;for(;(L=l.data.indexOf(ae,L+1))!==-1;)m.push({type:7,index:i}),L+=ae.length-1}i++}}static createElement(o,a){let c=ge.createElement("template");return c.innerHTML=o,c}};function ze(t,o,a=t,c){if(o===Fe)return o;let l=c!==void 0?a._$Co?.[c]:a._$Cl,i=je(o)?void 0:o._$litDirective$;return l?.constructor!==i&&(l?._$AO?.(!1),i===void 0?l=void 0:(l=new i(t),l._$AT(t,a,c)),c!==void 0?(a._$Co??=[])[c]=l:a._$Cl=l),l!==void 0&&(o=ze(t,l._$AS(t,o.values),l,c)),o}var Rt=class{constructor(o,a){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=a}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:a},parts:c}=this._$AD,l=(o?.creationScope??ge).importNode(a,!0);me.currentNode=l;let i=me.nextNode(),f=0,p=0,m=c[0];for(;m!==void 0;){if(f===m.index){let g;m.type===2?g=new st(i,i.nextSibling,this,o):m.type===1?g=new m.ctor(i,m.name,m.strings,this,o):m.type===6&&(g=new Mt(i,this,o)),this._$AV.push(g),m=c[++p]}f!==m?.index&&(i=me.nextNode(),f++)}return me.currentNode=ge,l}p(o){let a=0;for(let c of this._$AV)c!==void 0&&(c.strings!==void 0?(c._$AI(o,c,a),a+=c.strings.length-2):c._$AI(o[a])),a++}},st=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,a,c,l){this.type=2,this._$AH=v,this._$AN=void 0,this._$AA=o,this._$AB=a,this._$AM=c,this.options=l,this._$Cv=l?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,a=this._$AM;return a!==void 0&&o?.nodeType===11&&(o=a.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,a=this){o=ze(this,o,a),je(o)?o===v||o==null||o===""?(this._$AH!==v&&this._$AR(),this._$AH=v):o!==this._$AH&&o!==Fe&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):mr(o)?this.k(o):this._(o)}O(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}T(o){this._$AH!==o&&(this._$AR(),this._$AH=this.O(o))}_(o){this._$AH!==v&&je(this._$AH)?this._$AA.nextSibling.data=o:this.T(ge.createTextNode(o)),this._$AH=o}$(o){let{values:a,_$litType$:c}=o,l=typeof c=="number"?this._$AC(o):(c.el===void 0&&(c.el=Xe.createElement(w2(c.h,c.h[0]),this.options)),c);if(this._$AH?._$AD===l)this._$AH.p(a);else{let i=new Rt(l,this),f=i.u(this.options);i.p(a),this.T(f),this._$AH=i}}_$AC(o){let a=R2.get(o.strings);return a===void 0&&R2.set(o.strings,a=new Xe(o)),a}k(o){Pt(this._$AH)||(this._$AH=[],this._$AR());let a=this._$AH,c,l=0;for(let i of o)l===a.length?a.push(c=new t(this.O(it()),this.O(it()),this,this.options)):c=a[l],c._$AI(i),l++;l<a.length&&(this._$AR(c&&c._$AB.nextSibling,l),a.length=l)}_$AR(o=this._$AA.nextSibling,a){for(this._$AP?.(!1,!0,a);o&&o!==this._$AB;){let c=o.nextSibling;o.remove(),o=c}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},Re=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,a,c,l,i){this.type=1,this._$AH=v,this._$AN=void 0,this.element=o,this.name=a,this._$AM=l,this.options=i,c.length>2||c[0]!==""||c[1]!==""?(this._$AH=Array(c.length-1).fill(new String),this.strings=c):this._$AH=v}_$AI(o,a=this,c,l){let i=this.strings,f=!1;if(i===void 0)o=ze(this,o,a,0),f=!je(o)||o!==this._$AH&&o!==Fe,f&&(this._$AH=o);else{let p=o,m,g;for(o=i[0],m=0;m<i.length-1;m++)g=ze(this,p[c+m],a,m),g===Fe&&(g=this._$AH[m]),f||=!je(g)||g!==this._$AH[m],g===v?o=v:o!==v&&(o+=(g??"")+i[m+1]),this._$AH[m]=g}f&&!l&&this.j(o)}j(o){o===v?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Nt=class extends Re{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===v?void 0:o}},vt=class extends Re{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==v)}},_t=class extends Re{constructor(o,a,c,l,i){super(o,a,c,l,i),this.type=5}_$AI(o,a=this){if((o=ze(this,o,a,0)??v)===Fe)return;let c=this._$AH,l=o===v&&c!==v||o.capture!==c.capture||o.once!==c.once||o.passive!==c.passive,i=o!==v&&(c===v||l);l&&this.element.removeEventListener(this.name,this,c),i&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},Mt=class{constructor(o,a,c){this.element=o,this.type=6,this._$AN=void 0,this._$AM=a,this.options=c}get _$AU(){return this._$AM._$AU}_$AI(o){ze(this,o)}};var yr=kt.litHtmlPolyfillSupport;yr?.(Xe,st),(kt.litHtmlVersions??=[]).push("3.3.0");var T2=Symbol.for(""),hr=t=>{if(t?.r===T2)return t?._$litStatic$},Ne=t=>({_$litStatic$:t,r:T2});var G2=new Map,Gt=t=>(o,...a)=>{let c=a.length,l,i,f=[],p=[],m,g=0,b=!1;for(;g<c;){for(m=o[g];g<c&&(i=a[g],(l=hr(i))!==void 0);)m+=l+o[++g],b=!0;g!==c&&p.push(i),f.push(m),g++}if(g===c&&f.push(o[c]),b){let L=f.join("$$lit$$");(o=G2.get(L))===void 0&&(f.raw=f,G2.set(L,o=f)),a=p}return t(o,...a)},ve=Gt(M2),A4=Gt(k2),z4=Gt(P2);var Tt=O(ye()),Q2=O(P());var he;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"})(he||(he={}));var U=O(B()),h=O(P()),U2=h.FtCssVariableFactory.extend("--ft-typography-font-family","",h.designSystemVariables.titleFont),F=h.FtCssVariableFactory.extend("--ft-typography-font-family","",h.designSystemVariables.contentFont),C={fontFamily:F,fontSize:h.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:h.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:h.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:h.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:h.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},_e={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-title-font-family","",U2),fontSize:h.FtCssVariableFactory.extend("--ft-typography-title-font-size","",C.fontSize,"20px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",C.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",C.letterSpacing,"0.15px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-title-line-height","",C.lineHeight,"1.2"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",C.textTransform,"inherit")},Me={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",U2),fontSize:h.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",C.fontSize,"14px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",C.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",C.letterSpacing,"0.105px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",C.lineHeight,"1.7"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",C.textTransform,"inherit")},ke={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",F),fontSize:h.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",C.fontSize,"16px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",C.fontWeight,"600"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",C.letterSpacing,"0.144px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",C.lineHeight,"1.5"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",C.textTransform,"inherit")},Pe={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",F),fontSize:h.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",C.fontSize,"14px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",C.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",C.letterSpacing,"0.098px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",C.lineHeight,"1.7"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",C.textTransform,"inherit")},we={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",F),fontSize:h.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",C.fontSize,"16px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",C.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",C.letterSpacing,"0.496px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",C.lineHeight,"1.5"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",C.textTransform,"inherit")},Ge={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",F),fontSize:h.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",C.fontSize,"14px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",C.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",C.letterSpacing,"0.252px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",C.lineHeight,"1.4"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",C.textTransform,"inherit")},Te={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",F),fontSize:h.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",C.fontSize,"12px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",C.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",C.letterSpacing,"0.396px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",C.lineHeight,"1.33"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",C.textTransform,"inherit")},Ie={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",F),fontSize:h.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",C.fontSize,"10px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",C.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",C.letterSpacing,"0.33px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",C.lineHeight,"1.6"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",C.textTransform,"inherit")},Be={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",F),fontSize:h.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",C.fontSize,"10px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",C.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",C.letterSpacing,"1.5px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",C.lineHeight,"1.6"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",C.textTransform,"uppercase")},Ue={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-button-font-family","",F),fontSize:h.FtCssVariableFactory.extend("--ft-typography-button-font-size","",C.fontSize,"14px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",C.fontWeight,"600"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",C.letterSpacing,"1.246px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-button-line-height","",C.lineHeight,"1.15"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",C.textTransform,"uppercase")},H2=U.css`
4
4
  .ft-typography--title {