@fluid-topics/ft-reader-breadcrumbs 2.1.12 → 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 Fl=Object.create;var na=Object.defineProperty;var Wl=Object.getOwnPropertyDescriptor;var Gl=Object.getOwnPropertyNames;var zl=Object.getPrototypeOf,jl=Object.prototype.hasOwnProperty;var Nt=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(o){throw t=0,o}};var Vl=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Gl(t))!jl.call(e,a)&&a!==o&&na(e,a,{get:()=>t[a],enumerable:!(n=Wl(t,a))||n.enumerable});return e};var g=(e,t,o)=>(o=e!=null?Fl(zl(e)):{},Vl(t||!e||!e.__esModule?na(o,"default",{value:e,enumerable:!0}):o,e));var A=Nt((Su,aa)=>{aa.exports=ftGlobals.wcUtils});var _=Nt((Cu,ia)=>{ia.exports=ftGlobals.lit});var q=Nt((Ou,sa)=>{sa.exports=ftGlobals.litDecorators});var la=Nt((Eu,ca)=>{ca.exports=ftGlobals.litRepeat});var ht=Nt((Lu,da)=>{da.exports=ftGlobals.litClassMap});var tl=Nt((bS,el)=>{el.exports=ftGlobals.litUnsafeHTML});var $l=g(A());var ce=g(_()),qe=g(q()),oa=g(la());function zo(e,t,o){return e?t(e):o?.(e)}var Ul=g(ht()),Ye=g(A());var Ka=g(_()),H=g(A());var Xo=globalThis,$r=Xo.trustedTypes,ua=$r?$r.createPolicy("lit-html",{createHTML:e=>e}):void 0,ga="$lit$",Qe=`lit$${Math.random().toFixed(9).slice(2)}$`,ba="?"+Qe,Kl=`<${ba}>`,gt=document,Fr=()=>gt.createComment(""),fr=e=>e===null||typeof e!="object"&&typeof e!="function",Jo=Array.isArray,Zl=e=>Jo(e)||typeof e?.[Symbol.iterator]=="function",jo=`[
2
- \f\r]`,pr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,pa=/-->/g,fa=/>/g,mt=RegExp(`>|${jo}(?:([^\\s"'>=/]+)(${jo}*=${jo}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ha=/'/g,ma=/"/g,xa=/^(?:script|style|textarea|title)$/i,Qo=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),va=Qo(1),Sa=Qo(2),Ca=Qo(3),hr=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),ya=new WeakMap,yt=gt.createTreeWalker(gt,129);function Oa(e,t){if(!Jo(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ua!==void 0?ua.createHTML(t):t}var ql=(e,t)=>{let o=e.length-1,n=[],a,s=t===2?"<svg>":t===3?"<math>":"",c=pr;for(let d=0;d<o;d++){let u=e[d],p,f,h=-1,m=0;for(;m<u.length&&(c.lastIndex=m,f=c.exec(u),f!==null);)m=c.lastIndex,c===pr?f[1]==="!--"?c=pa:f[1]!==void 0?c=fa:f[2]!==void 0?(xa.test(f[2])&&(a=RegExp("</"+f[2],"g")),c=mt):f[3]!==void 0&&(c=mt):c===mt?f[0]===">"?(c=a??pr,h=-1):f[1]===void 0?h=-2:(h=c.lastIndex-f[2].length,p=f[1],c=f[3]===void 0?mt:f[3]==='"'?ma:ha):c===ma||c===ha?c=mt:c===pa||c===fa?c=pr:(c=mt,a=void 0);let y=c===mt&&e[d+1].startsWith("/>")?" ":"";s+=c===pr?u+Kl:h>=0?(n.push(p),u.slice(0,h)+ga+u.slice(h)+Qe+y):u+Qe+(h===-2?d:y)}return[Oa(e,s+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},mr=class e{constructor({strings:t,_$litType$:o},n){let a;this.parts=[];let s=0,c=0,d=t.length-1,u=this.parts,[p,f]=ql(t,o);if(this.el=e.createElement(p,n),yt.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=yt.nextNode())!==null&&u.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(ga)){let m=f[c++],y=a.getAttribute(h).split(Qe),b=/([.?@])?(.*)/.exec(m);u.push({type:1,index:s,name:b[2],strings:y,ctor:b[1]==="."?Ko:b[1]==="?"?Zo:b[1]==="@"?qo:Dt}),a.removeAttribute(h)}else h.startsWith(Qe)&&(u.push({type:6,index:s}),a.removeAttribute(h));if(xa.test(a.tagName)){let h=a.textContent.split(Qe),m=h.length-1;if(m>0){a.textContent=$r?$r.emptyScript:"";for(let y=0;y<m;y++)a.append(h[y],Fr()),yt.nextNode(),u.push({type:2,index:++s});a.append(h[m],Fr())}}}else if(a.nodeType===8)if(a.data===ba)u.push({type:2,index:s});else{let h=-1;for(;(h=a.data.indexOf(Qe,h+1))!==-1;)u.push({type:7,index:s}),h+=Qe.length-1}s++}}static createElement(t,o){let n=gt.createElement("template");return n.innerHTML=t,n}};function It(e,t,o=e,n){if(t===hr)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,s=fr(t)?void 0:t._$litDirective$;return a?.constructor!==s&&(a?._$AO?.(!1),s===void 0?a=void 0:(a=new s(e),a._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(t=It(e,a._$AS(e,t.values),a,n)),t}var Vo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,a=(t?.creationScope??gt).importNode(o,!0);yt.currentNode=a;let s=yt.nextNode(),c=0,d=0,u=n[0];for(;u!==void 0;){if(c===u.index){let p;u.type===2?p=new Wr(s,s.nextSibling,this,t):u.type===1?p=new u.ctor(s,u.name,u.strings,this,t):u.type===6&&(p=new Yo(s,this,t)),this._$AV.push(p),u=n[++d]}c!==u?.index&&(s=yt.nextNode(),c++)}return yt.currentNode=gt,a}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Wr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=F,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=It(this,t,o),fr(t)?t===F||t==null||t===""?(this._$AH!==F&&this._$AR(),this._$AH=F):t!==this._$AH&&t!==hr&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Zl(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!==F&&fr(this._$AH)?this._$AA.nextSibling.data=t:this.T(gt.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=mr.createElement(Oa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let s=new Vo(a,this),c=s.u(this.options);s.p(o),this.T(c),this._$AH=s}}_$AC(t){let o=ya.get(t.strings);return o===void 0&&ya.set(t.strings,o=new mr(t)),o}k(t){Jo(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let s of t)a===o.length?o.push(n=new e(this.O(Fr()),this.O(Fr()),this,this.options)):n=o[a],n._$AI(s),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Dt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,s){this.type=1,this._$AH=F,this._$AN=void 0,this.element=t,this.name=o,this._$AM=a,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=F}_$AI(t,o=this,n,a){let s=this.strings,c=!1;if(s===void 0)t=It(this,t,o,0),c=!fr(t)||t!==this._$AH&&t!==hr,c&&(this._$AH=t);else{let d=t,u,p;for(t=s[0],u=0;u<s.length-1;u++)p=It(this,d[n+u],o,u),p===hr&&(p=this._$AH[u]),c||=!fr(p)||p!==this._$AH[u],p===F?t=F:t!==F&&(t+=(p??"")+s[u+1]),this._$AH[u]=p}c&&!a&&this.j(t)}j(t){t===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Ko=class extends Dt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===F?void 0:t}},Zo=class extends Dt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==F)}},qo=class extends Dt{constructor(t,o,n,a,s){super(t,o,n,a,s),this.type=5}_$AI(t,o=this){if((t=It(this,t,o,0)??F)===hr)return;let n=this._$AH,a=t===F&&n!==F||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==F&&(n===F||a);a&&this.element.removeEventListener(this.name,this,n),s&&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)}},Yo=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){It(this,t)}};var Yl=Xo.litHtmlPolyfillSupport;Yl?.(mr,Wr),(Xo.litHtmlVersions??=[]).push("3.3.0");var Aa=Symbol.for(""),Xl=e=>{if(e?.r===Aa)return e?._$litStatic$},en=e=>({_$litStatic$:e,r:Aa});var Ea=new Map,tn=e=>(t,...o)=>{let n=o.length,a,s,c=[],d=[],u,p=0,f=!1;for(;p<n;){for(u=t[p];p<n&&(s=o[p],(a=Xl(s))!==void 0);)u+=a+t[++p],f=!0;p!==n&&d.push(s),c.push(u),p++}if(p===n&&c.push(t[n]),f){let h=c.join("$$lit$$");(t=Ea.get(h))===void 0&&(c.raw=c,Ea.set(h,t=c)),o=d}return e(t,...o)},rn=tn(va),Pu=tn(Sa),_u=tn(Ca);var on=g(q()),Ha=g(A());var J;(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"})(J||(J={}));var be=g(_()),S=g(A()),wa=S.FtCssVariableFactory.extend("--ft-typography-font-family","",S.designSystemVariables.titleFont),ze=S.FtCssVariableFactory.extend("--ft-typography-font-family","",S.designSystemVariables.contentFont),w={fontFamily:ze,fontSize:S.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:S.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:S.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:S.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:S.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Mt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-title-font-family","",wa),fontSize:S.FtCssVariableFactory.extend("--ft-typography-title-font-size","",w.fontSize,"20px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",w.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",w.letterSpacing,"0.15px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-title-line-height","",w.lineHeight,"1.2"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",w.textTransform,"inherit")},Bt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",wa),fontSize:S.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",w.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",w.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",w.letterSpacing,"0.105px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",w.lineHeight,"1.7"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",w.textTransform,"inherit")},Ut={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ze),fontSize:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",w.fontSize,"16px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",w.fontWeight,"600"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",w.letterSpacing,"0.144px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",w.lineHeight,"1.5"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",w.textTransform,"inherit")},Ht={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ze),fontSize:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",w.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",w.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",w.letterSpacing,"0.098px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",w.lineHeight,"1.7"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",w.textTransform,"inherit")},$t={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ze),fontSize:S.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",w.fontSize,"16px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",w.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",w.letterSpacing,"0.496px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",w.lineHeight,"1.5"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",w.textTransform,"inherit")},ue={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ze),fontSize:S.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",w.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",w.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",w.letterSpacing,"0.252px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",w.lineHeight,"1.4"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",w.textTransform,"inherit")},Ft={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ze),fontSize:S.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",w.fontSize,"12px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",w.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",w.letterSpacing,"0.396px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",w.lineHeight,"1.33"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",w.textTransform,"inherit")},Wt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ze),fontSize:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",w.fontSize,"10px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",w.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",w.letterSpacing,"0.33px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",w.lineHeight,"1.6"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",w.textTransform,"inherit")},Gt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ze),fontSize:S.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",w.fontSize,"10px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",w.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",w.letterSpacing,"1.5px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",w.lineHeight,"1.6"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",w.textTransform,"uppercase")},Be={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ze),fontSize:S.FtCssVariableFactory.extend("--ft-typography-button-font-size","",w.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",w.fontWeight,"600"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",w.letterSpacing,"1.246px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-button-line-height","",w.lineHeight,"1.15"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",w.textTransform,"uppercase")},Ra=be.css`
1
+ "use strict";(()=>{var Wl=Object.create;var oa=Object.defineProperty;var Gl=Object.getOwnPropertyDescriptor;var zl=Object.getOwnPropertyNames;var jl=Object.getPrototypeOf,Vl=Object.prototype.hasOwnProperty;var Nt=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(o){throw t=0,o}};var Kl=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of zl(t))!Vl.call(e,a)&&a!==o&&oa(e,a,{get:()=>t[a],enumerable:!(n=Gl(t,a))||n.enumerable});return e};var y=(e,t,o)=>(o=e!=null?Wl(jl(e)):{},Kl(t||!e||!e.__esModule?oa(o,"default",{value:e,enumerable:!0}):o,e));var A=Nt((Cu,na)=>{na.exports=ftGlobals.wcUtils});var _=Nt((Ou,aa)=>{aa.exports=ftGlobals.lit});var q=Nt((Eu,ia)=>{ia.exports=ftGlobals.litDecorators});var ca=Nt((Au,sa)=>{sa.exports=ftGlobals.litRepeat});var ht=Nt((Tu,la)=>{la.exports=ftGlobals.litClassMap});var rl=Nt((xS,tl)=>{tl.exports=ftGlobals.litUnsafeHTML});var Fl=y(A());var ce=y(_()),qe=y(q()),ra=y(ca());function zo(e,t,o){return e?t(e):o?.(e)}var Hl=y(ht()),Ye=y(A());var Ka=y(_()),H=y(A());var Xo=globalThis,da=e=>e,$r=Xo.trustedTypes,ua=$r?$r.createPolicy("lit-html",{createHTML:e=>e}):void 0,ga="$lit$",Qe=`lit$${Math.random().toFixed(9).slice(2)}$`,ba="?"+Qe,Zl=`<${ba}>`,gt=document,Fr=()=>gt.createComment(""),pr=e=>e===null||typeof e!="object"&&typeof e!="function",Jo=Array.isArray,ql=e=>Jo(e)||typeof e?.[Symbol.iterator]=="function",jo=`[
2
+ \f\r]`,ur=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,pa=/-->/g,fa=/>/g,mt=RegExp(`>|${jo}(?:([^\\s"'>=/]+)(${jo}*=${jo}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ha=/'/g,ma=/"/g,xa=/^(?:script|style|textarea|title)$/i,Qo=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),va=Qo(1),Sa=Qo(2),Ca=Qo(3),fr=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),ya=new WeakMap,yt=gt.createTreeWalker(gt,129);function Oa(e,t){if(!Jo(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ua!==void 0?ua.createHTML(t):t}var Yl=(e,t)=>{let o=e.length-1,n=[],a,s=t===2?"<svg>":t===3?"<math>":"",c=ur;for(let d=0;d<o;d++){let u=e[d],p,f,h=-1,m=0;for(;m<u.length&&(c.lastIndex=m,f=c.exec(u),f!==null);)m=c.lastIndex,c===ur?f[1]==="!--"?c=pa:f[1]!==void 0?c=fa:f[2]!==void 0?(xa.test(f[2])&&(a=RegExp("</"+f[2],"g")),c=mt):f[3]!==void 0&&(c=mt):c===mt?f[0]===">"?(c=a??ur,h=-1):f[1]===void 0?h=-2:(h=c.lastIndex-f[2].length,p=f[1],c=f[3]===void 0?mt:f[3]==='"'?ma:ha):c===ma||c===ha?c=mt:c===pa||c===fa?c=ur:(c=mt,a=void 0);let g=c===mt&&e[d+1].startsWith("/>")?" ":"";s+=c===ur?u+Zl:h>=0?(n.push(p),u.slice(0,h)+ga+u.slice(h)+Qe+g):u+Qe+(h===-2?d:g)}return[Oa(e,s+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},hr=class e{constructor({strings:t,_$litType$:o},n){let a;this.parts=[];let s=0,c=0,d=t.length-1,u=this.parts,[p,f]=Yl(t,o);if(this.el=e.createElement(p,n),yt.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=yt.nextNode())!==null&&u.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(ga)){let m=f[c++],g=a.getAttribute(h).split(Qe),b=/([.?@])?(.*)/.exec(m);u.push({type:1,index:s,name:b[2],strings:g,ctor:b[1]==="."?Ko:b[1]==="?"?Zo:b[1]==="@"?qo:Dt}),a.removeAttribute(h)}else h.startsWith(Qe)&&(u.push({type:6,index:s}),a.removeAttribute(h));if(xa.test(a.tagName)){let h=a.textContent.split(Qe),m=h.length-1;if(m>0){a.textContent=$r?$r.emptyScript:"";for(let g=0;g<m;g++)a.append(h[g],Fr()),yt.nextNode(),u.push({type:2,index:++s});a.append(h[m],Fr())}}}else if(a.nodeType===8)if(a.data===ba)u.push({type:2,index:s});else{let h=-1;for(;(h=a.data.indexOf(Qe,h+1))!==-1;)u.push({type:7,index:s}),h+=Qe.length-1}s++}}static createElement(t,o){let n=gt.createElement("template");return n.innerHTML=t,n}};function It(e,t,o=e,n){if(t===fr)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,s=pr(t)?void 0:t._$litDirective$;return a?.constructor!==s&&(a?._$AO?.(!1),s===void 0?a=void 0:(a=new s(e),a._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(t=It(e,a._$AS(e,t.values),a,n)),t}var Vo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,a=(t?.creationScope??gt).importNode(o,!0);yt.currentNode=a;let s=yt.nextNode(),c=0,d=0,u=n[0];for(;u!==void 0;){if(c===u.index){let p;u.type===2?p=new Wr(s,s.nextSibling,this,t):u.type===1?p=new u.ctor(s,u.name,u.strings,this,t):u.type===6&&(p=new Yo(s,this,t)),this._$AV.push(p),u=n[++d]}c!==u?.index&&(s=yt.nextNode(),c++)}return yt.currentNode=gt,a}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Wr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=F,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=It(this,t,o),pr(t)?t===F||t==null||t===""?(this._$AH!==F&&this._$AR(),this._$AH=F):t!==this._$AH&&t!==fr&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):ql(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!==F&&pr(this._$AH)?this._$AA.nextSibling.data=t:this.T(gt.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=hr.createElement(Oa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let s=new Vo(a,this),c=s.u(this.options);s.p(o),this.T(c),this._$AH=s}}_$AC(t){let o=ya.get(t.strings);return o===void 0&&ya.set(t.strings,o=new hr(t)),o}k(t){Jo(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let s of t)a===o.length?o.push(n=new e(this.O(Fr()),this.O(Fr()),this,this.options)):n=o[a],n._$AI(s),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t!==this._$AB;){let n=da(t).nextSibling;da(t).remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Dt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,s){this.type=1,this._$AH=F,this._$AN=void 0,this.element=t,this.name=o,this._$AM=a,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=F}_$AI(t,o=this,n,a){let s=this.strings,c=!1;if(s===void 0)t=It(this,t,o,0),c=!pr(t)||t!==this._$AH&&t!==fr,c&&(this._$AH=t);else{let d=t,u,p;for(t=s[0],u=0;u<s.length-1;u++)p=It(this,d[n+u],o,u),p===fr&&(p=this._$AH[u]),c||=!pr(p)||p!==this._$AH[u],p===F?t=F:t!==F&&(t+=(p??"")+s[u+1]),this._$AH[u]=p}c&&!a&&this.j(t)}j(t){t===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Ko=class extends Dt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===F?void 0:t}},Zo=class extends Dt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==F)}},qo=class extends Dt{constructor(t,o,n,a,s){super(t,o,n,a,s),this.type=5}_$AI(t,o=this){if((t=It(this,t,o,0)??F)===fr)return;let n=this._$AH,a=t===F&&n!==F||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==F&&(n===F||a);a&&this.element.removeEventListener(this.name,this,n),s&&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)}},Yo=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){It(this,t)}};var Xl=Xo.litHtmlPolyfillSupport;Xl?.(hr,Wr),(Xo.litHtmlVersions??=[]).push("3.3.3");var Aa=Symbol.for(""),Jl=e=>{if(e?.r===Aa)return e?._$litStatic$},en=e=>({_$litStatic$:e,r:Aa});var Ea=new Map,tn=e=>(t,...o)=>{let n=o.length,a,s,c=[],d=[],u,p=0,f=!1;for(;p<n;){for(u=t[p];p<n&&(s=o[p],(a=Jl(s))!==void 0);)u+=a+t[++p],f=!0;p!==n&&d.push(s),c.push(u),p++}if(p===n&&c.push(t[n]),f){let h=c.join("$$lit$$");(t=Ea.get(h))===void 0&&(c.raw=c,Ea.set(h,t=c)),o=d}return e(t,...o)},rn=tn(va),_u=tn(Sa),Nu=tn(Ca);var on=y(q()),Ha=y(A());var J;(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"})(J||(J={}));var be=y(_()),S=y(A()),wa=S.FtCssVariableFactory.extend("--ft-typography-font-family","",S.designSystemVariables.titleFont),ze=S.FtCssVariableFactory.extend("--ft-typography-font-family","",S.designSystemVariables.contentFont),w={fontFamily:ze,fontSize:S.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:S.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:S.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:S.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:S.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Mt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-title-font-family","",wa),fontSize:S.FtCssVariableFactory.extend("--ft-typography-title-font-size","",w.fontSize,"20px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",w.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",w.letterSpacing,"0.15px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-title-line-height","",w.lineHeight,"1.2"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",w.textTransform,"inherit")},Bt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",wa),fontSize:S.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",w.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",w.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",w.letterSpacing,"0.105px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",w.lineHeight,"1.7"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",w.textTransform,"inherit")},Ut={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ze),fontSize:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",w.fontSize,"16px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",w.fontWeight,"600"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",w.letterSpacing,"0.144px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",w.lineHeight,"1.5"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",w.textTransform,"inherit")},Ht={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ze),fontSize:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",w.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",w.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",w.letterSpacing,"0.098px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",w.lineHeight,"1.7"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",w.textTransform,"inherit")},$t={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ze),fontSize:S.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",w.fontSize,"16px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",w.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",w.letterSpacing,"0.496px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",w.lineHeight,"1.5"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",w.textTransform,"inherit")},ue={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ze),fontSize:S.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",w.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",w.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",w.letterSpacing,"0.252px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",w.lineHeight,"1.4"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",w.textTransform,"inherit")},Ft={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ze),fontSize:S.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",w.fontSize,"12px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",w.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",w.letterSpacing,"0.396px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",w.lineHeight,"1.33"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",w.textTransform,"inherit")},Wt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ze),fontSize:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",w.fontSize,"10px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",w.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",w.letterSpacing,"0.33px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",w.lineHeight,"1.6"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",w.textTransform,"inherit")},Gt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ze),fontSize:S.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",w.fontSize,"10px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",w.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",w.letterSpacing,"1.5px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",w.lineHeight,"1.6"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",w.textTransform,"uppercase")},Be={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ze),fontSize:S.FtCssVariableFactory.extend("--ft-typography-button-font-size","",w.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",w.fontWeight,"600"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",w.letterSpacing,"1.246px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-button-line-height","",w.lineHeight,"1.15"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",w.textTransform,"uppercase")},Ra=be.css`
4
4
  .ft-typography--title {
5
5
  font-family: ${Mt.fontFamily};
6
6
  font-size: ${Mt.fontSize};
@@ -103,8 +103,8 @@
103
103
  </${en(this.element)}>
104
104
  `:rn`
105
105
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
106
- `}};Y.styles=[Ra,La,Ta,ka,Pa,_a,Na,Ia,Da,Ma,Ba];Ua([(0,on.property)()],Y.prototype,"element",void 0);Ua([(0,on.property)()],Y.prototype,"variant",void 0);var Fa=g(A());var $a={"ft-typography":Y};(0,Fa.customElements)($a);var je=g(_(),1),et=e=>typeof e=="string"?(0,je.unsafeCSS)(e):e,r=class{static create(t,o,n,a){let s=d=>et(d??a),c=je.css`var(${et(t)}, ${s(a)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=a,c.defaultCssValue=s,c.set=d=>Wa(c,d??s(a)),c.get=d=>je.css`var(${et(t)}, ${s(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(t,o,n,a){let s=d=>n.get(d??a),c=je.css`var(${et(t)}, ${s(a)})`;return c.name=t,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=s,c.set=d=>Wa(c,d??s(a)),c.get=d=>je.css`var(${et(t)}, ${s(d)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(t,o){let n=s=>t.defaultCssValue(s),a=je.css`var(${et(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=n,a.set=s=>t.set(s),a.get=s=>je.css`var(${et(t.name)}, ${n(s)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Wa(e,t){return et(`${e.name}: ${t}`)}var i={colorWhite:r.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:r.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),opacity4:r.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:r.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:r.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Ju={fontFamily:r.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Qu={fontFamily:r.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},ep={fontFamily:r.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},tp={fontFamily:r.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},rp={fontFamily:r.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},op={fontFamily:r.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},np={fontFamily:r.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},ap={fontFamily:r.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},ip={fontFamily:r.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},sp={fontFamily:r.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},cp={fontFamily:r.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},lp={fontFamily:r.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},dp={fontFamily:r.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},up={fontFamily:r.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},pp={fontFamily:r.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},fp={fontFamily:r.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")};var l={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",i.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",i.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",i.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",i.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",i.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",i.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",i.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",i.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",i.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",i.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",i.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",i.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",i.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",i.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",i.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",i.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",i.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",i.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
107
- Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",i.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",i.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",i.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",i.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",i.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",i.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",i.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",i.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",i.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",i.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",i.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",i.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",i.colorGray50),borderGlobalSecondary:r.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",i.colorGray40),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",i.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",i.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",i.colorGray200)};var Sp={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",i.spacing4),largeGap:r.extend("--ftds-button-large-gap","",i.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",i.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",i.iconSize3),largeBorderWidth:r.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ftds-button-medium-horizontal-padding","",i.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",i.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",i.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",i.iconSize2),mediumBorderWidth:r.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-button-small-horizontal-padding","",i.spacing2),smallGap:r.extend("--ftds-button-small-gap","",i.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",i.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",i.iconSize1),smallBorderWidth:r.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ftds-button-x-small-icon-size","",i.iconSize1),xSmallFocusOutlineOffset:r.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ftds-button-round-border-radius","",i.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",l.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",l.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",l.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",l.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",i.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",i.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",i.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",i.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",l.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",l.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",l.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",l.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",i.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",i.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",i.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",i.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",l.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",l.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",l.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",i.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",i.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",i.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",i.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",l.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",l.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",l.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",i.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",i.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",i.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",i.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",l.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",l.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",l.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",i.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",i.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",i.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",i.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",l.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",l.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",l.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",i.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",i.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",i.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",i.opacity40),tertiaryNeutralBackgroundColor:r.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ftds-button-tertiary-neutral-icon-color","",l.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",l.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",l.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",i.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",i.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",i.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",i.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",l.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",l.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",l.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",i.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",i.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",i.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",i.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",l.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",i.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",i.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",i.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",i.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",l.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",l.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",l.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",l.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",i.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",i.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",i.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",i.opacity40),secondaryInfoBackgroundColor:r.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ftds-button-secondary-info-border-color","",l.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",l.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",l.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",l.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",i.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",i.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",i.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",i.opacity40),secondarySuccessBackgroundColor:r.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ftds-button-secondary-success-border-color","",l.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",l.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",l.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",l.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",i.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",i.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",i.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",i.opacity40),secondaryWarningBackgroundColor:r.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ftds-button-secondary-warning-border-color","",l.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",l.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",l.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",l.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",i.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",i.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",i.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",i.opacity40),secondaryErrorBackgroundColor:r.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ftds-button-secondary-error-border-color","",l.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",l.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",l.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",l.contentErrorPrimary)};var wp={borderRadius:r.extend("--ftds-card-border-radius","",i.borderRadiusS),focusFocusRingColor:r.extend("--ftds-card-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:r.extend("--ftds-card-header-title-horizontal-padding","",i.spacing4),headerTitleVerticalPadding:r.extend("--ftds-card-header-title-vertical-padding","",i.spacing3),headerActionHorizontalPadding:r.extend("--ftds-card-header-action-horizontal-padding","",i.spacing2),headerActionVerticalPadding:r.extend("--ftds-card-header-action-vertical-padding","",i.spacing2),headerActionGap:r.extend("--ftds-card-header-action-gap","",i.spacing1),bodyHorizontalPadding:r.extend("--ftds-card-body-horizontal-padding","",i.spacing4),bodyVerticalPadding:r.extend("--ftds-card-body-vertical-padding","",i.spacing4),footerActionHorizontalPadding:r.extend("--ftds-card-footer-action-horizontal-padding","",i.spacing2),footerActionVerticalPadding:r.extend("--ftds-card-footer-action-vertical-padding","",i.spacing2),footerActionGap:r.extend("--ftds-card-footer-action-gap","",i.spacing1),footerContentHorizontalPadding:r.extend("--ftds-card-footer-content-horizontal-padding","",i.spacing4),footerContentVerticalPadding:r.extend("--ftds-card-footer-content-vertical-padding","",i.spacing3),sideBarHorizontalPadding:r.extend("--ftds-card-side-bar-horizontal-padding","",i.spacing1),sideBarVerticalPadding:r.extend("--ftds-card-side-bar-vertical-padding","",i.spacing1),sideBarGap:r.extend("--ftds-card-side-bar-gap","",i.spacing1),nonSelectableBorderWidth:r.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:r.extend("--ftds-card-non-selectable-state-layer-color","",l.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:r.extend("--ftds-card-non-selectable-default-background-color","",l.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:r.extend("--ftds-card-non-selectable-default-border-color","",l.borderGlobalSecondary),nonSelectableHoverBorderColor:r.extend("--ftds-card-non-selectable-hover-border-color","",l.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:r.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",i.opacity4),nonSelectableFocusBorderColor:r.extend("--ftds-card-non-selectable-focus-border-color","",l.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:r.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",i.opacity4),internalBorderColor:r.extend("--ftds-card-internal-border-color","",l.borderGlobalSecondary),selectableUnselectedBorderWidth:r.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:r.extend("--ftds-card-selectable-unselected-state-layer-color","",l.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:r.extend("--ftds-card-selectable-unselected-default-background-color","",l.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:r.extend("--ftds-card-selectable-unselected-default-border-color","",l.borderGlobalSecondary),selectableUnselectedHoverBorderColor:r.extend("--ftds-card-selectable-unselected-hover-border-color","",l.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:r.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",i.opacity4),selectableUnselectedFocusBorderColor:r.extend("--ftds-card-selectable-unselected-focus-border-color","",l.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:r.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",i.opacity4),selectableSelectedBorderColor:r.extend("--ftds-card-selectable-selected-border-color","",l.borderActionPrimary),selectableSelectedBorderWidth:r.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:r.extend("--ftds-card-selectable-selected-state-layer-color","",l.contentActionPrimary),selectableSelectedBackgroundColor:r.extend("--ftds-card-selectable-selected-background-color","",l.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:r.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",i.opacity4),selectableSelectedHoverStateLayerOpacity:r.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",i.opacity4),selectableSelectedFocusStateLayerOpacity:r.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",i.opacity4),internalBorderWidth:r.create("--ftds-card-internal-border-width","","SIZE","1px")};var Pp={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",i.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",i.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",l.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",l.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",l.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",i.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ftds-tree-list-load-more-active-border-color","",i.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",i.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",i.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",i.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",i.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",i.spacing6),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",i.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",i.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",l.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",l.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",l.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",l.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",l.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",l.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",l.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",l.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",l.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",l.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ftds-tree-list-header-section-padding-left","",i.spacing6),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",i.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",i.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",i.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",l.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",l.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",l.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",l.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",i.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",i.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",i.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",i.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",l.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",l.contentGlobalSecondary)};var Mp={iconSize:r.extend("--ftds-checkbox-icon-size","",i.iconSize2),boxSize:r.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:r.extend("--ftds-checkbox-label-horizontal-gap","",i.spacing1),color:r.extend("--ftds-checkbox-color","",l.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",l.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",l.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",l.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",i.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",i.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",i.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",i.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",i.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",i.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",i.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",i.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",i.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",i.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:r.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",i.spacing3),helperPaddingTop:r.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:r.extend("--ftds-checkbox-helper-icon-size","",i.iconSize2),helperHorizontalGap:r.extend("--ftds-checkbox-helper-horizontal-gap","",i.spacing1),errorUncheckedBorderColor:r.extend("--ftds-checkbox-error-unchecked-border-color","",l.borderErrorPrimary),errorStateLayerColor:r.extend("--ftds-checkbox-error-state-layer-color","",l.contentErrorPrimary),errorHelperTextColor:r.extend("--ftds-checkbox-error-helper-text-color","",l.borderErrorPrimary),errorCheckedBackgroundColor:r.extend("--ftds-checkbox-error-checked-background-color","",l.contentErrorPrimary),helperTextColor:r.extend("--ftds-checkbox-helper-text-color","",l.contentGlobalSubtle),groupVerticalGap:r.extend("--ftds-checkbox-group-vertical-gap","",i.spacing3)};var Fp={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",l.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",l.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",l.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",i.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",i.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",i.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",i.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",l.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",l.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",i.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",i.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",i.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",i.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ftds-radio-vertical-gap","",i.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",i.spacing3)};var Vp={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",l.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",l.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",l.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",l.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",l.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",l.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",i.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",i.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",i.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",i.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",i.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",i.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",l.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",i.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",l.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",i.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",i.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",i.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",i.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",i.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",i.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",i.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",i.spacing1)};var Xp={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",i.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",i.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",l.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",i.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",l.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",l.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",l.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",l.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",i.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",i.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",i.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",l.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",i.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",l.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",l.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",l.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",l.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",l.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",i.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",i.spacing1),largeBorderRadius:r.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-choice-large-icon-size","",i.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",i.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",i.spacing1),mediumBorderRadius:r.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-choice-medium-icon-size","",i.iconSize2)};var rf={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",i.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",i.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",i.spacing1),largeFocusOutlineOffset:r.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-large-icon-size","",i.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",i.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",i.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",i.spacing1),mediumFocusOutlineOffset:r.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-medium-icon-size","",i.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",i.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",i.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",i.spacing1),smallFocusOutlineOffset:r.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ftds-chip-small-icon-size","",i.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",l.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",l.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",l.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",l.borderGlobalSecondary),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",l.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",l.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",l.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",l.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",l.borderErrorSubtle)};var cf={horizontalGap:r.extend("--ftds-chip-group-horizontal-gap","",i.spacing2),verticalGap:r.extend("--ftds-chip-group-vertical-gap","",i.spacing2),countChipDefaultBackgroundColor:r.extend("--ftds-chip-group-count-chip-default-background-color","",i.colorBrand10),countChipDefaultBorderColor:r.extend("--ftds-chip-group-count-chip-default-border-color","",i.colorBrand60),countChipDefaultContentColor:r.extend("--ftds-chip-group-count-chip-default-content-color","",l.contentActionPrimary),countChipHoverBackgroundColor:r.extend("--ftds-chip-group-count-chip-hover-background-color","",i.colorBrand20),countChipHoverBorderColor:r.extend("--ftds-chip-group-count-chip-hover-border-color","",i.colorBrand70),countChipHoverContentColor:r.extend("--ftds-chip-group-count-chip-hover-content-color","",l.contentActionPrimary),countChipFocusedBackgroundColor:r.extend("--ftds-chip-group-count-chip-focused-background-color","",i.colorBrand20),countChipFocusedBorderColor:r.extend("--ftds-chip-group-count-chip-focused-border-color","",i.colorBrand70),countChipFocusedContentColor:r.extend("--ftds-chip-group-count-chip-focused-content-color","",l.contentActionPrimary)};var ff={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",i.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",l.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",l.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",l.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",l.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",l.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",i.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",l.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",l.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",l.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",l.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",l.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",l.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",l.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",l.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",l.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",l.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",i.colorBrand100)};var bf={iconSize:r.extend("--ftds-banner-icon-size","",i.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",i.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",i.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",i.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",i.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",i.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",i.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",i.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",l.borderInfoSubtle)};var Of={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",i.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",i.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",i.borderRadiusPill),color:r.extend("--ftds-badge-color","",l.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",l.contentActionPrimary)};var Lf={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",i.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",l.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",l.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",l.contentGlobalSubtle)};var Nf={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",i.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",i.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",i.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",i.spacing1),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",l.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",l.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",i.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",i.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",i.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",i.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",i.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",i.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",i.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",i.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",i.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",i.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",i.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",i.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",i.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",i.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",i.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",i.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",i.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",l.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Uf={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",i.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",i.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",i.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",i.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",l.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",i.spacing4)};var Wf={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",i.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",i.spacing6)};var Kf={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",i.spacing6),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",i.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",i.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",i.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",i.opacity40),shadow:r.extend("--ftds-modal-shadow","",i.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",i.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",i.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",i.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",i.spacing6),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",l.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",l.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",l.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",i.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",i.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",i.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",i.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ftds-modal-border-radius","",i.borderRadiusM)};var Jf={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",i.opacity40),shadow:r.extend("--ftds-drawer-shadow","",i.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",i.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",i.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",i.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",i.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",l.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",l.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",l.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",i.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",i.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",l.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",l.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",l.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",i.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",i.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",i.spacing3),buttonsBarBorderWidth:r.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ftds-drawer-overlay-background-color","",i.colorGray700)};var oh={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",i.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",i.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",i.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",i.opacity40),offColor:r.extend("--ftds-tabs-off-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",l.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",l.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",i.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",i.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",i.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",i.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",i.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",i.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",i.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",i.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",i.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",i.opacity24),onColor:r.extend("--ftds-tabs-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",l.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",l.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",i.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",i.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",i.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",i.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",l.borderActionFocusRing)};var ch={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",i.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",i.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",i.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",i.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",i.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",i.spacing3),mediumFieldVerticalGap:r.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-text-input-medium-field-icon-size","",i.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",i.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",i.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",i.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",i.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",l.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",l.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-input-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",l.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-text-input-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",i.opacity40)};var fh={backgroundColor:r.extend("--ftds-text-area-background-color","",i.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",l.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-area-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",l.contentErrorIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-area-disabled-component-opacity","",i.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",i.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",i.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",i.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",i.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",i.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",i.borderRadiusS)};var bh={height:r.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",i.spacing4),verticalPadding:r.extend("--ftds-floating-menu-vertical-padding","",i.spacing2),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",l.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",l.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",l.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",i.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",i.opacity24),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",i.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",i.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",i.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",i.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",l.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",i.shadowElevation02),multiselectCheckedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",l.contentActionPrimary),multiselectCheckedColor:r.extend("--ftds-floating-menu-multiselect-checked-color","",l.contentGlobalPrimary),multiselectCheckedIconColor:r.extend("--ftds-floating-menu-multiselect-checked-icon-color","",l.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",i.opacity8),multiselectCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",i.opacity16),multiselectCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",i.opacity24),multiselectIndeterminatedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",l.contentActionPrimary),multiselectIndeterminatedColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-color","",l.contentGlobalPrimary),multiselectIndeterminatedIconColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",l.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",i.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",i.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",i.opacity24),multiselectUncheckedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",l.contentGlobalPrimary),multiselectUncheckedColor:r.extend("--ftds-floating-menu-multiselect-unchecked-color","",l.contentGlobalPrimary),multiselectUncheckedIconColor:r.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",l.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",i.opacity0),multiselectUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",i.opacity8),multiselectUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",i.opacity16),selectAllCheckedStateLayerColor:r.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",l.contentActionPrimary),selectAllCheckedColor:r.extend("--ftds-floating-menu-select-all-checked-color","",l.contentGlobalPrimary),selectAllCheckedIconColor:r.extend("--ftds-floating-menu-select-all-checked-icon-color","",l.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",i.opacity0),selectAllCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",i.opacity16),selectAllCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",i.opacity24),selectAllIndeterminatedStateLayerColor:r.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",l.contentGlobalPrimary),selectAllIndeterminatedColor:r.extend("--ftds-floating-menu-select-all-indeterminated-color","",l.contentGlobalPrimary),selectAllIndeterminatedIconColor:r.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",l.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",i.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",i.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",i.opacity16),selectAllUncheckedStateLayerColor:r.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",l.contentGlobalPrimary),selectAllUncheckedColor:r.extend("--ftds-floating-menu-select-all-unchecked-color","",l.contentGlobalPrimary),selectAllUncheckedIconColor:r.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",l.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",i.opacity0),selectAllUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",i.opacity8),selectAllUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",i.opacity16),defaultUncheckedStateLayerColor:r.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",l.contentGlobalPrimary),defaultUncheckedColor:r.extend("--ftds-floating-menu-default-unchecked-color","",l.contentGlobalPrimary),defaultUncheckedIconColor:r.extend("--ftds-floating-menu-default-unchecked-icon-color","",l.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",i.opacity0),defaultUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",i.opacity8),defaultUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",i.opacity16),defaultCheckedStateLayerColor:r.extend("--ftds-floating-menu-default-checked-state-layer-color","",l.contentActionPrimary),defaultCheckedColor:r.extend("--ftds-floating-menu-default-checked-color","",l.contentActionPrimary),defaultCheckedIconColor:r.extend("--ftds-floating-menu-default-checked-icon-color","",l.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",i.opacity8),defaultCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",i.opacity16),defaultCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",i.opacity24)};var Oh={menuVerticalGap:r.extend("--ftds-combobox-menu-vertical-gap","",i.spacing2),menuNewValuePaddingTop:r.extend("--ftds-combobox-menu-new-value-padding-top","",i.spacing4),menuNewValuePaddingBottom:r.extend("--ftds-combobox-menu-new-value-padding-bottom","",i.spacing1),menuNewValueHorizontalPadding:r.extend("--ftds-combobox-menu-new-value-horizontal-padding","",i.spacing4),menuNewValueLabelColor:r.extend("--ftds-combobox-menu-new-value-label-color","",l.contentGlobalSubtle),menuNewValueBorderColor:r.extend("--ftds-combobox-menu-new-value-border-color","",l.borderGlobalPrimary),menuNewValueBorderWidth:r.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:r.extend("--ftds-combobox-menu-new-value-error-background-color","",l.backgroundErrorSubtle),menuNewValueErrorBorderColor:r.extend("--ftds-combobox-menu-new-value-error-border-color","",l.borderErrorPrimary),menuNewValueErrorStateLayerColor:r.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",l.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:r.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",i.opacity4),menuNewValueErrorActiveStateLayerOpacity:r.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",i.opacity6),menuMessagePaddingTop:r.extend("--ftds-combobox-menu-message-padding-top","",i.spacing2),menuMessagePaddingBottom:r.extend("--ftds-combobox-menu-message-padding-bottom","",i.spacing2),menuMessageHorizontalPadding:r.extend("--ftds-combobox-menu-message-horizontal-padding","",i.spacing4),menuMessageLabelColor:r.extend("--ftds-combobox-menu-message-label-color","",l.contentGlobalSubtle),valuesChipBackgroundColor:r.extend("--ftds-combobox-values-chip-background-color","",l.backgroundGlobalOnSurface),valuesChipBorderColor:r.extend("--ftds-combobox-values-chip-border-color","",l.borderInputPrimary)};var Lh={backgroundColor:r.extend("--ftds-popover-background-color","",l.backgroundGlobalOnSurface),titleColor:r.extend("--ftds-popover-title-color","",l.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",l.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",i.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",i.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",i.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:r.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:r.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",i.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",i.spacing6),defaultHorizontalPadding:r.extend("--ftds-popover-default-horizontal-padding","",i.spacing6),defaultVerticalPadding:r.extend("--ftds-popover-default-vertical-padding","",i.spacing6),denseHorizontalPadding:r.extend("--ftds-popover-dense-horizontal-padding","",i.spacing3),denseVerticalPadding:r.extend("--ftds-popover-dense-vertical-padding","",i.spacing3)};var Nh={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",i.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",i.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",l.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",i.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",i.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",i.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",i.spacing3),color:r.extend("--ftds-collapsible-color","",l.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",l.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",l.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",l.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",i.iconSize3)};var Uh={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",i.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",i.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",i.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",l.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",l.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",i.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",i.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",i.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",i.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",i.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",i.opacity40),offColor:r.extend("--ftds-switch-off-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",i.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",i.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",i.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",i.opacity40),onColor:r.extend("--ftds-switch-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",l.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",i.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",i.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",l.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",i.borderRadiusS)};var Wh={color1Light:r.extend("--ftds-chart-1-light","for area color charts",i.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",i.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",i.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",i.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",i.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",i.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",i.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",i.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",i.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",i.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",i.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",i.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",i.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",i.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",i.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",i.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",i.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",i.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",i.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",i.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",i.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",i.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",i.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",i.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",i.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",i.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",i.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",i.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",i.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",i.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",i.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",i.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",i.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",i.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",i.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",i.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",i.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",i.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",i.colorCyan200)};var Vh={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",i.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",i.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",i.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",i.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",i.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",i.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",i.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",i.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",i.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",i.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",i.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",i.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",i.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",i.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",i.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",i.colorBrown0)};var Xh={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",i.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",i.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",i.borderRadiusS),gap:r.extend("--ftds-notice-gap","",i.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",i.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",l.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",l.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",l.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",l.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",l.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",l.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",l.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",l.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",l.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",l.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",l.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",l.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ftds-notice-dense-gap","",i.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",i.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var rm={offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",i.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",i.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",i.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",i.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",l.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",i.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",i.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",i.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",i.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",l.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",l.contentActionPrimary),color:r.extend("--ftds-toggle-color","",l.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",l.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",i.spacing3)};var sm={iconSize:r.extend("--ftds-notification-icon-size","",i.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",i.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",i.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",i.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",l.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",l.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",l.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",l.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",l.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",i.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",i.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",i.spacing8)};var pm={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",i.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",i.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",i.borderRadiusS),color:r.extend("--ftds-tooltip-color","",l.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",l.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",i.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",i.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",i.spacing05)};var gm={verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",i.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",i.spacing1),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",i.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",i.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",l.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",i.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",i.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",i.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",l.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",i.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",l.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",i.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",l.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",l.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",l.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",i.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",i.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",i.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",i.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",i.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",l.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",l.backgroundGlobalOnSurfaceDark)};var Sm={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",i.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",i.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",i.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",i.spacing2)};var Ga;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Ga||(Ga={}));var za;(function(e){e.large="large",e.medium="medium",e.small="small"})(za||(za={}));var ja=H.FtCssVariableFactory.extend("--ft-reader-breadcrumbs-item-color","",H.designSystemVariables.colorOnSurface),Va=H.FtCssVariableFactory.create("--ft-reader-breadcrumbs-item-font-weight","","UNKNOWN","normal"),Ue={itemColor:ja,itemColorHover:H.FtCssVariableFactory.extend("--ft-reader-breadcrumbs-item-color-hover","",H.designSystemVariables.colorPrimary),itemFontSize:H.FtCssVariableFactory.create("--ft-reader-breadcrumbs-item-font-size","","SIZE","14px"),itemFontWeight:Va,currentItemColor:H.FtCssVariableFactory.extend("--ft-reader-breadcrumbs-current-item-color","",ja),currentItemFontWeight:H.FtCssVariableFactory.extend("--ft-reader-breadcrumbs-current-item-font-weight","",Va),separatorColor:H.FtCssVariableFactory.extend("--ft-reader-breadcrumbs-separator-color","",H.designSystemVariables.colorOnSurface),separatorFontSize:H.FtCssVariableFactory.create("--ft-reader-breadcrumbs-separator-font-size","","SIZE","14px"),separatorFontWeight:H.FtCssVariableFactory.create("--ft-reader-breadcrumbs-separator-font-weight","","UNKNOWN","normal"),separatorSpacing:H.FtCssVariableFactory.create("--ft-reader-breadcrumbs-separator-spacing","","SIZE","8px")},Za=Ka.css`
106
+ `}};Y.styles=[Ra,La,Ta,ka,Pa,_a,Na,Ia,Da,Ma,Ba];Ua([(0,on.property)()],Y.prototype,"element",void 0);Ua([(0,on.property)()],Y.prototype,"variant",void 0);var Fa=y(A());var $a={"ft-typography":Y};(0,Fa.customElements)($a);var je=y(_(),1),et=e=>typeof e=="string"?(0,je.unsafeCSS)(e):e,r=class{static create(t,o,n,a){let s=d=>et(d??a),c=je.css`var(${et(t)}, ${s(a)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=a,c.defaultCssValue=s,c.set=d=>Wa(c,d??s(a)),c.get=d=>je.css`var(${et(t)}, ${s(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(t,o,n,a){let s=d=>n.get(d??a),c=je.css`var(${et(t)}, ${s(a)})`;return c.name=t,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=s,c.set=d=>Wa(c,d??s(a)),c.get=d=>je.css`var(${et(t)}, ${s(d)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(t,o){let n=s=>t.defaultCssValue(s),a=je.css`var(${et(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=n,a.set=s=>t.set(s),a.get=s=>je.css`var(${et(t.name)}, ${n(s)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Wa(e,t){return et(`${e.name}: ${t}`)}var i={colorWhite:r.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:r.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),opacity4:r.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:r.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:r.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Qu={fontFamily:r.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-display-text-case","","UNKNOWN","none")},ep={fontFamily:r.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},tp={fontFamily:r.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},rp={fontFamily:r.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},op={fontFamily:r.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},np={fontFamily:r.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},ap={fontFamily:r.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},ip={fontFamily:r.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},sp={fontFamily:r.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},cp={fontFamily:r.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},lp={fontFamily:r.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},dp={fontFamily:r.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},up={fontFamily:r.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},pp={fontFamily:r.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},fp={fontFamily:r.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},hp={fontFamily:r.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")};var l={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",i.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",i.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",i.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",i.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",i.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",i.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",i.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",i.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",i.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",i.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",i.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",i.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",i.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",i.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",i.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",i.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",i.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",i.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
107
+ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",i.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",i.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",i.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",i.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",i.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",i.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",i.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",i.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",i.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",i.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",i.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",i.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",i.colorGray50),borderGlobalSecondary:r.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",i.colorGray40),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",i.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",i.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",i.colorGray200)};var Cp={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",i.spacing4),largeGap:r.extend("--ftds-button-large-gap","",i.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",i.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",i.iconSize3),largeBorderWidth:r.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ftds-button-medium-horizontal-padding","",i.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",i.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",i.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",i.iconSize2),mediumBorderWidth:r.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-button-small-horizontal-padding","",i.spacing2),smallGap:r.extend("--ftds-button-small-gap","",i.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",i.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",i.iconSize1),smallBorderWidth:r.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ftds-button-x-small-icon-size","",i.iconSize1),xSmallFocusOutlineOffset:r.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ftds-button-round-border-radius","",i.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",l.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",l.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",l.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",l.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",i.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",i.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",i.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",i.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",l.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",l.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",l.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",l.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",i.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",i.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",i.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",i.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",l.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",l.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",l.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",i.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",i.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",i.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",i.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",l.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",l.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",l.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",i.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",i.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",i.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",i.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",l.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",l.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",l.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",i.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",i.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",i.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",i.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",l.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",l.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",l.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",i.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",i.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",i.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",i.opacity40),tertiaryNeutralBackgroundColor:r.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ftds-button-tertiary-neutral-icon-color","",l.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",l.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",l.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",i.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",i.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",i.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",i.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",l.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",l.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",l.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",i.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",i.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",i.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",i.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",l.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",i.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",i.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",i.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",i.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",l.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",l.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",l.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",l.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",i.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",i.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",i.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",i.opacity40),secondaryInfoBackgroundColor:r.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ftds-button-secondary-info-border-color","",l.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",l.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",l.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",l.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",i.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",i.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",i.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",i.opacity40),secondarySuccessBackgroundColor:r.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ftds-button-secondary-success-border-color","",l.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",l.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",l.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",l.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",i.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",i.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",i.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",i.opacity40),secondaryWarningBackgroundColor:r.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ftds-button-secondary-warning-border-color","",l.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",l.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",l.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",l.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",i.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",i.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",i.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",i.opacity40),secondaryErrorBackgroundColor:r.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ftds-button-secondary-error-border-color","",l.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",l.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",l.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",l.contentErrorPrimary)};var Rp={borderRadius:r.extend("--ftds-card-border-radius","",i.borderRadiusS),focusFocusRingColor:r.extend("--ftds-card-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:r.extend("--ftds-card-header-title-horizontal-padding","",i.spacing4),headerTitleVerticalPadding:r.extend("--ftds-card-header-title-vertical-padding","",i.spacing3),headerActionHorizontalPadding:r.extend("--ftds-card-header-action-horizontal-padding","",i.spacing2),headerActionVerticalPadding:r.extend("--ftds-card-header-action-vertical-padding","",i.spacing2),headerActionGap:r.extend("--ftds-card-header-action-gap","",i.spacing1),bodyHorizontalPadding:r.extend("--ftds-card-body-horizontal-padding","",i.spacing4),bodyVerticalPadding:r.extend("--ftds-card-body-vertical-padding","",i.spacing4),footerActionHorizontalPadding:r.extend("--ftds-card-footer-action-horizontal-padding","",i.spacing2),footerActionVerticalPadding:r.extend("--ftds-card-footer-action-vertical-padding","",i.spacing2),footerActionGap:r.extend("--ftds-card-footer-action-gap","",i.spacing1),footerContentHorizontalPadding:r.extend("--ftds-card-footer-content-horizontal-padding","",i.spacing4),footerContentVerticalPadding:r.extend("--ftds-card-footer-content-vertical-padding","",i.spacing3),sideBarHorizontalPadding:r.extend("--ftds-card-side-bar-horizontal-padding","",i.spacing1),sideBarVerticalPadding:r.extend("--ftds-card-side-bar-vertical-padding","",i.spacing1),sideBarGap:r.extend("--ftds-card-side-bar-gap","",i.spacing1),nonSelectableBorderWidth:r.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:r.extend("--ftds-card-non-selectable-state-layer-color","",l.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:r.extend("--ftds-card-non-selectable-default-background-color","",l.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:r.extend("--ftds-card-non-selectable-default-border-color","",l.borderGlobalSecondary),nonSelectableHoverBorderColor:r.extend("--ftds-card-non-selectable-hover-border-color","",l.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:r.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",i.opacity4),nonSelectableFocusBorderColor:r.extend("--ftds-card-non-selectable-focus-border-color","",l.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:r.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",i.opacity4),internalBorderColor:r.extend("--ftds-card-internal-border-color","",l.borderGlobalSecondary),selectableUnselectedBorderWidth:r.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:r.extend("--ftds-card-selectable-unselected-state-layer-color","",l.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:r.extend("--ftds-card-selectable-unselected-default-background-color","",l.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:r.extend("--ftds-card-selectable-unselected-default-border-color","",l.borderGlobalSecondary),selectableUnselectedHoverBorderColor:r.extend("--ftds-card-selectable-unselected-hover-border-color","",l.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:r.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",i.opacity4),selectableUnselectedFocusBorderColor:r.extend("--ftds-card-selectable-unselected-focus-border-color","",l.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:r.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",i.opacity4),selectableSelectedBorderColor:r.extend("--ftds-card-selectable-selected-border-color","",l.borderActionPrimary),selectableSelectedBorderWidth:r.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:r.extend("--ftds-card-selectable-selected-state-layer-color","",l.contentActionPrimary),selectableSelectedBackgroundColor:r.extend("--ftds-card-selectable-selected-background-color","",l.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:r.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",i.opacity4),selectableSelectedHoverStateLayerOpacity:r.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",i.opacity4),selectableSelectedFocusStateLayerOpacity:r.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",i.opacity4),internalBorderWidth:r.create("--ftds-card-internal-border-width","","SIZE","1px")};var _p={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",i.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",i.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",l.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",l.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",l.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",i.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ftds-tree-list-load-more-active-border-color","",i.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",i.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",i.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",i.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",i.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",i.spacing6),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",i.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",i.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",l.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",l.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",l.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",l.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",l.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",l.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",l.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",l.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",l.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",l.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ftds-tree-list-header-section-padding-left","",i.spacing6),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",i.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",i.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",i.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",l.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",l.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",l.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",l.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",i.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",i.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",i.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",i.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",l.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",l.contentGlobalSecondary)};var Bp={iconSize:r.extend("--ftds-checkbox-icon-size","",i.iconSize2),boxSize:r.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:r.extend("--ftds-checkbox-label-horizontal-gap","",i.spacing1),color:r.extend("--ftds-checkbox-color","",l.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",l.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",l.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",l.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",i.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",i.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",i.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",i.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",i.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",i.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",i.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",i.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",i.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",i.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:r.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",i.spacing3),helperPaddingTop:r.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:r.extend("--ftds-checkbox-helper-icon-size","",i.iconSize2),helperHorizontalGap:r.extend("--ftds-checkbox-helper-horizontal-gap","",i.spacing1),errorUncheckedBorderColor:r.extend("--ftds-checkbox-error-unchecked-border-color","",l.borderErrorPrimary),errorStateLayerColor:r.extend("--ftds-checkbox-error-state-layer-color","",l.contentErrorPrimary),errorHelperTextColor:r.extend("--ftds-checkbox-error-helper-text-color","",l.borderErrorPrimary),errorCheckedBackgroundColor:r.extend("--ftds-checkbox-error-checked-background-color","",l.contentErrorPrimary),helperTextColor:r.extend("--ftds-checkbox-helper-text-color","",l.contentGlobalSubtle),groupVerticalGap:r.extend("--ftds-checkbox-group-vertical-gap","",i.spacing3)};var Wp={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",l.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",l.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",l.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",i.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",i.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",i.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",i.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",l.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",l.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",i.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",i.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",i.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",i.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ftds-radio-vertical-gap","",i.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",i.spacing3)};var Kp={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",l.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",l.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",l.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",l.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",l.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",l.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",i.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",i.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",i.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",i.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",i.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",i.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",l.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",i.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",l.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",i.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",i.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",i.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",i.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",i.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",i.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",i.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",i.spacing1)};var Jp={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",i.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",i.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",l.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",i.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",l.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",l.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",l.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",l.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",i.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",i.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",i.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",l.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",i.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",l.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",l.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",l.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",l.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",l.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",i.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",i.spacing1),largeBorderRadius:r.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-choice-large-icon-size","",i.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",i.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",i.spacing1),mediumBorderRadius:r.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-choice-medium-icon-size","",i.iconSize2)};var of={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",i.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",i.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",i.spacing1),largeFocusOutlineOffset:r.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-large-icon-size","",i.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",i.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",i.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",i.spacing1),mediumFocusOutlineOffset:r.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-medium-icon-size","",i.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",i.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",i.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",i.spacing1),smallFocusOutlineOffset:r.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ftds-chip-small-icon-size","",i.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",l.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",l.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",l.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",l.borderGlobalSecondary),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",l.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",l.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",l.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",l.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",l.borderErrorSubtle)};var lf={horizontalGap:r.extend("--ftds-chip-group-horizontal-gap","",i.spacing2),verticalGap:r.extend("--ftds-chip-group-vertical-gap","",i.spacing2),countChipDefaultBackgroundColor:r.extend("--ftds-chip-group-count-chip-default-background-color","",i.colorBrand10),countChipDefaultBorderColor:r.extend("--ftds-chip-group-count-chip-default-border-color","",i.colorBrand60),countChipDefaultContentColor:r.extend("--ftds-chip-group-count-chip-default-content-color","",l.contentActionPrimary),countChipHoverBackgroundColor:r.extend("--ftds-chip-group-count-chip-hover-background-color","",i.colorBrand20),countChipHoverBorderColor:r.extend("--ftds-chip-group-count-chip-hover-border-color","",i.colorBrand70),countChipHoverContentColor:r.extend("--ftds-chip-group-count-chip-hover-content-color","",l.contentActionPrimary),countChipFocusedBackgroundColor:r.extend("--ftds-chip-group-count-chip-focused-background-color","",i.colorBrand20),countChipFocusedBorderColor:r.extend("--ftds-chip-group-count-chip-focused-border-color","",i.colorBrand70),countChipFocusedContentColor:r.extend("--ftds-chip-group-count-chip-focused-content-color","",l.contentActionPrimary)};var hf={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",i.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",l.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",l.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",l.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",l.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",l.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",i.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",l.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",l.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",l.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",l.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",l.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",l.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",l.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",l.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",l.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",l.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",i.colorBrand100)};var xf={iconSize:r.extend("--ftds-banner-icon-size","",i.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",i.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",i.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",i.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",i.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",i.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",i.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",i.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",l.borderInfoSubtle)};var Ef={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",i.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",i.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",i.borderRadiusPill),color:r.extend("--ftds-badge-color","",l.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",l.contentActionPrimary)};var Tf={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",i.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",l.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",l.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",l.contentGlobalSubtle)};var If={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",i.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",i.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",i.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",i.spacing1),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",l.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",l.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",i.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",i.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",i.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",i.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",i.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",i.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",i.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",i.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",i.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",i.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",i.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",i.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",i.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",i.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",i.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",i.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",i.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",l.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Hf={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",i.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",i.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",i.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",i.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",l.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",i.spacing4)};var Gf={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",i.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",i.spacing6)};var Zf={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",i.spacing6),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",i.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",i.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",i.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",i.opacity40),shadow:r.extend("--ftds-modal-shadow","",i.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",i.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",i.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",i.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",i.spacing6),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",l.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",l.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",l.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",i.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",i.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",i.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",i.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ftds-modal-border-radius","",i.borderRadiusM)};var Qf={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",i.opacity40),shadow:r.extend("--ftds-drawer-shadow","",i.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",i.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",i.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",i.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",i.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",l.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",l.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",l.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",i.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",i.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",l.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",l.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",l.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",i.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",i.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",i.spacing3),buttonsBarBorderWidth:r.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ftds-drawer-overlay-background-color","",i.colorGray700)};var nh={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",i.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",i.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",i.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",i.opacity40),offColor:r.extend("--ftds-tabs-off-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",l.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",l.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",i.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",i.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",i.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",i.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",i.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",i.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",i.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",i.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",i.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",i.opacity24),onColor:r.extend("--ftds-tabs-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",l.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",l.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",i.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",i.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",i.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",i.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",l.borderActionFocusRing)};var lh={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",i.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",i.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",i.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",i.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",i.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",i.spacing3),mediumFieldVerticalGap:r.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-text-input-medium-field-icon-size","",i.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",i.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",i.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",i.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",i.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",l.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",l.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-input-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",l.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-text-input-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",i.opacity40)};var hh={backgroundColor:r.extend("--ftds-text-area-background-color","",i.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",l.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-area-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",l.contentErrorIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-area-disabled-component-opacity","",i.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",i.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",i.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",i.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",i.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",i.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",i.borderRadiusS)};var xh={height:r.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",i.spacing4),verticalPadding:r.extend("--ftds-floating-menu-vertical-padding","",i.spacing2),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",l.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",l.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",l.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",i.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",i.opacity24),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",i.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",i.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",i.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",i.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",l.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",i.shadowElevation02),multiselectCheckedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",l.contentActionPrimary),multiselectCheckedColor:r.extend("--ftds-floating-menu-multiselect-checked-color","",l.contentGlobalPrimary),multiselectCheckedIconColor:r.extend("--ftds-floating-menu-multiselect-checked-icon-color","",l.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",i.opacity8),multiselectCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",i.opacity16),multiselectCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",i.opacity24),multiselectIndeterminatedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",l.contentActionPrimary),multiselectIndeterminatedColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-color","",l.contentGlobalPrimary),multiselectIndeterminatedIconColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",l.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",i.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",i.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",i.opacity24),multiselectUncheckedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",l.contentGlobalPrimary),multiselectUncheckedColor:r.extend("--ftds-floating-menu-multiselect-unchecked-color","",l.contentGlobalPrimary),multiselectUncheckedIconColor:r.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",l.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",i.opacity0),multiselectUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",i.opacity8),multiselectUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",i.opacity16),selectAllCheckedStateLayerColor:r.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",l.contentActionPrimary),selectAllCheckedColor:r.extend("--ftds-floating-menu-select-all-checked-color","",l.contentGlobalPrimary),selectAllCheckedIconColor:r.extend("--ftds-floating-menu-select-all-checked-icon-color","",l.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",i.opacity0),selectAllCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",i.opacity16),selectAllCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",i.opacity24),selectAllIndeterminatedStateLayerColor:r.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",l.contentGlobalPrimary),selectAllIndeterminatedColor:r.extend("--ftds-floating-menu-select-all-indeterminated-color","",l.contentGlobalPrimary),selectAllIndeterminatedIconColor:r.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",l.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",i.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",i.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",i.opacity16),selectAllUncheckedStateLayerColor:r.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",l.contentGlobalPrimary),selectAllUncheckedColor:r.extend("--ftds-floating-menu-select-all-unchecked-color","",l.contentGlobalPrimary),selectAllUncheckedIconColor:r.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",l.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",i.opacity0),selectAllUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",i.opacity8),selectAllUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",i.opacity16),defaultUncheckedStateLayerColor:r.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",l.contentGlobalPrimary),defaultUncheckedColor:r.extend("--ftds-floating-menu-default-unchecked-color","",l.contentGlobalPrimary),defaultUncheckedIconColor:r.extend("--ftds-floating-menu-default-unchecked-icon-color","",l.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",i.opacity0),defaultUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",i.opacity8),defaultUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",i.opacity16),defaultCheckedStateLayerColor:r.extend("--ftds-floating-menu-default-checked-state-layer-color","",l.contentActionPrimary),defaultCheckedColor:r.extend("--ftds-floating-menu-default-checked-color","",l.contentActionPrimary),defaultCheckedIconColor:r.extend("--ftds-floating-menu-default-checked-icon-color","",l.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",i.opacity8),defaultCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",i.opacity16),defaultCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",i.opacity24)};var Eh={menuVerticalGap:r.extend("--ftds-combobox-menu-vertical-gap","",i.spacing2),menuNewValuePaddingTop:r.extend("--ftds-combobox-menu-new-value-padding-top","",i.spacing4),menuNewValuePaddingBottom:r.extend("--ftds-combobox-menu-new-value-padding-bottom","",i.spacing1),menuNewValueHorizontalPadding:r.extend("--ftds-combobox-menu-new-value-horizontal-padding","",i.spacing4),menuNewValueLabelColor:r.extend("--ftds-combobox-menu-new-value-label-color","",l.contentGlobalSubtle),menuNewValueBorderColor:r.extend("--ftds-combobox-menu-new-value-border-color","",l.borderGlobalPrimary),menuNewValueBorderWidth:r.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:r.extend("--ftds-combobox-menu-new-value-error-background-color","",l.backgroundErrorSubtle),menuNewValueErrorBorderColor:r.extend("--ftds-combobox-menu-new-value-error-border-color","",l.borderErrorPrimary),menuNewValueErrorStateLayerColor:r.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",l.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:r.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",i.opacity4),menuNewValueErrorActiveStateLayerOpacity:r.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",i.opacity6),menuMessagePaddingTop:r.extend("--ftds-combobox-menu-message-padding-top","",i.spacing2),menuMessagePaddingBottom:r.extend("--ftds-combobox-menu-message-padding-bottom","",i.spacing2),menuMessageHorizontalPadding:r.extend("--ftds-combobox-menu-message-horizontal-padding","",i.spacing4),menuMessageLabelColor:r.extend("--ftds-combobox-menu-message-label-color","",l.contentGlobalSubtle),valuesChipBackgroundColor:r.extend("--ftds-combobox-values-chip-background-color","",l.backgroundGlobalOnSurface),valuesChipBorderColor:r.extend("--ftds-combobox-values-chip-border-color","",l.borderInputPrimary)};var Th={backgroundColor:r.extend("--ftds-popover-background-color","",l.backgroundGlobalOnSurface),titleColor:r.extend("--ftds-popover-title-color","",l.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",l.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",i.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",i.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",i.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:r.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:r.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",i.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",i.spacing6),defaultHorizontalPadding:r.extend("--ftds-popover-default-horizontal-padding","",i.spacing6),defaultVerticalPadding:r.extend("--ftds-popover-default-vertical-padding","",i.spacing6),denseHorizontalPadding:r.extend("--ftds-popover-dense-horizontal-padding","",i.spacing3),denseVerticalPadding:r.extend("--ftds-popover-dense-vertical-padding","",i.spacing3)};var Ih={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",i.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",i.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",l.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",i.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",i.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",i.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",i.spacing3),color:r.extend("--ftds-collapsible-color","",l.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",l.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",l.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",l.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",i.iconSize3)};var Hh={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",i.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",i.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",i.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",l.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",l.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",i.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",i.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",i.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",i.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",i.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",i.opacity40),offColor:r.extend("--ftds-switch-off-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",i.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",i.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",i.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",i.opacity40),onColor:r.extend("--ftds-switch-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",l.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",i.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",i.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",l.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",i.borderRadiusS)};var Gh={color1Light:r.extend("--ftds-chart-1-light","for area color charts",i.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",i.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",i.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",i.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",i.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",i.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",i.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",i.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",i.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",i.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",i.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",i.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",i.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",i.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",i.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",i.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",i.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",i.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",i.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",i.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",i.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",i.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",i.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",i.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",i.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",i.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",i.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",i.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",i.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",i.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",i.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",i.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",i.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",i.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",i.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",i.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",i.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",i.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",i.colorCyan200)};var Kh={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",i.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",i.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",i.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",i.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",i.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",i.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",i.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",i.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",i.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",i.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",i.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",i.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",i.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",i.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",i.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",i.colorBrown0)};var Jh={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",i.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",i.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",i.borderRadiusS),gap:r.extend("--ftds-notice-gap","",i.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",i.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",l.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",l.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",l.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",l.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",l.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",l.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",l.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",l.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",l.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",l.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",l.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",l.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ftds-notice-dense-gap","",i.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",i.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var om={offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",i.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",i.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",i.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",i.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",l.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",i.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",i.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",i.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",i.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",l.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",l.contentActionPrimary),color:r.extend("--ftds-toggle-color","",l.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",l.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",i.spacing3)};var cm={iconSize:r.extend("--ftds-notification-icon-size","",i.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",i.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",i.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",i.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",l.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",l.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",l.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",l.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",l.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",i.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",i.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",i.spacing8)};var fm={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",i.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",i.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",i.borderRadiusS),color:r.extend("--ftds-tooltip-color","",l.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",l.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",i.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",i.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",i.spacing05)};var bm={verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",i.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",i.spacing1),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",i.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",i.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",l.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",i.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",i.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",i.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",l.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",i.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",l.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",i.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",l.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",l.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",l.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",i.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",i.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",i.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",i.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",i.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",l.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",l.backgroundGlobalOnSurfaceDark)};var Cm={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",i.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",i.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",i.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",i.spacing2)};var Ga;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Ga||(Ga={}));var za;(function(e){e.large="large",e.medium="medium",e.small="small"})(za||(za={}));var ja=H.FtCssVariableFactory.extend("--ft-reader-breadcrumbs-item-color","",H.designSystemVariables.colorOnSurface),Va=H.FtCssVariableFactory.create("--ft-reader-breadcrumbs-item-font-weight","","UNKNOWN","normal"),Ue={itemColor:ja,itemColorHover:H.FtCssVariableFactory.extend("--ft-reader-breadcrumbs-item-color-hover","",H.designSystemVariables.colorPrimary),itemFontSize:H.FtCssVariableFactory.create("--ft-reader-breadcrumbs-item-font-size","","SIZE","14px"),itemFontWeight:Va,currentItemColor:H.FtCssVariableFactory.extend("--ft-reader-breadcrumbs-current-item-color","",ja),currentItemFontWeight:H.FtCssVariableFactory.extend("--ft-reader-breadcrumbs-current-item-font-weight","",Va),separatorColor:H.FtCssVariableFactory.extend("--ft-reader-breadcrumbs-separator-color","",H.designSystemVariables.colorOnSurface),separatorFontSize:H.FtCssVariableFactory.create("--ft-reader-breadcrumbs-separator-font-size","","SIZE","14px"),separatorFontWeight:H.FtCssVariableFactory.create("--ft-reader-breadcrumbs-separator-font-weight","","UNKNOWN","normal"),separatorSpacing:H.FtCssVariableFactory.create("--ft-reader-breadcrumbs-separator-spacing","","SIZE","8px")},Za=Ka.css`
108
108
  ol {
109
109
  display: flex;
110
110
  align-items: center;
@@ -185,26 +185,26 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
185
185
  width: 150px;
186
186
  height: ${ue.fontSize};
187
187
  }
188
- `;var Gr=g(A()),Xa=g(q());var qa;(function(e){e.clusteringHelperCreated="clustering-helper-created",e.mapAttachmentsUpdate="map-attachments-update",e.visibleTopicChange="visible-topic-change",e.requestedTopicNotFound="requested-topic-not-found"})(qa||(qa={}));var Ya;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Ya||(Ya={}));var Jl=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},an=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},nn=Symbol("registerInterval"),Ql=(0,Gr.applyMixinOnce)(Symbol("toFtReaderComponent"),function(e){var t;class o extends e{constructor(){super(...arguments),this[t]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[nn]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[nn]):this.dispatchEvent(new an)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=nn,Jl([(0,Xa.state)()],o.prototype,"stateManager",void 0),o}),zt=class extends Ql(Gr.FtLitElementRedux){};var zr=g(A()),Ja=g(_()),ed={outlineColor:zr.FtCssVariableFactory.extend("--ft-reader-internal-link-outline-color","",zr.designSystemVariables.colorPrimary)},Qa=Ja.css`
188
+ `;var Gr=y(A()),Xa=y(q());var qa;(function(e){e.clusteringHelperCreated="clustering-helper-created",e.mapAttachmentsUpdate="map-attachments-update",e.visibleTopicChange="visible-topic-change",e.requestedTopicNotFound="requested-topic-not-found"})(qa||(qa={}));var Ya;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Ya||(Ya={}));var Ql=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},an=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},nn=Symbol("registerInterval"),ed=(0,Gr.applyMixinOnce)(Symbol("toFtReaderComponent"),function(e){var t;class o extends e{constructor(){super(...arguments),this[t]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[nn]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[nn]):this.dispatchEvent(new an)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=nn,Ql([(0,Xa.state)()],o.prototype,"stateManager",void 0),o}),zt=class extends ed(Gr.FtLitElementRedux){};var zr=y(A()),Ja=y(_()),td={outlineColor:zr.FtCssVariableFactory.extend("--ft-reader-internal-link-outline-color","",zr.designSystemVariables.colorPrimary)},Qa=Ja.css`
189
189
  :host {
190
190
  display: contents;
191
191
  }
192
192
 
193
193
  a:focus {
194
- outline-color: ${ed.outlineColor};
194
+ outline-color: ${td.outlineColor};
195
195
  }
196
196
 
197
197
  .ft-reader-link--remove-style {
198
198
  text-decoration: none;
199
199
  color: inherit;
200
200
  }
201
- `;var ei=g(_()),yr=g(q()),ti=g(ht());var jr=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},Le=class extends zt{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let o=(0,ti.classMap)({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return ei.html`
201
+ `;var ei=y(_()),mr=y(q()),ti=y(ht());var jr=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},Le=class extends zt{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let o=(0,ti.classMap)({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return ei.html`
202
202
  <a class=${o}
203
203
  href="${(t=this.service)===null||t===void 0?void 0:t.getLink(this.tocId,this.pageNumber,this.section)}"
204
204
  @click=${n=>this.onLinkClick(n)}>
205
205
  <slot></slot>
206
206
  </a>
207
- `}onLinkClick(t){var o,n,a;!t.ctrlKey&&!t.metaKey&&(t.stopPropagation(),t.preventDefault(),performance.mark(`fluid_topics__reader_link_click__${this.tocId}`),(o=this.stateManager)===null||o===void 0||o.navigateToTopic(this.tocId,this.section,this.pageNumber),(n=this.stateManager)===null||n===void 0||n.store.commands.clear(/^focus-topic-/),(a=this.stateManager)===null||a===void 0||a.store.commands.add({type:`focus-topic-${this.tocId}`}),this.click())}};Le.styles=Qa;jr([(0,yr.property)()],Le.prototype,"tocId",void 0);jr([(0,yr.property)()],Le.prototype,"section",void 0);jr([(0,yr.property)({type:Number})],Le.prototype,"pageNumber",void 0);jr([(0,yr.property)({type:Boolean})],Le.prototype,"removeStyle",void 0);var oi=g(A());var ri={"ft-reader-internal-link":Le};(0,oi.customElements)(ri);function ni(e,t=0,o=0){if(e.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let n=Math.max(o,1),a=e.slice(n*-1);return t+n>=e.length?{beforeMenu:[],inMenu:[],afterMenu:e}:{beforeMenu:e.slice(0,t),inMenu:e.slice(t,e.length-a.length),afterMenu:a}}var Ol=g(_()),K=g(q()),dr=g(A());var Re=g(A());var pi=g(_()),X=g(q()),fi=g(ht()),gr=g(A());var di=g(_()),W=g(A()),ai=W.FtCssVariableFactory.extend("--ft-ripple-color","",W.designSystemVariables.colorContent),xe={color:ai,backgroundColor:W.FtCssVariableFactory.extend("--ft-ripple-background-color","",ai),opacityContentOnSurfacePressed:W.FtCssVariableFactory.external(W.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:W.FtCssVariableFactory.external(W.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:W.FtCssVariableFactory.external(W.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:W.FtCssVariableFactory.external(W.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:W.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ii=W.FtCssVariableFactory.extend("--ft-ripple-color","",W.designSystemVariables.colorPrimary),si={color:ii,backgroundColor:W.FtCssVariableFactory.extend("--ft-ripple-background-color","",ii)},ci=W.FtCssVariableFactory.extend("--ft-ripple-color","",W.designSystemVariables.colorSecondary),li={color:ci,backgroundColor:W.FtCssVariableFactory.extend("--ft-ripple-background-color","",ci)},ui=di.css`
207
+ `}onLinkClick(t){var o,n,a;!t.ctrlKey&&!t.metaKey&&(t.stopPropagation(),t.preventDefault(),performance.mark(`fluid_topics__reader_link_click__${this.tocId}`),(o=this.stateManager)===null||o===void 0||o.navigateToTopic(this.tocId,this.section,this.pageNumber),(n=this.stateManager)===null||n===void 0||n.store.commands.clear(/^focus-topic-/),(a=this.stateManager)===null||a===void 0||a.store.commands.add({type:`focus-topic-${this.tocId}`}),this.click())}};Le.styles=Qa;jr([(0,mr.property)()],Le.prototype,"tocId",void 0);jr([(0,mr.property)()],Le.prototype,"section",void 0);jr([(0,mr.property)({type:Number})],Le.prototype,"pageNumber",void 0);jr([(0,mr.property)({type:Boolean})],Le.prototype,"removeStyle",void 0);var oi=y(A());var ri={"ft-reader-internal-link":Le};(0,oi.customElements)(ri);function ni(e,t=0,o=0){if(e.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let n=Math.max(o,1),a=e.slice(n*-1);return t+n>=e.length?{beforeMenu:[],inMenu:[],afterMenu:e}:{beforeMenu:e.slice(0,t),inMenu:e.slice(t,e.length-a.length),afterMenu:a}}var El=y(_()),K=y(q()),lr=y(A());var Re=y(A());var pi=y(_()),X=y(q()),fi=y(ht()),yr=y(A());var di=y(_()),W=y(A()),ai=W.FtCssVariableFactory.extend("--ft-ripple-color","",W.designSystemVariables.colorContent),xe={color:ai,backgroundColor:W.FtCssVariableFactory.extend("--ft-ripple-background-color","",ai),opacityContentOnSurfacePressed:W.FtCssVariableFactory.external(W.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:W.FtCssVariableFactory.external(W.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:W.FtCssVariableFactory.external(W.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:W.FtCssVariableFactory.external(W.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:W.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ii=W.FtCssVariableFactory.extend("--ft-ripple-color","",W.designSystemVariables.colorPrimary),si={color:ii,backgroundColor:W.FtCssVariableFactory.extend("--ft-ripple-background-color","",ii)},ci=W.FtCssVariableFactory.extend("--ft-ripple-color","",W.designSystemVariables.colorSecondary),li={color:ci,backgroundColor:W.FtCssVariableFactory.extend("--ft-ripple-background-color","",ci)},ui=di.css`
208
208
  :host {
209
209
  display: contents;
210
210
  }
@@ -316,7 +316,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
316
316
  opacity: ${xe.opacityContentOnSurfacePressed};
317
317
  transform: translate(-50%, -50%) scale(1);
318
318
  }
