@fluid-topics/ft-combobox 1.3.34 → 1.3.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ComboboxMessages.d.ts +4 -0
- package/build/ComboboxMessages.js +5 -0
- package/build/ComboboxSuggestionProvider.d.ts +1 -1
- package/build/ComboboxSuggestionProvider.js +4 -7
- package/build/ft-combobox.d.ts +10 -0
- package/build/ft-combobox.js +146 -37
- package/build/ft-combobox.light.js +1458 -305
- package/build/ft-combobox.min.js +1460 -307
- package/build/ft-combobox.properties.d.ts +3 -0
- package/build/ft-combobox.styles.d.ts +3 -1
- package/build/ft-combobox.styles.js +20 -4
- package/package.json +4 -4
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?
|
|
3
|
-
\f\r]`,
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),cn=/'/g,dn=/"/g,hn=/^(?:script|style|textarea|title)$/i,io=r=>(t,...o)=>({_$litType$:r,strings:t,values:o}),gn=io(1),yn=io(2),mn=io(3),Vt=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),un=new WeakMap,nt=at.createTreeWalker(at,129);function bn(r,t){if(!ao(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return an!==void 0?an.createHTML(t):t}var zs=(r,t)=>{let o=r.length-1,n=[],a,s=t===2?"<svg>":t===3?"<math>":"",l=Wt;for(let d=0;d<o;d++){let u=r[d],p,h,g=-1,y=0;for(;y<u.length&&(l.lastIndex=y,h=l.exec(u),h!==null);)y=l.lastIndex,l===Wt?h[1]==="!--"?l=sn:h[1]!==void 0?l=ln:h[2]!==void 0?(hn.test(h[2])&&(a=RegExp("</"+h[2],"g")),l=ot):h[3]!==void 0&&(l=ot):l===ot?h[0]===">"?(l=a??Wt,g=-1):h[1]===void 0?g=-2:(g=l.lastIndex-h[2].length,p=h[1],l=h[3]===void 0?ot:h[3]==='"'?dn:cn):l===dn||l===cn?l=ot:l===sn||l===ln?l=Wt:(l=ot,a=void 0);let C=l===ot&&r[d+1].startsWith("/>")?" ":"";s+=l===Wt?u+Fs:g>=0?(n.push(p),u.slice(0,g)+pn+u.slice(g)+Fe+C):u+Fe+(g===-2?d:C)}return[bn(r,s+(r[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},jt=class r{constructor({strings:t,_$litType$:o},n){let a;this.parts=[];let s=0,l=0,d=t.length-1,u=this.parts,[p,h]=zs(t,o);if(this.el=r.createElement(p,n),nt.currentNode=this.el.content,o===2||o===3){let g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(a=nt.nextNode())!==null&&u.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let g of a.getAttributeNames())if(g.endsWith(pn)){let y=h[l++],C=a.getAttribute(g).split(Fe),x=/([.?@])?(.*)/.exec(y);u.push({type:1,index:s,name:x[2],strings:C,ctor:x[1]==="."?eo:x[1]==="?"?to:x[1]==="@"?ro:vt}),a.removeAttribute(g)}else g.startsWith(Fe)&&(u.push({type:6,index:s}),a.removeAttribute(g));if(hn.test(a.tagName)){let g=a.textContent.split(Fe),y=g.length-1;if(y>0){a.textContent=lr?lr.emptyScript:"";for(let C=0;C<y;C++)a.append(g[C],cr()),nt.nextNode(),u.push({type:2,index:++s});a.append(g[y],cr())}}}else if(a.nodeType===8)if(a.data===fn)u.push({type:2,index:s});else{let g=-1;for(;(g=a.data.indexOf(Fe,g+1))!==-1;)u.push({type:7,index:s}),g+=Fe.length-1}s++}}static createElement(t,o){let n=at.createElement("template");return n.innerHTML=t,n}};function xt(r,t,o=r,n){if(t===Vt)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,s=Gt(t)?void 0:t._$litDirective$;return a?.constructor!==s&&(a?._$AO?.(!1),s===void 0?a=void 0:(a=new s(r),a._$AT(r,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(t=xt(r,a._$AS(r,t.values),a,n)),t}var Jr=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??at).importNode(o,!0);nt.currentNode=a;let s=nt.nextNode(),l=0,d=0,u=n[0];for(;u!==void 0;){if(l===u.index){let p;u.type===2?p=new dr(s,s.nextSibling,this,t):u.type===1?p=new u.ctor(s,u.name,u.strings,this,t):u.type===6&&(p=new oo(s,this,t)),this._$AV.push(p),u=n[++d]}l!==u?.index&&(s=nt.nextNode(),l++)}return nt.currentNode=at,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++}},dr=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=X,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=xt(this,t,o),Gt(t)?t===X||t==null||t===""?(this._$AH!==X&&this._$AR(),this._$AH=X):t!==this._$AH&&t!==Vt&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Hs(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!==X&&Gt(this._$AH)?this._$AA.nextSibling.data=t:this.T(at.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=jt.createElement(bn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let s=new Jr(a,this),l=s.u(this.options);s.p(o),this.T(l),this._$AH=s}}_$AC(t){let o=un.get(t.strings);return o===void 0&&un.set(t.strings,o=new jt(t)),o}k(t){ao(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 r(this.O(cr()),this.O(cr()),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))}},vt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,s){this.type=1,this._$AH=X,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=X}_$AI(t,o=this,n,a){let s=this.strings,l=!1;if(s===void 0)t=xt(this,t,o,0),l=!Gt(t)||t!==this._$AH&&t!==Vt,l&&(this._$AH=t);else{let d=t,u,p;for(t=s[0],u=0;u<s.length-1;u++)p=xt(this,d[n+u],o,u),p===Vt&&(p=this._$AH[u]),l||=!Gt(p)||p!==this._$AH[u],p===X?t=X:t!==X&&(t+=(p??"")+s[u+1]),this._$AH[u]=p}l&&!a&&this.j(t)}j(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},eo=class extends vt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===X?void 0:t}},to=class extends vt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==X)}},ro=class extends vt{constructor(t,o,n,a,s){super(t,o,n,a,s),this.type=5}_$AI(t,o=this){if((t=xt(this,t,o,0)??X)===Vt)return;let n=this._$AH,a=t===X&&n!==X||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==X&&(n===X||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)}},oo=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){xt(this,t)}};var Ws=no.litHtmlPolyfillSupport;Ws?.(jt,dr),(no.litHtmlVersions??=[]).push("3.3.0");var it=r=>r??X;function ur(r,t,o){return r?t(r):o?.(r)}var Qe=b(D());var Ha=b(Y()),Be=b(D());var oa=b(Y()),V=b(D());var Ce=b(Y()),S=b(D());var Pe=b(Y(),1),He=r=>typeof r=="string"?(0,Pe.unsafeCSS)(r):r,e=class{static create(t,o,n,a){let s=d=>He(d??a),l=Pe.css`var(${He(t)}, ${s(a)})`;return l.name=t,l.description=o,l.category=n,l.defaultValue=a,l.defaultCssValue=s,l.set=d=>xn(l,d??s(a)),l.get=d=>Pe.css`var(${He(t)}, ${s(d)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>a,l}static extend(t,o,n,a){let s=d=>n.get(d??a),l=Pe.css`var(${He(t)}, ${s(a)})`;return l.name=t,l.description=o,l.category=n.category,l.fallbackVariable=n,l.defaultValue=a,l.defaultCssValue=s,l.set=d=>xn(l,d??s(a)),l.get=d=>Pe.css`var(${He(t)}, ${s(d)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),l}static external(t,o){let n=s=>t.defaultCssValue(s),a=Pe.css`var(${He(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=>Pe.css`var(${He(t.name)}, ${n(s)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function xn(r,t){return He(`${r.name}: ${t}`)}var i={colorWhite:e.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:e.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:e.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:e.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:e.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:e.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:e.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:e.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:e.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:e.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:e.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:e.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:e.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:e.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:e.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:e.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:e.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:e.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:e.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:e.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:e.create("--ftds-opacity-0","","NUMBER","0"),opacity8:e.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:e.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:e.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:e.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:e.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:e.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:e.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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)")},vn={fontFamily:e.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:e.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Sn={fontFamily:e.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:e.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Cn={fontFamily:e.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:e.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},On={fontFamily:e.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:e.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},En={fontFamily:e.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:e.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},An={fontFamily:e.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},wn={fontFamily:e.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Rn={fontFamily:e.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:e.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},St={fontFamily:e.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Gs={fontFamily:e.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:e.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:e.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Nn={fontFamily:e.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},In={fontFamily:e.create("--ftds-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:e.create("--ftds-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ftds-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ftds-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-label-1-medium-text-decoration","","UNKNOWN","none")},Tn={fontFamily:e.create("--ftds-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:e.create("--ftds-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ftds-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ftds-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},_n={fontFamily:e.create("--ftds-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ftds-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:e.create("--ftds-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ftds-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ftds-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-label-1-bold-text-decoration","","UNKNOWN","none")},Ln={fontFamily:e.create("--ftds-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:e.create("--ftds-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ftds-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ftds-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-label-2-medium-text-decoration","","UNKNOWN","none")},Pn={fontFamily:e.create("--ftds-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:e.create("--ftds-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ftds-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ftds-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},kn={fontFamily:e.create("--ftds-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ftds-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:e.create("--ftds-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ftds-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ftds-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-label-2-bold-text-decoration","","UNKNOWN","none")},Dn={fontFamily:e.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Un={fontFamily:e.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Bn={fontFamily:e.create("--ftds-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ftds-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},st={fontFamily:e.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Mn={fontFamily:e.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},$n={fontFamily:e.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Fn={fontFamily:e.create("--ftds-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:e.create("--ftds-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Hn={fontFamily:e.create("--ftds-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:e.create("--ftds-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},zn={fontFamily:e.create("--ftds-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ftds-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:e.create("--ftds-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},pr={display:vn,"title-1":Sn,"title-2":Cn,"title-3":On,"body-1-regular":En,"body-1-medium":An,"body-1-semibold":wn,"body-2-regular":Rn,"body-2-medium":St,"body-2-medium-underline":Gs,"body-2-semibold":Nn,"label-1-medium":In,"label-1-semibold":Tn,"label-1-bold":_n,"label-2-medium":Ln,"label-2-semibold":Pn,"label-2-bold":kn,"caption-1-medium":Dn,"caption-1-semibold":Un,"caption-1-bold":Bn,"caption-2-medium":st,"caption-2-semibold":Mn,"caption-2-bold":$n,"caption-3-medium":Fn,"caption-3-semibold":Hn,"caption-3-bold":zn};var c={backgroundActionPrimary:e.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",i.colorBrand0),backgroundErrorSubtle:e.extend("--ftds-background-error-subtle","Used as background of subtle error components.",i.colorRed10),backgroundInfoSubtle:e.extend("--ftds-background-info-subtle","Used as background of subtle information components.",i.colorCyan10),backgroundWarningSubtle:e.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",i.colorOrange10),backgroundSuccessSubtle:e.extend("--ftds-background-success-subtle","Used as background of subtle success components.",i.colorGreen10),backgroundGlobalSurface:e.extend("--ftds-background-global-surface","Used as app background.",i.colorWhite),backgroundGlobalOnSurface:e.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",i.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",i.colorGray30),contentActionPrimary:e.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",i.colorBrand0),contentWarningPrimary:e.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",i.colorOrange200),contentWarningIconOnly:e.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",i.colorOrange0),contentErrorPrimary:e.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",i.colorRed0),contentErrorIconOnly:e.extend("--ftds-content-error-icon-only","Used on error status icons alone",i.colorRed70),contentInfoPrimary:e.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",i.colorCyan200),contentInfoIconOnly:e.extend("--ftds-content-info-icon-only","Used on info status icons alone",i.colorCyan0),contentSuccessPrimary:e.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",i.colorGreen200),contentSuccessIconOnly:e.extend("--ftds-content-success-icon-only","Used on success status icons alone",i.colorGreen0),contentGlobalPrimary:e.extend("--ftds-content-global-primary","Used for main content on the page.",i.colorGray500),contentGlobalSecondary:e.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
5
|
-
Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",i.colorGray0),contentGlobalOnColor:e.extend("--ftds-content-global-on-color","Used for content on a dominant color.",i.colorWhite),borderActionPrimary:e.extend("--ftds-border-action-primary","Used as border for primary action components.",i.colorBrand0),borderActionFocusRing:e.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",i.colorCyan0),borderWarningPrimary:e.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",i.colorOrange200),borderWarningSubtle:e.extend("--ftds-border-warning-subtle","Used as border for warning components.",i.colorOrange30),borderSuccessPrimary:e.extend("--ftds-border-success-primary","Used as border for success buttons.",i.colorGreen200),borderSuccessSubtle:e.extend("--ftds-border-success-subtle","Used as border for success components.",i.colorGreen30),borderErrorPrimary:e.extend("--ftds-border-error-primary","Used as border for text fields in error states.",i.colorRed0),borderErrorSubtle:e.extend("--ftds-border-error-subtle","Used as border for error components.",i.colorRed30),borderInfoPrimary:e.extend("--ftds-border-info-primary","Used as border for buttons in info color.",i.colorCyan200),borderInfoSubtle:e.extend("--ftds-border-info-subtle","Used as border for information components.",i.colorCyan30),borderGlobalPrimary:e.extend("--ftds-border-global-primary","Used as border for element like input.",i.colorGray50),borderGlobalSubtle:e.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",i.colorGray30),borderInputPrimary:e.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",i.colorGray80),borderNeutralPrimary:e.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",i.colorGray200)};var fc={largeHeight:e.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ftds-button-large-horizontal-padding","",i.spacing4),largeGap:e.extend("--ftds-button-large-gap","",i.spacing2),largeBorderRadius:e.extend("--ftds-button-large-border-radius","",i.borderRadiusS),largeIconSize:e.extend("--ftds-button-large-icon-size","",i.iconSize3),largeBorderWidth:e.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:e.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:e.extend("--ftds-button-medium-horizontal-padding","",i.spacing3),mediumGap:e.extend("--ftds-button-medium-gap","",i.spacing2),mediumBorderRadius:e.extend("--ftds-button-medium-border-radius","",i.borderRadiusS),mediumIconSize:e.extend("--ftds-button-medium-icon-size","",i.iconSize2),mediumBorderWidth:e.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:e.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:e.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:e.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ftds-button-small-horizontal-padding","",i.spacing2),smallGap:e.extend("--ftds-button-small-gap","",i.spacing1),smallBorderRadius:e.extend("--ftds-button-small-border-radius","",i.borderRadiusS),smallIconSize:e.extend("--ftds-button-small-icon-size","",i.iconSize1),smallBorderWidth:e.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:e.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:e.extend("--ftds-button-x-small-icon-size","",i.iconSize1),xSmallFocusOutlineOffset:e.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:e.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:e.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:e.extend("--ftds-button-round-border-radius","",i.borderRadiusPill),primaryBrandBackgroundColor:e.extend("--ftds-button-primary-brand-background-color","",c.backgroundActionPrimary),primaryBrandColor:e.extend("--ftds-button-primary-brand-color","",c.contentGlobalOnColor),primaryBrandIconColor:e.extend("--ftds-button-primary-brand-icon-color","",c.contentGlobalOnColor),primaryBrandStateLayerColor:e.extend("--ftds-button-primary-brand-state-layer-color","",c.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",i.opacity16),primaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",i.opacity16),primaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-primary-brand-active-state-layer-opacity","",i.opacity24),primaryBrandDisabledComponentOpacity:e.extend("--ftds-button-primary-brand-disabled-component-opacity","",i.opacity40),focusFocusRingColor:e.extend("--ftds-button-focus-focus-ring-color","",c.borderActionFocusRing),tertiaryBrandBackgroundColor:e.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:e.extend("--ftds-button-tertiary-brand-color","",c.contentActionPrimary),tertiaryBrandIconColor:e.extend("--ftds-button-tertiary-brand-icon-color","",c.contentActionPrimary),tertiaryBrandStateLayerColor:e.extend("--ftds-button-tertiary-brand-state-layer-color","",c.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",i.opacity8),tertiaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",i.opacity8),tertiaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",i.opacity16),tertiaryBrandDisabledComponentOpacity:e.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",i.opacity40),tertiaryInfoBackgroundColor:e.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:e.extend("--ftds-button-tertiary-info-color","",c.contentInfoPrimary),tertiaryInfoIconColor:e.extend("--ftds-button-tertiary-info-icon-color","",c.contentInfoPrimary),tertiaryInfoStateLayerColor:e.extend("--ftds-button-tertiary-info-state-layer-color","",c.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",i.opacity8),tertiaryInfoHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",i.opacity8),tertiaryInfoActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",i.opacity16),tertiaryInfoDisabledComponentOpacity:e.extend("--ftds-button-tertiary-info-disabled-component-opacity","",i.opacity40),tertiarySuccessBackgroundColor:e.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:e.extend("--ftds-button-tertiary-success-color","",c.contentSuccessPrimary),tertiarySuccessIconColor:e.extend("--ftds-button-tertiary-success-icon-color","",c.contentSuccessPrimary),tertiarySuccessStateLayerColor:e.extend("--ftds-button-tertiary-success-state-layer-color","",c.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",i.opacity8),tertiarySuccessFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",i.opacity8),tertiarySuccessActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",i.opacity16),tertiarySuccessDisabledComponentOpacity:e.extend("--ftds-button-tertiary-success-disabled-component-opacity","",i.opacity40),tertiaryWarningBackgroundColor:e.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:e.extend("--ftds-button-tertiary-warning-color","",c.contentWarningPrimary),tertiaryWarningIconColor:e.extend("--ftds-button-tertiary-warning-icon-color","",c.contentWarningPrimary),tertiaryWarningStateLayerColor:e.extend("--ftds-button-tertiary-warning-state-layer-color","",c.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",i.opacity8),tertiaryWarningFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",i.opacity8),tertiaryWarningActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",i.opacity16),tertiaryWarningDisabledComponentOpacity:e.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",i.opacity40),tertiaryErrorBackgroundColor:e.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:e.extend("--ftds-button-tertiary-error-color","",c.contentErrorPrimary),tertiaryErrorIconColor:e.extend("--ftds-button-tertiary-error-icon-color","",c.contentErrorPrimary),tertiaryErrorStateLayerColor:e.extend("--ftds-button-tertiary-error-state-layer-color","",c.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",i.opacity8),tertiaryErrorFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",i.opacity8),tertiaryErrorActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",i.opacity16),tertiaryErrorDisabledComponentOpacity:e.extend("--ftds-button-tertiary-error-disabled-component-opacity","",i.opacity40),tertiaryNeutralBackgroundColor:e.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:e.extend("--ftds-button-tertiary-neutral-icon-color","",c.contentGlobalSecondary),tertiaryNeutralColor:e.extend("--ftds-button-tertiary-neutral-color","",c.contentGlobalSecondary),tertiaryNeutralStateLayerColor:e.extend("--ftds-button-tertiary-neutral-state-layer-color","",c.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",i.opacity8),tertiaryNeutralFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",i.opacity8),tertiaryNeutralActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",i.opacity16),tertiaryNeutralDisabledComponentOpacity:e.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",i.opacity40),secondaryBrandBackgroundColor:e.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:e.extend("--ftds-button-secondary-brand-color","",c.contentActionPrimary),secondaryBrandIconColor:e.extend("--ftds-button-secondary-brand-icon-color","",c.contentActionPrimary),secondaryBrandStateLayerColor:e.extend("--ftds-button-secondary-brand-state-layer-color","",c.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",i.opacity8),secondaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",i.opacity8),secondaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",i.opacity16),secondaryBrandDisabledComponentOpacity:e.extend("--ftds-button-secondary-brand-disabled-component-opacity","",i.opacity40),secondaryBrandBorderColor:e.extend("--ftds-button-secondary-brand-border-color","",c.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",i.opacity8),secondaryNeutralFocusStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",i.opacity8),secondaryNeutralActiveStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",i.opacity16),secondaryNeutralDisabledComponentOpacity:e.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",i.opacity40),secondaryNeutralBackgroundColor:e.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:e.extend("--ftds-button-secondary-neutral-color","",c.contentGlobalSecondary),secondaryNeutralIconColor:e.extend("--ftds-button-secondary-neutral-icon-color","",c.contentGlobalSecondary),secondaryNeutralStateLayerColor:e.extend("--ftds-button-secondary-neutral-state-layer-color","",c.contentGlobalSecondary),secondaryNeutralBorderColor:e.extend("--ftds-button-secondary-neutral-border-color","",c.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:e.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",i.opacity8),secondaryInfoFocusStateLayerOpacity:e.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",i.opacity8),secondaryInfoActiveStateLayerOpacity:e.extend("--ftds-button-secondary-info-active-state-layer-opacity","",i.opacity16),secondaryInfoDisabledComponentOpacity:e.extend("--ftds-button-secondary-info-disabled-component-opacity","",i.opacity40),secondaryInfoBackgroundColor:e.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:e.extend("--ftds-button-secondary-info-border-color","",c.borderInfoPrimary),secondaryInfoColor:e.extend("--ftds-button-secondary-info-color","",c.contentInfoPrimary),secondaryInfoIconColor:e.extend("--ftds-button-secondary-info-icon-color","",c.contentInfoPrimary),secondaryInfoStateLayerColor:e.extend("--ftds-button-secondary-info-state-layer-color","",c.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:e.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",i.opacity8),secondarySuccessFocusStateLayerOpacity:e.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",i.opacity8),secondarySuccessActiveStateLayerOpacity:e.extend("--ftds-button-secondary-success-active-state-layer-opacity","",i.opacity16),secondarySuccessDisabledComponentOpacity:e.extend("--ftds-button-secondary-success-disabled-component-opacity","",i.opacity40),secondarySuccessBackgroundColor:e.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:e.extend("--ftds-button-secondary-success-border-color","",c.borderSuccessPrimary),secondarySuccessColor:e.extend("--ftds-button-secondary-success-color","",c.contentSuccessPrimary),secondarySuccessIconColor:e.extend("--ftds-button-secondary-success-icon-color","",c.contentSuccessPrimary),secondarySuccessStateLayerColor:e.extend("--ftds-button-secondary-success-state-layer-color","",c.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:e.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",i.opacity8),secondaryWarningFocusStateLayerOpacity:e.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",i.opacity8),secondaryWarningActiveStateLayerOpacity:e.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",i.opacity16),secondaryWarningDisabledComponentOpacity:e.extend("--ftds-button-secondary-warning-disabled-component-opacity","",i.opacity40),secondaryWarningBackgroundColor:e.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:e.extend("--ftds-button-secondary-warning-border-color","",c.borderWarningPrimary),secondaryWarningColor:e.extend("--ftds-button-secondary-warning-color","",c.contentWarningPrimary),secondaryWarningIconColor:e.extend("--ftds-button-secondary-warning-icon-color","",c.contentWarningPrimary),secondaryWarningStateLayerColor:e.extend("--ftds-button-secondary-warning-state-layer-color","",c.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:e.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",i.opacity8),secondaryErrorFocusStateLayerOpacity:e.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",i.opacity8),secondaryErrorActiveStateLayerOpacity:e.extend("--ftds-button-secondary-error-active-state-layer-opacity","",i.opacity16),secondaryErrorDisabledComponentOpacity:e.extend("--ftds-button-secondary-error-disabled-component-opacity","",i.opacity40),secondaryErrorBackgroundColor:e.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:e.extend("--ftds-button-secondary-error-border-color","",c.contentErrorPrimary),secondaryErrorColor:e.extend("--ftds-button-secondary-error-color","",c.contentErrorPrimary),secondaryErrorIconColor:e.extend("--ftds-button-secondary-error-icon-color","",c.contentErrorPrimary),secondaryErrorStateLayerColor:e.extend("--ftds-button-secondary-error-state-layer-color","",c.contentErrorPrimary)};var bc={loadMoreIconSize:e.extend("--ftds-tree-list-load-more-icon-size","",i.iconSize2),loadMorePaddingLeft:e.extend("--ftds-tree-list-load-more-padding-left","",i.spacing6),loadMoreUnselectedDefaultBorderColor:e.extend("--ftds-tree-list-load-more-unselected-default-border-color","",c.borderGlobalSubtle),loadMoreIconColor:e.extend("--ftds-tree-list-load-more-icon-color","",c.contentActionPrimary),loadMoreLabelColor:e.extend("--ftds-tree-list-load-more-label-color","",c.contentActionPrimary),loadMoreHoverBorderColor:e.extend("--ftds-tree-list-load-more-hover-border-color","",i.colorBrand20),loadMoreHoverBackgroundColor:e.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:e.extend("--ftds-tree-list-load-more-active-border-color","",i.colorBrand20),loadMoreActiveBackgroundColor:e.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:e.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:e.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:e.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",c.borderGlobalPrimary),loadMoreLabelMarginLeft:e.extend("--ftds-tree-list-load-more-label-margin-left","",i.spacing1),nodeIconSize:e.extend("--ftds-tree-list-node-icon-size","",i.iconSize2),nodeHeight:e.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:e.extend("--ftds-tree-list-node-parent-label-margin-left","",i.spacing2),nodeParentLabelMarginRight:e.extend("--ftds-tree-list-node-parent-label-margin-right","",i.spacing2),nodeRootPaddingLeft:e.extend("--ftds-tree-list-node-root-padding-left","",i.spacing3),nodeChildPaddingLeft:e.extend("--ftds-tree-list-node-child-padding-left","",i.spacing5),nodeLeafPaddingLeft:e.extend("--ftds-tree-list-node-leaf-padding-left","",i.spacing6),nodeUnselectedDefaultBorderColor:e.extend("--ftds-tree-list-node-unselected-default-border-color","",c.borderGlobalSubtle),nodeUnselectedIconColor:e.extend("--ftds-tree-list-node-unselected-icon-color","",c.contentGlobalSecondary),nodeUnselectedLabelColor:e.extend("--ftds-tree-list-node-unselected-label-color","",c.contentGlobalSecondary),nodeUnselectedCounterColor:e.extend("--ftds-tree-list-node-unselected-counter-color","",c.contentGlobalSecondary),nodeHoverBorderColor:e.extend("--ftds-tree-list-node-hover-border-color","",c.borderActionPrimary),nodeFocusFocusRingColor:e.extend("--ftds-tree-list-node-focus-focus-ring-color","",c.borderActionFocusRing),nodeFocusOutlineWidth:e.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:e.extend("--ftds-tree-list-node-selected-default-border-color","",c.borderGlobalPrimary),nodeSelectedIconColor:e.extend("--ftds-tree-list-node-selected-icon-color","",c.contentGlobalSecondary),nodeSelectedLabelColor:e.extend("--ftds-tree-list-node-selected-label-color","",c.contentGlobalPrimary),nodeSelectedCounterColor:e.extend("--ftds-tree-list-node-selected-counter-color","",c.contentGlobalSecondary),nodeSelectedBackgroundColor:e.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:e.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",c.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:e.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",c.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:e.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",c.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:e.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",c.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:e.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:e.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:e.extend("--ftds-tree-list-header-section-padding-left","",i.spacing3),headerSectionPaddingRight:e.extend("--ftds-tree-list-header-section-padding-right","",i.spacing3),headerSectionHorizontalGap:e.extend("--ftds-tree-list-header-section-horizontal-gap","",i.spacing2),headerSectionMarginBottom:e.extend("--ftds-tree-list-header-section-margin-bottom","",i.spacing2),headerSectionColor:e.extend("--ftds-tree-list-header-section-color","",c.contentGlobalPrimary),headerSectionCounterColor:e.extend("--ftds-tree-list-header-section-counter-color","",c.contentGlobalSecondary),listContainerBorderWidth:e.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:e.extend("--ftds-tree-list-list-container-background-color","",c.backgroundGlobalSurface),listContainerBorderColor:e.extend("--ftds-tree-list-list-container-border-color","",c.borderGlobalSubtle),emptyStateIllustrationWidth:e.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:e.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:e.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",i.spacing10),emptyStateContainerPaddingTop:e.extend("--ftds-tree-list-empty-state-container-padding-top","",i.spacing10),emptyStateContainerPaddingBottom:e.extend("--ftds-tree-list-empty-state-container-padding-bottom","",i.spacing10),emptyStateTitleMarginBottom:e.extend("--ftds-tree-list-empty-state-title-margin-bottom","",i.spacing2),emptyStateTitleLabelColor:e.extend("--ftds-tree-list-empty-state-title-label-color","",c.contentGlobalSecondary),emptyStateDescriptionLabelColor:e.extend("--ftds-tree-list-empty-state-description-label-color","",c.contentGlobalSecondary)};var Oc={iconSize:e.extend("--ftds-checkbox-icon-size","",i.iconSize2),boxSize:e.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:e.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:e.create("--ftds-checkbox-border-radius","","SIZE","1px"),color:e.extend("--ftds-checkbox-color","",c.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ftds-checkbox-checked-background-color","",c.contentActionPrimary),checkedStateLayerColor:e.extend("--ftds-checkbox-checked-state-layer-color","",c.contentActionPrimary),checkedIconColor:e.extend("--ftds-checkbox-checked-icon-color","",c.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",i.opacity16),checkedFocusStateLayerOpacity:e.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",i.opacity16),checkedActiveStateLayerOpacity:e.extend("--ftds-checkbox-checked-active-state-layer-opacity","",i.opacity24),checkedDisabledComponentOpacity:e.extend("--ftds-checkbox-checked-disabled-component-opacity","",i.opacity40),uncheckedBorderColor:e.extend("--ftds-checkbox-unchecked-border-color","",i.colorGray80),uncheckedStateLayerColor:e.extend("--ftds-checkbox-unchecked-state-layer-color","",i.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",i.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",i.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",i.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",i.opacity40),focusFocusRingColor:e.extend("--ftds-checkbox-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:e.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:e.extend("--ftds-checkbox-horizontal-gap","",i.spacing3),leftPadding:e.extend("--ftds-checkbox-left-padding","",i.spacing2)};var Nc={circleSize:e.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:e.create("--ftds-radio-border-width","","SIZE","2px"),color:e.extend("--ftds-radio-color","",c.contentGlobalPrimary),selectedRadioColor:e.extend("--ftds-radio-selected-radio-color","",c.contentActionPrimary),selectedStateLayerColor:e.extend("--ftds-radio-selected-state-layer-color","",c.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ftds-radio-selected-hover-state-layer-opacity","",i.opacity16),selectedFocusStateLayerOpacity:e.extend("--ftds-radio-selected-focus-state-layer-opacity","",i.opacity16),selectedActiveStateLayerOpacity:e.extend("--ftds-radio-selected-active-state-layer-opacity","",i.opacity24),selectedDisabledComponentOpacity:e.extend("--ftds-radio-selected-disabled-component-opacity","",i.opacity40),unselectedStateLayerColor:e.extend("--ftds-radio-unselected-state-layer-color","",c.borderInputPrimary),unselectedBorderColor:e.extend("--ftds-radio-unselected-border-color","",c.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ftds-radio-unselected-hover-state-layer-opacity","",i.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ftds-radio-unselected-focus-state-layer-opacity","",i.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ftds-radio-unselected-active-state-layer-opacity","",i.opacity24),unselectedDisabledComponentOpacity:e.extend("--ftds-radio-unselected-disabled-component-opacity","",i.opacity40),focusFocusRingColor:e.extend("--ftds-radio-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:e.extend("--ftds-radio-vertical-gap","",i.spacing3),horizontalGap:e.extend("--ftds-radio-horizontal-gap","",i.spacing3)};var Pc={headerRowBorderWidth:e.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:e.extend("--ftds-table-header-row-background-color","",c.backgroundGlobalOnSurfaceDark),headerRowBorderColor:e.extend("--ftds-table-header-row-border-color","",c.borderGlobalPrimary),headerRowColor:e.extend("--ftds-table-header-row-color","",c.contentGlobalPrimary),dataRowBorderWidth:e.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:e.extend("--ftds-table-data-row-background-color","",c.backgroundGlobalOnSurface),dataRowBorderColor:e.extend("--ftds-table-data-row-border-color","",c.borderGlobalSubtle),dataRowColor:e.extend("--ftds-table-data-row-color","",c.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:e.extend("--ftds-table-data-row-default-hover-background-color","",i.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:e.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",i.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:e.extend("--ftds-table-data-row-selectable-selected-default-background-color","",i.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:e.extend("--ftds-table-data-row-selectable-selected-default-border-color","",i.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:e.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",i.colorBrand20),dataRowSelectableSelectedHoverBorderColor:e.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",i.colorBrand30),dataRowSelectableSelectedColor:e.extend("--ftds-table-data-row-selectable-selected-color","",c.contentActionPrimary),dataRowClickableHoverBackgroundColor:e.extend("--ftds-table-data-row-clickable-hover-background-color","",i.colorGray30),dataRowClickableFocusBorderColor:e.extend("--ftds-table-data-row-clickable-focus-border-color","",c.borderActionFocusRing),dataRowClickableFocusBackgroundColor:e.extend("--ftds-table-data-row-clickable-focus-background-color","",i.colorGray30),dataRowClickableActiveBackgroundColor:e.extend("--ftds-table-data-row-clickable-active-background-color","",i.colorGray40),headerCellHorizontalGap:e.extend("--ftds-table-header-cell-horizontal-gap","",i.spacing1),headerCellVerticalPadding:e.extend("--ftds-table-header-cell-vertical-padding","",i.spacing2),headerCellHorizontalPadding:e.extend("--ftds-table-header-cell-horizontal-padding","",i.spacing3),dataCellVerticalPadding:e.extend("--ftds-table-data-cell-vertical-padding","",i.spacing2),dataCellHorizontalPadding:e.extend("--ftds-table-data-cell-horizontal-padding","",i.spacing3),dataCellVerticalGap:e.extend("--ftds-table-data-cell-vertical-gap","",i.spacing1)};var Mc={neutralOffHoverStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",i.opacity8),neutralOffFocusStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",i.opacity8),neutralOffFocusFocusRingColor:e.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",c.borderActionFocusRing),neutralOffActiveStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",i.opacity16),neutralOffBackgroundColor:e.extend("--ftds-chip-choice-neutral-off-background-color","",c.backgroundGlobalOnSurface),neutralOffBorderColor:e.extend("--ftds-chip-choice-neutral-off-border-color","",c.borderGlobalPrimary),neutralOffColor:e.extend("--ftds-chip-choice-neutral-off-color","",c.contentGlobalSecondary),neutralOffStateLayerColor:e.extend("--ftds-chip-choice-neutral-off-state-layer-color","",c.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",i.opacity16),neutralOnHoverStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",i.opacity24),neutralOnFocusStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",i.opacity24),neutralOnFocusFocusRingColor:e.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",c.borderActionFocusRing),neutralOnActiveStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",i.opacity32),neutralOnBackgroundColor:e.extend("--ftds-chip-choice-neutral-on-background-color","",c.backgroundGlobalOnSurface),neutralOnBorderColor:e.extend("--ftds-chip-choice-neutral-on-border-color","",c.borderGlobalPrimary),neutralOnColor:e.extend("--ftds-chip-choice-neutral-on-color","",c.contentGlobalPrimary),neutralOnIconColor:e.extend("--ftds-chip-choice-neutral-on-icon-color","",c.contentGlobalPrimary),neutralOnStateLayerColor:e.extend("--ftds-chip-choice-neutral-on-state-layer-color","",c.contentGlobalPrimary),largeMinHeight:e.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ftds-chip-choice-large-horizontal-padding","",i.spacing3),largeGap:e.extend("--ftds-chip-choice-large-gap","",i.spacing1),largeBorderRadius:e.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ftds-chip-choice-large-icon-size","",i.iconSize3),mediumMinHeight:e.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ftds-chip-choice-medium-horizontal-padding","",i.spacing2),mediumGap:e.extend("--ftds-chip-choice-medium-gap","",i.spacing1),mediumBorderRadius:e.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ftds-chip-choice-medium-icon-size","",i.iconSize2)};var Wc={largeMinHeight:e.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ftds-chip-large-horizontal-padding","",i.spacing3),largeButtonRightPadding:e.extend("--ftds-chip-large-button-right-padding","",i.spacing1),largeGap:e.extend("--ftds-chip-large-gap","",i.spacing1),largeFocusOutlineOffset:e.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ftds-chip-large-icon-size","",i.iconSize3),mediumMinHeight:e.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ftds-chip-medium-horizontal-padding","",i.spacing2),mediumButtonRightPadding:e.extend("--ftds-chip-medium-button-right-padding","",i.spacing05),mediumGap:e.extend("--ftds-chip-medium-gap","",i.spacing1),mediumFocusOutlineOffset:e.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ftds-chip-medium-icon-size","",i.iconSize2),smallMinHeight:e.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ftds-chip-small-horizontal-padding","",i.spacing1),smallButtonRightPadding:e.extend("--ftds-chip-small-button-right-padding","",i.spacing05),smallGap:e.extend("--ftds-chip-small-gap","",i.spacing1),smallFocusOutlineOffset:e.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:e.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ftds-chip-small-icon-size","",i.iconSize1),neutralBackgroundColor:e.extend("--ftds-chip-neutral-background-color","",c.backgroundGlobalOnSurface),neutralColor:e.extend("--ftds-chip-neutral-color","",c.contentGlobalSecondary),neutralIconColor:e.extend("--ftds-chip-neutral-icon-color","",c.contentGlobalSecondary),neutralBorderColor:e.extend("--ftds-chip-neutral-border-color","",c.borderGlobalSubtle),infoBackgroundColor:e.extend("--ftds-chip-info-background-color","",c.backgroundInfoSubtle),infoColor:e.extend("--ftds-chip-info-color","",c.contentInfoPrimary),infoIconColor:e.extend("--ftds-chip-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-chip-info-border-color","",c.borderInfoSubtle),successBackgroundColor:e.extend("--ftds-chip-success-background-color","",c.backgroundSuccessSubtle),successColor:e.extend("--ftds-chip-success-color","",c.contentSuccessPrimary),successIconColor:e.extend("--ftds-chip-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:e.extend("--ftds-chip-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:e.extend("--ftds-chip-warning-background-color","",c.backgroundWarningSubtle),warningColor:e.extend("--ftds-chip-warning-color","",c.contentWarningPrimary),warningIconColor:e.extend("--ftds-chip-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:e.extend("--ftds-chip-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:e.extend("--ftds-chip-error-background-color","",c.backgroundErrorSubtle),errorColor:e.extend("--ftds-chip-error-color","",c.contentErrorPrimary),errorIconColor:e.extend("--ftds-chip-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:e.extend("--ftds-chip-error-border-color","",c.borderErrorSubtle)};var Zc={brandHoverOpacity:e.extend("--ftds-link-brand-hover-opacity","",i.opacity80),brandHoverColor:e.extend("--ftds-link-brand-hover-color","",c.contentActionPrimary),brandFocusFocusRingColor:e.extend("--ftds-link-brand-focus-focus-ring-color","",c.borderActionFocusRing),brandFocusColor:e.extend("--ftds-link-brand-focus-color","",c.contentActionPrimary),brandDefaultColor:e.extend("--ftds-link-brand-default-color","",c.contentActionPrimary),brandActiveColor:e.extend("--ftds-link-brand-active-color","",c.contentActionPrimary),infoHoverOpacity:e.extend("--ftds-link-info-hover-opacity","",i.opacity80),infoHoverColor:e.extend("--ftds-link-info-hover-color","",c.contentInfoPrimary),infoFocusFocusRingColor:e.extend("--ftds-link-info-focus-focus-ring-color","",c.borderActionFocusRing),infoFocusColor:e.extend("--ftds-link-info-focus-color","",c.contentInfoPrimary),infoDefaultColor:e.extend("--ftds-link-info-default-color","",c.contentInfoPrimary),infoActiveColor:e.extend("--ftds-link-info-active-color","",c.contentInfoPrimary),neutralFocusFocusRingColor:e.extend("--ftds-link-neutral-focus-focus-ring-color","",c.borderActionFocusRing),neutralFocusColor:e.extend("--ftds-link-neutral-focus-color","",c.contentActionPrimary),neutralDefaultColor:e.extend("--ftds-link-neutral-default-color","",c.contentGlobalPrimary),neutralHoverColor:e.extend("--ftds-link-neutral-hover-color","",c.contentActionPrimary),neutralActiveColor:e.extend("--ftds-link-neutral-active-color","",c.contentActionPrimary),neutralVisitedColor:e.extend("--ftds-link-neutral-visited-color","",i.colorBrand100)};var Jc={iconSize:e.extend("--ftds-banner-icon-size","",i.iconSize5),borderWidth:e.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:e.extend("--ftds-banner-left-padding","",i.spacing6),rightPadding:e.extend("--ftds-banner-right-padding","",i.spacing6),verticalPadding:e.extend("--ftds-banner-vertical-padding","",i.spacing6),horizontalSideGap:e.extend("--ftds-banner-horizontal-side-gap","",i.spacing6),horizontalMobileGap:e.extend("--ftds-banner-horizontal-mobile-gap","",i.spacing4),verticalMobileGap:e.extend("--ftds-banner-vertical-mobile-gap","",i.spacing6),horizontalMiddleGap:e.extend("--ftds-banner-horizontal-middle-gap","",i.spacing20),infoBackgroundColor:e.extend("--ftds-banner-info-background-color","",c.backgroundInfoSubtle),infoColor:e.extend("--ftds-banner-info-color","",c.contentInfoPrimary),infoIconColor:e.extend("--ftds-banner-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-banner-info-border-color","",c.borderInfoSubtle)};var nd={horizontalPadding:e.extend("--ftds-badge-horizontal-padding","",i.spacing1),verticalPadding:e.extend("--ftds-badge-vertical-padding","",i.spacing1),borderRadius:e.extend("--ftds-badge-border-radius","",i.borderRadiusPill),color:e.extend("--ftds-badge-color","",c.contentGlobalOnColor),backgroundColor:e.extend("--ftds-badge-background-color","",c.contentActionPrimary)};var cd={horizontalGap:e.extend("--ftds-title-breadcrumb-horizontal-gap","",i.spacing1),currentColor:e.extend("--ftds-title-breadcrumb-current-color","",c.contentGlobalPrimary),previousNonClickableColor:e.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",c.contentGlobalSecondary),iconColor:e.extend("--ftds-title-breadcrumb-icon-color","",c.contentGlobalSubtle)};var hd={parentHorizontalPadding:e.extend("--ftds-page-header-parent-horizontal-padding","",i.spacing6),parentTopPadding:e.extend("--ftds-page-header-parent-top-padding","",i.spacing4),parentBottomPadding:e.extend("--ftds-page-header-parent-bottom-padding","",i.spacing6),parentHelpLeftMargin:e.extend("--ftds-page-header-parent-help-left-margin","",i.spacing1),parentTitleColor:e.extend("--ftds-page-header-parent-title-color","",c.contentGlobalPrimary),parentSubtitleColor:e.extend("--ftds-page-header-parent-subtitle-color","",c.contentGlobalSecondary),parentChipLeftMargin:e.extend("--ftds-page-header-parent-chip-left-margin","",i.spacing4),parentVerticalGap:e.extend("--ftds-page-header-parent-vertical-gap","",i.spacing2),parentButtonsGroupHorizontalGap:e.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",i.spacing4),parentButtonsGroupVerticalGap:e.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",i.spacing4),parentChipsGroupHorizontalGap:e.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",i.spacing2),parentChipsGroupVerticalGap:e.extend("--ftds-page-header-parent-chips-group-vertical-gap","",i.spacing2),childHorizontalPadding:e.extend("--ftds-page-header-child-horizontal-padding","",i.spacing6),childTopPadding:e.extend("--ftds-page-header-child-top-padding","",i.spacing2),childBottomPadding:e.extend("--ftds-page-header-child-bottom-padding","",i.spacing2),childHelpLeftMargin:e.extend("--ftds-page-header-child-help-left-margin","",i.spacing1),childChipLeftMargin:e.extend("--ftds-page-header-child-chip-left-margin","",i.spacing4),childVerticalGap:e.extend("--ftds-page-header-child-vertical-gap","",i.spacing2),childMinHeight:e.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:e.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",i.spacing4),childButtonsGroupVerticalGap:e.extend("--ftds-page-header-child-buttons-group-vertical-gap","",i.spacing4),childChipsGroupHorizontalGap:e.extend("--ftds-page-header-child-chips-group-horizontal-gap","",i.spacing2),childChipsGroupVerticalGap:e.extend("--ftds-page-header-child-chips-group-vertical-gap","",i.spacing2),backgroundColor:e.extend("--ftds-page-header-background-color","",i.colorWhite),bottomBorderColor:e.extend("--ftds-page-header-bottom-border-color","",c.borderGlobalSubtle),bottomBorderWidth:e.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var xd={horizontalPadding:e.extend("--ftds-page-footer-horizontal-padding","",i.spacing6),verticalPadding:e.extend("--ftds-page-footer-vertical-padding","",i.spacing2),verticalGap:e.extend("--ftds-page-footer-vertical-gap","",i.spacing2),minHeight:e.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:e.extend("--ftds-page-footer-background-color","",i.colorWhite),topBorderColor:e.extend("--ftds-page-footer-top-border-color","",c.borderGlobalSubtle),topBorderWidth:e.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:e.extend("--ftds-page-footer-buttons-group-gap","",i.spacing4)};var Od={contentHorizontalPadding:e.extend("--ftds-page-layout-content-horizontal-padding","",i.spacing6),contentVerticalPadding:e.extend("--ftds-page-layout-content-vertical-padding","",i.spacing6)};var Nd={smallContainerTargetWidth:e.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:e.extend("--ftds-modal-small-container-margin","",i.spacing6),mediumContainerTargetWidth:e.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:e.extend("--ftds-modal-medium-container-margin","",i.spacing6),largeContainerTargetWidth:e.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:e.extend("--ftds-modal-large-container-margin","",i.spacing6),overlayBackgroundColor:e.extend("--ftds-modal-overlay-background-color","",i.colorGray700),overlayOpacity:e.extend("--ftds-modal-overlay-opacity","",i.opacity40),shadow:e.extend("--ftds-modal-shadow","",i.shadowElevation03),bodyBackgroundColor:e.extend("--ftds-modal-body-background-color","",i.colorWhite),bodyColor:e.extend("--ftds-modal-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ftds-modal-body-horizontal-padding","",i.spacing6),bodyVerticalPadding:e.extend("--ftds-modal-body-vertical-padding","",i.spacing6),bodyVerticalGap:e.extend("--ftds-modal-body-vertical-gap","",i.spacing6),headerBackgroundColor:e.extend("--ftds-modal-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ftds-modal-header-border-color","",c.borderGlobalSubtle),headerColor:e.extend("--ftds-modal-header-color","",c.contentGlobalPrimary),headerLeadingIconColor:e.extend("--ftds-modal-header-leading-icon-color","",c.contentGlobalPrimary),headerVerticalPadding:e.extend("--ftds-modal-header-vertical-padding","",i.spacing1),headerRightPadding:e.extend("--ftds-modal-header-right-padding","",i.spacing1),headerLeftPadding:e.extend("--ftds-modal-header-left-padding","",i.spacing6),headerGap:e.extend("--ftds-modal-header-gap","",i.spacing2),headerBorderBottomWidth:e.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:e.extend("--ftds-modal-border-radius","",i.borderRadiusM)};var Pd={overlayOpacity:e.extend("--ftds-drawer-overlay-opacity","",i.opacity40),shadow:e.extend("--ftds-drawer-shadow","",i.shadowElevation03),bodyColor:e.extend("--ftds-drawer-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ftds-drawer-body-horizontal-padding","",i.spacing6),bodyVerticalPadding:e.extend("--ftds-drawer-body-vertical-padding","",i.spacing6),bodyGap:e.extend("--ftds-drawer-body-gap","",i.spacing6),bodyBackgroundColor:e.extend("--ftds-drawer-body-background-color","",i.colorWhite),headerBackgroundColor:e.extend("--ftds-drawer-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ftds-drawer-header-border-color","",c.borderGlobalSubtle),headerColor:e.extend("--ftds-drawer-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ftds-drawer-header-trailing-icon-color","",c.contentGlobalSecondary),headerHeight:e.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ftds-drawer-header-horizontal-padding","",i.spacing2),headerBorderWidth:e.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ftds-drawer-header-gap","",i.spacing3),buttonsBarBackgroundColor:e.extend("--ftds-drawer-buttons-bar-background-color","",c.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ftds-drawer-buttons-bar-border-color","",c.borderGlobalSubtle),buttonsBarColor:e.extend("--ftds-drawer-buttons-bar-color","",c.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ftds-drawer-buttons-bar-horizontal-padding","",i.spacing6),buttonsBarVerticalPadding:e.extend("--ftds-drawer-buttons-bar-vertical-padding","",i.spacing4),buttonsBarGap:e.extend("--ftds-drawer-buttons-bar-gap","",i.spacing3),buttonsBarBorderWidth:e.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ftds-drawer-overlay-background-color","",i.colorGray700)};var Md={offBorderBottomWidth:e.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:e.extend("--ftds-tabs-off-hover-state-layer-opacity","",i.opacity8),offDefaultStateLayerOpacity:e.extend("--ftds-tabs-off-default-state-layer-opacity","",i.opacity0),offFocusStateLayerOpacity:e.extend("--ftds-tabs-off-focus-state-layer-opacity","",i.opacity8),offDisabledComponentOpacity:e.extend("--ftds-tabs-off-disabled-component-opacity","",i.opacity40),offColor:e.extend("--ftds-tabs-off-color","",c.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-tabs-off-state-layer-color","",c.contentGlobalSubtle),offBorderBottomColor:e.extend("--ftds-tabs-off-border-bottom-color","",c.borderGlobalSubtle),activeTabIndicatorHeight:e.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:e.extend("--ftds-tabs-top-left-border-radius","",i.borderRadiusS),topRightBorderRadius:e.extend("--ftds-tabs-top-right-border-radius","",i.borderRadiusS),withLabelHorizontalPadding:e.extend("--ftds-tabs-with-label-horizontal-padding","",i.spacing4),withLabelVerticalPadding:e.extend("--ftds-tabs-with-label-vertical-padding","",i.spacing3),horizontalGap:e.extend("--ftds-tabs-horizontal-gap","",i.spacing1),verticalGap:e.extend("--ftds-tabs-vertical-gap","",i.spacing1),onHoverStateLayerOpacity:e.extend("--ftds-tabs-on-hover-state-layer-opacity","",i.opacity16),onDefaultStateLayerOpacity:e.extend("--ftds-tabs-on-default-state-layer-opacity","",i.opacity8),onFocusStateLayerOpacity:e.extend("--ftds-tabs-on-focus-state-layer-opacity","",i.opacity16),onActiveStateLayerOpacity:e.extend("--ftds-tabs-on-active-state-layer-opacity","",i.opacity24),onColor:e.extend("--ftds-tabs-on-color","",c.contentActionPrimary),onStateLayerColor:e.extend("--ftds-tabs-on-state-layer-color","",c.contentActionPrimary),onActiveTabIndicatorColor:e.extend("--ftds-tabs-on-active-tab-indicator-color","",c.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ftds-tabs-icon-only-horizontal-padding","",i.spacing4),iconOnlyVerticalPadding:e.extend("--ftds-tabs-icon-only-vertical-padding","",i.spacing4),alertTopPadding:e.extend("--ftds-tabs-alert-top-padding","",i.spacing1),alertRightPadding:e.extend("--ftds-tabs-alert-right-padding","",i.spacing05),focusOutlineWidth:e.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-tabs-focus-focus-ring-color","",c.borderActionFocusRing)};var Wd={largeFieldHorizontalPadding:e.extend("--ftds-text-input-large-field-horizontal-padding","",i.spacing4),largeFieldHorizontalGap:e.extend("--ftds-text-input-large-field-horizontal-gap","",i.spacing3),largeFieldVerticalGap:e.extend("--ftds-text-input-large-field-vertical-gap","",i.spacing05),largeFieldHeight:e.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:e.extend("--ftds-text-input-large-field-icon-size","",i.iconSize3),mediumFieldHorizontalPadding:e.extend("--ftds-text-input-medium-field-horizontal-padding","",i.spacing4),mediumFieldHorizontalGap:e.extend("--ftds-text-input-medium-field-horizontal-gap","",i.spacing3),mediumFieldVerticalGap:e.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:e.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:e.extend("--ftds-text-input-medium-field-icon-size","",i.iconSize3),helperHorizontalPadding:e.extend("--ftds-text-input-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:e.extend("--ftds-text-input-helper-horizontal-gap","",i.spacing1),helperIconSize:e.extend("--ftds-text-input-helper-icon-size","",i.iconSize2),borderRadius:e.extend("--ftds-text-input-border-radius","",i.borderRadiusS),backgroundColor:e.extend("--ftds-text-input-background-color","",i.colorWhite),contentValueColor:e.extend("--ftds-text-input-content-value-color","",c.contentGlobalPrimary),trailingIconColor:e.extend("--ftds-text-input-trailing-icon-color","",c.contentGlobalSubtle),labelColor:e.extend("--ftds-text-input-label-color","",c.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-text-input-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-text-input-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ftds-text-input-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-text-input-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:e.extend("--ftds-text-input-error-helper-icon-color","",c.contentErrorIconOnly),warningBorderColor:e.extend("--ftds-text-input-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:e.extend("--ftds-text-input-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:e.extend("--ftds-text-input-warning-helper-icon-color","",c.contentWarningIconOnly),warningBorderWidth:e.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-text-input-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-text-input-disabled-component-opacity","",i.opacity40)};var Zd={backgroundColor:e.extend("--ftds-text-area-background-color","",i.colorWhite),contentValueColor:e.extend("--ftds-text-area-content-value-color","",c.contentGlobalPrimary),labelColor:e.extend("--ftds-text-area-label-color","",c.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-text-area-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-text-area-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ftds-text-area-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-text-area-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:e.extend("--ftds-text-area-error-helper-icon-color","",c.contentErrorIconOnly),focusFocusRingColor:e.extend("--ftds-text-area-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:e.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-text-area-disabled-component-opacity","",i.opacity40),fieldHorizontalLeftPadding:e.extend("--ftds-text-area-field-horizontal-left-padding","",i.spacing4),fieldHorizontalGap:e.extend("--ftds-text-area-field-horizontal-gap","",i.spacing3),fieldVerticalGap:e.extend("--ftds-text-area-field-vertical-gap","",i.spacing05),fieldMinHeight:e.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ftds-text-area-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:e.extend("--ftds-text-area-helper-horizontal-gap","",i.spacing1),helperIconSize:e.extend("--ftds-text-area-helper-icon-size","",i.iconSize2),borderRadius:e.extend("--ftds-text-area-border-radius","",i.borderRadiusS)};var Jd={height:e.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ftds-floating-menu-horizontal-padding","",i.spacing4),offIconColor:e.extend("--ftds-floating-menu-off-icon-color","",c.contentGlobalPrimary),offColor:e.extend("--ftds-floating-menu-off-color","",c.contentGlobalPrimary),onColor:e.extend("--ftds-floating-menu-on-color","",c.contentActionPrimary),onStateLayerColor:e.extend("--ftds-floating-menu-on-state-layer-color","",c.contentActionPrimary),gap:e.extend("--ftds-floating-menu-gap","",i.spacing3),focusFocusRingColor:e.extend("--ftds-floating-menu-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:e.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ftds-floating-menu-focus-state-layer-opacity","",i.opacity8),hoverStateLayerOpacity:e.extend("--ftds-floating-menu-hover-state-layer-opacity","",i.opacity8),activeStateLayerOpacity:e.extend("--ftds-floating-menu-active-state-layer-opacity","",i.opacity16),disabledComponentOpacity:e.extend("--ftds-floating-menu-disabled-component-opacity","",i.opacity40),iconSize:e.extend("--ftds-floating-menu-icon-size","",i.iconSize3),backgroundColor:e.extend("--ftds-floating-menu-background-color","",c.backgroundGlobalOnSurface),shadow:e.extend("--ftds-floating-menu-shadow","",i.shadowElevation02)};var nu={largeFieldHorizontalPadding:e.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",i.spacing4),largeFieldHorizontalGap:e.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",i.spacing3),largeFieldVerticalGap:e.extend("--ftds-combobox-single-select-large-field-vertical-gap","",i.spacing05),largeFieldHeight:e.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:e.extend("--ftds-combobox-single-select-large-field-icon-size","",i.iconSize3),mediumFieldHorizontalPadding:e.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",i.spacing4),mediumFieldHorizontalGap:e.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",i.spacing3),mediumFieldVerticalGap:e.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:e.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:e.extend("--ftds-combobox-single-select-medium-field-icon-size","",i.iconSize3),helperHorizontalPadding:e.extend("--ftds-combobox-single-select-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:e.extend("--ftds-combobox-single-select-helper-horizontal-gap","",i.spacing1),helperVerticalGap:e.extend("--ftds-combobox-single-select-helper-vertical-gap","",i.spacing1),helperIconSize:e.extend("--ftds-combobox-single-select-helper-icon-size","",i.iconSize2),menuVerticalGap:e.extend("--ftds-combobox-single-select-menu-vertical-gap","",i.spacing2),borderRadius:e.extend("--ftds-combobox-single-select-border-radius","",i.borderRadiusS),backgroundColor:e.extend("--ftds-combobox-single-select-background-color","",i.colorWhite),labelColor:e.extend("--ftds-combobox-single-select-label-color","",c.contentGlobalSubtle),contentValueColor:e.extend("--ftds-combobox-single-select-content-value-color","",c.contentGlobalPrimary),trailingIconColor:e.extend("--ftds-combobox-single-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-combobox-single-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-combobox-single-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ftds-combobox-single-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-combobox-single-select-error-helper-text-color","",c.contentErrorPrimary),warningBorderWidth:e.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ftds-combobox-single-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:e.extend("--ftds-combobox-single-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:e.extend("--ftds-combobox-single-select-warning-helper-icon-color","",c.contentWarningIconOnly),focusOutlineWidth:e.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-combobox-single-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-combobox-single-select-disabled-component-opacity","",i.opacity40)};var cu={backgroundColor:e.extend("--ftds-combobox-multi-select-background-color","",i.colorWhite),labelColor:e.extend("--ftds-combobox-multi-select-label-color","",c.contentGlobalSubtle),trailingIconColor:e.extend("--ftds-combobox-multi-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-combobox-multi-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-combobox-multi-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ftds-combobox-multi-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-combobox-multi-select-error-helper-text-color","",c.contentErrorPrimary),errorHelperIcon:e.extend("--ftds-combobox-multi-select-error-helper-icon","",c.contentErrorIconOnly),errorBorderWidth:e.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ftds-combobox-multi-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:e.extend("--ftds-combobox-multi-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:e.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",c.contentWarningIconOnly),warningBorderWidth:e.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:e.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-combobox-multi-select-disabled-component-opacity","",i.opacity40),helperHorizontalPadding:e.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:e.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",i.spacing1),helperVerticalGap:e.extend("--ftds-combobox-multi-select-helper-vertical-gap","",i.spacing1),helperIconSize:e.extend("--ftds-combobox-multi-select-helper-icon-size","",i.iconSize2),fieldHorizontalPadding:e.extend("--ftds-combobox-multi-select-field-horizontal-padding","",i.spacing4),fieldHorizontalGap:e.extend("--ftds-combobox-multi-select-field-horizontal-gap","",i.spacing3),fieldVerticalGap:e.extend("--ftds-combobox-multi-select-field-vertical-gap","",i.spacing05),fieldIconSize:e.extend("--ftds-combobox-multi-select-field-icon-size","",i.iconSize3),fieldMaxHeight:e.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",i.spacing1),contentValuesVerticalGap:e.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",i.spacing1),borderRadius:e.extend("--ftds-combobox-multi-select-border-radius","",i.borderRadiusS)};var hu={backgroundColor:e.extend("--ftds-popover-background-color","",c.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ftds-popover-horizontal-padding","",i.spacing6),verticalPadding:e.extend("--ftds-popover-vertical-padding","",i.spacing6),titleColor:e.extend("--ftds-popover-title-color","",c.contentGlobalPrimary),bodyColor:e.extend("--ftds-popover-body-color","",c.contentGlobalSecondary),gap:e.extend("--ftds-popover-gap","",i.spacing2),borderRadius:e.extend("--ftds-popover-border-radius","",i.borderRadiusM),shadow:e.extend("--ftds-popover-shadow","",i.shadowElevation02),maxWidth:e.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:e.extend("--ftds-popover-content-section-vertical-gap","",i.spacing2),multiSectionVerticalGap:e.extend("--ftds-popover-multi-section-vertical-gap","",i.spacing6)};var xu={hoverStateLayerOpacity:e.extend("--ftds-collapsible-hover-state-layer-opacity","",i.opacity8),focusStateLayerOpacity:e.extend("--ftds-collapsible-focus-state-layer-opacity","",i.opacity8),focusOutlineWidth:e.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ftds-collapsible-focus-focus-ring-color","",c.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ftds-collapsible-active-state-layer-opacity","",i.opacity16),disabledComponentOpacity:e.extend("--ftds-collapsible-disabled-component-opacity","",i.opacity40),horizontalPadding:e.extend("--ftds-collapsible-horizontal-padding","",i.spacing4),verticalPadding:e.extend("--ftds-collapsible-vertical-padding","",i.spacing3),color:e.extend("--ftds-collapsible-color","",c.contentGlobalPrimary),stateLayerColor:e.extend("--ftds-collapsible-state-layer-color","",c.contentGlobalPrimary),backgroundColor:e.extend("--ftds-collapsible-background-color","",c.backgroundGlobalOnSurface),borderColor:e.extend("--ftds-collapsible-border-color","",c.borderGlobalSubtle),iconSize:e.extend("--ftds-collapsible-icon-size","",i.iconSize3)};var Eu={groupHorizontalPadding:e.extend("--ftds-switch-group-horizontal-padding","",i.spacing1),groupVerticalPadding:e.extend("--ftds-switch-group-vertical-padding","",i.spacing1),groupGap:e.extend("--ftds-switch-group-gap","",i.spacing1),groupBackgroundColor:e.extend("--ftds-switch-group-background-color","",c.backgroundGlobalSurface),groupBorderColor:e.extend("--ftds-switch-group-border-color","",c.borderGlobalSubtle),groupBorderRadius:e.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ftds-switch-label-horizontal-padding","",i.spacing2),labelVerticalPadding:e.extend("--ftds-switch-label-vertical-padding","",i.spacing1),offHoverStateLayerOpacity:e.extend("--ftds-switch-off-hover-state-layer-opacity","",i.opacity8),offFocusStateLayerOpacity:e.extend("--ftds-switch-off-focus-state-layer-opacity","",i.opacity8),offActiveStateLayerOpacity:e.extend("--ftds-switch-off-active-state-layer-opacity","",i.opacity16),offDisabledComponentOpacity:e.extend("--ftds-switch-off-disabled-component-opacity","",i.opacity40),offColor:e.extend("--ftds-switch-off-color","",c.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-switch-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ftds-switch-on-hover-state-layer-opacity","",i.opacity8),onFocusStateLayerOpacity:e.extend("--ftds-switch-on-focus-state-layer-opacity","",i.opacity8),onActiveStateLayerOpacity:e.extend("--ftds-switch-on-active-state-layer-opacity","",i.opacity16),onDisabledComponentOpacity:e.extend("--ftds-switch-on-disabled-component-opacity","",i.opacity40),onColor:e.extend("--ftds-switch-on-color","",c.contentActionPrimary),onStateLayerColor:e.extend("--ftds-switch-on-state-layer-color","",c.contentActionPrimary),iconHorizontalPadding:e.extend("--ftds-switch-icon-horizontal-padding","",i.spacing1),iconVerticalPadding:e.extend("--ftds-switch-icon-vertical-padding","",i.spacing1),focusOutlineWidth:e.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-switch-focus-focus-ring-color","",c.borderActionFocusRing),optionBorderRadius:e.extend("--ftds-switch-option-border-radius","",i.borderRadiusS)};var Nu={color1Light:e.extend("--ftds-chart-1-light","for area color charts",i.colorBrand40),color1Base:e.extend("--ftds-chart-1-base","for line charts",i.colorBrand0),color2Light:e.extend("--ftds-chart-2-light","for area color charts",i.colorYellow60),color2Base:e.extend("--ftds-chart-2-base","for line charts",i.colorYellow100),color3Light:e.extend("--ftds-chart-3-light","",i.colorUltramarine40),color3Base:e.extend("--ftds-chart-3-base","",i.colorUltramarine70),color4Light:e.extend("--ftds-chart-4-light","",i.colorCyan50),color4Base:e.extend("--ftds-chart-4-base","",i.colorCyan100),color5Light:e.extend("--ftds-chart-5-light","",i.colorRed40),color5Base:e.extend("--ftds-chart-5-base","",i.colorRed60),color6Light:e.extend("--ftds-chart-6-light","",i.colorGreen40),color6Base:e.extend("--ftds-chart-6-base","",i.colorGreen70),color7Light:e.extend("--ftds-chart-7-light","",i.colorOrange70),color7Base:e.extend("--ftds-chart-7-base","",i.colorOrange100),color8Light:e.extend("--ftds-chart-8-light","",i.colorAvocado70),color8Base:e.extend("--ftds-chart-8-base","",i.colorAvocado200),color9Light:e.extend("--ftds-chart-9-light","",i.colorBrown50),color9Base:e.extend("--ftds-chart-9-base","",i.colorBrown200),color10Light:e.extend("--ftds-chart-10-light","",i.colorGray50),color10Base:e.extend("--ftds-chart-10-base","",i.colorGray80),monochrome10:e.extend("--ftds-chart-monochrome-10","",i.colorBrand10),monochrome20:e.extend("--ftds-chart-monochrome-20","",i.colorBrand20),monochrome30:e.extend("--ftds-chart-monochrome-30","",i.colorBrand40),monochrome40:e.extend("--ftds-chart-monochrome-40","",i.colorBrand60),monochrome50:e.extend("--ftds-chart-monochrome-50","",i.colorBrand0),monochrome60:e.extend("--ftds-chart-monochrome-60","",i.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",i.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",i.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",i.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",i.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",i.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:e.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",i.opacity48),scatterplotDatapointInitialHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",i.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",i.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",i.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",i.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:e.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",i.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",i.colorGray70),scatterplotDatapointHoverHoverRingColor:e.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",i.colorCyan200)};var Lu={color1IconColor:e.extend("--ftds-page-designer-1-icon-color","for area color charts",i.colorCyan0),color1ToolbarColor:e.extend("--ftds-page-designer-1-toolbar-color","for area color charts",i.colorCyan0),color2IconColor:e.extend("--ftds-page-designer-2-icon-color","for area color charts",i.colorBrand0),color2ToolbarColor:e.extend("--ftds-page-designer-2-toolbar-color","for area color charts",i.colorBrand0),color3IconColor:e.extend("--ftds-page-designer-3-icon-color","for area color charts",i.colorYellow200),color3ToolbarColor:e.extend("--ftds-page-designer-3-toolbar-color","for area color charts",i.colorYellow200),color4IconColor:e.extend("--ftds-page-designer-4-icon-color","for area color charts",i.colorUltramarine50),color4ToolbarColor:e.extend("--ftds-page-designer-4-toolbar-color","for area color charts",i.colorUltramarine50),color5IconColor:e.extend("--ftds-page-designer-5-icon-color","for area color charts",i.colorGreen0),color5ToolbarColor:e.extend("--ftds-page-designer-5-toolbar-color","for area color charts",i.colorGreen0),color6IconColor:e.extend("--ftds-page-designer-6-icon-color","for area color charts",i.colorOrange0),color6ToolbarColor:e.extend("--ftds-page-designer-6-toolbar-color","for area color charts",i.colorOrange0),color7IconColor:e.extend("--ftds-page-designer-7-icon-color","for area color charts",i.colorAvocado200),color7ToolbarColor:e.extend("--ftds-page-designer-7-toolbar-color","for area color charts",i.colorAvocado200),color8IconColor:e.extend("--ftds-page-designer-8-icon-color","for area color charts",i.colorBrown0),color8ToolbarColor:e.extend("--ftds-page-designer-8-toolbar-color","for area color charts",i.colorBrown0)};var Bu={borderWidth:e.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ftds-notice-horizontal-padding","",i.spacing3),verticalPadding:e.extend("--ftds-notice-vertical-padding","",i.spacing2),borderRadius:e.extend("--ftds-notice-border-radius","",i.borderRadiusS),gap:e.extend("--ftds-notice-gap","",i.spacing2),iconSize:e.extend("--ftds-notice-icon-size","",i.iconSize3),infoBackgroundColor:e.extend("--ftds-notice-info-background-color","",c.backgroundInfoSubtle),infoBorderColor:e.extend("--ftds-notice-info-border-color","",c.borderInfoSubtle),infoColor:e.extend("--ftds-notice-info-color","",c.contentInfoPrimary),infoIconColor:e.extend("--ftds-notice-info-icon-color","",c.contentInfoIconOnly),warningBackgroundColor:e.extend("--ftds-notice-warning-background-color","",c.backgroundWarningSubtle),warningBorderColor:e.extend("--ftds-notice-warning-border-color","",c.borderWarningSubtle),warningColor:e.extend("--ftds-notice-warning-color","",c.contentWarningPrimary),warningIconColor:e.extend("--ftds-notice-warning-icon-color","",c.contentWarningIconOnly),errorBackgroundColor:e.extend("--ftds-notice-error-background-color","",c.backgroundErrorSubtle),errorBorderColor:e.extend("--ftds-notice-error-border-color","",c.borderErrorSubtle),errorColor:e.extend("--ftds-notice-error-color","",c.contentErrorPrimary),errorIconColor:e.extend("--ftds-notice-error-icon-color","",c.contentErrorIconOnly),successBackgroundColor:e.extend("--ftds-notice-success-background-color","",c.backgroundSuccessSubtle),successBorderColor:e.extend("--ftds-notice-success-border-color","",c.borderSuccessSubtle),successColor:e.extend("--ftds-notice-success-color","",c.contentSuccessPrimary),successIconColor:e.extend("--ftds-notice-success-icon-color","",c.contentSuccessIconOnly),denseHorizontalPadding:e.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:e.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:e.extend("--ftds-notice-dense-gap","",i.spacing1),denseIconSize:e.extend("--ftds-notice-dense-icon-size","",i.iconSize2),denseBorderWidth:e.create("--ftds-notice-dense-border-width","","SIZE","0")};var zu={offHoverStateLayerOpacity:e.extend("--ftds-toggle-off-hover-state-layer-opacity","",i.opacity16),offFocusStateLayerOpacity:e.extend("--ftds-toggle-off-focus-state-layer-opacity","",i.opacity16),offActiveStateLayerOpacity:e.extend("--ftds-toggle-off-active-state-layer-opacity","",i.opacity24),offDisabledComponentOpacity:e.extend("--ftds-toggle-off-disabled-component-opacity","",i.opacity40),offBackgroundColor:e.extend("--ftds-toggle-off-background-color","",c.contentGlobalSubtle),offIconColor:e.extend("--ftds-toggle-off-icon-color","",c.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-toggle-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ftds-toggle-on-hover-state-layer-opacity","",i.opacity16),onFocusStateLayerOpacity:e.extend("--ftds-toggle-on-focus-state-layer-opacity","",i.opacity16),onActiveStateLayerOpacity:e.extend("--ftds-toggle-on-active-state-layer-opacity","",i.opacity24),onDisabledComponentOpacity:e.extend("--ftds-toggle-on-disabled-component-opacity","",i.opacity40),onBackgroundColor:e.extend("--ftds-toggle-on-background-color","",c.contentActionPrimary),onStateLayerColor:e.extend("--ftds-toggle-on-state-layer-color","",c.contentActionPrimary),onIconColor:e.extend("--ftds-toggle-on-icon-color","",c.contentActionPrimary),color:e.extend("--ftds-toggle-color","",c.contentGlobalPrimary),focusFocusRingColor:e.extend("--ftds-toggle-focus-focus-ring-color","",c.borderActionFocusRing),gap:e.extend("--ftds-toggle-gap","",i.spacing3)};var Ku={iconSize:e.extend("--ftds-notification-icon-size","",i.iconSize4),leftPadding:e.extend("--ftds-notification-left-padding","",i.spacing5),rightPadding:e.extend("--ftds-notification-right-padding","",i.spacing4),verticalPadding:e.extend("--ftds-notification-vertical-padding","",i.spacing3),infoBackgroundColor:e.extend("--ftds-notification-info-background-color","",c.backgroundInfoSubtle),infoColor:e.extend("--ftds-notification-info-color","",c.contentInfoPrimary),infoIconColor:e.extend("--ftds-notification-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-notification-info-border-color","",c.borderInfoSubtle),successBackgroundColor:e.extend("--ftds-notification-success-background-color","",c.backgroundSuccessSubtle),successColor:e.extend("--ftds-notification-success-color","",c.contentSuccessPrimary),successIconColor:e.extend("--ftds-notification-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:e.extend("--ftds-notification-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:e.extend("--ftds-notification-warning-background-color","",c.backgroundWarningSubtle),warningColor:e.extend("--ftds-notification-warning-color","",c.contentWarningPrimary),warningIconColor:e.extend("--ftds-notification-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:e.extend("--ftds-notification-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:e.extend("--ftds-notification-error-background-color","",c.backgroundErrorSubtle),errorColor:e.extend("--ftds-notification-error-color","",c.contentErrorPrimary),errorIconColor:e.extend("--ftds-notification-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:e.extend("--ftds-notification-error-border-color","",c.borderErrorSubtle),borderRadius:e.extend("--ftds-notification-border-radius","",i.borderRadiusPill),borderWidth:e.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ftds-notification-leading-gap","",i.spacing2),trailingGap:e.extend("--ftds-notification-trailing-gap","",i.spacing8)};var Qu={horizontalPadding:e.extend("--ftds-tooltip-horizontal-padding","",i.spacing2),verticalPadding:e.extend("--ftds-tooltip-vertical-padding","",i.spacing2),borderRadius:e.extend("--ftds-tooltip-border-radius","",i.borderRadiusS),color:e.extend("--ftds-tooltip-color","",c.contentGlobalOnColor),backgroundColor:e.extend("--ftds-tooltip-background-color","",c.contentGlobalPrimary),backgroundOpacity:e.extend("--ftds-tooltip-background-opacity","",i.opacity80),shadow:e.extend("--ftds-tooltip-shadow","",i.shadowElevation02),maxWidth:e.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ftds-tooltip-gap","",i.spacing05)};var op={verticalPadding:e.extend("--ftds-reorderable-list-vertical-padding","",i.spacing4),gap:e.extend("--ftds-reorderable-list-gap","",i.spacing1),borderRadius:e.extend("--ftds-reorderable-list-border-radius","",i.borderRadiusM),reorderableItemTitleMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",i.spacing6),reorderableItemTitleColor:e.extend("--ftds-reorderable-list-reorderable-item-title-color","",c.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",i.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:e.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",i.spacing2),reorderableItemRightButtonsGroupHorizontalGap:e.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",i.spacing2),reorderableItemUsersCountColor:e.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",c.contentGlobalPrimary),reorderableItemUsersCountMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",i.spacing6),reorderableItemBackgroundColor:e.extend("--ftds-reorderable-list-reorderable-item-background-color","",c.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",i.spacing1),reorderableItemWarningMessageColor:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",c.contentWarningPrimary),reorderableItemWarningMessageIconColor:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",c.contentWarningIconOnly),reorderableItemGripColor:e.extend("--ftds-reorderable-list-reorderable-item-grip-color","",c.contentGlobalSecondary),reorderableItemGripOpacity:e.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",i.opacity48),boxShadow:e.extend("--ftds-reorderable-list-box-shadow","",i.shadowElevation01),borderWidth:e.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:e.extend("--ftds-reorderable-list-reorderable-items-gap","",i.spacing2),leftPadding:e.extend("--ftds-reorderable-list-left-padding","",i.spacing2),rightPadding:e.extend("--ftds-reorderable-list-right-padding","",i.spacing6),borderColor:e.extend("--ftds-reorderable-list-border-color","",c.borderGlobalPrimary),backgroundColor:e.extend("--ftds-reorderable-list-background-color","",c.backgroundGlobalOnSurfaceDark)};var sp={menuHorizontalPadding:e.extend("--ftds-date-range-picker-menu-horizontal-padding","",i.spacing4),menuVerticalPadding:e.extend("--ftds-date-range-picker-menu-vertical-padding","",i.spacing4),menuVerticalGap:e.extend("--ftds-date-range-picker-menu-vertical-gap","",i.spacing4),menuButtonsVerticalGap:e.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",i.spacing2)};var Wn;(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(Wn||(Wn={}));var Gn;(function(r){r.large="large",r.medium="medium",r.small="small"})(Gn||(Gn={}));var Ct=b(Y());function Vn(r,t){let o=pr[r];return Ct.css`
|
|
6
|
-
${
|
|
1
|
+
"use strict";(()=>{var id=Object.create;var _i=Object.defineProperty;var ad=Object.getOwnPropertyDescriptor;var sd=Object.getOwnPropertyNames;var ld=Object.getPrototypeOf,cd=Object.prototype.hasOwnProperty;var Gt=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var dd=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of sd(e))!cd.call(t,i)&&i!==o&&_i(t,i,{get:()=>e[i],enumerable:!(n=ad(e,i))||n.enumerable});return t};var b=(t,e,o)=>(o=t!=null?id(ld(t)):{},dd(e||!t||!t.__esModule?_i(o,"default",{value:t,enumerable:!0}):o,t));var T=Gt((Du,ki)=>{ki.exports=ftGlobals.wcUtils});var Z=Gt((Bu,$i)=>{$i.exports=ftGlobals.lit});var le=Gt((Mu,Di)=>{Di.exports=ftGlobals.litDecorators});var hn=Gt((Uu,Bi)=>{Bi.exports=ftGlobals.litRepeat});var gt=Gt((Fu,Mi)=>{Mi.exports=ftGlobals.litClassMap});var ns=Gt((um,os)=>{os.exports=ftGlobals.litUnsafeHTML});var Cl=Gt((Bt,Sl)=>{var Do=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Bo=function(){function t(){this.fetch=!1,this.DOMException=Do.DOMException}return t.prototype=Do,new t}();(function(t){var e=function(o){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(y){return y&&DataView.prototype.isPrototypeOf(y)}if(i.arrayBuffer)var l=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(y){return y&&l.indexOf(Object.prototype.toString.call(y))>-1};function u(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function p(y){return typeof y!="string"&&(y=String(y)),y}function g(y){var x={next:function(){var k=y.shift();return{done:k===void 0,value:k}}};return i.iterable&&(x[Symbol.iterator]=function(){return x}),x}function h(y){this.map={},y instanceof h?y.forEach(function(x,k){this.append(k,x)},this):Array.isArray(y)?y.forEach(function(x){if(x.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+x.length);this.append(x[0],x[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(x){this.append(x,y[x])},this)}h.prototype.append=function(y,x){y=u(y),x=p(x);var k=this.map[y];this.map[y]=k?k+", "+x:x},h.prototype.delete=function(y){delete this.map[u(y)]},h.prototype.get=function(y){return y=u(y),this.has(y)?this.map[y]:null},h.prototype.has=function(y){return this.map.hasOwnProperty(u(y))},h.prototype.set=function(y,x){this.map[u(y)]=p(x)},h.prototype.forEach=function(y,x){for(var k in this.map)this.map.hasOwnProperty(k)&&y.call(x,this.map[k],k,this)},h.prototype.keys=function(){var y=[];return this.forEach(function(x,k){y.push(k)}),g(y)},h.prototype.values=function(){var y=[];return this.forEach(function(x){y.push(x)}),g(y)},h.prototype.entries=function(){var y=[];return this.forEach(function(x,k){y.push([k,x])}),g(y)},i.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function m(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function S(y){return new Promise(function(x,k){y.onload=function(){x(y.result)},y.onerror=function(){k(y.error)}})}function v(y){var x=new FileReader,k=S(x);return x.readAsArrayBuffer(y),k}function O(y){var x=new FileReader,k=S(x),J=/charset=([A-Za-z0-9_-]+)/.exec(y.type),ae=J?J[1]:"utf-8";return x.readAsText(y,ae),k}function N(y){for(var x=new Uint8Array(y),k=new Array(x.length),J=0;J<x.length;J++)k[J]=String.fromCharCode(x[J]);return k.join("")}function R(y){if(y.slice)return y.slice(0);var x=new Uint8Array(y.byteLength);return x.set(new Uint8Array(y)),x.buffer}function I(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:i.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:i.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():i.arrayBuffer&&i.blob&&a(y)?(this._bodyArrayBuffer=R(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||c(y))?this._bodyArrayBuffer=R(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var y=m(this);if(y)return y;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var y=m(this);return y||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=m(this);if(y)return y;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(N(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(_e)}),this.json=function(){return this.text().then(JSON.parse)},this}var U=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function V(y){var x=y.toUpperCase();return U.indexOf(x)>-1?x:y}function j(y,x){if(!(this instanceof j))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');x=x||{};var k=x.body;if(y instanceof j){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,x.headers||(this.headers=new h(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!k&&y._bodyInit!=null&&(k=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new h(x.headers)),this.method=V(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in n){var K=new AbortController;return K.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&k)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(k),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var J=/([?&])_=[^&]*/;if(J.test(this.url))this.url=this.url.replace(J,"$1_="+new Date().getTime());else{var ae=/\?/;this.url+=(ae.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}j.prototype.clone=function(){return new j(this,{body:this._bodyInit})};function _e(y){var x=new FormData;return y.trim().split("&").forEach(function(k){if(k){var J=k.split("="),ae=J.shift().replace(/\+/g," "),K=J.join("=").replace(/\+/g," ");x.append(decodeURIComponent(ae),decodeURIComponent(K))}}),x}function ct(y){var x=new h,k=y.replace(/\r?\n[\t ]+/g," ");return k.split("\r").map(function(J){return J.indexOf(`
|
|
2
|
+
`)===0?J.substr(1,J.length):J}).forEach(function(J){var ae=J.split(":"),K=ae.shift().trim();if(K){var co=ae.join(":").trim();try{x.append(K,co)}catch(fn){console.warn("Response "+fn.message)}}}),x}I.call(j.prototype);function Te(y,x){if(!(this instanceof Te))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new h(x.headers),this.url=x.url||"",this._initBody(y)}I.call(Te.prototype),Te.prototype.clone=function(){return new Te(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},Te.error=function(){var y=new Te(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var dt=[301,302,303,307,308];Te.redirect=function(y,x){if(dt.indexOf(x)===-1)throw new RangeError("Invalid status code");return new Te(null,{status:x,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,k){this.message=x,this.name=k;var J=Error(x);this.stack=J.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function Ce(y,x){return new Promise(function(k,J){var ae=new j(y,x);if(ae.signal&&ae.signal.aborted)return J(new o.DOMException("Aborted","AbortError"));var K=new XMLHttpRequest;function co(){K.abort()}K.onload=function(){var Oe={statusText:K.statusText,headers:ct(K.getAllResponseHeaders()||"")};ae.url.indexOf("file://")===0&&(K.status<200||K.status>599)?Oe.status=200:Oe.status=K.status,Oe.url="responseURL"in K?K.responseURL:Oe.headers.get("X-Request-URL");var Vt="response"in K?K.response:K.responseText;setTimeout(function(){k(new Te(Vt,Oe))},0)},K.onerror=function(){setTimeout(function(){J(new TypeError("Network request failed"))},0)},K.ontimeout=function(){setTimeout(function(){J(new TypeError("Network request timed out"))},0)},K.onabort=function(){setTimeout(function(){J(new o.DOMException("Aborted","AbortError"))},0)};function fn(Oe){try{return Oe===""&&n.location.href?n.location.href:Oe}catch{return Oe}}if(K.open(ae.method,fn(ae.url),!0),ae.credentials==="include"?K.withCredentials=!0:ae.credentials==="omit"&&(K.withCredentials=!1),"responseType"in K&&(i.blob?K.responseType="blob":i.arrayBuffer&&(K.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof h||n.Headers&&x.headers instanceof n.Headers)){var Pi=[];Object.getOwnPropertyNames(x.headers).forEach(function(Oe){Pi.push(u(Oe)),K.setRequestHeader(Oe,p(x.headers[Oe]))}),ae.headers.forEach(function(Oe,Vt){Pi.indexOf(Vt)===-1&&K.setRequestHeader(Vt,Oe)})}else ae.headers.forEach(function(Oe,Vt){K.setRequestHeader(Vt,Oe)});ae.signal&&(ae.signal.addEventListener("abort",co),K.onreadystatechange=function(){K.readyState===4&&ae.signal.removeEventListener("abort",co)}),K.send(typeof ae._bodyInit>"u"?null:ae._bodyInit)})}return Ce.polyfill=!0,n.fetch||(n.fetch=Ce,n.Headers=h,n.Request=j,n.Response=Te),o.Headers=h,o.Request=j,o.Response=Te,o.fetch=Ce,o}({})})(Bo);Bo.fetch.ponyfill=!0;delete Bo.fetch.polyfill;var Ir=Do.fetch?Do:Bo;Bt=Ir.fetch;Bt.default=Ir.fetch;Bt.fetch=Ir.fetch;Bt.Headers=Ir.Headers;Bt.Request=Ir.Request;Bt.Response=Ir.Response;Sl.exports=Bt});var nd=b(T());var Pe=b(Z()),Q=b(le()),Ni=b(hn()),pn=b(gt());var Sn=globalThis,uo=Sn.trustedTypes,Ui=uo?uo.createPolicy("lit-html",{createHTML:t=>t}):void 0,Gi="$lit$",It=`lit$${Math.random().toFixed(9).slice(2)}$`,ji="?"+It,ud=`<${ji}>`,Zt=document,po=()=>Zt.createComment(""),Br=t=>t===null||typeof t!="object"&&typeof t!="function",Cn=Array.isArray,pd=t=>Cn(t)||typeof t?.[Symbol.iterator]=="function",yn=`[
|
|
3
|
+
\f\r]`,Dr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Fi=/-->/g,zi=/>/g,jt=RegExp(`>|${yn}(?:([^\\s"'>=/]+)(${yn}*=${yn}*(?:[^
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Hi=/'/g,Wi=/"/g,Ki=/^(?:script|style|textarea|title)$/i,On=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Zi=On(1),qi=On(2),Yi=On(3),Mr=Symbol.for("lit-noChange"),pe=Symbol.for("lit-nothing"),Vi=new WeakMap,Kt=Zt.createTreeWalker(Zt,129);function Xi(t,e){if(!Cn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ui!==void 0?Ui.createHTML(e):e}var fd=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":e===3?"<math>":"",l=Dr;for(let c=0;c<o;c++){let u=t[c],p,g,h=-1,m=0;for(;m<u.length&&(l.lastIndex=m,g=l.exec(u),g!==null);)m=l.lastIndex,l===Dr?g[1]==="!--"?l=Fi:g[1]!==void 0?l=zi:g[2]!==void 0?(Ki.test(g[2])&&(i=RegExp("</"+g[2],"g")),l=jt):g[3]!==void 0&&(l=jt):l===jt?g[0]===">"?(l=i??Dr,h=-1):g[1]===void 0?h=-2:(h=l.lastIndex-g[2].length,p=g[1],l=g[3]===void 0?jt:g[3]==='"'?Wi:Hi):l===Wi||l===Hi?l=jt:l===Fi||l===zi?l=Dr:(l=jt,i=void 0);let S=l===jt&&t[c+1].startsWith("/>")?" ":"";a+=l===Dr?u+ud:h>=0?(n.push(p),u.slice(0,h)+Gi+u.slice(h)+It+S):u+It+(h===-2?c:S)}return[Xi(t,a+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Ur=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,l=0,c=e.length-1,u=this.parts,[p,g]=fd(e,o);if(this.el=t.createElement(p,n),Kt.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Kt.nextNode())!==null&&u.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(Gi)){let m=g[l++],S=i.getAttribute(h).split(It),v=/([.?@])?(.*)/.exec(m);u.push({type:1,index:a,name:v[2],strings:S,ctor:v[1]==="."?mn:v[1]==="?"?bn:v[1]==="@"?xn:lr}),i.removeAttribute(h)}else h.startsWith(It)&&(u.push({type:6,index:a}),i.removeAttribute(h));if(Ki.test(i.tagName)){let h=i.textContent.split(It),m=h.length-1;if(m>0){i.textContent=uo?uo.emptyScript:"";for(let S=0;S<m;S++)i.append(h[S],po()),Kt.nextNode(),u.push({type:2,index:++a});i.append(h[m],po())}}}else if(i.nodeType===8)if(i.data===ji)u.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(It,h+1))!==-1;)u.push({type:7,index:a}),h+=It.length-1}a++}}static createElement(e,o){let n=Zt.createElement("template");return n.innerHTML=e,n}};function sr(t,e,o=t,n){if(e===Mr)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Br(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=sr(t,i._$AS(t,e.values),i,n)),e}var gn=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??Zt).importNode(o,!0);Kt.currentNode=i;let a=Kt.nextNode(),l=0,c=0,u=n[0];for(;u!==void 0;){if(l===u.index){let p;u.type===2?p=new fo(a,a.nextSibling,this,e):u.type===1?p=new u.ctor(a,u.name,u.strings,this,e):u.type===6&&(p=new vn(a,this,e)),this._$AV.push(p),u=n[++c]}l!==u?.index&&(a=Kt.nextNode(),l++)}return Kt.currentNode=Zt,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},fo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=pe,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=sr(this,e,o),Br(e)?e===pe||e==null||e===""?(this._$AH!==pe&&this._$AR(),this._$AH=pe):e!==this._$AH&&e!==Mr&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):pd(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==pe&&Br(this._$AH)?this._$AA.nextSibling.data=e:this.T(Zt.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Ur.createElement(Xi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new gn(i,this),l=a.u(this.options);a.p(o),this.T(l),this._$AH=a}}_$AC(e){let o=Vi.get(e.strings);return o===void 0&&Vi.set(e.strings,o=new Ur(e)),o}k(e){Cn(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new t(this.O(po()),this.O(po()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},lr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=pe,this._$AN=void 0,this.element=e,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=pe}_$AI(e,o=this,n,i){let a=this.strings,l=!1;if(a===void 0)e=sr(this,e,o,0),l=!Br(e)||e!==this._$AH&&e!==Mr,l&&(this._$AH=e);else{let c=e,u,p;for(e=a[0],u=0;u<a.length-1;u++)p=sr(this,c[n+u],o,u),p===Mr&&(p=this._$AH[u]),l||=!Br(p)||p!==this._$AH[u],p===pe?e=pe:e!==pe&&(e+=(p??"")+a[u+1]),this._$AH[u]=p}l&&!i&&this.j(e)}j(e){e===pe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},mn=class extends lr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===pe?void 0:e}},bn=class extends lr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==pe)}},xn=class extends lr{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=sr(this,e,o,0)??pe)===Mr)return;let n=this._$AH,i=e===pe&&n!==pe||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==pe&&(n===pe||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},vn=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){sr(this,e)}};var hd=Sn.litHtmlPolyfillSupport;hd?.(Ur,fo),(Sn.litHtmlVersions??=[]).push("3.3.0");var et=t=>t??pe;function Fr(t,e,o){return t?e(t):o?.(t)}var yt=b(T());var bs=b(Z()),Re=b(T());var ka=b(Z()),ee=b(T());var Ze=b(Z()),A=b(T());var mt=b(Z(),1),Lt=t=>typeof t=="string"?(0,mt.unsafeCSS)(t):t,r=class{static create(e,o,n,i){let a=c=>Lt(c??i),l=mt.css`var(${Lt(e)}, ${a(i)})`;return l.name=e,l.description=o,l.category=n,l.defaultValue=i,l.defaultCssValue=a,l.set=c=>Qi(l,c??a(i)),l.get=c=>mt.css`var(${Lt(e)}, ${a(c)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(e,o,n,i){let a=c=>n.get(c??i),l=mt.css`var(${Lt(e)}, ${a(i)})`;return l.name=e,l.description=o,l.category=n.category,l.fallbackVariable=n,l.defaultValue=i,l.defaultCssValue=a,l.set=c=>Qi(l,c??a(i)),l.get=c=>mt.css`var(${Lt(e)}, ${a(c)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),l}static external(e,o){let n=a=>e.defaultCssValue(a),i=mt.css`var(${Lt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.set=a=>e.set(a),i.get=a=>mt.css`var(${Lt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function Qi(t,e){return Lt(`${t.name}: ${e}`)}var s={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.75rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),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)")},Ji={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")},ea={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")},ta={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")},ra={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")},oa={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")},na={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")},ia={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")},aa={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")},cr={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")},yd={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")},sa={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")},la={fontFamily:r.create("--ftds-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-medium-text-decoration","","UNKNOWN","none")},ca={fontFamily:r.create("--ftds-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},da={fontFamily:r.create("--ftds-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-bold-text-decoration","","UNKNOWN","none")},ua={fontFamily:r.create("--ftds-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-medium-text-decoration","","UNKNOWN","none")},pa={fontFamily:r.create("--ftds-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},fa={fontFamily:r.create("--ftds-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-bold-text-decoration","","UNKNOWN","none")},ha={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")},ya={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")},ga={fontFamily:r.create("--ftds-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},qt={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")},ma={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")},ba={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")},xa={fontFamily:r.create("--ftds-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},va={fontFamily:r.create("--ftds-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},Sa={fontFamily:r.create("--ftds-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},ho={display:Ji,"title-1":ea,"title-2":ta,"title-3":ra,"body-1-regular":oa,"body-1-medium":na,"body-1-semibold":ia,"body-2-regular":aa,"body-2-medium":cr,"body-2-medium-underline":yd,"body-2-semibold":sa,"label-1-medium":la,"label-1-semibold":ca,"label-1-bold":da,"label-2-medium":ua,"label-2-semibold":pa,"label-2-bold":fa,"caption-1-medium":ha,"caption-1-semibold":ya,"caption-1-bold":ga,"caption-2-medium":qt,"caption-2-semibold":ma,"caption-2-bold":ba,"caption-3-medium":xa,"caption-3-semibold":va,"caption-3-bold":Sa};var d={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
5
|
+
Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",s.colorGray200)};var f={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",s.spacing4),largeGap:r.extend("--ftds-button-large-gap","",s.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",s.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",s.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","",s.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",s.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",s.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","",s.spacing2),smallGap:r.extend("--ftds-button-small-gap","",s.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",s.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",s.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","",s.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","",s.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",s.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",s.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",s.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",s.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",s.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",s.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",s.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",s.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",s.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",s.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",s.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",s.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",s.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",s.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",s.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",s.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",s.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",s.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",s.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",s.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",s.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",s.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",s.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","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",s.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",s.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",s.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",s.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",s.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",s.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",s.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",s.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",s.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",s.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",s.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",s.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",s.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",s.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",s.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",s.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","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",s.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",s.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",s.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",s.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","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",s.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",s.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",s.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",s.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","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",s.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",s.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",s.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",s.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","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var lp={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",s.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",s.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",s.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","",s.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","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",s.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",s.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",s.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",s.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",s.spacing3),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",s.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",s.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",d.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","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",d.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","",s.spacing3),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",s.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",s.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",s.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",d.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","",s.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",s.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",s.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",s.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)};var fp={iconSize:r.extend("--ftds-checkbox-icon-size","",s.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"),color:r.extend("--ftds-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",s.spacing3),leftPadding:r.extend("--ftds-checkbox-left-padding","",s.spacing2)};var bp={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",d.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","",s.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",s.spacing3)};var Op={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",s.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",s.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",s.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",s.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",s.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",s.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",s.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",s.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",s.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",s.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",s.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",s.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",s.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",s.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",s.spacing1)};var Ip={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",s.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",s.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",s.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",s.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",s.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",s.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",s.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",s.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",s.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","",s.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",s.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",s.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","",s.iconSize2)};var $={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",s.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",s.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","",s.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",s.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",s.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","",s.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",s.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",s.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","",s.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",d.borderErrorSubtle)};var Bp={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",s.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",s.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",s.colorBrand100)};var Hp={iconSize:r.extend("--ftds-banner-icon-size","",s.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",s.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",s.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",s.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",d.borderInfoSubtle)};var Kp={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",s.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",s.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",s.borderRadiusPill),color:r.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",d.contentActionPrimary)};var Qp={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",s.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var of={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",s.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",s.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",s.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",s.spacing1),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",s.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",s.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",s.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",s.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",s.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",s.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",s.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",s.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",s.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",s.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",s.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",s.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",s.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",s.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",s.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",s.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",s.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var cf={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",s.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",s.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",s.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",s.spacing4)};var ff={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",s.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",s.spacing6)};var bf={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",s.spacing6),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",s.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",s.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",s.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",s.opacity40),shadow:r.extend("--ftds-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",s.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",s.spacing6),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",s.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",s.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",s.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",s.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ftds-modal-border-radius","",s.borderRadiusM)};var Of={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",s.opacity40),shadow:r.extend("--ftds-drawer-shadow","",s.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",s.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",s.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",s.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",s.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","",s.colorGray700)};var If={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ftds-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",s.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",s.opacity24),onColor:r.extend("--ftds-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",s.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var _f={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",s.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",s.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","",s.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",s.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",s.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",d.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","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",s.opacity40)};var Mf={backgroundColor:r.extend("--ftds-text-area-background-color","",s.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",d.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","",s.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",s.borderRadiusS)};var Wf={height:r.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",s.spacing4),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",s.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",s.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",s.shadowElevation02)};var Zf={largeFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:r.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:r.extend("--ftds-combobox-single-select-large-field-vertical-gap","",s.spacing05),largeFieldHeight:r.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-combobox-single-select-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:r.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-combobox-single-select-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:r.extend("--ftds-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ftds-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ftds-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:r.extend("--ftds-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:r.extend("--ftds-combobox-single-select-border-radius","",s.borderRadiusS),backgroundColor:r.extend("--ftds-combobox-single-select-background-color","",s.colorWhite),labelColor:r.extend("--ftds-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ftds-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-single-select-disabled-component-opacity","",s.opacity40)};var Jf={backgroundColor:r.extend("--ftds-combobox-multi-select-background-color","",s.colorWhite),labelColor:r.extend("--ftds-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ftds-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ftds-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ftds-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:r.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ftds-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ftds-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:r.extend("--ftds-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ftds-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ftds-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:r.extend("--ftds-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:r.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:r.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:r.extend("--ftds-combobox-multi-select-border-radius","",s.borderRadiusS)};var nh={backgroundColor:r.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ftds-popover-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ftds-popover-vertical-padding","",s.spacing6),titleColor:r.extend("--ftds-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",d.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",s.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",s.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",s.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",s.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",s.spacing6)};var ch={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",s.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",s.spacing3),color:r.extend("--ftds-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",s.iconSize3)};var hh={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",s.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",s.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ftds-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",s.opacity40),onColor:r.extend("--ftds-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",s.borderRadiusS)};var bh={color1Light:r.extend("--ftds-chart-1-light","for area color charts",s.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",s.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",s.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",s.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",s.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",s.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",s.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",s.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",s.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",s.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",s.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",s.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",s.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",s.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",s.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",s.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",s.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",s.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",s.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",s.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",s.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",s.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",s.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",s.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",s.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",s.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",s.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",s.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",s.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",s.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",s.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",s.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",s.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",s.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",s.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",s.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",s.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",s.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",s.colorCyan200)};var Ch={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",s.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",s.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",s.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",s.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",s.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",s.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",s.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",s.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",s.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",s.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",s.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",s.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",s.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",s.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",s.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",s.colorBrown0)};var Rh={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",s.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",s.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",s.borderRadiusS),gap:r.extend("--ftds-notice-gap","",s.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",s.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",d.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","",s.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",s.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var Ph={offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ftds-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",s.spacing3)};var Bh={iconSize:r.extend("--ftds-notification-icon-size","",s.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",s.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",s.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",s.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",s.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",s.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",s.spacing8)};var Hh={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",s.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",s.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",s.borderRadiusS),color:r.extend("--ftds-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",s.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",s.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",s.spacing05)};var Kh={verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",s.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",s.spacing1),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",s.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",s.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",s.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",s.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",s.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",s.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",s.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",s.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",s.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",s.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",s.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",s.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var Xh={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",s.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",s.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",s.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",s.spacing2)};var yo;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(yo||(yo={}));var Ne;(function(t){t.large="large",t.medium="medium",t.small="small"})(Ne||(Ne={}));var dr=b(Z());function Ca(t,e){let o=ho[t];return dr.css`
|
|
6
|
+
${e?(0,dr.unsafeCSS)(e):dr.css`.ft-typography--${(0,dr.unsafeCSS)(t)}`} {
|
|
7
7
|
font-family: ${o.fontFamily};
|
|
8
8
|
font-size: ${o.fontSize};
|
|
9
9
|
font-weight: ${o.fontWeight};
|
|
@@ -12,120 +12,120 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
12
12
|
text-decoration: ${o.textDecoration};
|
|
13
13
|
text-transform: ${o.textCase};
|
|
14
14
|
}
|
|
15
|
-
`}var
|
|
15
|
+
`}var Oa=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.titleFont),xt=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.contentFont),P={fontFamily:xt,fontSize:A.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:A.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:A.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:A.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:A.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ur={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Oa),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-font-size","",P.fontSize,"20px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",P.letterSpacing,"0.15px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-line-height","",P.lineHeight,"1.2"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",P.textTransform,"inherit")},pr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Oa),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",P.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",P.letterSpacing,"0.105px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",P.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",P.textTransform,"inherit")},fr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",xt),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",P.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",P.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",P.letterSpacing,"0.144px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",P.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",P.textTransform,"inherit")},hr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",xt),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",P.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",P.letterSpacing,"0.098px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",P.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",P.textTransform,"inherit")},bt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",xt),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",P.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",P.letterSpacing,"0.496px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",P.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",P.textTransform,"inherit")},Ke={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",xt),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",P.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",P.letterSpacing,"0.252px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",P.lineHeight,"1.4"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",P.textTransform,"inherit")},ve={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",xt),fontSize:A.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",P.fontSize,"12px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",P.letterSpacing,"0.396px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",P.lineHeight,"1.33"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",P.textTransform,"inherit")},yr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",xt),fontSize:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",P.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",P.letterSpacing,"0.33px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",P.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",P.textTransform,"inherit")},gr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",xt),fontSize:A.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",P.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",P.letterSpacing,"1.5px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",P.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",P.textTransform,"uppercase")},ut={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-button-font-family","",xt),fontSize:A.FtCssVariableFactory.extend("--ft-typography-button-font-size","",P.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",P.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",P.letterSpacing,"1.246px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-button-line-height","",P.lineHeight,"1.15"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",P.textTransform,"uppercase")},Ea=Ze.css`
|
|
16
16
|
.ft-typography--title {
|
|
17
|
-
font-family: ${
|
|
18
|
-
font-size: ${
|
|
19
|
-
font-weight: ${
|
|
20
|
-
letter-spacing: ${
|
|
21
|
-
line-height: ${
|
|
22
|
-
text-transform: ${
|
|
23
|
-
}
|
|
24
|
-
`,
|
|
17
|
+
font-family: ${ur.fontFamily};
|
|
18
|
+
font-size: ${ur.fontSize};
|
|
19
|
+
font-weight: ${ur.fontWeight};
|
|
20
|
+
letter-spacing: ${ur.letterSpacing};
|
|
21
|
+
line-height: ${ur.lineHeight};
|
|
22
|
+
text-transform: ${ur.textTransform};
|
|
23
|
+
}
|
|
24
|
+
`,wa=Ze.css`
|
|
25
25
|
.ft-typography--title-dense {
|
|
26
|
-
font-family: ${
|
|
27
|
-
font-size: ${
|
|
28
|
-
font-weight: ${
|
|
29
|
-
letter-spacing: ${
|
|
30
|
-
line-height: ${
|
|
31
|
-
text-transform: ${
|
|
32
|
-
}
|
|
33
|
-
`,
|
|
26
|
+
font-family: ${pr.fontFamily};
|
|
27
|
+
font-size: ${pr.fontSize};
|
|
28
|
+
font-weight: ${pr.fontWeight};
|
|
29
|
+
letter-spacing: ${pr.letterSpacing};
|
|
30
|
+
line-height: ${pr.lineHeight};
|
|
31
|
+
text-transform: ${pr.textTransform};
|
|
32
|
+
}
|
|
33
|
+
`,Aa=Ze.css`
|
|
34
34
|
.ft-typography--subtitle1 {
|
|
35
|
-
font-family: ${
|
|
36
|
-
font-size: ${
|
|
37
|
-
font-weight: ${
|
|
38
|
-
letter-spacing: ${
|
|
39
|
-
line-height: ${
|
|
40
|
-
text-transform: ${
|
|
41
|
-
}
|
|
42
|
-
`,
|
|
35
|
+
font-family: ${fr.fontFamily};
|
|
36
|
+
font-size: ${fr.fontSize};
|
|
37
|
+
font-weight: ${fr.fontWeight};
|
|
38
|
+
letter-spacing: ${fr.letterSpacing};
|
|
39
|
+
line-height: ${fr.lineHeight};
|
|
40
|
+
text-transform: ${fr.textTransform};
|
|
41
|
+
}
|
|
42
|
+
`,Ra=Ze.css`
|
|
43
43
|
.ft-typography--subtitle2 {
|
|
44
|
-
font-family: ${
|
|
45
|
-
font-size: ${
|
|
46
|
-
font-weight: ${
|
|
47
|
-
letter-spacing: ${
|
|
48
|
-
line-height: ${
|
|
49
|
-
text-transform: ${
|
|
44
|
+
font-family: ${hr.fontFamily};
|
|
45
|
+
font-size: ${hr.fontSize};
|
|
46
|
+
font-weight: ${hr.fontWeight};
|
|
47
|
+
letter-spacing: ${hr.letterSpacing};
|
|
48
|
+
line-height: ${hr.lineHeight};
|
|
49
|
+
text-transform: ${hr.textTransform};
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
`,
|
|
52
|
+
`,mr=Ze.css`
|
|
53
53
|
.ft-typography--body1 {
|
|
54
|
-
font-family: ${
|
|
55
|
-
font-size: ${
|
|
56
|
-
font-weight: ${
|
|
57
|
-
letter-spacing: ${
|
|
58
|
-
line-height: ${
|
|
59
|
-
text-transform: ${
|
|
60
|
-
}
|
|
61
|
-
`,
|
|
54
|
+
font-family: ${bt.fontFamily};
|
|
55
|
+
font-size: ${bt.fontSize};
|
|
56
|
+
font-weight: ${bt.fontWeight};
|
|
57
|
+
letter-spacing: ${bt.letterSpacing};
|
|
58
|
+
line-height: ${bt.lineHeight};
|
|
59
|
+
text-transform: ${bt.textTransform};
|
|
60
|
+
}
|
|
61
|
+
`,Ia=Ze.css`
|
|
62
62
|
.ft-typography--body2 {
|
|
63
|
-
font-family: ${
|
|
64
|
-
font-size: ${
|
|
65
|
-
font-weight: ${
|
|
66
|
-
letter-spacing: ${
|
|
67
|
-
line-height: ${
|
|
68
|
-
text-transform: ${
|
|
69
|
-
}
|
|
70
|
-
`,
|
|
63
|
+
font-family: ${Ke.fontFamily};
|
|
64
|
+
font-size: ${Ke.fontSize};
|
|
65
|
+
font-weight: ${Ke.fontWeight};
|
|
66
|
+
letter-spacing: ${Ke.letterSpacing};
|
|
67
|
+
line-height: ${Ke.lineHeight};
|
|
68
|
+
text-transform: ${Ke.textTransform};
|
|
69
|
+
}
|
|
70
|
+
`,br=Ze.css`
|
|
71
71
|
.ft-typography--caption {
|
|
72
|
-
font-family: ${
|
|
73
|
-
font-size: ${
|
|
74
|
-
font-weight: ${
|
|
75
|
-
letter-spacing: ${
|
|
76
|
-
line-height: ${
|
|
77
|
-
text-transform: ${
|
|
78
|
-
}
|
|
79
|
-
`,
|
|
72
|
+
font-family: ${ve.fontFamily};
|
|
73
|
+
font-size: ${ve.fontSize};
|
|
74
|
+
font-weight: ${ve.fontWeight};
|
|
75
|
+
letter-spacing: ${ve.letterSpacing};
|
|
76
|
+
line-height: ${ve.lineHeight};
|
|
77
|
+
text-transform: ${ve.textTransform};
|
|
78
|
+
}
|
|
79
|
+
`,La=Ze.css`
|
|
80
80
|
.ft-typography--breadcrumb {
|
|
81
|
-
font-family: ${
|
|
82
|
-
font-size: ${
|
|
83
|
-
font-weight: ${
|
|
84
|
-
letter-spacing: ${
|
|
85
|
-
line-height: ${
|
|
86
|
-
text-transform: ${
|
|
87
|
-
}
|
|
88
|
-
`,
|
|
81
|
+
font-family: ${yr.fontFamily};
|
|
82
|
+
font-size: ${yr.fontSize};
|
|
83
|
+
font-weight: ${yr.fontWeight};
|
|
84
|
+
letter-spacing: ${yr.letterSpacing};
|
|
85
|
+
line-height: ${yr.lineHeight};
|
|
86
|
+
text-transform: ${yr.textTransform};
|
|
87
|
+
}
|
|
88
|
+
`,Ta=Ze.css`
|
|
89
89
|
.ft-typography--overline {
|
|
90
|
-
font-family: ${
|
|
91
|
-
font-size: ${
|
|
92
|
-
font-weight: ${
|
|
93
|
-
letter-spacing: ${
|
|
94
|
-
line-height: ${
|
|
95
|
-
text-transform: ${
|
|
96
|
-
}
|
|
97
|
-
`,
|
|
90
|
+
font-family: ${gr.fontFamily};
|
|
91
|
+
font-size: ${gr.fontSize};
|
|
92
|
+
font-weight: ${gr.fontWeight};
|
|
93
|
+
letter-spacing: ${gr.letterSpacing};
|
|
94
|
+
line-height: ${gr.lineHeight};
|
|
95
|
+
text-transform: ${gr.textTransform};
|
|
96
|
+
}
|
|
97
|
+
`,Na=Ze.css`
|
|
98
98
|
.ft-typography--button {
|
|
99
|
-
font-family: ${
|
|
100
|
-
font-size: ${
|
|
101
|
-
font-weight: ${
|
|
102
|
-
letter-spacing: ${
|
|
103
|
-
line-height: ${
|
|
104
|
-
text-transform: ${
|
|
105
|
-
}
|
|
106
|
-
`,
|
|
99
|
+
font-family: ${ut.fontFamily};
|
|
100
|
+
font-size: ${ut.fontSize};
|
|
101
|
+
font-weight: ${ut.fontWeight};
|
|
102
|
+
letter-spacing: ${ut.letterSpacing};
|
|
103
|
+
line-height: ${ut.lineHeight};
|
|
104
|
+
text-transform: ${ut.textTransform};
|
|
105
|
+
}
|
|
106
|
+
`,Pa=Ze.css`
|
|
107
107
|
.ft-typography {
|
|
108
108
|
vertical-align: inherit;
|
|
109
109
|
}
|
|
110
|
-
`,
|
|
110
|
+
`,_a=[Object.keys(ho).map(t=>Ca(t))];var _={fontSize:ee.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:ee.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:ee.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:ee.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:ee.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:ee.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:ee.FtCssVariableFactory.extend("--ft-input-label-border-color","",ee.designSystemVariables.colorOutline),textColor:ee.FtCssVariableFactory.extend("--ft-input-label-text-color","",ee.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:ee.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",ee.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:ee.FtCssVariableFactory.extend("--ft-input-label-background-color","",ee.designSystemVariables.colorSurface),borderRadius:ee.FtCssVariableFactory.extend("--ft-input-label-border-radius","",ee.designSystemVariables.borderRadiusS),colorError:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorError,"Design system")},$a=ka.css`
|
|
111
111
|
.ft-input-label {
|
|
112
112
|
position: absolute;
|
|
113
113
|
inset: 0;
|
|
114
114
|
display: flex;
|
|
115
|
-
background-color: ${
|
|
116
|
-
border-radius: ${
|
|
115
|
+
background-color: ${_.backgroundColor};
|
|
116
|
+
border-radius: ${_.borderRadius} ${_.borderRadius} 0 0;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.ft-input-label--outlined {
|
|
120
|
-
border-radius: ${
|
|
120
|
+
border-radius: ${_.borderRadius};
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
.ft-input-label {
|
|
124
|
-
border-color: ${
|
|
124
|
+
border-color: ${_.borderColor};
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
.ft-input-label.ft-input-label--in-error {
|
|
128
|
-
border-color: ${
|
|
128
|
+
border-color: ${_.colorError}
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
.ft-input-label:before,
|
|
@@ -138,7 +138,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
.ft-input-label:before {
|
|
141
|
-
width: calc(${
|
|
141
|
+
width: calc(${_.horizontalSpacing} - 4px);
|
|
142
142
|
flex-shrink: 0;
|
|
143
143
|
}
|
|
144
144
|
|
|
@@ -154,20 +154,20 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
154
154
|
border-bottom-width: 1px;
|
|
155
155
|
border-bottom-style: solid;
|
|
156
156
|
border-color: inherit;
|
|
157
|
-
color: ${
|
|
157
|
+
color: ${_.textColor};
|
|
158
158
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
159
|
-
max-width: calc(${
|
|
159
|
+
max-width: calc(${_.labelMaxWidth} - 2 * (${_.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
160
160
|
text-overflow: ellipsis;
|
|
161
|
-
${(0,
|
|
162
|
-
${(0,
|
|
161
|
+
${(0,ee.setVariable)(ve.fontSize,_.fontSize)};
|
|
162
|
+
${(0,ee.setVariable)(ve.lineHeight,_.fontSize)};
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
.ft-input-label--in-error .ft-input-label--text {
|
|
166
|
-
color: ${
|
|
166
|
+
color: ${_.colorError}
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
.ft-input-label--disabled .ft-input-label--text {
|
|
170
|
-
color: ${
|
|
170
|
+
color: ${_.disabledTextColor};
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
.ft-input-label--hidden-text {
|
|
@@ -179,24 +179,24 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
179
179
|
|
|
180
180
|
.ft-input-label--floating-text {
|
|
181
181
|
position: absolute;
|
|
182
|
-
top: calc(50% - ${
|
|
182
|
+
top: calc(50% - ${ve.lineHeight} / 2);
|
|
183
183
|
transition: top 250ms;
|
|
184
184
|
overflow: hidden;
|
|
185
185
|
white-space: nowrap;
|
|
186
186
|
text-overflow: ellipsis;
|
|
187
|
-
padding: ${
|
|
188
|
-
margin: calc(${
|
|
187
|
+
padding: ${_.verticalSpacing} 4px;
|
|
188
|
+
margin: calc(${_.verticalSpacing} * -1) 0;
|
|
189
189
|
max-width: 100%;
|
|
190
190
|
box-sizing: border-box;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
.ft-input-label--raised .ft-input-label--text {
|
|
194
|
-
${(0,
|
|
195
|
-
${(0,
|
|
194
|
+
${(0,ee.setVariable)(ve.fontSize,_.raisedFontSize)};
|
|
195
|
+
${(0,ee.setVariable)(ve.lineHeight,_.raisedFontSize)};
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
199
|
-
top: ${
|
|
199
|
+
top: ${_.verticalSpacing};
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
.ft-input-label--outlined .ft-input-label--text,
|
|
@@ -209,52 +209,52 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
209
209
|
.ft-input-label--outlined:before {
|
|
210
210
|
border-left-width: 1px;
|
|
211
211
|
border-left-style: solid;
|
|
212
|
-
border-radius: ${
|
|
212
|
+
border-radius: ${_.borderRadius} 0 0 ${_.borderRadius};
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
.ft-input-label--outlined:after {
|
|
216
216
|
border-right-width: 1px;
|
|
217
217
|
border-right-style: solid;
|
|
218
|
-
border-radius: 0 ${
|
|
218
|
+
border-radius: 0 ${_.borderRadius} ${_.borderRadius} 0;
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
222
222
|
padding: 2px 4px;
|
|
223
|
-
z-index: ${
|
|
224
|
-
background-color: ${
|
|
225
|
-
border-radius: ${
|
|
226
|
-
top: calc((${
|
|
223
|
+
z-index: ${_.raisedZIndex};
|
|
224
|
+
background-color: ${_.backgroundColor};
|
|
225
|
+
border-radius: ${_.borderRadius};
|
|
226
|
+
top: calc((${ve.lineHeight} / -2) + 2px);
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
230
230
|
border-top: none;
|
|
231
231
|
}
|
|
232
|
-
`;var
|
|
233
|
-
<${
|
|
232
|
+
`;var _n=b(T());var ge=b(Z()),W=b(le()),gs=b(hn()),ms=b(gt());var Nt=b(T());var Fa=b(T());var Ba=Symbol.for(""),gd=t=>{if(t?.r===Ba)return t?._$litStatic$},En=t=>({_$litStatic$:t,r:Ba});var Da=new Map,wn=t=>(e,...o)=>{let n=o.length,i,a,l=[],c=[],u,p=0,g=!1;for(;p<n;){for(u=e[p];p<n&&(a=o[p],(i=gd(a))!==void 0);)u+=i+e[++p],g=!0;p!==n&&c.push(a),l.push(u),p++}if(p===n&&l.push(e[n]),g){let h=l.join("$$lit$$");(e=Da.get(h))===void 0&&(l.raw=l,Da.set(h,e=l)),o=c}return t(e,...o)},An=wn(Zi),xg=wn(qi),vg=wn(Yi);var Rn=b(le()),Ua=b(T());var ke;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(ke||(ke={}));var Ma=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ue=class extends Ua.FtLitElement{constructor(){super(...arguments),this.variant=ke.body1}render(){return this.element?An`
|
|
233
|
+
<${En(this.element)}
|
|
234
234
|
part="text"
|
|
235
235
|
class="ft-typography ft-typography--${this.variant}">
|
|
236
236
|
<slot></slot>
|
|
237
|
-
</${
|
|
238
|
-
`:
|
|
237
|
+
</${En(this.element)}>
|
|
238
|
+
`:An`
|
|
239
239
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
240
|
-
`}};
|
|
241
|
-
<div class="${(0,
|
|
242
|
-
${
|
|
240
|
+
`}};ue.styles=[Ea,wa,Aa,Ra,mr,Ia,br,La,Ta,Na,Pa,..._a];Ma([(0,Rn.property)()],ue.prototype,"element",void 0);Ma([(0,Rn.property)()],ue.prototype,"variant",void 0);(0,Fa.customElement)("ft-typography")(ue);var Nn=b(T());var go=b(le());var In=b(Z()),Ln=b(le());var Ha=b(gt()),Wa=b(T()),za=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},vt=class extends Wa.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return In.html`
|
|
241
|
+
<div class="${(0,Ha.classMap)(this.inputLabelClasses)}">
|
|
242
|
+
${Fr(this.text,()=>In.html`
|
|
243
243
|
<div class="ft-input-label--text ft-typography--caption">
|
|
244
244
|
<label class="ft-input-label--floating-text">${this.text}</label>
|
|
245
245
|
<span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
|
|
246
246
|
</div>
|
|
247
247
|
`)}
|
|
248
248
|
</div>
|
|
249
|
-
`}};
|
|
249
|
+
`}};vt.elementDefinitions={};za([(0,Ln.property)({type:String})],vt.prototype,"text",void 0);za([(0,Ln.property)({type:Boolean})],vt.prototype,"raised",void 0);var Tn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Fe=class extends vt{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};Fe.elementDefinitions={};Fe.styles=[br,$a];Tn([(0,go.property)({type:Boolean})],Fe.prototype,"outlined",void 0);Tn([(0,go.property)({type:Boolean})],Fe.prototype,"error",void 0);Tn([(0,go.property)({type:Boolean})],Fe.prototype,"disabled",void 0);var ja=b(T());var Va=b(Z());var fe=b(T()),Ae={fontSize:fe.FtCssVariableFactory.extend("--ft-input-label-font-size","",cr.fontSize),fontSizeRaised:fe.FtCssVariableFactory.extend("--ft-input-label-font-size-raised","",qt.fontSize),lineHeight:fe.FtCssVariableFactory.extend("--ft-input-label-line-height","",qt.lineHeight),color:fe.FtCssVariableFactory.extend("--ft-input-label-color","",fe.semantic.contentGlobalSubtle),largeFieldHeight:fe.FtCssVariableFactory.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:fe.FtCssVariableFactory.extend("--ft-input-label-large-field-vertical-gap","",s.spacing05),largeFieldHorizontalPadding:fe.FtCssVariableFactory.extend("--ft-input-label-large-field-horizontal-padding","",s.spacing4),mediumFieldHeight:fe.FtCssVariableFactory.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:fe.FtCssVariableFactory.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:fe.FtCssVariableFactory.extend("--ft-input-label-medium-field-horizontal-padding","",s.spacing4),additionalPaddingLeft:fe.FtCssVariableFactory.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:fe.FtCssVariableFactory.create("--ft-input-label-additional-padding-right","","SIZE","0px")},Ga=[Va.css`
|
|
250
250
|
|
|
251
251
|
:root {
|
|
252
|
-
--field-height: ${
|
|
253
|
-
--field-vertical-gap: ${
|
|
254
|
-
--field-horizontal-padding: ${
|
|
252
|
+
--field-height: ${Ae.largeFieldHeight};
|
|
253
|
+
--field-vertical-gap: ${Ae.largeFieldVerticalGap};
|
|
254
|
+
--field-horizontal-padding: ${Ae.largeFieldHorizontalPadding};
|
|
255
255
|
|
|
256
|
-
--typo-caption-height: calc(${
|
|
257
|
-
--typo-body-height: calc(${
|
|
256
|
+
--typo-caption-height: calc(${qt.lineHeight} * ${qt.fontSize});
|
|
257
|
+
--typo-body-height: calc(${cr.lineHeight} * ${cr.fontSize});
|
|
258
258
|
--caption-label-and-value-combined-height: calc(var(--field-vertical-gap) + var(--typo-caption-height) + var(--typo-body-height));
|
|
259
259
|
--input-content-vertical-padding: calc((var(--field-height) - var(--caption-label-and-value-combined-height)) / 2);
|
|
260
260
|
}
|
|
@@ -269,15 +269,15 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
.ft-input-label.ftds--size-large {
|
|
272
|
-
--field-height: ${
|
|
273
|
-
--field-vertical-gap: ${
|
|
274
|
-
--field-horizontal-padding: ${
|
|
272
|
+
--field-height: ${Ae.largeFieldHeight};
|
|
273
|
+
--field-vertical-gap: ${Ae.largeFieldVerticalGap};
|
|
274
|
+
--field-horizontal-padding: ${Ae.largeFieldHorizontalPadding};
|
|
275
275
|
}
|
|
276
276
|
|
|
277
277
|
.ft-input-label.ftds--size-medium {
|
|
278
|
-
--field-height: ${
|
|
279
|
-
--field-vertical-gap: ${
|
|
280
|
-
--field-horizontal-padding: ${
|
|
278
|
+
--field-height: ${Ae.mediumFieldHeight};
|
|
279
|
+
--field-vertical-gap: ${Ae.mediumFieldVerticalGap};
|
|
280
|
+
--field-horizontal-padding: ${Ae.mediumFieldHorizontalPadding};
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
.ft-input-label--text {
|
|
@@ -288,8 +288,8 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
288
288
|
z-index: 10;
|
|
289
289
|
width: 100%;
|
|
290
290
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
291
|
-
${(0,
|
|
292
|
-
${(0,
|
|
291
|
+
${(0,fe.setVariable)(ve.fontSize,Ae.fontSize)};
|
|
292
|
+
${(0,fe.setVariable)(ve.lineHeight,Ae.lineHeight)};
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
.ft-input-label--hidden-text {
|
|
@@ -310,25 +310,25 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
310
310
|
white-space: nowrap;
|
|
311
311
|
text-overflow: ellipsis;
|
|
312
312
|
|
|
313
|
-
padding-top: ${
|
|
314
|
-
padding-bottom: ${
|
|
315
|
-
padding-left: calc(var(--field-horizontal-padding) + ${
|
|
316
|
-
padding-right: calc(var(--field-horizontal-padding) + ${
|
|
313
|
+
padding-top: ${_.verticalSpacing};
|
|
314
|
+
padding-bottom: ${_.verticalSpacing};
|
|
315
|
+
padding-left: calc(var(--field-horizontal-padding) + ${Ae.additionalPaddingLeft});
|
|
316
|
+
padding-right: calc(var(--field-horizontal-padding) + ${Ae.additionalPaddingRight});
|
|
317
317
|
|
|
318
|
-
margin: calc(${
|
|
319
|
-
color: ${
|
|
318
|
+
margin: calc(${_.verticalSpacing} * -1) 0;
|
|
319
|
+
color: ${Ae.color};
|
|
320
320
|
}
|
|
321
321
|
|
|
322
322
|
.ft-input-label--raised .ft-input-label--text {
|
|
323
|
-
${(0,
|
|
324
|
-
${(0,
|
|
323
|
+
${(0,fe.setVariable)(ve.fontSize,Ae.fontSizeRaised)};
|
|
324
|
+
${(0,fe.setVariable)(ve.lineHeight,Ae.lineHeight)};
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
328
328
|
top: var(--input-content-vertical-padding);
|
|
329
329
|
}
|
|
330
330
|
|
|
331
|
-
`];var
|
|
331
|
+
`];var zr=class extends(0,ja.toFtdsBase)(vt){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};zr.styles=[br,Ga];(0,Nn.customElement)("ft-input-label")(Fe);(0,Nn.customElement)("ftds-input-label")(zr);var rs=b(T());var es=b(Z()),Ee=b(le()),ts=b(gt()),Hr=b(T());var Qa=b(Z()),he=b(T()),Ka=he.FtCssVariableFactory.extend("--ft-ripple-color","",he.designSystemVariables.colorContent),E={color:Ka,backgroundColor:he.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ka),opacityContentOnSurfacePressed:he.FtCssVariableFactory.external(he.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:he.FtCssVariableFactory.external(he.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:he.FtCssVariableFactory.external(he.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:he.FtCssVariableFactory.external(he.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:he.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Za=he.FtCssVariableFactory.extend("--ft-ripple-color","",he.designSystemVariables.colorPrimary),qa={color:Za,backgroundColor:he.FtCssVariableFactory.extend("--ft-ripple-background-color","",Za)},Ya=he.FtCssVariableFactory.extend("--ft-ripple-color","",he.designSystemVariables.colorSecondary),Xa={color:Ya,backgroundColor:he.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ya)},Ja=Qa.css`
|
|
332
332
|
:host {
|
|
333
333
|
display: contents;
|
|
334
334
|
}
|
|
@@ -341,7 +341,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
341
341
|
|
|
342
342
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
343
343
|
overflow: hidden;
|
|
344
|
-
border-radius: ${
|
|
344
|
+
border-radius: ${E.borderRadius};
|
|
345
345
|
}
|
|
346
346
|
|
|
347
347
|
.ft-ripple .ft-ripple--background,
|
|
@@ -375,27 +375,27 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
375
375
|
}
|
|
376
376
|
|
|
377
377
|
.ft-ripple .ft-ripple--background {
|
|
378
|
-
background-color: ${
|
|
378
|
+
background-color: ${E.backgroundColor};
|
|
379
379
|
}
|
|
380
380
|
|
|
381
381
|
.ft-ripple .ft-ripple--effect {
|
|
382
|
-
background-color: ${
|
|
382
|
+
background-color: ${E.color};
|
|
383
383
|
}
|
|
384
384
|
|
|
385
385
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
386
|
-
background-color: ${
|
|
386
|
+
background-color: ${Xa.backgroundColor};
|
|
387
387
|
}
|
|
388
388
|
|
|
389
389
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
390
|
-
background-color: ${
|
|
390
|
+
background-color: ${Xa.color};
|
|
391
391
|
}
|
|
392
392
|
|
|
393
393
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
394
|
-
background-color: ${
|
|
394
|
+
background-color: ${qa.backgroundColor};
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
398
|
-
background-color: ${
|
|
398
|
+
background-color: ${qa.color};
|
|
399
399
|
}
|
|
400
400
|
|
|
401
401
|
.ft-ripple .ft-ripple--background {
|
|
@@ -425,33 +425,33 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
425
425
|
}
|
|
426
426
|
|
|
427
427
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
428
|
-
opacity: ${
|
|
428
|
+
opacity: ${E.opacityContentOnSurfaceHover};
|
|
429
429
|
}
|
|
430
430
|
|
|
431
431
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
432
|
-
opacity: ${
|
|
432
|
+
opacity: ${E.opacityContentOnSurfaceSelected};
|
|
433
433
|
}
|
|
434
434
|
|
|
435
435
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
436
|
-
opacity: ${
|
|
436
|
+
opacity: ${E.opacityContentOnSurfaceFocused};
|
|
437
437
|
}
|
|
438
438
|
|
|
439
439
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
440
|
-
opacity: ${
|
|
440
|
+
opacity: ${E.opacityContentOnSurfacePressed};
|
|
441
441
|
transform: translate(-50%, -50%) scale(1);
|
|
442
442
|
}
|
|
443
|
-
`;var
|
|
443
|
+
`;var $e=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Y=class extends Hr.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 Hr.Debouncer(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Hr.Debouncer(10),this.moveRipple=e=>{var o,n;let{x:i,y:a}=this.getCoordinates(e),l=(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(i!=null?i-l.x:l.width/2),this.originY=Math.round(a!=null?a-l.y:l.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"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 es.html`
|
|
444
444
|
<style>
|
|
445
445
|
.ft-ripple .ft-ripple--effect {
|
|
446
446
|
left: ${this.originX}px;
|
|
447
447
|
top: ${this.originY}px;
|
|
448
448
|
}
|
|
449
449
|
</style>
|
|
450
|
-
<div class="${(0,
|
|
450
|
+
<div class="${(0,ts.classMap)(e)}">
|
|
451
451
|
<div class="ft-ripple--background"></div>
|
|
452
452
|
<div class="ft-ripple--effect"></div>
|
|
453
453
|
</div>
|
|
454
|
-
`}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)},l={passive:!0};t.addEventListener("mouseover",this.startHover,l),t.addEventListener("mousemove",this.moveRipple,l),t.addEventListener("mouseleave",this.endHover,l),t.addEventListener("mousedown",n,l),t.addEventListener("touchstart",a,l),t.addEventListener("touchmove",this.moveRipple,l),t.addEventListener("keydown",s,l),t.addEventListener("focus",this.startFocus,l),t.addEventListener("blur",this.endFocus,l),t.addEventListener("focusin",this.startFocus,l),t.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,l),t.removeEventListener("mousemove",this.moveRipple,l),t.removeEventListener("mouseleave",this.endHover,l),t.removeEventListener("mousedown",n,l),t.removeEventListener("touchstart",a,l),t.removeEventListener("touchmove",this.moveRipple,l),t.removeEventListener("keydown",s,l),t.removeEventListener("focus",this.startFocus,l),t.removeEventListener("blur",this.endFocus,l),t.removeEventListener("focusin",this.startFocus,l),t.removeEventListener("focusout",this.endFocus,l),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()}};z.elementDefinitions={};z.styles=Ca;fe([(0,ie.property)({type:Boolean})],z.prototype,"primary",void 0);fe([(0,ie.property)({type:Boolean})],z.prototype,"secondary",void 0);fe([(0,ie.property)({type:Boolean})],z.prototype,"unbounded",void 0);fe([(0,ie.property)({type:Boolean})],z.prototype,"activated",void 0);fe([(0,ie.property)({type:Boolean})],z.prototype,"selected",void 0);fe([(0,ie.property)({type:Boolean})],z.prototype,"disabled",void 0);fe([(0,ie.state)()],z.prototype,"hovered",void 0);fe([(0,ie.state)()],z.prototype,"focused",void 0);fe([(0,ie.state)()],z.prototype,"pressed",void 0);fe([(0,ie.state)()],z.prototype,"rippling",void 0);fe([(0,ie.state)()],z.prototype,"originX",void 0);fe([(0,ie.state)()],z.prototype,"originY",void 0);fe([(0,ie.query)(".ft-ripple")],z.prototype,"ripple",void 0);fe([(0,ie.query)(".ft-ripple--effect")],z.prototype,"rippleEffect",void 0);(0,Aa.customElement)("ft-ripple")(z);var La=b(D());var qt=b(Y()),We=b(ce()),Ta=b(D()),_a=b(Ra());var ct;(function(r){r.ADD_TO_PBK="",r.ALERT="",r.ADD_ALERT="",r.BACK_TO_SEARCH="",r.ADD_BOOKMARK="",r.BOOKMARK="",r.BOOKS="",r.MENU="",r.DOWNLOAD="",r.EDIT="",r.FEEDBACK="",r.HOME="",r.MODIFY_PBK="",r.SCHEDULED="",r.SEARCH="",r.EXPORT="",r.TOC="",r.WRITE_UGC="",r.TRASH="",r.USER="",r.EXTLINK="",r.CALENDAR="",r.OFFLINE="",r.BOOK="",r.DOWNLOAD_PLAIN="",r.CHECK="",r.STAR_PLAIN="",r.TOPICS="",r.DISC="",r.CIRCLE="",r.SHARED="",r.SORT_UNSORTED="",r.SORT_UP="",r.SORT_DOWN="",r.WORKING="",r.CLOSE="",r.ZOOM_OUT="",r.ZOOM_IN="",r.ZOOM_REALSIZE="",r.ZOOM_FULLSCREEN="",r.ADMIN_RESTRICTED="",r.ADMIN="",r.ADMIN_KHUB="",r.ADMIN_THEME="",r.ADMIN_USERS="",r.WARNING="",r.CONTEXT="",r.SEARCH_HOME="",r.STEPS="",r.ICON_EXPAND="",r.ICON_COLLAPSE="",r.INFO="",r.MINUS_PLAIN="",r.PLUS_PLAIN="",r.FACET_HAS_DESCENDANT="",r.TRIANGLE_BOTTOM="",r.TRIANGLE_LEFT="",r.TRIANGLE_RIGHT="",r.TRIANGLE_TOP="",r.THIN_ARROW="",r.SIGN_IN="",r.LOGOUT="",r.TRANSLATE="",r.CLOSE_PLAIN="",r.CHECK_PLAIN="",r.ARTICLE="",r.COLUMNS="",r.ANALYTICS="",r.COLLECTIONS="",r.ARROW_DOWN="",r.ARROW_LEFT="",r.ARROW_RIGHT="",r.ARROW_UP="",r.SEARCH_IN_PUBLICATION="",r.COPY_TO_CLIPBOARD="",r.SHARED_PBK="",r.ATTACHMENTS="",r.STRIPE_ARROW_LEFT="",r.STRIPE_ARROW_RIGHT="",r.FILTERS="",r.DOT="",r.MINUS="",r.PLUS="",r.MAILS_AND_NOTIFICATIONS="",r.SAVE="",r.LOCKER="",r.ADMIN_INTEGRATION="",r.SYNC="",r.TAG="",r.BOOK_PLAIN="",r.UPLOAD="",r.ONLINE="",r.TAG_PLAIN="",r.ACCOUNT_SETTINGS="",r.PRINT="",r.DEFAULT_ROLES="",r.SHORTCUT_MENU="",r.RELATIVES_PLAIN="",r.RELATIVES="",r.PAUSE="",r.PLAY="",r.ADMIN_PORTAL="",r.STAR="",r.THUMBS_DOWN="",r.THUMBS_DOWN_PLAIN="",r.THUMBS_UP="",r.THUMBS_UP_PLAIN="",r.FEEDBACK_PLAIN="",r.RATE_PLAIN="",r.RATE="",r.OFFLINE_SETTINGS="",r.MY_COLLECTIONS="",r.THIN_ARROW_LEFT="",r.THIN_ARROW_RIGHT="",r.RESET="",r.MY_LIBRARY="",r.UNSTRUCTURED_DOC="",r.CONTEXTUAL="",r.THIN_ARROW_UP="",r.ARROW_RIGHT_TO_LINE="",r.DESKTOP="",r.TABLET_LANDSCAPE="",r.TABLET_PORTRAIT="",r.MOBILE_LANDSCAPE="",r.MOBILE_PORTRAIT="",r.DIAGRAM_SUNBURST="",r.DIAGRAM_SANKEY="",r.COMMENT_QUESTION="",r.COMMENT_QUESTION_PLAIN="",r.MESSAGE_BOT="",r.CHART_SIMPLE="",r.BARS_PROGRESS="",r.BOOK_OPEN_GEAR="",r.BOOK_OPEN_GEAR_SLASH="",r.LINE_CHART="",r.STACKED_CHART="",r.CHART_BAR_STACKED="",r.CHART_BAR_GROUPED="",r.EYE_SLASH="",r.X_MARK="",r.EXPAND_WIDE="",r.PIP="",r.PIP_WIDE="",r.LIFE_RING="",r.GLOBE="",r.PIGGY_BANK="",r.EXTLINK_LIGHT="",r.CLONE="",r.CLONE_LINK_SIMPLE="",r.CHART_BAR_NORMALIZED="",r.CONSUMER="",r.OCTAGON_XMARK="",r.HOURGLASS_HALF="",r.CLOCK="",r.CLOCK_THREE="",r.CALENDAR_DAY="",r.COMPUTER_MOUSE_MAGNIFYING_GLASS="",r.WAND_MAGIC_SPARKLES="",r.PAPER_PLANE="",r.CIRCLE_STOP="",r.ARROW_ROTATE_RIGHT="",r.ARROWS_ROTATE="",r.ALIGN_RIGHT="",r.FORMAT_CLEAR="",r.ALIGN_CENTER="",r.ALIGN_LEFT="",r.PALETTE="",r.BOLD="",r.ITALIC="",r.UNDERLINE="",r.STRIKETHROUGH="",r.LINK_SIMPLE_SLASH="",r.LINK_SIMPLE="",r.ROUTE="",r.CIRCLE_USER_SLASH="",r.CIRCLE_USER_CHECK="",r.LIST_MAGNIFYING_GLASS="",r.MEDAL="",r.THUMBS_UP_THUMBS_DOWN_SOLID="",r.ARROW_TURN_DOWN_RIGHT="",r.FLASK="",r.LOCK_KEYHOLE_OPEN_SOLID="",r.HOURGLASS_END="",r.CIRCLE_QUESTION="",r.GRIP_LINES_SOLID="",r.TRANSLATE_SPARKLE_SOLID="",r.CODE="",r.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",r.PAPER_PLANE_SLASH="",r.COMPRESS="",r.EXPAND="",r.ARROW_ROTATE_LEFT="",r.EYE="",r.SHARE="󨃱",r.MOBILE_SMALL="",r.SPARKLES="",r.HAND_SOLID="",r.CLOCK_SOLID="",r.CONTEXT_MENU_CURSOR="",r.LANGUAGE_SLASH="",r.MAGNIFYING_GLASS_FLOPPY_DISK="",r.CABINET_FILING_FLOPPY_DISK="",r.BOOKMARK_SLASH="",r.CIRCLE_PAUSE="",r.CIRCLE_PLAY="",r.CIRCLE_STOP_PLAIN="",r.CLOUD_ARROW_DOWN="",r.SHARE_NODES="",r.BELL="",r.BELL_SLASH="",r.FILE="",r.HAND="",r.SQUARE_INFO_SOLID=""})(ct||(ct={}));var v;(function(r){r.UNKNOWN="",r.ABW="",r.AUDIO="",r.AVI="",r.CHM="",r.CODE="",r.CSV="",r.DITA="",r.EPUB="",r.EXCEL="",r.FLAC="",r.GIF="",r.GZIP="",r.HTML="",r.IMAGE="",r.JPEG="",r.JSON="",r.M4A="",r.MOV="",r.MP3="",r.MP4="",r.OGG="",r.PDF="",r.PNG="",r.POWERPOINT="",r.RAR="",r.STP="",r.TEXT="",r.VIDEO="",r.WAV="",r.WMA="",r.WORD="",r.XML="",r.YAML="",r.ZIP=""})(v||(v={}));var Oh=new Map([...["abw"].map(r=>[r,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(r=>[r,v.AUDIO]),...["avi"].map(r=>[r,v.AVI]),...["chm","xhs"].map(r=>[r,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(r=>[r,v.CODE]),...["csv"].map(r=>[r,v.CSV]),...["dita","ditamap","ditaval"].map(r=>[r,v.DITA]),...["epub"].map(r=>[r,v.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(r=>[r,v.EXCEL]),...["flac"].map(r=>[r,v.FLAC]),...["gif"].map(r=>[r,v.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(r=>[r,v.GZIP]),...["html","htm","xhtml"].map(r=>[r,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(r=>[r,v.IMAGE]),...["jpeg","jpg","jpe"].map(r=>[r,v.JPEG]),...["json"].map(r=>[r,v.JSON]),...["m4a","m4p"].map(r=>[r,v.M4A]),...["mov","qt"].map(r=>[r,v.MOV]),...["mp3"].map(r=>[r,v.MP3]),...["mp4","m4v"].map(r=>[r,v.MP4]),...["ogg","oga"].map(r=>[r,v.OGG]),...["pdf","ps"].map(r=>[r,v.PDF]),...["png"].map(r=>[r,v.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(r=>[r,v.POWERPOINT]),...["rar"].map(r=>[r,v.RAR]),...["stp"].map(r=>[r,v.STP]),...["txt","rtf","md","mdown"].map(r=>[r,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(r=>[r,v.VIDEO]),...["wav"].map(r=>[r,v.WAV]),...["wma"].map(r=>[r,v.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(r=>[r,v.WORD]),...["xml","xsl","rdf"].map(r=>[r,v.XML]),...["yaml","yml","x-yaml"].map(r=>[r,v.YAML]),...["zip"].map(r=>[r,v.ZIP])]);var Eh={[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 Na=b(Y()),Re=b(D()),me={size:Re.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Re.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Re.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Re.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Re.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Re.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Re.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Re.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ia=[Na.css`
|
|
454
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var o,n;super.update(e),e.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 e,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let o=(...c)=>u=>{c.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},l={passive:!0};e.addEventListener("mouseover",this.startHover,l),e.addEventListener("mousemove",this.moveRipple,l),e.addEventListener("mouseleave",this.endHover,l),e.addEventListener("mousedown",n,l),e.addEventListener("touchstart",i,l),e.addEventListener("touchmove",this.moveRipple,l),e.addEventListener("keydown",a,l),e.addEventListener("focus",this.startFocus,l),e.addEventListener("blur",this.endFocus,l),e.addEventListener("focusin",this.startFocus,l),e.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,l),e.removeEventListener("mousemove",this.moveRipple,l),e.removeEventListener("mouseleave",this.endHover,l),e.removeEventListener("mousedown",n,l),e.removeEventListener("touchstart",i,l),e.removeEventListener("touchmove",this.moveRipple,l),e.removeEventListener("keydown",a,l),e.removeEventListener("focus",this.startFocus,l),e.removeEventListener("blur",this.endFocus,l),e.removeEventListener("focusin",this.startFocus,l),e.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,n=e,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.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()}};Y.elementDefinitions={};Y.styles=Ja;$e([(0,Ee.property)({type:Boolean})],Y.prototype,"primary",void 0);$e([(0,Ee.property)({type:Boolean})],Y.prototype,"secondary",void 0);$e([(0,Ee.property)({type:Boolean})],Y.prototype,"unbounded",void 0);$e([(0,Ee.property)({type:Boolean})],Y.prototype,"activated",void 0);$e([(0,Ee.property)({type:Boolean})],Y.prototype,"selected",void 0);$e([(0,Ee.property)({type:Boolean})],Y.prototype,"disabled",void 0);$e([(0,Ee.state)()],Y.prototype,"hovered",void 0);$e([(0,Ee.state)()],Y.prototype,"focused",void 0);$e([(0,Ee.state)()],Y.prototype,"pressed",void 0);$e([(0,Ee.state)()],Y.prototype,"rippling",void 0);$e([(0,Ee.state)()],Y.prototype,"originX",void 0);$e([(0,Ee.state)()],Y.prototype,"originY",void 0);$e([(0,Ee.query)(".ft-ripple")],Y.prototype,"ripple",void 0);$e([(0,Ee.query)(".ft-ripple--effect")],Y.prototype,"rippleEffect",void 0);(0,rs.customElement)("ft-ripple")(Y);var cs=b(T());var Wr=b(Z()),Tt=b(le()),ss=b(T()),ls=b(ns());var St;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.EYE="",t.SHARE="󨃱",t.MOBILE_SMALL="",t.SPARKLES="",t.HAND_SOLID="",t.CLOCK_SOLID="",t.CONTEXT_MENU_CURSOR="",t.LANGUAGE_SLASH="",t.MAGNIFYING_GLASS_FLOPPY_DISK="",t.CABINET_FILING_FLOPPY_DISK="",t.BOOKMARK_SLASH="",t.CIRCLE_PAUSE="",t.CIRCLE_PLAY="",t.CIRCLE_STOP_PLAIN="",t.CLOUD_ARROW_DOWN="",t.SHARE_NODES="",t.BELL="",t.BELL_SLASH="",t.FILE="",t.HAND="",t.SQUARE_INFO_SOLID=""})(St||(St={}));var w;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(w||(w={}));var pm=new Map([...["abw"].map(t=>[t,w.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(t=>[t,w.AUDIO]),...["avi"].map(t=>[t,w.AVI]),...["chm","xhs"].map(t=>[t,w.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(t=>[t,w.CODE]),...["csv"].map(t=>[t,w.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,w.DITA]),...["epub"].map(t=>[t,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,w.EXCEL]),...["flac"].map(t=>[t,w.FLAC]),...["gif"].map(t=>[t,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,w.GZIP]),...["html","htm","xhtml"].map(t=>[t,w.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(t=>[t,w.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,w.JPEG]),...["json"].map(t=>[t,w.JSON]),...["m4a","m4p"].map(t=>[t,w.M4A]),...["mov","qt"].map(t=>[t,w.MOV]),...["mp3"].map(t=>[t,w.MP3]),...["mp4","m4v"].map(t=>[t,w.MP4]),...["ogg","oga"].map(t=>[t,w.OGG]),...["pdf","ps"].map(t=>[t,w.PDF]),...["png"].map(t=>[t,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,w.POWERPOINT]),...["rar"].map(t=>[t,w.RAR]),...["stp"].map(t=>[t,w.STP]),...["txt","rtf","md","mdown"].map(t=>[t,w.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(t=>[t,w.VIDEO]),...["wav"].map(t=>[t,w.WAV]),...["wma"].map(t=>[t,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,w.WORD]),...["xml","xsl","rdf"].map(t=>[t,w.XML]),...["yaml","yml","x-yaml"].map(t=>[t,w.YAML]),...["zip"].map(t=>[t,w.ZIP])]);var fm={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var is=b(Z()),tt=b(T()),te={size:tt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:tt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",tt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:tt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",tt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:tt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",tt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:tt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},as=[is.css`
|
|
455
455
|
:host, i.ft-icon {
|
|
456
456
|
display: inline-flex;
|
|
457
457
|
align-items: center;
|
|
@@ -460,14 +460,14 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
460
460
|
}
|
|
461
461
|
|
|
462
462
|
:host {
|
|
463
|
-
width: ${
|
|
464
|
-
height: ${
|
|
463
|
+
width: ${te.size};
|
|
464
|
+
height: ${te.size};
|
|
465
465
|
}
|
|
466
466
|
|
|
467
467
|
i.ft-icon {
|
|
468
468
|
width: 100%;
|
|
469
469
|
height: 100%;
|
|
470
|
-
font-size: ${
|
|
470
|
+
font-size: ${te.size};
|
|
471
471
|
line-height: 1;
|
|
472
472
|
font-weight: normal;
|
|
473
473
|
text-transform: none;
|
|
@@ -478,33 +478,33 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
478
478
|
text-rendering: auto;
|
|
479
479
|
-webkit-font-smoothing: antialiased;
|
|
480
480
|
-moz-osx-font-smoothing: grayscale;
|
|
481
|
-
vertical-align: ${
|
|
481
|
+
vertical-align: ${te.verticalAlign};
|
|
482
482
|
}
|
|
483
483
|
|
|
484
484
|
i.ft-icon.ft-icon--fluid-topics {
|
|
485
|
-
font-family: ${
|
|
485
|
+
font-family: ${te.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
486
486
|
|
|
487
487
|
/* Ugly fix because font is broken */
|
|
488
|
-
font-size: calc(0.75 * ${
|
|
489
|
-
line-height: ${
|
|
488
|
+
font-size: calc(0.75 * ${te.size});
|
|
489
|
+
line-height: ${te.size};
|
|
490
490
|
position: relative;
|
|
491
491
|
top: -4%;
|
|
492
492
|
justify-content: center;
|
|
493
493
|
}
|
|
494
494
|
|
|
495
495
|
.ft-icon--file-format {
|
|
496
|
-
font-family: ${
|
|
496
|
+
font-family: ${te.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
497
497
|
}
|
|
498
498
|
|
|
499
499
|
.ft-icon--material {
|
|
500
|
-
font-family: ${
|
|
500
|
+
font-family: ${te.materialFontFamily}, "Material Icons", sans-serif;
|
|
501
501
|
}
|
|
502
|
-
`,
|
|
503
|
-
<i class="ft-icon ft-icon--${
|
|
504
|
-
${(0,
|
|
502
|
+
`,tt.noTextSelect];var qe;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(qe||(qe={}));var Vr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},se=class extends ss.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Wr.nothing}render(){let e=this.variant&&Object.values(qe).includes(this.variant)?this.variant:qe.fluid_topics,o=e!==qe.material||!!this.value;return Wr.html`
|
|
503
|
+
<i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
|
|
504
|
+
${(0,ls.unsafeHTML)(this.resolvedIcon)}
|
|
505
505
|
<slot ?hidden=${o}></slot>
|
|
506
506
|
</i>
|
|
507
|
-
`}get textContent(){var
|
|
507
|
+
`}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.textContent;switch(this.variant){case qe.file_format:this.resolvedIcon=(e=w[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case qe.material:this.resolvedIcon=this.value||Wr.nothing;break;default:this.resolvedIcon=(o=St[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};se.elementDefinitions={};se.styles=as;Vr([(0,Tt.property)()],se.prototype,"variant",void 0);Vr([(0,Tt.property)()],se.prototype,"value",void 0);Vr([(0,Tt.property)({reflect:!0,attribute:"aria-hidden"})],se.prototype,"ariaHidden",void 0);Vr([(0,Tt.state)()],se.prototype,"resolvedIcon",void 0);Vr([(0,Tt.query)("slot")],se.prototype,"slottedContent",void 0);(0,cs.customElement)("ft-icon")(se);var ds=b(Z()),D=b(T());var B={fontSize:D.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:D.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:D.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:D.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:D.FtCssVariableFactory.extend("--ft-text-field-helper-color","",D.designSystemVariables.colorOnSurfaceMedium),colorPrimary:D.FtCssVariableFactory.external(D.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:D.FtCssVariableFactory.external(D.designSystemVariables.borderRadiusS,"Design system"),colorError:D.FtCssVariableFactory.external(D.designSystemVariables.colorError,"Design system"),prefixColor:D.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",D.designSystemVariables.colorOnSurfaceMedium),iconColor:D.FtCssVariableFactory.extend("--ft-text-field-icon-color","",D.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:D.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),backgroundColor:D.FtCssVariableFactory.extend("--ft-text-field-background-color","",D.designSystemVariables.colorSurface),colorOutline:D.FtCssVariableFactory.external(D.designSystemVariables.colorOutline,"Design system"),elevation02:D.FtCssVariableFactory.external(D.designSystemVariables.elevation02,"Design system"),suggestSize:D.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},us=ds.css`
|
|
508
508
|
*:focus {
|
|
509
509
|
outline: none;
|
|
510
510
|
}
|
|
@@ -514,21 +514,21 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
514
514
|
flex-direction: column;
|
|
515
515
|
align-items: stretch;
|
|
516
516
|
position: relative;
|
|
517
|
-
--text-field-internal-suggest-size: ${
|
|
517
|
+
--text-field-internal-suggest-size: ${B.suggestSize};
|
|
518
518
|
}
|
|
519
519
|
|
|
520
520
|
ft-input-label {
|
|
521
|
-
${(0,
|
|
522
|
-
${(0,
|
|
523
|
-
${(0,
|
|
524
|
-
${(0,
|
|
525
|
-
${(0,
|
|
521
|
+
${(0,D.setVariable)(_.fontSize,B.fontSize)};
|
|
522
|
+
${(0,D.setVariable)(_.raisedFontSize,B.labelSize)};
|
|
523
|
+
${(0,D.setVariable)(_.verticalSpacing,B.verticalSpacing)};
|
|
524
|
+
${(0,D.setVariable)(_.horizontalSpacing,B.horizontalSpacing)};
|
|
525
|
+
${(0,D.setVariable)(_.backgroundColor,B.backgroundColor)};
|
|
526
526
|
}
|
|
527
527
|
|
|
528
528
|
.ft-text-field--main-panel {
|
|
529
529
|
position: relative;
|
|
530
530
|
display: flex;
|
|
531
|
-
height: calc(4 * ${
|
|
531
|
+
height: calc(4 * ${B.verticalSpacing} + ${B.labelSize} + ${B.fontSize});
|
|
532
532
|
}
|
|
533
533
|
|
|
534
534
|
.ft-text-field--input-panel {
|
|
@@ -537,24 +537,24 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
537
537
|
display: flex;
|
|
538
538
|
align-items: center;
|
|
539
539
|
overflow: hidden;
|
|
540
|
-
padding: 0 ${
|
|
540
|
+
padding: 0 ${B.horizontalSpacing};
|
|
541
541
|
|
|
542
|
-
${(0,
|
|
543
|
-
${(0,
|
|
542
|
+
${(0,D.setVariable)(bt.fontSize,B.fontSize)};
|
|
543
|
+
${(0,D.setVariable)(bt.lineHeight,B.fontSize)};
|
|
544
544
|
}
|
|
545
545
|
|
|
546
546
|
.ft-text-field--input-panel ft-ripple {
|
|
547
|
-
${(0,
|
|
548
|
-
${(0,
|
|
547
|
+
${(0,D.setVariable)(E.opacityContentOnSurfaceHover,"0.08")};
|
|
548
|
+
${(0,D.setVariable)(E.opacityContentOnSurfacePressed,"0.04")};
|
|
549
549
|
}
|
|
550
550
|
|
|
551
551
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
|
|
552
552
|
align-items: flex-end;
|
|
553
|
-
padding: 0 ${
|
|
553
|
+
padding: 0 ${B.horizontalSpacing} ${B.verticalSpacing} ${B.horizontalSpacing};
|
|
554
554
|
}
|
|
555
555
|
|
|
556
556
|
.ft-text-field--prefix {
|
|
557
|
-
color: ${
|
|
557
|
+
color: ${B.prefixColor};
|
|
558
558
|
margin-right: 2px;
|
|
559
559
|
flex-shrink: 1;
|
|
560
560
|
overflow: hidden;
|
|
@@ -573,22 +573,22 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
573
573
|
flex-shrink: 1;
|
|
574
574
|
min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
|
|
575
575
|
|
|
576
|
-
color: ${
|
|
577
|
-
padding: calc(2 * ${
|
|
576
|
+
color: ${B.colorOnSurface};
|
|
577
|
+
padding: calc(2 * ${B.verticalSpacing}) 0;
|
|
578
578
|
border: none;
|
|
579
579
|
background: none;
|
|
580
580
|
|
|
581
581
|
&:-webkit-autofill,
|
|
582
582
|
&:-webkit-autofill:hover,
|
|
583
583
|
&:-webkit-autofill:focus {
|
|
584
|
-
-webkit-text-fill-color: ${
|
|
584
|
+
-webkit-text-fill-color: ${B.colorOnSurface};
|
|
585
585
|
transition: background-color 50000000s ease-in-out 100000s;
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
588
|
|
|
589
589
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
|
|
590
590
|
padding-bottom: 0;
|
|
591
|
-
padding-top: calc(${
|
|
591
|
+
padding-top: calc(${B.labelSize} + 2 * ${B.verticalSpacing});
|
|
592
592
|
}
|
|
593
593
|
|
|
594
594
|
.ft-text-field--input::-webkit-calendar-picker-indicator,
|
|
@@ -597,37 +597,37 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
597
597
|
}
|
|
598
598
|
|
|
599
599
|
.ft-text-field--disabled .ft-text-field--input {
|
|
600
|
-
color: ${
|
|
600
|
+
color: ${B.colorOnSurfaceDisabled};
|
|
601
601
|
}
|
|
602
602
|
|
|
603
603
|
.ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
|
|
604
|
-
${(0,
|
|
605
|
-
${(0,
|
|
604
|
+
${(0,D.setVariable)(_.borderColor,B.colorPrimary)};
|
|
605
|
+
${(0,D.setVariable)(_.textColor,B.colorPrimary)};
|
|
606
606
|
}
|
|
607
607
|
|
|
608
608
|
.ft-text-field--filled .ft-text-field--input-panel {
|
|
609
|
-
border-radius: ${
|
|
609
|
+
border-radius: ${B.borderRadiusS} ${B.borderRadiusS} 0 0;
|
|
610
610
|
}
|
|
611
611
|
|
|
612
612
|
.ft-text-field--outlined .ft-text-field--input-panel {
|
|
613
|
-
border-radius: ${
|
|
613
|
+
border-radius: ${B.borderRadiusS};
|
|
614
614
|
}
|
|
615
615
|
|
|
616
616
|
.ft-text-field--helper-text {
|
|
617
|
-
padding: 0 12px 0 ${
|
|
618
|
-
color: ${
|
|
617
|
+
padding: 0 12px 0 ${B.horizontalSpacing};
|
|
618
|
+
color: ${B.helperColor};
|
|
619
619
|
}
|
|
620
620
|
|
|
621
621
|
.ft-text-field--in-error .ft-text-field--input,
|
|
622
622
|
.ft-text-field--in-error .ft-text-field--helper-text,
|
|
623
623
|
.ft-text-field--in-error .ft-text-field--prefix {
|
|
624
|
-
color: ${
|
|
624
|
+
color: ${B.colorError};
|
|
625
625
|
}
|
|
626
626
|
|
|
627
627
|
.ft-text-field--icon {
|
|
628
628
|
align-self: center;
|
|
629
629
|
margin-left: 8px;
|
|
630
|
-
color: ${
|
|
630
|
+
color: ${B.iconColor};
|
|
631
631
|
}
|
|
632
632
|
|
|
633
633
|
.ft-text-field--container {
|
|
@@ -638,11 +638,11 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
638
638
|
display: none;
|
|
639
639
|
flex-direction: column;
|
|
640
640
|
position: absolute;
|
|
641
|
-
z-index: ${
|
|
642
|
-
background: ${
|
|
643
|
-
border: 1px solid ${
|
|
644
|
-
border-radius: 0 0 ${
|
|
645
|
-
box-shadow: ${
|
|
641
|
+
z-index: ${B.floatingZIndex};
|
|
642
|
+
background: ${B.backgroundColor};
|
|
643
|
+
border: 1px solid ${B.colorOutline};
|
|
644
|
+
border-radius: 0 0 ${B.borderRadiusS} ${B.borderRadiusS};
|
|
645
|
+
box-shadow: ${B.elevation02};
|
|
646
646
|
outline: none;
|
|
647
647
|
max-height: var(--text-field-internal-suggest-size);
|
|
648
648
|
overflow-y: auto;
|
|
@@ -657,13 +657,13 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
657
657
|
}
|
|
658
658
|
|
|
659
659
|
.ft-text-field--with-icon {
|
|
660
|
-
${(0,
|
|
660
|
+
${(0,D.setVariable)(_.labelMaxWidth,`calc(100% - ${te.size} - ${_.horizontalSpacing})`)};
|
|
661
661
|
}
|
|
662
662
|
|
|
663
663
|
.ft-text-field--with-password ft-icon:hover {
|
|
664
664
|
cursor: pointer;
|
|
665
665
|
}
|
|
666
|
-
`;var
|
|
666
|
+
`;var hs=b(T()),Gr=b(Z()),Yt=b(le());var ps=b(Z());var fs=ps.css`
|
|
667
667
|
.ft-text-field-suggestion {
|
|
668
668
|
position: relative;
|
|
669
669
|
padding: 8px 16px;
|
|
@@ -693,30 +693,30 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
693
693
|
}
|
|
694
694
|
|
|
695
695
|
.ft-text-field-suggestion--helper-text {
|
|
696
|
-
color: ${
|
|
696
|
+
color: ${B.helperColor};
|
|
697
697
|
}
|
|
698
698
|
|
|
699
699
|
slot {
|
|
700
700
|
pointer-events: none;
|
|
701
701
|
}
|
|
702
|
-
`;var
|
|
703
|
-
<div class=${(0,
|
|
702
|
+
`;var ys=b(gt()),mo=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Pn=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e,bubbles:!0,composed:!0})}},Ye=class extends hs.FtLitElement{render(){let e={"ft-text-field-suggestion":!0,"ft-text-field-suggestion--with-helper":!!this.helper};return Gr.html`
|
|
703
|
+
<div class=${(0,ys.classMap)(e)}
|
|
704
704
|
tabindex="-1"
|
|
705
705
|
@keydown=${this.onKeyDown}
|
|
706
706
|
@click=${this.confirmSuggestion}>
|
|
707
707
|
<ft-ripple></ft-ripple>
|
|
708
|
-
${this.helper?
|
|
708
|
+
${this.helper?Gr.html`
|
|
709
709
|
<ft-typography class="ft-text-field-suggestion--helper-text" variant="caption">
|
|
710
710
|
${this.helper}
|
|
711
|
-
</ft-typography>`:
|
|
711
|
+
</ft-typography>`:Gr.nothing}
|
|
712
712
|
<ft-typography part="label"
|
|
713
713
|
variant="body1"
|
|
714
714
|
class="ft-text-field-suggestion--label">
|
|
715
715
|
<slot></slot>
|
|
716
716
|
</ft-typography>
|
|
717
717
|
</div>
|
|
718
|
-
`}focus(
|
|
719
|
-
<div class="${(0,
|
|
718
|
+
`}focus(e){var o;(o=this.container)===null||o===void 0||o.focus(e)}click(){var e;(e=this.container)===null||e===void 0||e.click()}confirmSuggestion(){this.dispatchEvent(new Pn(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map(e=>e.textContent).join("").trim()}onKeyDown(e){["Enter"," "].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),this.confirmSuggestion())}};Ye.elementDefinitions={"ft-ripple":Y,"ft-typography":ue,"ft-icon":se};Ye.styles=fs;mo([(0,Yt.property)()],Ye.prototype,"value",void 0);mo([(0,Yt.property)()],Ye.prototype,"helper",void 0);mo([(0,Yt.query)(".ft-text-field-suggestion")],Ye.prototype,"container",void 0);mo([(0,Yt.queryAssignedNodes)()],Ye.prototype,"assignedNodes",void 0);var q=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},H=class extends(0,Nt.toFtFormComponent)(Nt.FtLitElement){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=St.EYE_SLASH,this.passwordRevealedIcon=St.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[],this.providedSuggestions=[]}get value(){return this._value||""}set value(e){this.setInternalValue(e||""),this.dispatchedValue=e||""}setInternalValue(e){let o=this._value;this._value=e||"",this.setFormValue(this._value),this.requestUpdate("value",o)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}blur(){var e;(e=this.input)===null||e===void 0||e.blur()}render(){let e={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--fixed":this.fixedMenuPosition,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":!this.suggestionsShouldBeDisplayed(),"ft-text-field--raised-label":this.focused||this.value!="","ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.isPasswordField()},o=this.suggestionsProvider&&this.value&&this.value!=""&&!this.providedSuggestions.map(a=>a.label).includes(this.value),i=!this.suggestionsProvider&&this.filterSuggestions&&this.value&&this.value!=""||o;return ge.html`
|
|
719
|
+
<div class="${(0,ms.classMap)(e)}">
|
|
720
720
|
<div class="ft-text-field--main-panel"
|
|
721
721
|
@keydown=${this.handleKeyboardNavigation}
|
|
722
722
|
@focusout=${this.onMainPanelBlur}>
|
|
@@ -726,19 +726,19 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
726
726
|
?raised=${this.focused||this.value!=""}
|
|
727
727
|
?error=${this.error}></ft-input-label>
|
|
728
728
|
<div class="ft-text-field--input-panel">
|
|
729
|
-
${this.outlined?
|
|
729
|
+
${this.outlined?ge.nothing:ge.html`
|
|
730
730
|
<ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
|
|
731
731
|
`}
|
|
732
|
-
${this.prefix?
|
|
732
|
+
${this.prefix?ge.html`
|
|
733
733
|
<ft-typography class="ft-text-field--prefix" variant="body1">
|
|
734
734
|
${this.prefix}
|
|
735
735
|
</ft-typography>
|
|
736
|
-
`:
|
|
736
|
+
`:ge.nothing}
|
|
737
737
|
<input type="${this.resolveInputType()}"
|
|
738
|
-
name="${
|
|
739
|
-
maxlength="${
|
|
738
|
+
name="${et(this.name)}"
|
|
739
|
+
maxlength="${et(this.maxLength||void 0)}"
|
|
740
740
|
aria-label="${this.label}"
|
|
741
|
-
autocomplete="${
|
|
741
|
+
autocomplete="${et(this.autocomplete)}"
|
|
742
742
|
class="ft-typography--body1 ft-text-field--input"
|
|
743
743
|
part="input"
|
|
744
744
|
?disabled=${this.disabled}
|
|
@@ -751,40 +751,40 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
751
751
|
<div class="ft-text-field--suggestions"
|
|
752
752
|
@suggestion-selected=${this.onSuggestionSelected}>
|
|
753
753
|
${this.renderSuggestions()}
|
|
754
|
-
${
|
|
754
|
+
${i?ge.html`
|
|
755
755
|
<ft-text-field-suggestion class="ft-text-field-suggestion--new-value" helper="${this.suggestionsHelper}">
|
|
756
756
|
${this.value}
|
|
757
757
|
</ft-text-field-suggestion>
|
|
758
|
-
`:
|
|
758
|
+
`:ge.nothing}
|
|
759
759
|
</div>
|
|
760
760
|
</div>
|
|
761
|
-
${this.helper?
|
|
761
|
+
${this.helper?ge.html`
|
|
762
762
|
<ft-typography class="ft-text-field--helper-text" variant="caption">
|
|
763
763
|
${this.helper}
|
|
764
764
|
</ft-typography>
|
|
765
|
-
`:
|
|
765
|
+
`:ge.nothing}
|
|
766
766
|
</div>
|
|
767
|
-
`}resolveInputType(){var
|
|
768
|
-
${(0
|
|
769
|
-
<ft-text-field-suggestion value="${
|
|
770
|
-
${
|
|
771
|
-
<ft-icon .value=${
|
|
772
|
-
`:
|
|
773
|
-
${
|
|
767
|
+
`}resolveInputType(){var e;return this.isPasswordField()?this.hidePassword?"password":"text":(e=this.type)!==null&&e!==void 0?e:"text"}renderSuggestions(){return this.suggestionsProvider?ge.html`
|
|
768
|
+
${(0,gs.repeat)(this.providedSuggestions,e=>ge.html`
|
|
769
|
+
<ft-text-field-suggestion value="${e.value}" @click=${o=>this.onSuggestionClick(o,e.clickHandler)}>
|
|
770
|
+
${e.icon?ge.html`
|
|
771
|
+
<ft-icon .value=${e.icon}></ft-icon>
|
|
772
|
+
`:ge.nothing}
|
|
773
|
+
${e.label}
|
|
774
774
|
</ft-text-field-suggestion>`)}
|
|
775
|
-
`:
|
|
775
|
+
`:ge.html`
|
|
776
776
|
<slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
|
|
777
|
-
`}onSuggestionClick(
|
|
777
|
+
`}onSuggestionClick(e,o){o&&(e.preventDefault(),o(e))}renderPasswordIcon(){return ge.html`
|
|
778
778
|
<ft-icon class="ft-text-field--icon"
|
|
779
779
|
.variant=${this.iconVariant}
|
|
780
780
|
.value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
|
|
781
781
|
@click=${()=>this.togglePasswordVisibility()}></ft-icon>
|
|
782
|
-
`}renderIcon(){return this.isPasswordField()?this.renderPasswordIcon():this.icon?
|
|
782
|
+
`}renderIcon(){return this.isPasswordField()?this.renderPasswordIcon():this.icon?ge.html`
|
|
783
783
|
<ft-icon class="ft-text-field--icon"
|
|
784
784
|
.variant=${this.iconVariant}
|
|
785
785
|
.value=${this.icon}
|
|
786
|
-
@click=${()=>{var
|
|
787
|
-
`:
|
|
786
|
+
@click=${()=>{var e;return(e=this.input)===null||e===void 0?void 0:e.focus()}}></ft-icon>
|
|
787
|
+
`:ge.nothing}update(e){super.update(e),(e.has("value")||e.has("filterSuggestions")||e.has("suggestionsProvider"))&&this.updateSuggestions(),e.has("value")&&e.get("value")!=null&&(this.hideSuggestions=!1),e.has("dispatchedValue")&&e.get("dispatchedValue")!=null&&(this.hideSuggestions=!0)}async updateSuggestions(){this.suggestionsProvider?this.providedSuggestions=await this.suggestionsProvider(this.value):this.filterSuggestionsIfNeeded()}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.slottedSuggestions.forEach(e=>e.hidden=!e.getValue().toLowerCase().includes(this.value.toLowerCase())),this.visibleSuggestions=this.slottedSuggestions.filter(e=>!e.hidden)):this.visibleSuggestions=this.slottedSuggestions,this.newValueSuggestion&&(this.visibleSuggestions=[...this.visibleSuggestions,this.newValueSuggestion]),this.hideSuggestions=this.visibleSuggestions.length<=0}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&this.setSuggestionPosition(),e.has("value")&&this.suggestionsProvider&&(this.visibleSuggestions=[...this.providedSuggestionsInDom]),e.has("autocomplete")&&this.setupWatchAutofill(),this.suggestionsShouldBeDisplayed()&&this.setSuggestionPosition()}setupWatchAutofill(){var e;this.clearWatchAutofill(),((e=this.autocomplete)!==null&&e!==void 0?e:"off")!=="off"&&(this.watchAutofillInterval=setInterval(()=>{var o,n,i;!((o=this.input)===null||o===void 0)&&o.matches(":autofill")&&this.dispatchedValue!==((n=this.input)===null||n===void 0?void 0:n.value)&&this.setValue((i=this.input)===null||i===void 0?void 0:i.value,!0)},200))}clearWatchAutofill(){this.watchAutofillInterval&&clearInterval(this.watchAutofillInterval)}connectedCallback(){super.connectedCallback(),this.setupWatchAutofill()}disconnectedCallback(){super.disconnectedCallback(),this.clearWatchAutofill()}setValue(e,o=!1){this.value!==e&&(this.setInternalValue(e),this.dispatchEvent(new CustomEvent("live-change",{detail:e}))),o&&this.dispatchedValue!==e&&(this.dispatchedValue=e,this.dispatchEvent(new CustomEvent("change",{detail:e})))}handleInput(e){var o;let n=((o=this.input)===null||o===void 0?void 0:o.value)||"";this.setValue(n,e.key=="Escape"||e.key=="Enter")}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(e){var o;if(e.key==="ArrowDown"||e.key==="ArrowUp"){e.preventDefault(),e.stopPropagation(),this.hideSuggestions=!1;let n=this.visibleSuggestions.findIndex(a=>a.matches(":focus-within")),i;e.key==="ArrowDown"?i=n<this.visibleSuggestions.length-1?n+1:0:i=n>0?n-1:this.visibleSuggestions.length-1,(o=this.visibleSuggestions[i])===null||o===void 0||o.focus()}(e.key=="Escape"||e.key=="Enter")&&(this.hideSuggestions=!0)}onSuggestionSelected(e){var o;this.setValue(e.detail,!0),(o=this.input)===null||o===void 0||o.focus(),setTimeout(()=>this.hideSuggestions=!0,0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var e,o;!((e=this.mainPanel)===null||e===void 0)&&e.matches(":focus-within")||(this.focused=!1,this.setValue(((o=this.input)===null||o===void 0?void 0:o.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}isPasswordField(){return this.password||this.type==="password"}setSuggestionPosition(){this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px";let e=["bottom","top"];(0,Nt.computeOffsetAutoPosition)(this.mainPanel,this.suggestionsContainer,"bottom",e,"fixed","--text-field-internal-suggest-size",0).then(({x:o,y:n})=>{this.suggestionsContainer.style.left=`${o}px`,this.suggestionsContainer.style.top=`${n}px`})}suggestionsShouldBeDisplayed(){return!this.hideSuggestions&&(this.visibleSuggestions.length||this.providedSuggestions.length)}};H.elementDefinitions={"ft-input-label":Fe,"ft-ripple":Y,"ft-typography":ue,"ft-icon":se,"ft-text-field-suggestion":Ye};H.styles=[mr,Nt.noTextInputDefaultClearButton,us];q([(0,W.property)()],H.prototype,"label",void 0);q([(0,W.property)({noAccessor:!0})],H.prototype,"value",null);q([(0,W.state)()],H.prototype,"dispatchedValue",void 0);q([(0,W.property)()],H.prototype,"helper",void 0);q([(0,W.property)()],H.prototype,"suggestionsHelper",void 0);q([(0,W.property)({type:Boolean})],H.prototype,"outlined",void 0);q([(0,W.property)({type:Boolean})],H.prototype,"disabled",void 0);q([(0,W.property)({type:Boolean})],H.prototype,"error",void 0);q([(0,W.property)({type:Boolean})],H.prototype,"fixedMenuPosition",void 0);q([(0,W.property)()],H.prototype,"prefix",void 0);q([(0,W.property)()],H.prototype,"icon",void 0);q([(0,W.property)()],H.prototype,"name",void 0);q([(0,W.property)()],H.prototype,"type",void 0);q([(0,W.property)()],H.prototype,"passwordHiddenIcon",void 0);q([(0,W.property)()],H.prototype,"passwordRevealedIcon",void 0);q([(0,W.property)()],H.prototype,"iconVariant",void 0);q([(0,W.property)({type:Boolean})],H.prototype,"filterSuggestions",void 0);q([(0,W.property)({type:Number})],H.prototype,"maxLength",void 0);q([(0,W.property)({type:Boolean})],H.prototype,"password",void 0);q([(0,W.property)({type:String})],H.prototype,"autocomplete",void 0);q([(0,W.property)({attribute:!1})],H.prototype,"suggestionsProvider",void 0);q([(0,W.state)()],H.prototype,"focused",void 0);q([(0,W.state)()],H.prototype,"hidePassword",void 0);q([(0,W.state)()],H.prototype,"hideSuggestions",void 0);q([(0,W.state)()],H.prototype,"visibleSuggestions",void 0);q([(0,W.state)()],H.prototype,"providedSuggestions",void 0);q([(0,W.query)(".ft-text-field--main-panel")],H.prototype,"mainPanel",void 0);q([(0,W.query)(".ft-text-field--input")],H.prototype,"input",void 0);q([(0,W.query)(".ft-text-field-suggestion--new-value")],H.prototype,"newValueSuggestion",void 0);q([(0,W.query)(".ft-text-field--suggestions")],H.prototype,"suggestionsContainer",void 0);q([(0,W.queryAll)("ft-text-field-suggestion")],H.prototype,"providedSuggestionsInDom",void 0);q([(0,W.queryAssignedElements)({selector:"ft-text-field-suggestion"})],H.prototype,"slottedSuggestions",void 0);(0,_n.customElement)("ft-text-field")(H);(0,_n.customElement)("ft-text-field-suggestion")(Ye);var M={...B,chipGap:Re.FtCssVariableFactory.extend("--ft-combobox-chip-gap","",Re.foundation.spacing1),chipsMarginTop:Re.FtCssVariableFactory.extend("--ft-combobox-chips-margin-top","",Re.foundation.spacing2),suggestSize:Re.FtCssVariableFactory.create("--ft-combobox-suggest-size","","SIZE","370px")},xs=bs.css`
|
|
788
788
|
*:focus {
|
|
789
789
|
outline: none;
|
|
790
790
|
}
|
|
@@ -794,15 +794,15 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
794
794
|
flex-direction: column;
|
|
795
795
|
align-items: stretch;
|
|
796
796
|
position: relative;
|
|
797
|
-
--combobox-internal-suggest-size: ${
|
|
797
|
+
--combobox-internal-suggest-size: ${M.suggestSize};
|
|
798
798
|
}
|
|
799
799
|
|
|
800
800
|
ft-input-label {
|
|
801
|
-
${(0,
|
|
802
|
-
${(0,
|
|
803
|
-
${(0,
|
|
804
|
-
${(0,
|
|
805
|
-
${(0,
|
|
801
|
+
${(0,Re.setVariable)(_.fontSize,M.fontSize)};
|
|
802
|
+
${(0,Re.setVariable)(_.raisedFontSize,M.labelSize)};
|
|
803
|
+
${(0,Re.setVariable)(_.verticalSpacing,M.verticalSpacing)};
|
|
804
|
+
${(0,Re.setVariable)(_.horizontalSpacing,M.horizontalSpacing)};
|
|
805
|
+
${(0,Re.setVariable)(_.backgroundColor,M.backgroundColor)};
|
|
806
806
|
}
|
|
807
807
|
|
|
808
808
|
/* Ensure the floating label renders above input content and doesn't intercept events */
|
|
@@ -814,7 +814,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
814
814
|
.ft-combobox--main-panel {
|
|
815
815
|
position: relative;
|
|
816
816
|
display: flex;
|
|
817
|
-
height: calc(4 * ${
|
|
817
|
+
height: calc(4 * ${M.verticalSpacing} + ${M.labelSize} + ${M.fontSize});
|
|
818
818
|
}
|
|
819
819
|
|
|
820
820
|
.ft-combobox--input-panel {
|
|
@@ -823,32 +823,32 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
823
823
|
display: flex;
|
|
824
824
|
align-items: center;
|
|
825
825
|
overflow: hidden;
|
|
826
|
-
padding: 0 ${
|
|
826
|
+
padding: 0 ${M.horizontalSpacing};
|
|
827
827
|
}
|
|
828
828
|
|
|
829
829
|
.ft-combobox--outlined .ft-combobox--input-panel {
|
|
830
|
-
border-radius: ${
|
|
830
|
+
border-radius: ${M.borderRadiusS};
|
|
831
831
|
}
|
|
832
832
|
|
|
833
833
|
.ft-combobox--filled .ft-combobox--input-panel {
|
|
834
|
-
border-radius: ${
|
|
834
|
+
border-radius: ${M.borderRadiusS} ${M.borderRadiusS} 0 0;
|
|
835
835
|
}
|
|
836
836
|
|
|
837
837
|
/* Match text-field filled layout when there is a label: input aligns to bottom and container has bottom padding */
|
|
838
838
|
.ft-combobox--filled.ft-combobox--with-label .ft-combobox--input-panel {
|
|
839
839
|
align-items: flex-end;
|
|
840
|
-
padding: 0 ${
|
|
840
|
+
padding: 0 ${M.horizontalSpacing} ${M.verticalSpacing} ${M.horizontalSpacing};
|
|
841
841
|
}
|
|
842
842
|
|
|
843
843
|
/* Focus color on label when interacting */
|
|
844
844
|
.ft-combobox:not(.ft-combobox--disabled):focus-within ft-input-label {
|
|
845
|
-
${(0,
|
|
846
|
-
${(0,
|
|
845
|
+
${(0,Re.setVariable)(_.borderColor,M.colorPrimary)};
|
|
846
|
+
${(0,Re.setVariable)(_.textColor,M.colorPrimary)};
|
|
847
847
|
}
|
|
848
848
|
|
|
849
849
|
.ft-combobox--in-error .ft-combobox--input,
|
|
850
850
|
.ft-combobox--in-error .ft-combobox--helper-text {
|
|
851
|
-
color: ${
|
|
851
|
+
color: ${B.colorError};
|
|
852
852
|
}
|
|
853
853
|
|
|
854
854
|
.ft-combobox--input {
|
|
@@ -857,26 +857,26 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
857
857
|
flex-grow: 1;
|
|
858
858
|
flex-shrink: 1;
|
|
859
859
|
min-width: 0;
|
|
860
|
-
font-size: ${
|
|
861
|
-
color: ${
|
|
862
|
-
padding: calc(2 * ${
|
|
860
|
+
font-size: ${M.fontSize};
|
|
861
|
+
color: ${M.colorOnSurface};
|
|
862
|
+
padding: calc(2 * ${M.verticalSpacing}) 0;
|
|
863
863
|
border: none;
|
|
864
864
|
background: none;
|
|
865
865
|
}
|
|
866
866
|
|
|
867
867
|
.ft-combobox--with-label.ft-combobox--filled .ft-combobox--input {
|
|
868
868
|
padding-bottom: 0;
|
|
869
|
-
padding-top: calc(${
|
|
869
|
+
padding-top: calc(${M.labelSize} + 2 * ${M.verticalSpacing});
|
|
870
870
|
}
|
|
871
871
|
|
|
872
872
|
.ft-combobox--disabled .ft-combobox--input {
|
|
873
|
-
color: ${
|
|
873
|
+
color: ${M.colorOnSurfaceDisabled};
|
|
874
874
|
cursor: not-allowed;
|
|
875
875
|
}
|
|
876
876
|
|
|
877
877
|
.ft-combobox--helper-text {
|
|
878
|
-
padding: 0 12px 0 ${
|
|
879
|
-
color: ${
|
|
878
|
+
padding: 0 12px 0 ${M.horizontalSpacing};
|
|
879
|
+
color: ${M.helperColor};
|
|
880
880
|
}
|
|
881
881
|
|
|
882
882
|
.ft-combobox--listbox {
|
|
@@ -888,16 +888,16 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
888
888
|
left: -1px;
|
|
889
889
|
right: -1px;
|
|
890
890
|
list-style: none;
|
|
891
|
-
z-index: ${
|
|
892
|
-
background: ${
|
|
893
|
-
border: 1px solid ${
|
|
894
|
-
border-radius: 0 0 ${
|
|
895
|
-
box-shadow: ${
|
|
891
|
+
z-index: ${M.floatingZIndex};
|
|
892
|
+
background: ${M.backgroundColor};
|
|
893
|
+
border: 1px solid ${M.colorOutline};
|
|
894
|
+
border-radius: 0 0 ${M.borderRadiusS} ${M.borderRadiusS};
|
|
895
|
+
box-shadow: ${M.elevation02};
|
|
896
896
|
outline: none;
|
|
897
|
-
max-height: ${
|
|
897
|
+
max-height: ${M.suggestSize};
|
|
898
898
|
overflow-y: auto;
|
|
899
899
|
overflow-x: hidden;
|
|
900
|
-
font-size: ${
|
|
900
|
+
font-size: ${M.fontSize};
|
|
901
901
|
cursor: pointer;
|
|
902
902
|
}
|
|
903
903
|
|
|
@@ -910,12 +910,12 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
910
910
|
display: block;
|
|
911
911
|
padding: 0; /* Inner suggestion container handles padding */
|
|
912
912
|
cursor: pointer;
|
|
913
|
-
color: ${
|
|
913
|
+
color: ${M.colorOnSurface};
|
|
914
914
|
}
|
|
915
915
|
|
|
916
916
|
.ft-combobox-suggestion {
|
|
917
917
|
position: relative;
|
|
918
|
-
padding: 8px ${
|
|
918
|
+
padding: 8px ${M.horizontalSpacing};
|
|
919
919
|
cursor: pointer;
|
|
920
920
|
min-height: 44px;
|
|
921
921
|
box-sizing: border-box;
|
|
@@ -941,37 +941,1174 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
941
941
|
}
|
|
942
942
|
|
|
943
943
|
.ft-combobox-suggestion--helper-text {
|
|
944
|
-
color: ${
|
|
944
|
+
color: ${M.helperColor};
|
|
945
945
|
}
|
|
946
946
|
|
|
947
|
-
.ft-combobox--option[
|
|
948
|
-
.ft-combobox--option:hover .ft-combobox-suggestion {
|
|
947
|
+
.ft-combobox--option[data-active="true"] .ft-combobox-suggestion,
|
|
948
|
+
.ft-combobox--option:hover:not([data-selected="true"]) .ft-combobox-suggestion {
|
|
949
949
|
background-color: rgba(0, 0, 0, 0.04);
|
|
950
950
|
}
|
|
951
951
|
|
|
952
952
|
.ft-combobox--option-new-value {
|
|
953
|
-
border-top: 1px solid ${
|
|
953
|
+
border-top: 1px solid ${M.colorOutline};
|
|
954
954
|
}
|
|
955
955
|
|
|
956
956
|
.ft-combobox--icon {
|
|
957
957
|
align-self: center;
|
|
958
958
|
margin-left: 8px;
|
|
959
|
-
color: ${
|
|
959
|
+
color: ${M.iconColor};
|
|
960
960
|
}
|
|
961
961
|
|
|
962
962
|
.ft-combobox--with-icon {
|
|
963
|
-
${(0,
|
|
963
|
+
${(0,Re.setVariable)(_.labelMaxWidth,`calc(100% - ${te.size} - ${M.horizontalSpacing})`)};
|
|
964
964
|
}
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
`;var gr=b(D()),js="ft-app-info",ut=class r extends CustomEvent{constructor(t){super(r.eventName,{detail:t})}};ut.eventName="authentication-change";var Ks={session:(r,t)=>{(0,gr.deepEqual)(r.session,t.payload)||(r.session=t.payload,setTimeout(()=>E.dispatchEvent(new ut(t.payload)),0))}},E=gr.FtReduxStore.get({name:js,reducers:Ks,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!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 bo=b(D());var pt=class r{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=E.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=r.get(t);if(n)o(n);else{let a=E.subscribe(()=>{n=r.get(t),n&&(a(),o(n))})}})}};var yr=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:pt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):pt.await()}};var be=class extends yr{constructor(t=!0,o){var n;super(o),this.sortObjectFields=(s,l)=>typeof l!="object"||l==null||Array.isArray(l)?l:Object.fromEntries(Object.entries(l).sort(([d],[u])=>d.localeCompare(u)));let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new bo.CacheRegistry,this.cache=t?a.commonCache:new bo.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 mr=class extends be{async listMyBookmarks(){let t=E.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var xo=class{addCommand(t,o=!1){E.commands.add(t,o)}consumeCommand(t){return E.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new xo;var Ee=b(D());var Ka,Pt=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},Zs=Symbol("clearAfterUnitTest"),br=class extends(0,Ee.withEventBus)(be){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ka]=()=>{this.defaultMessages={},this.cache=new Ee.CacheRegistry,this.listeners={}},this.currentUiLocale=E.getState().uiLocale,E.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=E.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(),l=this.resolveContext(s);return new Ee.ParametrizedLabelResolver((a=this.defaultMessages[s])!==null&&a!==void 0?a:{},l).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 Pt({loadedContexts:t})),this.dispatchEvent(new Pt({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new Pt({loadedContexts:[t]})),this.dispatchEvent(new Pt({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,Ee.delay)(0).then(()=>n()).catch(()=>null)))}};Ka=Zs;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends br{constructor(){super(async(r,t)=>(await this.awaitApi).getFluidTopicsMessageContext(r,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends br{constructor(){super(async(r,t)=>(await this.awaitApi).getCustomMessageContext(r,t))}});var kt=window.FluidTopicsI18nService,xr=window.FluidTopicsCustomI18nService;var Za=b(D()),vo=class{highlightHtml(t,o,n){(0,Za.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new vo;var Ys=b(Ya(),1);var Xa;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(Xa||(Xa={}));var Qa;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(Qa||(Qa={}));var Ja;(function(r){r.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",r.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",r.PERSONAL_BOOK="PERSONAL_BOOK",r.ATTACHMENT="ATTACHMENT",r.RESOURCE="RESOURCE",r.HTML_PACKAGE="HTML_PACKAGE"})(Ja||(Ja={}));var ei;(function(r){r.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",r.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",r.PERSONAL_BOOK="PERSONAL_BOOK",r.ATTACHMENT="ATTACHMENT",r.RESOURCE="RESOURCE",r.HTML_PACKAGE="HTML_PACKAGE"})(ei||(ei={}));var ti;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(ti||(ti={}));var ri;(function(r){r.VALUE="VALUE",r.DATE="DATE",r.RANGE="RANGE"})(ri||(ri={}));var oi;(function(r){r.BOOKMARK__CREATE="BOOKMARK__CREATE",r.BOOKMARK__DELETE="BOOKMARK__DELETE",r.CASE_DEFLECTION__START="CASE_DEFLECTION__START",r.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",r.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",r.COLLECTION__CREATE="COLLECTION__CREATE",r.COLLECTION__UPDATE="COLLECTION__UPDATE",r.COLLECTION__DELETE="COLLECTION__DELETE",r.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",r.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",r.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",r.DOCUMENT__PRINT="DOCUMENT__PRINT",r.DOCUMENT__PROCESS="DOCUMENT__PROCESS",r.DOCUMENT__RATE="DOCUMENT__RATE",r.DOCUMENT__SEARCH="DOCUMENT__SEARCH",r.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",r.DOCUMENT__UNRATE="DOCUMENT__UNRATE",r.FEEDBACK__SEND="FEEDBACK__SEND",r.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",r.AI__RATE="AI__RATE",r.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",r.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",r.KHUB__PROCESS="KHUB__PROCESS",r.KHUB__SEARCH="KHUB__SEARCH",r.LABELS__DOWNLOAD="LABELS__DOWNLOAD",r.LINK__SHARE="LINK__SHARE",r.PAGE__DISPLAY="PAGE__DISPLAY",r.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",r.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",r.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",r.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",r.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",r.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",r.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",r.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",r.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",r.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",r.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",r.TOPIC__DISPLAY="TOPIC__DISPLAY",r.TOPIC__RATE="TOPIC__RATE",r.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",r.TOPIC__UNRATE="TOPIC__UNRATE",r.USER__LOGIN="USER__LOGIN",r.USER__LOGOUT="USER__LOGOUT",r.HEARTBEAT="HEARTBEAT"})(oi||(oi={}));var ni;(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(ni||(ni={}));var ai;(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT",r.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT"})(ai||(ai={}));var ii;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(ii||(ii={}));var si;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(si||(si={}));var li;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(li||(li={}));var ci;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(ci||(ci={}));var di;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(di||(di={}));var ui;(function(r){r.ASC="ASC",r.DESC="DESC"})(ui||(ui={}));var pi;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(pi||(pi={}));var fi;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(fi||(fi={}));var hi;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK",r.HTML_PACKAGE="HTML_PACKAGE"})(hi||(hi={}));var gi;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(gi||(gi={}));var yi;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(yi||(yi={}));var mi;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(mi||(mi={}));var bi;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC"})(bi||(bi={}));var xi;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS",r.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(xi||(xi={}));var vi;(function(r){r.PLAIN_TEXT="PLAIN_TEXT",r.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",r.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(vi||(vi={}));var te;(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN"})(te||(te={}));var xe;(function(r){r.SEARCHES="SEARCHES",r.BOOKMARKS="BOOKMARKS",r.BOOKS="BOOKS",r.COLLECTIONS="COLLECTIONS"})(xe||(xe={}));var Si;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(Si||(Si={}));var Ci;(function(r){r.JSON="JSON",r.TEXT="TEXT"})(Ci||(Ci={}));var Oi;(function(r){r.USER="USER",r.ASSISTANT="ASSISTANT"})(Oi||(Oi={}));var Ei;(function(r){r.TEXT="TEXT",r.HTML="HTML"})(Ei||(Ei={}));var qs={[te.PERSONAL_BOOK_SHARE_USER]:[te.PERSONAL_BOOK_USER],[te.HTML_EXPORT_USER]:[te.PERSONAL_BOOK_USER],[te.PDF_EXPORT_USER]:[te.PERSONAL_BOOK_USER],[te.KHUB_ADMIN]:[te.CONTENT_PUBLISHER],[te.ADMIN]:[te.KHUB_ADMIN,te.USERS_ADMIN,te.PORTAL_ADMIN],[te.GENERATIVE_AI_EXPORT_USER]:[te.GENERATIVE_AI_USER]};function Ai(r,t){return r===t||(qs[r]??[]).some(o=>Ai(o,t))}function wi(r,t){return r==null?!1:(Array.isArray(r)?r:Array.isArray(r.roles)?r.roles:Array.isArray(r.profile?.roles)?r.profile.roles:[]).some(n=>Ai(n,t))}var Cr=class extends be{async listMySearches(){let{session:t}=E.getState();return wi(t,te.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Ri=b(D());var So=class{isDate(t){var o,n,a,s;return(s=(a=((n=(o=E.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;return Ri.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:E.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(s=o?.withTime)!==null&&s!==void 0?s:!1)}};window.FluidTopicsDateService=new So;var Ni=b(D());var Qt=class{static get(t,o){var n,a;let s=E.getState(),{lang:l,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 Ni.SearchPlaceConverter(s.baseUrl,t??20,s.searchInAllLanguagesAllowed,o??`${l}-${d}`)}};var Co=class{urlToSearchRequest(t){return Qt.get().parse(t)}searchRequestToUrl(t){return Qt.get().serialize(t)}};window.FluidTopicsUrlService=new Co;var je=b(D());var ft=class r extends CustomEvent{constructor(t){super(r.eventName,{detail:{currentItem:t}})}};ft.eventName="change";var Oo=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))}},Ii=new Oo;var Or=class r extends je.WithEventBus{static build(){return new r(window.history,Ii,()=>window.location,!1)}constructor(t,o,n,a){var s,l;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(l=(s=t.state)===null||s===void 0?void 0:s.index)!==null&&l!==void 0?l: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,je.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new ft(this.currentItem())),0)}installProxies(){let t=o=>(n,a,[s,l,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,l,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(ft.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(ft.eventName,t)}currentItem(){return(0,je.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,je.deepCopy)(this.states[this.previousDifferentMajorPosition()])}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,je.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=Or.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(r),removeHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(r)});var Ti=E;function _i(r,t){var o;return Ti.getState().authenticationRequired&&!(!((o=Ti.getState().session)===null||o===void 0)&&o.sessionAuthenticated)?Promise.resolve(t):r()}var re=function(r,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(l=r[d])&&(s=(a<3?l(s):a>3?l(t,o,s):l(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},j=class extends Ne.FtLitElement{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.apiProvider=()=>pt.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Ne.CacheRegistry,this.cleanSessionDebouncer=new Ne.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return Li.html`
|
|
965
|
+
|
|
966
|
+
.ft-combobox--chips-container {
|
|
967
|
+
display: flex;
|
|
968
|
+
flex-wrap: wrap;
|
|
969
|
+
gap: ${M.chipGap};
|
|
970
|
+
margin-top: ${M.chipsMarginTop};
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
.ft-combobox--chips-container ft-chip {
|
|
974
|
+
flex-shrink: 0;
|
|
975
|
+
}
|
|
976
|
+
`;var Xn=b(T());var Ro=b(Z()),Ie=b(le()),ul=b(gt()),Er=b(T());var Jr=b(Z()),z=b(T());var Zn=b(T());var Xr=b(le()),nl=b(T());var Es=b(Z()),F=b(T());var vs=b(Z()),jr=b(T()),ne={color:jr.FtCssVariableFactory.extend("--ft-loader-color","",jr.designSystemVariables.colorPrimary),size:jr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Ss=vs.css`
|
|
977
|
+
:host {
|
|
978
|
+
line-height: 0;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
.ft-loader {
|
|
982
|
+
display: inline-block;
|
|
983
|
+
position: relative;
|
|
984
|
+
|
|
985
|
+
width: ${ne.size};
|
|
986
|
+
height: ${ne.size};
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
.ft-loader div {
|
|
990
|
+
position: absolute;
|
|
991
|
+
top: 37.5%;
|
|
992
|
+
width: 25%;
|
|
993
|
+
height: 25%;
|
|
994
|
+
border-radius: 50%;
|
|
995
|
+
background: ${ne.color};
|
|
996
|
+
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
.ft-loader div:nth-child(1) {
|
|
1000
|
+
left: 2.5%;
|
|
1001
|
+
animation: appear 0.6s infinite;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
.ft-loader div:nth-child(2) {
|
|
1005
|
+
left: 2.5%;
|
|
1006
|
+
animation: move 0.6s infinite;
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
.ft-loader div:nth-child(3) {
|
|
1010
|
+
left: 37.5%;
|
|
1011
|
+
animation: move 0.6s infinite;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
.ft-loader div:nth-child(4) {
|
|
1015
|
+
left: 72.5%;
|
|
1016
|
+
animation: disappear 0.6s infinite;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
@keyframes appear {
|
|
1020
|
+
0% {
|
|
1021
|
+
transform: scale(0);
|
|
1022
|
+
}
|
|
1023
|
+
100% {
|
|
1024
|
+
transform: scale(1);
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
@keyframes disappear {
|
|
1029
|
+
0% {
|
|
1030
|
+
transform: scale(1);
|
|
1031
|
+
}
|
|
1032
|
+
100% {
|
|
1033
|
+
transform: scale(0);
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
@keyframes move {
|
|
1038
|
+
0% {
|
|
1039
|
+
transform: translate(0, 0);
|
|
1040
|
+
}
|
|
1041
|
+
100% {
|
|
1042
|
+
transform: translate(calc(0.35 * ${ne.size}), 0);
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
`;var Cs=F.FtCssVariableFactory.extend("--ft-button-color","",F.designSystemVariables.colorPrimary),ce={backgroundColor:F.FtCssVariableFactory.extend("--ft-button-background-color","",F.designSystemVariables.colorSurface),borderRadius:F.FtCssVariableFactory.extend("--ft-button-border-radius","",F.designSystemVariables.borderRadiusL),color:Cs,fontSize:F.FtCssVariableFactory.extend("--ft-button-font-size","",ut.fontSize),iconSize:F.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:F.FtCssVariableFactory.extend("--ft-button-ripple-color","",Cs),verticalPadding:F.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:F.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:F.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:F.FtCssVariableFactory.external(F.designSystemVariables.colorOpacityDisabled,"Design system")},Os=F.FtCssVariableFactory.extend("--ft-button-primary-color","",F.FtCssVariableFactory.extend("--ft-button-color","",F.designSystemVariables.colorOnPrimary)),kn={backgroundColor:F.FtCssVariableFactory.extend("--ft-button-primary-background-color","",F.FtCssVariableFactory.extend("--ft-button-background-color","",F.designSystemVariables.colorPrimary)),color:Os,rippleColor:F.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Os)},pt={borderRadius:F.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",F.FtCssVariableFactory.extend("--ft-button-border-radius","",F.designSystemVariables.borderRadiusM)),verticalPadding:F.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:F.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:F.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},ws=[Es.css`
|
|
1046
|
+
:host {
|
|
1047
|
+
display: inline-block;
|
|
1048
|
+
max-width: 100%;
|
|
1049
|
+
pointer-events: none;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
.ft-button {
|
|
1053
|
+
box-shadow: 0px 0px 0px transparent;
|
|
1054
|
+
border: 0px solid transparent;
|
|
1055
|
+
text-shadow: 0px 0px 0px transparent;
|
|
1056
|
+
font-size: ${ce.fontSize};
|
|
1057
|
+
text-decoration: none;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
.ft-button:hover {
|
|
1061
|
+
box-shadow: 0px 0px 0px transparent;
|
|
1062
|
+
border: 0px solid transparent;
|
|
1063
|
+
text-shadow: 0px 0px 0px transparent;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
.ft-button:active {
|
|
1067
|
+
outline: none;
|
|
1068
|
+
border: none;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
.ft-button:focus {
|
|
1072
|
+
outline: 0;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
.ft-button {
|
|
1076
|
+
position: relative;
|
|
1077
|
+
display: flex;
|
|
1078
|
+
justify-content: center;
|
|
1079
|
+
align-items: center;
|
|
1080
|
+
width: 100%;
|
|
1081
|
+
overflow: hidden;
|
|
1082
|
+
box-sizing: border-box;
|
|
1083
|
+
border: none;
|
|
1084
|
+
pointer-events: auto;
|
|
1085
|
+
|
|
1086
|
+
--button-internal-line-height: max(calc(${ce.fontSize} + 2px), ${ce.iconSize});
|
|
1087
|
+
--button-internal-color: ${ce.color};
|
|
1088
|
+
${(0,F.setVariable)(te.size,ce.iconSize)};
|
|
1089
|
+
${(0,F.setVariable)(E.color,ce.rippleColor)};
|
|
1090
|
+
|
|
1091
|
+
border-radius: ${ce.borderRadius};
|
|
1092
|
+
padding: ${ce.verticalPadding} ${ce.horizontalPadding};
|
|
1093
|
+
background-color: ${ce.backgroundColor};
|
|
1094
|
+
color: var(--button-internal-color);
|
|
1095
|
+
-webkit-mask-image: radial-gradient(white, black);
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
.ft-button.ft-button--outlined {
|
|
1099
|
+
border: 1px solid var(--button-internal-color);
|
|
1100
|
+
padding: calc(${ce.verticalPadding} - 1px) calc(${ce.horizontalPadding} - 1px);
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
.ft-button.ft-button--dense {
|
|
1104
|
+
padding: ${pt.verticalPadding} ${pt.horizontalPadding};
|
|
1105
|
+
border-radius: ${pt.borderRadius};
|
|
1106
|
+
gap: ${pt.iconPadding};
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
.ft-button.ft-button--dense.ft-button--outlined {
|
|
1110
|
+
padding: calc(${pt.verticalPadding} - 1px) calc(${pt.horizontalPadding} - 1px);
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
.ft-button:not([disabled]):hover {
|
|
1114
|
+
cursor: pointer;
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
.ft-button--round {
|
|
1118
|
+
border-radius: calc(var(--button-internal-line-height) / 2 + ${ce.verticalPadding});
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
.ft-button--round.ft-button--dense {
|
|
1122
|
+
border-radius: calc(var(--button-internal-line-height) / 2 + ${pt.verticalPadding});
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
.ft-button[disabled] {
|
|
1126
|
+
filter: grayscale(1);
|
|
1127
|
+
opacity: ${ce.opacityDisabled};
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
.ft-button.ft-button--primary {
|
|
1131
|
+
background-color: ${kn.backgroundColor};
|
|
1132
|
+
--button-internal-color: ${kn.color};
|
|
1133
|
+
${(0,F.setVariable)(E.color,kn.rippleColor)};
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
.ft-button:focus {
|
|
1137
|
+
outline: none;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
.ft-button--label {
|
|
1141
|
+
position: relative;
|
|
1142
|
+
overflow: hidden;
|
|
1143
|
+
white-space: nowrap;
|
|
1144
|
+
text-overflow: ellipsis;
|
|
1145
|
+
display: block;
|
|
1146
|
+
margin: 0 ${ce.iconPadding};
|
|
1147
|
+
${(0,F.setVariable)(ut.fontSize,"1em")};
|
|
1148
|
+
${(0,F.setVariable)(ut.lineHeight,"var(--button-internal-line-height)")};
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
.ft-button--dense .ft-button--label {
|
|
1152
|
+
margin: 0 ${pt.iconPadding};
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
.ft-button--label[hidden] {
|
|
1156
|
+
display: none;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
[part="icon"] {
|
|
1160
|
+
flex-shrink: 0;
|
|
1161
|
+
position: relative;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
.ft-button--label[hidden] + [part="icon"] {
|
|
1165
|
+
margin: 0 calc(${ce.horizontalPadding} * -1);
|
|
1166
|
+
padding: 0 ${ce.verticalPadding};
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
1170
|
+
margin: 0 calc(${pt.horizontalPadding} * -1);
|
|
1171
|
+
padding: 0 ${pt.verticalPadding};
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
.ft-button:not(.ft-button--trailing-icon) [part="label"] {
|
|
1175
|
+
order: 2;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
ft-loader {
|
|
1179
|
+
${(0,F.setVariable)(ne.size,ce.iconSize)};
|
|
1180
|
+
${(0,F.setVariable)(ne.color,"var(--button-internal-color)")};
|
|
1181
|
+
}
|
|
1182
|
+
`,F.noTextSelect];var kt=b(T());var el=b(T());var Js=b(Z()),He=b(le()),Be=b(T());var As=b(Z()),Ct=b(T()),xr={distance:Ct.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Ct.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ct.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ct.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ct.FtCssVariableFactory.external(Ct.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Ct.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Rs=As.css`
|
|
1183
|
+
.ft-tooltip--container {
|
|
1184
|
+
display: block;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
.ft-tooltip--inline {
|
|
1188
|
+
display: inline-block;
|
|
1189
|
+
max-width: 100%;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
.ft-tooltip {
|
|
1193
|
+
position: fixed;
|
|
1194
|
+
box-sizing: border-box;
|
|
1195
|
+
overflow: hidden;
|
|
1196
|
+
width: max-content;
|
|
1197
|
+
max-width: ${xr.maxWidth};
|
|
1198
|
+
text-align: center;
|
|
1199
|
+
padding: ${xr.distance};
|
|
1200
|
+
z-index: ${xr.zIndex};
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
.ft-tooltip--content {
|
|
1204
|
+
padding: 4px 8px;
|
|
1205
|
+
border-radius: ${xr.borderRadiusS};
|
|
1206
|
+
background-color: ${xr.backgroundColor};
|
|
1207
|
+
color: ${xr.color};
|
|
1208
|
+
position: relative;
|
|
1209
|
+
word-break: break-word;
|
|
1210
|
+
}
|
|
1211
|
+
`;var Ls=["top","right","bottom","left"],Is=["start","end"],Dn=Ls.reduce((t,e)=>t.concat(e,e+"-"+Is[0],e+"-"+Is[1]),[]),Ts=Math.min,Ns=Math.max;var md={left:"right",right:"left",bottom:"top",top:"bottom"},bd={start:"end",end:"start"};function Bn(t,e,o){return Ns(t,Ts(e,o))}function bo(t,e){return typeof t=="function"?t(e):t}function vr(t){return t.split("-")[0]}function Pt(t){return t.split("-")[1]}function Mn(t){return t==="x"?"y":"x"}function Un(t){return t==="y"?"height":"width"}function xo(t){return["top","bottom"].includes(vr(t))?"y":"x"}function Fn(t){return Mn(xo(t))}function Ps(t,e,o){o===void 0&&(o=!1);let n=Pt(t),i=Fn(t),a=Un(i),l=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(l=$n(l)),[l,$n(l)]}function _s(t){return t.replace(/start|end/g,e=>bd[e])}function $n(t){return t.replace(/left|right|bottom|top/g,e=>md[e])}function xd(t){return{top:0,right:0,bottom:0,left:0,...t}}function ks(t){return typeof t!="number"?xd(t):{top:t,right:t,bottom:t,left:t}}function Xt(t){let{x:e,y:o,width:n,height:i}=t;return{width:n,height:i,top:o,left:e,right:e+n,bottom:o+i,x:e,y:o}}function $s(t,e,o){let{reference:n,floating:i}=t,a=xo(e),l=Fn(e),c=Un(l),u=vr(e),p=a==="y",g=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2,S;switch(u){case"top":S={x:g,y:n.y-i.height};break;case"bottom":S={x:g,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y:h};break;case"left":S={x:n.x-i.width,y:h};break;default:S={x:n.x,y:n.y}}switch(Pt(e)){case"start":S[l]-=m*(o&&p?-1:1);break;case"end":S[l]+=m*(o&&p?-1:1);break}return S}var Ds=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:l}=o,c=a.filter(Boolean),u=await(l.isRTL==null?void 0:l.isRTL(e)),p=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:g,y:h}=$s(p,n,u),m=n,S={},v=0;for(let O=0;O<c.length;O++){let{name:N,fn:R}=c[O],{x:I,y:U,data:V,reset:j}=await R({x:g,y:h,initialPlacement:n,placement:m,strategy:i,middlewareData:S,rects:p,platform:l,elements:{reference:t,floating:e}});g=I??g,h=U??h,S={...S,[N]:{...S[N],...V}},j&&v<=50&&(v++,typeof j=="object"&&(j.placement&&(m=j.placement),j.rects&&(p=j.rects===!0?await l.getElementRects({reference:t,floating:e,strategy:i}):j.rects),{x:g,y:h}=$s(p,m,u)),O=-1)}return{x:g,y:h,placement:m,strategy:i,middlewareData:S}};async function zn(t,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:l,elements:c,strategy:u}=t,{boundary:p="clippingAncestors",rootBoundary:g="viewport",elementContext:h="floating",altBoundary:m=!1,padding:S=0}=bo(e,t),v=ks(S),N=c[m?h==="floating"?"reference":"floating":h],R=Xt(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(N)))==null||o?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:p,rootBoundary:g,strategy:u})),I=h==="floating"?{x:n,y:i,width:l.floating.width,height:l.floating.height}:l.reference,U=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),V=await(a.isElement==null?void 0:a.isElement(U))?await(a.getScale==null?void 0:a.getScale(U))||{x:1,y:1}:{x:1,y:1},j=Xt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:I,offsetParent:U,strategy:u}):I);return{top:(R.top-j.top+v.top)/V.y,bottom:(j.bottom-R.bottom+v.bottom)/V.y,left:(R.left-j.left+v.left)/V.x,right:(j.right-R.right+v.right)/V.x}}function vd(t,e,o){return(t?[...o.filter(i=>Pt(i)===t),...o.filter(i=>Pt(i)!==t)]:o.filter(i=>vr(i)===i)).filter(i=>t?Pt(i)===t||(e?_s(i)!==i:!1):!0)}var Hn=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,i;let{rects:a,middlewareData:l,placement:c,platform:u,elements:p}=e,{crossAxis:g=!1,alignment:h,allowedPlacements:m=Dn,autoAlignment:S=!0,...v}=bo(t,e),O=h!==void 0||m===Dn?vd(h||null,S,m):m,N=await zn(e,v),R=((o=l.autoPlacement)==null?void 0:o.index)||0,I=O[R];if(I==null)return{};let U=Ps(I,a,await(u.isRTL==null?void 0:u.isRTL(p.floating)));if(c!==I)return{reset:{placement:O[0]}};let V=[N[vr(I)],N[U[0]],N[U[1]]],j=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:I,overflows:V}],_e=O[R+1];if(_e)return{data:{index:R+1,overflows:j},reset:{placement:_e}};let ct=j.map(Ce=>{let y=Pt(Ce.placement);return[Ce.placement,y&&g?Ce.overflows.slice(0,2).reduce((x,k)=>x+k,0):Ce.overflows[0],Ce.overflows]}).sort((Ce,y)=>Ce[1]-y[1]),dt=((i=ct.filter(Ce=>Ce[2].slice(0,Pt(Ce[0])?2:3).every(y=>y<=0))[0])==null?void 0:i[0])||ct[0][0];return dt!==c?{data:{index:R+1,overflows:j},reset:{placement:dt}}:{}}}};var Wn=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:l=!1,limiter:c={fn:N=>{let{x:R,y:I}=N;return{x:R,y:I}}},...u}=bo(t,e),p={x:o,y:n},g=await zn(e,u),h=xo(vr(i)),m=Mn(h),S=p[m],v=p[h];if(a){let N=m==="y"?"top":"left",R=m==="y"?"bottom":"right",I=S+g[N],U=S-g[R];S=Bn(I,S,U)}if(l){let N=h==="y"?"top":"left",R=h==="y"?"bottom":"right",I=v+g[N],U=v-g[R];v=Bn(I,v,U)}let O=c.fn({...e,[m]:S,[h]:v});return{...O,data:{x:O.x-o,y:O.y-n,enabled:{[m]:a,[h]:l}}}}}};var Vn=Math.min,Sr=Math.max,Kr=Math.round;var Ot=t=>({x:t,y:t});function Et(t){return Ms(t)?(t.nodeName||"").toLowerCase():"#document"}function De(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function wt(t){var e;return(e=(Ms(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ms(t){return t instanceof Node||t instanceof De(t).Node}function ft(t){return t instanceof Element||t instanceof De(t).Element}function rt(t){return t instanceof HTMLElement||t instanceof De(t).HTMLElement}function Bs(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof De(t).ShadowRoot}function Cr(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=ze(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function Us(t){return["table","td","th"].includes(Et(t))}function So(t){let e=Co(),o=ze(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function Fs(t){let e=Qt(t);for(;rt(e)&&!Zr(e);){if(So(e))return e;e=Qt(e)}return null}function Co(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Zr(t){return["html","body","#document"].includes(Et(t))}function ze(t){return De(t).getComputedStyle(t)}function qr(t){return ft(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Qt(t){if(Et(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Bs(t)&&t.host||wt(t);return Bs(e)?e.host:e}function zs(t){let e=Qt(t);return Zr(e)?t.ownerDocument?t.ownerDocument.body:t.body:rt(e)&&Cr(e)?e:zs(e)}function vo(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=zs(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),l=De(i);return a?e.concat(l,l.visualViewport||[],Cr(i)?i:[],l.frameElement&&o?vo(l.frameElement):[]):e.concat(i,vo(i,[],o))}function Vs(t){let e=ze(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=rt(t),a=i?t.offsetWidth:o,l=i?t.offsetHeight:n,c=Kr(o)!==a||Kr(n)!==l;return c&&(o=a,n=l),{width:o,height:n,$:c}}function Gs(t){return ft(t)?t:t.contextElement}function Or(t){let e=Gs(t);if(!rt(e))return Ot(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=Vs(e),l=(a?Kr(o.width):o.width)/n,c=(a?Kr(o.height):o.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}var Od=Ot(0);function js(t){let e=De(t);return!Co()||!e.visualViewport?Od:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ed(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==De(t)?!1:e}function Yr(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),a=Gs(t),l=Ot(1);e&&(n?ft(n)&&(l=Or(n)):l=Or(t));let c=Ed(a,o,n)?js(a):Ot(0),u=(i.left+c.x)/l.x,p=(i.top+c.y)/l.y,g=i.width/l.x,h=i.height/l.y;if(a){let m=De(a),S=n&&ft(n)?De(n):n,v=m.frameElement;for(;v&&n&&S!==m;){let O=Or(v),N=v.getBoundingClientRect(),R=ze(v),I=N.left+(v.clientLeft+parseFloat(R.paddingLeft))*O.x,U=N.top+(v.clientTop+parseFloat(R.paddingTop))*O.y;u*=O.x,p*=O.y,g*=O.x,h*=O.y,u+=I,p+=U,v=De(v).frameElement}}return Xt({width:g,height:h,x:u,y:p})}function wd(t){let{rect:e,offsetParent:o,strategy:n}=t,i=rt(o),a=wt(o);if(o===a)return e;let l={scrollLeft:0,scrollTop:0},c=Ot(1),u=Ot(0);if((i||!i&&n!=="fixed")&&((Et(o)!=="body"||Cr(a))&&(l=qr(o)),rt(o))){let p=Yr(o);c=Or(o),u.x=p.x+o.clientLeft,u.y=p.y+o.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-l.scrollLeft*c.x+u.x,y:e.y*c.y-l.scrollTop*c.y+u.y}}function Ad(t){return Array.from(t.getClientRects())}function Ks(t){return Yr(wt(t)).left+qr(t).scrollLeft}function Rd(t){let e=wt(t),o=qr(t),n=t.ownerDocument.body,i=Sr(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Sr(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),l=-o.scrollLeft+Ks(t),c=-o.scrollTop;return ze(n).direction==="rtl"&&(l+=Sr(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:l,y:c}}function Id(t,e){let o=De(t),n=wt(t),i=o.visualViewport,a=n.clientWidth,l=n.clientHeight,c=0,u=0;if(i){a=i.width,l=i.height;let p=Co();(!p||p&&e==="fixed")&&(c=i.offsetLeft,u=i.offsetTop)}return{width:a,height:l,x:c,y:u}}function Ld(t,e){let o=Yr(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,a=rt(t)?Or(t):Ot(1),l=t.clientWidth*a.x,c=t.clientHeight*a.y,u=i*a.x,p=n*a.y;return{width:l,height:c,x:u,y:p}}function Hs(t,e,o){let n;if(e==="viewport")n=Id(t,o);else if(e==="document")n=Rd(wt(t));else if(ft(e))n=Ld(e,o);else{let i=js(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return Xt(n)}function Zs(t,e){let o=Qt(t);return o===e||!ft(o)||Zr(o)?!1:ze(o).position==="fixed"||Zs(o,e)}function Td(t,e){let o=e.get(t);if(o)return o;let n=vo(t,[],!1).filter(c=>ft(c)&&Et(c)!=="body"),i=null,a=ze(t).position==="fixed",l=a?Qt(t):t;for(;ft(l)&&!Zr(l);){let c=ze(l),u=So(l);!u&&c.position==="fixed"&&(i=null),(a?!u&&!i:!u&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Cr(l)&&!u&&Zs(t,l))?n=n.filter(g=>g!==l):i=c,l=Qt(l)}return e.set(t,n),n}function Nd(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,l=[...o==="clippingAncestors"?Td(e,this._c):[].concat(o),n],c=l[0],u=l.reduce((p,g)=>{let h=Hs(e,g,i);return p.top=Sr(h.top,p.top),p.right=Vn(h.right,p.right),p.bottom=Vn(h.bottom,p.bottom),p.left=Sr(h.left,p.left),p},Hs(e,c,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Pd(t){return Vs(t)}function _d(t,e,o){let n=rt(e),i=wt(e),a=o==="fixed",l=Yr(t,!0,a,e),c={scrollLeft:0,scrollTop:0},u=Ot(0);if(n||!n&&!a)if((Et(e)!=="body"||Cr(i))&&(c=qr(e)),n){let p=Yr(e,!0,a,e);u.x=p.x+e.clientLeft,u.y=p.y+e.clientTop}else i&&(u.x=Ks(i));return{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Ws(t,e){return!rt(t)||ze(t).position==="fixed"?null:e?e(t):t.offsetParent}function qs(t,e){let o=De(t);if(!rt(t))return o;let n=Ws(t,e);for(;n&&Us(n)&&ze(n).position==="static";)n=Ws(n,e);return n&&(Et(n)==="html"||Et(n)==="body"&&ze(n).position==="static"&&!So(n))?o:n||Fs(t)||o}var kd=async function(t){let{reference:e,floating:o,strategy:n}=t,i=this.getOffsetParent||qs,a=this.getDimensions;return{reference:_d(e,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function $d(t){return ze(t).direction==="rtl"}var Oo={convertOffsetParentRelativeRectToViewportRelativeRect:wd,getDocumentElement:wt,getClippingRect:Nd,getOffsetParent:qs,getElementRects:kd,getClientRects:Ad,getDimensions:Pd,getScale:Or,isElement:ft,isRTL:$d};var Ys=(t,e,o)=>{let n=new Map,i={platform:Oo,...o},a={...i.platform,_c:n};return Ds(t,e,{...i,platform:a})};function Xs(t){return Dd(t)}function Gn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Dd(t){for(let e=t;e;e=Gn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Gn(t);e;e=Gn(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Qs(t,e,o){return Ys(t,e,{platform:{...Oo,getOffsetParent:n=>Oo.getOffsetParent(n,Xs)},middleware:[Wn({crossAxis:!0}),Hn({allowedPlacements:[o]})]})}var ot=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},me=class extends Be.FtLitElement{constructor(){super(...arguments),this.text="",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 Be.Debouncer,this.revealDebouncer=new Be.Debouncer,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut(o)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)||this.show()},this.onFocusIn=e=>{!this.isIgnored(e)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Js.html`
|
|
1212
|
+
<div part="container"
|
|
1213
|
+
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
|
|
1214
|
+
<slot part="slot"></slot>
|
|
1215
|
+
<div part="tooltip" role="tooltip" inert
|
|
1216
|
+
class="ft-tooltip ft-tooltip--${this.validPosition}"
|
|
1217
|
+
?hidden=${!this.visible}>
|
|
1218
|
+
<div part="tooltip-content" class="ft-tooltip--content">
|
|
1219
|
+
<slot name="text"></slot>
|
|
1220
|
+
<ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
|
|
1221
|
+
</div>
|
|
1222
|
+
</div>
|
|
1223
|
+
</div>
|
|
1224
|
+
`}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseenter",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("mouseenter",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(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,o){let n=this.manual;this.manual=!0;let i=this.text;this.text=e,await this.show(o),this.text=i,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Qs(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${Be.designSystemVariables.transitionDuration}, left ${Be.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||(0,Be.eventPathContainsMatchingElement)(e,this.ignoreMatchingElements,this.eventsTarget)}};me.elementDefinitions={"ft-typography":ue};me.styles=Rs;ot([(0,He.property)()],me.prototype,"text",void 0);ot([(0,He.property)({type:Boolean})],me.prototype,"manual",void 0);ot([(0,He.property)({type:Boolean})],me.prototype,"inline",void 0);ot([(0,Be.numberProperty)()],me.prototype,"delay",void 0);ot([(0,He.property)()],me.prototype,"position",void 0);ot([(0,Be.jsonProperty)([])],me.prototype,"ignoreMatchingElements",void 0);ot([(0,He.queryAssignedNodes)()],me.prototype,"slotNodes",void 0);ot([(0,He.query)(".ft-tooltip--container")],me.prototype,"container",void 0);ot([(0,He.query)(".ft-tooltip")],me.prototype,"tooltip",void 0);ot([(0,He.query)(".ft-tooltip--content")],me.prototype,"tooltipContent",void 0);ot([(0,He.state)()],me.prototype,"visible",void 0);(0,el.customElement)("ft-tooltip")(me);var ol=b(T());var tl=b(Z()),rl=b(T());var Jt=class extends rl.FtLitElement{render(){return tl.html`
|
|
1225
|
+
<div class="ft-loader">
|
|
1226
|
+
<div></div>
|
|
1227
|
+
<div></div>
|
|
1228
|
+
<div></div>
|
|
1229
|
+
<div></div>
|
|
1230
|
+
</div>
|
|
1231
|
+
`}};Jt.styles=Ss;(0,ol.customElement)("ft-loader")(Jt);var _t=b(Z()),jn=b(gt()),ye=b(le());var Se=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},re=class extends(0,kt.toFtFormComponent)(kt.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var o;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var e,o,n;let i=_t.html`
|
|
1232
|
+
<ft-ripple part="ripple"
|
|
1233
|
+
?disabled=${this.isDisabled()}
|
|
1234
|
+
?activated=${this.activated}
|
|
1235
|
+
></ft-ripple>
|
|
1236
|
+
<ft-typography part="label"
|
|
1237
|
+
variant="${this.typographyVariant}"
|
|
1238
|
+
element="span"
|
|
1239
|
+
class="ft-button--label ${kt.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
1240
|
+
?hidden=${!this.hasTextContent()}>
|
|
1241
|
+
<slot @slotchange=${this.onSlotchange}></slot>
|
|
1242
|
+
</ft-typography>
|
|
1243
|
+
${this.resolveIcon()}
|
|
1244
|
+
`,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?_t.html`
|
|
1245
|
+
<a href="${a}"
|
|
1246
|
+
target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
|
|
1247
|
+
part="button"
|
|
1248
|
+
class="${(0,jn.classMap)(this.buttonClasses)}"
|
|
1249
|
+
aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
|
|
1250
|
+
?disabled=${this.isDisabled()}>
|
|
1251
|
+
${i}
|
|
1252
|
+
</a>
|
|
1253
|
+
`:_t.html`
|
|
1254
|
+
<button part="button"
|
|
1255
|
+
class="${(0,jn.classMap)(this.buttonClasses)}"
|
|
1256
|
+
aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
|
|
1257
|
+
aria-haspopup="${et(this.ariaHasPopup)}"
|
|
1258
|
+
?disabled=${this.isDisabled()}>
|
|
1259
|
+
${i}
|
|
1260
|
+
</button>
|
|
1261
|
+
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?_t.html`
|
|
1262
|
+
<ft-tooltip part="tooltip"
|
|
1263
|
+
text="${this.getLabel()}"
|
|
1264
|
+
position="${this.tooltipPosition}">
|
|
1265
|
+
${e}
|
|
1266
|
+
</ft-tooltip>
|
|
1267
|
+
`:e}resolveIcon(){return this.loading?_t.html`
|
|
1268
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?_t.html`
|
|
1269
|
+
<ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
|
|
1270
|
+
`:_t.html`
|
|
1271
|
+
<slot part="icon" name="icon"></slot>
|
|
1272
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(e,o)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,kt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};re.elementDefinitions={"ft-ripple":Y,"ft-tooltip":me,"ft-typography":ue,"ft-icon":se,"ft-loader":Jt};Se([(0,ye.property)()],re.prototype,"href",void 0);Se([(0,ye.property)()],re.prototype,"target",void 0);Se([(0,ye.property)()],re.prototype,"type",void 0);Se([(0,ye.property)({type:Boolean})],re.prototype,"disabled",void 0);Se([(0,ye.property)()],re.prototype,"label",void 0);Se([(0,ye.property)()],re.prototype,"icon",void 0);Se([(0,ye.property)()],re.prototype,"iconVariant",void 0);Se([(0,ye.property)({type:Boolean})],re.prototype,"trailingIcon",void 0);Se([(0,ye.property)({type:Boolean})],re.prototype,"loading",void 0);Se([(0,ye.property)({attribute:"aria-label"})],re.prototype,"ariaLabel",void 0);Se([(0,ye.property)()],re.prototype,"ariaHasPopup",void 0);Se([(0,ye.property)()],re.prototype,"tooltipPosition",void 0);Se([(0,ye.property)({type:Boolean})],re.prototype,"hideTooltip",void 0);Se([(0,ye.property)({type:Boolean})],re.prototype,"forceTooltip",void 0);Se([(0,ye.property)({type:Boolean})],re.prototype,"activated",void 0);Se([(0,ye.query)(".ft-button")],re.prototype,"button",void 0);Se([(0,ye.query)(".ft-button--label slot")],re.prototype,"slottedContent",void 0);Se([(0,ye.query)("[part=tooltip]")],re.prototype,"tooltip",void 0);var Eo=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},nt=class extends re{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}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}}get typographyVariant(){return"button"}};nt.styles=[nl.safariEllipsisFix,ws];Eo([(0,Xr.property)({type:Boolean})],nt.prototype,"primary",void 0);Eo([(0,Xr.property)({type:Boolean})],nt.prototype,"outlined",void 0);Eo([(0,Xr.property)({type:Boolean})],nt.prototype,"dense",void 0);Eo([(0,Xr.property)({type:Boolean})],nt.prototype,"round",void 0);var Qr=b(le());var Ao=b(T());var il=b(Z()),C=b(T());var Kn={...f,iconOnlyScale:C.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},al=[il.css`
|
|
1273
|
+
:host {
|
|
1274
|
+
display: inline-block;
|
|
1275
|
+
max-width: 100%;
|
|
1276
|
+
pointer-events: none;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
/** Remove default button styles **/
|
|
1280
|
+
|
|
1281
|
+
.ft-button {
|
|
1282
|
+
box-shadow: 0 0 0 transparent;
|
|
1283
|
+
border: 0 solid transparent;
|
|
1284
|
+
text-shadow: 0 0 0 transparent;
|
|
1285
|
+
text-decoration: none;
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
.ft-button:hover {
|
|
1289
|
+
box-shadow: 0 0 0 transparent;
|
|
1290
|
+
text-shadow: 0 0 0 transparent;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
.ft-button:active {
|
|
1294
|
+
outline: none;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
.ft-button:focus {
|
|
1298
|
+
outline: 0;
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
/** Base styles **/
|
|
1302
|
+
|
|
1303
|
+
.ft-button {
|
|
1304
|
+
position: relative;
|
|
1305
|
+
display: flex;
|
|
1306
|
+
justify-content: center;
|
|
1307
|
+
align-items: center;
|
|
1308
|
+
width: 100%;
|
|
1309
|
+
overflow: hidden;
|
|
1310
|
+
box-sizing: border-box;
|
|
1311
|
+
pointer-events: auto;
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
.ft-button:not([disabled]):hover {
|
|
1315
|
+
cursor: pointer;
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
.ft-button:focus {
|
|
1319
|
+
outline: none;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
.ft-button:focus-visible {
|
|
1323
|
+
outline-color: ${f.focusFocusRingColor};
|
|
1324
|
+
outline-style: solid;
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
ft-icon {
|
|
1328
|
+
flex-shrink: 0;
|
|
1329
|
+
position: relative;
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
1333
|
+
.ft-button:not(.ft-button--trailing-icon) ft-loader {
|
|
1334
|
+
order: -1;
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
.ft-button--label {
|
|
1338
|
+
position: relative;
|
|
1339
|
+
overflow: hidden;
|
|
1340
|
+
white-space: nowrap;
|
|
1341
|
+
text-overflow: ellipsis;
|
|
1342
|
+
display: block;
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
.ft-button--label[hidden] {
|
|
1346
|
+
display: none;
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
.ft-button.ft-button--icon-only {
|
|
1350
|
+
padding: unset;
|
|
1351
|
+
border-radius: 50%;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
.ft-button.ft-button--icon-only ft-icon {
|
|
1355
|
+
transform: scale(${Kn.iconOnlyScale});
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
/** Brand Primary styles **/
|
|
1359
|
+
|
|
1360
|
+
.ftds--family-brand.ft-button--primary {
|
|
1361
|
+
${(0,C.setVariable)(ne.color,f.primaryBrandIconColor)};
|
|
1362
|
+
|
|
1363
|
+
${(0,C.setVariable)(E.color,f.primaryBrandStateLayerColor)};
|
|
1364
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.primaryBrandHoverStateLayerOpacity)};
|
|
1365
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.primaryBrandFocusStateLayerOpacity)};
|
|
1366
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.primaryBrandActiveStateLayerOpacity)};
|
|
1367
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.primaryBrandActiveStateLayerOpacity)};
|
|
1368
|
+
|
|
1369
|
+
background-color: ${f.primaryBrandBackgroundColor};
|
|
1370
|
+
color: ${f.primaryBrandColor};
|
|
1371
|
+
border-style: none;
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
.ftds--family-brand.ft-button--primary[disabled] {
|
|
1375
|
+
opacity: ${f.primaryBrandDisabledComponentOpacity};
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
.ftds--family-brand.ft-button--primary ft-icon {
|
|
1379
|
+
color: ${f.primaryBrandIconColor};
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
/** Brand Secondary styles **/
|
|
1383
|
+
|
|
1384
|
+
.ftds--family-brand.ft-button--secondary {
|
|
1385
|
+
${(0,C.setVariable)(ne.color,f.secondaryBrandIconColor)};
|
|
1386
|
+
|
|
1387
|
+
${(0,C.setVariable)(E.color,f.secondaryBrandStateLayerColor)};
|
|
1388
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryBrandHoverStateLayerOpacity)};
|
|
1389
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryBrandFocusStateLayerOpacity)};
|
|
1390
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryBrandActiveStateLayerOpacity)};
|
|
1391
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryBrandActiveStateLayerOpacity)};
|
|
1392
|
+
|
|
1393
|
+
background-color: ${f.secondaryBrandBackgroundColor};
|
|
1394
|
+
color: ${f.secondaryBrandColor};
|
|
1395
|
+
border-color: ${f.secondaryBrandBorderColor};
|
|
1396
|
+
border-style: solid;
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
.ftds--family-brand.ft-button--secondary[disabled] {
|
|
1400
|
+
opacity: ${f.secondaryBrandDisabledComponentOpacity};
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
.ftds--family-brand.ft-button--secondary ft-icon {
|
|
1404
|
+
color: ${f.secondaryBrandIconColor};
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
/** Brand Tertiary styles **/
|
|
1408
|
+
|
|
1409
|
+
.ftds--family-brand.ft-button--tertiary {
|
|
1410
|
+
${(0,C.setVariable)(ne.color,f.tertiaryBrandIconColor)};
|
|
1411
|
+
|
|
1412
|
+
${(0,C.setVariable)(E.color,f.tertiaryBrandStateLayerColor)};
|
|
1413
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryBrandHoverStateLayerOpacity)};
|
|
1414
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryBrandFocusStateLayerOpacity)};
|
|
1415
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryBrandActiveStateLayerOpacity)};
|
|
1416
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryBrandActiveStateLayerOpacity)};
|
|
1417
|
+
|
|
1418
|
+
background-color: ${f.tertiaryBrandBackgroundColor};
|
|
1419
|
+
color: ${f.tertiaryBrandColor};
|
|
1420
|
+
border-style: none;
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
.ftds--family-brand.ft-button--tertiary[disabled] {
|
|
1424
|
+
opacity: ${f.tertiaryBrandDisabledComponentOpacity};
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
.ftds--family-brand.ft-button--tertiary ft-icon {
|
|
1428
|
+
color: ${f.tertiaryBrandIconColor};
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
/** Neutral Secondary styles **/
|
|
1432
|
+
|
|
1433
|
+
.ftds--family-neutral.ft-button--secondary {
|
|
1434
|
+
${(0,C.setVariable)(ne.color,f.secondaryNeutralIconColor)};
|
|
1435
|
+
|
|
1436
|
+
${(0,C.setVariable)(E.backgroundColor,f.secondaryNeutralStateLayerColor)};
|
|
1437
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryNeutralHoverStateLayerOpacity)};
|
|
1438
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryNeutralFocusStateLayerOpacity)};
|
|
1439
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryNeutralActiveStateLayerOpacity)};
|
|
1440
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryNeutralActiveStateLayerOpacity)};
|
|
1441
|
+
|
|
1442
|
+
background-color: ${f.secondaryNeutralBackgroundColor};
|
|
1443
|
+
color: ${f.secondaryNeutralColor};
|
|
1444
|
+
border-color: ${f.secondaryNeutralBorderColor};
|
|
1445
|
+
border-style: solid;
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
.ftds--family-neutral.ft-button--secondary[disabled] {
|
|
1449
|
+
opacity: ${f.secondaryNeutralDisabledComponentOpacity};
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
.ftds--family-neutral.ft-button--secondary ft-icon {
|
|
1453
|
+
color: ${f.secondaryNeutralIconColor};
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
/** Neutral Tertiary styles **/
|
|
1457
|
+
|
|
1458
|
+
.ftds--family-neutral.ft-button--tertiary {
|
|
1459
|
+
${(0,C.setVariable)(ne.color,f.tertiaryNeutralIconColor)};
|
|
1460
|
+
|
|
1461
|
+
${(0,C.setVariable)(E.backgroundColor,f.tertiaryNeutralStateLayerColor)};
|
|
1462
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryNeutralHoverStateLayerOpacity)};
|
|
1463
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryNeutralFocusStateLayerOpacity)};
|
|
1464
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryNeutralActiveStateLayerOpacity)};
|
|
1465
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryNeutralActiveStateLayerOpacity)};
|
|
1466
|
+
|
|
1467
|
+
background-color: ${f.tertiaryNeutralBackgroundColor};
|
|
1468
|
+
color: ${f.tertiaryNeutralColor};
|
|
1469
|
+
border-style: none;
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
.ftds--family-neutral.ft-button--tertiary[disabled] {
|
|
1473
|
+
opacity: ${f.tertiaryNeutralDisabledComponentOpacity};
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
.ftds--family-neutral.ft-button--tertiary ft-icon {
|
|
1477
|
+
color: ${f.tertiaryNeutralIconColor};
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
/** Info Secondary styles **/
|
|
1481
|
+
|
|
1482
|
+
.ftds--family-info.ft-button--secondary {
|
|
1483
|
+
${(0,C.setVariable)(ne.color,f.secondaryInfoIconColor)};
|
|
1484
|
+
|
|
1485
|
+
${(0,C.setVariable)(E.backgroundColor,f.secondaryInfoStateLayerColor)};
|
|
1486
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryInfoHoverStateLayerOpacity)};
|
|
1487
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryInfoFocusStateLayerOpacity)};
|
|
1488
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryInfoActiveStateLayerOpacity)};
|
|
1489
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryInfoActiveStateLayerOpacity)};
|
|
1490
|
+
|
|
1491
|
+
background-color: ${f.secondaryInfoBackgroundColor};
|
|
1492
|
+
color: ${f.secondaryInfoColor};
|
|
1493
|
+
border-color: ${f.secondaryInfoBorderColor};
|
|
1494
|
+
border-style: solid;
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1497
|
+
.ftds--family-info.ft-button--secondary[disabled] {
|
|
1498
|
+
opacity: ${f.secondaryInfoDisabledComponentOpacity};
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
.ftds--family-info.ft-button--secondary ft-icon {
|
|
1502
|
+
color: ${f.secondaryInfoIconColor};
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
/** Info Tertiary styles **/
|
|
1506
|
+
|
|
1507
|
+
.ftds--family-info.ft-button--tertiary {
|
|
1508
|
+
${(0,C.setVariable)(ne.color,f.tertiaryInfoIconColor)};
|
|
1509
|
+
|
|
1510
|
+
${(0,C.setVariable)(E.backgroundColor,f.tertiaryInfoStateLayerColor)};
|
|
1511
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryInfoHoverStateLayerOpacity)};
|
|
1512
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryInfoFocusStateLayerOpacity)};
|
|
1513
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryInfoActiveStateLayerOpacity)};
|
|
1514
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryInfoActiveStateLayerOpacity)};
|
|
1515
|
+
|
|
1516
|
+
background-color: ${f.tertiaryInfoBackgroundColor};
|
|
1517
|
+
color: ${f.tertiaryInfoColor};
|
|
1518
|
+
border-style: none;
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
.ftds--family-info.ft-button--tertiary[disabled] {
|
|
1522
|
+
opacity: ${f.tertiaryInfoDisabledComponentOpacity};
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
.ftds--family-info.ft-button--tertiary ft-icon {
|
|
1526
|
+
color: ${f.tertiaryInfoIconColor};
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
/** Success Secondary styles **/
|
|
1530
|
+
|
|
1531
|
+
.ftds--family-success.ft-button--secondary {
|
|
1532
|
+
${(0,C.setVariable)(ne.color,f.secondarySuccessIconColor)};
|
|
1533
|
+
|
|
1534
|
+
${(0,C.setVariable)(E.backgroundColor,f.secondarySuccessStateLayerColor)};
|
|
1535
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondarySuccessHoverStateLayerOpacity)};
|
|
1536
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondarySuccessFocusStateLayerOpacity)};
|
|
1537
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondarySuccessActiveStateLayerOpacity)};
|
|
1538
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondarySuccessActiveStateLayerOpacity)};
|
|
1539
|
+
|
|
1540
|
+
background-color: ${f.secondarySuccessBackgroundColor};
|
|
1541
|
+
color: ${f.secondarySuccessColor};
|
|
1542
|
+
border-color: ${f.secondarySuccessBorderColor};
|
|
1543
|
+
border-style: solid;
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
.ftds--family-success.ft-button--secondary[disabled] {
|
|
1547
|
+
opacity: ${f.secondarySuccessDisabledComponentOpacity};
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
.ftds--family-success.ft-button--secondary ft-icon {
|
|
1551
|
+
color: ${f.secondarySuccessIconColor};
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
/** Success Tertiary styles **/
|
|
1555
|
+
|
|
1556
|
+
.ftds--family-success.ft-button--tertiary {
|
|
1557
|
+
${(0,C.setVariable)(ne.color,f.tertiarySuccessIconColor)};
|
|
1558
|
+
|
|
1559
|
+
${(0,C.setVariable)(E.backgroundColor,f.tertiarySuccessStateLayerColor)};
|
|
1560
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiarySuccessHoverStateLayerOpacity)};
|
|
1561
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiarySuccessFocusStateLayerOpacity)};
|
|
1562
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiarySuccessActiveStateLayerOpacity)};
|
|
1563
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiarySuccessActiveStateLayerOpacity)};
|
|
1564
|
+
|
|
1565
|
+
background-color: ${f.tertiarySuccessBackgroundColor};
|
|
1566
|
+
color: ${f.tertiarySuccessColor};
|
|
1567
|
+
border-style: none;
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
.ftds--family-success.ft-button--tertiary[disabled] {
|
|
1571
|
+
opacity: ${f.tertiarySuccessDisabledComponentOpacity};
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
.ftds--family-success.ft-button--tertiary ft-icon {
|
|
1575
|
+
color: ${f.tertiarySuccessIconColor};
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
/** Warning Secondary styles **/
|
|
1579
|
+
|
|
1580
|
+
.ftds--family-warning.ft-button--secondary {
|
|
1581
|
+
${(0,C.setVariable)(ne.color,f.secondaryWarningIconColor)};
|
|
1582
|
+
|
|
1583
|
+
${(0,C.setVariable)(E.backgroundColor,f.secondaryWarningStateLayerColor)};
|
|
1584
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryWarningHoverStateLayerOpacity)};
|
|
1585
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryWarningFocusStateLayerOpacity)};
|
|
1586
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryWarningActiveStateLayerOpacity)};
|
|
1587
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryWarningActiveStateLayerOpacity)};
|
|
1588
|
+
|
|
1589
|
+
background-color: ${f.secondaryWarningBackgroundColor};
|
|
1590
|
+
color: ${f.secondaryWarningColor};
|
|
1591
|
+
border-color: ${f.secondaryWarningBorderColor};
|
|
1592
|
+
border-style: solid;
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
.ftds--family-warning.ft-button--secondary[disabled] {
|
|
1596
|
+
opacity: ${f.secondaryWarningDisabledComponentOpacity};
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1599
|
+
.ftds--family-warning.ft-button--secondary ft-icon {
|
|
1600
|
+
color: ${f.secondaryWarningIconColor};
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
/** Warning Tertiary styles **/
|
|
1604
|
+
|
|
1605
|
+
.ftds--family-warning.ft-button--tertiary {
|
|
1606
|
+
${(0,C.setVariable)(ne.color,f.tertiaryWarningIconColor)};
|
|
1607
|
+
|
|
1608
|
+
${(0,C.setVariable)(E.backgroundColor,f.tertiaryWarningStateLayerColor)};
|
|
1609
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryWarningHoverStateLayerOpacity)};
|
|
1610
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryWarningFocusStateLayerOpacity)};
|
|
1611
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryWarningActiveStateLayerOpacity)};
|
|
1612
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryWarningActiveStateLayerOpacity)};
|
|
1613
|
+
|
|
1614
|
+
background-color: ${f.tertiaryWarningBackgroundColor};
|
|
1615
|
+
color: ${f.tertiaryWarningColor};
|
|
1616
|
+
border-style: none;
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
.ftds--family-warning.ft-button--tertiary[disabled] {
|
|
1620
|
+
opacity: ${f.tertiaryWarningDisabledComponentOpacity};
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
.ftds--family-warning.ft-button--tertiary ft-icon {
|
|
1624
|
+
color: ${f.tertiaryWarningIconColor};
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
/** Error Secondary styles **/
|
|
1628
|
+
|
|
1629
|
+
.ftds--family-error.ft-button--secondary {
|
|
1630
|
+
${(0,C.setVariable)(ne.color,f.secondaryErrorIconColor)};
|
|
1631
|
+
|
|
1632
|
+
${(0,C.setVariable)(E.backgroundColor,f.secondaryErrorStateLayerColor)};
|
|
1633
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryErrorHoverStateLayerOpacity)};
|
|
1634
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryErrorFocusStateLayerOpacity)};
|
|
1635
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryErrorActiveStateLayerOpacity)};
|
|
1636
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryErrorActiveStateLayerOpacity)};
|
|
1637
|
+
|
|
1638
|
+
background-color: ${f.secondaryErrorBackgroundColor};
|
|
1639
|
+
color: ${f.secondaryErrorColor};
|
|
1640
|
+
border-color: ${f.secondaryErrorBorderColor};
|
|
1641
|
+
border-style: solid;
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
.ftds--family-error.ft-button--secondary[disabled] {
|
|
1645
|
+
opacity: ${f.secondaryErrorDisabledComponentOpacity};
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
.ftds--family-error.ft-button--secondary ft-icon {
|
|
1649
|
+
color: ${f.secondaryErrorIconColor};
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
/** Error Tertiary styles **/
|
|
1653
|
+
|
|
1654
|
+
.ftds--family-error.ft-button--tertiary {
|
|
1655
|
+
${(0,C.setVariable)(ne.color,f.tertiaryErrorIconColor)};
|
|
1656
|
+
|
|
1657
|
+
${(0,C.setVariable)(E.backgroundColor,f.tertiaryErrorStateLayerColor)};
|
|
1658
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryErrorHoverStateLayerOpacity)};
|
|
1659
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryErrorFocusStateLayerOpacity)};
|
|
1660
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryErrorActiveStateLayerOpacity)};
|
|
1661
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryErrorActiveStateLayerOpacity)};
|
|
1662
|
+
|
|
1663
|
+
background-color: ${f.tertiaryErrorBackgroundColor};
|
|
1664
|
+
color: ${f.tertiaryErrorColor};
|
|
1665
|
+
border-style: none;
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
.ftds--family-error.ft-button--tertiary[disabled] {
|
|
1669
|
+
opacity: ${f.tertiaryErrorDisabledComponentOpacity};
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
.ftds--family-error.ft-button--tertiary ft-icon {
|
|
1673
|
+
color: ${f.tertiaryErrorIconColor};
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
/** Large styles **/
|
|
1677
|
+
|
|
1678
|
+
.ftds--size-large {
|
|
1679
|
+
${(0,C.setVariable)(te.size,f.largeIconSize)};
|
|
1680
|
+
${(0,C.setVariable)(ne.size,f.largeIconSize)};
|
|
1681
|
+
|
|
1682
|
+
height: ${f.largeHeight};
|
|
1683
|
+
padding: 0 ${f.largeHorizontalPadding};
|
|
1684
|
+
gap: ${f.largeGap};
|
|
1685
|
+
border-radius: ${f.largeBorderRadius};
|
|
1686
|
+
border-width: ${f.largeBorderWidth};
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
.ftds--size-large:focus-visible {
|
|
1690
|
+
outline-width: ${f.largeFocusOutlineWidth};
|
|
1691
|
+
outline-offset: ${f.largeFocusOutlineOffset};
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
.ftds--size-large.ft-button--icon-only {
|
|
1695
|
+
width: ${f.largeIconOnlyWidth};
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
/** Small styles **/
|
|
1699
|
+
|
|
1700
|
+
.ftds--size-medium {
|
|
1701
|
+
${(0,C.setVariable)(te.size,f.mediumIconSize)};
|
|
1702
|
+
${(0,C.setVariable)(ne.size,f.mediumIconSize)};
|
|
1703
|
+
|
|
1704
|
+
height: ${f.mediumHeight};
|
|
1705
|
+
padding: 0 ${f.mediumHorizontalPadding};
|
|
1706
|
+
gap: ${f.mediumGap};
|
|
1707
|
+
border-radius: ${f.mediumBorderRadius};
|
|
1708
|
+
border-width: ${f.mediumBorderWidth};
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
.ftds--size-medium:focus-visible {
|
|
1712
|
+
outline-width: ${f.mediumFocusOutlineWidth};
|
|
1713
|
+
outline-offset: ${f.mediumFocusOutlineOffset};
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1716
|
+
.ftds--size-medium.ft-button--icon-only {
|
|
1717
|
+
width: ${f.mediumIconOnlyWidth};
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
|
|
1721
|
+
/** Small styles **/
|
|
1722
|
+
|
|
1723
|
+
.ftds--size-small {
|
|
1724
|
+
${(0,C.setVariable)(te.size,f.smallIconSize)};
|
|
1725
|
+
${(0,C.setVariable)(ne.size,f.smallIconSize)};
|
|
1726
|
+
|
|
1727
|
+
height: ${f.smallHeight};
|
|
1728
|
+
padding: 0 ${f.smallHorizontalPadding};
|
|
1729
|
+
gap: ${f.smallGap};
|
|
1730
|
+
border-radius: ${f.smallBorderRadius};
|
|
1731
|
+
border-width: ${f.smallBorderWidth};
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
.ftds--size-small:focus-visible {
|
|
1735
|
+
outline-width: ${f.smallFocusOutlineWidth};
|
|
1736
|
+
outline-offset: ${f.smallFocusOutlineOffset};
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1739
|
+
.ftds--size-small.ft-button--icon-only {
|
|
1740
|
+
width: ${f.smallIconOnlyWidth};
|
|
1741
|
+
}
|
|
1742
|
+
`,C.noTextSelect];var wo=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},it=class extends(0,Ao.toFtdsBase)(re){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=yo.brand,this.iconVariant=qe.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Ne.large:return ke.body2medium;case Ne.medium:return ke.caption1medium;case Ne.small:return ke.caption2medium}}};it.styles=[Ao.safariEllipsisFix,al];wo([(0,Qr.property)({type:Boolean})],it.prototype,"primary",void 0);wo([(0,Qr.property)({type:Boolean})],it.prototype,"secondary",void 0);wo([(0,Qr.property)({type:Boolean})],it.prototype,"tertiary",void 0);wo([(0,Qr.property)({type:Boolean})],it.prototype,"round",void 0);(0,Zn.customElement)("ft-button")(nt);(0,Zn.customElement)("ftds-button")(it);var sl=z.FtCssVariableFactory.extend("--ft-chip-color","",z.designSystemVariables.colorOnSurface),Me={backgroundColor:z.FtCssVariableFactory.extend("--ft-chip-background-color","",z.designSystemVariables.colorSurface),color:sl,fontSize:z.FtCssVariableFactory.extend("--ft-chip-font-size","",Ke.fontSize),fontWeight:z.FtCssVariableFactory.extend("--ft-chip-font-weight","",Ke.fontWeight),iconSize:z.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:z.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:z.FtCssVariableFactory.extend("--ft-chip-ripple-color","",sl),horizontalPadding:z.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:z.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:z.FtCssVariableFactory.extend("--ft-chip-border-color","",z.designSystemVariables.colorOutline),opacityDisabled:z.FtCssVariableFactory.external(z.designSystemVariables.colorOpacityDisabled,"Design system")},ll=z.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",z.FtCssVariableFactory.extend("--ft-chip-color","",z.designSystemVariables.colorOnPrimary)),qn={backgroundColor:z.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",z.FtCssVariableFactory.extend("--ft-chip-background-color","",z.designSystemVariables.colorPrimary)),color:ll,rippleColor:z.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",ll)},cl={horizontalPadding:z.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:z.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},dl=[z.noTextSelect,Jr.css`
|
|
1743
|
+
:host {
|
|
1744
|
+
display: inline-block;
|
|
1745
|
+
max-width: 100%;
|
|
1746
|
+
pointer-events: none;
|
|
1747
|
+
}
|
|
1748
|
+
|
|
1749
|
+
.ft-chip {
|
|
1750
|
+
position: relative;
|
|
1751
|
+
display: flex;
|
|
1752
|
+
justify-content: center;
|
|
1753
|
+
align-items: center;
|
|
1754
|
+
width: 100%;
|
|
1755
|
+
box-sizing: border-box;
|
|
1756
|
+
pointer-events: auto;
|
|
1757
|
+
|
|
1758
|
+
--chip-internal-font-size: ${Me.fontSize};
|
|
1759
|
+
--chip-internal-font-weight: ${Me.fontWeight};
|
|
1760
|
+
--chip-internal-line-height: max(20px, calc(var(--chip-internal-font-size) + 2px));
|
|
1761
|
+
${(0,z.setVariable)(te.size,Me.iconSize)};
|
|
1762
|
+
--chip-internal-vertical-padding: ${Me.verticalPadding};
|
|
1763
|
+
--chip-internal-horizontal-padding: ${Me.horizontalPadding};
|
|
1764
|
+
--chip-internal-icon-padding: 3px;
|
|
1765
|
+
--chip-internal-content-height: max(var(--chip-internal-line-height), ${Me.iconSize});
|
|
1766
|
+
|
|
1767
|
+
border: 1px solid ${Me.borderColor};
|
|
1768
|
+
color: ${Me.color};
|
|
1769
|
+
${(0,z.setVariable)(E.color,Me.rippleColor)};
|
|
1770
|
+
border-radius: var(${(0,Jr.unsafeCSS)(Me.borderRadius.name)}, calc(var(--chip-internal-content-height) / 2 + var(--chip-internal-vertical-padding)));
|
|
1771
|
+
padding: calc(var(--chip-internal-vertical-padding) - 1px) calc(var(--chip-internal-horizontal-padding) - 1px);
|
|
1772
|
+
background-color: ${Me.backgroundColor};
|
|
1773
|
+
line-height: var(--chip-internal-content-height);
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1776
|
+
.ft-chip > *:not(ft-ripple) {
|
|
1777
|
+
position: relative;
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
.ft-chip--dense {
|
|
1781
|
+
--chip-internal-icon-padding: 3px;
|
|
1782
|
+
--chip-internal-vertical-padding: ${cl.verticalPadding};
|
|
1783
|
+
--chip-internal-horizontal-padding: ${cl.horizontalPadding};
|
|
1784
|
+
--chip-internal-line-height: max(16px, calc(var(--chip-internal-font-size) + 2px));
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1787
|
+
.ft-chip--no-content {
|
|
1788
|
+
--chip-internal-horizontal-padding: ${Me.horizontalPadding.get(Jr.css`var(--chip-internal-vertical-padding)`)};
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
.ft-chip--disabled {
|
|
1792
|
+
cursor: default;
|
|
1793
|
+
pointer-events: none;
|
|
1794
|
+
filter: grayscale(1);
|
|
1795
|
+
opacity: ${Me.opacityDisabled};
|
|
1796
|
+
}
|
|
1797
|
+
|
|
1798
|
+
.ft-chip--highlighted {
|
|
1799
|
+
border: none;
|
|
1800
|
+
padding: var(--chip-internal-vertical-padding) var(--chip-internal-horizontal-padding);
|
|
1801
|
+
background-color: ${qn.backgroundColor};
|
|
1802
|
+
${(0,z.setVariable)(E.color,qn.rippleColor)};
|
|
1803
|
+
color: ${qn.color};
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
.ft-chip--clickable {
|
|
1807
|
+
cursor: pointer;
|
|
1808
|
+
overflow: hidden
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
.ft-chip:focus {
|
|
1812
|
+
outline: 2px solid ${z.designSystemVariables.colorPrimary};
|
|
1813
|
+
outline-offset: 2px;
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
.ft-chip--icon-container {
|
|
1817
|
+
display: inline-flex;
|
|
1818
|
+
position: relative;
|
|
1819
|
+
overflow: hidden;
|
|
1820
|
+
border-radius: 100%;
|
|
1821
|
+
justify-content: center;
|
|
1822
|
+
align-items: center;
|
|
1823
|
+
flex-shrink: 0;
|
|
1824
|
+
|
|
1825
|
+
padding: var(--chip-internal-icon-padding);
|
|
1826
|
+
margin: calc((-1) * var(--chip-internal-icon-padding));
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
.ft-chip--icon-container > *:not(ft-ripple) {
|
|
1830
|
+
position: relative;
|
|
1831
|
+
}
|
|
1832
|
+
|
|
1833
|
+
.ft-chip--icon-button {
|
|
1834
|
+
${(0,z.setVariable)(ce.iconSize,Me.iconSize)};
|
|
1835
|
+
${(0,z.setVariable)(ce.horizontalPadding,"var(--chip-internal-icon-padding)")};
|
|
1836
|
+
${(0,z.setVariable)(ce.verticalPadding,"var(--chip-internal-icon-padding)")};
|
|
1837
|
+
margin: calc((-1) * var(--chip-internal-icon-padding));
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1840
|
+
.ft-chip--label {
|
|
1841
|
+
vertical-align: bottom;
|
|
1842
|
+
display: block;
|
|
1843
|
+
margin: 0 var(--chip-internal-horizontal-padding);
|
|
1844
|
+
${(0,z.setVariable)(Ke.fontSize,"var(--chip-internal-font-size)")};
|
|
1845
|
+
${(0,z.setVariable)(Ke.fontWeight,"var(--chip-internal-font-weight)")};
|
|
1846
|
+
${(0,z.setVariable)(Ke.lineHeight,"var(--chip-internal-content-height)")};
|
|
1847
|
+
}
|
|
1848
|
+
|
|
1849
|
+
.ft-chip--safari-fix .ft-chip--label {
|
|
1850
|
+
margin-right: 0;
|
|
1851
|
+
}
|
|
1852
|
+
|
|
1853
|
+
.ft-chip:not(.ft-chip--multi-line) .ft-chip--label {
|
|
1854
|
+
overflow: hidden;
|
|
1855
|
+
white-space: nowrap;
|
|
1856
|
+
text-overflow: ellipsis;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
.ft-chip--safari-fix:not(.ft-chip--multi-line) .ft-chip--label:after {
|
|
1860
|
+
content: "\\0000a0";
|
|
1861
|
+
display: inline-block;
|
|
1862
|
+
width: 0;
|
|
1863
|
+
}
|
|
1864
|
+
|
|
1865
|
+
.ft-chip--no-content .ft-chip--label {
|
|
1866
|
+
display: none;
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
.ft-chip--no-content .ft-chip--label + .ft-chip--icon-container {
|
|
1870
|
+
width: var(--chip-internal-content-height);
|
|
1871
|
+
height: var(--chip-internal-content-height);
|
|
1872
|
+
}
|
|
1873
|
+
|
|
1874
|
+
.ft-chip--icon-container:focus {
|
|
1875
|
+
outline: none;
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-container,
|
|
1879
|
+
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
1880
|
+
order: -1;
|
|
1881
|
+
}
|
|
1882
|
+
`];var Ue=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Io=class extends CustomEvent{constructor(){super("icon-click")}},de=class extends Er.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.hideIconTooltip=!1,this.icon=void 0,this.trailingIcon=!1}render(){let e={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Er.isSafari};return Ro.html`
|
|
1883
|
+
<div class="${(0,ul.classMap)(e)}"
|
|
1884
|
+
aria-label="${this.getLabel()}"
|
|
1885
|
+
tabindex="${this.interactionsOnChip?0:-1}"
|
|
1886
|
+
@keyup=${this.onKeyUp}
|
|
1887
|
+
part="chip">
|
|
1888
|
+
<ft-ripple ?disabled=${!this.interactionsOnChip}></ft-ripple>
|
|
1889
|
+
<ft-typography variant="body2" element="span" class="ft-chip--label" part="label">
|
|
1890
|
+
<slot @slotchange=${this.onSlotchange}></slot>
|
|
1891
|
+
</ft-typography>
|
|
1892
|
+
${this.internalIcon?this.renderIcon():null}
|
|
1893
|
+
</div>
|
|
1894
|
+
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?Ro.html`
|
|
1895
|
+
<ft-button round
|
|
1896
|
+
class="ft-chip--icon-button"
|
|
1897
|
+
@click=${this.onIconClick}
|
|
1898
|
+
.iconVariant=${this.iconVariant}
|
|
1899
|
+
icon="${this.internalIcon}"
|
|
1900
|
+
label="${this.iconLabel}"
|
|
1901
|
+
tooltipposition="top"
|
|
1902
|
+
part="icon-button"
|
|
1903
|
+
?hideTooltip=${this.hideIconTooltip}
|
|
1904
|
+
></ft-button>
|
|
1905
|
+
`:Ro.html`
|
|
1906
|
+
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
1907
|
+
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
1908
|
+
</div>
|
|
1909
|
+
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Io))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Io))}getLabel(){return this.label||this.textContent}get textContent(){return(0,Er.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};de.elementDefinitions={"ft-ripple":Y,"ft-typography":ue,"ft-icon":se,"ft-button":nt};de.styles=dl;Ue([(0,Ie.property)({type:Boolean})],de.prototype,"highlighted",void 0);Ue([(0,Ie.property)({type:Boolean})],de.prototype,"removable",void 0);Ue([(0,Ie.property)({type:Boolean})],de.prototype,"disabled",void 0);Ue([(0,Ie.property)({type:Boolean})],de.prototype,"clickable",void 0);Ue([(0,Ie.property)({type:Boolean})],de.prototype,"iconClickable",void 0);Ue([(0,Ie.property)({type:Boolean})],de.prototype,"dense",void 0);Ue([(0,Ie.property)({type:Boolean})],de.prototype,"multiLine",void 0);Ue([(0,Ie.property)()],de.prototype,"label",void 0);Ue([(0,Ie.property)()],de.prototype,"iconLabel",void 0);Ue([(0,Ie.property)({type:Boolean})],de.prototype,"hideIconTooltip",void 0);Ue([(0,Ie.property)()],de.prototype,"icon",void 0);Ue([(0,Ie.property)()],de.prototype,"iconVariant",void 0);Ue([(0,Ie.property)({type:Boolean})],de.prototype,"trailingIcon",void 0);Ue([(0,Ie.query)("ft-typography slot")],de.prototype,"slottedContent",void 0);var $t=b(Z()),Dt=b(le()),hl=b(gt()),To=b(T());var pl=b(Z());var Lo=b(T());var fl=[pl.css`
|
|
1910
|
+
:host {
|
|
1911
|
+
display: inline-block;
|
|
1912
|
+
max-width: 100%;
|
|
1913
|
+
pointer-events: none;
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
.ftds-chip {
|
|
1917
|
+
display: flex;
|
|
1918
|
+
align-items: center;
|
|
1919
|
+
box-sizing: border-box;
|
|
1920
|
+
}
|
|
1921
|
+
|
|
1922
|
+
.ftds-chip--icon-container {
|
|
1923
|
+
display: inline-flex;
|
|
1924
|
+
align-items: center;
|
|
1925
|
+
flex: none;
|
|
1926
|
+
}
|
|
1927
|
+
|
|
1928
|
+
.ftds-chip ft-typography {
|
|
1929
|
+
display: flex; /* For typo alignment in the chip */
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1932
|
+
|
|
1933
|
+
.ftds-chip--remove-button::part(icon) {
|
|
1934
|
+
transform: scale(1.35); /* Little trick to have a bigger icon inside of the button */
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
.ftds-chip--remove-button {
|
|
1938
|
+
position: relative;
|
|
1939
|
+
}
|
|
1940
|
+
|
|
1941
|
+
/* SMALL VARIANT */
|
|
1942
|
+
.ftds--size-small {
|
|
1943
|
+
min-height: ${$.smallMinHeight};
|
|
1944
|
+
padding: 0 ${$.smallHorizontalPadding};
|
|
1945
|
+
border-radius: ${$.smallBorderRadius};
|
|
1946
|
+
border-width: ${$.smallBorderWidth};
|
|
1947
|
+
border-style: solid;
|
|
1948
|
+
${(0,Lo.setVariable)(te.size,$.smallIconSize)}
|
|
1949
|
+
}
|
|
1950
|
+
|
|
1951
|
+
.ftds--size-small.ftds-chip--with-action {
|
|
1952
|
+
padding-right: ${$.smallButtonRightPadding};
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
.ftds--size-small ft-typography {
|
|
1956
|
+
overflow: visible;
|
|
1957
|
+
padding: 0 2px;
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1960
|
+
.ftds--size-small .ftds-chip--icon-container {
|
|
1961
|
+
overflow: visible;
|
|
1962
|
+
height: ${$.smallIconSize};
|
|
1963
|
+
margin-right: ${$.smallButtonRightPadding};
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
/* Dirty non-variabilized tweaks to properly center the icon */
|
|
1967
|
+
.ftds--size-small .ftds-chip--remove-button {
|
|
1968
|
+
overflow: visible;
|
|
1969
|
+
top: -3px;
|
|
1970
|
+
height: ${$.smallIconSize};
|
|
1971
|
+
transform: scale(.75); /* Little trick to have a (even) bigger icon inside of the button */
|
|
1972
|
+
${Kn.smallIconOnlyWidth.set("15px")};
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
.ftds--size-small .ftds-chip--remove-button::part(icon) {
|
|
1976
|
+
transform: scale(2); /* Same as above */
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1979
|
+
/* MEDIUM VARIANT */
|
|
1980
|
+
.ftds--size-medium {
|
|
1981
|
+
min-height: ${$.mediumMinHeight};
|
|
1982
|
+
padding: 0 ${$.mediumHorizontalPadding};
|
|
1983
|
+
border-radius: ${$.mediumBorderRadius};
|
|
1984
|
+
border-width: ${$.mediumBorderWidth};
|
|
1985
|
+
border-style: solid;
|
|
1986
|
+
gap: ${$.mediumGap};
|
|
1987
|
+
${(0,Lo.setVariable)(te.size,$.mediumIconSize)}
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
.ftds--size-medium.ftds-chip--with-action {
|
|
1991
|
+
padding-right: ${$.mediumButtonRightPadding};
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
.ftds--size-medium .ftds-chip--remove-button {
|
|
1995
|
+
right: -1px; /* Fixing manually the alignement of the button with the border of the chip */
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
/* LARGE VARIANT */
|
|
1999
|
+
.ftds--size-large {
|
|
2000
|
+
min-height: ${$.largeMinHeight};
|
|
2001
|
+
padding: 0 ${$.largeHorizontalPadding};
|
|
2002
|
+
border-radius: ${$.largeBorderRadius};
|
|
2003
|
+
border-width: ${$.largeBorderWidth};
|
|
2004
|
+
border-style: solid;
|
|
2005
|
+
gap: ${$.largeGap};
|
|
2006
|
+
${(0,Lo.setVariable)(te.size,$.largeIconSize)}
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
.ftds--size-large.ftds-chip--with-action {
|
|
2010
|
+
padding-right: ${$.largeButtonRightPadding};
|
|
2011
|
+
}
|
|
2012
|
+
|
|
2013
|
+
.ftds--size-large .ftds-chip--remove-button {
|
|
2014
|
+
right: -2px; /* Fixing manually the alignement of the button with the border of the chip */
|
|
2015
|
+
}
|
|
2016
|
+
|
|
2017
|
+
|
|
2018
|
+
/* NEUTRAL COLORS */
|
|
2019
|
+
.ftds--family-neutral {
|
|
2020
|
+
background-color: ${$.neutralBackgroundColor};
|
|
2021
|
+
border-color: ${$.neutralBorderColor};
|
|
2022
|
+
color: ${$.neutralColor};
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
.ftds--family-neutral .ftds-chip--icon-container {
|
|
2026
|
+
color: ${$.neutralIconColor};
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
|
|
2030
|
+
/* INFO COLORS */
|
|
2031
|
+
.ftds--family-info {
|
|
2032
|
+
background-color: ${$.infoBackgroundColor};
|
|
2033
|
+
border-color: ${$.infoBorderColor};
|
|
2034
|
+
color: ${$.infoColor};
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
.ftds--family-info .ftds-chip--icon-container {
|
|
2038
|
+
color: ${$.infoIconColor};
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
|
|
2042
|
+
/* SUCCESS COLORS */
|
|
2043
|
+
.ftds--family-success {
|
|
2044
|
+
background-color: ${$.successBackgroundColor};
|
|
2045
|
+
border-color: ${$.successBorderColor};
|
|
2046
|
+
color: ${$.successColor};
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
.ftds--family-success .ftds-chip--icon-container {
|
|
2050
|
+
color: ${$.successIconColor};
|
|
2051
|
+
}
|
|
2052
|
+
|
|
2053
|
+
|
|
2054
|
+
/* WARNING COLORS */
|
|
2055
|
+
.ftds--family-warning {
|
|
2056
|
+
background-color: ${$.warningBackgroundColor};
|
|
2057
|
+
border-color: ${$.warningBorderColor};
|
|
2058
|
+
color: ${$.warningColor};
|
|
2059
|
+
}
|
|
2060
|
+
|
|
2061
|
+
.ftds--family-warning .ftds-chip--icon-container {
|
|
2062
|
+
color: ${$.warningIconColor};
|
|
2063
|
+
}
|
|
2064
|
+
|
|
2065
|
+
|
|
2066
|
+
/* ERROR COLORS */
|
|
2067
|
+
.ftds--family-error {
|
|
2068
|
+
background-color: ${$.errorBackgroundColor};
|
|
2069
|
+
border-color: ${$.errorBorderColor};
|
|
2070
|
+
color: ${$.errorColor};
|
|
2071
|
+
}
|
|
2072
|
+
|
|
2073
|
+
.ftds--family-error .ftds-chip--icon-container {
|
|
2074
|
+
color: ${$.errorIconColor};
|
|
2075
|
+
}
|
|
2076
|
+
`];var wr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Yn=class extends CustomEvent{constructor(){super("remove")}},Xe=class extends To.FtdsBase{constructor(){super(...arguments),this.withAction=!1,this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--with-action":this.removable||this.withAction,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return $t.html`
|
|
2077
|
+
<div class="${(0,hl.classMap)(e)}"
|
|
2078
|
+
aria-label="${this.getLabel()}"
|
|
2079
|
+
part="chip">
|
|
2080
|
+
${this.renderIcon()}
|
|
2081
|
+
<ft-typography variant=${this.typographyVariant()} element="span" class="ftds-chip--label" part="label">
|
|
2082
|
+
<slot @slotchange=${this.onSlotchange}></slot>
|
|
2083
|
+
</ft-typography>
|
|
2084
|
+
${this.renderAction()}
|
|
2085
|
+
</div>
|
|
2086
|
+
`}renderIcon(){return this.icon?$t.html`
|
|
2087
|
+
<div class="ftds-chip--icon-container" part="icon-container">
|
|
2088
|
+
<ft-icon .variant=${qe.fluid_topics} .value="${this.icon}" part="icon"></ft-icon>
|
|
2089
|
+
</div>
|
|
2090
|
+
`:$t.nothing}renderAction(){return this.removable?$t.html`
|
|
2091
|
+
<ftds-button round
|
|
2092
|
+
class="ftds-chip--remove-button"
|
|
2093
|
+
@click=${this.dispatchRemoveEvent}
|
|
2094
|
+
icon=${St.X_MARK}
|
|
2095
|
+
label=${this.removeButtonLabel}
|
|
2096
|
+
family=${To.DesignSystemFamily.neutral}
|
|
2097
|
+
size=${this.resolveButtonSize()}
|
|
2098
|
+
part="icon-button"
|
|
2099
|
+
></ftds-button>
|
|
2100
|
+
`:this.withAction?$t.html`
|
|
2101
|
+
<slot name="action"></slot>
|
|
2102
|
+
`:$t.nothing}resolveButtonSize(){switch(this.size){case Ne.large:return Ne.medium;case Ne.medium:case Ne.small:return Ne.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Yn)}typographyVariant(){switch(this.size){case Ne.large:return ke.body2medium;case Ne.medium:case Ne.small:return ke.caption1medium}}};Xe.elementDefinitions={"ft-typography":ue,"ft-icon":se,"ftds-button":it};Xe.styles=fl;wr([(0,Dt.property)({type:Boolean})],Xe.prototype,"withAction",void 0);wr([(0,Dt.property)({type:Boolean})],Xe.prototype,"removable",void 0);wr([(0,Dt.property)()],Xe.prototype,"removeButtonLabel",void 0);wr([(0,Dt.property)()],Xe.prototype,"label",void 0);wr([(0,Dt.property)()],Xe.prototype,"icon",void 0);wr([(0,Dt.query)("ft-typography slot")],Xe.prototype,"slottedContent",void 0);(0,Xn.customElement)("ft-chip")(de);(0,Xn.customElement)("ftds-chip")(Xe);var rd=b(T());var ln=b(Z()),cn=b(le()),dn=b(T());var yl=b(Z());var gl=yl.css`
|
|
2103
|
+
`;var $r=b(T());var Xc=b(T());var nc=b(Z()),we=b(le()),at=b(T());var ml=b(Z());var bl=ml.css`
|
|
2104
|
+
`;var No=b(T()),Bd="ft-app-info",er=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};er.eventName="authentication-change";var Md={session:(t,e)=>{(0,No.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>L.dispatchEvent(new er(e.payload)),0))}},L=No.FtReduxStore.get({name:Bd,reducers:Md,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!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 Qn=b(T());var tr=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=L.getState(),i=e??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(e){return new Promise(o=>{let n=t.get(e);if(n)o(n);else{let i=L.subscribe(()=>{n=t.get(e),n&&(i(),o(n))})}})}};var Po=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:tr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):tr.await()}};var We=class extends Po{constructor(e=!0,o){var n;super(o),this.sortObjectFields=(a,l)=>typeof l!="object"||l==null||Array.isArray(l)?l:Object.fromEntries(Object.entries(l).sort(([c],[u])=>c.localeCompare(u)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Qn.CacheRegistry,this.cache=e?i.commonCache:new Qn.CacheRegistry}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var _o=class extends We{async listMyBookmarks(){let e=L.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Jn=class{addCommand(e,o=!1){L.commands.add(e,o)}consumeCommand(e){return L.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Jn;var Qe=b(T());var xl,Ar=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},Ud=Symbol("clearAfterUnitTest"),ko=class extends(0,Qe.withEventBus)(We){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[xl]=()=>{this.defaultMessages={},this.cache=new Qe.CacheRegistry,this.listeners={}},this.currentUiLocale=L.getState().uiLocale,L.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=L.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var n;if(e=e.toLowerCase(),o&&Object.keys(o).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...o};(0,Qe.deepEqual)(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var o,n;return this.fetchContext(e),(n=(o=this.cache.getNow(e))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,o){let n=e.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(e,o,...n){var i;let a=e.toLowerCase(),l=this.resolveContext(a);return new Qe.ParametrizedLabelResolver((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},l).resolve(o,...n)}async fetchContext(e){let o=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),o&&await this.notify(e)}catch(i){!(i instanceof Qe.CanceledPromiseError)&&o&&console.error(i)}return n}subscribe(e,o){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(o),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Ar({loadedContexts:e})),this.dispatchEvent(new Ar({loadedContexts:e})),await Promise.all(e.map(o=>this.notify(o,!1)))}async notify(e,o=!0){o&&(document.body.dispatchEvent(new Ar({loadedContexts:[e]})),this.dispatchEvent(new Ar({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>(0,Qe.delay)(0).then(()=>n()).catch(()=>null)))}};xl=Ud;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends ko{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends ko{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Rr=window.FluidTopicsI18nService,$o=window.FluidTopicsCustomI18nService;var vl=b(T()),ei=class{highlightHtml(e,o,n){(0,vl.highlightHtml)(e,o,n)}};window.FluidTopicsHighlightHtmlService=new ei;var zd=b(Cl(),1);var Ol;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Ol||(Ol={}));var El;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(El||(El={}));var wl;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(wl||(wl={}));var Al;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Al||(Al={}));var Rl;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Rl||(Rl={}));var Il;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Il||(Il={}));var Ll;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Ll||(Ll={}));var Tl;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Tl||(Tl={}));var Nl;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT"})(Nl||(Nl={}));var Pl;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Pl||(Pl={}));var _l;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(_l||(_l={}));var kl;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(kl||(kl={}));var $l;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})($l||($l={}));var Dl;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Dl||(Dl={}));var Bl;(function(t){t.ASC="ASC",t.DESC="DESC"})(Bl||(Bl={}));var Ml;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Ml||(Ml={}));var Ul;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Ul||(Ul={}));var Fl;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Fl||(Fl={}));var zl;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(zl||(zl={}));var Hl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Hl||(Hl={}));var Wl;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Wl||(Wl={}));var Vl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Vl||(Vl={}));var Gl;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Gl||(Gl={}));var jl;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(jl||(jl={}));var be;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(be||(be={}));var Ve;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Ve||(Ve={}));var Kl;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Kl||(Kl={}));var Zl;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Zl||(Zl={}));var ql;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(ql||(ql={}));var Yl;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Yl||(Yl={}));var Fd={[be.PERSONAL_BOOK_SHARE_USER]:[be.PERSONAL_BOOK_USER],[be.HTML_EXPORT_USER]:[be.PERSONAL_BOOK_USER],[be.PDF_EXPORT_USER]:[be.PERSONAL_BOOK_USER],[be.KHUB_ADMIN]:[be.CONTENT_PUBLISHER],[be.ADMIN]:[be.KHUB_ADMIN,be.USERS_ADMIN,be.PORTAL_ADMIN],[be.GENERATIVE_AI_EXPORT_USER]:[be.GENERATIVE_AI_USER]};function Xl(t,e){return t===e||(Fd[t]??[]).some(o=>Xl(o,e))}function Ql(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(n=>Xl(n,e))}var Mo=class extends We{async listMySearches(){let{session:e}=L.getState();return Ql(e,be.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Jl=b(T());var ti=class{isDate(e){var o,n,i,a;return(a=(i=((n=(o=L.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,o){var n,i,a;return Jl.DateFormatter.format(e,(n=o?.locale)!==null&&n!==void 0?n:L.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new ti;var ec=b(T());var eo=class{static get(e,o){var n,i;let a=L.getState(),{lang:l,region:c}=(i=(n=a.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new ec.SearchPlaceConverter(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,o??`${l}-${c}`)}};var ri=class{urlToSearchRequest(e){return eo.get().parse(e)}searchRequestToUrl(e){return eo.get().serialize(e)}};window.FluidTopicsUrlService=new ri;var Mt=b(T());var rr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};rr.eventName="change";var oi=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let o=sessionStorage.getItem(this.itemName(e));return o?JSON.parse(o):void 0}set(e,o){sessionStorage.setItem(this.itemName(e),JSON.stringify(o))}},tc=new oi;var Uo=class t extends Mt.WithEventBus{static build(){return new t(window.history,tc,()=>window.location,!1)}constructor(e,o,n,i){var a,l;super(),this.history=e,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(l=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&l!==void 0?l:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(e,o=!1){let n=o&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},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,Mt.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new rr(this.currentItem())),0)}installProxies(){let e=o=>(n,i,[a,l,c])=>{let u=o(),p={...u===this.currentIndex?this.currentState:void 0,...a,index:u,href:typeof c=="string"?c:(c??this.windowLocation()).href};n.apply(i,[p,l,c]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.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(e){for(let o=this.history.length-1;o>=0;o--)e?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(e){var o;let n={...this.buildCurrentState(),...e,index:this.currentIndex,title:(o=e?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(e){this.addEventListener(rr.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(rr.eventName,e)}currentItem(){return(0,Mt.deepCopy)(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,Mt.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return(0,Mt.deepCopy)(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var o;let n=(o=this.states[e])===null||o===void 0?void 0:o.majorStateId;if(!n)return e;let i=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,n);)this.hasState(a)&&(i=a),a++;return i}buildCurrentState(){var e,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&o!==void 0?o:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,o){var n;if(!this.hasState(e))return!1;let i=o??this.currentState.majorStateId,a=(n=this.states[e])===null||n===void 0?void 0:n.majorStateId;return a==null||a!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Uo.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var rc=L;function oc(t,e){var o;return rc.getState().authenticationRequired&&!(!((o=rc.getState().session)===null||o===void 0)&&o.sessionAuthenticated)?Promise.resolve(e):t()}var xe=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},oe=class extends at.FtLitElement{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.apiProvider=()=>tr.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new at.CacheRegistry,this.cleanSessionDebouncer=new at.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return nc.html`
|
|
968
2105
|
<slot></slot>
|
|
969
|
-
`}connectedCallback(){super.connectedCallback(),E.addEventListener(ut.eventName,this.reloadConfiguration)}disconnectedCallback(){E.addEventListener(ut.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var o,n,a,s,l,d,u;super.update(t),t.has("baseUrl")&&(E.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&E.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&E.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&E.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&E.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&E.actions.noCustom(this.noCustom),t.has("editorMode")&&E.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&E.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&E.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(p=>kt.addContext(p)),t.has("openExternalDocumentInNewTab")&&E.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&E.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&E.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(E.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),E.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),E.actions.searchInAllLanguagesAllowed((l=(s=this.localesConfiguration)===null||s===void 0?void 0:s.allLanguagesAllowed)!==null&&l!==void 0?l:!1)),t.has("authenticationRequired")&&E.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&E.actions.availableContentLocales((u=(d=this.availableContentLocales)===null||d===void 0?void 0:d.contentLocales)!==null&&u!==void 0?u:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>_i(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};j.elementDefinitions={};j.styles=ja;re([(0,le.property)()],j.prototype,"baseUrl",void 0);re([(0,le.property)()],j.prototype,"apiIntegrationIdentifier",void 0);re([(0,le.property)()],j.prototype,"apiIntegrationAppVersion",void 0);re([(0,le.property)()],j.prototype,"uiLocale",void 0);re([(0,Ne.jsonProperty)(null)],j.prototype,"availableUiLocales",void 0);re([(0,Ne.jsonProperty)(null)],j.prototype,"metadataConfiguration",void 0);re([(0,le.property)({type:Boolean})],j.prototype,"editorMode",void 0);re([(0,le.property)({type:Boolean})],j.prototype,"noCustom",void 0);re([(0,le.property)({type:Boolean})],j.prototype,"openExternalDocumentInNewTab",void 0);re([(0,le.property)({converter:{fromAttribute(r){return r==="false"?!1:r==="true"||(r??!1)}}})],j.prototype,"noCustomComponent",void 0);re([(0,le.property)({type:Boolean})],j.prototype,"withManualResources",void 0);re([(0,le.property)({type:Boolean})],j.prototype,"navigatorOnline",void 0);re([(0,le.property)({type:Boolean})],j.prototype,"forcedOffline",void 0);re([(0,le.property)({type:Object})],j.prototype,"apiProvider",void 0);re([(0,le.property)({type:Boolean})],j.prototype,"authenticationRequired",void 0);re([(0,Ne.jsonProperty)([])],j.prototype,"messageContexts",void 0);re([(0,Ne.jsonProperty)(void 0)],j.prototype,"session",void 0);re([(0,le.state)()],j.prototype,"localesConfiguration",void 0);re([(0,le.state)()],j.prototype,"availableContentLocales",void 0);var Zo=b(ce());function Xs(r,t){if(r===t)return!0;if(r&&t&&typeof r=="object"&&typeof t=="object"){if(r.constructor!==t.constructor)return!1;let o,n,a;if(Array.isArray(r)){if(o=r.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!Er(r[n],t[n]))return!1;return!0}if(r instanceof Map&&t instanceof Map){if(r.size!==t.size)return!1;for(n of r.entries())if(!t.has(n[0]))return!1;for(n of r.entries())if(!Er(n[1],t.get(n[0])))return!1;return!0}if(r instanceof Set&&t instanceof Set){if(r.size!==t.size)return!1;for(n of r.entries())if(!t.has(n[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===t.source&&r.flags===t.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===t.valueOf();let s=l=>Object.keys(l).filter(d=>l[d]!=null);if(a=s(r),o=a.length,o!==s(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=o;n--!==0;){let l=a[n];if(!Er(r[l],t[l]))return!1}return!0}return r!==r&&t!==t||r==null&&t==null}function Er(r,t){try{return Xs(r,t)}catch{return!1}}function Jt(r,t){return!Er(r,t)}function Ar(r,t){let o=n=>n[r]===!0;return n=>{if(o(n))return n;let a=t(n);return a[r]=!0,a}}var Pi=b(ce(),1);var Eo=r=>{let t=r??{};return(o,n)=>{var a;let s={hasChanged:Jt,attribute:!1,...t};(0,Pi.property)(s)(o,n);let l=o.constructor;l.reduxProperties=new Map(l.reduxProperties),l.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:d=>d[n],store:t.store})}};var wr=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 Ut=b(ce(),1);var ki=b(ce(),1);function Di(r,t){let o=()=>JSON.parse(JSON.stringify(r));return(0,ki.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Jt,...t??{}})}var Rr=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 l of n)try{await l()}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 Bi=b(Y(),1);var Nr=globalThis,Qs=Nr.ShadowRoot&&(Nr.ShadyCSS===void 0||Nr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ky=Symbol();var Ui=(r,t)=>{if(Qs)r.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=Nr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,r.appendChild(n)}};var Ir=class extends Bi.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,s])=>t.registry.define(a,s)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Ui(n,t.elementStyles),n}};function Mi(r,t,...o){var n;let a=r.querySelector(t);for(let s of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return a}var er=function(r,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(l=r[d])&&(s=(a<3?l(s):a>3?l(t,o,s):l(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},zi,$i=Symbol("constructorPrototype"),Fi=Symbol("constructorName"),Wi=Symbol("exportpartsDebouncer"),Hi=Symbol("dynamicDependenciesLoaded"),Me=class extends Ir{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[zi]=new Rr(5),this[Fi]=this.constructor.name,this[$i]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fi]&&Object.setPrototypeOf(this,this[$i])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let t=this.constructor;t[Hi]||(t[Hi]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}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=Mi(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)}}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[Wi].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)})}setExportpartsAttribute(t){var o,n,a,s,l,d;let u=y=>y!=null&&y.trim().length>0,p=t.filter(u).map(y=>y.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let y of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let C=(s=(a=y.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&s!==void 0?s:[],x=(d=(l=y.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(O=>O.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...C,...x).filter(u).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let g=[...h.values()].flatMap(y=>p.map(C=>`${y}:${C}--${y}`));this.setAttribute("exportparts",[...this.part,...g].join(", "))}};zi=Wi;er([(0,Ut.property)()],Me.prototype,"exportpartsPrefix",void 0);er([Di([])],Me.prototype,"exportpartsPrefixes",void 0);er([(0,Ut.property)()],Me.prototype,"customStylesheet",void 0);er([(0,Ut.property)()],Me.prototype,"elementToFocus",void 0);er([(0,Ut.state)()],Me.prototype,"useAdoptedStyleSheets",void 0);function Tr(r){var t;return(t=r?.isFtReduxStore)!==null&&t!==void 0?t:!1}var tr=Symbol("internalReduxEventsUnsubscribers"),Ke=Symbol("internalStoresUnsubscribers"),ht=Symbol("internalStores"),Js=Ar(Symbol("withRedux"),function(r){var t,o,n;class a extends r{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(l){super.willUpdate(l),[...this.reduxConstructor.reduxReactiveProperties].some(d=>l.has(d))&&this.updateFromStores()}getUnnamedStore(){if(this[ht].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ht].values()][0]}getStore(l){return l==null?this.getUnnamedStore():this[ht].get(l)}addStore(l,d){var u;d=(u=d??l.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(d),this[ht].set(d,l),this.subscribeToStore(d,l),this.updateFromStores()}removeStore(l){let d=typeof l=="string"?l:l.name;this.unsubscribeFromStore(d),this[ht].delete(d)}setupStores(){this.unsubscribeFromStores(),this[ht].forEach((l,d)=>this.subscribeToStore(d,l)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((l,d)=>{let u=this.constructor.getPropertyOptions(d);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:d)){let p=this.getStore(l.store);p&&(l.store?this[Ke].has(l.store):this[Ke].size>0)&&(this[d]=l.selector(p.getState(),this))}})}subscribeToStore(l,d){var u;this[Ke].set(l,d.subscribe(()=>this.updateFromStores())),this[tr].set(l,[]),Tr(d)&&d.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((p,h)=>{if(typeof this[h]=="function"&&(!p.store||d.name===p.store)){let g=y=>this[h](y);d.addEventListener(p.eventName,g),this[tr].get(l).push(()=>d.removeEventListener(p.eventName,g))}})),this.onStoreAvailable(l)}unsubscribeFromStores(){this[Ke].forEach((l,d)=>this.unsubscribeFromStore(d))}unsubscribeFromStore(l){var d;this[Ke].has(l)&&this[Ke].get(l)(),this[Ke].delete(l),(d=this[tr].get(l))===null||d===void 0||d.forEach(u=>u()),this[tr].delete(l)}onStoreAvailable(l){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=Ke,o=ht,n=tr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),Gi=class extends Js(Me){};function Ae(r){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: "+r+(o.length?" "+o.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function $e(r){return!!r&&!!r[K]}function Ie(r){var t;return!!r&&(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)===sl}(r)||Array.isArray(r)||!!r[Xi]||!!(!((t=r.constructor)===null||t===void 0)&&t[Xi])||Po(r)||ko(r))}function gt(r,t,o){o===void 0&&(o=!1),$t(r)===0?(o?Object.keys:Mt)(r).forEach(function(n){o&&typeof n=="symbol"||t(n,r[n],r)}):r.forEach(function(n,a){return t(a,n,r)})}function $t(r){var t=r[K];return t?t.i>3?t.i-4:t.i:Array.isArray(r)?1:Po(r)?2:ko(r)?3:0}function Bt(r,t){return $t(r)===2?r.has(t):Object.prototype.hasOwnProperty.call(r,t)}function el(r,t){return $t(r)===2?r.get(t):r[t]}function Qi(r,t,o){var n=$t(r);n===2?r.set(t,o):n===3?r.add(o):r[t]=o}function Ji(r,t){return r===t?r!==0||1/r==1/t:r!=r&&t!=t}function Po(r){return al&&r instanceof Map}function ko(r){return il&&r instanceof Set}function Ze(r){return r.o||r.t}function Do(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var t=rs(r);delete t[K];for(var o=Mt(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:r[a]})}return Object.create(Object.getPrototypeOf(r),t)}function Uo(r,t){return t===void 0&&(t=!1),Bo(r)||$e(r)||!Ie(r)||($t(r)>1&&(r.set=r.add=r.clear=r.delete=tl),Object.freeze(r),t&>(r,function(o,n){return Uo(n,!0)},!0)),r}function tl(){Ae(2)}function Bo(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function Le(r){var t=Lo[r];return t||Ae(18,r),t}function rl(r,t){Lo[r]||(Lo[r]=t)}function Io(){return or}function Ao(r,t){t&&(Le("Patches"),r.u=[],r.s=[],r.v=t)}function _r(r){To(r),r.p.forEach(ol),r.p=null}function To(r){r===or&&(or=r.l)}function Vi(r){return or={p:[],l:or,h:r,m:!0,_:0}}function ol(r){var t=r[K];t.i===0||t.i===1?t.j():t.g=!0}function wo(r,t){t._=t.p.length;var o=t.p[0],n=r!==void 0&&r!==o;return t.h.O||Le("ES5").S(t,r,n),n?(o[K].P&&(_r(t),Ae(4)),Ie(r)&&(r=Lr(t,r),t.l||Pr(t,r)),t.u&&Le("Patches").M(o[K].t,r,t.u,t.s)):r=Lr(t,o,[]),_r(t),t.u&&t.v(t.u,t.s),r!==ts?r:void 0}function Lr(r,t,o){if(Bo(t))return t;var n=t[K];if(!n)return gt(t,function(d,u){return ji(r,n,t,d,u,o)},!0),t;if(n.A!==r)return t;if(!n.P)return Pr(r,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Do(n.k):n.o,s=a,l=!1;n.i===3&&(s=new Set(a),a.clear(),l=!0),gt(s,function(d,u){return ji(r,n,a,d,u,o,l)}),Pr(r,a,!1),o&&r.u&&Le("Patches").N(n,o,r.u,r.s)}return n.o}function ji(r,t,o,n,a,s,l){if($e(a)){var d=Lr(r,a,s&&t&&t.i!==3&&!Bt(t.R,n)?s.concat(n):void 0);if(Qi(o,n,d),!$e(d))return;r.m=!1}else l&&o.add(a);if(Ie(a)&&!Bo(a)){if(!r.h.D&&r._<1)return;Lr(r,a),t&&t.A.l||Pr(r,a)}}function Pr(r,t,o){o===void 0&&(o=!1),!r.l&&r.h.D&&r.m&&Uo(t,o)}function Ro(r,t){var o=r[K];return(o?Ze(o):r)[t]}function Ki(r,t){if(t in r)for(var o=Object.getPrototypeOf(r);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function qe(r){r.P||(r.P=!0,r.l&&qe(r.l))}function No(r){r.o||(r.o=Do(r.t))}function _o(r,t,o){var n=Po(t)?Le("MapSet").F(t,o):ko(t)?Le("MapSet").T(t,o):r.O?function(a,s){var l=Array.isArray(a),d={i:l?1:0,A:s?s.A:Io(),P:!1,I:!1,R:{},l:s,t:a,k:null,o:null,j:null,C:!1},u=d,p=nr;l&&(u=[d],p=rr);var h=Proxy.revocable(u,p),g=h.revoke,y=h.proxy;return d.k=y,d.j=g,y}(t,o):Le("ES5").J(t,o);return(o?o.A:Io()).p.push(n),n}function nl(r){return $e(r)||Ae(22,r),function t(o){if(!Ie(o))return o;var n,a=o[K],s=$t(o);if(a){if(!a.P&&(a.i<4||!Le("ES5").K(a)))return a.t;a.I=!0,n=Zi(o,s),a.I=!1}else n=Zi(o,s);return gt(n,function(l,d){a&&el(a.t,l)===d||Qi(n,l,t(d))}),s===3?new Set(n):n}(r)}function Zi(r,t){switch(t){case 2:return new Map(r);case 3:return Array.from(r)}return Do(r)}function es(){function r(l,d){var u=s[l];return u?u.enumerable=d:s[l]=u={configurable:!0,enumerable:d,get:function(){var p=this[K];return nr.get(p,l)},set:function(p){var h=this[K];nr.set(h,l,p)}},u}function t(l){for(var d=l.length-1;d>=0;d--){var u=l[d][K];if(!u.P)switch(u.i){case 5:n(u)&&qe(u);break;case 4:o(u)&&qe(u)}}}function o(l){for(var d=l.t,u=l.k,p=Mt(u),h=p.length-1;h>=0;h--){var g=p[h];if(g!==K){var y=d[g];if(y===void 0&&!Bt(d,g))return!0;var C=u[g],x=C&&C[K];if(x?x.t!==y:!Ji(C,y))return!0}}var O=!!d[K];return p.length!==Mt(d).length+(O?0:1)}function n(l){var d=l.k;if(d.length!==l.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(l){l.g&&Ae(3,JSON.stringify(Ze(l)))}var s={};rl("ES5",{J:function(l,d){var u=Array.isArray(l),p=function(g,y){if(g){for(var C=Array(y.length),x=0;x<y.length;x++)Object.defineProperty(C,""+x,r(x,!0));return C}var O=rs(y);delete O[K];for(var M=Mt(O),L=0;L<M.length;L++){var P=M[L];O[P]=r(P,g||!!O[P].enumerable)}return Object.create(Object.getPrototypeOf(y),O)}(u,l),h={i:u?5:4,A:d?d.A:Io(),P:!1,I:!1,R:{},l:d,t:l,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,K,{value:h,writable:!0}),p},S:function(l,d,u){u?$e(d)&&d[K].A===l&&t(l.p):(l.u&&function p(h){if(h&&typeof h=="object"){var g=h[K];if(g){var y=g.t,C=g.k,x=g.R,O=g.i;if(O===4)gt(C,function(F){F!==K&&(y[F]!==void 0||Bt(y,F)?x[F]||p(C[F]):(x[F]=!0,qe(g)))}),gt(y,function(F){C[F]!==void 0||Bt(C,F)||(x[F]=!1,qe(g))});else if(O===5){if(n(g)&&(qe(g),x.length=!0),C.length<y.length)for(var M=C.length;M<y.length;M++)x[M]=!1;else for(var L=y.length;L<C.length;L++)x[L]=!0;for(var P=Math.min(C.length,y.length),G=0;G<P;G++)C.hasOwnProperty(G)||(x[G]=!0),x[G]===void 0&&p(C[G])}}}}(l.p[0]),t(l.p))},K:function(l){return l.i===4?o(l):n(l)}})}var qi,or,Mo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",al=typeof Map<"u",il=typeof Set<"u",Yi=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ts=Mo?Symbol.for("immer-nothing"):((qi={})["immer-nothing"]=!0,qi),Xi=Mo?Symbol.for("immer-draftable"):"__$immer_draftable",K=Mo?Symbol.for("immer-state"):"__$immer_state";var sl=""+Object.prototype.constructor,Mt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,rs=Object.getOwnPropertyDescriptors||function(r){var t={};return Mt(r).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(r,o)}),t},Lo={},nr={get:function(r,t){if(t===K)return r;var o=Ze(r);if(!Bt(o,t))return function(a,s,l){var d,u=Ki(s,l);return u?"value"in u?u.value:(d=u.get)===null||d===void 0?void 0:d.call(a.k):void 0}(r,o,t);var n=o[t];return r.I||!Ie(n)?n:n===Ro(r.t,t)?(No(r),r.o[t]=_o(r.A.h,n,r)):n},has:function(r,t){return t in Ze(r)},ownKeys:function(r){return Reflect.ownKeys(Ze(r))},set:function(r,t,o){var n=Ki(Ze(r),t);if(n?.set)return n.set.call(r.k,o),!0;if(!r.P){var a=Ro(Ze(r),t),s=a?.[K];if(s&&s.t===o)return r.o[t]=o,r.R[t]=!1,!0;if(Ji(o,a)&&(o!==void 0||Bt(r.t,t)))return!0;No(r),qe(r)}return r.o[t]===o&&(o!==void 0||t in r.o)||Number.isNaN(o)&&Number.isNaN(r.o[t])||(r.o[t]=o,r.R[t]=!0),!0},deleteProperty:function(r,t){return Ro(r.t,t)!==void 0||t in r.t?(r.R[t]=!1,No(r),qe(r)):delete r.R[t],r.o&&delete r.o[t],!0},getOwnPropertyDescriptor:function(r,t){var o=Ze(r),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:r.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Ae(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){Ae(12)}},rr={};gt(nr,function(r,t){rr[r]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),rr.deleteProperty=function(r,t){return rr.set.call(this,r,t,void 0)},rr.set=function(r,t,o){return nr.set.call(this,r[0],t,o,r[0])};var ll=function(){function r(o){var n=this;this.O=Yi,this.D=!0,this.produce=function(a,s,l){if(typeof a=="function"&&typeof s!="function"){var d=s;s=a;var u=n;return function(O){var M=this;O===void 0&&(O=d);for(var L=arguments.length,P=Array(L>1?L-1:0),G=1;G<L;G++)P[G-1]=arguments[G];return u.produce(O,function(F){var ne;return(ne=s).call.apply(ne,[M,F].concat(P))})}}var p;if(typeof s!="function"&&Ae(6),l!==void 0&&typeof l!="function"&&Ae(7),Ie(a)){var h=Vi(n),g=_o(n,a,void 0),y=!0;try{p=s(g),y=!1}finally{y?_r(h):To(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(O){return Ao(h,l),wo(O,h)},function(O){throw _r(h),O}):(Ao(h,l),wo(p,h))}if(!a||typeof a!="object"){if((p=s(a))===void 0&&(p=a),p===ts&&(p=void 0),n.D&&Uo(p,!0),l){var C=[],x=[];Le("Patches").M(a,p,C,x),l(C,x)}return p}Ae(21,a)},this.produceWithPatches=function(a,s){if(typeof a=="function")return function(p){for(var h=arguments.length,g=Array(h>1?h-1:0),y=1;y<h;y++)g[y-1]=arguments[y];return n.produceWithPatches(p,function(C){return a.apply(void 0,[C].concat(g))})};var l,d,u=n.produce(a,s,function(p,h){l=p,d=h});return typeof Promise<"u"&&u instanceof Promise?u.then(function(p){return[p,l,d]}):[u,l,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=r.prototype;return t.createDraft=function(o){Ie(o)||Ae(8),$e(o)&&(o=nl(o));var n=Vi(this),a=_o(this,o,void 0);return a[K].C=!0,To(n),a},t.finishDraft=function(o,n){var a=o&&o[K],s=a.A;return Ao(s,n),wo(void 0,s)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!Yi&&Ae(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 l=Le("Patches").$;return $e(o)?l(o,n):this.produce(o,function(d){return l(d,n)})},r}(),ve=new ll,cl=ve.produce,lm=ve.produceWithPatches.bind(ve),cm=ve.setAutoFreeze.bind(ve),dm=ve.setUseProxies.bind(ve),um=ve.applyPatches.bind(ve),pm=ve.createDraft.bind(ve),fm=ve.finishDraft.bind(ve),kr=cl;function yt(r){"@babel/helpers - typeof";return yt=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},yt(r)}function os(r,t){if(yt(r)!="object"||!r)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var n=o.call(r,t||"default");if(yt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(r)}function ns(r){var t=os(r,"string");return yt(t)=="symbol"?t:t+""}function as(r,t,o){return(t=ns(t))in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o,r}function is(r,t){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),o.push.apply(o,n)}return o}function $o(r){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?is(Object(o),!0).forEach(function(n){as(r,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):is(Object(o)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(o,n))})}return r}function ue(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var ss=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Fo=function(){return Math.random().toString(36).substring(7).split("").join(".")},Dr={INIT:"@@redux/INIT"+Fo(),REPLACE:"@@redux/REPLACE"+Fo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Fo()}};function dl(r){if(typeof r!="object"||r===null)return!1;for(var t=r;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(r)===t}function Ho(r,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(ue(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(ue(1));return o(Ho)(r,t)}if(typeof r!="function")throw new Error(ue(2));var a=r,s=t,l=[],d=l,u=!1;function p(){d===l&&(d=l.slice())}function h(){if(u)throw new Error(ue(3));return s}function g(O){if(typeof O!="function")throw new Error(ue(4));if(u)throw new Error(ue(5));var M=!0;return p(),d.push(O),function(){if(M){if(u)throw new Error(ue(6));M=!1,p();var P=d.indexOf(O);d.splice(P,1),l=null}}}function y(O){if(!dl(O))throw new Error(ue(7));if(typeof O.type>"u")throw new Error(ue(8));if(u)throw new Error(ue(9));try{u=!0,s=a(s,O)}finally{u=!1}for(var M=l=d,L=0;L<M.length;L++){var P=M[L];P()}return O}function C(O){if(typeof O!="function")throw new Error(ue(10));a=O,y({type:Dr.REPLACE})}function x(){var O,M=g;return O={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(ue(11));function G(){P.next&&P.next(h())}G();var F=M(G);return{unsubscribe:F}}},O[ss]=function(){return this},O}return y({type:Dr.INIT}),n={dispatch:y,subscribe:g,getState:h,replaceReducer:C},n[ss]=x,n}function ul(r){Object.keys(r).forEach(function(t){var o=r[t],n=o(void 0,{type:Dr.INIT});if(typeof n>"u")throw new Error(ue(12));if(typeof o(void 0,{type:Dr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ue(13))})}function ls(r){for(var t=Object.keys(r),o={},n=0;n<t.length;n++){var a=t[n];typeof r[a]=="function"&&(o[a]=r[a])}var s=Object.keys(o),l,d;try{ul(o)}catch(u){d=u}return function(p,h){if(p===void 0&&(p={}),d)throw d;if(0)var g;for(var y=!1,C={},x=0;x<s.length;x++){var O=s[x],M=o[O],L=p[O],P=M(L,h);if(typeof P>"u"){var G=h&&h.type;throw new Error(ue(14))}C[O]=P,y=y||P!==L}return y=y||s.length!==Object.keys(p).length,y?C:p}}function Ft(){for(var r=arguments.length,t=new Array(r),o=0;o<r;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 r=arguments.length,t=new Array(r),o=0;o<r;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),s=function(){throw new Error(ue(15))},l={getState:a.getState,dispatch:function(){return s.apply(void 0,arguments)}},d=t.map(function(u){return u(l)});return s=Ft.apply(void 0,d)(a.dispatch),$o($o({},a),{},{dispatch:s})}}}function ds(r){var t=function(n){var a=n.dispatch,s=n.getState;return function(l){return function(d){return typeof d=="function"?d(a,s,r):l(d)}}};return t}var us=ds();us.withExtraArgument=ds;var zo=us;var ys=function(){var r=function(t,o){return r=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])},r(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");r(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),pl=function(r,t){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,l;return l={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function d(p){return function(h){return u([p,h])}}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(r,o)}catch(h){p=[6,h],a=0}finally{n=s=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Ht=function(r,t){for(var o=0,n=t.length,a=r.length;o<n;o++,a++)r[a]=t[o];return r},fl=Object.defineProperty,hl=Object.defineProperties,gl=Object.getOwnPropertyDescriptors,ps=Object.getOwnPropertySymbols,yl=Object.prototype.hasOwnProperty,ml=Object.prototype.propertyIsEnumerable,fs=function(r,t,o){return t in r?fl(r,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[t]=o},Ye=function(r,t){for(var o in t||(t={}))yl.call(t,o)&&fs(r,o,t[o]);if(ps)for(var n=0,a=ps(t);n<a.length;n++){var o=a[n];ml.call(t,o)&&fs(r,o,t[o])}return r},Wo=function(r,t){return hl(r,gl(t))},bl=function(r,t,o){return new Promise(function(n,a){var s=function(u){try{d(o.next(u))}catch(p){a(p)}},l=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,l)};d((o=o.apply(r,t)).next())})};var xl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ft:Ft.apply(null,arguments)},_m=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function vl(r){if(typeof r!="object"||r===null)return!1;var t=Object.getPrototypeOf(r);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Sl=function(r){ys(t,r);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=r.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 r.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,Ht([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ht([void 0],o.concat(this))))},t}(Array),Cl=function(r){ys(t,r);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=r.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 r.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,Ht([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ht([void 0],o.concat(this))))},t}(Array);function jo(r){return Ie(r)?kr(r,function(){}):r}function Ol(r){return typeof r=="boolean"}function El(){return function(t){return Al(t)}}function Al(r){r===void 0&&(r={});var t=r.thunk,o=t===void 0?!0:t,n=r.immutableCheck,a=n===void 0?!0:n,s=r.serializableCheck,l=s===void 0?!0:s,d=new Sl;if(o&&(Ol(o)?d.push(zo):d.push(zo.withExtraArgument(o.extraArgument))),0){if(a)var u;if(l)var p}return d}var Go=!0;function ms(r){var t=El(),o=r||{},n=o.reducer,a=n===void 0?void 0:n,s=o.middleware,l=s===void 0?t():s,d=o.devTools,u=d===void 0?!0:d,p=o.preloadedState,h=p===void 0?void 0:p,g=o.enhancers,y=g===void 0?void 0:g,C;if(typeof a=="function")C=a;else if(vl(a))C=ls(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 x=l;if(typeof x=="function"&&(x=x(t),!Go&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Go&&x.some(function(F){return typeof F!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=cs.apply(void 0,x),M=Ft;u&&(M=xl(Ye({trace:!Go},typeof u=="object"&&u)));var L=new Cl(O),P=L;Array.isArray(y)?P=Ht([O],y):typeof y=="function"&&(P=y(L));var G=M.apply(void 0,P);return Ho(C,h,G)}function Xe(r,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 Ye(Ye({type:r,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.error})}return{type:r,payload:n[0]}}return o.toString=function(){return""+r},o.type=r,o.match=function(n){return n.type===r},o}function bs(r){var t={},o=[],n,a={addCase:function(s,l){var d=typeof s=="string"?s:s.type;if(d in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[d]=l,a},addMatcher:function(s,l){return o.push({matcher:s,reducer:l}),a},addDefaultCase:function(s){return n=s,a}};return r(a),[t,o,n]}function wl(r){return typeof r=="function"}function Rl(r,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?bs(t):[t,o,n],s=a[0],l=a[1],d=a[2],u;if(wl(r))u=function(){return jo(r())};else{var p=jo(r);u=function(){return p}}function h(g,y){g===void 0&&(g=u());var C=Ht([s[y.type]],l.filter(function(x){var O=x.matcher;return O(y)}).map(function(x){var O=x.reducer;return O}));return C.filter(function(x){return!!x}).length===0&&(C=[d]),C.reduce(function(x,O){if(O)if($e(x)){var M=x,L=O(M,y);return L===void 0?x:L}else{if(Ie(x))return kr(x,function(P){return O(P,y)});var L=O(x,y);if(L===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return L}return x},g)}return h.getInitialState=u,h}function Nl(r,t){return r+"/"+t}function xs(r){var t=r.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof r.initialState=="function"?r.initialState:jo(r.initialState),n=r.reducers||{},a=Object.keys(n),s={},l={},d={};a.forEach(function(h){var g=n[h],y=Nl(t,h),C,x;"reducer"in g?(C=g.reducer,x=g.prepare):C=g,s[h]=C,l[y]=C,d[h]=x?Xe(y,x):Xe(y)});function u(){var h=typeof r.extraReducers=="function"?bs(r.extraReducers):[r.extraReducers],g=h[0],y=g===void 0?{}:g,C=h[1],x=C===void 0?[]:C,O=h[2],M=O===void 0?void 0:O,L=Ye(Ye({},y),l);return Rl(o,function(P){for(var G in L)P.addCase(G,L[G]);for(var F=0,ne=x;F<ne.length;F++){var we=ne[F];P.addMatcher(we.matcher,we.reducer)}M&&P.addDefaultCase(M)})}var p;return{name:t,reducer:function(h,g){return p||(p=u()),p(h,g)},actions:d,caseReducers:s,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var Il="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Tl=function(r){r===void 0&&(r=21);for(var t="",o=r;o--;)t+=Il[Math.random()*64|0];return t},_l=["name","message","stack","code"],Vo=function(){function r(t,o){this.payload=t,this.meta=o}return r}(),hs=function(){function r(t,o){this.payload=t,this.meta=o}return r}(),Ll=function(r){if(typeof r=="object"&&r!==null){for(var t={},o=0,n=_l;o<n.length;o++){var a=n[o];typeof r[a]=="string"&&(t[a]=r[a])}return t}return{message:String(r)}},Dm=function(){function r(t,o,n){var a=Xe(t+"/fulfilled",function(h,g,y,C){return{payload:h,meta:Wo(Ye({},C||{}),{arg:y,requestId:g,requestStatus:"fulfilled"})}}),s=Xe(t+"/pending",function(h,g,y){return{payload:void 0,meta:Wo(Ye({},y||{}),{arg:g,requestId:h,requestStatus:"pending"})}}),l=Xe(t+"/rejected",function(h,g,y,C,x){return{payload:C,error:(n&&n.serializeError||Ll)(h||"Rejected"),meta:Wo(Ye({},x||{}),{arg:y,requestId:g,rejectedWithValue:!!C,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),d=!1,u=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(g,y,C){var x=n?.idGenerator?n.idGenerator(h):Tl(),O=new u,M,L=!1;function P(F){M=F,O.abort()}var G=function(){return bl(this,null,function(){var F,ne,we,Je,pe,et,mt;return pl(this,function(f){switch(f.label){case 0:return f.trys.push([0,4,,5]),Je=(F=n?.condition)==null?void 0:F.call(n,h,{getState:y,extra:C}),kl(Je)?[4,Je]:[3,2];case 1:Je=f.sent(),f.label=2;case 2:if(Je===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return L=!0,pe=new Promise(function(m,R){return O.signal.addEventListener("abort",function(){return R({name:"AbortError",message:M||"Aborted"})})}),g(s(x,h,(ne=n?.getPendingMeta)==null?void 0:ne.call(n,{requestId:x,arg:h},{getState:y,extra:C}))),[4,Promise.race([pe,Promise.resolve(o(h,{dispatch:g,getState:y,extra:C,requestId:x,signal:O.signal,abort:P,rejectWithValue:function(m,R){return new Vo(m,R)},fulfillWithValue:function(m,R){return new hs(m,R)}})).then(function(m){if(m instanceof Vo)throw m;return m instanceof hs?a(m.payload,x,h,m.meta):a(m,x,h)})])];case 3:return we=f.sent(),[3,5];case 4:return et=f.sent(),we=et instanceof Vo?l(null,x,h,et.payload,et.meta):l(et,x,h),[3,5];case 5:return mt=n&&!n.dispatchConditionRejection&&l.match(we)&&we.meta.condition,mt||g(we),[2,we]}})})}();return Object.assign(G,{abort:P,requestId:x,arg:h,unwrap:function(){return G.then(Pl)}})}}return Object.assign(p,{pending:s,rejected:l,fulfilled:a,typePrefix:t})}return r.withTypes=function(){return r},r}();function Pl(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function kl(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var vs="listener",Ss="completed",Cs="cancelled",Um="task-"+Cs,Bm="task-"+Ss,Mm=vs+"-"+Cs,$m=vs+"-"+Ss;var Ko="listenerMiddleware";var Fm=Xe(Ko+"/add"),Hm=Xe(Ko+"/removeAll"),zm=Xe(Ko+"/remove");var gs,Wm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(gs||(gs=Promise.resolve())).then(r).catch(function(t){return setTimeout(function(){throw t},0)})},Dl=function(r){return function(t){setTimeout(t,r)}},Gm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Dl(10);es();var Ul=Ar(Symbol("withEventBus"),function(r,t){return class extends r{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)}}}),Ur=class extends Ul(Object){};window.ftReduxStores||(window.ftReduxStores={});var Os=class r extends Ur{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(Tr(s))return s;if(a==null)return;let l=xs({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),d=ms({reducer:(u,p)=>p.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...u,...p.overwrites}:l.reducer(u,p)});return window.ftReduxStores[a.name]=new r(l,d,a.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new wr;let a=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,l,d)=>{let u=l,p=s[u];return p?(...h)=>{let g=p(...h.map(a));return this.reduxStore.dispatch(g),g}:h=>{this.setState({[u]:a(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}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 Br=class{static format(t,o,n,a){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,a)):this.getIntlDateTime(t,o,n,a)}static getMomentDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,a){let s=typeof t=="string"?new Date(t):t,l=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(s);if(!a)return l;let d=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(s);return`${l} ${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 Es=b(D()),Mr=function(r,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(l=r[d])&&(s=(a<3?l(s):a>3?l(t,o,s):l(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},hb=(0,Es.applyMixinOnce)(Symbol("withDateFormat"),function(r){class t extends r{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(E)}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=>Br.format(d,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Mr([(0,Zo.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Mr([(0,Zo.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Mr([Eo({store:E.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),Mr([Eo({store:E.name})],t.prototype,"uiLocale",void 0),t});var Hr=b(D());var $r=class extends be{constructor(){super(...arguments),this.CACHE_DURATION=3*60*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=E.getState().session;return!!t?.sessionAuthenticated}};var Fr=class extends be{constructor(){super(...arguments),this.CACHE_DURATION=3*60*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=E.getState().session;return!!t?.sessionAuthenticated}};var Bl="ft-user-assets",Ml={setAssetCount:(r,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;r.assetCounts.allAsset[o]=n},clearAssetCount:r=>{Object.values(xe).forEach(t=>{r.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(r,t)=>{let o=t.payload.mapId;r.assetCounts.bookmarkByMap[o]=t.payload.count},clearBookmarkCountByMap:r=>{r.assetCounts.bookmarkByMap={}},addAsset:(r,t)=>{let{assetType:o,mapId:n,asset:a}=t.payload;switch(o){case xe.BOOKMARKS:r.bookmarks?r.bookmarks.push(a):r.bookmarks=[a];break;case xe.SEARCHES:r.savedSearches?r.savedSearches.push(a):r.savedSearches=[a];break}let s=r.assetCounts.allAsset[o];if(s!==void 0&&(r.assetCounts.allAsset[o]=s+1),o===xe.BOOKMARKS&&n!==void 0){let l=r.assetCounts.bookmarkByMap[n];l!==void 0&&(r.assetCounts.bookmarkByMap[n]=l+1)}},removeAsset:(r,t)=>{var o,n;let{assetType:a,mapId:s,assetId:l}=t.payload;switch(a){case xe.BOOKMARKS:r.bookmarks=(o=r.bookmarks)===null||o===void 0?void 0:o.filter(u=>u.id!==l);break;case xe.SEARCHES:r.savedSearches=(n=r.savedSearches)===null||n===void 0?void 0:n.filter(u=>u.id!==l);break}let d=r.assetCounts.allAsset[a];if(d!==void 0&&d>0&&(r.assetCounts.allAsset[a]=d-1),a===xe.BOOKMARKS&&s!==void 0){let u=r.assetCounts.bookmarkByMap[s];u!==void 0&&u>0&&(r.assetCounts.bookmarkByMap[s]=u-1)}}},Se=Hr.FtReduxStore.get({name:Bl,reducers:Ml,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(xe).map(r=>[r,void 0])),bookmarkByMap:{}},assetLabels:[]}}),qo=class{constructor(t=new $r,o=new Fr){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=E.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new mr,this.savedSearchesService=new Cr,E.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=E.getState();(0,Hr.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(),Se.actions.clearAssetCount(),Se.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Se.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Se.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Se.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();Se.actions.assetLabels(t)}async loadAssetCount(t){let o=await this.assetCountsService.getUserAssetCount(t);o&&Se.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&Se.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(Se.getState().assetCounts.bookmarkByMap).length!==0;t===xe.BOOKMARKS&&o&&Se.actions.clearBookmarkCountByMap(),Se.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;Se.actions.bookmarks(o)}}},$l=new qo;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=$l);(0,As.customElement)("ft-app-context")(j);var Ns=b(ce());var Yo=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[n,a]=t.split(".");return{context:n,key:a,message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},ws=new Yo;var Fl=function(r,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(l=r[d])&&(s=(a<3?l(s):a>3?l(t,o,s):l(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},Hl=Symbol("i18nAttributes"),zl=Symbol("i18nListAttributes"),Is=Symbol("i18nProperties"),zr=Symbol("i18nContexts"),ar=Symbol("i18nUnsubs"),Gr=(0,zt.applyMixinOnce)(Symbol("withI18n"),function(r){var t,o;class n extends r{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[o]=new Map}getI18nService(s){return s??this.useCustomMessageContexts?xr:kt}i18n(s){let{context:l,key:d,message:u}=s,{custom:p,args:h,argsProvider:g}=s;if(l&&d){this.hasI18nContext(l)||this.addI18nContext(l,void 0,p);let y=h??(g?g(this):[]);return this.getI18nService(p).resolveMessage(l,d,...y)}return u}async awaitI18n(s){let{context:l,custom:d}=s;return l&&await this.getI18nService(d).prepareContext(l),this.i18n(s)}customI18n(s,l){if(ws.isI18nKey(s)){let[d,u]=s.split(".");return this.i18n({custom:!0,context:d,key:u,...l})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((l,d,u)=>s.has(d)||typeof l.argsProvider=="function"),this.updateI18nProperties(l=>typeof l.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((l,d,u)=>{var p;return((p=u?.context)===null||p===void 0?void 0:p.toLowerCase())===s}),this.updateI18nProperties(l=>l.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var l,d;let u=this,p=(h,g,y)=>y?.context&&y.key&&s(h,g,y)?{...y,message:this.i18n({context:y.context,key:y.key,custom:y.custom,...h})}:y;(l=this[Hl])===null||l===void 0||l.forEach((h,g)=>u[g]=p(h,g,u[g])),(d=this[zl])===null||d===void 0||d.forEach((h,g)=>{var y;return u[g]=(y=u[g])===null||y===void 0?void 0:y.map(C=>p(h,g,C))})}updateI18nProperties(s){var l;(l=this[Is])===null||l===void 0||l.forEach((d,u)=>{s(d,u)&&(this[u]=this.i18n(d))})}addI18nMessages(s,l,d){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,l,d)}addI18nContext(s,l,d){let u=(typeof s=="string"?s:s.name).toLowerCase();d=typeof s=="string"?d:s.custom,this[zr].set(u,{isCustomContext:d}),this[ar].has(u)||this[ar].set(u,this.getI18nService(d).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(d).prepareContext(u,l)}hasI18nContext(s){return this[zr].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[zr].forEach((s,l)=>this.addI18nContext(l,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[ar].forEach(s=>s()),this[ar].clear()}}return t=zr,o=ar,Fl([(0,Ns.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Rs=class extends Gr(zt.FtLitElement){},Wr=class extends Gr(zt.FtLitElementRedux){};var ir=function(r,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(l=r[d])&&(s=(a<3?l(s):a>3?l(t,o,s):l(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},Te=class extends Wr{constructor(){super(),this.editorMode=!1,this.addStore(E)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Vr.nothing:Vr.html`
|
|
2106
|
+
`}connectedCallback(){super.connectedCallback(),L.addEventListener(er.eventName,this.reloadConfiguration)}disconnectedCallback(){L.addEventListener(er.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var o,n,i,a,l,c,u;super.update(e),e.has("baseUrl")&&(L.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&L.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&L.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&L.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&L.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&L.actions.noCustom(this.noCustom),e.has("editorMode")&&L.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&L.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&L.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(p=>Rr.addContext(p)),e.has("openExternalDocumentInNewTab")&&L.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&L.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&L.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(L.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),L.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),L.actions.searchInAllLanguagesAllowed((l=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&l!==void 0?l:!1)),e.has("authenticationRequired")&&L.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&L.actions.availableContentLocales((u=(c=this.availableContentLocales)===null||c===void 0?void 0:c.contentLocales)!==null&&u!==void 0?u:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>oc(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};oe.elementDefinitions={};oe.styles=bl;xe([(0,we.property)()],oe.prototype,"baseUrl",void 0);xe([(0,we.property)()],oe.prototype,"apiIntegrationIdentifier",void 0);xe([(0,we.property)()],oe.prototype,"apiIntegrationAppVersion",void 0);xe([(0,we.property)()],oe.prototype,"uiLocale",void 0);xe([(0,at.jsonProperty)(null)],oe.prototype,"availableUiLocales",void 0);xe([(0,at.jsonProperty)(null)],oe.prototype,"metadataConfiguration",void 0);xe([(0,we.property)({type:Boolean})],oe.prototype,"editorMode",void 0);xe([(0,we.property)({type:Boolean})],oe.prototype,"noCustom",void 0);xe([(0,we.property)({type:Boolean})],oe.prototype,"openExternalDocumentInNewTab",void 0);xe([(0,we.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],oe.prototype,"noCustomComponent",void 0);xe([(0,we.property)({type:Boolean})],oe.prototype,"withManualResources",void 0);xe([(0,we.property)({type:Boolean})],oe.prototype,"navigatorOnline",void 0);xe([(0,we.property)({type:Boolean})],oe.prototype,"forcedOffline",void 0);xe([(0,we.property)({type:Object})],oe.prototype,"apiProvider",void 0);xe([(0,we.property)({type:Boolean})],oe.prototype,"authenticationRequired",void 0);xe([(0,at.jsonProperty)([])],oe.prototype,"messageContexts",void 0);xe([(0,at.jsonProperty)(void 0)],oe.prototype,"session",void 0);xe([(0,we.state)()],oe.prototype,"localesConfiguration",void 0);xe([(0,we.state)()],oe.prototype,"availableContentLocales",void 0);var Ii=b(le());function Hd(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let o,n,i;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!Fo(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Fo(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=l=>Object.keys(l).filter(c=>l[c]!=null);if(i=a(t),o=i.length,o!==a(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=o;n--!==0;){let l=i[n];if(!Fo(t[l],e[l]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Fo(t,e){try{return Hd(t,e)}catch{return!1}}function to(t,e){return!Fo(t,e)}function zo(t,e){let o=n=>n[t]===!0;return n=>{if(o(n))return n;let i=e(n);return i[t]=!0,i}}var ic=b(le(),1);var ni=t=>{let e=t??{};return(o,n)=>{var i;let a={hasChanged:to,attribute:!1,...e};(0,ic.property)(a)(o,n);let l=o.constructor;l.reduxProperties=new Map(l.reduxProperties),l.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:c=>c[n],store:e.store})}};var Ho=class{constructor(){this.queue=[]}add(e,o=!1){o&&this.clear(e.type),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(e){typeof e=="string"?this.queue=this.queue.filter(o=>o.type!==e):this.queue=this.queue.filter(o=>!e.test(o.type))}};var Lr=b(le(),1);var ac=b(le(),1);function sc(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,ac.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:to,...e??{}})}var Wo=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var cc=b(Z(),1);var Vo=globalThis,Wd=Vo.ShadowRoot&&(Vo.ShadyCSS===void 0||Vo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,k0=Symbol();var lc=(t,e)=>{if(Wd)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=Vo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}};var Go=class extends cc.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return lc(n,e.elementStyles),n}};function dc(t,e,...o){var n;let i=t.querySelector(e);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}var ro=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},hc,uc=Symbol("constructorPrototype"),pc=Symbol("constructorName"),yc=Symbol("exportpartsDebouncer"),fc=Symbol("dynamicDependenciesLoaded"),At=class extends Go{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[hc]=new Wo(5),this[pc]=this.constructor.name,this[uc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[pc]&&Object.setPrototypeOf(this,this[uc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let e=this.constructor;e[fc]||(e[fc]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let a=[...i??[],n];o=dc(this.shadowRoot,...a)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[yc].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,i,a,l,c;let u=m=>m!=null&&m.trim().length>0,p=e.filter(u).map(m=>m.trim());if(p.length===0){this.removeAttribute("exportparts");return}let g=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 S=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],v=(c=(l=m.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(O=>O.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...S,...v).filter(u).map(O=>O.trim()).forEach(O=>g.add(O))}if(g.size===0){this.removeAttribute("exportparts");return}let h=[...g.values()].flatMap(m=>p.map(S=>`${m}:${S}--${m}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};hc=yc;ro([(0,Lr.property)()],At.prototype,"exportpartsPrefix",void 0);ro([sc([])],At.prototype,"exportpartsPrefixes",void 0);ro([(0,Lr.property)()],At.prototype,"customStylesheet",void 0);ro([(0,Lr.property)()],At.prototype,"elementToFocus",void 0);ro([(0,Lr.state)()],At.prototype,"useAdoptedStyleSheets",void 0);function jo(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var oo=Symbol("internalReduxEventsUnsubscribers"),Ut=Symbol("internalStoresUnsubscribers"),or=Symbol("internalStores"),Vd=zo(Symbol("withRedux"),function(t){var e,o,n;class i extends t{constructor(){super(...arguments),this[e]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(l){super.willUpdate(l),[...this.reduxConstructor.reduxReactiveProperties].some(c=>l.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[or].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[or].values()][0]}getStore(l){return l==null?this.getUnnamedStore():this[or].get(l)}addStore(l,c){var u;c=(u=c??l.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(c),this[or].set(c,l),this.subscribeToStore(c,l),this.updateFromStores()}removeStore(l){let c=typeof l=="string"?l:l.name;this.unsubscribeFromStore(c),this[or].delete(c)}setupStores(){this.unsubscribeFromStores(),this[or].forEach((l,c)=>this.subscribeToStore(c,l)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((l,c)=>{let u=this.constructor.getPropertyOptions(c);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:c)){let p=this.getStore(l.store);p&&(l.store?this[Ut].has(l.store):this[Ut].size>0)&&(this[c]=l.selector(p.getState(),this))}})}subscribeToStore(l,c){var u;this[Ut].set(l,c.subscribe(()=>this.updateFromStores())),this[oo].set(l,[]),jo(c)&&c.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((p,g)=>{if(typeof this[g]=="function"&&(!p.store||c.name===p.store)){let h=m=>this[g](m);c.addEventListener(p.eventName,h),this[oo].get(l).push(()=>c.removeEventListener(p.eventName,h))}})),this.onStoreAvailable(l)}unsubscribeFromStores(){this[Ut].forEach((l,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(l){var c;this[Ut].has(l)&&this[Ut].get(l)(),this[Ut].delete(l),(c=this[oo].get(l))===null||c===void 0||c.forEach(u=>u()),this[oo].delete(l)}onStoreAvailable(l){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=Ut,o=or,n=oo,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),gc=class extends Vd(At){};function Je(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Rt(t){return!!t&&!!t[ie]}function st(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Qd}(t)||Array.isArray(t)||!!t[Oc]||!!(!((e=t.constructor)===null||e===void 0)&&e[Oc])||fi(t)||hi(t))}function nr(t,e,o){o===void 0&&(o=!1),Pr(t)===0?(o?Object.keys:Nr)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Pr(t){var e=t[ie];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:fi(t)?2:hi(t)?3:0}function Tr(t,e){return Pr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Gd(t,e){return Pr(t)===2?t.get(e):t[e]}function Ec(t,e,o){var n=Pr(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function wc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function fi(t){return Yd&&t instanceof Map}function hi(t){return Xd&&t instanceof Set}function Ft(t){return t.o||t.t}function yi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Ic(t);delete e[ie];for(var o=Nr(e),n=0;n<o.length;n++){var i=o[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function gi(t,e){return e===void 0&&(e=!1),mi(t)||Rt(t)||!st(t)||(Pr(t)>1&&(t.set=t.add=t.clear=t.delete=jd),Object.freeze(t),e&&nr(t,function(o,n){return gi(n,!0)},!0)),t}function jd(){Je(2)}function mi(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function ht(t){var e=pi[t];return e||Je(18,t),e}function Kd(t,e){pi[t]||(pi[t]=e)}function ci(){return io}function ii(t,e){e&&(ht("Patches"),t.u=[],t.s=[],t.v=e)}function Ko(t){di(t),t.p.forEach(Zd),t.p=null}function di(t){t===io&&(io=t.l)}function mc(t){return io={p:[],l:io,h:t,m:!0,_:0}}function Zd(t){var e=t[ie];e.i===0||e.i===1?e.j():e.g=!0}function ai(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||ht("ES5").S(e,t,n),n?(o[ie].P&&(Ko(e),Je(4)),st(t)&&(t=Zo(e,t),e.l||qo(e,t)),e.u&&ht("Patches").M(o[ie].t,t,e.u,e.s)):t=Zo(e,o,[]),Ko(e),e.u&&e.v(e.u,e.s),t!==Rc?t:void 0}function Zo(t,e,o){if(mi(e))return e;var n=e[ie];if(!n)return nr(e,function(c,u){return bc(t,n,e,c,u,o)},!0),e;if(n.A!==t)return e;if(!n.P)return qo(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=yi(n.k):n.o,a=i,l=!1;n.i===3&&(a=new Set(i),i.clear(),l=!0),nr(a,function(c,u){return bc(t,n,i,c,u,o,l)}),qo(t,i,!1),o&&t.u&&ht("Patches").N(n,o,t.u,t.s)}return n.o}function bc(t,e,o,n,i,a,l){if(Rt(i)){var c=Zo(t,i,a&&e&&e.i!==3&&!Tr(e.R,n)?a.concat(n):void 0);if(Ec(o,n,c),!Rt(c))return;t.m=!1}else l&&o.add(i);if(st(i)&&!mi(i)){if(!t.h.D&&t._<1)return;Zo(t,i),e&&e.A.l||qo(t,i)}}function qo(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&gi(e,o)}function si(t,e){var o=t[ie];return(o?Ft(o):t)[e]}function xc(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function zt(t){t.P||(t.P=!0,t.l&&zt(t.l))}function li(t){t.o||(t.o=yi(t.t))}function ui(t,e,o){var n=fi(e)?ht("MapSet").F(e,o):hi(e)?ht("MapSet").T(e,o):t.O?function(i,a){var l=Array.isArray(i),c={i:l?1:0,A:a?a.A:ci(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},u=c,p=ao;l&&(u=[c],p=no);var g=Proxy.revocable(u,p),h=g.revoke,m=g.proxy;return c.k=m,c.j=h,m}(e,o):ht("ES5").J(e,o);return(o?o.A:ci()).p.push(n),n}function qd(t){return Rt(t)||Je(22,t),function e(o){if(!st(o))return o;var n,i=o[ie],a=Pr(o);if(i){if(!i.P&&(i.i<4||!ht("ES5").K(i)))return i.t;i.I=!0,n=vc(o,a),i.I=!1}else n=vc(o,a);return nr(n,function(l,c){i&&Gd(i.t,l)===c||Ec(n,l,e(c))}),a===3?new Set(n):n}(t)}function vc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return yi(t)}function Ac(){function t(l,c){var u=a[l];return u?u.enumerable=c:a[l]=u={configurable:!0,enumerable:c,get:function(){var p=this[ie];return ao.get(p,l)},set:function(p){var g=this[ie];ao.set(g,l,p)}},u}function e(l){for(var c=l.length-1;c>=0;c--){var u=l[c][ie];if(!u.P)switch(u.i){case 5:n(u)&&zt(u);break;case 4:o(u)&&zt(u)}}}function o(l){for(var c=l.t,u=l.k,p=Nr(u),g=p.length-1;g>=0;g--){var h=p[g];if(h!==ie){var m=c[h];if(m===void 0&&!Tr(c,h))return!0;var S=u[h],v=S&&S[ie];if(v?v.t!==m:!wc(S,m))return!0}}var O=!!c[ie];return p.length!==Nr(c).length+(O?0:1)}function n(l){var c=l.k;if(c.length!==l.t.length)return!0;var u=Object.getOwnPropertyDescriptor(c,c.length-1);if(u&&!u.get)return!0;for(var p=0;p<c.length;p++)if(!c.hasOwnProperty(p))return!0;return!1}function i(l){l.g&&Je(3,JSON.stringify(Ft(l)))}var a={};Kd("ES5",{J:function(l,c){var u=Array.isArray(l),p=function(h,m){if(h){for(var S=Array(m.length),v=0;v<m.length;v++)Object.defineProperty(S,""+v,t(v,!0));return S}var O=Ic(m);delete O[ie];for(var N=Nr(O),R=0;R<N.length;R++){var I=N[R];O[I]=t(I,h||!!O[I].enumerable)}return Object.create(Object.getPrototypeOf(m),O)}(u,l),g={i:u?5:4,A:c?c.A:ci(),P:!1,I:!1,R:{},l:c,t:l,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,ie,{value:g,writable:!0}),p},S:function(l,c,u){u?Rt(c)&&c[ie].A===l&&e(l.p):(l.u&&function p(g){if(g&&typeof g=="object"){var h=g[ie];if(h){var m=h.t,S=h.k,v=h.R,O=h.i;if(O===4)nr(S,function(V){V!==ie&&(m[V]!==void 0||Tr(m,V)?v[V]||p(S[V]):(v[V]=!0,zt(h)))}),nr(m,function(V){S[V]!==void 0||Tr(S,V)||(v[V]=!1,zt(h))});else if(O===5){if(n(h)&&(zt(h),v.length=!0),S.length<m.length)for(var N=S.length;N<m.length;N++)v[N]=!1;else for(var R=m.length;R<S.length;R++)v[R]=!0;for(var I=Math.min(S.length,m.length),U=0;U<I;U++)S.hasOwnProperty(U)||(v[U]=!0),v[U]===void 0&&p(S[U])}}}}(l.p[0]),e(l.p))},K:function(l){return l.i===4?o(l):n(l)}})}var Sc,io,bi=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Yd=typeof Map<"u",Xd=typeof Set<"u",Cc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Rc=bi?Symbol.for("immer-nothing"):((Sc={})["immer-nothing"]=!0,Sc),Oc=bi?Symbol.for("immer-draftable"):"__$immer_draftable",ie=bi?Symbol.for("immer-state"):"__$immer_state";var Qd=""+Object.prototype.constructor,Nr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ic=Object.getOwnPropertyDescriptors||function(t){var e={};return Nr(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},pi={},ao={get:function(t,e){if(e===ie)return t;var o=Ft(t);if(!Tr(o,e))return function(i,a,l){var c,u=xc(a,l);return u?"value"in u?u.value:(c=u.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,o,e);var n=o[e];return t.I||!st(n)?n:n===si(t.t,e)?(li(t),t.o[e]=ui(t.A.h,n,t)):n},has:function(t,e){return e in Ft(t)},ownKeys:function(t){return Reflect.ownKeys(Ft(t))},set:function(t,e,o){var n=xc(Ft(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var i=si(Ft(t),e),a=i?.[ie];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(wc(o,i)&&(o!==void 0||Tr(t.t,e)))return!0;li(t),zt(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return si(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,li(t),zt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Ft(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){Je(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Je(12)}},no={};nr(ao,function(t,e){no[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),no.deleteProperty=function(t,e){return no.set.call(this,t,e,void 0)},no.set=function(t,e,o){return ao.set.call(this,t[0],e,o,t[0])};var Jd=function(){function t(o){var n=this;this.O=Cc,this.D=!0,this.produce=function(i,a,l){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var u=n;return function(O){var N=this;O===void 0&&(O=c);for(var R=arguments.length,I=Array(R>1?R-1:0),U=1;U<R;U++)I[U-1]=arguments[U];return u.produce(O,function(V){var j;return(j=a).call.apply(j,[N,V].concat(I))})}}var p;if(typeof a!="function"&&Je(6),l!==void 0&&typeof l!="function"&&Je(7),st(i)){var g=mc(n),h=ui(n,i,void 0),m=!0;try{p=a(h),m=!1}finally{m?Ko(g):di(g)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(O){return ii(g,l),ai(O,g)},function(O){throw Ko(g),O}):(ii(g,l),ai(p,g))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===Rc&&(p=void 0),n.D&&gi(p,!0),l){var S=[],v=[];ht("Patches").M(i,p,S,v),l(S,v)}return p}Je(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(p){for(var g=arguments.length,h=Array(g>1?g-1:0),m=1;m<g;m++)h[m-1]=arguments[m];return n.produceWithPatches(p,function(S){return i.apply(void 0,[S].concat(h))})};var l,c,u=n.produce(i,a,function(p,g){l=p,c=g});return typeof Promise<"u"&&u instanceof Promise?u.then(function(p){return[p,l,c]}):[u,l,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){st(o)||Je(8),Rt(o)&&(o=qd(o));var n=mc(this),i=ui(this,o,void 0);return i[ie].C=!0,di(n),i},e.finishDraft=function(o,n){var i=o&&o[ie],a=i.A;return ii(a,n),ai(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!Cc&&Je(20),this.O=o},e.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var l=ht("Patches").$;return Rt(o)?l(o,n):this.produce(o,function(c){return l(c,n)})},t}(),Ge=new Jd,eu=Ge.produce,q0=Ge.produceWithPatches.bind(Ge),Y0=Ge.setAutoFreeze.bind(Ge),X0=Ge.setUseProxies.bind(Ge),Q0=Ge.applyPatches.bind(Ge),J0=Ge.createDraft.bind(Ge),eS=Ge.finishDraft.bind(Ge),Yo=eu;function ir(t){"@babel/helpers - typeof";return ir=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ir(t)}function Lc(t,e){if(ir(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(ir(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Tc(t){var e=Lc(t,"string");return ir(e)=="symbol"?e:e+""}function Nc(t,e,o){return(e=Tc(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Pc(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),o.push.apply(o,n)}return o}function xi(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?Pc(Object(o),!0).forEach(function(n){Nc(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Pc(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function Le(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var _c=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),vi=function(){return Math.random().toString(36).substring(7).split("").join(".")},Xo={INIT:"@@redux/INIT"+vi(),REPLACE:"@@redux/REPLACE"+vi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+vi()}};function tu(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Si(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Le(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Le(1));return o(Si)(t,e)}if(typeof t!="function")throw new Error(Le(2));var i=t,a=e,l=[],c=l,u=!1;function p(){c===l&&(c=l.slice())}function g(){if(u)throw new Error(Le(3));return a}function h(O){if(typeof O!="function")throw new Error(Le(4));if(u)throw new Error(Le(5));var N=!0;return p(),c.push(O),function(){if(N){if(u)throw new Error(Le(6));N=!1,p();var I=c.indexOf(O);c.splice(I,1),l=null}}}function m(O){if(!tu(O))throw new Error(Le(7));if(typeof O.type>"u")throw new Error(Le(8));if(u)throw new Error(Le(9));try{u=!0,a=i(a,O)}finally{u=!1}for(var N=l=c,R=0;R<N.length;R++){var I=N[R];I()}return O}function S(O){if(typeof O!="function")throw new Error(Le(10));i=O,m({type:Xo.REPLACE})}function v(){var O,N=h;return O={subscribe:function(I){if(typeof I!="object"||I===null)throw new Error(Le(11));function U(){I.next&&I.next(g())}U();var V=N(U);return{unsubscribe:V}}},O[_c]=function(){return this},O}return m({type:Xo.INIT}),n={dispatch:m,subscribe:h,getState:g,replaceReducer:S},n[_c]=v,n}function ru(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:Xo.INIT});if(typeof n>"u")throw new Error(Le(12));if(typeof o(void 0,{type:Xo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Le(13))})}function kc(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(o[i]=t[i])}var a=Object.keys(o),l,c;try{ru(o)}catch(u){c=u}return function(p,g){if(p===void 0&&(p={}),c)throw c;if(0)var h;for(var m=!1,S={},v=0;v<a.length;v++){var O=a[v],N=o[O],R=p[O],I=N(R,g);if(typeof I>"u"){var U=g&&g.type;throw new Error(Le(14))}S[O]=I,m=m||I!==R}return m=m||a.length!==Object.keys(p).length,m?S:p}}function _r(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function $c(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Le(15))},l={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(u){return u(l)});return a=_r.apply(void 0,c)(i.dispatch),xi(xi({},i),{},{dispatch:a})}}}function Dc(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(l){return function(c){return typeof c=="function"?c(i,a,t):l(c)}}};return e}var Bc=Dc();Bc.withExtraArgument=Dc;var Ci=Bc;var Hc=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),ou=function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,l;return l={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function c(p){return function(g){return u([p,g])}}function u(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=p[0]&2?i.return:p[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,p[1])).done)return a;switch(i=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,i=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=e.call(t,o)}catch(g){p=[6,g],i=0}finally{n=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},kr=function(t,e){for(var o=0,n=e.length,i=t.length;o<n;o++,i++)t[i]=e[o];return t},nu=Object.defineProperty,iu=Object.defineProperties,au=Object.getOwnPropertyDescriptors,Mc=Object.getOwnPropertySymbols,su=Object.prototype.hasOwnProperty,lu=Object.prototype.propertyIsEnumerable,Uc=function(t,e,o){return e in t?nu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Ht=function(t,e){for(var o in e||(e={}))su.call(e,o)&&Uc(t,o,e[o]);if(Mc)for(var n=0,i=Mc(e);n<i.length;n++){var o=i[n];lu.call(e,o)&&Uc(t,o,e[o])}return t},Oi=function(t,e){return iu(t,au(e))},cu=function(t,e,o){return new Promise(function(n,i){var a=function(u){try{c(o.next(u))}catch(p){i(p)}},l=function(u){try{c(o.throw(u))}catch(p){i(p)}},c=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(a,l)};c((o=o.apply(t,e)).next())})};var du=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?_r:_r.apply(null,arguments)},bS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function uu(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var pu=function(t){Hc(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.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(e.bind.apply(e,kr([void 0],o[0].concat(this)))):new(e.bind.apply(e,kr([void 0],o.concat(this))))},e}(Array),fu=function(t){Hc(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.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(e.bind.apply(e,kr([void 0],o[0].concat(this)))):new(e.bind.apply(e,kr([void 0],o.concat(this))))},e}(Array);function Ai(t){return st(t)?Yo(t,function(){}):t}function hu(t){return typeof t=="boolean"}function yu(){return function(e){return gu(e)}}function gu(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,l=a===void 0?!0:a,c=new pu;if(o&&(hu(o)?c.push(Ci):c.push(Ci.withExtraArgument(o.extraArgument))),0){if(i)var u;if(l)var p}return c}var Ei=!0;function Wc(t){var e=yu(),o=t||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,l=a===void 0?e():a,c=o.devTools,u=c===void 0?!0:c,p=o.preloadedState,g=p===void 0?void 0:p,h=o.enhancers,m=h===void 0?void 0:h,S;if(typeof i=="function")S=i;else if(uu(i))S=kc(i);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 v=l;if(typeof v=="function"&&(v=v(e),!Ei&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ei&&v.some(function(V){return typeof V!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=$c.apply(void 0,v),N=_r;u&&(N=du(Ht({trace:!Ei},typeof u=="object"&&u)));var R=new fu(O),I=R;Array.isArray(m)?I=kr([O],m):typeof m=="function"&&(I=m(R));var U=N.apply(void 0,I);return Si(S,g,U)}function Wt(t,e){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Ht(Ht({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function Vc(t){var e={},o=[],n,i={addCase:function(a,l){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=l,i},addMatcher:function(a,l){return o.push({matcher:a,reducer:l}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,o,n]}function mu(t){return typeof t=="function"}function bu(t,e,o,n){o===void 0&&(o=[]);var i=typeof e=="function"?Vc(e):[e,o,n],a=i[0],l=i[1],c=i[2],u;if(mu(t))u=function(){return Ai(t())};else{var p=Ai(t);u=function(){return p}}function g(h,m){h===void 0&&(h=u());var S=kr([a[m.type]],l.filter(function(v){var O=v.matcher;return O(m)}).map(function(v){var O=v.reducer;return O}));return S.filter(function(v){return!!v}).length===0&&(S=[c]),S.reduce(function(v,O){if(O)if(Rt(v)){var N=v,R=O(N,m);return R===void 0?v:R}else{if(st(v))return Yo(v,function(I){return O(I,m)});var R=O(v,m);if(R===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return v},h)}return g.getInitialState=u,g}function xu(t,e){return t+"/"+e}function Gc(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:Ai(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},l={},c={};i.forEach(function(g){var h=n[g],m=xu(e,g),S,v;"reducer"in h?(S=h.reducer,v=h.prepare):S=h,a[g]=S,l[m]=S,c[g]=v?Wt(m,v):Wt(m)});function u(){var g=typeof t.extraReducers=="function"?Vc(t.extraReducers):[t.extraReducers],h=g[0],m=h===void 0?{}:h,S=g[1],v=S===void 0?[]:S,O=g[2],N=O===void 0?void 0:O,R=Ht(Ht({},m),l);return bu(o,function(I){for(var U in R)I.addCase(U,R[U]);for(var V=0,j=v;V<j.length;V++){var _e=j[V];I.addMatcher(_e.matcher,_e.reducer)}N&&I.addDefaultCase(N)})}var p;return{name:e,reducer:function(g,h){return p||(p=u()),p(g,h)},actions:c,caseReducers:a,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var vu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Su=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=vu[Math.random()*64|0];return e},Cu=["name","message","stack","code"],wi=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Fc=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Ou=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=Cu;o<n.length;o++){var i=n[o];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},CS=function(){function t(e,o,n){var i=Wt(e+"/fulfilled",function(g,h,m,S){return{payload:g,meta:Oi(Ht({},S||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),a=Wt(e+"/pending",function(g,h,m){return{payload:void 0,meta:Oi(Ht({},m||{}),{arg:h,requestId:g,requestStatus:"pending"})}}),l=Wt(e+"/rejected",function(g,h,m,S,v){return{payload:S,error:(n&&n.serializeError||Ou)(g||"Rejected"),meta:Oi(Ht({},v||{}),{arg:m,requestId:h,rejectedWithValue:!!S,requestStatus:"rejected",aborted:g?.name==="AbortError",condition:g?.name==="ConditionError"})}}),c=!1,u=typeof AbortController<"u"?AbortController:function(){function g(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return g.prototype.abort=function(){},g}();function p(g){return function(h,m,S){var v=n?.idGenerator?n.idGenerator(g):Su(),O=new u,N,R=!1;function I(V){N=V,O.abort()}var U=function(){return cu(this,null,function(){var V,j,_e,ct,Te,dt,Ce;return ou(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),ct=(V=n?.condition)==null?void 0:V.call(n,g,{getState:m,extra:S}),wu(ct)?[4,ct]:[3,2];case 1:ct=y.sent(),y.label=2;case 2:if(ct===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,Te=new Promise(function(x,k){return O.signal.addEventListener("abort",function(){return k({name:"AbortError",message:N||"Aborted"})})}),h(a(v,g,(j=n?.getPendingMeta)==null?void 0:j.call(n,{requestId:v,arg:g},{getState:m,extra:S}))),[4,Promise.race([Te,Promise.resolve(o(g,{dispatch:h,getState:m,extra:S,requestId:v,signal:O.signal,abort:I,rejectWithValue:function(x,k){return new wi(x,k)},fulfillWithValue:function(x,k){return new Fc(x,k)}})).then(function(x){if(x instanceof wi)throw x;return x instanceof Fc?i(x.payload,v,g,x.meta):i(x,v,g)})])];case 3:return _e=y.sent(),[3,5];case 4:return dt=y.sent(),_e=dt instanceof wi?l(null,v,g,dt.payload,dt.meta):l(dt,v,g),[3,5];case 5:return Ce=n&&!n.dispatchConditionRejection&&l.match(_e)&&_e.meta.condition,Ce||h(_e),[2,_e]}})})}();return Object.assign(U,{abort:I,requestId:v,arg:g,unwrap:function(){return U.then(Eu)}})}}return Object.assign(p,{pending:a,rejected:l,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function Eu(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function wu(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var jc="listener",Kc="completed",Zc="cancelled",OS="task-"+Zc,ES="task-"+Kc,wS=jc+"-"+Zc,AS=jc+"-"+Kc;var Ri="listenerMiddleware";var RS=Wt(Ri+"/add"),IS=Wt(Ri+"/removeAll"),LS=Wt(Ri+"/remove");var zc,TS=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(zc||(zc=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Au=function(t){return function(e){setTimeout(e,t)}},NS=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Au(10);Ac();var Ru=zo(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}),Qo=class extends Ru(Object){};window.ftReduxStores||(window.ftReduxStores={});var qc=class t extends Qo{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(jo(a))return a;if(i==null)return;let l=Gc({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=Wc({reducer:(u,p)=>p.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...u,...p.overwrites}:l.reducer(u,p)});return window.ftReduxStores[i.name]=new t(l,c,i.eventBus)}constructor(e,o,n){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Ho;let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,l,c)=>{let u=l,p=a[u];return p?(...g)=>{let h=p(...g.map(i));return this.reduxStore.dispatch(h),h}:g=>{this.setState({[u]:i(g)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Jo=class{static format(e,o,n,i){return window.moment?window.moment(e).locale(o).format(this.getMomentDateFormat(n,i)):this.getIntlDateTime(e,o,n,i)}static getMomentDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(e,o,n,i){let a=typeof e=="string"?new Date(e):e,l=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(a);if(!i)return l;let c=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(a);return`${l} ${c}`}static getTimezoneAsString(){let e=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${e(Math.abs(o)/60)}:${e(Math.abs(o)%60)}`}};var Yc=b(T()),en=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},tC=(0,Yc.applyMixinOnce)(Symbol("withDateFormat"),function(t){class e extends t{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(L)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,a;return((a=(i=this.metadataDescriptors.find(c=>c.key===n))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?c=>Jo.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return en([(0,Ii.property)({type:Boolean})],e.prototype,"useLongDateFormat",void 0),en([(0,Ii.property)({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),en([ni({store:L.name,selector:o=>{var n,i;return(i=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),en([ni({store:L.name})],e.prototype,"uiLocale",void 0),e});var on=b(T());var tn=class extends We{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=L.getState().session;return!!e?.sessionAuthenticated}};var rn=class extends We{constructor(){super(...arguments),this.CACHE_DURATION=3*60*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 e=L.getState().session;return!!e?.sessionAuthenticated}};var Iu="ft-user-assets",Lu={setAssetCount:(t,e)=>{let{userAssetType:o,count:n}=e.payload.assetCount;t.assetCounts.allAsset[o]=n},clearAssetCount:t=>{Object.values(Ve).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let o=e.payload.mapId;t.assetCounts.bookmarkByMap[o]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:o,mapId:n,asset:i}=e.payload;switch(o){case Ve.BOOKMARKS:t.bookmarks?t.bookmarks.push(i):t.bookmarks=[i];break;case Ve.SEARCHES:t.savedSearches?t.savedSearches.push(i):t.savedSearches=[i];break}let a=t.assetCounts.allAsset[o];if(a!==void 0&&(t.assetCounts.allAsset[o]=a+1),o===Ve.BOOKMARKS&&n!==void 0){let l=t.assetCounts.bookmarkByMap[n];l!==void 0&&(t.assetCounts.bookmarkByMap[n]=l+1)}},removeAsset:(t,e)=>{var o,n;let{assetType:i,mapId:a,assetId:l}=e.payload;switch(i){case Ve.BOOKMARKS:t.bookmarks=(o=t.bookmarks)===null||o===void 0?void 0:o.filter(u=>u.id!==l);break;case Ve.SEARCHES:t.savedSearches=(n=t.savedSearches)===null||n===void 0?void 0:n.filter(u=>u.id!==l);break}let c=t.assetCounts.allAsset[i];if(c!==void 0&&c>0&&(t.assetCounts.allAsset[i]=c-1),i===Ve.BOOKMARKS&&a!==void 0){let u=t.assetCounts.bookmarkByMap[a];u!==void 0&&u>0&&(t.assetCounts.bookmarkByMap[a]=u-1)}}},je=on.FtReduxStore.get({name:Iu,reducers:Lu,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Ve).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Li=class{constructor(e=new tn,o=new rn){this.assetCountsService=e,this.assetLabelsService=o,this.currentSession=L.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new _o,this.savedSearchesService=new Mo,L.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=L.getState();(0,on.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),je.actions.clearAssetCount(),je.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),je.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),je.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();je.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();je.actions.assetLabels(e)}async loadAssetCount(e){let o=await this.assetCountsService.getUserAssetCount(e);o&&je.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(e){let o=await this.assetCountsService.getUserBookmarkCountByMap(e);o&&je.actions.setBookmarkCountByMap({count:o.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let o=Object.keys(je.getState().assetCounts.bookmarkByMap).length!==0;e===Ve.BOOKMARKS&&o&&je.actions.clearBookmarkCountByMap(),je.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;je.actions.bookmarks(o)}}},Tu=new Li;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Tu);(0,Xc.customElement)("ft-app-context")(oe);var ed=b(le());var Ti=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[n,i]=e.split(".");return{context:n,key:i,message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},Qc=new Ti;var Nu=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Pu=Symbol("i18nAttributes"),_u=Symbol("i18nListAttributes"),td=Symbol("i18nProperties"),nn=Symbol("i18nContexts"),so=Symbol("i18nUnsubs"),sn=(0,$r.applyMixinOnce)(Symbol("withI18n"),function(t){var e,o;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[o]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?$o:Rr}i18n(a){let{context:l,key:c,message:u}=a,{custom:p,args:g,argsProvider:h}=a;if(l&&c){this.hasI18nContext(l)||this.addI18nContext(l,void 0,p);let m=g??(h?h(this):[]);return this.getI18nService(p).resolveMessage(l,c,...m)}return u}async awaitI18n(a){let{context:l,custom:c}=a;return l&&await this.getI18nService(c).prepareContext(l),this.i18n(a)}customI18n(a,l){if(Qc.isI18nKey(a)){let[c,u]=a.split(".");return this.i18n({custom:!0,context:c,key:u,...l})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((l,c,u)=>a.has(c)||typeof l.argsProvider=="function"),this.updateI18nProperties(l=>typeof l.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((l,c,u)=>{var p;return((p=u?.context)===null||p===void 0?void 0:p.toLowerCase())===a}),this.updateI18nProperties(l=>l.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var l,c;let u=this,p=(g,h,m)=>m?.context&&m.key&&a(g,h,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...g})}:m;(l=this[Pu])===null||l===void 0||l.forEach((g,h)=>u[h]=p(g,h,u[h])),(c=this[_u])===null||c===void 0||c.forEach((g,h)=>{var m;return u[h]=(m=u[h])===null||m===void 0?void 0:m.map(S=>p(g,h,S))})}updateI18nProperties(a){var l;(l=this[td])===null||l===void 0||l.forEach((c,u)=>{a(c,u)&&(this[u]=this.i18n(c))})}addI18nMessages(a,l,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,l,c)}addI18nContext(a,l,c){let u=(typeof a=="string"?a:a.name).toLowerCase();c=typeof a=="string"?c:a.custom,this[nn].set(u,{isCustomContext:c}),this[so].has(u)||this[so].set(u,this.getI18nService(c).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(c).prepareContext(u,l)}hasI18nContext(a){return this[nn].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[nn].forEach((a,l)=>this.addI18nContext(l,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[so].forEach(a=>a()),this[so].clear()}}return e=nn,o=so,Nu([(0,ed.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Jc=class extends sn($r.FtLitElement){},an=class extends sn($r.FtLitElementRedux){};var lo=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},lt=class extends an{constructor(){super(),this.editorMode=!1,this.addStore(L)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":ln.nothing:ln.html`
|
|
970
2107
|
<span class="ft-i18n">
|
|
971
2108
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
972
2109
|
</span>
|
|
973
|
-
`}update(
|
|
974
|
-
<div class="${(0,
|
|
2110
|
+
`}update(e){var o;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};lt.elementDefinitions={};lt.styles=gl;lo([(0,dn.redux)()],lt.prototype,"editorMode",void 0);lo([(0,cn.property)()],lt.prototype,"context",void 0);lo([(0,cn.property)()],lt.prototype,"key",void 0);lo([(0,dn.jsonProperty)([])],lt.prototype,"args",void 0);lo([(0,cn.property)()],lt.prototype,"defaultMessage",void 0);var un=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?$o:Rr}constructor(e,o=!1){this.name=e,this.custom=o,this.properties=new Proxy({},{get:(n,i)=>{let a=i;return l=>({context:this.name,key:a,custom:this.custom,args:typeof l=="function"?void 0:l,argsProvider:typeof l=="function"?l:void 0})}}),this.messages=new Proxy({},{get:(n,i)=>(...a)=>this.service.resolveMessage(this.name,i,...a)}),this.rawMessages=new Proxy({},{get:(n,i)=>this.service.resolveRawMessage(this.name,i)}),this.keys=new Proxy({},{get:(n,i)=>()=>i}),this.attributes=new Proxy({},{get:(n,i)=>()=>({context:this.name,key:i,message:this.service.resolveRawMessage(this.name,i)})})}};(0,rd.customElement)("ft-i18n")(lt);var ar=un.build("ftCombobox"),od={ariaLiveOptions:"{0} options","ariaLiveOptions[\\=1]":"1 option",valueAdded:"{0} added",valueRemoved:"{0} removed",maxValuesReached:"Maximum {0} values allowed","maxValuesReached[\\=1]":"Maximum 1 value allowed",removeValueLabel:"Remove {0}"};var X=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},G=class extends sn(yt.FtLitElement){get value(){return this._value||""}set value(e){let o=this._value;this._value=e||"",this.filter=this._value,this.requestUpdate("value",o)}constructor(){super(),this.error=!1,this.filterSuggestions=!1,this.disabled=!1,this.outlined=!1,this.suggestionsProvider=()=>[],this._value="",this.canOfferNewValue=!0,this.multiValued=!1,this.labels=[],this.labelsToValues=new Map,this.filter="",this.isOpen=!1,this.comboboxHasVisualFocus=!1,this.listboxHasVisualFocus=!1,this.providedSuggestions=[],this.visibleSuggestions=[],this.activeIndex=-1,this.ariaLiveMessage="",this.onComboboxInput=()=>{let e=this.input.value,o=this._value!==""||this.multiValued&&this.labels.length>0;this.filter=e,this.activeIndex=-1,!this.multiValued&&o&&e===""&&(this._value="",this.dispatchChangeEvent()),this.ariaLiveMessage="",this.updateSuggestions(),this.getTotalSuggestionsCount()>0?this.openListbox():this.closeListbox(!0)},this.onComboboxKeyDown=e=>{if(e.ctrlKey||e.shiftKey)return;let o=!1;switch(e.key){case"Enter":this.commitSelectionFromEnter(),o=!0;break;case"ArrowDown":case"Down":{this.moveFocusToNextSuggestion(e),o=!0;break}case"ArrowUp":case"Up":{this.moveFocusToPreviousSuggestion(e),o=!0;break}case"Escape":case"Esc":this.handleEscapeKey(),o=!0;break;case"Tab":this.handleTabKey();break;case"Home":this.moveCaretToHome(),o=!0;break;case"End":{this.moveCaretToEnd(),o=!0;break}}o&&(e.stopPropagation(),e.preventDefault())},this.onComboboxKeyUp=e=>{if(e.key==="Escape"||e.key==="Esc")return;let o=!1;switch(e.key){case"Backspace":this.setVisualFocusCombobox(),o=!0;break;case"ArrowDown":case"Down":case"ArrowUp":case"Up":o=!0;break;case"ArrowLeft":case"Enter":case"Left":case"ArrowRight":case"Right":case"Home":case"End":this.setVisualFocusCombobox(),o=!0;break;default:this.isPrintableCharacter(e.key)&&this.input.value.length&&this.setVisualFocusCombobox();break}o&&(e.stopPropagation(),e.preventDefault())},this.onComboboxClick=()=>{this.isOpen?this.closeListbox(!0):this.openListbox()},this.onComboboxFocus=()=>{this.filter=this.input.value,this.updateSuggestions(),this.setVisualFocusCombobox(),this.activeIndex=-1},this.onComboboxBlur=()=>{this.removeVisualFocusAll()},this.onBackgroundPointerUp=e=>{e.composedPath().includes(this)||(this.comboboxHasVisualFocus=!1,this.removeVisualFocusAll(),setTimeout(()=>this.closeListbox(!0),300))},this.onSuggestionClick=e=>{var o;e.kind==="new"?this.setValue(((o=this.input)===null||o===void 0?void 0:o.value)||this.value):this.setValue(e.label),this.multiValued||this.closeListbox(!0)},this.addI18nContext(ar,od)}willUpdate(e){e.has("suggestionsProviderDebouncerTimeout")&&(this._suggestionsProviderDebouncer=this.suggestionsProviderDebouncerTimeout&&this.suggestionsProviderDebouncerTimeout>0?new yt.Debouncer(this.suggestionsProviderDebouncerTimeout):void 0),(e.has("suggestionsProvider")||e.has("filter"))&&this.updateSuggestions()}render(){let e={"ft-combobox":!0,"ft-combobox--filled":!this.outlined,"ft-combobox--outlined":this.outlined,"ft-combobox--disabled":this.disabled,"ft-combobox--with-label":!!this.label,"ft-combobox--with-icon":!!this.icon,"ft-combobox--in-error":this.error,"ft-combobox--raised-label":this.comboboxHasVisualFocus||!!this.filter},o={"ft-combobox--listbox":!0,focus:this.listboxHasVisualFocus};return Pe.html`
|
|
2111
|
+
<div class="${(0,pn.classMap)(e)}">
|
|
975
2112
|
<div class="ft-combobox--main-panel"
|
|
976
2113
|
@focusout=${this.onComboboxBlur}>
|
|
977
2114
|
<ft-input-label
|
|
@@ -982,7 +2119,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
982
2119
|
?error=${this.error}>
|
|
983
2120
|
</ft-input-label>
|
|
984
2121
|
<div class="ft-combobox--input-panel">
|
|
985
|
-
${this.outlined?
|
|
2122
|
+
${this.outlined?Pe.nothing:Pe.html`
|
|
986
2123
|
<ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
|
|
987
2124
|
`}
|
|
988
2125
|
<input
|
|
@@ -996,8 +2133,9 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
996
2133
|
aria-expanded="${this.isOpen}"
|
|
997
2134
|
aria-controls="combobox-listbox"
|
|
998
2135
|
aria-activedescendant="${this.getActiveDescendantId()}"
|
|
999
|
-
aria-label="${
|
|
1000
|
-
name="${
|
|
2136
|
+
aria-label="${et(this.label)}"
|
|
2137
|
+
name="${et(this.name)}"
|
|
2138
|
+
maxlength="${et(this.maxLength)}"
|
|
1001
2139
|
?disabled=${this.disabled}
|
|
1002
2140
|
.value=${this.value}
|
|
1003
2141
|
@input=${this.onComboboxInput}
|
|
@@ -1009,56 +2147,71 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
1009
2147
|
${this.renderIcon()}
|
|
1010
2148
|
</div>
|
|
1011
2149
|
<div class="sr-only" aria-live="polite" aria-atomic="true">
|
|
1012
|
-
${this.renderLiveText()}
|
|
2150
|
+
${this.ariaLiveMessage||this.renderLiveText()}
|
|
1013
2151
|
</div>
|
|
1014
|
-
${
|
|
2152
|
+
${Fr(this.visibleSuggestions.length>0,()=>Pe.html`
|
|
1015
2153
|
<ul
|
|
1016
2154
|
id="combobox-listbox"
|
|
1017
|
-
class="${(0,
|
|
2155
|
+
class="${(0,pn.classMap)(o)}"
|
|
1018
2156
|
role="listbox"
|
|
2157
|
+
aria-multiselectable="${et(this.multiValued)}"
|
|
1019
2158
|
aria-label="${this.label||"Options"}"
|
|
1020
2159
|
data-visible="${this.isOpen}"
|
|
1021
2160
|
>
|
|
1022
|
-
${(0,
|
|
2161
|
+
${(0,Ni.repeat)(this.visibleSuggestions,n=>n.id,(n,i)=>this.renderSuggestion(n,i))}
|
|
1023
2162
|
</ul>`)}
|
|
1024
2163
|
|
|
1025
2164
|
</div>
|
|
1026
|
-
${this.helper?
|
|
2165
|
+
${this.helper?Pe.html`
|
|
1027
2166
|
<ft-typography class="ft-combobox--helper-text" variant="caption">
|
|
1028
2167
|
${this.helper}
|
|
1029
2168
|
</ft-typography>
|
|
1030
|
-
`:
|
|
2169
|
+
`:Pe.nothing}
|
|
2170
|
+
${Fr(this.multiValued&&this.labels.length>0,()=>Pe.html`
|
|
2171
|
+
<div class="ft-combobox--chips-container" role="group" aria-label="Selected values">
|
|
2172
|
+
${(0,Ni.repeat)(this.labels,n=>n,n=>Pe.html`
|
|
2173
|
+
<ft-chip removable
|
|
2174
|
+
dense
|
|
2175
|
+
hideIconTooltip
|
|
2176
|
+
label="${n}"
|
|
2177
|
+
iconLabel="${ar.messages.removeValueLabel(n)}"
|
|
2178
|
+
@icon-click=${()=>this.removeFromSelection(n)}>
|
|
2179
|
+
${n}
|
|
2180
|
+
</ft-chip>
|
|
2181
|
+
`)}
|
|
2182
|
+
</div>
|
|
2183
|
+
`)}
|
|
1031
2184
|
</div>
|
|
1032
|
-
`}renderIcon(){return this.icon?
|
|
2185
|
+
`}renderIcon(){return this.icon?Pe.html`
|
|
1033
2186
|
<ft-icon class="ft-combobox--icon"
|
|
1034
2187
|
.variant=${this.iconVariant}
|
|
1035
2188
|
.value=${this.icon}
|
|
1036
|
-
@click=${()=>{var
|
|
1037
|
-
`:
|
|
2189
|
+
@click=${()=>{var e,o;(e=this.input)===null||e===void 0||e.click(),(o=this.input)===null||o===void 0||o.focus()}}></ft-icon>
|
|
2190
|
+
`:Pe.nothing}renderSuggestion(e,o){let n=e.kind==="new"&&!!this.suggestionsHelper,i=this.multiValued&&this.labels.includes(e.label),a=o===this.activeIndex,l={"ft-combobox-suggestion":!0,"ft-combobox-suggestion--with-helper":n};return Pe.html`
|
|
1038
2191
|
<li
|
|
1039
|
-
id="${
|
|
1040
|
-
class="ft-combobox--option ${
|
|
2192
|
+
id="${e.kind==="new"?"suggestion-new-value":`option-${o}`}"
|
|
2193
|
+
class="ft-combobox--option ${e.kind==="new"?"ft-combobox--option-new-value":""}"
|
|
1041
2194
|
role="option"
|
|
1042
|
-
aria-selected="${
|
|
1043
|
-
|
|
1044
|
-
|
|
2195
|
+
aria-selected="${this.multiValued?i:a}"
|
|
2196
|
+
data-active="${a}"
|
|
2197
|
+
data-selected="${i}"
|
|
2198
|
+
@pointerdown=${c=>c.preventDefault()}
|
|
2199
|
+
@click=${()=>this.onSuggestionClick(e)}
|
|
1045
2200
|
>
|
|
1046
|
-
${(()
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
</div>
|
|
1059
|
-
`})()}
|
|
2201
|
+
<div class="${(0,pn.classMap)(l)}" tabindex="-1">
|
|
2202
|
+
<ft-ripple ?primary=${i} ?activated=${i}></ft-ripple>
|
|
2203
|
+
${n?Pe.html`
|
|
2204
|
+
<ft-typography aria-label="${this.suggestionsHelper}," class="ft-combobox-suggestion--helper-text"
|
|
2205
|
+
variant="${ke.caption}">
|
|
2206
|
+
${this.suggestionsHelper}
|
|
2207
|
+
</ft-typography>
|
|
2208
|
+
`:Pe.nothing}
|
|
2209
|
+
<ft-typography part="label" variant="${ke.body1}" class="ft-combobox-suggestion--label">
|
|
2210
|
+
${e.label}
|
|
2211
|
+
</ft-typography>
|
|
2212
|
+
</div>
|
|
1060
2213
|
</li>
|
|
1061
|
-
`}get activeSuggestion(){return this.activeIndex>=0&&this.activeIndex<this.visibleSuggestions.length?this.visibleSuggestions[this.activeIndex]:null}shouldOfferNew(){var
|
|
2214
|
+
`}get activeSuggestion(){return this.activeIndex>=0&&this.activeIndex<this.visibleSuggestions.length?this.visibleSuggestions[this.activeIndex]:null}shouldOfferNew(){var e;let o=((e=this.input)===null||e===void 0?void 0:e.value)||this.value||"",n=this.multiValued&&this.labels.includes(o);return o!==""&&!this.providedSuggestions.some(i=>i.label===o)&&!n&&this.canOfferNewValue}getTotalSuggestionsCount(){return this.visibleSuggestions.length}isNewValueSuggestionSelected(){var e;return this.activeIndex>=0&&this.activeIndex<this.visibleSuggestions.length&&((e=this.visibleSuggestions[this.activeIndex])===null||e===void 0?void 0:e.kind)==="new"}connectedCallback(){super.connectedCallback(),document.body.addEventListener("pointerup",this.onBackgroundPointerUp)}disconnectedCallback(){super.disconnectedCallback(),document.body.removeEventListener("pointerup",this.onBackgroundPointerUp)}renderLiveText(){let e=this.getTotalSuggestionsCount();return this.isOpen&&e>0?ar.messages.ariaLiveOptions(e):""}getActiveDescendantId(){return this.activeIndex<0?"":this.isNewValueSuggestionSelected()?"option-new-value":`option-${this.activeIndex}`}async updateSuggestions(){var e;this._suggestionsProviderDebouncer?await((e=this._suggestionsProviderDebouncer)===null||e===void 0?void 0:e.run(()=>this.updateSuggestionsWithoutDebounce())):await this.updateSuggestionsWithoutDebounce()}async updateSuggestionsWithoutDebounce(){var e;if(this.suggestionsProvider){this.providedSuggestions=await this.suggestionsProvider(this.filter);let o=(this.filterSuggestions?this.providedSuggestions.filter(n=>n.label.toLowerCase().includes(this.filter.toLowerCase())):this.providedSuggestions).map((n,i)=>({id:`regular-${i}`,label:n.label,kind:"regular"}));this.visibleSuggestions=[...o,...this.shouldOfferNew()?[{id:"new",label:((e=this.input)===null||e===void 0?void 0:e.value)||this.value,kind:"new"}]:[]]}}setActiveSuggestion(e,o=!1){var n,i;let a=this.getTotalSuggestionsCount();if(e<0||e>=a)return;this.activeIndex=e;let l=this.visibleSuggestions[e];if(l){if(o){let c=l.kind==="new"?((n=this.input)===null||n===void 0?void 0:n.value)||this.value:l.label,u=this.filter.length;(i=this.input)===null||i===void 0||i.setSelectionRange(u,c.length)}this.scrollSuggestionIntoView(e)}}scrollSuggestionIntoView(e){requestAnimationFrame(()=>{var o,n;let i;this.isNewValueSuggestionSelected()?i=(o=this.listbox)===null||o===void 0?void 0:o.querySelector("#option-new-value"):i=(n=this.listbox)===null||n===void 0?void 0:n.querySelector(`#option-${e}`),i&&this.listbox&&(this.listbox.scrollTop+this.listbox.offsetHeight<i.offsetTop+i.offsetHeight?this.listbox.scrollTop=i.offsetTop+i.offsetHeight-this.listbox.offsetHeight:this.listbox.scrollTop>i.offsetTop+2&&(this.listbox.scrollTop=i.offsetTop))})}openListbox(){this.isOpen=!0}closeListbox(e=!1){(e||!this.comboboxHasVisualFocus&&!this.listboxHasVisualFocus)&&(this.isOpen=!1)}setVisualFocusCombobox(){this.comboboxHasVisualFocus=!0,this.listboxHasVisualFocus=!1}setVisualFocusListbox(){this.comboboxHasVisualFocus=!1,this.listboxHasVisualFocus=!0}removeVisualFocusAll(){this.comboboxHasVisualFocus=!1,this.listboxHasVisualFocus=!1}setValue(e){this.multiValued?this.addToSelection(e):(this.filter=e,this._value=e,this.input.value=e,this.input.setSelectionRange(e.length,e.length),this.updateSuggestions(),this.dispatchChangeEvent())}dispatchChangeEvent(){var e,o;let n=(o=(e=this.providedSuggestions.find(i=>this._value===i.label))===null||e===void 0?void 0:e.value)!==null&&o!==void 0?o:this._value;this.dispatchEvent(new CustomEvent("change",{detail:n,bubbles:!0,composed:!0}))}addToSelection(e){var o,n;if(e.trim().length===0){this.clearInput(),this.closeListbox(!0);return}if(this.labels.includes(e)){this.removeFromSelection(e),this.closeListbox(!0);return}if(this.maxValues&&this.labels.length>=this.maxValues){this.ariaLiveMessage=ar.messages.maxValuesReached((o=this.maxValues)!==null&&o!==void 0?o:0),this.closeListbox(!0);return}this.labels=[...this.labels,e];let c=this.providedSuggestions.find(u=>u.label===e);this.labelsToValues.set(e,(n=c?.value)!==null&&n!==void 0?n:e),this.ariaLiveMessage=ar.messages.valueAdded(e),this.dispatchMultiValueChangeEvent(),this.clearInput(),this.closeListbox(!0)}clearInput(){this.filter="",this.input.value="",this.input.setSelectionRange(0,0),this.updateSuggestions(),this.input.focus()}removeFromSelection(e){this.labels=this.labels.filter(o=>o!==e),this.labelsToValues.delete(e),this.updateSuggestions(),this.ariaLiveMessage=ar.messages.valueRemoved(e),this.dispatchMultiValueChangeEvent(),this.input.focus()}dispatchMultiValueChangeEvent(){let e=this.labels.map(o=>{var n;return(n=this.labelsToValues.get(o))!==null&&n!==void 0?n:o});this.dispatchEvent(new CustomEvent("change",{detail:e,bubbles:!0,composed:!0}))}isPrintableCharacter(e){return e.length===1&&e.match(/\S| /)!==null}commitSelectionFromEnter(){var e,o;this.isOpen&&(this.isNewValueSuggestionSelected()?this.setValue(((e=this.input)===null||e===void 0?void 0:e.value)||this.value):this.activeSuggestion?this.setValue(this.activeSuggestion.label):(((o=this.input)===null||o===void 0?void 0:o.value)||"").length>0&&this.setValue(this.input.value)),this.multiValued?this.activeIndex=-1:(this.setVisualFocusCombobox(),this.closeListbox(!0))}moveFocusToNextSuggestion(e){let o=this.getTotalSuggestionsCount();if(!(o<=0)&&(this.openListbox(),!e.altKey))if(this.listboxHasVisualFocus){let n=this.activeIndex<o-1?this.activeIndex+1:0;this.setActiveSuggestion(n)}else this.setActiveSuggestion(0,!0),this.setVisualFocusListbox()}moveFocusToPreviousSuggestion(e){let o=this.getTotalSuggestionsCount();if(!(o<=0))if(this.listboxHasVisualFocus){let n=this.activeIndex>0?this.activeIndex-1:o-1;this.setActiveSuggestion(n)}else this.openListbox(),e.altKey||(this.setActiveSuggestion(o-1,!0),this.setVisualFocusListbox())}handleEscapeKey(){this.isOpen?(this.closeListbox(!0),this.filter=this.input.value,this.updateSuggestions(),this.setVisualFocusCombobox()):this.setValue(""),this.activeIndex=-1}handleTabKey(){var e;this.closeListbox(!0),this.listboxHasVisualFocus&&(this.isNewValueSuggestionSelected()?this.setValue(((e=this.input)===null||e===void 0?void 0:e.value)||this.value):this.activeSuggestion&&this.setValue(this.activeSuggestion.label))}moveCaretToHome(){this.input.setSelectionRange(0,0)}moveCaretToEnd(){let e=this.input.value.length;this.input.setSelectionRange(e,e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}blur(){var e;(e=this.input)===null||e===void 0||e.blur()}};G.styles=[mr,yt.screenReaderStyles,xs];G.elementDefinitions={"ft-input-label":Fe,"ft-ripple":Y,"ft-typography":ue,"ft-icon":se,"ft-chip":de};X([(0,Q.property)()],G.prototype,"label",void 0);X([(0,Q.property)()],G.prototype,"icon",void 0);X([(0,Q.property)()],G.prototype,"iconVariant",void 0);X([(0,Q.property)()],G.prototype,"name",void 0);X([(0,Q.property)({type:Boolean})],G.prototype,"error",void 0);X([(0,Q.property)({type:Boolean})],G.prototype,"filterSuggestions",void 0);X([(0,Q.property)()],G.prototype,"helper",void 0);X([(0,Q.property)({type:Boolean})],G.prototype,"disabled",void 0);X([(0,Q.property)({type:Boolean})],G.prototype,"outlined",void 0);X([(0,Q.property)()],G.prototype,"placeholder",void 0);X([(0,Q.property)()],G.prototype,"suggestionsHelper",void 0);X([(0,Q.property)({attribute:!1})],G.prototype,"suggestionsProvider",void 0);X([(0,yt.numberProperty)()],G.prototype,"suggestionsProviderDebouncerTimeout",void 0);X([(0,Q.property)({noAccessor:!0})],G.prototype,"value",null);X([(0,Q.property)({type:Boolean})],G.prototype,"canOfferNewValue",void 0);X([(0,Q.property)({type:Boolean})],G.prototype,"multiValued",void 0);X([(0,yt.numberProperty)()],G.prototype,"maxValues",void 0);X([(0,yt.numberProperty)()],G.prototype,"maxLength",void 0);X([(0,Q.state)()],G.prototype,"labels",void 0);X([(0,Q.state)()],G.prototype,"labelsToValues",void 0);X([(0,Q.state)()],G.prototype,"filter",void 0);X([(0,Q.state)()],G.prototype,"isOpen",void 0);X([(0,Q.state)()],G.prototype,"comboboxHasVisualFocus",void 0);X([(0,Q.state)()],G.prototype,"listboxHasVisualFocus",void 0);X([(0,Q.state)()],G.prototype,"providedSuggestions",void 0);X([(0,Q.state)()],G.prototype,"visibleSuggestions",void 0);X([(0,Q.state)()],G.prototype,"activeIndex",void 0);X([(0,Q.state)()],G.prototype,"ariaLiveMessage",void 0);X([(0,Q.query)(".ft-combobox--input")],G.prototype,"input",void 0);X([(0,Q.query)(".ft-combobox--listbox")],G.prototype,"listbox",void 0);function lO(t,e=20){return o=>{let n=(o||"").toLowerCase();return t.map(i=>typeof i=="string"?{value:i,label:i}:i).filter(i=>i.label.toLowerCase().includes(n)).sort((i,a)=>ku(i.label,a.label,n)).slice(0,e)}}function ku(t,e,o){let n=t.toLowerCase(),i=e.toLowerCase(),a=o.toLowerCase();return n.startsWith(a)&&!i.startsWith(a)?-1:i.startsWith(a)&&!n.startsWith(a)?1:n.localeCompare(i)}(0,nd.customElement)("ft-combobox")(G);})();
|
|
1062
2215
|
/*! Bundled license information:
|
|
1063
2216
|
|
|
1064
2217
|
lit-html/lit-html.js:
|