319
- `;var ae=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},N=class extends gr.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new gr.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new gr.Debouncer(10),this.moveRipple=t=>{var o,n;let{x:a,y:s}=this.getCoordinates(t),c=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-c.x:c.width/2),this.originY=Math.round(s!=null?s-c.y:c.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return pi.html`
319
+ `;var ae=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},N=class extends yr.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new yr.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new yr.Debouncer(10),this.moveRipple=t=>{var o,n;let{x:a,y:s}=this.getCoordinates(t),c=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-c.x:c.width/2),this.originY=Math.round(s!=null?s-c.y:c.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return pi.html`
320
320
  <style>
321
321
  .ft-ripple .ft-ripple--effect {
322
322
  left: ${this.originX}px;
@@ -327,7 +327,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
327
327
  <div class="ft-ripple--background"></div>
328
328
  <div class="ft-ripple--effect"></div>
329
329
  </div>
330
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...d)=>u=>{d.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),s=d=>{["Enter"," "].includes(d.key)&&o("keyup")(d)},c={passive:!0};t.addEventListener("mouseover",this.startHover,c),t.addEventListener("mousemove",this.moveRipple,c),t.addEventListener("mouseleave",this.endHover,c),t.addEventListener("mousedown",n,c),t.addEventListener("touchstart",a,c),t.addEventListener("touchmove",this.moveRipple,c),t.addEventListener("keydown",s,c),t.addEventListener("focus",this.startFocus,c),t.addEventListener("blur",this.endFocus,c),t.addEventListener("focusin",this.startFocus,c),t.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,c),t.removeEventListener("mousemove",this.moveRipple,c),t.removeEventListener("mouseleave",this.endHover,c),t.removeEventListener("mousedown",n,c),t.removeEventListener("touchstart",a,c),t.removeEventListener("touchmove",this.moveRipple,c),t.removeEventListener("keydown",s,c),t.removeEventListener("focus",this.startFocus,c),t.removeEventListener("blur",this.endFocus,c),t.removeEventListener("focusin",this.startFocus,c),t.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,a,s;return o.x!=null?{x:a,y:s}=o:n.touches!=null&&(a=n.touches[0].clientX,s=n.touches[0].clientY),{x:a,y:s}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};N.elementDefinitions={};N.styles=ui;ae([(0,X.property)({type:Boolean})],N.prototype,"primary",void 0);ae([(0,X.property)({type:Boolean})],N.prototype,"secondary",void 0);ae([(0,X.property)({type:Boolean})],N.prototype,"unbounded",void 0);ae([(0,X.property)({type:Boolean})],N.prototype,"activated",void 0);ae([(0,X.property)({type:Boolean})],N.prototype,"selected",void 0);ae([(0,X.property)({type:Boolean})],N.prototype,"disabled",void 0);ae([(0,X.state)()],N.prototype,"hovered",void 0);ae([(0,X.state)()],N.prototype,"focused",void 0);ae([(0,X.state)()],N.prototype,"pressed",void 0);ae([(0,X.state)()],N.prototype,"rippling",void 0);ae([(0,X.state)()],N.prototype,"originX",void 0);ae([(0,X.state)()],N.prototype,"originY",void 0);ae([(0,X.query)(".ft-ripple")],N.prototype,"ripple",void 0);ae([(0,X.query)(".ft-ripple--effect")],N.prototype,"rippleEffect",void 0);var mi=g(A());var hi={"ft-ripple":N};(0,mi.customElements)(hi);var qc=g(_()),we=g(q()),Ae=g(A());var yi=g(_()),tt=g(A()),br={distance:tt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:tt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:tt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),borderRadiusS:tt.FtCssVariableFactory.extend("--ft-tooltip-border-radius","",tt.designSystemVariables.borderRadiusS),maxWidth:tt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},gi=yi.css`
330
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...d)=>u=>{d.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),s=d=>{["Enter"," "].includes(d.key)&&o("keyup")(d)},c={passive:!0};t.addEventListener("mouseover",this.startHover,c),t.addEventListener("mousemove",this.moveRipple,c),t.addEventListener("mouseleave",this.endHover,c),t.addEventListener("mousedown",n,c),t.addEventListener("touchstart",a,c),t.addEventListener("touchmove",this.moveRipple,c),t.addEventListener("keydown",s,c),t.addEventListener("focus",this.startFocus,c),t.addEventListener("blur",this.endFocus,c),t.addEventListener("focusin",this.startFocus,c),t.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,c),t.removeEventListener("mousemove",this.moveRipple,c),t.removeEventListener("mouseleave",this.endHover,c),t.removeEventListener("mousedown",n,c),t.removeEventListener("touchstart",a,c),t.removeEventListener("touchmove",this.moveRipple,c),t.removeEventListener("keydown",s,c),t.removeEventListener("focus",this.startFocus,c),t.removeEventListener("blur",this.endFocus,c),t.removeEventListener("focusin",this.startFocus,c),t.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,a,s;return o.x!=null?{x:a,y:s}=o:n.touches!=null&&(a=n.touches[0].clientX,s=n.touches[0].clientY),{x:a,y:s}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};N.elementDefinitions={};N.styles=ui;ae([(0,X.property)({type:Boolean})],N.prototype,"primary",void 0);ae([(0,X.property)({type:Boolean})],N.prototype,"secondary",void 0);ae([(0,X.property)({type:Boolean})],N.prototype,"unbounded",void 0);ae([(0,X.property)({type:Boolean})],N.prototype,"activated",void 0);ae([(0,X.property)({type:Boolean})],N.prototype,"selected",void 0);ae([(0,X.property)({type:Boolean})],N.prototype,"disabled",void 0);ae([(0,X.state)()],N.prototype,"hovered",void 0);ae([(0,X.state)()],N.prototype,"focused",void 0);ae([(0,X.state)()],N.prototype,"pressed",void 0);ae([(0,X.state)()],N.prototype,"rippling",void 0);ae([(0,X.state)()],N.prototype,"originX",void 0);ae([(0,X.state)()],N.prototype,"originY",void 0);ae([(0,X.query)(".ft-ripple")],N.prototype,"ripple",void 0);ae([(0,X.query)(".ft-ripple--effect")],N.prototype,"rippleEffect",void 0);var mi=y(A());var hi={"ft-ripple":N};(0,mi.customElements)(hi);var Yc=y(_()),we=y(q()),Ae=y(A());var yi=y(_()),tt=y(A()),gr={distance:tt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:tt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:tt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),borderRadiusS:tt.FtCssVariableFactory.extend("--ft-tooltip-border-radius","",tt.designSystemVariables.borderRadiusS),maxWidth:tt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},gi=yi.css`
331
331
  .ft-tooltip--container {
332
332
  display: block;
333
333
  }
@@ -345,28 +345,28 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
345
345
  box-sizing: border-box;
346
346
  overflow: hidden;
347
347
  width: max-content;
348
- max-width: ${br.maxWidth};
348
+ max-width: ${gr.maxWidth};
349
349
  text-align: center;
350
- padding: ${br.distance};
350
+ padding: ${gr.distance};
351
351
  }
352
352
 
353
353
  .ft-tooltip--content {
354
354
  padding: 4px 8px;
355
- border-radius: ${br.borderRadiusS};
356
- background-color: ${br.backgroundColor};
357
- color: ${br.color};
355
+ border-radius: ${gr.borderRadiusS};
356
+ background-color: ${gr.backgroundColor};
357
+ color: ${gr.color};
358
358
  position: relative;
359
359
  word-break: break-word;
360
360
  }
361
- `;var xi=["top","right","bottom","left"],bi=["start","end"],cn=xi.reduce((e,t)=>e.concat(t,t+"-"+bi[0],t+"-"+bi[1]),[]),xr=Math.min,rt=Math.max,vr=Math.round;var Te=e=>({x:e,y:e}),td={left:"right",right:"left",bottom:"top",top:"bottom"};function ln(e,t,o){return rt(e,xr(t,o))}function Vr(e,t){return typeof e=="function"?e(t):e}function jt(e){return e.split("-")[0]}function ot(e){return e.split("-")[1]}function dn(e){return e==="x"?"y":"x"}function un(e){return e==="y"?"height":"width"}function Kr(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function pn(e){return dn(Kr(e))}function vi(e,t,o){o===void 0&&(o=!1);let n=ot(e),a=pn(e),s=un(a),c=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(c=sn(c)),[c,sn(c)]}function Si(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function sn(e){let t=jt(e);return td[t]+e.slice(t.length)}function rd(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ci(e){return typeof e!="number"?rd(e):{top:e,right:e,bottom:e,left:e}}function bt(e){let{x:t,y:o,width:n,height:a}=e;return{width:n,height:a,top:o,left:t,right:t+n,bottom:o+a,x:t,y:o}}function Oi(e,t,o){let{reference:n,floating:a}=e,s=Kr(t),c=pn(t),d=un(c),u=jt(t),p=s==="y",f=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,m=n[d]/2-a[d]/2,y;switch(u){case"top":y={x:f,y:n.y-a.height};break;case"bottom":y={x:f,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:h};break;case"left":y={x:n.x-a.width,y:h};break;default:y={x:n.x,y:n.y}}switch(ot(t)){case"start":y[c]-=m*(o&&p?-1:1);break;case"end":y[c]+=m*(o&&p?-1:1);break}return y}async function Ei(e,t){var o;t===void 0&&(t={});let{x:n,y:a,platform:s,rects:c,elements:d,strategy:u}=e,{boundary:p="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:m=!1,padding:y=0}=Vr(t,e),b=Ci(y),C=d[m?h==="floating"?"reference":"floating":h],O=bt(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(C)))==null||o?C:C.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(d.floating)),boundary:p,rootBoundary:f,strategy:u})),E=h==="floating"?{x:n,y:a,width:c.floating.width,height:c.floating.height}:c.reference,R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d.floating)),L=await(s.isElement==null?void 0:s.isElement(R))?await(s.getScale==null?void 0:s.getScale(R))||{x:1,y:1}:{x:1,y:1},z=bt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:E,offsetParent:R,strategy:u}):E);return{top:(O.top-z.top+b.top)/L.y,bottom:(z.bottom-O.bottom+b.bottom)/L.y,left:(O.left-z.left+b.left)/L.x,right:(z.right-O.right+b.right)/L.x}}var od=50,Ai=async(e,t,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:s=[],platform:c}=o,d=c.detectOverflow?c:{...c,detectOverflow:Ei},u=await(c.isRTL==null?void 0:c.isRTL(t)),p=await c.getElementRects({reference:e,floating:t,strategy:a}),{x:f,y:h}=Oi(p,n,u),m=n,y=0,b={};for(let x=0;x<s.length;x++){let C=s[x];if(!C)continue;let{name:O,fn:E}=C,{x:R,y:L,data:z,reset:$}=await E({x:f,y:h,initialPlacement:n,placement:m,strategy:a,middlewareData:b,rects:p,platform:d,elements:{reference:e,floating:t}});f=R??f,h=L??h,b[O]={...b[O],...z},$&&y<od&&(y++,typeof $=="object"&&($.placement&&(m=$.placement),$.rects&&(p=$.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:a}):$.rects),{x:f,y:h}=Oi(p,m,u)),x=-1)}return{x:f,y:h,placement:m,strategy:a,middlewareData:b}};function nd(e,t,o){return(e?[...o.filter(a=>ot(a)===e),...o.filter(a=>ot(a)!==e)]:o.filter(a=>jt(a)===a)).filter(a=>e?ot(a)===e||(t?Si(a)!==a:!1):!0)}var wi=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,a;let{rects:s,middlewareData:c,placement:d,platform:u,elements:p}=t,{crossAxis:f=!1,alignment:h,allowedPlacements:m=cn,autoAlignment:y=!0,...b}=Vr(e,t),x=h!==void 0||m===cn?nd(h||null,y,m):m,C=await u.detectOverflow(t,b),O=((o=c.autoPlacement)==null?void 0:o.index)||0,E=x[O];if(E==null)return{};let R=vi(E,s,await(u.isRTL==null?void 0:u.isRTL(p.floating)));if(d!==E)return{reset:{placement:x[0]}};let L=[C[jt(E)],C[R[0]],C[R[1]]],z=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:E,overflows:L}],$=x[O+1];if($)return{data:{index:O+1,overflows:z},reset:{placement:$}};let Xe=z.map(le=>{let ge=ot(le.placement);return[le.placement,ge&&f?le.overflows.slice(0,2).reduce((de,ft)=>de+ft,0):le.overflows[0],le.overflows]}).sort((le,ge)=>le[1]-ge[1]),Je=((a=Xe.filter(le=>le[2].slice(0,ot(le[0])?2:3).every(ge=>ge<=0))[0])==null?void 0:a[0])||Xe[0][0];return Je!==d?{data:{index:O+1,overflows:z},reset:{placement:Je}}:{}}}};var Ri=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:a,platform:s}=t,{mainAxis:c=!0,crossAxis:d=!1,limiter:u={fn:O=>{let{x:E,y:R}=O;return{x:E,y:R}}},...p}=Vr(e,t),f={x:o,y:n},h=await s.detectOverflow(t,p),m=Kr(jt(a)),y=dn(m),b=f[y],x=f[m];if(c){let O=y==="y"?"top":"left",E=y==="y"?"bottom":"right",R=b+h[O],L=b-h[E];b=ln(R,b,L)}if(d){let O=m==="y"?"top":"left",E=m==="y"?"bottom":"right",R=x+h[O],L=x-h[E];x=ln(R,x,L)}let C=u.fn({...t,[y]:b,[m]:x});return{...C,data:{x:C.x-o,y:C.y-n,enabled:{[y]:c,[m]:d}}}}}};function qr(){return typeof window<"u"}function vt(e){return Ti(e)?(e.nodeName||"").toLowerCase():"#document"}function ie(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function He(e){var t;return(t=(Ti(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ti(e){return qr()?e instanceof Node||e instanceof ie(e).Node:!1}function ve(e){return qr()?e instanceof Element||e instanceof ie(e).Element:!1}function $e(e){return qr()?e instanceof HTMLElement||e instanceof ie(e).HTMLElement:!1}function Li(e){return!qr()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ie(e).ShadowRoot}function Vt(e){let{overflow:t,overflowX:o,overflowY:n,display:a}=Se(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&a!=="inline"&&a!=="contents"}function ki(e){return/^(table|td|th)$/.test(vt(e))}function Sr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var ad=/transform|translate|scale|rotate|perspective|filter/,id=/paint|layout|strict|content/,xt=e=>!!e&&e!=="none",fn;function Kt(e){let t=ve(e)?Se(e):e;return xt(t.transform)||xt(t.translate)||xt(t.scale)||xt(t.rotate)||xt(t.perspective)||!Yr()&&(xt(t.backdropFilter)||xt(t.filter))||ad.test(t.willChange||"")||id.test(t.contain||"")}function Pi(e){let t=Ve(e);for(;$e(t)&&!St(t);){if(Kt(t))return t;if(Sr(t))return null;t=Ve(t)}return null}function Yr(){return fn==null&&(fn=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),fn}function St(e){return/^(html|body|#document)$/.test(vt(e))}function Se(e){return ie(e).getComputedStyle(e)}function Cr(e){return ve(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ve(e){if(vt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Li(e)&&e.host||He(e);return Li(t)?t.host:t}function _i(e){let t=Ve(e);return St(t)?e.ownerDocument?e.ownerDocument.body:e.body:$e(t)&&Vt(t)?t:_i(t)}function Zr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=_i(e),s=a===((n=e.ownerDocument)==null?void 0:n.body),c=ie(a);if(s){let d=Xr(c);return t.concat(c,c.visualViewport||[],Vt(a)?a:[],d&&o?Zr(d):[])}else return t.concat(a,Zr(a,[],o))}function Xr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Mi(e){let t=Se(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=$e(e),s=a?e.offsetWidth:o,c=a?e.offsetHeight:n,d=vr(o)!==s||vr(n)!==c;return d&&(o=s,n=c),{width:o,height:n,$:d}}function Bi(e){return ve(e)?e:e.contextElement}function Zt(e){let t=Bi(e);if(!$e(t))return Te(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:s}=Mi(t),c=(s?vr(o.width):o.width)/n,d=(s?vr(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}var sd=Te(0);function Ui(e){let t=ie(e);return!Yr()||!t.visualViewport?sd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function cd(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==ie(e)?!1:t}function Or(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),s=Bi(e),c=Te(1);t&&(n?ve(n)&&(c=Zt(n)):c=Zt(e));let d=cd(s,o,n)?Ui(s):Te(0),u=(a.left+d.x)/c.x,p=(a.top+d.y)/c.y,f=a.width/c.x,h=a.height/c.y;if(s){let m=ie(s),y=n&&ve(n)?ie(n):n,b=m,x=Xr(b);for(;x&&n&&y!==b;){let C=Zt(x),O=x.getBoundingClientRect(),E=Se(x),R=O.left+(x.clientLeft+parseFloat(E.paddingLeft))*C.x,L=O.top+(x.clientTop+parseFloat(E.paddingTop))*C.y;u*=C.x,p*=C.y,f*=C.x,h*=C.y,u+=R,p+=L,b=ie(x),x=Xr(b)}}return bt({width:f,height:h,x:u,y:p})}function Jr(e,t){let o=Cr(e).scrollLeft;return t?t.left+o:Or(He(e)).left+o}function Hi(e,t){let o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-Jr(e,o),a=o.top+t.scrollTop;return{x:n,y:a}}function ld(e){let{elements:t,rect:o,offsetParent:n,strategy:a}=e,s=a==="fixed",c=He(n),d=t?Sr(t.floating):!1;if(n===c||d&&s)return o;let u={scrollLeft:0,scrollTop:0},p=Te(1),f=Te(0),h=$e(n);if((h||!h&&!s)&&((vt(n)!=="body"||Vt(c))&&(u=Cr(n)),h)){let y=Or(n);p=Zt(n),f.x=y.x+n.clientLeft,f.y=y.y+n.clientTop}let m=c&&!h&&!s?Hi(c,u):Te(0);return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-u.scrollLeft*p.x+f.x+m.x,y:o.y*p.y-u.scrollTop*p.y+f.y+m.y}}function dd(e){return Array.from(e.getClientRects())}function ud(e){let t=He(e),o=Cr(e),n=e.ownerDocument.body,a=rt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=rt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+Jr(e),d=-o.scrollTop;return Se(n).direction==="rtl"&&(c+=rt(t.clientWidth,n.clientWidth)-a),{width:a,height:s,x:c,y:d}}var Ni=25;function pd(e,t){let o=ie(e),n=He(e),a=o.visualViewport,s=n.clientWidth,c=n.clientHeight,d=0,u=0;if(a){s=a.width,c=a.height;let f=Yr();(!f||f&&t==="fixed")&&(d=a.offsetLeft,u=a.offsetTop)}let p=Jr(n);if(p<=0){let f=n.ownerDocument,h=f.body,m=getComputedStyle(h),y=f.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,b=Math.abs(n.clientWidth-h.clientWidth-y);b<=Ni&&(s-=b)}else p<=Ni&&(s+=p);return{width:s,height:c,x:d,y:u}}function fd(e,t){let o=Or(e,!0,t==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,s=$e(e)?Zt(e):Te(1),c=e.clientWidth*s.x,d=e.clientHeight*s.y,u=a*s.x,p=n*s.y;return{width:c,height:d,x:u,y:p}}function Ii(e,t,o){let n;if(t==="viewport")n=pd(e,o);else if(t==="document")n=ud(He(e));else if(ve(t))n=fd(t,o);else{let a=Ui(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return bt(n)}function $i(e,t){let o=Ve(e);return o===t||!ve(o)||St(o)?!1:Se(o).position==="fixed"||$i(o,t)}function hd(e,t){let o=t.get(e);if(o)return o;let n=Zr(e,[],!1).filter(d=>ve(d)&&vt(d)!=="body"),a=null,s=Se(e).position==="fixed",c=s?Ve(e):e;for(;ve(c)&&!St(c);){let d=Se(c),u=Kt(c);!u&&d.position==="fixed"&&(a=null),(s?!u&&!a:!u&&d.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||Vt(c)&&!u&&$i(e,c))?n=n.filter(f=>f!==c):a=d,c=Ve(c)}return t.set(e,n),n}function md(e){let{element:t,boundary:o,rootBoundary:n,strategy:a}=e,c=[...o==="clippingAncestors"?Sr(t)?[]:hd(t,this._c):[].concat(o),n],d=Ii(t,c[0],a),u=d.top,p=d.right,f=d.bottom,h=d.left;for(let m=1;m<c.length;m++){let y=Ii(t,c[m],a);u=rt(y.top,u),p=xr(y.right,p),f=xr(y.bottom,f),h=rt(y.left,h)}return{width:p-h,height:f-u,x:h,y:u}}function yd(e){let{width:t,height:o}=Mi(e);return{width:t,height:o}}function gd(e,t,o){let n=$e(t),a=He(t),s=o==="fixed",c=Or(e,!0,s,t),d={scrollLeft:0,scrollTop:0},u=Te(0);function p(){u.x=Jr(a)}if(n||!n&&!s)if((vt(t)!=="body"||Vt(a))&&(d=Cr(t)),n){let y=Or(t,!0,s,t);u.x=y.x+t.clientLeft,u.y=y.y+t.clientTop}else a&&p();s&&!n&&a&&p();let f=a&&!n&&!s?Hi(a,d):Te(0),h=c.left+d.scrollLeft-u.x-f.x,m=c.top+d.scrollTop-u.y-f.y;return{x:h,y:m,width:c.width,height:c.height}}function hn(e){return Se(e).position==="static"}function Di(e,t){if(!$e(e)||Se(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return He(e)===o&&(o=o.ownerDocument.body),o}function Fi(e,t){let o=ie(e);if(Sr(e))return o;if(!$e(e)){let a=Ve(e);for(;a&&!St(a);){if(ve(a)&&!hn(a))return a;a=Ve(a)}return o}let n=Di(e,t);for(;n&&ki(n)&&hn(n);)n=Di(n,t);return n&&St(n)&&hn(n)&&!Kt(n)?o:n||Pi(e)||o}var bd=async function(e){let t=this.getOffsetParent||Fi,o=this.getDimensions,n=await o(e.floating);return{reference:gd(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function xd(e){return Se(e).direction==="rtl"}var Qr={convertOffsetParentRelativeRectToViewportRelativeRect:ld,getDocumentElement:He,getClippingRect:md,getOffsetParent:Fi,getElementRects:bd,getClientRects:dd,getDimensions:yd,getScale:Zt,isElement:ve,isRTL:xd};var Wi=wi,Gi=Ri;var zi=(e,t,o)=>{let n=new Map,a={platform:Qr,...o},s={...a.platform,_c:n};return Ai(e,t,{...a,platform:s})};function ji(e){return vd(e)}function mn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function vd(e){for(let t=e;t;t=mn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=mn(e);t;t=mn(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||Kt(o)||t.tagName==="BODY"))return t}return null}async function eo(e,t,o){let n;return typeof o=="object"?n=o:n={placement:o},zi(e,t,{strategy:n.strategy,platform:{...Qr,getOffsetParent:a=>Qr.getOffsetParent(a,ji)},middleware:[Gi({crossAxis:!0}),Wi({allowedPlacements:[n.placement]})]})}var sr=g(A());var Fn=g(q());var Vi=g(q(),1);var yn=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Ki(e,t){return(0,Vi.property)({type:Object,converter:{fromAttribute:o=>{if(o==null)return Er(e);try{return JSON.parse(o)}catch{return Er(e)}},toAttribute:o=>JSON.stringify(o)},hasChanged:Ar,...t??{}})}function Sd(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,n;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!to(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!to(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let a=c=>Object.keys(c).filter(d=>c[d]!=null),s=a(e);if(o=s.length,o!==a(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,s[n]))return!1;for(n=o;n--!==0;){let c=s[n];if(!to(e[c],t[c]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function to(e,t){try{return Sd(e,t)}catch{return!1}}function Ar(e,t){return!to(e,t)}function Er(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function ro(e,t){let o=n=>n[e]===!0;return n=>{if(o(n))return n;let a=t(n);return a[e]=!0,a}}var Zi=g(q(),1);var gn=e=>{let t=e??{};return(o,n)=>{var a;let s={hasChanged:Ar,attribute:!1,...t};(0,Zi.property)(s)(o,n);let c=o.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:(d=>d[n]),store:t.store})}};var oo=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};var Ct=g(q(),1);var no=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),s=(o=this.resolvePromise)!==null&&o!==void 0?o:(()=>null);this.clearPromise();for(let c of n)try{await c()}catch(d){a(d);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Yi=g(_(),1);var ao=globalThis,Cd=ao.ShadowRoot&&(ao.ShadyCSS===void 0||ao.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;var qi=(e,t)=>{if(Cd)e.adoptedStyleSheets=t.map((o=>o instanceof CSSStyleSheet?o:o.styleSheet));else for(let o of t){let n=document.createElement("style"),a=ao.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var io=class extends Yi.LitElement{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return qi(n,t.elementStyles),n}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([o,n])=>this.defineScopedElement(o,n))}static defineScopedElement(t,o){yn(t)(o),this.canDefineScopedElement(t)&&this.registry.define(t,o)}canDefineScopedElement(t){return this.scopedRegistryConstructor.canDefineScopedElement(t)}defineScopedElements(t){this.scopedRegistryConstructor.defineScopedElements(t)}defineScopedElement(t,o){this.scopedRegistryConstructor.defineScopedElement(t,o)}};function Xi(e,t,...o){var n;let a=e.querySelector(t);for(let s of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return a}var Yt=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},ts,Ji=Symbol("constructorPrototype"),Qi=Symbol("constructorName"),rs=Symbol("exportpartsDebouncer"),es=Symbol("dynamicDependenciesLoaded"),qt=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};qt.eventName="exportparts-updated";var Fe=class extends io{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[ts]=new no(5),this.scheduleExportpartsUpdate=()=>{var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[rs].run(()=>{var a,s;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Qi]=this.constructor.name,this[Ji]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Qi]&&Object.setPrototypeOf(this,this[Ji])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[es]||(o[es]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(qt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(qt.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new qt)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let s=[...a??[],n];o=Xi(this.shadowRoot,...s)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(t){var o,n,a,s,c,d;let u=m=>m!=null&&m.trim().length>0,p=t.filter(u).map(m=>m.trim());if(p.length===0){this.exportparts=void 0;return}let f=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let y=(s=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&s!==void 0?s:[],b=(d=(c=m.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(C=>C.split(":")[1]))!==null&&d!==void 0?d:[],x=[...y,...b].filter(u).map(C=>C.trim());for(let C of x)f.add(C)}if(f.size===0){this.exportparts=void 0;return}let h=[...f.values()].flatMap(m=>p.map(y=>`${m}:${y}--${m}`));this.exportparts=[...this.part,...h].join(", ")}};ts=rs;Yt([(0,Ct.property)()],Fe.prototype,"exportpartsPrefix",void 0);Yt([Ki([])],Fe.prototype,"exportpartsPrefixes",void 0);Yt([(0,Ct.property)({reflect:!0})],Fe.prototype,"exportparts",void 0);Yt([(0,Ct.property)()],Fe.prototype,"customStylesheet",void 0);Yt([(0,Ct.property)()],Fe.prototype,"elementToFocus",void 0);Yt([(0,Ct.state)()],Fe.prototype,"useAdoptedStyleSheets",void 0);function so(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var wr=Symbol("internalReduxEventsUnsubscribers"),nt=Symbol("internalStoresUnsubscribers"),Ot=Symbol("internalStores"),Od=ro(Symbol("withRedux"),function(e){var t,o,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(c){super.willUpdate(c),[...this.reduxConstructor.reduxReactiveProperties].some(d=>c.has(d))&&this.updateFromStores()}getUnnamedStore(){if(this[Ot].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ot].values()][0]}getStore(c){return c==null?this.getUnnamedStore():this[Ot].get(c)}addStore(c,d){var u;d=(u=d??c.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(d),this[Ot].set(d,c),this.subscribeToStore(d,c),this.updateFromStores()}removeStore(c){let d=typeof c=="string"?c:c.name;this.unsubscribeFromStore(d),this[Ot].delete(d)}setupStores(){this.unsubscribeFromStores(),this[Ot].forEach((c,d)=>this.subscribeToStore(d,c)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((c,d)=>{let u=this.constructor.getPropertyOptions(d);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:d)){let p=this.getStore(c.store);p&&(c.store?this[nt].has(c.store):this[nt].size>0)&&(this[d]=c.selector(p.getState(),this))}})}subscribeToStore(c,d){var u;this[nt].set(c,d.subscribe(()=>this.updateFromStores())),this[wr].set(c,[]),so(d)&&d.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((p,f)=>{if(typeof this[f]=="function"&&(!p.store||d.name===p.store)){let h=m=>this[f](m);d.addEventListener(p.eventName,h),this[wr].get(c).push(()=>d.removeEventListener(p.eventName,h))}})),this.onStoreAvailable(c)}unsubscribeFromStores(){this[nt].forEach((c,d)=>this.unsubscribeFromStore(d))}unsubscribeFromStore(c){var d;this[nt].has(c)&&this[nt].get(c)(),this[nt].delete(c),(d=this[wr].get(c))===null||d===void 0||d.forEach(u=>u()),this[wr].delete(c)}onStoreAvailable(c){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=nt,o=Ot,n=wr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),os=class extends Od(Fe){};function Ce(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,s;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map((function(c){return"'"+c+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ke(e){return!!e&&!!e[D]}function ke(e){var t;return!!e&&((function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Pd})(e)||Array.isArray(e)||!!e[ds]||!!(!((t=e.constructor)===null||t===void 0)&&t[ds])||wn(e)||Rn(e))}function Et(e,t,o){o===void 0&&(o=!1),Qt(e)===0?(o?Object.keys:Jt)(e).forEach((function(n){o&&typeof n=="symbol"||t(n,e[n],e)})):e.forEach((function(n,a){return t(a,n,e)}))}function Qt(e){var t=e[D];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:wn(e)?2:Rn(e)?3:0}function Xt(e,t){return Qt(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Ed(e,t){return Qt(e)===2?e.get(t):e[t]}function us(e,t,o){var n=Qt(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function ps(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function wn(e){return Td&&e instanceof Map}function Rn(e){return kd&&e instanceof Set}function at(e){return e.o||e.t}function Ln(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ms(e);delete t[D];for(var o=Jt(t),n=0;n<o.length;n++){var a=o[n],s=t[a];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(t[a]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Tn(e,t){return t===void 0&&(t=!1),kn(e)||Ke(e)||!ke(e)||(Qt(e)>1&&(e.set=e.add=e.clear=e.delete=Ad),Object.freeze(e),t&&Et(e,(function(o,n){return Tn(n,!0)}),!0)),e}function Ad(){Ce(2)}function kn(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function We(e){var t=An[e];return t||Ce(18,e),t}function wd(e,t){An[e]||(An[e]=t)}function Cn(){return Lr}function bn(e,t){t&&(We("Patches"),e.u=[],e.s=[],e.v=t)}function co(e){On(e),e.p.forEach(Rd),e.p=null}function On(e){e===Lr&&(Lr=e.l)}function ns(e){return Lr={p:[],l:Lr,h:e,m:!0,_:0}}function Rd(e){var t=e[D];t.i===0||t.i===1?t.j():t.g=!0}function xn(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||We("ES5").S(t,e,n),n?(o[D].P&&(co(t),Ce(4)),ke(e)&&(e=lo(t,e),t.l||uo(t,e)),t.u&&We("Patches").M(o[D].t,e,t.u,t.s)):e=lo(t,o,[]),co(t),t.u&&t.v(t.u,t.s),e!==hs?e:void 0}function lo(e,t,o){if(kn(t))return t;var n=t[D];if(!n)return Et(t,(function(d,u){return as(e,n,t,d,u,o)}),!0),t;if(n.A!==e)return t;if(!n.P)return uo(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Ln(n.k):n.o,s=a,c=!1;n.i===3&&(s=new Set(a),a.clear(),c=!0),Et(s,(function(d,u){return as(e,n,a,d,u,o,c)})),uo(e,a,!1),o&&e.u&&We("Patches").N(n,o,e.u,e.s)}return n.o}function as(e,t,o,n,a,s,c){if(Ke(a)){var d=lo(e,a,s&&t&&t.i!==3&&!Xt(t.R,n)?s.concat(n):void 0);if(us(o,n,d),!Ke(d))return;e.m=!1}else c&&o.add(a);if(ke(a)&&!kn(a)){if(!e.h.D&&e._<1)return;lo(e,a),t&&t.A.l||uo(e,a)}}function uo(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Tn(t,o)}function vn(e,t){var o=e[D];return(o?at(o):e)[t]}function is(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function it(e){e.P||(e.P=!0,e.l&&it(e.l))}function Sn(e){e.o||(e.o=Ln(e.t))}function En(e,t,o){var n=wn(t)?We("MapSet").F(t,o):Rn(t)?We("MapSet").T(t,o):e.O?(function(a,s){var c=Array.isArray(a),d={i:c?1:0,A:s?s.A:Cn(),P:!1,I:!1,R:{},l:s,t:a,k:null,o:null,j:null,C:!1},u=d,p=Tr;c&&(u=[d],p=Rr);var f=Proxy.revocable(u,p),h=f.revoke,m=f.proxy;return d.k=m,d.j=h,m})(t,o):We("ES5").J(t,o);return(o?o.A:Cn()).p.push(n),n}function Ld(e){return Ke(e)||Ce(22,e),(function t(o){if(!ke(o))return o;var n,a=o[D],s=Qt(o);if(a){if(!a.P&&(a.i<4||!We("ES5").K(a)))return a.t;a.I=!0,n=ss(o,s),a.I=!1}else n=ss(o,s);return Et(n,(function(c,d){a&&Ed(a.t,c)===d||us(n,c,t(d))})),s===3?new Set(n):n})(e)}function ss(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Ln(e)}function fs(){function e(c,d){var u=s[c];return u?u.enumerable=d:s[c]=u={configurable:!0,enumerable:d,get:function(){var p=this[D];return Tr.get(p,c)},set:function(p){var f=this[D];Tr.set(f,c,p)}},u}function t(c){for(var d=c.length-1;d>=0;d--){var u=c[d][D];if(!u.P)switch(u.i){case 5:n(u)&&it(u);break;case 4:o(u)&&it(u)}}}function o(c){for(var d=c.t,u=c.k,p=Jt(u),f=p.length-1;f>=0;f--){var h=p[f];if(h!==D){var m=d[h];if(m===void 0&&!Xt(d,h))return!0;var y=u[h],b=y&&y[D];if(b?b.t!==m:!ps(y,m))return!0}}var x=!!d[D];return p.length!==Jt(d).length+(x?0:1)}function n(c){var d=c.k;if(d.length!==c.t.length)return!0;var u=Object.getOwnPropertyDescriptor(d,d.length-1);if(u&&!u.get)return!0;for(var p=0;p<d.length;p++)if(!d.hasOwnProperty(p))return!0;return!1}function a(c){c.g&&Ce(3,JSON.stringify(at(c)))}var s={};wd("ES5",{J:function(c,d){var u=Array.isArray(c),p=(function(h,m){if(h){for(var y=Array(m.length),b=0;b<m.length;b++)Object.defineProperty(y,""+b,e(b,!0));return y}var x=ms(m);delete x[D];for(var C=Jt(x),O=0;O<C.length;O++){var E=C[O];x[E]=e(E,h||!!x[E].enumerable)}return Object.create(Object.getPrototypeOf(m),x)})(u,c),f={i:u?5:4,A:d?d.A:Cn(),P:!1,I:!1,R:{},l:d,t:c,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,D,{value:f,writable:!0}),p},S:function(c,d,u){u?Ke(d)&&d[D].A===c&&t(c.p):(c.u&&(function p(f){if(f&&typeof f=="object"){var h=f[D];if(h){var m=h.t,y=h.k,b=h.R,x=h.i;if(x===4)Et(y,(function(L){L!==D&&(m[L]!==void 0||Xt(m,L)?b[L]||p(y[L]):(b[L]=!0,it(h)))})),Et(m,(function(L){y[L]!==void 0||Xt(y,L)||(b[L]=!1,it(h))}));else if(x===5){if(n(h)&&(it(h),b.length=!0),y.length<m.length)for(var C=y.length;C<m.length;C++)b[C]=!1;else for(var O=m.length;O<y.length;O++)b[O]=!0;for(var E=Math.min(y.length,m.length),R=0;R<E;R++)y.hasOwnProperty(R)||(b[R]=!0),b[R]===void 0&&p(y[R])}}}})(c.p[0]),t(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var cs,Lr,Pn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Td=typeof Map<"u",kd=typeof Set<"u",ls=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",hs=Pn?Symbol.for("immer-nothing"):((cs={})["immer-nothing"]=!0,cs),ds=Pn?Symbol.for("immer-draftable"):"__$immer_draftable",D=Pn?Symbol.for("immer-state"):"__$immer_state";var Pd=""+Object.prototype.constructor,Jt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,ms=Object.getOwnPropertyDescriptors||function(e){var t={};return Jt(e).forEach((function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)})),t},An={},Tr={get:function(e,t){if(t===D)return e;var o=at(e);if(!Xt(o,t))return(function(a,s,c){var d,u=is(s,c);return u?"value"in u?u.value:(d=u.get)===null||d===void 0?void 0:d.call(a.k):void 0})(e,o,t);var n=o[t];return e.I||!ke(n)?n:n===vn(e.t,t)?(Sn(e),e.o[t]=En(e.A.h,n,e)):n},has:function(e,t){return t in at(e)},ownKeys:function(e){return Reflect.ownKeys(at(e))},set:function(e,t,o){var n=is(at(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=vn(at(e),t),s=a?.[D];if(s&&s.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(ps(o,a)&&(o!==void 0||Xt(e.t,t)))return!0;Sn(e),it(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return vn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Sn(e),it(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=at(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Ce(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ce(12)}},Rr={};Et(Tr,(function(e,t){Rr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Rr.deleteProperty=function(e,t){return Rr.set.call(this,e,t,void 0)},Rr.set=function(e,t,o){return Tr.set.call(this,e[0],t,o,e[0])};var _d=(function(){function e(o){var n=this;this.O=ls,this.D=!0,this.produce=function(a,s,c){if(typeof a=="function"&&typeof s!="function"){var d=s;s=a;var u=n;return function(x){var C=this;x===void 0&&(x=d);for(var O=arguments.length,E=Array(O>1?O-1:0),R=1;R<O;R++)E[R-1]=arguments[R];return u.produce(x,(function(L){var z;return(z=s).call.apply(z,[C,L].concat(E))}))}}var p;if(typeof s!="function"&&Ce(6),c!==void 0&&typeof c!="function"&&Ce(7),ke(a)){var f=ns(n),h=En(n,a,void 0),m=!0;try{p=s(h),m=!1}finally{m?co(f):On(f)}return typeof Promise<"u"&&p instanceof Promise?p.then((function(x){return bn(f,c),xn(x,f)}),(function(x){throw co(f),x})):(bn(f,c),xn(p,f))}if(!a||typeof a!="object"){if((p=s(a))===void 0&&(p=a),p===hs&&(p=void 0),n.D&&Tn(p,!0),c){var y=[],b=[];We("Patches").M(a,p,y,b),c(y,b)}return p}Ce(21,a)},this.produceWithPatches=function(a,s){if(typeof a=="function")return function(p){for(var f=arguments.length,h=Array(f>1?f-1:0),m=1;m<f;m++)h[m-1]=arguments[m];return n.produceWithPatches(p,(function(y){return a.apply(void 0,[y].concat(h))}))};var c,d,u=n.produce(a,s,(function(p,f){c=p,d=f}));return typeof Promise<"u"&&u instanceof Promise?u.then((function(p){return[p,c,d]})):[u,c,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){ke(o)||Ce(8),Ke(o)&&(o=Ld(o));var n=ns(this),a=En(this,o,void 0);return a[D].C=!0,On(n),a},t.finishDraft=function(o,n){var a=o&&o[D],s=a.A;return bn(s,n),xn(void 0,s)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!ls&&Ce(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var s=n[a];if(s.path.length===0&&s.op==="replace"){o=s.value;break}}a>-1&&(n=n.slice(a+1));var c=We("Patches").$;return Ke(o)?c(o,n):this.produce(o,(function(d){return c(d,n)}))},e})(),pe=new _d,Nd=pe.produce,Ug=pe.produceWithPatches.bind(pe),Hg=pe.setAutoFreeze.bind(pe),$g=pe.setUseProxies.bind(pe),Fg=pe.applyPatches.bind(pe),Wg=pe.createDraft.bind(pe),Gg=pe.finishDraft.bind(pe),po=Nd;function At(e){"@babel/helpers - typeof";return At=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},At(e)}function ys(e,t){if(At(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(At(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function gs(e){var t=ys(e,"string");return At(t)=="symbol"?t:t+""}function bs(e,t,o){return(t=gs(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function xs(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function _n(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?xs(Object(o),!0).forEach(function(n){bs(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):xs(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function Q(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var vs=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),Nn=function(){return Math.random().toString(36).substring(7).split("").join(".")},fo={INIT:"@@redux/INIT"+Nn(),REPLACE:"@@redux/REPLACE"+Nn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Nn()}};function Id(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function In(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Q(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Q(1));return o(In)(e,t)}if(typeof e!="function")throw new Error(Q(2));var a=e,s=t,c=[],d=c,u=!1;function p(){d===c&&(d=c.slice())}function f(){if(u)throw new Error(Q(3));return s}function h(x){if(typeof x!="function")throw new Error(Q(4));if(u)throw new Error(Q(5));var C=!0;return p(),d.push(x),function(){if(C){if(u)throw new Error(Q(6));C=!1,p();var E=d.indexOf(x);d.splice(E,1),c=null}}}function m(x){if(!Id(x))throw new Error(Q(7));if(typeof x.type>"u")throw new Error(Q(8));if(u)throw new Error(Q(9));try{u=!0,s=a(s,x)}finally{u=!1}for(var C=c=d,O=0;O<C.length;O++){var E=C[O];E()}return x}function y(x){if(typeof x!="function")throw new Error(Q(10));a=x,m({type:fo.REPLACE})}function b(){var x,C=h;return x={subscribe:function(E){if(typeof E!="object"||E===null)throw new Error(Q(11));function R(){E.next&&E.next(f())}R();var L=C(R);return{unsubscribe:L}}},x[vs]=function(){return this},x}return m({type:fo.INIT}),n={dispatch:m,subscribe:h,getState:f,replaceReducer:y},n[vs]=b,n}function Dd(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:fo.INIT});if(typeof n>"u")throw new Error(Q(12));if(typeof o(void 0,{type:fo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Q(13))})}function Ss(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(o[a]=e[a])}var s=Object.keys(o),c,d;try{Dd(o)}catch(u){d=u}return function(p,f){if(p===void 0&&(p={}),d)throw d;if(0)var h;for(var m=!1,y={},b=0;b<s.length;b++){var x=s[b],C=o[x],O=p[x],E=C(O,f);if(typeof E>"u"){var R=f&&f.type;throw new Error(Q(14))}y[x]=E,m=m||E!==O}return m=m||s.length!==Object.keys(p).length,m?y:p}}function er(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Cs(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),s=function(){throw new Error(Q(15))},c={getState:a.getState,dispatch:function(){return s.apply(void 0,arguments)}},d=t.map(function(u){return u(c)});return s=er.apply(void 0,d)(a.dispatch),_n(_n({},a),{},{dispatch:s})}}}function Os(e){var t=function(n){var a=n.dispatch,s=n.getState;return function(c){return function(d){return typeof d=="function"?d(a,s,e):c(d)}}};return t}var Es=Os();Es.withExtraArgument=Os;var Dn=Es;var Ts=(function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(n[s]=a[s])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}})(),Md=function(e,t){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,c;return c={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function d(p){return function(f){return u([p,f])}}function u(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(s=p[0]&2?a.return:p[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,p[1])).done)return s;switch(a=0,s&&(p=[p[0]&2,s.value]),p[0]){case 0:case 1:s=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,a=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(s=o.trys,!(s=s.length>0&&s[s.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!s||p[1]>s[0]&&p[1]<s[3])){o.label=p[1];break}if(p[0]===6&&o.label<s[1]){o.label=s[1],s=p;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(p);break}s[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(f){p=[6,f],a=0}finally{n=s=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},tr=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},Bd=Object.defineProperty,Ud=Object.defineProperties,Hd=Object.getOwnPropertyDescriptors,As=Object.getOwnPropertySymbols,$d=Object.prototype.hasOwnProperty,Fd=Object.prototype.propertyIsEnumerable,ws=function(e,t,o){return t in e?Bd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},st=function(e,t){for(var o in t||(t={}))$d.call(t,o)&&ws(e,o,t[o]);if(As)for(var n=0,a=As(t);n<a.length;n++){var o=a[n];Fd.call(t,o)&&ws(e,o,t[o])}return e},Mn=function(e,t){return Ud(e,Hd(t))},Wd=function(e,t,o){return new Promise(function(n,a){var s=function(u){try{d(o.next(u))}catch(p){a(p)}},c=function(u){try{d(o.throw(u))}catch(p){a(p)}},d=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(s,c)};d((o=o.apply(e,t)).next())})};var Gd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?er:er.apply(null,arguments)},sb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function zd(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}function ct(e,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var s=t.apply(void 0,n);if(!s)throw new Error("prepareAction did not return an object");return st(st({type:e,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}var jd=(function(e){Ts(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,tr([void 0],o[0].concat(this)))):new(t.bind.apply(t,tr([void 0],o.concat(this))))},t})(Array),Vd=(function(e){Ts(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,tr([void 0],o[0].concat(this)))):new(t.bind.apply(t,tr([void 0],o.concat(this))))},t})(Array);function Hn(e){return ke(e)?po(e,function(){}):e}function Kd(e){return typeof e=="boolean"}function Zd(){return function(t){return qd(t)}}function qd(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,s=e.serializableCheck,c=s===void 0?!0:s,d=e.actionCreatorCheck,u=d===void 0?!0:d,p=new jd;if(o&&(Kd(o)?p.push(Dn):p.push(Dn.withExtraArgument(o.extraArgument))),0){if(a)var f;if(c)var h;if(u)var m}return p}var Bn=!0;function ks(e){var t=Zd(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,s=o.middleware,c=s===void 0?t():s,d=o.devTools,u=d===void 0?!0:d,p=o.preloadedState,f=p===void 0?void 0:p,h=o.enhancers,m=h===void 0?void 0:h,y;if(typeof a=="function")y=a;else if(zd(a))y=Ss(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=c;if(typeof b=="function"&&(b=b(t),!Bn&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Bn&&b.some(function(L){return typeof L!="function"}))throw new Error("each middleware provided to configureStore must be a function");var x=Cs.apply(void 0,b),C=er;u&&(C=Gd(st({trace:!Bn},typeof u=="object"&&u)));var O=new Vd(x),E=O;Array.isArray(m)?E=tr([x],m):typeof m=="function"&&(E=m(O));var R=C.apply(void 0,E);return In(y,f,R)}function Ps(e){var t={},o=[],n,a={addCase:function(s,c){var d=typeof s=="string"?s:s.type;if(!d)throw new Error("`builder.addCase` cannot be called with an empty action type");if(d in t)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return t[d]=c,a},addMatcher:function(s,c){return o.push({matcher:s,reducer:c}),a},addDefaultCase:function(s){return n=s,a}};return e(a),[t,o,n]}function Yd(e){return typeof e=="function"}function Xd(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?Ps(t):[t,o,n],s=a[0],c=a[1],d=a[2],u;if(Yd(e))u=function(){return Hn(e())};else{var p=Hn(e);u=function(){return p}}function f(h,m){h===void 0&&(h=u());var y=tr([s[m.type]],c.filter(function(b){var x=b.matcher;return x(m)}).map(function(b){var x=b.reducer;return x}));return y.filter(function(b){return!!b}).length===0&&(y=[d]),y.reduce(function(b,x){if(x)if(Ke(b)){var C=b,O=x(C,m);return O===void 0?b:O}else{if(ke(b))return po(b,function(E){return x(E,m)});var O=x(b,m);if(O===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return O}return b},h)}return f.getInitialState=u,f}function Jd(e,t){return e+"/"+t}function _s(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Hn(e.initialState),n=e.reducers||{},a=Object.keys(n),s={},c={},d={};a.forEach(function(f){var h=n[f],m=Jd(t,f),y,b;"reducer"in h?(y=h.reducer,b=h.prepare):y=h,s[f]=y,c[m]=y,d[f]=b?ct(m,b):ct(m)});function u(){var f=typeof e.extraReducers=="function"?Ps(e.extraReducers):[e.extraReducers],h=f[0],m=h===void 0?{}:h,y=f[1],b=y===void 0?[]:y,x=f[2],C=x===void 0?void 0:x,O=st(st({},m),c);return Xd(o,function(E){for(var R in O)E.addCase(R,O[R]);for(var L=0,z=b;L<z.length;L++){var $=z[L];E.addMatcher($.matcher,$.reducer)}C&&E.addDefaultCase(C)})}var p;return{name:t,reducer:function(f,h){return p||(p=u()),p(f,h)},actions:d,caseReducers:s,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var Qd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",eu=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Qd[Math.random()*64|0];return t},tu=["name","message","stack","code"],Un=(function(){function e(t,o){this.payload=t,this.meta=o}return e})(),Rs=(function(){function e(t,o){this.payload=t,this.meta=o}return e})(),ru=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=tu;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},ub=(function(){function e(t,o,n){var a=ct(t+"/fulfilled",function(f,h,m,y){return{payload:f,meta:Mn(st({},y||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),s=ct(t+"/pending",function(f,h,m){return{payload:void 0,meta:Mn(st({},m||{}),{arg:h,requestId:f,requestStatus:"pending"})}}),c=ct(t+"/rejected",function(f,h,m,y,b){return{payload:y,error:(n&&n.serializeError||ru)(f||"Rejected"),meta:Mn(st({},b||{}),{arg:m,requestId:h,rejectedWithValue:!!y,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),d=!1,u=typeof AbortController<"u"?AbortController:(function(){function f(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return f.prototype.abort=function(){},f})();function p(f){return function(h,m,y){var b=n?.idGenerator?n.idGenerator(f):eu(),x=new u,C,O=!1;function E(L){C=L,x.abort()}var R=(function(){return Wd(this,null,function(){var L,z,$,Xe,Go,Je,le;return Md(this,function(ge){switch(ge.label){case 0:return ge.trys.push([0,4,,5]),Xe=(L=n?.condition)==null?void 0:L.call(n,f,{getState:m,extra:y}),nu(Xe)?[4,Xe]:[3,2];case 1:Xe=ge.sent(),ge.label=2;case 2:if(Xe===!1||x.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return O=!0,Go=new Promise(function(de,ft){return x.signal.addEventListener("abort",function(){return ft({name:"AbortError",message:C||"Aborted"})})}),h(s(b,f,(z=n?.getPendingMeta)==null?void 0:z.call(n,{requestId:b,arg:f},{getState:m,extra:y}))),[4,Promise.race([Go,Promise.resolve(o(f,{dispatch:h,getState:m,extra:y,requestId:b,signal:x.signal,abort:E,rejectWithValue:function(de,ft){return new Un(de,ft)},fulfillWithValue:function(de,ft){return new Rs(de,ft)}})).then(function(de){if(de instanceof Un)throw de;return de instanceof Rs?a(de.payload,b,f,de.meta):a(de,b,f)})])];case 3:return $=ge.sent(),[3,5];case 4:return Je=ge.sent(),$=Je instanceof Un?c(null,b,f,Je.payload,Je.meta):c(Je,b,f),[3,5];case 5:return le=n&&!n.dispatchConditionRejection&&c.match($)&&$.meta.condition,le||h($),[2,$]}})})})();return Object.assign(R,{abort:E,requestId:b,arg:f,unwrap:function(){return R.then(ou)}})}}return Object.assign(p,{pending:s,rejected:c,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e})();function ou(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function nu(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Ns="listener",Is="completed",Ds="cancelled",pb="task-"+Ds,fb="task-"+Is,hb=Ns+"-"+Ds,mb=Ns+"-"+Is;var $n="listenerMiddleware";var yb=ct($n+"/add"),gb=ct($n+"/removeAll"),bb=ct($n+"/remove");var Ls,xb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Ls||(Ls=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},au=function(e){return function(t){setTimeout(t,e)}},vb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:au(10);fs();var iu=ro(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}),ho=class extends iu(Object){};window.ftReduxStores||(window.ftReduxStores={});var Ms=class e extends ho{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,s=window.ftReduxStores[n];if(so(s))return s;if(a==null)return;let c=_s({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),d=ks({reducer:(u,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let f=Er(c.getInitialState());for(let h of p.keeping)f[h]=(u??f)[h];return f}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...u,...p.overwrites};return c.reducer(u,p)}});return window.ftReduxStores[a.name]=new e(c,d,a.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new oo;let a=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,c,d)=>{let u=c,p=s[u];return p?(...f)=>{let h=p(...f.map(a));return this.reduxStore.dispatch(h),h}:f=>{this.setState({[u]:a(f)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var mo=class{static format(t,o,n,a,s){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,a,!!s)):this.getIntlDateTime(t,o,n,a,!!s)}static getMomentDateFormat(t,o,n){return n?"LT":t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,a,s){let c=typeof t=="string"?new Date(t):t,d=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(c),u=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(c);return s?u:a?`${d} ${u}`:d}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${t(Math.abs(o)/60)}:${t(Math.abs(o)%60)}`}};var yo=g(A()),su="ft-app-info",rr=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};rr.eventName="authentication-change";var kr=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};kr.eventName="ui-locale-changed";var cu={session:(e,t)=>{(0,yo.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>k.dispatchEvent(new rr(t.payload)),0))}},k=yo.FtReduxStore.get({name:su,reducers:cu,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,searchLanguageSetsUiLanguage:!1,uiLanguageSetsSearchLanguage:!1,uiLanguageSetsReaderLanguage:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var Bs=g(A()),go=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},Zb=(0,Bs.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(k)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var a,s;return((s=(a=this.metadataDescriptors.find(d=>d.key===n))===null||a===void 0?void 0:a.date)!==null&&s!==void 0?s:!1)?d=>mo.format(d,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return go([(0,Fn.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),go([(0,Fn.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),go([gn({store:k.name,selector:o=>{var n,a;return(a=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),go([gn({store:k.name})],t.prototype,"uiLocale",void 0),t});var Us;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Us||(Us={}));var Hs;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Hs||(Hs={}));var $s;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})($s||($s={}));var Fs;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(Fs||(Fs={}));var Ws;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Ws||(Ws={}));var Gs;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Gs||(Gs={}));var zs;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(zs||(zs={}));var js;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(js||(js={}));var Vs;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(Vs||(Vs={}));var Ks;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(Ks||(Ks={}));var Zs;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(Zs||(Zs={}));var qs;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(qs||(qs={}));var Ys;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Ys||(Ys={}));var Xs;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Xs||(Xs={}));var Js;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Js||(Js={}));var Qs;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Qs||(Qs={}));var ec;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(ec||(ec={}));var tc;(function(e){e.ASC="ASC",e.DESC="DESC"})(tc||(tc={}));var rc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(rc||(rc={}));var oc;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(oc||(oc={}));var nc;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(nc||(nc={}));var ac;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(ac||(ac={}));var ic;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(ic||(ic={}));var sc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(sc||(sc={}));var cc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(cc||(cc={}));var lc;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(lc||(lc={}));var dc;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(dc||(dc={}));var G;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(G||(G={}));var Oe;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Oe||(Oe={}));var uc;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(uc||(uc={}));var pc;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(pc||(pc={}));var fc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(fc||(fc={}));var hc;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SUMMARY="SUMMARY",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.DOCUMENTATION="DOCUMENTATION",e.OTHER="OTHER"})(hc||(hc={}));var mc;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(mc||(mc={}));var yc;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(yc||(yc={}));var gc;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(gc||(gc={}));var bc;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(bc||(bc={}));var xc;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(xc||(xc={}));var vc;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(vc||(vc={}));var Sc;(function(e){e.SOURCES="SOURCES",e.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",e.VOCABULARIES="VOCABULARIES",e.METADATA="METADATA",e.PRETTY_URL="PRETTY_URL",e.ACCESS_RULE="ACCESS_RULE",e.DESIGNED_PAGES="DESIGNED_PAGES",e.THEME_STUDIO="THEME_STUDIO",e.PORTAL_GENERAL="PORTAL_GENERAL",e.ASSETS="ASSETS",e.CODE_LIBRARY="CODE_LIBRARY",e.THEME="THEME",e.CONTENT_STYLES="CONTENT_STYLES",e.HOMEPAGE="HOMEPAGE",e.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",e.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",e.PORTAL_METADATA="PORTAL_METADATA",e.LANGUAGES="LANGUAGES",e.PRINT_TEMPLATES="PRINT_TEMPLATES",e.OFFLINE="OFFLINE",e.CUSTOM_JS="CUSTOM_JS",e.CONFIDENTIALITY="CONFIDENTIALITY",e.NOTIFICATIONS="NOTIFICATIONS"})(Sc||(Sc={}));var Cc;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(Cc||(Cc={}));var lu={[G.PERSONAL_BOOK_SHARE_USER]:[G.PERSONAL_BOOK_USER],[G.HTML_EXPORT_USER]:[G.PERSONAL_BOOK_USER],[G.PDF_EXPORT_USER]:[G.PERSONAL_BOOK_USER],[G.KHUB_ADMIN]:[G.CONTENT_PUBLISHER],[G.ADMIN]:[G.KHUB_ADMIN,G.USERS_ADMIN,G.PORTAL_ADMIN,G.BEHAVIOR_DATA_USER],[G.GENERATIVE_AI_EXPORT_USER]:[G.GENERATIVE_AI_USER]};function Oc(e,t){return e===t||(lu[e]??[]).some(o=>Oc(o,t))}function Ec(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(n=>Oc(n,t))}var Co=g(A());var Wn=g(A());var wt=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=k.getState(),a=t??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let a=k.subscribe(()=>{n=e.get(t),n&&(a(),o(n))})}})}};var or=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:wt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):wt.await()}};var fe=class extends or{constructor(t=!0,o){var n;super(o),this.sortObjectFields=(s,c)=>typeof c!="object"||c==null||Array.isArray(c)?c:Object.fromEntries(Object.entries(c).sort(([d],[u])=>d.localeCompare(u)));let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new Wn.CacheRegistry,this.cache=t?a.commonCache:new Wn.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var bo=class extends fe{async listMySearches(){let{session:t}=k.getState();return Ec(t,G.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),300*1e3):[]}};var xo=class extends fe{async listMyBookmarks(){let t=k.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),300*1e3):[]}};var vo=class extends fe{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=k.getState().session;return!!t?.sessionAuthenticated}};var So=class extends fe{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let t=k.getState().session;return!!t?.sessionAuthenticated}};var du="ft-user-assets",uu={setAssetCount:(e,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;e.assetCounts.allAsset[o]=n},clearAssetCount:e=>{Object.values(Oe).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let o=t.payload.mapId;e.assetCounts.bookmarkByMap[o]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:o,mapId:n,asset:a}=t.payload;zn(e,o,[...Gn(e,o),a]),Ac(e,o,1,n),wc(e,a)},editAsset:(e,t)=>{let{assetType:o,asset:n}=t.payload;zn(e,o,Gn(e,o).map(a=>a.id===n.id?n:a)),wc(e,n)},removeAsset:(e,t)=>{let{assetType:o,mapId:n,assetId:a}=t.payload;zn(e,o,Gn(e,o).filter(s=>s.id!==a)),Ac(e,o,-1,n)}},Rc={[Oe.SEARCHES]:"savedSearches",[Oe.BOOKMARKS]:"bookmarks",[Oe.BOOKS]:void 0,[Oe.COLLECTIONS]:void 0},Gn=(e,t)=>{var o;let n=Rc[t];return n?(o=e[n])!==null&&o!==void 0?o:[]:[]},zn=(e,t,o)=>{let n=Rc[t];n&&(e[n]=o)},Ac=(e,t,o,n)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+o),t===Oe.BOOKMARKS&&n)){let s=e.assetCounts.bookmarkByMap[n];e.assetCounts.bookmarkByMap[n]=Math.max(0,s+o)}},wc=(e,t)=>{let o=e.assetLabels.map(a=>a.title),n=t.labels.filter(a=>!o.includes(a)).map(a=>({title:a}));e.assetLabels.push(...n)},oe=Co.FtReduxStore.get({name:du,reducers:uu,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Oe).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),jn=class{constructor(t=new vo,o=new So){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=k.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new xo,this.savedSearchesService=new bo,k.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=k.getState();(0,Co.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),oe.actions.clearAssetCount(),oe.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),oe.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),oe.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();oe.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();oe.actions.assetLabels(t)}async loadAssetCount(t){let o=await this.assetCountsService.getUserAssetCount(t);o&&oe.getState().assetCounts.allAsset[t]!==o.count&&oe.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&oe.getState().assetCounts.bookmarkByMap[t]!==o.count&&oe.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(oe.getState().assetCounts.bookmarkByMap).length!==0;t===Oe.BOOKMARKS&&o&&oe.actions.clearBookmarkCountByMap(),oe.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;oe.actions.bookmarks(o)}}},pu=new jn;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=pu);var Vn=class{addCommand(t,o=!1){k.commands.add(t,o)}consumeCommand(t){return k.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Vn;var Ee=g(A());var Lc,nr=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},fu=Symbol("clearAfterUnitTest"),Oo=class extends(0,Ee.withEventBus)(fe){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Lc]=()=>{this.defaultMessages={},this.cache=new Ee.CacheRegistry,this.listeners={}},this.currentUiLocale=k.getState().uiLocale,k.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=k.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,Ee.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var a;let s=t.toLowerCase(),c=this.resolveContext(s);return new Ee.ParametrizedLabelResolver((a=this.defaultMessages[s])!==null&&a!==void 0?a:{},c).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(a){!(a instanceof Ee.CanceledPromiseError)&&o&&console.error(a)}return n}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new nr({loadedContexts:t})),this.dispatchEvent(new nr({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new nr({loadedContexts:[t]})),this.dispatchEvent(new nr({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,Ee.delay)(0).then(()=>n()).catch(()=>null)))}};Lc=fu;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Oo{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Oo{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var ar=window.FluidTopicsI18nService,Eo=window.FluidTopicsCustomI18nService;var Tc=g(A()),Kn=class{highlightHtml(t,o,n){(0,Tc.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new Kn;var kc=g(A());var Zn=class{isDate(t){var o,n,a,s;return(s=(a=((n=(o=k.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===t))===null||a===void 0?void 0:a.date)!==null&&s!==void 0?s:!1}format(t,o){var n,a,s,c;if(t==null)return"";try{return kc.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:k.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(s=o?.withTime)!==null&&s!==void 0?s:!1,(c=o?.onlyTime)!==null&&c!==void 0?c:!1)}catch(d){throw console.error(`Date ${JSON.stringify(t)} is not valid`,d),d}}};window.FluidTopicsDateService=new Zn;var Pc=g(A());var Pr=class{static get(t,o){var n,a;let s=k.getState(),{lang:c,region:d}=(a=(n=s.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new Pc.SearchPlaceConverter(s.baseUrl,t??20,s.searchInAllLanguagesAllowed,o??`${c}-${d}`)}};var qn=class{urlToSearchRequest(t){return Pr.get().parse(t)}searchRequestToUrl(t){return Pr.get().serialize(t)}};window.FluidTopicsUrlService=new qn;var Ze=g(A());var Rt=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Rt.eventName="change";var Yn=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let o=sessionStorage.getItem(this.itemName(t));return o?JSON.parse(o):void 0}set(t,o){sessionStorage.setItem(this.itemName(t),JSON.stringify(o))}},_c=new Yn;var Ao=class e extends Ze.WithEventBus{static build(){return new e(window.history,_c,()=>window.location,!1)}constructor(t,o,n,a){var s,c;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(c=(s=t.state)===null||s===void 0?void 0:s.index)!==null&&c!==void 0?c:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(t,o=!1){let n=o&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,Ze.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Rt(this.currentItem())),0)}installProxies(){let t=o=>(n,a,[s,c,d])=>{let u=o(),p={...u===this.currentIndex?this.currentState:void 0,...s,index:u,href:typeof d=="string"?d:(d??this.windowLocation()).href};n.apply(a,[p,c,d]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(Rt.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Rt.eventName,t)}currentItem(){return(0,Ze.deepCopy)(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,Ze.deepCopy)(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(t){let o=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return(0,Ze.deepCopy)(o.find(n=>t(n)))}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return(0,Ze.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var o;let n=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;if(!n)return t;let a=t,s=t+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(a=s),s++;return a}buildCurrentState(){var t,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&o!==void 0?o:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,o){var n;if(!this.hasState(t))return!1;let a=o??this.currentState.majorStateId,s=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Ao.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:e=>window.FluidTopicsInternalHistoryService.backwardItemMatching(e),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var Nc=g(_());var Ic=Nc.css`
362
- `;var Bc=g(_()),he=g(q()),kt=g(A());var Lt=g(A());function Dc(e,t){let{authenticationRequired:o,session:n}=k.getState();return o&&!n?.sessionAuthenticated?Promise.resolve(t):e()}var wo=class extends or{async updateUiLocale(t){return(await this.awaitApi).updateUiLocale(t)}};var Xn=class e extends Lt.FtStateManager{static build(t){return new e(k,t)}constructor(t,o){super(),this.store=t,this.cache=new Lt.CacheRegistry,this.withManualResources=!0,this.localesConfiguration=null,this.userLocaleService=new wo,this.cleanSessionDebouncer=new Lt.Debouncer,this.reloadDebouncer=new Lt.Debouncer(500),this.apiProvider=o??(()=>wt.get())}setWithManualResources(t){this.withManualResources=t,this.updateIfNeeded()}async initService(){this.store.addEventListener(rr.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let t=await this.cache.get("session",async()=>{let o=await this.apiProvider().getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},o.idleTimeoutInMillis),o});this.setSession(t)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var t;let o=await this.cache.get("availableContentLocales",()=>Dc(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((t=o.contentLocales)!==null&&t!==void 0?t:[])}reloadConfiguration(){var t;(t=this.cache)===null||t===void 0||t.clear("availableContentLocales"),typeof this.updateAvailableContentLocales=="function"&&this.updateAvailableContentLocales()}setBaseUrl(t){this.store.actions.baseUrl(t),window.fluidTopicsBaseUrl=t}setApiIntegrationIdentifier(t){this.store.actions.apiIntegrationIdentifier(t)}setApiIntegrationAppVersion(t){this.store.actions.apiIntegrationAppVersion(t)}setUiLocale(t){this.store.actions.uiLocale(t)}setLocalesConfiguration(t){var o,n,a,s,c;this.localesConfiguration=t,this.store.actions.defaultLocales(this.localesConfiguration.defaultLocales),this.store.actions.availableUiLocales((o=this.localesConfiguration.availableUiLocales)!==null&&o!==void 0?o:[]),this.store.actions.searchInAllLanguagesAllowed((n=this.localesConfiguration.allLanguagesAllowed)!==null&&n!==void 0?n:!1),this.store.actions.searchLanguageSetsUiLanguage((a=this.localesConfiguration.searchLanguageSetsUiLanguage)!==null&&a!==void 0?a:!1),this.store.actions.uiLanguageSetsSearchLanguage((s=this.localesConfiguration.uiLanguageSetsSearchLanguage)!==null&&s!==void 0?s:!1),this.store.actions.uiLanguageSetsReaderLanguage((c=this.localesConfiguration.uiLanguageSetsReaderLanguage)!==null&&c!==void 0?c:!1),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(t){this.store.actions.availableContentLocales(t),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(t){this.userLocaleService.updateUiLocale({uiLocale:t}).then(o=>{o.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new kr(o)))}).catch(()=>{})}setMetadataConfiguration(t){this.store.actions.metadataConfiguration(t),setTimeout(()=>this.updateIfNeeded())}setNoCustom(t){this.store.actions.noCustom(t)}setEditorMode(t){this.store.actions.editorMode(t)}setNoCustomComponent(t){this.store.actions.noCustomComponent(t)}setSession(t){this.store.actions.session(t),setTimeout(()=>this.updateIfNeeded())}setOpenExternalDocumentInNewTab(t){this.store.actions.openExternalDocumentInNewTab(t)}setNavigatorOnline(t){this.store.actions.navigatorOnline(t)}setForcedOffline(t){this.store.actions.forcedOffline(t)}setAuthenticationRequired(t){this.store.actions.authenticationRequired(t)}},Mc=Xn.build();var Tt=class extends Event{constructor(t,o,n,a){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=o,this.callback=n,this.subscribe=a??!1}};var _r=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=t=>{let o=this.pendingContextRequests.get(t.context);if(o===void 0)return;this.pendingContextRequests.delete(t.context);let{requests:n}=o;for(let{elementRef:a,callbackRef:s}of n){let c=a.deref(),d=s.deref();c===void 0||d===void 0||c.dispatchEvent(new Tt(t.context,c,d,!0))}},this.onContextRequest=t=>{if(t.subscribe!==!0)return;let o=t.contextTarget??t.composedPath()[0],n=t.callback,a=this.pendingContextRequests.get(t.context);a===void 0&&this.pendingContextRequests.set(t.context,a={callbacks:new WeakMap,requests:[]});let s=a.callbacks.get(o);s===void 0&&a.callbacks.set(o,s=new WeakSet),s.has(n)||(s.add(n),a.requests.push({elementRef:new WeakRef(o),callbackRef:new WeakRef(n)}))}}attach(t){t.addEventListener("context-request",this.onContextRequest),t.addEventListener("context-provider",this.onContextProvider)}detach(t){t.removeEventListener("context-request",this.onContextRequest),t.removeEventListener("context-provider",this.onContextProvider)}};var ee=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},U=class extends kt.FtLitElementRedux{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.authenticationRequired=!1,this.messageContexts=[],this.stateManager=Mc,this.contextRoot=new _r}render(){return Bc.html`
361
+ `;var xi=["top","right","bottom","left"],bi=["start","end"],cn=xi.reduce((e,t)=>e.concat(t,t+"-"+bi[0],t+"-"+bi[1]),[]),br=Math.min,rt=Math.max,xr=Math.round;var Te=e=>({x:e,y:e}),rd={left:"right",right:"left",bottom:"top",top:"bottom"};function vi(e,t,o){return rt(e,br(t,o))}function Vr(e,t){return typeof e=="function"?e(t):e}function vr(e){return e.split("-")[0]}function ot(e){return e.split("-")[1]}function ln(e){return e==="x"?"y":"x"}function dn(e){return e==="y"?"height":"width"}function Kr(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function un(e){return ln(Kr(e))}function Si(e,t,o){o===void 0&&(o=!1);let n=ot(e),a=un(e),s=dn(a),c=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(c=sn(c)),[c,sn(c)]}function Ci(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function sn(e){let t=vr(e);return rd[t]+e.slice(t.length)}function od(e){var t,o,n,a;return{top:(t=e.top)!=null?t:0,right:(o=e.right)!=null?o:0,bottom:(n=e.bottom)!=null?n:0,left:(a=e.left)!=null?a:0}}function Oi(e){return typeof e!="number"?od(e):{top:e,right:e,bottom:e,left:e}}function bt(e){let{x:t,y:o,width:n,height:a}=e;return{width:n,height:a,top:o,left:t,right:t+n,bottom:o+a,x:t,y:o}}function Ei(e,t,o){let{reference:n,floating:a}=e,s=Kr(t),c=un(t),d=dn(c),u=vr(t),p=s==="y",f=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,m=n[d]/2-a[d]/2,g;switch(u){case"top":g={x:f,y:n.y-a.height};break;case"bottom":g={x:f,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:h};break;case"left":g={x:n.x-a.width,y:h};break;default:g={x:n.x,y:n.y}}let b=ot(t);return b&&(g[c]+=m*(b==="end"?1:-1)*(o&&p?-1:1)),g}async function Ai(e,t){var o;t===void 0&&(t={});let{x:n,y:a,platform:s,rects:c,elements:d,strategy:u}=e,{boundary:p="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:m=!1,padding:g=0}=Vr(t,e),b=Oi(g),C=d[m?h==="floating"?"reference":"floating":h],O=bt(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(C)))==null||o?C:C.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(d.floating)),boundary:p,rootBoundary:f,strategy:u})),E=h==="floating"?{x:n,y:a,width:c.floating.width,height:c.floating.height}:c.reference,R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d.floating)),T=await(s.isElement==null?void 0:s.isElement(R))&&await(s.getScale==null?void 0:s.getScale(R))||{x:1,y:1},z=bt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:E,offsetParent:R,strategy:u}):E);return{top:(O.top-z.top+b.top)/T.y,bottom:(z.bottom-O.bottom+b.bottom)/T.y,left:(O.left-z.left+b.left)/T.x,right:(z.right-O.right+b.right)/T.x}}var nd=50,wi=async(e,t,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:s=[],platform:c}=o,d=c.detectOverflow?c:{...c,detectOverflow:Ai},u=await(c.isRTL==null?void 0:c.isRTL(t)),p=await c.getElementRects({reference:e,floating:t,strategy:a}),{x:f,y:h}=Ei(p,n,u),m=n,g=0,b={};for(let x=0;x<s.length;x++){let C=s[x];if(!C)continue;let{name:O,fn:E}=C,{x:R,y:T,data:z,reset:$}=await E({x:f,y:h,initialPlacement:n,placement:m,strategy:a,middlewareData:b,rects:p,platform:d,elements:{reference:e,floating:t}});f=R??f,h=T??h,b[O]={...b[O],...z},$&&g<nd&&(g++,typeof $=="object"&&($.placement&&(m=$.placement),$.rects&&(p=$.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:a}):$.rects),{x:f,y:h}=Ei(p,m,u)),x=-1)}return{x:f,y:h,placement:m,strategy:a,middlewareData:b}};function ad(e,t,o){return(e?[...o.filter(a=>ot(a)===e),...o.filter(a=>ot(a)!==e)]:o.filter(a=>vr(a)===a)).filter(a=>e?ot(a)===e||(t?Ci(a)!==a:!1):!0)}var Ri=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,a;let{rects:s,middlewareData:c,placement:d,platform:u,elements:p}=t,{crossAxis:f=!1,alignment:h,allowedPlacements:m=cn,autoAlignment:g=!0,...b}=Vr(e,t),x=h!==void 0||m===cn?ad(h||null,g,m):m,C=((o=c.autoPlacement)==null?void 0:o.index)||0,O=x[C];if(O==null)return{};if(d!==O)return{reset:{placement:x[0]}};let E=await u.detectOverflow(t,b),R=Si(O,s,await(u.isRTL==null?void 0:u.isRTL(p.floating))),T=[E[vr(O)],E[R[0]],E[R[1]]],z=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:O,overflows:T}],$=x[C+1];if($)return{data:{index:C+1,overflows:z},reset:{placement:$}};let Xe=z.map(le=>{let ge=ot(le.placement);return[le.placement,ge&&f?le.overflows.slice(0,2).reduce((de,ft)=>de+ft,0):le.overflows[0],le.overflows]}).sort((le,ge)=>le[1]-ge[1]),Je=((a=Xe.filter(le=>le[2].slice(0,ot(le[0])?2:3).every(ge=>ge<=0))[0])==null?void 0:a[0])||Xe[0][0];return Je!==d?{data:{index:C+1,overflows:z},reset:{placement:Je}}:{}}}};var Li=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:a,platform:s}=t,{mainAxis:c=!0,crossAxis:d=!1,limiter:u={fn:E=>{let{x:R,y:T}=E;return{x:R,y:T}}},...p}=Vr(e,t),f={x:o,y:n},h=await s.detectOverflow(t,p),m=Kr(a),g=ln(m),b=f[g],x=f[m],C=(E,R)=>vi(R+h[E==="y"?"top":"left"],R,R-h[E==="y"?"bottom":"right"]);c&&(b=C(g,b)),d&&(x=C(m,x));let O=u.fn({...t,[g]:b,[m]:x});return{...O,data:{x:O.x-o,y:O.y-n,enabled:{[g]:c,[m]:d}}}}}};function qr(){return typeof window<"u"}function vt(e){return ki(e)?(e.nodeName||"").toLowerCase():"#document"}function ie(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function He(e){var t;return(t=(ki(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ki(e){return qr()?e instanceof Node||e instanceof ie(e).Node:!1}function ve(e){return qr()?e instanceof Element||e instanceof ie(e).Element:!1}function $e(e){return qr()?e instanceof HTMLElement||e instanceof ie(e).HTMLElement:!1}function Ti(e){return!qr()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ie(e).ShadowRoot}function jt(e){let{overflow:t,overflowX:o,overflowY:n,display:a}=Se(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&a!=="inline"&&a!=="contents"}function Pi(e){return/^(table|td|th)$/.test(vt(e))}function Sr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var id=/transform|translate|scale|rotate|perspective|filter/,sd=/paint|layout|strict|content/,xt=e=>!!e&&e!=="none",pn;function Vt(e){let t=ve(e)?Se(e):e;return xt(t.transform)||xt(t.translate)||xt(t.scale)||xt(t.rotate)||xt(t.perspective)||!Yr()&&(xt(t.backdropFilter)||xt(t.filter))||id.test(t.willChange||"")||sd.test(t.contain||"")}function _i(e){let t=Ve(e);for(;$e(t)&&!St(t);){if(Vt(t))return t;if(Sr(t))return null;t=Ve(t)}return null}function Yr(){return pn==null&&(pn=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),pn}function St(e){return/^(html|body|#document)$/.test(vt(e))}function Se(e){return ie(e).getComputedStyle(e)}function Cr(e){return ve(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ve(e){if(vt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Ti(e)&&e.host||He(e);return Ti(t)?t.host:t}function Ni(e){let t=Ve(e);return St(t)?(e.ownerDocument||e).body:$e(t)&&jt(t)?t:Ni(t)}function Zr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=Ni(e),s=a===((n=e.ownerDocument)==null?void 0:n.body),c=ie(a);if(s){let d=Xr(c);return t.concat(c,c.visualViewport||[],jt(a)?a:[],d&&o?Zr(d):[])}else return t.concat(a,Zr(a,[],o))}function Xr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Bi(e){let t=Se(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=$e(e),s=a?e.offsetWidth:o,c=a?e.offsetHeight:n,d=xr(o)!==s||xr(n)!==c;return d&&(o=s,n=c),{width:o,height:n,$:d}}function Ui(e){return ve(e)?e:e.contextElement}function Kt(e){let t=Ui(e);if(!$e(t))return Te(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:s}=Bi(t),c=(s?xr(o.width):o.width)/n,d=(s?xr(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}var cd=Te(0);function Hi(e){let t=ie(e);return!Yr()||!t.visualViewport?cd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ld(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==ie(e)?!1:t}function Or(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),s=Ui(e),c=Te(1);t&&(n?ve(n)&&(c=Kt(n)):c=Kt(e));let d=ld(s,o,n)?Hi(s):Te(0),u=(a.left+d.x)/c.x,p=(a.top+d.y)/c.y,f=a.width/c.x,h=a.height/c.y;if(s){let m=ie(s),g=n&&ve(n)?ie(n):n,b=m,x=Xr(b);for(;x&&n&&g!==b;){let C=Kt(x),O=x.getBoundingClientRect(),E=Se(x),R=O.left+(x.clientLeft+parseFloat(E.paddingLeft))*C.x,T=O.top+(x.clientTop+parseFloat(E.paddingTop))*C.y;u*=C.x,p*=C.y,f*=C.x,h*=C.y,u+=R,p+=T,b=ie(x),x=Xr(b)}}return bt({width:f,height:h,x:u,y:p})}function Jr(e,t){let o=Cr(e).scrollLeft;return t?t.left+o:Or(He(e)).left+o}function $i(e,t){let o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-Jr(e,o),a=o.top+t.scrollTop;return{x:n,y:a}}function dd(e){let{elements:t,rect:o,offsetParent:n,strategy:a}=e,s=a==="fixed",c=He(n),d=t?Sr(t.floating):!1;if(n===c||d&&s)return o;let u={scrollLeft:0,scrollTop:0},p=Te(1),f=Te(0),h=$e(n);if((h||!h&&!s)&&((vt(n)!=="body"||jt(c))&&(u=Cr(n)),h)){let g=Or(n);p=Kt(n),f.x=g.x+n.clientLeft,f.y=g.y+n.clientTop}let m=c&&!h&&!s?$i(c,u):Te(0);return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-u.scrollLeft*p.x+f.x+m.x,y:o.y*p.y-u.scrollTop*p.y+f.y+m.y}}function ud(e){return Array.from(e.getClientRects())}function pd(e){let t=He(e),o=Cr(e),n=e.ownerDocument.body,a=rt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=rt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+Jr(e),d=-o.scrollTop;return Se(n).direction==="rtl"&&(c+=rt(t.clientWidth,n.clientWidth)-a),{width:a,height:s,x:c,y:d}}var Ii=25;function fd(e,t){let o=ie(e),n=He(e),a=o.visualViewport,s=n.clientWidth,c=n.clientHeight,d=0,u=0;if(a){s=a.width,c=a.height;let f=Yr();(!f||f&&t==="fixed")&&(d=a.offsetLeft,u=a.offsetTop)}let p=Jr(n);if(p<=0){let f=n.ownerDocument,h=f.body,m=getComputedStyle(h),g=f.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,b=Math.abs(n.clientWidth-h.clientWidth-g);b<=Ii&&(s-=b)}else p<=Ii&&(s+=p);return{width:s,height:c,x:d,y:u}}function hd(e,t){let o=Or(e,!0,t==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,s=$e(e)?Kt(e):Te(1),c=e.clientWidth*s.x,d=e.clientHeight*s.y,u=a*s.x,p=n*s.y;return{width:c,height:d,x:u,y:p}}function Di(e,t,o){let n;if(t==="viewport")n=fd(e,o);else if(t==="document")n=pd(He(e));else if(ve(t))n=hd(t,o);else{let a=Hi(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return bt(n)}function Fi(e,t){let o=Ve(e);return o===t||!ve(o)||St(o)?!1:Se(o).position==="fixed"||Fi(o,t)}function md(e,t){let o=t.get(e);if(o)return o;let n=Zr(e,[],!1).filter(d=>ve(d)&&vt(d)!=="body"),a=null,s=Se(e).position==="fixed",c=s?Ve(e):e;for(;ve(c)&&!St(c);){let d=Se(c),u=Vt(c);!u&&d.position==="fixed"&&(a=null),(s?!u&&!a:!u&&d.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||jt(c)&&!u&&Fi(e,c))?n=n.filter(f=>f!==c):a=d,c=Ve(c)}return t.set(e,n),n}function yd(e){let{element:t,boundary:o,rootBoundary:n,strategy:a}=e,c=[...o==="clippingAncestors"?Sr(t)?[]:md(t,this._c):[].concat(o),n],d=Di(t,c[0],a),u=d.top,p=d.right,f=d.bottom,h=d.left;for(let m=1;m<c.length;m++){let g=Di(t,c[m],a);u=rt(g.top,u),p=br(g.right,p),f=br(g.bottom,f),h=rt(g.left,h)}return{width:p-h,height:f-u,x:h,y:u}}function gd(e){let{width:t,height:o}=Bi(e);return{width:t,height:o}}function bd(e,t,o){let n=$e(t),a=He(t),s=o==="fixed",c=Or(e,!0,s,t),d={scrollLeft:0,scrollTop:0},u=Te(0);function p(){u.x=Jr(a)}if(n||!n&&!s)if((vt(t)!=="body"||jt(a))&&(d=Cr(t)),n){let g=Or(t,!0,s,t);u.x=g.x+t.clientLeft,u.y=g.y+t.clientTop}else a&&p();s&&!n&&a&&p();let f=a&&!n&&!s?$i(a,d):Te(0),h=c.left+d.scrollLeft-u.x-f.x,m=c.top+d.scrollTop-u.y-f.y;return{x:h,y:m,width:c.width,height:c.height}}function fn(e){return Se(e).position==="static"}function Mi(e,t){if(!$e(e)||Se(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return He(e)===o&&(o=o.ownerDocument.body),o}function Wi(e,t){let o=ie(e);if(Sr(e))return o;if(!$e(e)){let a=Ve(e);for(;a&&!St(a);){if(ve(a)&&!fn(a))return a;a=Ve(a)}return o}let n=Mi(e,t);for(;n&&Pi(n)&&fn(n);)n=Mi(n,t);return n&&St(n)&&fn(n)&&!Vt(n)?o:n||_i(e)||o}var xd=async function(e){let t=this.getOffsetParent||Wi,o=this.getDimensions,n=await o(e.floating);return{reference:bd(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function vd(e){return Se(e).direction==="rtl"}var Qr={convertOffsetParentRelativeRectToViewportRelativeRect:dd,getDocumentElement:He,getClippingRect:yd,getOffsetParent:Wi,getElementRects:xd,getClientRects:ud,getDimensions:gd,getScale:Kt,isElement:ve,isRTL:vd};var Gi=Ri,zi=Li;var ji=(e,t,o)=>{let n=new Map,a={platform:Qr,...o},s={...a.platform,_c:n};return wi(e,t,{...a,platform:s})};function Vi(e){return Sd(e)}function hn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Sd(e){for(let t=e;t;t=hn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=hn(e);t;t=hn(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||Vt(o)||t.tagName==="BODY"))return t}return null}async function eo(e,t,o){let n;return typeof o=="object"?n=o:n={placement:o},ji(e,t,{strategy:n.strategy,platform:{...Qr,getOffsetParent:a=>Qr.getOffsetParent(a,Vi)},middleware:[zi({crossAxis:!0}),Gi({allowedPlacements:[n.placement]})]})}var ir=y(A());var $n=y(q());var Ki=y(q(),1);var mn=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Zi(e,t){return(0,Ki.property)({type:Object,converter:{fromAttribute:o=>{if(o==null)return Er(e);try{return JSON.parse(o)}catch{return Er(e)}},toAttribute:o=>JSON.stringify(o)},hasChanged:Ar,...t??{}})}function Cd(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,n;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!to(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!to(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let a=c=>Object.keys(c).filter(d=>c[d]!=null),s=a(e);if(o=s.length,o!==a(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,s[n]))return!1;for(n=o;n--!==0;){let c=s[n];if(!to(e[c],t[c]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function to(e,t){try{return Cd(e,t)}catch{return!1}}function Ar(e,t){return!to(e,t)}function Er(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function ro(e,t){let o=n=>n[e]===!0;return n=>{if(o(n))return n;let a=t(n);return a[e]=!0,a}}var qi=y(q(),1);var yn=e=>{let t=e??{};return(o,n)=>{var a;let s={hasChanged:Ar,attribute:!1,...t};(0,qi.property)(s)(o,n);let c=o.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:(d=>d[n]),store:t.store})}};var oo=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};var Ct=y(q(),1);var no=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),s=(o=this.resolvePromise)!==null&&o!==void 0?o:(()=>null);this.clearPromise();for(let c of n)try{await c()}catch(d){a(d);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Xi=y(_(),1);var ao=globalThis,Od=ao.ShadowRoot&&(ao.ShadyCSS===void 0||ao.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;var Yi=(e,t)=>{if(Od)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=ao.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var io=class extends Xi.LitElement{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Yi(n,t.elementStyles),n}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([o,n])=>this.defineScopedElement(o,n))}static defineScopedElement(t,o){mn(t)(o),this.canDefineScopedElement(t)&&this.registry.define(t,o)}canDefineScopedElement(t){return this.scopedRegistryConstructor.canDefineScopedElement(t)}defineScopedElements(t){this.scopedRegistryConstructor.defineScopedElements(t)}defineScopedElement(t,o){this.scopedRegistryConstructor.defineScopedElement(t,o)}};function Ji(e,t,...o){var n;let a=e.querySelector(t);for(let s of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return a}var qt=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},rs,Qi=Symbol("constructorPrototype"),es=Symbol("constructorName"),os=Symbol("exportpartsDebouncer"),ts=Symbol("dynamicDependenciesLoaded"),Zt=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};Zt.eventName="exportparts-updated";var Fe=class extends io{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[rs]=new no(5),this.scheduleExportpartsUpdate=()=>{var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[os].run(()=>{var a,s;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[es]=this.constructor.name,this[Qi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[es]&&Object.setPrototypeOf(this,this[Qi])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[ts]||(o[ts]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Zt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Zt.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new Zt)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let s=[...a??[],n];o=Ji(this.shadowRoot,...s)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(t){var o,n,a,s,c,d;let u=m=>m!=null&&m.trim().length>0,p=t.filter(u).map(m=>m.trim());if(p.length===0){this.exportparts=void 0;return}let f=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(s=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&s!==void 0?s:[],b=(d=(c=m.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(C=>C.split(":")[1]))!==null&&d!==void 0?d:[],x=[...g,...b].filter(u).map(C=>C.trim());for(let C of x)f.add(C)}if(f.size===0){this.exportparts=void 0;return}let h=[...f.values()].flatMap(m=>p.map(g=>`${m}:${g}--${m}`));this.exportparts=[...this.part,...h].join(", ")}};rs=os;qt([(0,Ct.property)()],Fe.prototype,"exportpartsPrefix",void 0);qt([Zi([])],Fe.prototype,"exportpartsPrefixes",void 0);qt([(0,Ct.property)({reflect:!0})],Fe.prototype,"exportparts",void 0);qt([(0,Ct.property)()],Fe.prototype,"customStylesheet",void 0);qt([(0,Ct.property)()],Fe.prototype,"elementToFocus",void 0);qt([(0,Ct.state)()],Fe.prototype,"useAdoptedStyleSheets",void 0);function so(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var wr=Symbol("internalReduxEventsUnsubscribers"),nt=Symbol("internalStoresUnsubscribers"),Ot=Symbol("internalStores"),Ed=ro(Symbol("withRedux"),function(e){var t,o,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(c){super.willUpdate(c),[...this.reduxConstructor.reduxReactiveProperties].some(d=>c.has(d))&&this.updateFromStores()}getUnnamedStore(){if(this[Ot].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ot].values()][0]}getStore(c){return c==null?this.getUnnamedStore():this[Ot].get(c)}addStore(c,d){var u;d=(u=d??c.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(d),this[Ot].set(d,c),this.subscribeToStore(d,c),this.updateFromStores()}removeStore(c){let d=typeof c=="string"?c:c.name;this.unsubscribeFromStore(d),this[Ot].delete(d)}setupStores(){this.unsubscribeFromStores(),this[Ot].forEach((c,d)=>this.subscribeToStore(d,c)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((c,d)=>{let u=this.constructor.getPropertyOptions(d);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:d)){let p=this.getStore(c.store);p&&(c.store?this[nt].has(c.store):this[nt].size>0)&&(this[d]=c.selector(p.getState(),this))}})}subscribeToStore(c,d){var u;this[nt].set(c,d.subscribe(()=>this.updateFromStores())),this[wr].set(c,[]),so(d)&&d.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((p,f)=>{if(typeof this[f]=="function"&&(!p.store||d.name===p.store)){let h=m=>this[f](m);d.addEventListener(p.eventName,h),this[wr].get(c).push(()=>d.removeEventListener(p.eventName,h))}})),this.onStoreAvailable(c)}unsubscribeFromStores(){this[nt].forEach((c,d)=>this.unsubscribeFromStore(d))}unsubscribeFromStore(c){var d;this[nt].has(c)&&this[nt].get(c)(),this[nt].delete(c),(d=this[wr].get(c))===null||d===void 0||d.forEach(u=>u()),this[wr].delete(c)}onStoreAvailable(c){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=nt,o=Ot,n=wr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),ns=class extends Ed(Fe){};function Ce(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,s;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map((function(c){return"'"+c+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ke(e){return!!e&&!!e[D]}function ke(e){var t;return!!e&&((function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===_d})(e)||Array.isArray(e)||!!e[us]||!!(!((t=e.constructor)===null||t===void 0)&&t[us])||An(e)||wn(e))}function Et(e,t,o){o===void 0&&(o=!1),Jt(e)===0?(o?Object.keys:Xt)(e).forEach((function(n){o&&typeof n=="symbol"||t(n,e[n],e)})):e.forEach((function(n,a){return t(a,n,e)}))}function Jt(e){var t=e[D];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:An(e)?2:wn(e)?3:0}function Yt(e,t){return Jt(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Ad(e,t){return Jt(e)===2?e.get(t):e[t]}function ps(e,t,o){var n=Jt(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function fs(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function An(e){return kd&&e instanceof Map}function wn(e){return Pd&&e instanceof Set}function at(e){return e.o||e.t}function Rn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ys(e);delete t[D];for(var o=Xt(t),n=0;n<o.length;n++){var a=o[n],s=t[a];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(t[a]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Ln(e,t){return t===void 0&&(t=!1),Tn(e)||Ke(e)||!ke(e)||(Jt(e)>1&&(e.set=e.add=e.clear=e.delete=wd),Object.freeze(e),t&&Et(e,(function(o,n){return Ln(n,!0)}),!0)),e}function wd(){Ce(2)}function Tn(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function We(e){var t=En[e];return t||Ce(18,e),t}function Rd(e,t){En[e]||(En[e]=t)}function Sn(){return Lr}function gn(e,t){t&&(We("Patches"),e.u=[],e.s=[],e.v=t)}function co(e){Cn(e),e.p.forEach(Ld),e.p=null}function Cn(e){e===Lr&&(Lr=e.l)}function as(e){return Lr={p:[],l:Lr,h:e,m:!0,_:0}}function Ld(e){var t=e[D];t.i===0||t.i===1?t.j():t.g=!0}function bn(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||We("ES5").S(t,e,n),n?(o[D].P&&(co(t),Ce(4)),ke(e)&&(e=lo(t,e),t.l||uo(t,e)),t.u&&We("Patches").M(o[D].t,e,t.u,t.s)):e=lo(t,o,[]),co(t),t.u&&t.v(t.u,t.s),e!==ms?e:void 0}function lo(e,t,o){if(Tn(t))return t;var n=t[D];if(!n)return Et(t,(function(d,u){return is(e,n,t,d,u,o)}),!0),t;if(n.A!==e)return t;if(!n.P)return uo(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Rn(n.k):n.o,s=a,c=!1;n.i===3&&(s=new Set(a),a.clear(),c=!0),Et(s,(function(d,u){return is(e,n,a,d,u,o,c)})),uo(e,a,!1),o&&e.u&&We("Patches").N(n,o,e.u,e.s)}return n.o}function is(e,t,o,n,a,s,c){if(Ke(a)){var d=lo(e,a,s&&t&&t.i!==3&&!Yt(t.R,n)?s.concat(n):void 0);if(ps(o,n,d),!Ke(d))return;e.m=!1}else c&&o.add(a);if(ke(a)&&!Tn(a)){if(!e.h.D&&e._<1)return;lo(e,a),t&&t.A.l||uo(e,a)}}function uo(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Ln(t,o)}function xn(e,t){var o=e[D];return(o?at(o):e)[t]}function ss(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function it(e){e.P||(e.P=!0,e.l&&it(e.l))}function vn(e){e.o||(e.o=Rn(e.t))}function On(e,t,o){var n=An(t)?We("MapSet").F(t,o):wn(t)?We("MapSet").T(t,o):e.O?(function(a,s){var c=Array.isArray(a),d={i:c?1:0,A:s?s.A:Sn(),P:!1,I:!1,R:{},l:s,t:a,k:null,o:null,j:null,C:!1},u=d,p=Tr;c&&(u=[d],p=Rr);var f=Proxy.revocable(u,p),h=f.revoke,m=f.proxy;return d.k=m,d.j=h,m})(t,o):We("ES5").J(t,o);return(o?o.A:Sn()).p.push(n),n}function Td(e){return Ke(e)||Ce(22,e),(function t(o){if(!ke(o))return o;var n,a=o[D],s=Jt(o);if(a){if(!a.P&&(a.i<4||!We("ES5").K(a)))return a.t;a.I=!0,n=cs(o,s),a.I=!1}else n=cs(o,s);return Et(n,(function(c,d){a&&Ad(a.t,c)===d||ps(n,c,t(d))})),s===3?new Set(n):n})(e)}function cs(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Rn(e)}function hs(){function e(c,d){var u=s[c];return u?u.enumerable=d:s[c]=u={configurable:!0,enumerable:d,get:function(){var p=this[D];return Tr.get(p,c)},set:function(p){var f=this[D];Tr.set(f,c,p)}},u}function t(c){for(var d=c.length-1;d>=0;d--){var u=c[d][D];if(!u.P)switch(u.i){case 5:n(u)&&it(u);break;case 4:o(u)&&it(u)}}}function o(c){for(var d=c.t,u=c.k,p=Xt(u),f=p.length-1;f>=0;f--){var h=p[f];if(h!==D){var m=d[h];if(m===void 0&&!Yt(d,h))return!0;var g=u[h],b=g&&g[D];if(b?b.t!==m:!fs(g,m))return!0}}var x=!!d[D];return p.length!==Xt(d).length+(x?0:1)}function n(c){var d=c.k;if(d.length!==c.t.length)return!0;var u=Object.getOwnPropertyDescriptor(d,d.length-1);if(u&&!u.get)return!0;for(var p=0;p<d.length;p++)if(!d.hasOwnProperty(p))return!0;return!1}function a(c){c.g&&Ce(3,JSON.stringify(at(c)))}var s={};Rd("ES5",{J:function(c,d){var u=Array.isArray(c),p=(function(h,m){if(h){for(var g=Array(m.length),b=0;b<m.length;b++)Object.defineProperty(g,""+b,e(b,!0));return g}var x=ys(m);delete x[D];for(var C=Xt(x),O=0;O<C.length;O++){var E=C[O];x[E]=e(E,h||!!x[E].enumerable)}return Object.create(Object.getPrototypeOf(m),x)})(u,c),f={i:u?5:4,A:d?d.A:Sn(),P:!1,I:!1,R:{},l:d,t:c,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,D,{value:f,writable:!0}),p},S:function(c,d,u){u?Ke(d)&&d[D].A===c&&t(c.p):(c.u&&(function p(f){if(f&&typeof f=="object"){var h=f[D];if(h){var m=h.t,g=h.k,b=h.R,x=h.i;if(x===4)Et(g,(function(T){T!==D&&(m[T]!==void 0||Yt(m,T)?b[T]||p(g[T]):(b[T]=!0,it(h)))})),Et(m,(function(T){g[T]!==void 0||Yt(g,T)||(b[T]=!1,it(h))}));else if(x===5){if(n(h)&&(it(h),b.length=!0),g.length<m.length)for(var C=g.length;C<m.length;C++)b[C]=!1;else for(var O=m.length;O<g.length;O++)b[O]=!0;for(var E=Math.min(g.length,m.length),R=0;R<E;R++)g.hasOwnProperty(R)||(b[R]=!0),b[R]===void 0&&p(g[R])}}}})(c.p[0]),t(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var ls,Lr,kn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",kd=typeof Map<"u",Pd=typeof Set<"u",ds=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ms=kn?Symbol.for("immer-nothing"):((ls={})["immer-nothing"]=!0,ls),us=kn?Symbol.for("immer-draftable"):"__$immer_draftable",D=kn?Symbol.for("immer-state"):"__$immer_state";var _d=""+Object.prototype.constructor,Xt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,ys=Object.getOwnPropertyDescriptors||function(e){var t={};return Xt(e).forEach((function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)})),t},En={},Tr={get:function(e,t){if(t===D)return e;var o=at(e);if(!Yt(o,t))return(function(a,s,c){var d,u=ss(s,c);return u?"value"in u?u.value:(d=u.get)===null||d===void 0?void 0:d.call(a.k):void 0})(e,o,t);var n=o[t];return e.I||!ke(n)?n:n===xn(e.t,t)?(vn(e),e.o[t]=On(e.A.h,n,e)):n},has:function(e,t){return t in at(e)},ownKeys:function(e){return Reflect.ownKeys(at(e))},set:function(e,t,o){var n=ss(at(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=xn(at(e),t),s=a?.[D];if(s&&s.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(fs(o,a)&&(o!==void 0||Yt(e.t,t)))return!0;vn(e),it(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return xn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,vn(e),it(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=at(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Ce(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ce(12)}},Rr={};Et(Tr,(function(e,t){Rr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Rr.deleteProperty=function(e,t){return Rr.set.call(this,e,t,void 0)},Rr.set=function(e,t,o){return Tr.set.call(this,e[0],t,o,e[0])};var Nd=(function(){function e(o){var n=this;this.O=ds,this.D=!0,this.produce=function(a,s,c){if(typeof a=="function"&&typeof s!="function"){var d=s;s=a;var u=n;return function(x){var C=this;x===void 0&&(x=d);for(var O=arguments.length,E=Array(O>1?O-1:0),R=1;R<O;R++)E[R-1]=arguments[R];return u.produce(x,(function(T){var z;return(z=s).call.apply(z,[C,T].concat(E))}))}}var p;if(typeof s!="function"&&Ce(6),c!==void 0&&typeof c!="function"&&Ce(7),ke(a)){var f=as(n),h=On(n,a,void 0),m=!0;try{p=s(h),m=!1}finally{m?co(f):Cn(f)}return typeof Promise<"u"&&p instanceof Promise?p.then((function(x){return gn(f,c),bn(x,f)}),(function(x){throw co(f),x})):(gn(f,c),bn(p,f))}if(!a||typeof a!="object"){if((p=s(a))===void 0&&(p=a),p===ms&&(p=void 0),n.D&&Ln(p,!0),c){var g=[],b=[];We("Patches").M(a,p,g,b),c(g,b)}return p}Ce(21,a)},this.produceWithPatches=function(a,s){if(typeof a=="function")return function(p){for(var f=arguments.length,h=Array(f>1?f-1:0),m=1;m<f;m++)h[m-1]=arguments[m];return n.produceWithPatches(p,(function(g){return a.apply(void 0,[g].concat(h))}))};var c,d,u=n.produce(a,s,(function(p,f){c=p,d=f}));return typeof Promise<"u"&&u instanceof Promise?u.then((function(p){return[p,c,d]})):[u,c,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){ke(o)||Ce(8),Ke(o)&&(o=Td(o));var n=as(this),a=On(this,o,void 0);return a[D].C=!0,Cn(n),a},t.finishDraft=function(o,n){var a=o&&o[D],s=a.A;return gn(s,n),bn(void 0,s)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!ds&&Ce(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var s=n[a];if(s.path.length===0&&s.op==="replace"){o=s.value;break}}a>-1&&(n=n.slice(a+1));var c=We("Patches").$;return Ke(o)?c(o,n):this.produce(o,(function(d){return c(d,n)}))},e})(),pe=new Nd,Id=pe.produce,Hg=pe.produceWithPatches.bind(pe),$g=pe.setAutoFreeze.bind(pe),Fg=pe.setUseProxies.bind(pe),Wg=pe.applyPatches.bind(pe),Gg=pe.createDraft.bind(pe),zg=pe.finishDraft.bind(pe),po=Id;function At(e){"@babel/helpers - typeof";return At=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},At(e)}function gs(e,t){if(At(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(At(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bs(e){var t=gs(e,"string");return At(t)=="symbol"?t:t+""}function xs(e,t,o){return(t=bs(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function vs(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function Pn(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?vs(Object(o),!0).forEach(function(n){xs(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):vs(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function Q(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Ss=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),_n=function(){return Math.random().toString(36).substring(7).split("").join(".")},fo={INIT:"@@redux/INIT"+_n(),REPLACE:"@@redux/REPLACE"+_n(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+_n()}};function Dd(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Nn(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Q(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Q(1));return o(Nn)(e,t)}if(typeof e!="function")throw new Error(Q(2));var a=e,s=t,c=[],d=c,u=!1;function p(){d===c&&(d=c.slice())}function f(){if(u)throw new Error(Q(3));return s}function h(x){if(typeof x!="function")throw new Error(Q(4));if(u)throw new Error(Q(5));var C=!0;return p(),d.push(x),function(){if(C){if(u)throw new Error(Q(6));C=!1,p();var E=d.indexOf(x);d.splice(E,1),c=null}}}function m(x){if(!Dd(x))throw new Error(Q(7));if(typeof x.type>"u")throw new Error(Q(8));if(u)throw new Error(Q(9));try{u=!0,s=a(s,x)}finally{u=!1}for(var C=c=d,O=0;O<C.length;O++){var E=C[O];E()}return x}function g(x){if(typeof x!="function")throw new Error(Q(10));a=x,m({type:fo.REPLACE})}function b(){var x,C=h;return x={subscribe:function(E){if(typeof E!="object"||E===null)throw new Error(Q(11));function R(){E.next&&E.next(f())}R();var T=C(R);return{unsubscribe:T}}},x[Ss]=function(){return this},x}return m({type:fo.INIT}),n={dispatch:m,subscribe:h,getState:f,replaceReducer:g},n[Ss]=b,n}function Md(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:fo.INIT});if(typeof n>"u")throw new Error(Q(12));if(typeof o(void 0,{type:fo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Q(13))})}function Cs(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(o[a]=e[a])}var s=Object.keys(o),c,d;try{Md(o)}catch(u){d=u}return function(p,f){if(p===void 0&&(p={}),d)throw d;if(0)var h;for(var m=!1,g={},b=0;b<s.length;b++){var x=s[b],C=o[x],O=p[x],E=C(O,f);if(typeof E>"u"){var R=f&&f.type;throw new Error(Q(14))}g[x]=E,m=m||E!==O}return m=m||s.length!==Object.keys(p).length,m?g:p}}function Qt(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Os(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),s=function(){throw new Error(Q(15))},c={getState:a.getState,dispatch:function(){return s.apply(void 0,arguments)}},d=t.map(function(u){return u(c)});return s=Qt.apply(void 0,d)(a.dispatch),Pn(Pn({},a),{},{dispatch:s})}}}function Es(e){var t=function(n){var a=n.dispatch,s=n.getState;return function(c){return function(d){return typeof d=="function"?d(a,s,e):c(d)}}};return t}var As=Es();As.withExtraArgument=Es;var In=As;var ks=(function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(n[s]=a[s])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}})(),Bd=function(e,t){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,c;return c={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function d(p){return function(f){return u([p,f])}}function u(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(s=p[0]&2?a.return:p[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,p[1])).done)return s;switch(a=0,s&&(p=[p[0]&2,s.value]),p[0]){case 0:case 1:s=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,a=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(s=o.trys,!(s=s.length>0&&s[s.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!s||p[1]>s[0]&&p[1]<s[3])){o.label=p[1];break}if(p[0]===6&&o.label<s[1]){o.label=s[1],s=p;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(p);break}s[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(f){p=[6,f],a=0}finally{n=s=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},er=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},Ud=Object.defineProperty,Hd=Object.defineProperties,$d=Object.getOwnPropertyDescriptors,ws=Object.getOwnPropertySymbols,Fd=Object.prototype.hasOwnProperty,Wd=Object.prototype.propertyIsEnumerable,Rs=function(e,t,o){return t in e?Ud(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},st=function(e,t){for(var o in t||(t={}))Fd.call(t,o)&&Rs(e,o,t[o]);if(ws)for(var n=0,a=ws(t);n<a.length;n++){var o=a[n];Wd.call(t,o)&&Rs(e,o,t[o])}return e},Dn=function(e,t){return Hd(e,$d(t))},Gd=function(e,t,o){return new Promise(function(n,a){var s=function(u){try{d(o.next(u))}catch(p){a(p)}},c=function(u){try{d(o.throw(u))}catch(p){a(p)}},d=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(s,c)};d((o=o.apply(e,t)).next())})};var zd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Qt:Qt.apply(null,arguments)},cb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function jd(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}function ct(e,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var s=t.apply(void 0,n);if(!s)throw new Error("prepareAction did not return an object");return st(st({type:e,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}var Vd=(function(e){ks(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,er([void 0],o[0].concat(this)))):new(t.bind.apply(t,er([void 0],o.concat(this))))},t})(Array),Kd=(function(e){ks(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,er([void 0],o[0].concat(this)))):new(t.bind.apply(t,er([void 0],o.concat(this))))},t})(Array);function Un(e){return ke(e)?po(e,function(){}):e}function Zd(e){return typeof e=="boolean"}function qd(){return function(t){return Yd(t)}}function Yd(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,s=e.serializableCheck,c=s===void 0?!0:s,d=e.actionCreatorCheck,u=d===void 0?!0:d,p=new Vd;if(o&&(Zd(o)?p.push(In):p.push(In.withExtraArgument(o.extraArgument))),0){if(a)var f;if(c)var h;if(u)var m}return p}var Mn=!0;function Ps(e){var t=qd(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,s=o.middleware,c=s===void 0?t():s,d=o.devTools,u=d===void 0?!0:d,p=o.preloadedState,f=p===void 0?void 0:p,h=o.enhancers,m=h===void 0?void 0:h,g;if(typeof a=="function")g=a;else if(jd(a))g=Cs(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=c;if(typeof b=="function"&&(b=b(t),!Mn&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Mn&&b.some(function(T){return typeof T!="function"}))throw new Error("each middleware provided to configureStore must be a function");var x=Os.apply(void 0,b),C=Qt;u&&(C=zd(st({trace:!Mn},typeof u=="object"&&u)));var O=new Kd(x),E=O;Array.isArray(m)?E=er([x],m):typeof m=="function"&&(E=m(O));var R=C.apply(void 0,E);return Nn(g,f,R)}function _s(e){var t={},o=[],n,a={addCase:function(s,c){var d=typeof s=="string"?s:s.type;if(!d)throw new Error("`builder.addCase` cannot be called with an empty action type");if(d in t)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return t[d]=c,a},addMatcher:function(s,c){return o.push({matcher:s,reducer:c}),a},addDefaultCase:function(s){return n=s,a}};return e(a),[t,o,n]}function Xd(e){return typeof e=="function"}function Jd(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?_s(t):[t,o,n],s=a[0],c=a[1],d=a[2],u;if(Xd(e))u=function(){return Un(e())};else{var p=Un(e);u=function(){return p}}function f(h,m){h===void 0&&(h=u());var g=er([s[m.type]],c.filter(function(b){var x=b.matcher;return x(m)}).map(function(b){var x=b.reducer;return x}));return g.filter(function(b){return!!b}).length===0&&(g=[d]),g.reduce(function(b,x){if(x)if(Ke(b)){var C=b,O=x(C,m);return O===void 0?b:O}else{if(ke(b))return po(b,function(E){return x(E,m)});var O=x(b,m);if(O===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return O}return b},h)}return f.getInitialState=u,f}function Qd(e,t){return e+"/"+t}function Ns(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Un(e.initialState),n=e.reducers||{},a=Object.keys(n),s={},c={},d={};a.forEach(function(f){var h=n[f],m=Qd(t,f),g,b;"reducer"in h?(g=h.reducer,b=h.prepare):g=h,s[f]=g,c[m]=g,d[f]=b?ct(m,b):ct(m)});function u(){var f=typeof e.extraReducers=="function"?_s(e.extraReducers):[e.extraReducers],h=f[0],m=h===void 0?{}:h,g=f[1],b=g===void 0?[]:g,x=f[2],C=x===void 0?void 0:x,O=st(st({},m),c);return Jd(o,function(E){for(var R in O)E.addCase(R,O[R]);for(var T=0,z=b;T<z.length;T++){var $=z[T];E.addMatcher($.matcher,$.reducer)}C&&E.addDefaultCase(C)})}var p;return{name:t,reducer:function(f,h){return p||(p=u()),p(f,h)},actions:d,caseReducers:s,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var eu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",tu=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=eu[Math.random()*64|0];return t},ru=["name","message","stack","code"],Bn=(function(){function e(t,o){this.payload=t,this.meta=o}return e})(),Ls=(function(){function e(t,o){this.payload=t,this.meta=o}return e})(),ou=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=ru;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},pb=(function(){function e(t,o,n){var a=ct(t+"/fulfilled",function(f,h,m,g){return{payload:f,meta:Dn(st({},g||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),s=ct(t+"/pending",function(f,h,m){return{payload:void 0,meta:Dn(st({},m||{}),{arg:h,requestId:f,requestStatus:"pending"})}}),c=ct(t+"/rejected",function(f,h,m,g,b){return{payload:g,error:(n&&n.serializeError||ou)(f||"Rejected"),meta:Dn(st({},b||{}),{arg:m,requestId:h,rejectedWithValue:!!g,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),d=!1,u=typeof AbortController<"u"?AbortController:(function(){function f(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return f.prototype.abort=function(){},f})();function p(f){return function(h,m,g){var b=n?.idGenerator?n.idGenerator(f):tu(),x=new u,C,O=!1;function E(T){C=T,x.abort()}var R=(function(){return Gd(this,null,function(){var T,z,$,Xe,Go,Je,le;return Bd(this,function(ge){switch(ge.label){case 0:return ge.trys.push([0,4,,5]),Xe=(T=n?.condition)==null?void 0:T.call(n,f,{getState:m,extra:g}),au(Xe)?[4,Xe]:[3,2];case 1:Xe=ge.sent(),ge.label=2;case 2:if(Xe===!1||x.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return O=!0,Go=new Promise(function(de,ft){return x.signal.addEventListener("abort",function(){return ft({name:"AbortError",message:C||"Aborted"})})}),h(s(b,f,(z=n?.getPendingMeta)==null?void 0:z.call(n,{requestId:b,arg:f},{getState:m,extra:g}))),[4,Promise.race([Go,Promise.resolve(o(f,{dispatch:h,getState:m,extra:g,requestId:b,signal:x.signal,abort:E,rejectWithValue:function(de,ft){return new Bn(de,ft)},fulfillWithValue:function(de,ft){return new Ls(de,ft)}})).then(function(de){if(de instanceof Bn)throw de;return de instanceof Ls?a(de.payload,b,f,de.meta):a(de,b,f)})])];case 3:return $=ge.sent(),[3,5];case 4:return Je=ge.sent(),$=Je instanceof Bn?c(null,b,f,Je.payload,Je.meta):c(Je,b,f),[3,5];case 5:return le=n&&!n.dispatchConditionRejection&&c.match($)&&$.meta.condition,le||h($),[2,$]}})})})();return Object.assign(R,{abort:E,requestId:b,arg:f,unwrap:function(){return R.then(nu)}})}}return Object.assign(p,{pending:s,rejected:c,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e})();function nu(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function au(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Is="listener",Ds="completed",Ms="cancelled",fb="task-"+Ms,hb="task-"+Ds,mb=Is+"-"+Ms,yb=Is+"-"+Ds;var Hn="listenerMiddleware";var gb=ct(Hn+"/add"),bb=ct(Hn+"/removeAll"),xb=ct(Hn+"/remove");var Ts,vb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Ts||(Ts=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},iu=function(e){return function(t){setTimeout(t,e)}},Sb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:iu(10);hs();var su=ro(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}),ho=class extends su(Object){};window.ftReduxStores||(window.ftReduxStores={});var Bs=class e extends ho{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,s=window.ftReduxStores[n];if(so(s))return s;if(a==null)return;let c=Ns({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),d=Ps({reducer:(u,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let f=Er(c.getInitialState());for(let h of p.keeping)f[h]=(u??f)[h];return f}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...u,...p.overwrites};return c.reducer(u,p)}});return window.ftReduxStores[a.name]=new e(c,d,a.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new oo;let a=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,c,d)=>{let u=c,p=s[u];return p?(...f)=>{let h=p(...f.map(a));return this.reduxStore.dispatch(h),h}:f=>{this.setState({[u]:a(f)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var mo=class{static format(t,o,n,a,s){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,a,!!s)):this.getIntlDateTime(t,o,n,a,!!s)}static getMomentDateFormat(t,o,n){return n?"LT":t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,a,s){let c=typeof t=="string"?new Date(t):t,d=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(c),u=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(c);return s?u:a?`${d} ${u}`:d}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${t(Math.abs(o)/60)}:${t(Math.abs(o)%60)}`}};var yo=y(A()),cu="ft-app-info",tr=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};tr.eventName="authentication-change";var kr=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};kr.eventName="ui-locale-changed";var lu={session:(e,t)=>{(0,yo.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>k.dispatchEvent(new tr(t.payload)),0))}},k=yo.FtReduxStore.get({name:cu,reducers:lu,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,searchLanguageSetsUiLanguage:!1,uiLanguageSetsSearchLanguage:!1,uiLanguageSetsReaderLanguage:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var Us=y(A()),go=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},qb=(0,Us.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(k)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var a,s;return((s=(a=this.metadataDescriptors.find(d=>d.key===n))===null||a===void 0?void 0:a.date)!==null&&s!==void 0?s:!1)?d=>mo.format(d,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return go([(0,$n.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),go([(0,$n.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),go([yn({store:k.name,selector:o=>{var n,a;return(a=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),go([yn({store:k.name})],t.prototype,"uiLocale",void 0),t});var Hs;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Hs||(Hs={}));var $s;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})($s||($s={}));var Fs;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(Fs||(Fs={}));var Ws;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(Ws||(Ws={}));var Gs;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Gs||(Gs={}));var zs;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(zs||(zs={}));var js;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(js||(js={}));var Vs;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(Vs||(Vs={}));var Ks;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(Ks||(Ks={}));var Zs;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(Zs||(Zs={}));var qs;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(qs||(qs={}));var Ys;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Ys||(Ys={}));var Xs;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Xs||(Xs={}));var Js;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Js||(Js={}));var Qs;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Qs||(Qs={}));var ec;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(ec||(ec={}));var tc;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(tc||(tc={}));var rc;(function(e){e.ASC="ASC",e.DESC="DESC"})(rc||(rc={}));var oc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(oc||(oc={}));var nc;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(nc||(nc={}));var ac;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(ac||(ac={}));var ic;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(ic||(ic={}));var sc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(sc||(sc={}));var cc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(cc||(cc={}));var lc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(lc||(lc={}));var dc;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(dc||(dc={}));var uc;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(uc||(uc={}));var G;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(G||(G={}));var Oe;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Oe||(Oe={}));var pc;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(pc||(pc={}));var fc;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(fc||(fc={}));var hc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(hc||(hc={}));var mc;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SUMMARY="SUMMARY",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.DOCUMENTATION="DOCUMENTATION",e.OTHER="OTHER"})(mc||(mc={}));var yc;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(yc||(yc={}));var gc;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(gc||(gc={}));var bc;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(bc||(bc={}));var xc;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(xc||(xc={}));var vc;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(vc||(vc={}));var Sc;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(Sc||(Sc={}));var Cc;(function(e){e.SOURCES="SOURCES",e.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",e.VOCABULARIES="VOCABULARIES",e.METADATA="METADATA",e.PRETTY_URL="PRETTY_URL",e.ACCESS_RULE="ACCESS_RULE",e.DESIGNED_PAGES="DESIGNED_PAGES",e.THEME_STUDIO="THEME_STUDIO",e.PORTAL_GENERAL="PORTAL_GENERAL",e.ASSETS="ASSETS",e.CODE_LIBRARY="CODE_LIBRARY",e.THEME="THEME",e.CONTENT_STYLES="CONTENT_STYLES",e.HOMEPAGE="HOMEPAGE",e.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",e.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",e.PORTAL_METADATA="PORTAL_METADATA",e.LANGUAGES="LANGUAGES",e.PRINT_TEMPLATES="PRINT_TEMPLATES",e.OFFLINE="OFFLINE",e.CUSTOM_JS="CUSTOM_JS",e.CONFIDENTIALITY="CONFIDENTIALITY",e.NOTIFICATIONS="NOTIFICATIONS"})(Cc||(Cc={}));var Oc;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(Oc||(Oc={}));var du={[G.PERSONAL_BOOK_SHARE_USER]:[G.PERSONAL_BOOK_USER],[G.HTML_EXPORT_USER]:[G.PERSONAL_BOOK_USER],[G.PDF_EXPORT_USER]:[G.PERSONAL_BOOK_USER],[G.KHUB_ADMIN]:[G.CONTENT_PUBLISHER],[G.ADMIN]:[G.KHUB_ADMIN,G.USERS_ADMIN,G.PORTAL_ADMIN,G.BEHAVIOR_DATA_USER],[G.GENERATIVE_AI_EXPORT_USER]:[G.GENERATIVE_AI_USER]};function Ec(e,t){return e===t||(du[e]??[]).some(o=>Ec(o,t))}function Ac(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(n=>Ec(n,t))}var Co=y(A());var Fn=y(A());var wt=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=k.getState(),a=t??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let a=k.subscribe(()=>{n=e.get(t),n&&(a(),o(n))})}})}};var rr=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:wt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):wt.await()}};var fe=class extends rr{constructor(t=!0,o){var n;super(o),this.sortObjectFields=(s,c)=>typeof c!="object"||c==null||Array.isArray(c)?c:Object.fromEntries(Object.entries(c).sort(([d],[u])=>d.localeCompare(u)));let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new Fn.CacheRegistry,this.cache=t?a.commonCache:new Fn.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var bo=class extends fe{async listMySearches(){let{session:t}=k.getState();return Ac(t,G.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),300*1e3):[]}};var xo=class extends fe{async listMyBookmarks(){let t=k.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),300*1e3):[]}};var vo=class extends fe{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=k.getState().session;return!!t?.sessionAuthenticated}};var So=class extends fe{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let t=k.getState().session;return!!t?.sessionAuthenticated}};var uu="ft-user-assets",pu={setAssetCount:(e,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;e.assetCounts.allAsset[o]=n},clearAssetCount:e=>{Object.values(Oe).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let o=t.payload.mapId;e.assetCounts.bookmarkByMap[o]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:o,mapId:n,asset:a}=t.payload;Gn(e,o,[...Wn(e,o),a]),wc(e,o,1,n),Rc(e,a)},editAsset:(e,t)=>{let{assetType:o,asset:n}=t.payload;Gn(e,o,Wn(e,o).map(a=>a.id===n.id?n:a)),Rc(e,n)},removeAsset:(e,t)=>{let{assetType:o,mapId:n,assetId:a}=t.payload;Gn(e,o,Wn(e,o).filter(s=>s.id!==a)),wc(e,o,-1,n)}},Lc={[Oe.SEARCHES]:"savedSearches",[Oe.BOOKMARKS]:"bookmarks",[Oe.BOOKS]:void 0,[Oe.COLLECTIONS]:void 0},Wn=(e,t)=>{var o;let n=Lc[t];return n?(o=e[n])!==null&&o!==void 0?o:[]:[]},Gn=(e,t,o)=>{let n=Lc[t];n&&(e[n]=o)},wc=(e,t,o,n)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+o),t===Oe.BOOKMARKS&&n)){let s=e.assetCounts.bookmarkByMap[n];e.assetCounts.bookmarkByMap[n]=Math.max(0,s+o)}},Rc=(e,t)=>{let o=e.assetLabels.map(a=>a.title),n=t.labels.filter(a=>!o.includes(a)).map(a=>({title:a}));e.assetLabels.push(...n)},oe=Co.FtReduxStore.get({name:uu,reducers:pu,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Oe).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),zn=class{constructor(t=new vo,o=new So){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=k.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new xo,this.savedSearchesService=new bo,k.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=k.getState();(0,Co.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),oe.actions.clearAssetCount(),oe.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),oe.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),oe.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();oe.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();oe.actions.assetLabels(t)}async loadAssetCount(t){let o=await this.assetCountsService.getUserAssetCount(t);o&&oe.getState().assetCounts.allAsset[t]!==o.count&&oe.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&oe.getState().assetCounts.bookmarkByMap[t]!==o.count&&oe.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(oe.getState().assetCounts.bookmarkByMap).length!==0;t===Oe.BOOKMARKS&&o&&oe.actions.clearBookmarkCountByMap(),oe.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;oe.actions.bookmarks(o)}}},fu=new zn;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=fu);var jn=class{addCommand(t,o=!1){k.commands.add(t,o)}consumeCommand(t){return k.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new jn;var Ee=y(A());var Tc,or=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},hu=Symbol("clearAfterUnitTest"),Oo=class extends(0,Ee.withEventBus)(fe){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Tc]=()=>{this.defaultMessages={},this.cache=new Ee.CacheRegistry,this.listeners={}},this.currentUiLocale=k.getState().uiLocale,k.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=k.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,Ee.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var a;let s=t.toLowerCase(),c=this.resolveContext(s);return new Ee.ParametrizedLabelResolver((a=this.defaultMessages[s])!==null&&a!==void 0?a:{},c).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(a){!(a instanceof Ee.CanceledPromiseError)&&o&&console.error(a)}return n}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new or({loadedContexts:t})),this.dispatchEvent(new or({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new or({loadedContexts:[t]})),this.dispatchEvent(new or({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,Ee.delay)(0).then(()=>n()).catch(()=>null)))}};Tc=hu;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Oo{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Oo{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var nr=window.FluidTopicsI18nService,Eo=window.FluidTopicsCustomI18nService;var kc=y(A()),Vn=class{highlightHtml(t,o,n){(0,kc.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new Vn;var Pc=y(A());var Kn=class{isDate(t){var o,n,a,s;return(s=(a=((n=(o=k.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===t))===null||a===void 0?void 0:a.date)!==null&&s!==void 0?s:!1}format(t,o){var n,a,s,c;if(t==null)return"";try{return Pc.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:k.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(s=o?.withTime)!==null&&s!==void 0?s:!1,(c=o?.onlyTime)!==null&&c!==void 0?c:!1)}catch(d){throw console.error(`Date ${JSON.stringify(t)} is not valid`,d),d}}};window.FluidTopicsDateService=new Kn;var _c=y(A());var Pr=class{static get(t,o){var n,a;let s=k.getState(),{lang:c,region:d}=(a=(n=s.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new _c.SearchPlaceConverter(s.baseUrl,t??20,s.searchInAllLanguagesAllowed,o??`${c}-${d}`)}};var Zn=class{urlToSearchRequest(t){return Pr.get().parse(t)}searchRequestToUrl(t){return Pr.get().serialize(t)}};window.FluidTopicsUrlService=new Zn;var Ze=y(A());var Rt=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Rt.eventName="change";var qn=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let o=sessionStorage.getItem(this.itemName(t));return o?JSON.parse(o):void 0}set(t,o){sessionStorage.setItem(this.itemName(t),JSON.stringify(o))}},Nc=new qn;var Ao=class e extends Ze.WithEventBus{static build(){return new e(window.history,Nc,()=>window.location,!1)}constructor(t,o,n,a){var s,c;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(c=(s=t.state)===null||s===void 0?void 0:s.index)!==null&&c!==void 0?c:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(t,o=!1){let n=o&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,Ze.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Rt(this.currentItem())),0)}installProxies(){let t=o=>(n,a,[s,c,d])=>{let u=o(),p={...u===this.currentIndex?this.currentState:void 0,...s,index:u,href:typeof d=="string"?d:(d??this.windowLocation()).href};n.apply(a,[p,c,d]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(Rt.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Rt.eventName,t)}currentItem(){return(0,Ze.deepCopy)(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,Ze.deepCopy)(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(t){let o=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return(0,Ze.deepCopy)(o.find(n=>t(n)))}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return(0,Ze.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var o;let n=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;if(!n)return t;let a=t,s=t+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(a=s),s++;return a}buildCurrentState(){var t,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&o!==void 0?o:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,o){var n;if(!this.hasState(t))return!1;let a=o??this.currentState.majorStateId,s=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Ao.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:e=>window.FluidTopicsInternalHistoryService.backwardItemMatching(e),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var Ic=y(_());var Dc=Ic.css`
362
+ `;var Uc=y(_()),he=y(q()),kt=y(A());var Lt=y(A());function Mc(e,t){let{authenticationRequired:o,session:n}=k.getState();return o&&!n?.sessionAuthenticated?Promise.resolve(t):e()}var wo=class extends rr{async updateUiLocale(t){return(await this.awaitApi).updateUiLocale(t)}};var Yn=class e extends Lt.FtStateManager{static build(t){return new e(k,t)}constructor(t,o){super(),this.store=t,this.cache=new Lt.CacheRegistry,this.withManualResources=!0,this.localesConfiguration=null,this.userLocaleService=new wo,this.cleanSessionDebouncer=new Lt.Debouncer,this.reloadDebouncer=new Lt.Debouncer(500),this.apiProvider=o??(()=>wt.get())}setWithManualResources(t){this.withManualResources=t,this.updateIfNeeded()}async initService(){this.store.addEventListener(tr.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let t=await this.cache.get("session",async()=>{let o=await this.apiProvider().getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},o.idleTimeoutInMillis),o});this.setSession(t)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var t;let o=await this.cache.get("availableContentLocales",()=>Mc(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((t=o.contentLocales)!==null&&t!==void 0?t:[])}reloadConfiguration(){var t;(t=this.cache)===null||t===void 0||t.clear("availableContentLocales"),typeof this.updateAvailableContentLocales=="function"&&this.updateAvailableContentLocales()}setBaseUrl(t){this.store.actions.baseUrl(t),window.fluidTopicsBaseUrl=t}setApiIntegrationIdentifier(t){this.store.actions.apiIntegrationIdentifier(t)}setApiIntegrationAppVersion(t){this.store.actions.apiIntegrationAppVersion(t)}setUiLocale(t){this.store.actions.uiLocale(t)}setLocalesConfiguration(t){var o,n,a,s,c;this.localesConfiguration=t,this.store.actions.defaultLocales(this.localesConfiguration.defaultLocales),this.store.actions.availableUiLocales((o=this.localesConfiguration.availableUiLocales)!==null&&o!==void 0?o:[]),this.store.actions.searchInAllLanguagesAllowed((n=this.localesConfiguration.allLanguagesAllowed)!==null&&n!==void 0?n:!1),this.store.actions.searchLanguageSetsUiLanguage((a=this.localesConfiguration.searchLanguageSetsUiLanguage)!==null&&a!==void 0?a:!1),this.store.actions.uiLanguageSetsSearchLanguage((s=this.localesConfiguration.uiLanguageSetsSearchLanguage)!==null&&s!==void 0?s:!1),this.store.actions.uiLanguageSetsReaderLanguage((c=this.localesConfiguration.uiLanguageSetsReaderLanguage)!==null&&c!==void 0?c:!1),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(t){this.store.actions.availableContentLocales(t),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(t){this.userLocaleService.updateUiLocale({uiLocale:t}).then(o=>{o.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new kr(o)))}).catch(()=>{})}setMetadataConfiguration(t){this.store.actions.metadataConfiguration(t),setTimeout(()=>this.updateIfNeeded())}setNoCustom(t){this.store.actions.noCustom(t)}setEditorMode(t){this.store.actions.editorMode(t)}setNoCustomComponent(t){this.store.actions.noCustomComponent(t)}setSession(t){this.store.actions.session(t),setTimeout(()=>this.updateIfNeeded())}setOpenExternalDocumentInNewTab(t){this.store.actions.openExternalDocumentInNewTab(t)}setNavigatorOnline(t){this.store.actions.navigatorOnline(t)}setForcedOffline(t){this.store.actions.forcedOffline(t)}setAuthenticationRequired(t){this.store.actions.authenticationRequired(t)}},Bc=Yn.build();var Tt=class extends Event{constructor(t,o,n,a){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=o,this.callback=n,this.subscribe=a??!1}};var _r=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=t=>{let o=this.pendingContextRequests.get(t.context);if(o===void 0)return;this.pendingContextRequests.delete(t.context);let{requests:n}=o;for(let{elementRef:a,callbackRef:s}of n){let c=a.deref(),d=s.deref();c===void 0||d===void 0||c.dispatchEvent(new Tt(t.context,c,d,!0))}},this.onContextRequest=t=>{if(t.subscribe!==!0)return;let o=t.contextTarget??t.composedPath()[0],n=t.callback,a=this.pendingContextRequests.get(t.context);a===void 0&&this.pendingContextRequests.set(t.context,a={callbacks:new WeakMap,requests:[]});let s=a.callbacks.get(o);s===void 0&&a.callbacks.set(o,s=new WeakSet),s.has(n)||(s.add(n),a.requests.push({elementRef:new WeakRef(o),callbackRef:new WeakRef(n)}))}}attach(t){t.addEventListener("context-request",this.onContextRequest),t.addEventListener("context-provider",this.onContextProvider)}detach(t){t.removeEventListener("context-request",this.onContextRequest),t.removeEventListener("context-provider",this.onContextProvider)}};var ee=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},U=class extends kt.FtLitElementRedux{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.authenticationRequired=!1,this.messageContexts=[],this.stateManager=Bc,this.contextRoot=new _r}render(){return Uc.html`
363
363
  <slot></slot>
364
- `}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.contextRoot.detach(document.body)}update(t){var o;super.update(t),t.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),t.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),t.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),t.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),t.has("session")&&this.stateManager.setSession(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(n=>ar.addContext(n)),t.has("openExternalDocumentInNewTab")&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&this.stateManager.setNavigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&this.stateManager.setForcedOffline(this.forcedOffline),t.has("authenticationRequired")&&this.stateManager.setAuthenticationRequired(this.authenticationRequired),t.has("withManualResources")&&((o=this.stateManager)===null||o===void 0||o.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};U.elementDefinitions={};U.styles=Ic;ee([(0,he.property)()],U.prototype,"baseUrl",void 0);ee([(0,he.property)()],U.prototype,"apiIntegrationIdentifier",void 0);ee([(0,he.property)()],U.prototype,"apiIntegrationAppVersion",void 0);ee([(0,he.property)()],U.prototype,"uiLocale",void 0);ee([(0,kt.jsonProperty)(null)],U.prototype,"availableUiLocales",void 0);ee([(0,kt.jsonProperty)(null)],U.prototype,"metadataConfiguration",void 0);ee([(0,he.property)({type:Boolean})],U.prototype,"editorMode",void 0);ee([(0,he.property)({type:Boolean})],U.prototype,"noCustom",void 0);ee([(0,he.property)({type:Boolean})],U.prototype,"openExternalDocumentInNewTab",void 0);ee([(0,he.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],U.prototype,"noCustomComponent",void 0);ee([(0,he.property)({type:Boolean})],U.prototype,"withManualResources",void 0);ee([(0,he.property)({type:Boolean})],U.prototype,"navigatorOnline",void 0);ee([(0,he.property)({type:Boolean})],U.prototype,"forcedOffline",void 0);ee([(0,he.property)({type:Boolean})],U.prototype,"authenticationRequired",void 0);ee([(0,kt.jsonProperty)([])],U.prototype,"messageContexts",void 0);ee([(0,kt.jsonProperty)(void 0)],U.prototype,"session",void 0);var Hc=g(A());var Uc={"ft-app-context":U};(0,Hc.customElements)(Uc);var $c=g(q());var Jn=class{fromLocalizableLabel(t){return t.type=="PLAIN_TEXT"?{message:t.text}:{key:t.key,custom:t.type=="LOCALIZED_CUSTOM",context:t.context,message:t.key}}fromAttribute(t){if(t!=null)try{return JSON.parse(t)}catch{if(this.isI18nKey(t)){let[o,n]=t.split(".");return{context:o,key:n,custom:o!=="officialContext",message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},ir=new Jn;var yu=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},Ir=Symbol("i18nAttributes"),Fc=Symbol("i18nListAttributes"),Wc=Symbol("i18nProperties"),Ro=Symbol("i18nContexts"),Nr=Symbol("i18nUnsubs"),ko=(0,sr.applyMixinOnce)(Symbol("withI18n"),function(e){var t,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[o]=new Map}getI18nService(s){return s??this.useCustomMessageContexts?Eo:ar}i18n(s){let{context:c,key:d,message:u}=s,{custom:p,args:f,argsProvider:h}=s;if(c&&d){this.hasI18nContext(c)||this.addI18nContext(c,void 0,p);let m=f??(h?h(this):[]);return this.getI18nService(p).resolveMessage(c,d,...m)}return u}async awaitI18n(s){let{context:c,custom:d}=s;return c&&await this.getI18nService(d).prepareContext(c),this.i18n(s)}customI18n(s,c){if(ir.isI18nKey(s)){let[d,u]=s.split(".");return this.i18n({custom:!0,context:d,key:u,...c})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((c,d,u)=>s.has(d)||typeof c.argsProvider=="function"),this.updateI18nProperties(c=>typeof c.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((c,d,u)=>{var p;return((p=u?.context)===null||p===void 0?void 0:p.toLowerCase())===s}),this.updateI18nProperties(c=>c.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var c,d;let u=this,p=(f,h,m)=>m?.context&&m.key&&s(f,h,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...f})}:m;(c=this[Ir])===null||c===void 0||c.forEach((f,h)=>u[h]=p(f,h,u[h])),(d=this[Fc])===null||d===void 0||d.forEach((f,h)=>{var m;return u[h]=(m=u[h])===null||m===void 0?void 0:m.map(y=>p(f,h,y))})}updateI18nProperties(s){var c;(c=this[Wc])===null||c===void 0||c.forEach((d,u)=>{s(d,u)&&(this[u]=this.i18n(d))})}addI18nMessages(s,c,d){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,c,d)}addI18nContext(s,c,d){let u=(typeof s=="string"?s:s.name).toLowerCase();d=typeof s=="string"?d:s.custom,this[Ro].set(u,{isCustomContext:d}),this[Nr].has(u)||this[Nr].set(u,this.getI18nService(d).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(d).prepareContext(u,c)}hasI18nContext(s){return this[Ro].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Ro].forEach((s,c)=>this.addI18nContext(c,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Nr].forEach(s=>s()),this[Nr].clear()}}return t=Ro,o=Nr,yu([(0,$c.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Lo=class extends ko(sr.FtLitElement){},To=class extends ko(sr.FtLitElementRedux){};var Gc=g(A());var Qn=class{fromAttribute(t){if(!t)return[];try{let o=JSON.parse(t);return Array.isArray(o)?o.map(n=>typeof n=="string"?ir.fromAttribute(n):n):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},gu=new Qn;var zc=(e,t)=>(o,n)=>{var a;o.constructor.createProperty(n,{type:Object,hasChanged:Gc.hasChanged,converter:ir,...t}),o[Ir]=(a=o[Ir])!==null&&a!==void 0?a:new Map,o[Ir].set(n,e??{})};var Po=class e{static build(t){return new e(t)}static buildCustom(t){return new e(t,!0)}static fromGwt(t){return new e(t)}get service(){return this.custom?Eo:ar}constructor(t,o=!1){this.name=t,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let s=a;return c=>({context:this.name,key:s,custom:this.custom,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...s)=>this.service.resolveMessage(this.name,a,...s)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)}),this.keys=new Proxy({},{get:(n,a)=>()=>a}),this.attributes=new Proxy({},{get:(n,a)=>()=>({context:this.name,key:a,message:this.service.resolveRawMessage(this.name,a)})})}};var jc=g(_());var Vc=jc.css`
365
- `;var _o=g(_()),No=g(q()),Io=g(A());var Dr=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},Pe=class extends To{constructor(){super(),this.editorMode=!1,this.addStore(k)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":_o.nothing:_o.html`
364
+ `}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.contextRoot.detach(document.body)}update(t){var o;super.update(t),t.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),t.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),t.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),t.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),t.has("session")&&this.stateManager.setSession(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(n=>nr.addContext(n)),t.has("openExternalDocumentInNewTab")&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&this.stateManager.setNavigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&this.stateManager.setForcedOffline(this.forcedOffline),t.has("authenticationRequired")&&this.stateManager.setAuthenticationRequired(this.authenticationRequired),t.has("withManualResources")&&((o=this.stateManager)===null||o===void 0||o.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};U.elementDefinitions={};U.styles=Dc;ee([(0,he.property)()],U.prototype,"baseUrl",void 0);ee([(0,he.property)()],U.prototype,"apiIntegrationIdentifier",void 0);ee([(0,he.property)()],U.prototype,"apiIntegrationAppVersion",void 0);ee([(0,he.property)()],U.prototype,"uiLocale",void 0);ee([(0,kt.jsonProperty)(null)],U.prototype,"availableUiLocales",void 0);ee([(0,kt.jsonProperty)(null)],U.prototype,"metadataConfiguration",void 0);ee([(0,he.property)({type:Boolean})],U.prototype,"editorMode",void 0);ee([(0,he.property)({type:Boolean})],U.prototype,"noCustom",void 0);ee([(0,he.property)({type:Boolean})],U.prototype,"openExternalDocumentInNewTab",void 0);ee([(0,he.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],U.prototype,"noCustomComponent",void 0);ee([(0,he.property)({type:Boolean})],U.prototype,"withManualResources",void 0);ee([(0,he.property)({type:Boolean})],U.prototype,"navigatorOnline",void 0);ee([(0,he.property)({type:Boolean})],U.prototype,"forcedOffline",void 0);ee([(0,he.property)({type:Boolean})],U.prototype,"authenticationRequired",void 0);ee([(0,kt.jsonProperty)([])],U.prototype,"messageContexts",void 0);ee([(0,kt.jsonProperty)(void 0)],U.prototype,"session",void 0);var $c=y(A());var Hc={"ft-app-context":U};(0,$c.customElements)(Hc);var Fc=y(q());var Xn=class{fromLocalizableLabel(t){return t.type=="PLAIN_TEXT"?{message:t.text}:{key:t.key,custom:t.type=="LOCALIZED_CUSTOM",context:t.context,message:t.key}}fromAttribute(t){if(t!=null)try{return JSON.parse(t)}catch{if(this.isI18nKey(t)){let[o,n]=t.split(".");return{context:o,key:n,custom:o!=="officialContext",message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},ar=new Xn;var gu=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},Ir=Symbol("i18nAttributes"),Wc=Symbol("i18nListAttributes"),Gc=Symbol("i18nProperties"),Ro=Symbol("i18nContexts"),Nr=Symbol("i18nUnsubs"),ko=(0,ir.applyMixinOnce)(Symbol("withI18n"),function(e){var t,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[o]=new Map}getI18nService(s){return s??this.useCustomMessageContexts?Eo:nr}i18n(s){let{context:c,key:d,message:u}=s,{custom:p,args:f,argsProvider:h}=s;if(c&&d){this.hasI18nContext(c)||this.addI18nContext(c,void 0,p);let m=f??(h?h(this):[]);return this.getI18nService(p).resolveMessage(c,d,...m)}return u}async awaitI18n(s){let{context:c,custom:d}=s;return c&&await this.getI18nService(d).prepareContext(c),this.i18n(s)}customI18n(s,c){if(ar.isI18nKey(s)){let[d,u]=s.split(".");return this.i18n({custom:!0,context:d,key:u,...c})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((c,d,u)=>s.has(d)||typeof c.argsProvider=="function"),this.updateI18nProperties(c=>typeof c.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((c,d,u)=>{var p;return((p=u?.context)===null||p===void 0?void 0:p.toLowerCase())===s}),this.updateI18nProperties(c=>c.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var c,d;let u=this,p=(f,h,m)=>m?.context&&m.key&&s(f,h,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...f})}:m;(c=this[Ir])===null||c===void 0||c.forEach((f,h)=>u[h]=p(f,h,u[h])),(d=this[Wc])===null||d===void 0||d.forEach((f,h)=>{var m;return u[h]=(m=u[h])===null||m===void 0?void 0:m.map(g=>p(f,h,g))})}updateI18nProperties(s){var c;(c=this[Gc])===null||c===void 0||c.forEach((d,u)=>{s(d,u)&&(this[u]=this.i18n(d))})}addI18nMessages(s,c,d){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,c,d)}addI18nContext(s,c,d){let u=(typeof s=="string"?s:s.name).toLowerCase();d=typeof s=="string"?d:s.custom,this[Ro].set(u,{isCustomContext:d}),this[Nr].has(u)||this[Nr].set(u,this.getI18nService(d).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(d).prepareContext(u,c)}hasI18nContext(s){return this[Ro].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Ro].forEach((s,c)=>this.addI18nContext(c,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Nr].forEach(s=>s()),this[Nr].clear()}}return t=Ro,o=Nr,gu([(0,Fc.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Lo=class extends ko(ir.FtLitElement){},To=class extends ko(ir.FtLitElementRedux){};var zc=y(A());var Jn=class{fromAttribute(t){if(!t)return[];try{let o=JSON.parse(t);return Array.isArray(o)?o.map(n=>typeof n=="string"?ar.fromAttribute(n):n):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},bu=new Jn;var jc=(e,t)=>(o,n)=>{var a;o.constructor.createProperty(n,{type:Object,hasChanged:zc.hasChanged,converter:ar,...t}),o[Ir]=(a=o[Ir])!==null&&a!==void 0?a:new Map,o[Ir].set(n,e??{})};var Po=class e{static build(t){return new e(t)}static buildCustom(t){return new e(t,!0)}static fromGwt(t){return new e(t)}get service(){return this.custom?Eo:nr}constructor(t,o=!1){this.name=t,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let s=a;return c=>({context:this.name,key:s,custom:this.custom,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...s)=>this.service.resolveMessage(this.name,a,...s)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)}),this.keys=new Proxy({},{get:(n,a)=>()=>a}),this.attributes=new Proxy({},{get:(n,a)=>()=>({context:this.name,key:a,message:this.service.resolveRawMessage(this.name,a)})})}};var Vc=y(_());var Kc=Vc.css`
365
+ `;var _o=y(_()),No=y(q()),Io=y(A());var Dr=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},Pe=class extends To{constructor(){super(),this.editorMode=!1,this.addStore(k)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":_o.nothing:_o.html`
366
366
  <span class="ft-i18n">
367
367
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
368
368
  </span>
369
- `}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Pe.elementDefinitions={};Pe.styles=Vc;Dr([(0,Io.redux)()],Pe.prototype,"editorMode",void 0);Dr([(0,No.property)()],Pe.prototype,"context",void 0);Dr([(0,No.property)()],Pe.prototype,"key",void 0);Dr([(0,Io.jsonProperty)([])],Pe.prototype,"args",void 0);Dr([(0,No.property)()],Pe.prototype,"defaultMessage",void 0);var Zc=g(A());var Kc={"ft-i18n":Pe};(0,Zc.customElements)(Kc);var _e=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},j=class extends Lo{constructor(){super(...arguments),this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Ae.Debouncer,this.revealDebouncer=new Ae.Debouncer,this.onTouch=t=>{this.isIgnored(t)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut(o)},{once:!0}),100))},this.onHover=t=>{this.isIgnored(t)||this.show()},this.onFocusIn=t=>{!this.isIgnored(t)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=t=>{this.isIgnored(t)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=t=>{this.isIgnored(t)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var t,o;return qc.html`
369
+ `}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Pe.elementDefinitions={};Pe.styles=Kc;Dr([(0,Io.redux)()],Pe.prototype,"editorMode",void 0);Dr([(0,No.property)()],Pe.prototype,"context",void 0);Dr([(0,No.property)()],Pe.prototype,"key",void 0);Dr([(0,Io.jsonProperty)([])],Pe.prototype,"args",void 0);Dr([(0,No.property)()],Pe.prototype,"defaultMessage",void 0);var qc=y(A());var Zc={"ft-i18n":Pe};(0,qc.customElements)(Zc);var _e=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},j=class extends Lo{constructor(){super(...arguments),this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Ae.Debouncer,this.revealDebouncer=new Ae.Debouncer,this.onTouch=t=>{this.isIgnored(t)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut(o)},{once:!0}),100))},this.onHover=t=>{this.isIgnored(t)||this.show()},this.onFocusIn=t=>{!this.isIgnored(t)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=t=>{this.isIgnored(t)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=t=>{this.isIgnored(t)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var t,o;return Yc.html`
370
370
  <div part="container"
371
371
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
372
372
  <slot part="slot"></slot>
@@ -381,7 +381,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
381
381
  </div>
382
382
  </div>
383
383
  </div>
384
- `}setupFor(t){this.eventsTarget!==t&&(this.removeHandlers(),this.eventsTarget=t,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(t){var o,n;t.has("visible")&&(this.visible?(this.resetTooltipContent(),(o=this.tooltip)===null||o===void 0||o.showPopover()):(n=this.tooltip)===null||n===void 0||n.hidePopover()),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}async showTemporaryText(t,o){let n=this.manual;this.manual=!0;let a=this.text;this.text={message:t},await this.show(o),this.text=a,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&eo(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${t}px,${o}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${Ae.designSystemVariables.transitionDuration}, left ${Ae.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(t){return this.manual||(0,Ae.eventPathContainsMatchingElement)(t,this.ignoreMatchingElements,this.eventsTarget)}};j.elementDefinitions={"ft-typography":Y};j.styles=gi;_e([zc()],j.prototype,"text",void 0);_e([(0,we.property)({type:Boolean})],j.prototype,"manual",void 0);_e([(0,we.property)({type:Boolean})],j.prototype,"inline",void 0);_e([(0,Ae.numberProperty)()],j.prototype,"delay",void 0);_e([(0,we.property)()],j.prototype,"position",void 0);_e([(0,Ae.jsonProperty)([])],j.prototype,"ignoreMatchingElements",void 0);_e([(0,we.queryAssignedNodes)()],j.prototype,"slotNodes",void 0);_e([(0,we.query)(".ft-tooltip--container")],j.prototype,"container",void 0);_e([(0,we.query)(".ft-tooltip")],j.prototype,"tooltip",void 0);_e([(0,we.query)(".ft-tooltip--content")],j.prototype,"tooltipContent",void 0);_e([(0,we.state)()],j.prototype,"visible",void 0);var Xc=g(A());var Yc={"ft-tooltip":j};(0,Xc.customElements)(Yc);var Jc=g(_()),Ie=g(A()),Ne={size:Ie.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ie.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Ie.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ie.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Ie.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ie.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Ie.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ie.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Qc=[Jc.css`
384
+ `}setupFor(t){this.eventsTarget!==t&&(this.removeHandlers(),this.eventsTarget=t,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(t){var o,n;t.has("visible")&&(this.visible?(this.resetTooltipContent(),(o=this.tooltip)===null||o===void 0||o.showPopover()):(n=this.tooltip)===null||n===void 0||n.hidePopover()),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}async showTemporaryText(t,o){let n=this.manual;this.manual=!0;let a=this.text;this.text={message:t},await this.show(o),this.text=a,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&eo(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${t}px,${o}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${Ae.designSystemVariables.transitionDuration}, left ${Ae.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(t){return this.manual||(0,Ae.eventPathContainsMatchingElement)(t,this.ignoreMatchingElements,this.eventsTarget)}};j.elementDefinitions={"ft-typography":Y};j.styles=gi;_e([jc()],j.prototype,"text",void 0);_e([(0,we.property)({type:Boolean})],j.prototype,"manual",void 0);_e([(0,we.property)({type:Boolean})],j.prototype,"inline",void 0);_e([(0,Ae.numberProperty)()],j.prototype,"delay",void 0);_e([(0,we.property)()],j.prototype,"position",void 0);_e([(0,Ae.jsonProperty)([])],j.prototype,"ignoreMatchingElements",void 0);_e([(0,we.queryAssignedNodes)()],j.prototype,"slotNodes",void 0);_e([(0,we.query)(".ft-tooltip--container")],j.prototype,"container",void 0);_e([(0,we.query)(".ft-tooltip")],j.prototype,"tooltip",void 0);_e([(0,we.query)(".ft-tooltip--content")],j.prototype,"tooltipContent",void 0);_e([(0,we.state)()],j.prototype,"visible",void 0);var Jc=y(A());var Xc={"ft-tooltip":j};(0,Jc.customElements)(Xc);var Qc=y(_()),Ie=y(A()),Ne={size:Ie.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ie.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Ie.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ie.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Ie.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ie.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Ie.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ie.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},el=[Qc.css`
385
385
  :host, i.ft-icon {
386
386
  display: inline-flex;
387
387
  align-items: center;
@@ -429,12 +429,12 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
429
429
  .ft-icon--material {
430
430
  font-family: ${Ne.materialFontFamily}, "Material Icons", sans-serif;
431
431
  }
432
- `,Ie.noTextSelect];var Ge;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Ge||(Ge={}));var Mr=g(_()),lt=g(q()),rl=g(A()),ol=g(tl());var Do;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.GRIP_LINES_SOLID="&#xe99d;",e.TRANSLATE_SPARKLE_SOLID="&#xe99e;",e.CODE="&#xe99f;",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",e.PAPER_PLANE_SLASH="&#xe9a1;",e.COMPRESS="&#xe9a2;",e.EXPAND="&#xe9a3;",e.ARROW_ROTATE_LEFT="&#xe9a4;",e.MOBILE_SMALL="&#xe9a5;",e.SPARKLES="&#xe9a6;",e.HAND_SOLID="&#xe9a7;",e.CLOCK_SOLID="&#xe9a8;",e.CONTEXT_MENU_CURSOR="&#xe9a9;",e.LANGUAGE_SLASH="&#xe9aa;",e.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",e.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",e.BOOKMARK_SLASH="&#xe9ad;",e.CIRCLE_PAUSE="&#xe9ae;",e.CIRCLE_PLAY="&#xe9af;",e.CIRCLE_STOP_PLAIN="&#xe9b0;",e.CIRCLE_ARROW_DOWN="&#xe9b1;",e.SHARE_NODES="&#xe9b2;",e.BELL="&#xe9b3;",e.BELL_SLASH="&#xe9b4;",e.FILE="&#xe9b5;",e.HAND="&#xe9b6;",e.SQUARE_INFO_SOLID="&#xe9b7;",e.FILE_CODE="&#xe9b8;",e.BOX_CODE="&#xe9b9;",e.TOPICS_SOLID="&#xe9ba;",e.PHOTO_FILM="&#xe9bb;",e.HYPHEN_SOLID="&#xe9bc;",e.CROSSHAIRS="&#xe9bd;",e.PERSON_CHALKBOARD="&#xe9be;",e.CIRCLE_ARROW_DOWN_SLASH="&#xe9bf;",e.BOOK_OPEN_COVER="&#xe9c0;",e.LIGHTBULB="&#xe9c1;",e.MESSAGE_BOT_AGENTIC_SOLID="&#xe9c2;",e.CHART_LINE_USER="&#xe9c3;",e.SERVER_CIRCLE_ARROW_DOWN="&#xe9c4;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(Do||(Do={}));var v;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(v||(v={}));var xS=new Map([...["abw"].map(e=>[e,v.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,v.AUDIO]),...["avi"].map(e=>[e,v.AVI]),...["chm","xhs"].map(e=>[e,v.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,v.CODE]),...["csv"].map(e=>[e,v.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,v.DITA]),...["epub"].map(e=>[e,v.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,v.EXCEL]),...["flac"].map(e=>[e,v.FLAC]),...["gif"].map(e=>[e,v.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,v.GZIP]),...["html","htm","xhtml"].map(e=>[e,v.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,v.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,v.JPEG]),...["json"].map(e=>[e,v.JSON]),...["m4a","m4p"].map(e=>[e,v.M4A]),...["mov","qt"].map(e=>[e,v.MOV]),...["mp3"].map(e=>[e,v.MP3]),...["mp4","m4v"].map(e=>[e,v.MP4]),...["ogg","oga"].map(e=>[e,v.OGG]),...["pdf","ps"].map(e=>[e,v.PDF]),...["png"].map(e=>[e,v.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,v.POWERPOINT]),...["rar"].map(e=>[e,v.RAR]),...["stp"].map(e=>[e,v.STP]),...["txt","rtf","md","mdown"].map(e=>[e,v.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,v.VIDEO]),...["wav"].map(e=>[e,v.WAV]),...["wma"].map(e=>[e,v.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,v.WORD]),...["xml","xsl","rdf"].map(e=>[e,v.XML]),...["yaml","yml","x-yaml"].map(e=>[e,v.YAML]),...["zip"].map(e=>[e,v.ZIP])]);var vS={[v.ABW]:"#91ABC6",[v.AUDIO]:"#1795E3",[v.AVI]:"#E63324",[v.CHM]:"#71C3EB",[v.CODE]:"#71C3EB",[v.CSV]:"#1F7345",[v.DITA]:"#71C3EB",[v.EPUB]:"#85B926",[v.EXCEL]:"#1F7345",[v.FLAC]:"#1795E3",[v.GIF]:"#59B031",[v.GZIP]:"#F8AB36",[v.HTML]:"#71C3EB",[v.IMAGE]:"#59B031",[v.JPEG]:"#59B031",[v.JSON]:"#71C3EB",[v.M4A]:"#1795E3",[v.MOV]:"#E63324",[v.MP3]:"#1795E3",[v.MP4]:"#E63324",[v.OGG]:"#1795E3",[v.PDF]:"#E44948",[v.PNG]:"#59B031",[v.POWERPOINT]:"#B54A2B",[v.RAR]:"#F8AB36",[v.STP]:"#3764B1",[v.TEXT]:"#3162AB",[v.UNKNOWN]:"#999999",[v.VIDEO]:"#E63324",[v.WAV]:"#1795E3",[v.WMA]:"#1795E3",[v.WORD]:"#3162AB",[v.XML]:"#71C3EB",[v.YAML]:"#71C3EB",[v.ZIP]:"#F8AB36"};var Br=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},ne=class extends rl.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Mr.nothing}render(){let t=this.variant&&Object.values(Ge).includes(this.variant)?this.variant:Ge.fluid_topics,o=t!==Ge.material||!!this.value;return Mr.html`
432
+ `,Ie.noTextSelect];var Ge;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Ge||(Ge={}));var Mr=y(_()),lt=y(q()),ol=y(A()),nl=y(rl());var Do;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.GRIP_LINES_SOLID="&#xe99d;",e.TRANSLATE_SPARKLE_SOLID="&#xe99e;",e.CODE="&#xe99f;",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",e.PAPER_PLANE_SLASH="&#xe9a1;",e.COMPRESS="&#xe9a2;",e.EXPAND="&#xe9a3;",e.ARROW_ROTATE_LEFT="&#xe9a4;",e.MOBILE_SMALL="&#xe9a5;",e.SPARKLES="&#xe9a6;",e.HAND_SOLID="&#xe9a7;",e.CLOCK_SOLID="&#xe9a8;",e.CONTEXT_MENU_CURSOR="&#xe9a9;",e.LANGUAGE_SLASH="&#xe9aa;",e.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",e.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",e.BOOKMARK_SLASH="&#xe9ad;",e.CIRCLE_PAUSE="&#xe9ae;",e.CIRCLE_PLAY="&#xe9af;",e.CIRCLE_STOP_PLAIN="&#xe9b0;",e.CIRCLE_ARROW_DOWN="&#xe9b1;",e.SHARE_NODES="&#xe9b2;",e.BELL="&#xe9b3;",e.BELL_SLASH="&#xe9b4;",e.FILE="&#xe9b5;",e.HAND="&#xe9b6;",e.SQUARE_INFO_SOLID="&#xe9b7;",e.FILE_CODE="&#xe9b8;",e.BOX_CODE="&#xe9b9;",e.TOPICS_SOLID="&#xe9ba;",e.PHOTO_FILM="&#xe9bb;",e.HYPHEN_SOLID="&#xe9bc;",e.CROSSHAIRS="&#xe9bd;",e.PERSON_CHALKBOARD="&#xe9be;",e.CIRCLE_ARROW_DOWN_SLASH="&#xe9bf;",e.BOOK_OPEN_COVER="&#xe9c0;",e.LIGHTBULB="&#xe9c1;",e.MESSAGE_BOT_AGENTIC_SOLID="&#xe9c2;",e.CHART_LINE_USER="&#xe9c3;",e.SERVER_CIRCLE_ARROW_DOWN="&#xe9c4;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(Do||(Do={}));var v;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(v||(v={}));var vS=new Map([...["abw"].map(e=>[e,v.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,v.AUDIO]),...["avi"].map(e=>[e,v.AVI]),...["chm","xhs"].map(e=>[e,v.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,v.CODE]),...["csv"].map(e=>[e,v.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,v.DITA]),...["epub"].map(e=>[e,v.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,v.EXCEL]),...["flac"].map(e=>[e,v.FLAC]),...["gif"].map(e=>[e,v.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,v.GZIP]),...["html","htm","xhtml"].map(e=>[e,v.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,v.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,v.JPEG]),...["json"].map(e=>[e,v.JSON]),...["m4a","m4p"].map(e=>[e,v.M4A]),...["mov","qt"].map(e=>[e,v.MOV]),...["mp3"].map(e=>[e,v.MP3]),...["mp4","m4v"].map(e=>[e,v.MP4]),...["ogg","oga"].map(e=>[e,v.OGG]),...["pdf","ps"].map(e=>[e,v.PDF]),...["png"].map(e=>[e,v.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,v.POWERPOINT]),...["rar"].map(e=>[e,v.RAR]),...["stp"].map(e=>[e,v.STP]),...["txt","rtf","md","mdown"].map(e=>[e,v.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,v.VIDEO]),...["wav"].map(e=>[e,v.WAV]),...["wma"].map(e=>[e,v.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,v.WORD]),...["xml","xsl","rdf"].map(e=>[e,v.XML]),...["yaml","yml","x-yaml"].map(e=>[e,v.YAML]),...["zip"].map(e=>[e,v.ZIP])]);var SS={[v.ABW]:"#91ABC6",[v.AUDIO]:"#1795E3",[v.AVI]:"#E63324",[v.CHM]:"#71C3EB",[v.CODE]:"#71C3EB",[v.CSV]:"#1F7345",[v.DITA]:"#71C3EB",[v.EPUB]:"#85B926",[v.EXCEL]:"#1F7345",[v.FLAC]:"#1795E3",[v.GIF]:"#59B031",[v.GZIP]:"#F8AB36",[v.HTML]:"#71C3EB",[v.IMAGE]:"#59B031",[v.JPEG]:"#59B031",[v.JSON]:"#71C3EB",[v.M4A]:"#1795E3",[v.MOV]:"#E63324",[v.MP3]:"#1795E3",[v.MP4]:"#E63324",[v.OGG]:"#1795E3",[v.PDF]:"#E44948",[v.PNG]:"#59B031",[v.POWERPOINT]:"#B54A2B",[v.RAR]:"#F8AB36",[v.STP]:"#3764B1",[v.TEXT]:"#3162AB",[v.UNKNOWN]:"#999999",[v.VIDEO]:"#E63324",[v.WAV]:"#1795E3",[v.WMA]:"#1795E3",[v.WORD]:"#3162AB",[v.XML]:"#71C3EB",[v.YAML]:"#71C3EB",[v.ZIP]:"#F8AB36"};var Br=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},ne=class extends ol.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Mr.nothing}render(){let t=this.variant&&Object.values(Ge).includes(this.variant)?this.variant:Ge.fluid_topics,o=t!==Ge.material||!!this.value;return Mr.html`
433
433
  <i class="ft-icon ft-icon--${t} ft-no-text-select" part="icon icon-${t}">
434
- ${(0,ol.unsafeHTML)(this.resolvedIcon)}
434
+ ${(0,nl.unsafeHTML)(this.resolvedIcon)}
435
435
  <slot ?hidden=${o}></slot>
436
436
  </i>
437
- `}getTextContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.getTextContent();switch(this.variant){case Ge.file_format:this.resolvedIcon=(t=v[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case Ge.material:this.resolvedIcon=this.value||Mr.nothing;break;default:this.resolvedIcon=(o=Do[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};ne.elementDefinitions={};ne.styles=Qc;Br([(0,lt.property)()],ne.prototype,"variant",void 0);Br([(0,lt.property)()],ne.prototype,"value",void 0);Br([(0,lt.property)({reflect:!0,attribute:"aria-hidden"})],ne.prototype,"ariaHidden",void 0);Br([(0,lt.state)()],ne.prototype,"resolvedIcon",void 0);Br([(0,lt.query)("slot")],ne.prototype,"slottedContent",void 0);var al=g(A());var nl={"ft-icon":ne};(0,al.customElements)(nl);var il=g(_()),Ur=g(A()),Pt={color:Ur.FtCssVariableFactory.extend("--ft-loader-color","",Ur.designSystemVariables.colorPrimary),size:Ur.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},sl=il.css`
437
+ `}getTextContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.getTextContent();switch(this.variant){case Ge.file_format:this.resolvedIcon=(t=v[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case Ge.material:this.resolvedIcon=this.value||Mr.nothing;break;default:this.resolvedIcon=(o=Do[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};ne.elementDefinitions={};ne.styles=el;Br([(0,lt.property)()],ne.prototype,"variant",void 0);Br([(0,lt.property)()],ne.prototype,"value",void 0);Br([(0,lt.property)({reflect:!0,attribute:"aria-hidden"})],ne.prototype,"ariaHidden",void 0);Br([(0,lt.state)()],ne.prototype,"resolvedIcon",void 0);Br([(0,lt.query)("slot")],ne.prototype,"slottedContent",void 0);var il=y(A());var al={"ft-icon":ne};(0,il.customElements)(al);var sl=y(_()),Ur=y(A()),Pt={color:Ur.FtCssVariableFactory.extend("--ft-loader-color","",Ur.designSystemVariables.colorPrimary),size:Ur.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},cl=sl.css`
438
438
  :host {
439
439
  line-height: 0;
440
440
  }
@@ -503,14 +503,14 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
503
503
  transform: translate(calc(0.35 * ${Pt.size}), 0);
504
504
  }
505
505
  }
506
- `;var cl=g(_()),ll=g(A());var _t=class extends ll.FtLitElement{render(){return cl.html`
506
+ `;var ll=y(_()),dl=y(A());var _t=class extends dl.FtLitElement{render(){return ll.html`
507
507
  <div class="ft-loader">
508
508
  <div></div>
509
509
  <div></div>
510
510
  <div></div>
511
511
  <div></div>
512
512
  </div>
513
- `}};_t.styles=sl;var ul=g(A());var dl={"ft-loader":_t};(0,ul.customElements)(dl);var dt=g(_()),ra=g(ht()),I=g(q());var ea=e=>e??F;var hl=g(_()),T=g(A());var pl=T.FtCssVariableFactory.extend("--ft-button-color","",T.designSystemVariables.colorPrimary),V={backgroundColor:T.FtCssVariableFactory.extend("--ft-button-background-color","",T.designSystemVariables.colorSurface),borderRadius:T.FtCssVariableFactory.extend("--ft-button-border-radius","",T.designSystemVariables.borderRadiusL),color:pl,fontSize:T.FtCssVariableFactory.extend("--ft-button-font-size","",Be.fontSize),iconSize:T.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:T.FtCssVariableFactory.extend("--ft-button-ripple-color","",pl),verticalPadding:T.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:T.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:T.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:T.FtCssVariableFactory.external(T.designSystemVariables.colorOpacityDisabled,"Design system")},fl=T.FtCssVariableFactory.extend("--ft-button-primary-color","",T.FtCssVariableFactory.extend("--ft-button-color","",T.designSystemVariables.colorOnPrimary)),ta={backgroundColor:T.FtCssVariableFactory.extend("--ft-button-primary-background-color","",T.FtCssVariableFactory.extend("--ft-button-background-color","",T.designSystemVariables.colorPrimary)),color:fl,rippleColor:T.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",fl)},De={borderRadius:T.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",T.FtCssVariableFactory.extend("--ft-button-border-radius","",T.designSystemVariables.borderRadiusM)),verticalPadding:T.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:T.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:T.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},ml=hl.css`
513
+ `}};_t.styles=cl;var pl=y(A());var ul={"ft-loader":_t};(0,pl.customElements)(ul);var dt=y(_()),ta=y(ht()),I=y(q());var Qn=e=>e??F;var ml=y(_()),L=y(A());var fl=L.FtCssVariableFactory.extend("--ft-button-color","",L.designSystemVariables.colorPrimary),V={backgroundColor:L.FtCssVariableFactory.extend("--ft-button-background-color","",L.designSystemVariables.colorSurface),borderRadius:L.FtCssVariableFactory.extend("--ft-button-border-radius","",L.designSystemVariables.borderRadiusL),color:fl,fontSize:L.FtCssVariableFactory.extend("--ft-button-font-size","",Be.fontSize),iconSize:L.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:L.FtCssVariableFactory.extend("--ft-button-ripple-color","",fl),verticalPadding:L.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:L.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:L.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:L.FtCssVariableFactory.external(L.designSystemVariables.colorOpacityDisabled,"Design system")},hl=L.FtCssVariableFactory.extend("--ft-button-primary-color","",L.FtCssVariableFactory.extend("--ft-button-color","",L.designSystemVariables.colorOnPrimary)),ea={backgroundColor:L.FtCssVariableFactory.extend("--ft-button-primary-background-color","",L.FtCssVariableFactory.extend("--ft-button-background-color","",L.designSystemVariables.colorPrimary)),color:hl,rippleColor:L.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",hl)},De={borderRadius:L.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",L.FtCssVariableFactory.extend("--ft-button-border-radius","",L.designSystemVariables.borderRadiusM)),verticalPadding:L.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:L.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:L.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},yl=ml.css`
514
514
  :host {
515
515
  display: inline-block;
516
516
  max-width: 100%;
@@ -541,7 +541,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
541
541
  }
542
542
 
543
543
  .ft-button:focus-visible {
544
- outline: 2px solid ${T.designSystemVariables.colorPrimary};
544
+ outline: 2px solid ${L.designSystemVariables.colorPrimary};
545
545
  outline-offset: 2px;
546
546
  }
547
547
 
@@ -557,9 +557,9 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
557
557
 
558
558
  --button-internal-line-height: max(calc(${V.fontSize} + 2px), ${V.iconSize});
559
559
  --button-internal-color: ${V.color};
560
- ${(0,T.setVariable)(Ne.size,V.iconSize)};
561
- ${(0,T.setVariable)(xe.color,V.rippleColor)};
562
- ${(0,T.setVariable)(xe.borderRadius,V.borderRadius)};
560
+ ${(0,L.setVariable)(Ne.size,V.iconSize)};
561
+ ${(0,L.setVariable)(xe.color,V.rippleColor)};
562
+ ${(0,L.setVariable)(xe.borderRadius,V.borderRadius)};
563
563
 
564
564
  border-radius: ${V.borderRadius};
565
565
  padding: ${V.verticalPadding} ${V.horizontalPadding};
@@ -576,7 +576,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
576
576
  padding: ${De.verticalPadding} ${De.horizontalPadding};
577
577
  border-radius: ${De.borderRadius};
578
578
  gap: ${De.iconPadding};
579
- ${(0,T.setVariable)(xe.borderRadius,De.borderRadius)};
579
+ ${(0,L.setVariable)(xe.borderRadius,De.borderRadius)};
580
580
  }
581
581
 
582
582
  .ft-button.ft-button--dense.ft-button--outlined {
@@ -601,9 +601,9 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
601
601
  }
602
602
 
603
603
  .ft-button.ft-button--primary {
604
- background-color: ${ta.backgroundColor};
605
- --button-internal-color: ${ta.color};
606
- ${(0,T.setVariable)(xe.color,ta.rippleColor)};
604
+ background-color: ${ea.backgroundColor};
605
+ --button-internal-color: ${ea.color};
606
+ ${(0,L.setVariable)(xe.color,ea.rippleColor)};
607
607
  }
608
608
 
609
609
  .ft-button--label {
@@ -613,8 +613,8 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
613
613
  text-overflow: ellipsis;
614
614
  display: block;
615
615
  margin: 0 ${V.iconPadding};
616
- ${(0,T.setVariable)(Be.fontSize,"1em")};
617
- ${(0,T.setVariable)(Be.lineHeight,"var(--button-internal-line-height)")};
616
+ ${(0,L.setVariable)(Be.fontSize,"1em")};
617
+ ${(0,L.setVariable)(Be.lineHeight,"var(--button-internal-line-height)")};
618
618
  }
619
619
 
620
620
  .ft-button--dense .ft-button--label {
@@ -645,8 +645,8 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
645
645
  }
646
646
 
647
647
  ft-loader {
648
- ${(0,T.setVariable)(Pt.size,V.iconSize)};
649
- ${(0,T.setVariable)(Pt.color,"var(--button-internal-color)")};
648
+ ${(0,L.setVariable)(Pt.size,V.iconSize)};
649
+ ${(0,L.setVariable)(Pt.color,"var(--button-internal-color)")};
650
650
  }
651
651
  `;var B=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},P=class extends(0,Re.toFtFormComponent)(Re.FtLitElement){get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}constructor(){super(),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1,this.disabled=!1,this.icon=void 0,this.trailingIcon=!1,this.label="",this.type="button",this.href=void 0,this.target=void 0,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var t,o,n;let a=dt.html`
652
652
  <ft-ripple part="ripple"
@@ -665,17 +665,17 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
665
665
  <a href="${s}"
666
666
  target="${(t=this.target)!==null&&t!==void 0?t:"_self"}"
667
667
  part="button"
668
- class="${(0,ra.classMap)(this.buttonClasses)}"
668
+ class="${(0,ta.classMap)(this.buttonClasses)}"
669
669
  aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
670
670
  ?disabled=${this.isDisabled()}>
671
671
  ${a}
672
672
  </a>
673
673
  `:dt.html`
674
674
  <button part="button"
675
- class="${(0,ra.classMap)(this.buttonClasses)}"
675
+ class="${(0,ta.classMap)(this.buttonClasses)}"
676
676
  aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
677
- aria-haspopup="${ea(this.ariaHasPopup)}"
678
- aria-pressed="${ea(this.ariaPressed)}"
677
+ aria-haspopup="${Qn(this.ariaHasPopup)}"
678
+ aria-pressed="${Qn(this.ariaPressed)}"
679
679
  ?disabled=${this.isDisabled()}>
680
680
  ${a}
681
681
  </button>
@@ -690,7 +690,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
690
690
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
691
691
  `:dt.html`
692
692
  <slot part="icon" name="icon"></slot>
693
- `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}showTooltip(){var t;(t=this.tooltip)===null||t===void 0||t.show()}showTemporaryTooltip(t,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(t,o)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,Re.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};P.elementDefinitions={"ft-ripple":N,"ft-tooltip":j,"ft-icon":ne,"ft-loader":_t,"ft-typography":Y};P.styles=[Re.safariEllipsisFix,ml,Re.noTextSelect];B([(0,I.property)({type:Boolean})],P.prototype,"primary",void 0);B([(0,I.property)({type:Boolean})],P.prototype,"outlined",void 0);B([(0,I.property)({type:Boolean})],P.prototype,"dense",void 0);B([(0,I.property)({type:Boolean})],P.prototype,"round",void 0);B([(0,I.property)({type:Boolean})],P.prototype,"disabled",void 0);B([(0,I.property)()],P.prototype,"icon",void 0);B([(0,I.property)()],P.prototype,"iconVariant",void 0);B([(0,I.property)({type:Boolean})],P.prototype,"trailingIcon",void 0);B([(0,I.property)()],P.prototype,"label",void 0);B([(0,I.property)()],P.prototype,"type",void 0);B([(0,I.property)()],P.prototype,"href",void 0);B([(0,I.property)()],P.prototype,"target",void 0);B([(0,I.property)({type:Boolean})],P.prototype,"loading",void 0);B([(0,I.property)({attribute:"aria-label"})],P.prototype,"ariaLabel",void 0);B([(0,I.property)()],P.prototype,"ariaHasPopup",void 0);B([(0,I.property)({attribute:"aria-pressed"})],P.prototype,"ariaPressed",void 0);B([(0,I.property)()],P.prototype,"tooltipPosition",void 0);B([(0,I.property)({type:Boolean})],P.prototype,"hideTooltip",void 0);B([(0,I.property)({type:Boolean})],P.prototype,"forceTooltip",void 0);B([(0,I.property)({type:Boolean})],P.prototype,"activated",void 0);B([(0,I.query)(".ft-button")],P.prototype,"button",void 0);B([(0,I.query)(".ft-button--label slot")],P.prototype,"slottedContent",void 0);B([(0,I.query)("[part=tooltip]")],P.prototype,"tooltip",void 0);var gl=g(A());var yl={"ft-button":P};(0,gl.customElements)(yl);var El=g(ht());var Hr=g(_()),lr=g(q()),Uo=g(A());var bl=g(_()),Mo=g(A()),bu={iconColor:Mo.FtCssVariableFactory.extend("--ft-floating-menu-icon-color","",Mo.designSystemVariables.colorOnSurfaceMedium)},xl=bl.css`
693
+ `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}showTooltip(){var t;(t=this.tooltip)===null||t===void 0||t.show()}showTemporaryTooltip(t,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(t,o)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,Re.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};P.elementDefinitions={"ft-ripple":N,"ft-tooltip":j,"ft-icon":ne,"ft-loader":_t,"ft-typography":Y};P.styles=[Re.safariEllipsisFix,yl,Re.noTextSelect];B([(0,I.property)({type:Boolean})],P.prototype,"primary",void 0);B([(0,I.property)({type:Boolean})],P.prototype,"outlined",void 0);B([(0,I.property)({type:Boolean})],P.prototype,"dense",void 0);B([(0,I.property)({type:Boolean})],P.prototype,"round",void 0);B([(0,I.property)({type:Boolean})],P.prototype,"disabled",void 0);B([(0,I.property)()],P.prototype,"icon",void 0);B([(0,I.property)()],P.prototype,"iconVariant",void 0);B([(0,I.property)({type:Boolean})],P.prototype,"trailingIcon",void 0);B([(0,I.property)()],P.prototype,"label",void 0);B([(0,I.property)()],P.prototype,"type",void 0);B([(0,I.property)()],P.prototype,"href",void 0);B([(0,I.property)()],P.prototype,"target",void 0);B([(0,I.property)({type:Boolean})],P.prototype,"loading",void 0);B([(0,I.property)({attribute:"aria-label"})],P.prototype,"ariaLabel",void 0);B([(0,I.property)()],P.prototype,"ariaHasPopup",void 0);B([(0,I.property)({attribute:"aria-pressed"})],P.prototype,"ariaPressed",void 0);B([(0,I.property)()],P.prototype,"tooltipPosition",void 0);B([(0,I.property)({type:Boolean})],P.prototype,"hideTooltip",void 0);B([(0,I.property)({type:Boolean})],P.prototype,"forceTooltip",void 0);B([(0,I.property)({type:Boolean})],P.prototype,"activated",void 0);B([(0,I.query)(".ft-button")],P.prototype,"button",void 0);B([(0,I.query)(".ft-button--label slot")],P.prototype,"slottedContent",void 0);B([(0,I.query)("[part=tooltip]")],P.prototype,"tooltip",void 0);var bl=y(A());var gl={"ft-button":P};(0,bl.customElements)(gl);var Al=y(ht());var Hr=y(_()),cr=y(q()),Uo=y(A());var xl=y(_()),Mo=y(A()),xu={iconColor:Mo.FtCssVariableFactory.extend("--ft-floating-menu-icon-color","",Mo.designSystemVariables.colorOnSurfaceMedium)},vl=xl.css`
694
694
  .ft-floating-menu-item {
695
695
  cursor: pointer;
696
696
  display: flex;
@@ -710,7 +710,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
710
710
  }
711
711
 
712
712
  .ft-floating-menu-item ft-icon {
713
- color: ${bu.iconColor};
713
+ color: ${xu.iconColor};
714
714
  margin-left: 0;
715
715
  flex-shrink: 0;
716
716
  flex-grow: 0;
@@ -725,8 +725,8 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
725
725
  word-break: break-word;
726
726
  hyphens: auto;
727
727
  }
728
- `;var vl=g(ht()),cr=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},Bo=class extends CustomEvent{constructor(t){super("ft-floating-menu-item-select",{detail:t,bubbles:!0,composed:!0})}},te=class extends Uo.FtLitElement{constructor(){super(...arguments),this.value="",this.notFocusable=!1,this.disabled=!1}get floatingClasses(){return{"ft-floating-menu-item":!0,"ft-floating-menu-item--disabled":this.disabled}}render(){return Hr.html`
729
- <div class="${(0,vl.classMap)(this.floatingClasses)}"
728
+ `;var Sl=y(ht()),sr=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},Bo=class extends CustomEvent{constructor(t){super("ft-floating-menu-item-select",{detail:t,bubbles:!0,composed:!0})}},te=class extends Uo.FtLitElement{constructor(){super(...arguments),this.value="",this.notFocusable=!1,this.disabled=!1}get floatingClasses(){return{"ft-floating-menu-item":!0,"ft-floating-menu-item--disabled":this.disabled}}render(){return Hr.html`
729
+ <div class="${(0,Sl.classMap)(this.floatingClasses)}"
730
730
  tabindex="${this.notFocusable||this.disabled?"-1":"0"}"
731
731
  aria-disabled="${this.disabled}"
732
732
  @keydown=${t=>this.onKeyDown(t)}
@@ -741,7 +741,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
741
741
  <slot></slot>
742
742
  </ft-typography>
743
743
  </div>
744
- `}onClick(t){this.disabled?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.dispatchEvent(new Bo(this.value))}onKeyDown(t){(t.key=="Enter"||t.key==" ")&&(t.preventDefault(),this.dispatchEvent(new Bo(this.value)))}};te.elementDefinitions={"ft-icon":ne,"ft-ripple":N,"ft-typography":Y};te.styles=xl;cr([(0,lr.property)()],te.prototype,"iconVariant",void 0);cr([(0,lr.property)()],te.prototype,"icon",void 0);cr([(0,lr.property)()],te.prototype,"value",void 0);cr([(0,lr.property)({type:Boolean})],te.prototype,"notFocusable",void 0);cr([(0,lr.property)({type:Boolean})],te.prototype,"disabled",void 0);cr([(0,Uo.ignoreComposingEvents)()],te.prototype,"onKeyDown",null);var Sl=g(_()),me=g(A()),ut={zIndex:me.FtCssVariableFactory.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:me.FtCssVariableFactory.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:me.FtCssVariableFactory.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:me.FtCssVariableFactory.extend("--ft-floating-menu-text-color","",me.designSystemVariables.colorOnSurfaceHigh),colorSurface:me.FtCssVariableFactory.external(me.designSystemVariables.colorSurface,"Design system"),menuElevation:me.FtCssVariableFactory.external(me.designSystemVariables.elevation02,"Design system"),borderRadiusS:me.FtCssVariableFactory.external(me.designSystemVariables.borderRadiusS,"Design system")},Cl=Sl.css`
744
+ `}onClick(t){this.disabled?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.dispatchEvent(new Bo(this.value))}onKeyDown(t){(t.key=="Enter"||t.key==" ")&&(t.preventDefault(),this.dispatchEvent(new Bo(this.value)))}};te.elementDefinitions={"ft-icon":ne,"ft-ripple":N,"ft-typography":Y};te.styles=vl;sr([(0,cr.property)()],te.prototype,"iconVariant",void 0);sr([(0,cr.property)()],te.prototype,"icon",void 0);sr([(0,cr.property)()],te.prototype,"value",void 0);sr([(0,cr.property)({type:Boolean})],te.prototype,"notFocusable",void 0);sr([(0,cr.property)({type:Boolean})],te.prototype,"disabled",void 0);sr([(0,Uo.ignoreComposingEvents)()],te.prototype,"onKeyDown",null);var Cl=y(_()),me=y(A()),ut={zIndex:me.FtCssVariableFactory.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:me.FtCssVariableFactory.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:me.FtCssVariableFactory.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:me.FtCssVariableFactory.extend("--ft-floating-menu-text-color","",me.designSystemVariables.colorOnSurfaceHigh),colorSurface:me.FtCssVariableFactory.external(me.designSystemVariables.colorSurface,"Design system"),menuElevation:me.FtCssVariableFactory.external(me.designSystemVariables.elevation02,"Design system"),borderRadiusS:me.FtCssVariableFactory.external(me.designSystemVariables.borderRadiusS,"Design system")},Ol=Cl.css`
745
745
  .ft-floating-menu {
746
746
  color: ${ut.textColor};
747
747
  display: contents;
@@ -772,8 +772,8 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
772
772
  .ft-floating-menu--open .ft-floating-menu--options {
773
773
  display: block;
774
774
  }
775
- `;var re=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},Ho=class extends CustomEvent{constructor(t){super("change",{detail:{open:t}})}};var $o=class extends CustomEvent{constructor(t){super("select",{detail:t})}},M=class extends dr.FtLitElement{constructor(){super(...arguments),this.horizontalAlignment="left",this.verticalAlignment="bottom",this.closeMenuMatchers=[],this.primary=!1,this.icon="SHORTCUT_MENU",this.iconVariant=Ge.fluid_topics,this.disabled=!1,this.menuOpen=!1,this.forceMenuOpen=!1,this.hideOptionsOnClickOutside=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container)}}updated(t){super.updated(t),t.has("menuOpen")&&this.dispatchEvent(new Ho(this.menuOpen))}render(){let t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return Ol.html`
776
- <div part="container" class="${(0,El.classMap)(t)}" @keydown=${this.onKeyDown}>
775
+ `;var re=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},Ho=class extends CustomEvent{constructor(t){super("change",{detail:{open:t}})}};var $o=class extends CustomEvent{constructor(t){super("select",{detail:t})}},M=class extends lr.FtLitElement{constructor(){super(...arguments),this.horizontalAlignment="left",this.verticalAlignment="bottom",this.closeMenuMatchers=[],this.primary=!1,this.icon="SHORTCUT_MENU",this.iconVariant=Ge.fluid_topics,this.disabled=!1,this.menuOpen=!1,this.forceMenuOpen=!1,this.hideOptionsOnClickOutside=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container)}}updated(t){super.updated(t),t.has("menuOpen")&&this.dispatchEvent(new Ho(this.menuOpen))}render(){let t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return El.html`
776
+ <div part="container" class="${(0,Al.classMap)(t)}" @keydown=${this.onKeyDown}>
777
777
  <slot name="toggle"
778
778
  part="toggle"
779
779
  @click=${this.toggleMenu}
@@ -803,7 +803,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
803
803
  </div>
804
804
  </div>
805
805
  </div>
806
- `}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onItemSelect(t){t.stopPropagation(),this.dispatchEvent(new $o(t.detail)),this.closeMenu()}onContentClick(t){(0,dr.eventPathContainsMatchingElement)(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";let t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:o,y:n}=await eo(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${o}px`,this.menuWrapper.style.top=`${n}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}onKeyDown(t){t.code=="Escape"&&(this.closeMenu(),t.stopPropagation())}};M.elementDefinitions={"ft-floating-menu-item":te,"ft-button":P};M.styles=Cl;re([(0,K.property)()],M.prototype,"horizontalAlignment",void 0);re([(0,K.property)()],M.prototype,"verticalAlignment",void 0);re([(0,dr.jsonProperty)([])],M.prototype,"closeMenuMatchers",void 0);re([(0,K.property)({type:Boolean})],M.prototype,"primary",void 0);re([(0,K.property)()],M.prototype,"label",void 0);re([(0,K.property)()],M.prototype,"tooltipPosition",void 0);re([(0,K.property)()],M.prototype,"icon",void 0);re([(0,K.property)()],M.prototype,"iconVariant",void 0);re([(0,K.property)()],M.prototype,"text",void 0);re([(0,K.property)({type:Boolean})],M.prototype,"disabled",void 0);re([(0,K.state)()],M.prototype,"menuOpen",void 0);re([(0,K.state)()],M.prototype,"forceMenuOpen",void 0);re([(0,K.query)(".ft-floating-menu")],M.prototype,"container",void 0);re([(0,K.query)(".ft-floating-menu--wrapper")],M.prototype,"menuWrapper",void 0);re([(0,K.query)("#actions-button")],M.prototype,"actionButton",void 0);re([(0,K.queryAssignedElements)({slot:"toggle"})],M.prototype,"customToggle",void 0);var Al=g(_()),Fo=g(A()),xu={color:Fo.FtCssVariableFactory.extend("--ft-floating-menu-label-color","",Fo.designSystemVariables.colorOnSurfaceMedium)},wl=Al.css`
806
+ `}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onItemSelect(t){t.stopPropagation(),this.dispatchEvent(new $o(t.detail)),this.closeMenu()}onContentClick(t){(0,lr.eventPathContainsMatchingElement)(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";let t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:o,y:n}=await eo(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${o}px`,this.menuWrapper.style.top=`${n}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment}}onKeyDown(t){t.code=="Escape"&&(this.closeMenu(),t.stopPropagation())}};M.elementDefinitions={"ft-floating-menu-item":te,"ft-button":P};M.styles=Ol;re([(0,K.property)()],M.prototype,"horizontalAlignment",void 0);re([(0,K.property)()],M.prototype,"verticalAlignment",void 0);re([(0,lr.jsonProperty)([])],M.prototype,"closeMenuMatchers",void 0);re([(0,K.property)({type:Boolean})],M.prototype,"primary",void 0);re([(0,K.property)()],M.prototype,"label",void 0);re([(0,K.property)()],M.prototype,"tooltipPosition",void 0);re([(0,K.property)()],M.prototype,"icon",void 0);re([(0,K.property)()],M.prototype,"iconVariant",void 0);re([(0,K.property)()],M.prototype,"text",void 0);re([(0,K.property)({type:Boolean})],M.prototype,"disabled",void 0);re([(0,K.state)()],M.prototype,"menuOpen",void 0);re([(0,K.state)()],M.prototype,"forceMenuOpen",void 0);re([(0,K.query)(".ft-floating-menu")],M.prototype,"container",void 0);re([(0,K.query)(".ft-floating-menu--wrapper")],M.prototype,"menuWrapper",void 0);re([(0,K.query)("#actions-button")],M.prototype,"actionButton",void 0);re([(0,K.queryAssignedElements)({slot:"toggle"})],M.prototype,"customToggle",void 0);var wl=y(_()),Fo=y(A()),vu={color:Fo.FtCssVariableFactory.extend("--ft-floating-menu-label-color","",Fo.designSystemVariables.colorOnSurfaceMedium)},Rl=wl.css`
807
807
  .ft-floating-menu-label {
808
808
  padding: 4px 8px;
809
809
  }
@@ -814,15 +814,15 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
814
814
  width: max-content;
815
815
  text-overflow: ellipsis;
816
816
  overflow: hidden;
817
- color: ${xu.color}
817
+ color: ${vu.color}
818
818
  }
819
- `;var Rl=g(_()),Ll=g(A());var ur=class extends Ll.FtLitElement{render(){return Rl.html`
819
+ `;var Ll=y(_()),Tl=y(A());var dr=class extends Tl.FtLitElement{render(){return Ll.html`
820
820
  <div class="ft-floating-menu-label">
821
821
  <ft-typography variant="${J.caption}">
822
822
  <slot></slot>
823
823
  </ft-typography>
824
824
  </div>
825
- `}};ur.elementDefinitions={"ft-typography":Y};ur.styles=wl;var kl=g(A());var Tl={"ft-floating-menu":M,"ft-floating-menu-item":te,"ft-floating-menu-label":ur};(0,kl.customElements)(Tl);var Wo=Po.build("readerBreadcrumbsComponent"),Pl={navAriaLabel:"Breadcrumb",menuShowMore:"Show more"};var Il=g(_()),Dl=g(A());var _l=g(_()),Me=g(A()),se={display:Me.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:Me.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:Me.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:Me.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:Me.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:Me.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:Me.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:Me.FtCssVariableFactory.external(Me.designSystemVariables.borderRadiusM,"Design system")},Nl=_l.css`
825
+ `}};dr.elementDefinitions={"ft-typography":Y};dr.styles=Rl;var Pl=y(A());var kl={"ft-floating-menu":M,"ft-floating-menu-item":te,"ft-floating-menu-label":dr};(0,Pl.customElements)(kl);var Wo=Po.build("readerBreadcrumbsComponent"),_l={navAriaLabel:"Breadcrumb",menuShowMore:"Show more"};var Dl=y(_()),Ml=y(A());var Nl=y(_()),Me=y(A()),se={display:Me.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:Me.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:Me.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:Me.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:Me.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:Me.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:Me.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:Me.FtCssVariableFactory.external(Me.designSystemVariables.borderRadiusM,"Design system")},Il=Nl.css`
826
826
  :host {
827
827
  width: ${se.width};
828
828
  height: ${se.height};
@@ -849,9 +849,9 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
849
849
  background-position: calc(100vw + ${se.glareWidth}) 0, calc(${se.glareWidth} * -1) 0;
850
850
  }
851
851
  }
852
- `;var pt=class extends Dl.FtLitElement{render(){return Il.html`
853
- `}};pt.elementDefinitions={};pt.styles=Nl;var Bl=g(A());var Ml={"ft-skeleton":pt};(0,Bl.customElements)(Ml);var ye=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},Z=class extends ko(zt){constructor(){super(),this.separator=">",this.breadcrumb=[],this.addI18nContext(Wo,Pl)}willUpdate(t){var o,n,a;super.willUpdate(t),["tocId","toc"].some(s=>t.has(s))&&this.tocId!==void 0&&(this.breadcrumb=(n=(o=this.stateManager)===null||o===void 0?void 0:o.buildBreadcrumb(this.tocId))!==null&&n!==void 0?n:[]),t.has("breadcrumb")&&((a=this.ftFloatingMenu)===null||a===void 0||a.closeMenu())}render(){let t=this.breadcrumb;this.displayMapTitle&&(t=[{title:this.mapTitle,tocId:"root"},...this.breadcrumb]);let o={"ft-reader-breadcrumbs":!0,multiline:!!this.multiline};return ce.html`
854
- <nav part="breadcrumb-nav" class="${(0,Ul.classMap)(o)}" aria-label="${Wo.messages.navAriaLabel()}">
852
+ `;var pt=class extends Ml.FtLitElement{render(){return Dl.html`
853
+ `}};pt.elementDefinitions={};pt.styles=Il;var Ul=y(A());var Bl={"ft-skeleton":pt};(0,Ul.customElements)(Bl);var ye=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},Z=class extends ko(zt){constructor(){super(),this.separator=">",this.breadcrumb=[],this.addI18nContext(Wo,_l)}willUpdate(t){var o,n,a;super.willUpdate(t),["tocId","toc"].some(s=>t.has(s))&&this.tocId!==void 0&&(this.breadcrumb=(n=(o=this.stateManager)===null||o===void 0?void 0:o.buildBreadcrumb(this.tocId))!==null&&n!==void 0?n:[]),t.has("breadcrumb")&&((a=this.ftFloatingMenu)===null||a===void 0||a.closeMenu())}render(){let t=this.breadcrumb;this.displayMapTitle&&(t=[{title:this.mapTitle,tocId:"root"},...this.breadcrumb]);let o={"ft-reader-breadcrumbs":!0,multiline:!!this.multiline};return ce.html`
854
+ <nav part="breadcrumb-nav" class="${(0,Hl.classMap)(o)}" aria-label="${Wo.messages.navAriaLabel()}">
855
855
  <ol part="breadcrumb-list">
856
856
  ${this.renderBreadcrumbs(t)}
857
857
  </ol>
@@ -860,14 +860,14 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
860
860
  ${this.renderBreadcrumbArray(n.beforeMenu,!1)}
861
861
  ${n.beforeMenu.length>0?this.renderSeparator():ce.nothing}
862
862
  ${this.renderFloatingMenu(n.inMenu)}
863
- ${this.renderBreadcrumbArray(n.afterMenu,!0)}`}renderBreadcrumbArray(t,o){return(0,oa.repeat)(t,n=>n.tocId,(n,a)=>{let s=a===t.length-1;return ce.html`
863
+ ${this.renderBreadcrumbArray(n.afterMenu,!0)}`}renderBreadcrumbArray(t,o){return(0,ra.repeat)(t,n=>n.tocId,(n,a)=>{let s=a===t.length-1;return ce.html`
864
864
  <li>
865
865
  ${zo(this.translationLoading,()=>this.renderLoader(),()=>zo(s&&o,()=>this.renderBreadcrumbCurrentItem(n),()=>this.renderBreadcrumbLink(n)))}
866
866
  </li>
867
867
  ${s?ce.nothing:this.renderSeparator()}`})}renderFloatingMenu(t){return t.length===0?ce.nothing:ce.html`
868
868
  <li class="menu">
869
869
  <ft-floating-menu icon="" text="..." label="${Wo.messages.menuShowMore()}">
870
- ${(0,oa.repeat)(t,o=>ce.html`
870
+ ${(0,ra.repeat)(t,o=>ce.html`
871
871
  <div class="menu-item">
872
872
  <ft-ripple></ft-ripple>
873
873
  ${this.renderBreadcrumbLink(o)}
@@ -895,7 +895,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
895
895
  aria-current="page">
896
896
  ${t.title}
897
897
  </ft-typography>`}renderLoader(){return ce.html`
898
- <ft-skeleton part="loader"></ft-skeleton>`}};Z.elementDefinitions={"ft-typography":Y,"ft-reader-internal-link":Le,"ft-floating-menu":M,"ft-floating-menu-item":te,"ft-ripple":N,"ft-skeleton":pt};Z.styles=Za;ye([(0,qe.property)()],Z.prototype,"separator",void 0);ye([(0,qe.property)({type:Boolean})],Z.prototype,"displayMapTitle",void 0);ye([(0,qe.property)({type:Boolean})],Z.prototype,"multiline",void 0);ye([(0,qe.property)({type:Boolean})],Z.prototype,"useFloatingMenu",void 0);ye([(0,Ye.numberProperty)()],Z.prototype,"floatingMenuThreshold",void 0);ye([(0,Ye.numberProperty)()],Z.prototype,"floatingMenuStartOffset",void 0);ye([(0,Ye.numberProperty)()],Z.prototype,"floatingMenuEndOffset",void 0);ye([(0,Ye.redux)({store:"reader",selector:e=>e.visibleTopics[0]})],Z.prototype,"tocId",void 0);ye([(0,Ye.redux)({store:"reader",selector:e=>{var t;return(t=e.map)===null||t===void 0?void 0:t.title}})],Z.prototype,"mapTitle",void 0);ye([(0,Ye.redux)({store:"reader"})],Z.prototype,"toc",void 0);ye([(0,Ye.redux)({store:"reader",selector:e=>e.translation.isLoading})],Z.prototype,"translationLoading",void 0);ye([(0,qe.state)()],Z.prototype,"breadcrumb",void 0);ye([(0,qe.query)("ft-floating-menu")],Z.prototype,"ftFloatingMenu",void 0);var Hl={"ft-reader-breadcrumbs":Z};(0,$l.customElements)(Hl);})();
898
+ <ft-skeleton part="loader"></ft-skeleton>`}};Z.elementDefinitions={"ft-typography":Y,"ft-reader-internal-link":Le,"ft-floating-menu":M,"ft-floating-menu-item":te,"ft-ripple":N,"ft-skeleton":pt};Z.styles=Za;ye([(0,qe.property)()],Z.prototype,"separator",void 0);ye([(0,qe.property)({type:Boolean})],Z.prototype,"displayMapTitle",void 0);ye([(0,qe.property)({type:Boolean})],Z.prototype,"multiline",void 0);ye([(0,qe.property)({type:Boolean})],Z.prototype,"useFloatingMenu",void 0);ye([(0,Ye.numberProperty)()],Z.prototype,"floatingMenuThreshold",void 0);ye([(0,Ye.numberProperty)()],Z.prototype,"floatingMenuStartOffset",void 0);ye([(0,Ye.numberProperty)()],Z.prototype,"floatingMenuEndOffset",void 0);ye([(0,Ye.redux)({store:"reader",selector:e=>e.visibleTopics[0]})],Z.prototype,"tocId",void 0);ye([(0,Ye.redux)({store:"reader",selector:e=>{var t;return(t=e.map)===null||t===void 0?void 0:t.title}})],Z.prototype,"mapTitle",void 0);ye([(0,Ye.redux)({store:"reader"})],Z.prototype,"toc",void 0);ye([(0,Ye.redux)({store:"reader",selector:e=>e.translation.isLoading})],Z.prototype,"translationLoading",void 0);ye([(0,qe.state)()],Z.prototype,"breadcrumb",void 0);ye([(0,qe.query)("ft-floating-menu")],Z.prototype,"ftFloatingMenu",void 0);var $l={"ft-reader-breadcrumbs":Z};(0,Fl.customElements)($l);})();
899
899
  /*! Bundled license information:
900
900
 
901
901
  lit-html/directives/when.js: