@fluid-topics/ft-search-results-spellcheck 2.0.1 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?k.substr(1,k.length):k}).forEach(function(k){var
|
|
1
|
+
"use strict";(()=>{var Si=Object.create;var So=Object.defineProperty;var Ci=Object.getOwnPropertyDescriptor;var Oi=Object.getOwnPropertyNames;var Ei=Object.getPrototypeOf,Ai=Object.prototype.hasOwnProperty;var Et=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports);var wi=(r,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Oi(t))!Ai.call(r,i)&&i!==o&&So(r,i,{get:()=>t[i],enumerable:!(n=Ci(t,i))||n.enumerable});return r};var E=(r,t,o)=>(o=r!=null?Si(Ei(r)):{},wi(t||!r||!r.__esModule?So(o,"default",{value:r,enumerable:!0}):o,r));var P=Et((Ns,Co)=>{Co.exports=ftGlobals.wcUtils});var ee=Et((Fs,Oo)=>{Oo.exports=ftGlobals.lit});var q=Et((Ds,Eo)=>{Eo.exports=ftGlobals.litDecorators});var ba=Et((be,ma)=>{var Kt=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,qt=function(){function r(){this.fetch=!1,this.DOMException=Kt.DOMException}return r.prototype=Kt,new r}();(function(r){var t=function(o){var n=typeof r<"u"&&r||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 s(p){return p&&DataView.prototype.isPrototypeOf(p)}if(i.arrayBuffer)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=ArrayBuffer.isView||function(p){return p&&c.indexOf(Object.prototype.toString.call(p))>-1};function u(p){if(typeof p!="string"&&(p=String(p)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(p)||p==="")throw new TypeError('Invalid character in header field name: "'+p+'"');return p.toLowerCase()}function f(p){return typeof p!="string"&&(p=String(p)),p}function h(p){var m={next:function(){var A=p.shift();return{done:A===void 0,value:A}}};return i.iterable&&(m[Symbol.iterator]=function(){return m}),m}function y(p){this.map={},p instanceof y?p.forEach(function(m,A){this.append(A,m)},this):Array.isArray(p)?p.forEach(function(m){if(m.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+m.length);this.append(m[0],m[1])},this):p&&Object.getOwnPropertyNames(p).forEach(function(m){this.append(m,p[m])},this)}y.prototype.append=function(p,m){p=u(p),m=f(m);var A=this.map[p];this.map[p]=A?A+", "+m:m},y.prototype.delete=function(p){delete this.map[u(p)]},y.prototype.get=function(p){return p=u(p),this.has(p)?this.map[p]:null},y.prototype.has=function(p){return this.map.hasOwnProperty(u(p))},y.prototype.set=function(p,m){this.map[u(p)]=f(m)},y.prototype.forEach=function(p,m){for(var A in this.map)this.map.hasOwnProperty(A)&&p.call(m,this.map[A],A,this)},y.prototype.keys=function(){var p=[];return this.forEach(function(m,A){p.push(A)}),h(p)},y.prototype.values=function(){var p=[];return this.forEach(function(m){p.push(m)}),h(p)},y.prototype.entries=function(){var p=[];return this.forEach(function(m,A){p.push([A,m])}),h(p)},i.iterable&&(y.prototype[Symbol.iterator]=y.prototype.entries);function g(p){if(!p._noBody){if(p.bodyUsed)return Promise.reject(new TypeError("Already read"));p.bodyUsed=!0}}function v(p){return new Promise(function(m,A){p.onload=function(){m(p.result)},p.onerror=function(){A(p.error)}})}function b(p){var m=new FileReader,A=v(m);return m.readAsArrayBuffer(p),A}function S(p){var m=new FileReader,A=v(m),k=/charset=([A-Za-z0-9_-]+)/.exec(p.type),D=k?k[1]:"utf-8";return m.readAsText(p,D),A}function w(p){for(var m=new Uint8Array(p),A=new Array(m.length),k=0;k<m.length;k++)A[k]=String.fromCharCode(m[k]);return A.join("")}function I(p){if(p.slice)return p.slice(0);var m=new Uint8Array(p.byteLength);return m.set(new Uint8Array(p)),m.buffer}function R(){return this.bodyUsed=!1,this._initBody=function(p){this.bodyUsed=this.bodyUsed,this._bodyInit=p,p?typeof p=="string"?this._bodyText=p:i.blob&&Blob.prototype.isPrototypeOf(p)?this._bodyBlob=p:i.formData&&FormData.prototype.isPrototypeOf(p)?this._bodyFormData=p:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(p)?this._bodyText=p.toString():i.arrayBuffer&&i.blob&&s(p)?(this._bodyArrayBuffer=I(p.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(p)||d(p))?this._bodyArrayBuffer=I(p):this._bodyText=p=Object.prototype.toString.call(p):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof p=="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(p)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var p=g(this);if(p)return p;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 p=g(this);return p||(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(b);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var p=g(this);if(p)return p;if(this._bodyBlob)return S(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(w(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(J)}),this.json=function(){return this.text().then(JSON.parse)},this}var L=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function _(p){var m=p.toUpperCase();return L.indexOf(m)>-1?m:p}function H(p,m){if(!(this instanceof H))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');m=m||{};var A=m.body;if(p instanceof H){if(p.bodyUsed)throw new TypeError("Already read");this.url=p.url,this.credentials=p.credentials,m.headers||(this.headers=new y(p.headers)),this.method=p.method,this.mode=p.mode,this.signal=p.signal,!A&&p._bodyInit!=null&&(A=p._bodyInit,p.bodyUsed=!0)}else this.url=String(p);if(this.credentials=m.credentials||this.credentials||"same-origin",(m.headers||!this.headers)&&(this.headers=new y(m.headers)),this.method=_(m.method||this.method||"GET"),this.mode=m.mode||this.mode||null,this.signal=m.signal||this.signal||function(){if("AbortController"in n){var T=new AbortController;return T.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&A)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(A),(this.method==="GET"||this.method==="HEAD")&&(m.cache==="no-store"||m.cache==="no-cache")){var k=/([?&])_=[^&]*/;if(k.test(this.url))this.url=this.url.replace(k,"$1_="+new Date().getTime());else{var D=/\?/;this.url+=(D.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}H.prototype.clone=function(){return new H(this,{body:this._bodyInit})};function J(p){var m=new FormData;return p.trim().split("&").forEach(function(A){if(A){var k=A.split("="),D=k.shift().replace(/\+/g," "),T=k.join("=").replace(/\+/g," ");m.append(decodeURIComponent(D),decodeURIComponent(T))}}),m}function ve(p){var m=new y,A=p.replace(/\r?\n[\t ]+/g," ");return A.split("\r").map(function(k){return k.indexOf(`
|
|
2
|
+
`)===0?k.substr(1,k.length):k}).forEach(function(k){var D=k.split(":"),T=D.shift().trim();if(T){var Ot=D.join(":").trim();try{m.append(T,Ot)}catch(yr){console.warn("Response "+yr.message)}}}),m}R.call(H.prototype);function j(p,m){if(!(this instanceof j))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(m||(m={}),this.type="default",this.status=m.status===void 0?200:m.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=m.statusText===void 0?"":""+m.statusText,this.headers=new y(m.headers),this.url=m.url||"",this._initBody(p)}R.call(j.prototype),j.prototype.clone=function(){return new j(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},j.error=function(){var p=new j(null,{status:200,statusText:""});return p.ok=!1,p.status=0,p.type="error",p};var Se=[301,302,303,307,308];j.redirect=function(p,m){if(Se.indexOf(m)===-1)throw new RangeError("Invalid status code");return new j(null,{status:m,headers:{location:p}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(m,A){this.message=m,this.name=A;var k=Error(m);this.stack=k.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function Fe(p,m){return new Promise(function(A,k){var D=new H(p,m);if(D.signal&&D.signal.aborted)return k(new o.DOMException("Aborted","AbortError"));var T=new XMLHttpRequest;function Ot(){T.abort()}T.onload=function(){var z={statusText:T.statusText,headers:ve(T.getAllResponseHeaders()||"")};D.url.indexOf("file://")===0&&(T.status<200||T.status>599)?z.status=200:z.status=T.status,z.url="responseURL"in T?T.responseURL:z.headers.get("X-Request-URL");var Ce="response"in T?T.response:T.responseText;setTimeout(function(){A(new j(Ce,z))},0)},T.onerror=function(){setTimeout(function(){k(new TypeError("Network request failed"))},0)},T.ontimeout=function(){setTimeout(function(){k(new TypeError("Network request timed out"))},0)},T.onabort=function(){setTimeout(function(){k(new o.DOMException("Aborted","AbortError"))},0)};function yr(z){try{return z===""&&n.location.href?n.location.href:z}catch{return z}}if(T.open(D.method,yr(D.url),!0),D.credentials==="include"?T.withCredentials=!0:D.credentials==="omit"&&(T.withCredentials=!1),"responseType"in T&&(i.blob?T.responseType="blob":i.arrayBuffer&&(T.responseType="arraybuffer")),m&&typeof m.headers=="object"&&!(m.headers instanceof y||n.Headers&&m.headers instanceof n.Headers)){var vo=[];Object.getOwnPropertyNames(m.headers).forEach(function(z){vo.push(u(z)),T.setRequestHeader(z,f(m.headers[z]))}),D.headers.forEach(function(z,Ce){vo.indexOf(Ce)===-1&&T.setRequestHeader(Ce,z)})}else D.headers.forEach(function(z,Ce){T.setRequestHeader(Ce,z)});D.signal&&(D.signal.addEventListener("abort",Ot),T.onreadystatechange=function(){T.readyState===4&&D.signal.removeEventListener("abort",Ot)}),T.send(typeof D._bodyInit>"u"?null:D._bodyInit)})}return Fe.polyfill=!0,n.fetch||(n.fetch=Fe,n.Headers=y,n.Request=H,n.Response=j),o.Headers=y,o.Request=H,o.Response=j,o.fetch=Fe,o}({})})(qt);qt.fetch.ponyfill=!0;delete qt.fetch.polyfill;var at=Kt.fetch?Kt:qt;be=at.fetch;be.default=at.fetch;be.fetch=at.fetch;be.Headers=at.Headers;be.Request=at.Request;be.Response=at.Response;ma.exports=be});var vi=E(P());var hr=E(ee()),xi=E(q()),xo=E(P());var Ao=E(ee()),De=E(P()),At={linkColor:De.FtCssVariableFactory.external(De.designSystemVariables.colorPrimaryVariant,"Design system"),linkHoverColor:De.FtCssVariableFactory.external(De.designSystemVariables.colorPrimary,"Design system")},wo=Ao.css`
|
|
3
3
|
.ft-search-results-spellcheck--spellcheck {
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
@@ -15,19 +15,10 @@
|
|
|
15
15
|
color: ${At.linkHoverColor};
|
|
16
16
|
text-decoration-color: ${At.linkHoverColor};
|
|
17
17
|
}
|
|
18
|
-
`;var
|
|
19
|
-
\f\r]`,
|
|
20
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),To=/'/g,_o=/"/g,No=/^(?:script|style|textarea|title)$/i,Er=r=>(t,...o)=>({_$litType$:r,strings:t,values:o}),Fo=Er(1),Do=Er(2),Mo=Er(3),ft=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),ko=new WeakMap,Oe=Ee.createTreeWalker(Ee,129);function Uo(r,t){if(!Or(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return wo!==void 0?wo.createHTML(t):t}var wi=(r,t)=>{let o=r.length-1,n=[],i,s=t===2?"<svg>":t===3?"<math>":"",c=dt;for(let d=0;d<o;d++){let u=r[d],f,h,y=-1,g=0;for(;g<u.length&&(c.lastIndex=g,h=c.exec(u),h!==null);)g=c.lastIndex,c===dt?h[1]==="!--"?c=Ro:h[1]!==void 0?c=Io:h[2]!==void 0?(No.test(h[2])&&(i=RegExp("</"+h[2],"g")),c=Ce):h[3]!==void 0&&(c=Ce):c===Ce?h[0]===">"?(c=i??dt,y=-1):h[1]===void 0?y=-2:(y=c.lastIndex-h[2].length,f=h[1],c=h[3]===void 0?Ce:h[3]==='"'?_o:To):c===_o||c===To?c=Ce:c===Ro||c===Io?c=dt:(c=Ce,i=void 0);let v=c===Ce&&r[d+1].startsWith("/>")?" ":"";s+=c===dt?u+Ei:y>=0?(n.push(f),u.slice(0,y)+Lo+u.slice(y)+de+v):u+de+(y===-2?d:v)}return[Uo(r,s+(r[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},pt=class r{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let s=0,c=0,d=t.length-1,u=this.parts,[f,h]=wi(t,o);if(this.el=r.createElement(f,n),Oe.currentNode=this.el.content,o===2||o===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(i=Oe.nextNode())!==null&&u.length<d;){if(i.nodeType===1){if(i.hasAttributes())for(let y of i.getAttributeNames())if(y.endsWith(Lo)){let g=h[c++],v=i.getAttribute(y).split(de),b=/([.?@])?(.*)/.exec(g);u.push({type:1,index:s,name:b[2],strings:v,ctor:b[1]==="."?br:b[1]==="?"?xr:b[1]==="@"?vr:Me}),i.removeAttribute(y)}else y.startsWith(de)&&(u.push({type:6,index:s}),i.removeAttribute(y));if(No.test(i.tagName)){let y=i.textContent.split(de),g=y.length-1;if(g>0){i.textContent=wt?wt.emptyScript:"";for(let v=0;v<g;v++)i.append(y[v],Rt()),Oe.nextNode(),u.push({type:2,index:++s});i.append(y[g],Rt())}}}else if(i.nodeType===8)if(i.data===Po)u.push({type:2,index:s});else{let y=-1;for(;(y=i.data.indexOf(de,y+1))!==-1;)u.push({type:7,index:s}),y+=de.length-1}s++}}static createElement(t,o){let n=Ee.createElement("template");return n.innerHTML=t,n}};function De(r,t,o=r,n){if(t===ft)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,s=ut(t)?void 0:t._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(r),i._$AT(r,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=De(r,i._$AS(r,t.values),i,n)),t}var mr=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,i=(t?.creationScope??Ee).importNode(o,!0);Oe.currentNode=i;let s=Oe.nextNode(),c=0,d=0,u=n[0];for(;u!==void 0;){if(c===u.index){let f;u.type===2?f=new It(s,s.nextSibling,this,t):u.type===1?f=new u.ctor(s,u.name,u.strings,this,t):u.type===6&&(f=new Sr(s,this,t)),this._$AV.push(f),u=n[++d]}c!==u?.index&&(s=Oe.nextNode(),c++)}return Oe.currentNode=Ee,i}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++}},It=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.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=De(this,t,o),ut(t)?t===B||t==null||t===""?(this._$AH!==B&&this._$AR(),this._$AH=B):t!==this._$AH&&t!==ft&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ai(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!==B&&ut(this._$AH)?this._$AA.nextSibling.data=t:this.T(Ee.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=pt.createElement(Uo(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let s=new mr(i,this),c=s.u(this.options);s.p(o),this.T(c),this._$AH=s}}_$AC(t){let o=ko.get(t.strings);return o===void 0&&ko.set(t.strings,o=new pt(t)),o}k(t){Or(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let s of t)i===o.length?o.push(n=new r(this.O(Rt()),this.O(Rt()),this,this.options)):n=o[i],n._$AI(s),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$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))}},Me=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,s){this.type=1,this._$AH=B,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=B}_$AI(t,o=this,n,i){let s=this.strings,c=!1;if(s===void 0)t=De(this,t,o,0),c=!ut(t)||t!==this._$AH&&t!==ft,c&&(this._$AH=t);else{let d=t,u,f;for(t=s[0],u=0;u<s.length-1;u++)f=De(this,d[n+u],o,u),f===ft&&(f=this._$AH[u]),c||=!ut(f)||f!==this._$AH[u],f===B?t=B:t!==B&&(t+=(f??"")+s[u+1]),this._$AH[u]=f}c&&!i&&this.j(t)}j(t){t===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},br=class extends Me{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===B?void 0:t}},xr=class extends Me{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==B)}},vr=class extends Me{constructor(t,o,n,i,s){super(t,o,n,i,s),this.type=5}_$AI(t,o=this){if((t=De(this,t,o,0)??B)===ft)return;let n=this._$AH,i=t===B&&n!==B||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==B&&(n===B||i);i&&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)}},Sr=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){De(this,t)}};var Ri=Cr.litHtmlPolyfillSupport;Ri?.(pt,It),(Cr.litHtmlVersions??=[]).push("3.3.0");var Ho=Symbol.for(""),Ii=r=>{if(r?.r===Ho)return r?._$litStatic$},Ue=r=>({_$litStatic$:r,r:Ho});var Bo=new Map,Ar=r=>(t,...o)=>{let n=o.length,i,s,c=[],d=[],u,f=0,h=!1;for(;f<n;){for(u=t[f];f<n&&(s=o[f],(i=Ii(s))!==void 0);)u+=i+t[++f],h=!0;f!==n&&d.push(s),c.push(u),f++}if(f===n&&c.push(t[n]),h){let y=c.join("$$lit$$");(t=Bo.get(y))===void 0&&(c.raw=c,Bo.set(y,t=c)),o=d}return r(t,...o)},Be=Ar(Fo),Us=Ar(Do),Bs=Ar(Mo);var wr=A(q()),en=A(D());var Tt;(function(r){r.title="title",r.title_dense="title-dense",r.subtitle1="subtitle1",r.subtitle2="subtitle2",r.body1="body1",r.body2="body2",r.caption="caption",r.breadcrumb="breadcrumb",r.overline="overline",r.button="button"})(Tt||(Tt={}));var Z=A(ee()),x=A(D()),zo=x.FtCssVariableFactory.extend("--ft-typography-font-family","",x.designSystemVariables.titleFont),ae=x.FtCssVariableFactory.extend("--ft-typography-font-family","",x.designSystemVariables.contentFont),O={fontFamily:ae,fontSize:x.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:x.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:x.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:x.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:x.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},He={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-title-font-family","",zo),fontSize:x.FtCssVariableFactory.extend("--ft-typography-title-font-size","",O.fontSize,"20px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",O.letterSpacing,"0.15px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-title-line-height","",O.lineHeight,"1.2"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",O.textTransform,"inherit")},ze={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",zo),fontSize:x.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",O.fontSize,"14px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",O.letterSpacing,"0.105px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",O.lineHeight,"1.7"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",O.textTransform,"inherit")},Ge={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ae),fontSize:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",O.fontSize,"16px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",O.fontWeight,"600"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",O.letterSpacing,"0.144px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",O.lineHeight,"1.5"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",O.textTransform,"inherit")},We={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ae),fontSize:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",O.fontSize,"14px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",O.letterSpacing,"0.098px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",O.lineHeight,"1.7"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",O.textTransform,"inherit")},je={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ae),fontSize:x.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",O.fontSize,"16px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",O.letterSpacing,"0.496px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",O.lineHeight,"1.5"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",O.textTransform,"inherit")},$e={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ae),fontSize:x.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",O.fontSize,"14px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",O.letterSpacing,"0.252px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",O.lineHeight,"1.4"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",O.textTransform,"inherit")},Ve={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ae),fontSize:x.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",O.fontSize,"12px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",O.letterSpacing,"0.396px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",O.lineHeight,"1.33"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",O.textTransform,"inherit")},Ke={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ae),fontSize:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",O.fontSize,"10px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",O.letterSpacing,"0.33px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",O.lineHeight,"1.6"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",O.textTransform,"inherit")},qe={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ae),fontSize:x.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",O.fontSize,"10px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",O.letterSpacing,"1.5px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",O.lineHeight,"1.6"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",O.textTransform,"uppercase")},Ze={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ae),fontSize:x.FtCssVariableFactory.extend("--ft-typography-button-font-size","",O.fontSize,"14px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",O.fontWeight,"600"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",O.letterSpacing,"1.246px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-button-line-height","",O.lineHeight,"1.15"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",O.textTransform,"uppercase")},Go=Z.css`
|
|
18
|
+
`;var dt;(function(r){r.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(dt||(dt={}));var Cr=globalThis,wt=Cr.trustedTypes,Io=wt?wt.createPolicy("lit-html",{createHTML:r=>r}):void 0,Po="$lit$",ue=`lit$${Math.random().toFixed(9).slice(2)}$`,No="?"+ue,Ii=`<${No}>`,Ae=document,It=()=>Ae.createComment(""),ft=r=>r===null||typeof r!="object"&&typeof r!="function",Or=Array.isArray,Ri=r=>Or(r)||typeof r?.[Symbol.iterator]=="function",gr=`[
|
|
19
|
+
\f\r]`,ut=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ro=/-->/g,To=/>/g,Oe=RegExp(`>|${gr}(?:([^\\s"'>=/]+)(${gr}*=${gr}*(?:[^
|
|
20
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),_o=/'/g,ko=/"/g,Fo=/^(?:script|style|textarea|title)$/i,Er=r=>(t,...o)=>({_$litType$:r,strings:t,values:o}),Do=Er(1),Mo=Er(2),Uo=Er(3),pt=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),Lo=new WeakMap,Ee=Ae.createTreeWalker(Ae,129);function Bo(r,t){if(!Or(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Io!==void 0?Io.createHTML(t):t}var Ti=(r,t)=>{let o=r.length-1,n=[],i,s=t===2?"<svg>":t===3?"<math>":"",c=ut;for(let d=0;d<o;d++){let u=r[d],f,h,y=-1,g=0;for(;g<u.length&&(c.lastIndex=g,h=c.exec(u),h!==null);)g=c.lastIndex,c===ut?h[1]==="!--"?c=Ro:h[1]!==void 0?c=To:h[2]!==void 0?(Fo.test(h[2])&&(i=RegExp("</"+h[2],"g")),c=Oe):h[3]!==void 0&&(c=Oe):c===Oe?h[0]===">"?(c=i??ut,y=-1):h[1]===void 0?y=-2:(y=c.lastIndex-h[2].length,f=h[1],c=h[3]===void 0?Oe:h[3]==='"'?ko:_o):c===ko||c===_o?c=Oe:c===Ro||c===To?c=ut:(c=Oe,i=void 0);let v=c===Oe&&r[d+1].startsWith("/>")?" ":"";s+=c===ut?u+Ii:y>=0?(n.push(f),u.slice(0,y)+Po+u.slice(y)+ue+v):u+ue+(y===-2?d:v)}return[Bo(r,s+(r[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},ht=class r{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let s=0,c=0,d=t.length-1,u=this.parts,[f,h]=Ti(t,o);if(this.el=r.createElement(f,n),Ee.currentNode=this.el.content,o===2||o===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(i=Ee.nextNode())!==null&&u.length<d;){if(i.nodeType===1){if(i.hasAttributes())for(let y of i.getAttributeNames())if(y.endsWith(Po)){let g=h[c++],v=i.getAttribute(y).split(ue),b=/([.?@])?(.*)/.exec(g);u.push({type:1,index:s,name:b[2],strings:v,ctor:b[1]==="."?br:b[1]==="?"?xr:b[1]==="@"?vr:Ue}),i.removeAttribute(y)}else y.startsWith(ue)&&(u.push({type:6,index:s}),i.removeAttribute(y));if(Fo.test(i.tagName)){let y=i.textContent.split(ue),g=y.length-1;if(g>0){i.textContent=wt?wt.emptyScript:"";for(let v=0;v<g;v++)i.append(y[v],It()),Ee.nextNode(),u.push({type:2,index:++s});i.append(y[g],It())}}}else if(i.nodeType===8)if(i.data===No)u.push({type:2,index:s});else{let y=-1;for(;(y=i.data.indexOf(ue,y+1))!==-1;)u.push({type:7,index:s}),y+=ue.length-1}s++}}static createElement(t,o){let n=Ae.createElement("template");return n.innerHTML=t,n}};function Me(r,t,o=r,n){if(t===pt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,s=ft(t)?void 0:t._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(r),i._$AT(r,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=Me(r,i._$AS(r,t.values),i,n)),t}var mr=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,i=(t?.creationScope??Ae).importNode(o,!0);Ee.currentNode=i;let s=Ee.nextNode(),c=0,d=0,u=n[0];for(;u!==void 0;){if(c===u.index){let f;u.type===2?f=new Rt(s,s.nextSibling,this,t):u.type===1?f=new u.ctor(s,u.name,u.strings,this,t):u.type===6&&(f=new Sr(s,this,t)),this._$AV.push(f),u=n[++d]}c!==u?.index&&(s=Ee.nextNode(),c++)}return Ee.currentNode=Ae,i}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++}},Rt=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.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=Me(this,t,o),ft(t)?t===B||t==null||t===""?(this._$AH!==B&&this._$AR(),this._$AH=B):t!==this._$AH&&t!==pt&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ri(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!==B&&ft(this._$AH)?this._$AA.nextSibling.data=t:this.T(Ae.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=ht.createElement(Bo(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let s=new mr(i,this),c=s.u(this.options);s.p(o),this.T(c),this._$AH=s}}_$AC(t){let o=Lo.get(t.strings);return o===void 0&&Lo.set(t.strings,o=new ht(t)),o}k(t){Or(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let s of t)i===o.length?o.push(n=new r(this.O(It()),this.O(It()),this,this.options)):n=o[i],n._$AI(s),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$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))}},Ue=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,s){this.type=1,this._$AH=B,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=B}_$AI(t,o=this,n,i){let s=this.strings,c=!1;if(s===void 0)t=Me(this,t,o,0),c=!ft(t)||t!==this._$AH&&t!==pt,c&&(this._$AH=t);else{let d=t,u,f;for(t=s[0],u=0;u<s.length-1;u++)f=Me(this,d[n+u],o,u),f===pt&&(f=this._$AH[u]),c||=!ft(f)||f!==this._$AH[u],f===B?t=B:t!==B&&(t+=(f??"")+s[u+1]),this._$AH[u]=f}c&&!i&&this.j(t)}j(t){t===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},br=class extends Ue{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===B?void 0:t}},xr=class extends Ue{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==B)}},vr=class extends Ue{constructor(t,o,n,i,s){super(t,o,n,i,s),this.type=5}_$AI(t,o=this){if((t=Me(this,t,o,0)??B)===pt)return;let n=this._$AH,i=t===B&&n!==B||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==B&&(n===B||i);i&&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)}},Sr=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){Me(this,t)}};var _i=Cr.litHtmlPolyfillSupport;_i?.(ht,Rt),(Cr.litHtmlVersions??=[]).push("3.3.0");var zo=Symbol.for(""),ki=r=>{if(r?.r===zo)return r?._$litStatic$},Be=r=>({_$litStatic$:r,r:zo});var Ho=new Map,Ar=r=>(t,...o)=>{let n=o.length,i,s,c=[],d=[],u,f=0,h=!1;for(;f<n;){for(u=t[f];f<n&&(s=o[f],(i=ki(s))!==void 0);)u+=i+t[++f],h=!0;f!==n&&d.push(s),c.push(u),f++}if(f===n&&c.push(t[n]),h){let y=c.join("$$lit$$");(t=Ho.get(y))===void 0&&(c.raw=c,Ho.set(y,t=c)),o=d}return r(t,...o)},He=Ar(Do),zs=Ar(Mo),Gs=Ar(Uo);var wr=E(q()),tn=E(P());var Tt;(function(r){r.title="title",r.title_dense="title-dense",r.subtitle1="subtitle1",r.subtitle2="subtitle2",r.body1="body1",r.body2="body2",r.caption="caption",r.breadcrumb="breadcrumb",r.overline="overline",r.button="button"})(Tt||(Tt={}));var Z=E(ee()),x=E(P()),Go=x.FtCssVariableFactory.extend("--ft-typography-font-family","",x.designSystemVariables.titleFont),ie=x.FtCssVariableFactory.extend("--ft-typography-font-family","",x.designSystemVariables.contentFont),O={fontFamily:ie,fontSize:x.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:x.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:x.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:x.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:x.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ze={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Go),fontSize:x.FtCssVariableFactory.extend("--ft-typography-title-font-size","",O.fontSize,"20px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",O.letterSpacing,"0.15px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-title-line-height","",O.lineHeight,"1.2"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",O.textTransform,"inherit")},Ge={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Go),fontSize:x.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",O.fontSize,"14px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",O.letterSpacing,"0.105px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",O.lineHeight,"1.7"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",O.textTransform,"inherit")},We={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ie),fontSize:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",O.fontSize,"16px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",O.fontWeight,"600"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",O.letterSpacing,"0.144px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",O.lineHeight,"1.5"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",O.textTransform,"inherit")},je={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ie),fontSize:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",O.fontSize,"14px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",O.letterSpacing,"0.098px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",O.lineHeight,"1.7"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",O.textTransform,"inherit")},$e={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ie),fontSize:x.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",O.fontSize,"16px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",O.letterSpacing,"0.496px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",O.lineHeight,"1.5"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",O.textTransform,"inherit")},Ve={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ie),fontSize:x.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",O.fontSize,"14px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",O.letterSpacing,"0.252px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",O.lineHeight,"1.4"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",O.textTransform,"inherit")},Ke={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ie),fontSize:x.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",O.fontSize,"12px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",O.letterSpacing,"0.396px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",O.lineHeight,"1.33"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",O.textTransform,"inherit")},qe={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ie),fontSize:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",O.fontSize,"10px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",O.letterSpacing,"0.33px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",O.lineHeight,"1.6"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",O.textTransform,"inherit")},Ze={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ie),fontSize:x.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",O.fontSize,"10px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",O.letterSpacing,"1.5px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",O.lineHeight,"1.6"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",O.textTransform,"uppercase")},Ye={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ie),fontSize:x.FtCssVariableFactory.extend("--ft-typography-button-font-size","",O.fontSize,"14px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",O.fontWeight,"600"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",O.letterSpacing,"1.246px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-button-line-height","",O.lineHeight,"1.15"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",O.textTransform,"uppercase")},Wo=Z.css`
|
|
21
21
|
.ft-typography--title {
|
|
22
|
-
font-family: ${He.fontFamily};
|
|
23
|
-
font-size: ${He.fontSize};
|
|
24
|
-
font-weight: ${He.fontWeight};
|
|
25
|
-
letter-spacing: ${He.letterSpacing};
|
|
26
|
-
line-height: ${He.lineHeight};
|
|
27
|
-
text-transform: ${He.textTransform};
|
|
28
|
-
}
|
|
29
|
-
`,Wo=Z.css`
|
|
30
|
-
.ft-typography--title-dense {
|
|
31
22
|
font-family: ${ze.fontFamily};
|
|
32
23
|
font-size: ${ze.fontSize};
|
|
33
24
|
font-weight: ${ze.fontWeight};
|
|
@@ -36,7 +27,7 @@
|
|
|
36
27
|
text-transform: ${ze.textTransform};
|
|
37
28
|
}
|
|
38
29
|
`,jo=Z.css`
|
|
39
|
-
.ft-typography--
|
|
30
|
+
.ft-typography--title-dense {
|
|
40
31
|
font-family: ${Ge.fontFamily};
|
|
41
32
|
font-size: ${Ge.fontSize};
|
|
42
33
|
font-weight: ${Ge.fontWeight};
|
|
@@ -45,7 +36,7 @@
|
|
|
45
36
|
text-transform: ${Ge.textTransform};
|
|
46
37
|
}
|
|
47
38
|
`,$o=Z.css`
|
|
48
|
-
.ft-typography--
|
|
39
|
+
.ft-typography--subtitle1 {
|
|
49
40
|
font-family: ${We.fontFamily};
|
|
50
41
|
font-size: ${We.fontSize};
|
|
51
42
|
font-weight: ${We.fontWeight};
|
|
@@ -53,9 +44,8 @@
|
|
|
53
44
|
line-height: ${We.lineHeight};
|
|
54
45
|
text-transform: ${We.textTransform};
|
|
55
46
|
}
|
|
56
|
-
|
|
57
47
|
`,Vo=Z.css`
|
|
58
|
-
.ft-typography--
|
|
48
|
+
.ft-typography--subtitle2 {
|
|
59
49
|
font-family: ${je.fontFamily};
|
|
60
50
|
font-size: ${je.fontSize};
|
|
61
51
|
font-weight: ${je.fontWeight};
|
|
@@ -63,8 +53,9 @@
|
|
|
63
53
|
line-height: ${je.lineHeight};
|
|
64
54
|
text-transform: ${je.textTransform};
|
|
65
55
|
}
|
|
56
|
+
|
|
66
57
|
`,Ko=Z.css`
|
|
67
|
-
.ft-typography--
|
|
58
|
+
.ft-typography--body1 {
|
|
68
59
|
font-family: ${$e.fontFamily};
|
|
69
60
|
font-size: ${$e.fontSize};
|
|
70
61
|
font-weight: ${$e.fontWeight};
|
|
@@ -73,7 +64,7 @@
|
|
|
73
64
|
text-transform: ${$e.textTransform};
|
|
74
65
|
}
|
|
75
66
|
`,qo=Z.css`
|
|
76
|
-
.ft-typography--
|
|
67
|
+
.ft-typography--body2 {
|
|
77
68
|
font-family: ${Ve.fontFamily};
|
|
78
69
|
font-size: ${Ve.fontSize};
|
|
79
70
|
font-weight: ${Ve.fontWeight};
|
|
@@ -82,7 +73,7 @@
|
|
|
82
73
|
text-transform: ${Ve.textTransform};
|
|
83
74
|
}
|
|
84
75
|
`,Zo=Z.css`
|
|
85
|
-
.ft-typography--
|
|
76
|
+
.ft-typography--caption {
|
|
86
77
|
font-family: ${Ke.fontFamily};
|
|
87
78
|
font-size: ${Ke.fontSize};
|
|
88
79
|
font-weight: ${Ke.fontWeight};
|
|
@@ -91,7 +82,7 @@
|
|
|
91
82
|
text-transform: ${Ke.textTransform};
|
|
92
83
|
}
|
|
93
84
|
`,Yo=Z.css`
|
|
94
|
-
.ft-typography--
|
|
85
|
+
.ft-typography--breadcrumb {
|
|
95
86
|
font-family: ${qe.fontFamily};
|
|
96
87
|
font-size: ${qe.fontSize};
|
|
97
88
|
font-weight: ${qe.fontWeight};
|
|
@@ -100,7 +91,7 @@
|
|
|
100
91
|
text-transform: ${qe.textTransform};
|
|
101
92
|
}
|
|
102
93
|
`,Qo=Z.css`
|
|
103
|
-
.ft-typography--
|
|
94
|
+
.ft-typography--overline {
|
|
104
95
|
font-family: ${Ze.fontFamily};
|
|
105
96
|
font-size: ${Ze.fontSize};
|
|
106
97
|
font-weight: ${Ze.fontWeight};
|
|
@@ -109,20 +100,29 @@
|
|
|
109
100
|
text-transform: ${Ze.textTransform};
|
|
110
101
|
}
|
|
111
102
|
`,Xo=Z.css`
|
|
103
|
+
.ft-typography--button {
|
|
104
|
+
font-family: ${Ye.fontFamily};
|
|
105
|
+
font-size: ${Ye.fontSize};
|
|
106
|
+
font-weight: ${Ye.fontWeight};
|
|
107
|
+
letter-spacing: ${Ye.letterSpacing};
|
|
108
|
+
line-height: ${Ye.lineHeight};
|
|
109
|
+
text-transform: ${Ye.textTransform};
|
|
110
|
+
}
|
|
111
|
+
`,Jo=Z.css`
|
|
112
112
|
.ft-typography {
|
|
113
113
|
vertical-align: inherit;
|
|
114
114
|
}
|
|
115
|
-
`;var
|
|
116
|
-
<${
|
|
115
|
+
`;var en=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;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--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},se=class extends tn.FtLitElement{constructor(){super(...arguments),this.variant=Tt.body1}render(){return this.element?He`
|
|
116
|
+
<${Be(this.element)}
|
|
117
117
|
part="text"
|
|
118
118
|
class="ft-typography ft-typography--${this.variant}">
|
|
119
119
|
<slot></slot>
|
|
120
|
-
</${
|
|
121
|
-
`:
|
|
120
|
+
</${Be(this.element)}>
|
|
121
|
+
`:He`
|
|
122
122
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
123
|
-
`}};Ae.styles=[Go,Wo,jo,$o,Vo,Ko,qo,Zo,Yo,Qo,Xo];Jo([(0,wr.property)()],Ae.prototype,"element",void 0);Jo([(0,wr.property)()],Ae.prototype,"variant",void 0);var Ir=A(q()),Cn=A(D());var _t;(function(r){r.display="display",r.title1="title-1",r.title2="title-2",r.title3="title-3",r.body1regular="body-1-regular",r.body1medium="body-1-medium",r.body1semibold="body-1-semibold",r.body2regular="body-2-regular",r.body2medium="body-2-medium",r.body2semibold="body-2-semibold",r.caption1medium="caption-1-medium",r.caption1semibold="caption-1-semibold",r.caption2medium="caption-2-medium",r.caption2semibold="caption-2-semibold",r.caption2bold="caption-2-bold"})(_t||(_t={}));var ie=A(ee(),1),ue=r=>typeof r=="string"?(0,ie.unsafeCSS)(r):r,e=class{static create(t,o,n,i){let s=d=>ue(d??i),c=ie.css`var(${ue(t)}, ${s(i)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=i,c.defaultCssValue=s,c.set=d=>tn(c,d??s(i)),c.get=d=>ie.css`var(${ue(t)}, ${s(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(t,o,n,i){let s=d=>n.get(d??i),c=ie.css`var(${ue(t)}, ${s(i)})`;return c.name=t,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=s,c.set=d=>tn(c,d??s(i)),c.get=d=>ie.css`var(${ue(t)}, ${s(d)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(t,o){let n=s=>t.defaultCssValue(s),i=ie.css`var(${ue(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.set=s=>t.set(s),i.get=s=>ie.css`var(${ue(t.name)}, ${n(s)})`,i.breadcrumb=()=>t.breadcrumb(),i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function tn(r,t){return ue(`${r.name}: ${t}`)}var a={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)")},rn={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")},on={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")},nn={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")},an={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")},sn={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")},cn={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")},ln={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")},dn={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")},un={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")},Ti={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")},fn={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")},pn={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")},hn={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")},yn={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")},gn={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")},mn={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")},Rr={display:rn,"title-1":on,"title-2":nn,"title-3":an,"body-1-regular":sn,"body-1-medium":cn,"body-1-semibold":ln,"body-2-regular":dn,"body-2-medium":un,"body-2-medium-underline":Ti,"body-2-semibold":fn,"caption-1-medium":pn,"caption-1-semibold":hn,"caption-2-medium":yn,"caption-2-semibold":gn,"caption-2-bold":mn};var l={backgroundActionPrimary:e.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",a.colorBrand0),backgroundErrorSubtle:e.extend("--ftds-background-error-subtle","Used as background of subtle error components.",a.colorRed10),backgroundInfoSubtle:e.extend("--ftds-background-info-subtle","Used as background of subtle information components.",a.colorCyan10),backgroundWarningSubtle:e.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",a.colorOrange10),backgroundSuccessSubtle:e.extend("--ftds-background-success-subtle","Used as background of subtle success components.",a.colorGreen10),backgroundGlobalSurface:e.extend("--ftds-background-global-surface","Used as app background.",a.colorWhite),backgroundGlobalOnSurface:e.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",a.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",a.colorGray30),contentActionPrimary:e.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",a.colorBrand0),contentWarningPrimary:e.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",a.colorOrange200),contentWarningIconOnly:e.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",a.colorOrange0),contentErrorPrimary:e.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",a.colorRed0),contentErrorIconOnly:e.extend("--ftds-content-error-icon-only","Used on error status icons alone",a.colorRed70),contentInfoPrimary:e.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",a.colorCyan200),contentInfoIconOnly:e.extend("--ftds-content-info-icon-only","Used on info status icons alone",a.colorCyan0),contentSuccessPrimary:e.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",a.colorGreen200),contentSuccessIconOnly:e.extend("--ftds-content-success-icon-only","Used on success status icons alone",a.colorGreen0),contentGlobalPrimary:e.extend("--ftds-content-global-primary","Used for main content on the page.",a.colorGray500),contentGlobalSecondary:e.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
124
|
-
Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",a.colorGray0),contentGlobalOnColor:e.extend("--ftds-content-global-on-color","Used for content on a dominant color.",a.colorWhite),borderActionPrimary:e.extend("--ftds-border-action-primary","Used as border for primary action components.",a.colorBrand0),borderActionFocusRing:e.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",a.colorCyan0),borderWarningPrimary:e.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",a.colorOrange200),borderWarningSubtle:e.extend("--ftds-border-warning-subtle","Used as border for warning components.",a.colorOrange30),borderSuccessPrimary:e.extend("--ftds-border-success-primary","Used as border for success buttons.",a.colorGreen200),borderSuccessSubtle:e.extend("--ftds-border-success-subtle","Used as border for success components.",a.colorGreen30),borderErrorPrimary:e.extend("--ftds-border-error-primary","Used as border for text fields in error states.",a.colorRed0),borderErrorSubtle:e.extend("--ftds-border-error-subtle","Used as border for error components.",a.colorRed30),borderInfoPrimary:e.extend("--ftds-border-info-primary","Used as border for buttons in info color.",a.colorCyan200),borderInfoSubtle:e.extend("--ftds-border-info-subtle","Used as border for information components.",a.colorCyan30),borderGlobalPrimary:e.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",a.colorGray50),borderGlobalSecondary:e.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",a.colorGray40),borderGlobalSubtle:e.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",a.colorGray30),borderInputPrimary:e.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",a.colorGray80),borderNeutralPrimary:e.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",a.colorGray200)};var ac={largeHeight:e.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ftds-button-large-horizontal-padding","",a.spacing4),largeGap:e.extend("--ftds-button-large-gap","",a.spacing2),largeBorderRadius:e.extend("--ftds-button-large-border-radius","",a.borderRadiusS),largeIconSize:e.extend("--ftds-button-large-icon-size","",a.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","",a.spacing3),mediumGap:e.extend("--ftds-button-medium-gap","",a.spacing2),mediumBorderRadius:e.extend("--ftds-button-medium-border-radius","",a.borderRadiusS),mediumIconSize:e.extend("--ftds-button-medium-icon-size","",a.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","",a.spacing2),smallGap:e.extend("--ftds-button-small-gap","",a.spacing1),smallBorderRadius:e.extend("--ftds-button-small-border-radius","",a.borderRadiusS),smallIconSize:e.extend("--ftds-button-small-icon-size","",a.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","",a.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","",a.borderRadiusPill),primaryBrandBackgroundColor:e.extend("--ftds-button-primary-brand-background-color","",l.backgroundActionPrimary),primaryBrandColor:e.extend("--ftds-button-primary-brand-color","",l.contentGlobalOnColor),primaryBrandIconColor:e.extend("--ftds-button-primary-brand-icon-color","",l.contentGlobalOnColor),primaryBrandStateLayerColor:e.extend("--ftds-button-primary-brand-state-layer-color","",l.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",a.opacity16),primaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",a.opacity16),primaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-primary-brand-active-state-layer-opacity","",a.opacity24),primaryBrandDisabledComponentOpacity:e.extend("--ftds-button-primary-brand-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ftds-button-focus-focus-ring-color","",l.borderActionFocusRing),tertiaryBrandBackgroundColor:e.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:e.extend("--ftds-button-tertiary-brand-color","",l.contentActionPrimary),tertiaryBrandIconColor:e.extend("--ftds-button-tertiary-brand-icon-color","",l.contentActionPrimary),tertiaryBrandStateLayerColor:e.extend("--ftds-button-tertiary-brand-state-layer-color","",l.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",a.opacity8),tertiaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",a.opacity8),tertiaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",a.opacity16),tertiaryBrandDisabledComponentOpacity:e.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",a.opacity40),tertiaryInfoBackgroundColor:e.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:e.extend("--ftds-button-tertiary-info-color","",l.contentInfoPrimary),tertiaryInfoIconColor:e.extend("--ftds-button-tertiary-info-icon-color","",l.contentInfoPrimary),tertiaryInfoStateLayerColor:e.extend("--ftds-button-tertiary-info-state-layer-color","",l.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",a.opacity8),tertiaryInfoHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",a.opacity8),tertiaryInfoActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",a.opacity16),tertiaryInfoDisabledComponentOpacity:e.extend("--ftds-button-tertiary-info-disabled-component-opacity","",a.opacity40),tertiarySuccessBackgroundColor:e.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:e.extend("--ftds-button-tertiary-success-color","",l.contentSuccessPrimary),tertiarySuccessIconColor:e.extend("--ftds-button-tertiary-success-icon-color","",l.contentSuccessPrimary),tertiarySuccessStateLayerColor:e.extend("--ftds-button-tertiary-success-state-layer-color","",l.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",a.opacity8),tertiarySuccessFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",a.opacity8),tertiarySuccessActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",a.opacity16),tertiarySuccessDisabledComponentOpacity:e.extend("--ftds-button-tertiary-success-disabled-component-opacity","",a.opacity40),tertiaryWarningBackgroundColor:e.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:e.extend("--ftds-button-tertiary-warning-color","",l.contentWarningPrimary),tertiaryWarningIconColor:e.extend("--ftds-button-tertiary-warning-icon-color","",l.contentWarningPrimary),tertiaryWarningStateLayerColor:e.extend("--ftds-button-tertiary-warning-state-layer-color","",l.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",a.opacity8),tertiaryWarningFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",a.opacity8),tertiaryWarningActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",a.opacity16),tertiaryWarningDisabledComponentOpacity:e.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",a.opacity40),tertiaryErrorBackgroundColor:e.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:e.extend("--ftds-button-tertiary-error-color","",l.contentErrorPrimary),tertiaryErrorIconColor:e.extend("--ftds-button-tertiary-error-icon-color","",l.contentErrorPrimary),tertiaryErrorStateLayerColor:e.extend("--ftds-button-tertiary-error-state-layer-color","",l.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",a.opacity8),tertiaryErrorFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",a.opacity8),tertiaryErrorActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",a.opacity16),tertiaryErrorDisabledComponentOpacity:e.extend("--ftds-button-tertiary-error-disabled-component-opacity","",a.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","",l.contentGlobalSecondary),tertiaryNeutralColor:e.extend("--ftds-button-tertiary-neutral-color","",l.contentGlobalSecondary),tertiaryNeutralStateLayerColor:e.extend("--ftds-button-tertiary-neutral-state-layer-color","",l.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",a.opacity8),tertiaryNeutralFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",a.opacity8),tertiaryNeutralActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",a.opacity16),tertiaryNeutralDisabledComponentOpacity:e.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",a.opacity40),secondaryBrandBackgroundColor:e.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:e.extend("--ftds-button-secondary-brand-color","",l.contentActionPrimary),secondaryBrandIconColor:e.extend("--ftds-button-secondary-brand-icon-color","",l.contentActionPrimary),secondaryBrandStateLayerColor:e.extend("--ftds-button-secondary-brand-state-layer-color","",l.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",a.opacity8),secondaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",a.opacity8),secondaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",a.opacity16),secondaryBrandDisabledComponentOpacity:e.extend("--ftds-button-secondary-brand-disabled-component-opacity","",a.opacity40),secondaryBrandBorderColor:e.extend("--ftds-button-secondary-brand-border-color","",l.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",a.opacity8),secondaryNeutralFocusStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",a.opacity8),secondaryNeutralActiveStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",a.opacity16),secondaryNeutralDisabledComponentOpacity:e.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",a.opacity40),secondaryNeutralBackgroundColor:e.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:e.extend("--ftds-button-secondary-neutral-color","",l.contentGlobalSecondary),secondaryNeutralIconColor:e.extend("--ftds-button-secondary-neutral-icon-color","",l.contentGlobalSecondary),secondaryNeutralStateLayerColor:e.extend("--ftds-button-secondary-neutral-state-layer-color","",l.contentGlobalSecondary),secondaryNeutralBorderColor:e.extend("--ftds-button-secondary-neutral-border-color","",l.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:e.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",a.opacity8),secondaryInfoFocusStateLayerOpacity:e.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",a.opacity8),secondaryInfoActiveStateLayerOpacity:e.extend("--ftds-button-secondary-info-active-state-layer-opacity","",a.opacity16),secondaryInfoDisabledComponentOpacity:e.extend("--ftds-button-secondary-info-disabled-component-opacity","",a.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","",l.borderInfoPrimary),secondaryInfoColor:e.extend("--ftds-button-secondary-info-color","",l.contentInfoPrimary),secondaryInfoIconColor:e.extend("--ftds-button-secondary-info-icon-color","",l.contentInfoPrimary),secondaryInfoStateLayerColor:e.extend("--ftds-button-secondary-info-state-layer-color","",l.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:e.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",a.opacity8),secondarySuccessFocusStateLayerOpacity:e.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",a.opacity8),secondarySuccessActiveStateLayerOpacity:e.extend("--ftds-button-secondary-success-active-state-layer-opacity","",a.opacity16),secondarySuccessDisabledComponentOpacity:e.extend("--ftds-button-secondary-success-disabled-component-opacity","",a.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","",l.borderSuccessPrimary),secondarySuccessColor:e.extend("--ftds-button-secondary-success-color","",l.contentSuccessPrimary),secondarySuccessIconColor:e.extend("--ftds-button-secondary-success-icon-color","",l.contentSuccessPrimary),secondarySuccessStateLayerColor:e.extend("--ftds-button-secondary-success-state-layer-color","",l.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:e.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",a.opacity8),secondaryWarningFocusStateLayerOpacity:e.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",a.opacity8),secondaryWarningActiveStateLayerOpacity:e.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",a.opacity16),secondaryWarningDisabledComponentOpacity:e.extend("--ftds-button-secondary-warning-disabled-component-opacity","",a.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","",l.borderWarningPrimary),secondaryWarningColor:e.extend("--ftds-button-secondary-warning-color","",l.contentWarningPrimary),secondaryWarningIconColor:e.extend("--ftds-button-secondary-warning-icon-color","",l.contentWarningPrimary),secondaryWarningStateLayerColor:e.extend("--ftds-button-secondary-warning-state-layer-color","",l.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:e.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",a.opacity8),secondaryErrorFocusStateLayerOpacity:e.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",a.opacity8),secondaryErrorActiveStateLayerOpacity:e.extend("--ftds-button-secondary-error-active-state-layer-opacity","",a.opacity16),secondaryErrorDisabledComponentOpacity:e.extend("--ftds-button-secondary-error-disabled-component-opacity","",a.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","",l.contentErrorPrimary),secondaryErrorColor:e.extend("--ftds-button-secondary-error-color","",l.contentErrorPrimary),secondaryErrorIconColor:e.extend("--ftds-button-secondary-error-icon-color","",l.contentErrorPrimary),secondaryErrorStateLayerColor:e.extend("--ftds-button-secondary-error-state-layer-color","",l.contentErrorPrimary)};var dc={loadMoreIconSize:e.extend("--ftds-tree-list-load-more-icon-size","",a.iconSize2),loadMorePaddingLeft:e.extend("--ftds-tree-list-load-more-padding-left","",a.spacing6),loadMoreUnselectedDefaultBorderColor:e.extend("--ftds-tree-list-load-more-unselected-default-border-color","",l.borderGlobalSubtle),loadMoreIconColor:e.extend("--ftds-tree-list-load-more-icon-color","",l.contentActionPrimary),loadMoreLabelColor:e.extend("--ftds-tree-list-load-more-label-color","",l.contentActionPrimary),loadMoreHoverBorderColor:e.extend("--ftds-tree-list-load-more-hover-border-color","",a.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","",a.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","",l.borderGlobalPrimary),loadMoreLabelMarginLeft:e.extend("--ftds-tree-list-load-more-label-margin-left","",a.spacing1),nodeIconSize:e.extend("--ftds-tree-list-node-icon-size","",a.iconSize2),nodeHeight:e.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:e.extend("--ftds-tree-list-node-parent-label-margin-left","",a.spacing2),nodeParentLabelMarginRight:e.extend("--ftds-tree-list-node-parent-label-margin-right","",a.spacing2),nodeRootPaddingLeft:e.extend("--ftds-tree-list-node-root-padding-left","",a.spacing6),nodeChildPaddingLeft:e.extend("--ftds-tree-list-node-child-padding-left","",a.spacing5),nodeLeafPaddingLeft:e.extend("--ftds-tree-list-node-leaf-padding-left","",a.spacing6),nodeUnselectedDefaultBorderColor:e.extend("--ftds-tree-list-node-unselected-default-border-color","",l.borderGlobalSubtle),nodeUnselectedIconColor:e.extend("--ftds-tree-list-node-unselected-icon-color","",l.contentGlobalSecondary),nodeUnselectedLabelColor:e.extend("--ftds-tree-list-node-unselected-label-color","",l.contentGlobalSecondary),nodeUnselectedCounterColor:e.extend("--ftds-tree-list-node-unselected-counter-color","",l.contentGlobalSecondary),nodeHoverBorderColor:e.extend("--ftds-tree-list-node-hover-border-color","",l.borderActionPrimary),nodeFocusFocusRingColor:e.extend("--ftds-tree-list-node-focus-focus-ring-color","",l.borderActionFocusRing),nodeFocusOutlineWidth:e.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:e.extend("--ftds-tree-list-node-selected-default-border-color","",l.borderGlobalPrimary),nodeSelectedIconColor:e.extend("--ftds-tree-list-node-selected-icon-color","",l.contentGlobalSecondary),nodeSelectedLabelColor:e.extend("--ftds-tree-list-node-selected-label-color","",l.contentGlobalPrimary),nodeSelectedCounterColor:e.extend("--ftds-tree-list-node-selected-counter-color","",l.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","",l.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:e.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:e.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:e.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",l.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","",a.spacing6),headerSectionPaddingRight:e.extend("--ftds-tree-list-header-section-padding-right","",a.spacing3),headerSectionHorizontalGap:e.extend("--ftds-tree-list-header-section-horizontal-gap","",a.spacing2),headerSectionMarginBottom:e.extend("--ftds-tree-list-header-section-margin-bottom","",a.spacing2),headerSectionColor:e.extend("--ftds-tree-list-header-section-color","",l.contentGlobalPrimary),headerSectionCounterColor:e.extend("--ftds-tree-list-header-section-counter-color","",l.contentGlobalSecondary),listContainerBorderWidth:e.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:e.extend("--ftds-tree-list-list-container-background-color","",l.backgroundGlobalSurface),listContainerBorderColor:e.extend("--ftds-tree-list-list-container-border-color","",l.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","",a.spacing10),emptyStateContainerPaddingTop:e.extend("--ftds-tree-list-empty-state-container-padding-top","",a.spacing10),emptyStateContainerPaddingBottom:e.extend("--ftds-tree-list-empty-state-container-padding-bottom","",a.spacing10),emptyStateTitleMarginBottom:e.extend("--ftds-tree-list-empty-state-title-margin-bottom","",a.spacing2),emptyStateTitleLabelColor:e.extend("--ftds-tree-list-empty-state-title-label-color","",l.contentGlobalSecondary),emptyStateDescriptionLabelColor:e.extend("--ftds-tree-list-empty-state-description-label-color","",l.contentGlobalSecondary)};var yc={iconSize:e.extend("--ftds-checkbox-icon-size","",a.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"),labelHorizontalGap:e.extend("--ftds-checkbox-label-horizontal-gap","",a.spacing1),color:e.extend("--ftds-checkbox-color","",l.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ftds-checkbox-checked-background-color","",l.contentActionPrimary),checkedStateLayerColor:e.extend("--ftds-checkbox-checked-state-layer-color","",l.contentActionPrimary),checkedIconColor:e.extend("--ftds-checkbox-checked-icon-color","",l.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",a.opacity16),checkedFocusStateLayerOpacity:e.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",a.opacity16),checkedActiveStateLayerOpacity:e.extend("--ftds-checkbox-checked-active-state-layer-opacity","",a.opacity24),checkedDisabledComponentOpacity:e.extend("--ftds-checkbox-checked-disabled-component-opacity","",a.opacity40),uncheckedBorderColor:e.extend("--ftds-checkbox-unchecked-border-color","",a.colorGray80),uncheckedStateLayerColor:e.extend("--ftds-checkbox-unchecked-state-layer-color","",a.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",a.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",a.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",a.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ftds-checkbox-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:e.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:e.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:e.extend("--ftds-checkbox-horizontal-gap","",a.spacing3),helperPaddingTop:e.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:e.extend("--ftds-checkbox-helper-icon-size","",a.iconSize2),helperHorizontalGap:e.extend("--ftds-checkbox-helper-horizontal-gap","",a.spacing1),errorUncheckedBorderColor:e.extend("--ftds-checkbox-error-unchecked-border-color","",l.borderErrorPrimary),errorStateLayerColor:e.extend("--ftds-checkbox-error-state-layer-color","",l.contentErrorPrimary),errorHelperTextColor:e.extend("--ftds-checkbox-error-helper-text-color","",l.borderErrorPrimary),errorCheckedBackgroundColor:e.extend("--ftds-checkbox-error-checked-background-color","",l.contentErrorPrimary),helperTextColor:e.extend("--ftds-checkbox-helper-text-color","",l.contentGlobalSubtle),groupVerticalGap:e.extend("--ftds-checkbox-group-vertical-gap","",a.spacing3)};var vc={circleSize:e.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:e.create("--ftds-radio-border-width","","SIZE","2px"),color:e.extend("--ftds-radio-color","",l.contentGlobalPrimary),selectedRadioColor:e.extend("--ftds-radio-selected-radio-color","",l.contentActionPrimary),selectedStateLayerColor:e.extend("--ftds-radio-selected-state-layer-color","",l.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ftds-radio-selected-hover-state-layer-opacity","",a.opacity16),selectedFocusStateLayerOpacity:e.extend("--ftds-radio-selected-focus-state-layer-opacity","",a.opacity16),selectedActiveStateLayerOpacity:e.extend("--ftds-radio-selected-active-state-layer-opacity","",a.opacity24),selectedDisabledComponentOpacity:e.extend("--ftds-radio-selected-disabled-component-opacity","",a.opacity40),unselectedStateLayerColor:e.extend("--ftds-radio-unselected-state-layer-color","",l.borderInputPrimary),unselectedBorderColor:e.extend("--ftds-radio-unselected-border-color","",l.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ftds-radio-unselected-hover-state-layer-opacity","",a.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ftds-radio-unselected-focus-state-layer-opacity","",a.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ftds-radio-unselected-active-state-layer-opacity","",a.opacity24),unselectedDisabledComponentOpacity:e.extend("--ftds-radio-unselected-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ftds-radio-focus-focus-ring-color","",l.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","",a.spacing3),horizontalGap:e.extend("--ftds-radio-horizontal-gap","",a.spacing3)};var Ac={headerRowBorderWidth:e.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:e.extend("--ftds-table-header-row-background-color","",l.backgroundGlobalOnSurfaceDark),headerRowBorderColor:e.extend("--ftds-table-header-row-border-color","",l.borderGlobalPrimary),headerRowColor:e.extend("--ftds-table-header-row-color","",l.contentGlobalPrimary),dataRowBorderWidth:e.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:e.extend("--ftds-table-data-row-background-color","",l.backgroundGlobalOnSurface),dataRowBorderColor:e.extend("--ftds-table-data-row-border-color","",l.borderGlobalSubtle),dataRowColor:e.extend("--ftds-table-data-row-color","",l.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:e.extend("--ftds-table-data-row-default-hover-background-color","",a.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:e.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",a.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:e.extend("--ftds-table-data-row-selectable-selected-default-background-color","",a.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:e.extend("--ftds-table-data-row-selectable-selected-default-border-color","",a.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:e.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",a.colorBrand20),dataRowSelectableSelectedHoverBorderColor:e.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",a.colorBrand30),dataRowSelectableSelectedColor:e.extend("--ftds-table-data-row-selectable-selected-color","",l.contentActionPrimary),dataRowClickableHoverBackgroundColor:e.extend("--ftds-table-data-row-clickable-hover-background-color","",a.colorGray30),dataRowClickableFocusBorderColor:e.extend("--ftds-table-data-row-clickable-focus-border-color","",l.borderActionFocusRing),dataRowClickableFocusBackgroundColor:e.extend("--ftds-table-data-row-clickable-focus-background-color","",a.colorGray30),dataRowClickableActiveBackgroundColor:e.extend("--ftds-table-data-row-clickable-active-background-color","",a.colorGray40),headerCellHorizontalGap:e.extend("--ftds-table-header-cell-horizontal-gap","",a.spacing1),headerCellVerticalPadding:e.extend("--ftds-table-header-cell-vertical-padding","",a.spacing2),headerCellHorizontalPadding:e.extend("--ftds-table-header-cell-horizontal-padding","",a.spacing3),dataCellVerticalPadding:e.extend("--ftds-table-data-cell-vertical-padding","",a.spacing2),dataCellHorizontalPadding:e.extend("--ftds-table-data-cell-horizontal-padding","",a.spacing3),dataCellVerticalGap:e.extend("--ftds-table-data-cell-vertical-gap","",a.spacing1)};var _c={neutralOffHoverStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",a.opacity8),neutralOffFocusStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",a.opacity8),neutralOffFocusFocusRingColor:e.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",l.borderActionFocusRing),neutralOffActiveStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",a.opacity16),neutralOffBackgroundColor:e.extend("--ftds-chip-choice-neutral-off-background-color","",l.backgroundGlobalOnSurface),neutralOffBorderColor:e.extend("--ftds-chip-choice-neutral-off-border-color","",l.borderGlobalPrimary),neutralOffColor:e.extend("--ftds-chip-choice-neutral-off-color","",l.contentGlobalSecondary),neutralOffStateLayerColor:e.extend("--ftds-chip-choice-neutral-off-state-layer-color","",l.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",a.opacity16),neutralOnHoverStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",a.opacity24),neutralOnFocusStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",a.opacity24),neutralOnFocusFocusRingColor:e.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",l.borderActionFocusRing),neutralOnActiveStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",a.opacity32),neutralOnBackgroundColor:e.extend("--ftds-chip-choice-neutral-on-background-color","",l.backgroundGlobalOnSurface),neutralOnBorderColor:e.extend("--ftds-chip-choice-neutral-on-border-color","",l.borderGlobalPrimary),neutralOnColor:e.extend("--ftds-chip-choice-neutral-on-color","",l.contentGlobalPrimary),neutralOnIconColor:e.extend("--ftds-chip-choice-neutral-on-icon-color","",l.contentGlobalPrimary),neutralOnStateLayerColor:e.extend("--ftds-chip-choice-neutral-on-state-layer-color","",l.contentGlobalPrimary),largeMinHeight:e.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ftds-chip-choice-large-horizontal-padding","",a.spacing3),largeGap:e.extend("--ftds-chip-choice-large-gap","",a.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","",a.iconSize3),mediumMinHeight:e.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ftds-chip-choice-medium-horizontal-padding","",a.spacing2),mediumGap:e.extend("--ftds-chip-choice-medium-gap","",a.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","",a.iconSize2)};var Fc={largeMinHeight:e.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ftds-chip-large-horizontal-padding","",a.spacing3),largeButtonRightPadding:e.extend("--ftds-chip-large-button-right-padding","",a.spacing1),largeGap:e.extend("--ftds-chip-large-gap","",a.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","",a.iconSize3),mediumMinHeight:e.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ftds-chip-medium-horizontal-padding","",a.spacing2),mediumButtonRightPadding:e.extend("--ftds-chip-medium-button-right-padding","",a.spacing05),mediumGap:e.extend("--ftds-chip-medium-gap","",a.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","",a.iconSize2),smallMinHeight:e.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ftds-chip-small-horizontal-padding","",a.spacing1),smallButtonRightPadding:e.extend("--ftds-chip-small-button-right-padding","",a.spacing05),smallGap:e.extend("--ftds-chip-small-gap","",a.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","",a.iconSize1),neutralBackgroundColor:e.extend("--ftds-chip-neutral-background-color","",l.backgroundGlobalOnSurface),neutralColor:e.extend("--ftds-chip-neutral-color","",l.contentGlobalSecondary),neutralIconColor:e.extend("--ftds-chip-neutral-icon-color","",l.contentGlobalSecondary),neutralBorderColor:e.extend("--ftds-chip-neutral-border-color","",l.borderGlobalSecondary),infoBackgroundColor:e.extend("--ftds-chip-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-chip-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-chip-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-chip-info-border-color","",l.borderInfoSubtle),successBackgroundColor:e.extend("--ftds-chip-success-background-color","",l.backgroundSuccessSubtle),successColor:e.extend("--ftds-chip-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-chip-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:e.extend("--ftds-chip-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:e.extend("--ftds-chip-warning-background-color","",l.backgroundWarningSubtle),warningColor:e.extend("--ftds-chip-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-chip-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:e.extend("--ftds-chip-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:e.extend("--ftds-chip-error-background-color","",l.backgroundErrorSubtle),errorColor:e.extend("--ftds-chip-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-chip-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:e.extend("--ftds-chip-error-border-color","",l.borderErrorSubtle)};var Hc={brandHoverOpacity:e.extend("--ftds-link-brand-hover-opacity","",a.opacity80),brandHoverColor:e.extend("--ftds-link-brand-hover-color","",l.contentActionPrimary),brandFocusFocusRingColor:e.extend("--ftds-link-brand-focus-focus-ring-color","",l.borderActionFocusRing),brandFocusColor:e.extend("--ftds-link-brand-focus-color","",l.contentActionPrimary),brandDefaultColor:e.extend("--ftds-link-brand-default-color","",l.contentActionPrimary),brandActiveColor:e.extend("--ftds-link-brand-active-color","",l.contentActionPrimary),infoHoverOpacity:e.extend("--ftds-link-info-hover-opacity","",a.opacity80),infoHoverColor:e.extend("--ftds-link-info-hover-color","",l.contentInfoPrimary),infoFocusFocusRingColor:e.extend("--ftds-link-info-focus-focus-ring-color","",l.borderActionFocusRing),infoFocusColor:e.extend("--ftds-link-info-focus-color","",l.contentInfoPrimary),infoDefaultColor:e.extend("--ftds-link-info-default-color","",l.contentInfoPrimary),infoActiveColor:e.extend("--ftds-link-info-active-color","",l.contentInfoPrimary),neutralFocusFocusRingColor:e.extend("--ftds-link-neutral-focus-focus-ring-color","",l.borderActionFocusRing),neutralFocusColor:e.extend("--ftds-link-neutral-focus-color","",l.contentActionPrimary),neutralDefaultColor:e.extend("--ftds-link-neutral-default-color","",l.contentGlobalPrimary),neutralHoverColor:e.extend("--ftds-link-neutral-hover-color","",l.contentActionPrimary),neutralActiveColor:e.extend("--ftds-link-neutral-active-color","",l.contentActionPrimary),neutralVisitedColor:e.extend("--ftds-link-neutral-visited-color","",a.colorBrand100)};var $c={iconSize:e.extend("--ftds-banner-icon-size","",a.iconSize5),borderWidth:e.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:e.extend("--ftds-banner-left-padding","",a.spacing6),rightPadding:e.extend("--ftds-banner-right-padding","",a.spacing6),verticalPadding:e.extend("--ftds-banner-vertical-padding","",a.spacing6),horizontalSideGap:e.extend("--ftds-banner-horizontal-side-gap","",a.spacing6),horizontalMobileGap:e.extend("--ftds-banner-horizontal-mobile-gap","",a.spacing4),verticalMobileGap:e.extend("--ftds-banner-vertical-mobile-gap","",a.spacing6),horizontalMiddleGap:e.extend("--ftds-banner-horizontal-middle-gap","",a.spacing20),infoBackgroundColor:e.extend("--ftds-banner-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-banner-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-banner-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-banner-info-border-color","",l.borderInfoSubtle)};var Yc={horizontalPadding:e.extend("--ftds-badge-horizontal-padding","",a.spacing1),verticalPadding:e.extend("--ftds-badge-vertical-padding","",a.spacing1),borderRadius:e.extend("--ftds-badge-border-radius","",a.borderRadiusPill),color:e.extend("--ftds-badge-color","",l.contentGlobalOnColor),backgroundColor:e.extend("--ftds-badge-background-color","",l.contentActionPrimary)};var tl={horizontalGap:e.extend("--ftds-title-breadcrumb-horizontal-gap","",a.spacing1),currentColor:e.extend("--ftds-title-breadcrumb-current-color","",l.contentGlobalPrimary),previousNonClickableColor:e.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",l.contentGlobalSecondary),iconColor:e.extend("--ftds-title-breadcrumb-icon-color","",l.contentGlobalSubtle)};var il={parentHorizontalPadding:e.extend("--ftds-page-header-parent-horizontal-padding","",a.spacing6),parentTopPadding:e.extend("--ftds-page-header-parent-top-padding","",a.spacing4),parentBottomPadding:e.extend("--ftds-page-header-parent-bottom-padding","",a.spacing6),parentHelpLeftMargin:e.extend("--ftds-page-header-parent-help-left-margin","",a.spacing1),parentTitleColor:e.extend("--ftds-page-header-parent-title-color","",l.contentGlobalPrimary),parentSubtitleColor:e.extend("--ftds-page-header-parent-subtitle-color","",l.contentGlobalSecondary),parentChipLeftMargin:e.extend("--ftds-page-header-parent-chip-left-margin","",a.spacing4),parentVerticalGap:e.extend("--ftds-page-header-parent-vertical-gap","",a.spacing2),parentButtonsGroupHorizontalGap:e.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",a.spacing4),parentButtonsGroupVerticalGap:e.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",a.spacing4),parentChipsGroupHorizontalGap:e.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",a.spacing2),parentChipsGroupVerticalGap:e.extend("--ftds-page-header-parent-chips-group-vertical-gap","",a.spacing2),childHorizontalPadding:e.extend("--ftds-page-header-child-horizontal-padding","",a.spacing6),childTopPadding:e.extend("--ftds-page-header-child-top-padding","",a.spacing2),childBottomPadding:e.extend("--ftds-page-header-child-bottom-padding","",a.spacing2),childHelpLeftMargin:e.extend("--ftds-page-header-child-help-left-margin","",a.spacing1),childChipLeftMargin:e.extend("--ftds-page-header-child-chip-left-margin","",a.spacing4),childVerticalGap:e.extend("--ftds-page-header-child-vertical-gap","",a.spacing2),childMinHeight:e.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:e.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",a.spacing4),childButtonsGroupVerticalGap:e.extend("--ftds-page-header-child-buttons-group-vertical-gap","",a.spacing4),childChipsGroupHorizontalGap:e.extend("--ftds-page-header-child-chips-group-horizontal-gap","",a.spacing2),childChipsGroupVerticalGap:e.extend("--ftds-page-header-child-chips-group-vertical-gap","",a.spacing2),backgroundColor:e.extend("--ftds-page-header-background-color","",a.colorWhite),bottomBorderColor:e.extend("--ftds-page-header-bottom-border-color","",l.borderGlobalSubtle),bottomBorderWidth:e.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var ul={horizontalPadding:e.extend("--ftds-page-footer-horizontal-padding","",a.spacing6),verticalPadding:e.extend("--ftds-page-footer-vertical-padding","",a.spacing2),verticalGap:e.extend("--ftds-page-footer-vertical-gap","",a.spacing2),minHeight:e.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:e.extend("--ftds-page-footer-background-color","",a.colorWhite),topBorderColor:e.extend("--ftds-page-footer-top-border-color","",l.borderGlobalSubtle),topBorderWidth:e.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:e.extend("--ftds-page-footer-buttons-group-gap","",a.spacing4)};var yl={contentHorizontalPadding:e.extend("--ftds-page-layout-content-horizontal-padding","",a.spacing6),contentVerticalPadding:e.extend("--ftds-page-layout-content-vertical-padding","",a.spacing6)};var vl={smallContainerTargetWidth:e.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:e.extend("--ftds-modal-small-container-margin","",a.spacing6),mediumContainerTargetWidth:e.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:e.extend("--ftds-modal-medium-container-margin","",a.spacing6),largeContainerTargetWidth:e.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:e.extend("--ftds-modal-large-container-margin","",a.spacing6),overlayBackgroundColor:e.extend("--ftds-modal-overlay-background-color","",a.colorGray700),overlayOpacity:e.extend("--ftds-modal-overlay-opacity","",a.opacity40),shadow:e.extend("--ftds-modal-shadow","",a.shadowElevation03),bodyBackgroundColor:e.extend("--ftds-modal-body-background-color","",a.colorWhite),bodyColor:e.extend("--ftds-modal-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ftds-modal-body-horizontal-padding","",a.spacing6),bodyVerticalPadding:e.extend("--ftds-modal-body-vertical-padding","",a.spacing6),bodyVerticalGap:e.extend("--ftds-modal-body-vertical-gap","",a.spacing6),headerBackgroundColor:e.extend("--ftds-modal-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ftds-modal-header-border-color","",l.borderGlobalSubtle),headerColor:e.extend("--ftds-modal-header-color","",l.contentGlobalPrimary),headerLeadingIconColor:e.extend("--ftds-modal-header-leading-icon-color","",l.contentGlobalPrimary),headerVerticalPadding:e.extend("--ftds-modal-header-vertical-padding","",a.spacing1),headerRightPadding:e.extend("--ftds-modal-header-right-padding","",a.spacing1),headerLeftPadding:e.extend("--ftds-modal-header-left-padding","",a.spacing6),headerGap:e.extend("--ftds-modal-header-gap","",a.spacing2),headerBorderBottomWidth:e.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:e.extend("--ftds-modal-border-radius","",a.borderRadiusM)};var Al={overlayOpacity:e.extend("--ftds-drawer-overlay-opacity","",a.opacity40),shadow:e.extend("--ftds-drawer-shadow","",a.shadowElevation03),bodyColor:e.extend("--ftds-drawer-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ftds-drawer-body-horizontal-padding","",a.spacing6),bodyVerticalPadding:e.extend("--ftds-drawer-body-vertical-padding","",a.spacing6),bodyGap:e.extend("--ftds-drawer-body-gap","",a.spacing6),bodyBackgroundColor:e.extend("--ftds-drawer-body-background-color","",a.colorWhite),headerBackgroundColor:e.extend("--ftds-drawer-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ftds-drawer-header-border-color","",l.borderGlobalSubtle),headerColor:e.extend("--ftds-drawer-header-color","",l.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ftds-drawer-header-trailing-icon-color","",l.contentGlobalSecondary),headerHeight:e.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ftds-drawer-header-horizontal-padding","",a.spacing2),headerBorderWidth:e.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ftds-drawer-header-gap","",a.spacing3),buttonsBarBackgroundColor:e.extend("--ftds-drawer-buttons-bar-background-color","",l.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ftds-drawer-buttons-bar-border-color","",l.borderGlobalSubtle),buttonsBarColor:e.extend("--ftds-drawer-buttons-bar-color","",l.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ftds-drawer-buttons-bar-horizontal-padding","",a.spacing6),buttonsBarVerticalPadding:e.extend("--ftds-drawer-buttons-bar-vertical-padding","",a.spacing4),buttonsBarGap:e.extend("--ftds-drawer-buttons-bar-gap","",a.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","",a.colorGray700)};var _l={offBorderBottomWidth:e.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:e.extend("--ftds-tabs-off-hover-state-layer-opacity","",a.opacity8),offDefaultStateLayerOpacity:e.extend("--ftds-tabs-off-default-state-layer-opacity","",a.opacity0),offFocusStateLayerOpacity:e.extend("--ftds-tabs-off-focus-state-layer-opacity","",a.opacity8),offDisabledComponentOpacity:e.extend("--ftds-tabs-off-disabled-component-opacity","",a.opacity40),offColor:e.extend("--ftds-tabs-off-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-tabs-off-state-layer-color","",l.contentGlobalSubtle),offBorderBottomColor:e.extend("--ftds-tabs-off-border-bottom-color","",l.borderGlobalSubtle),activeTabIndicatorHeight:e.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:e.extend("--ftds-tabs-top-left-border-radius","",a.borderRadiusS),topRightBorderRadius:e.extend("--ftds-tabs-top-right-border-radius","",a.borderRadiusS),withLabelHorizontalPadding:e.extend("--ftds-tabs-with-label-horizontal-padding","",a.spacing4),withLabelVerticalPadding:e.extend("--ftds-tabs-with-label-vertical-padding","",a.spacing3),horizontalGap:e.extend("--ftds-tabs-horizontal-gap","",a.spacing1),verticalGap:e.extend("--ftds-tabs-vertical-gap","",a.spacing1),onHoverStateLayerOpacity:e.extend("--ftds-tabs-on-hover-state-layer-opacity","",a.opacity16),onDefaultStateLayerOpacity:e.extend("--ftds-tabs-on-default-state-layer-opacity","",a.opacity8),onFocusStateLayerOpacity:e.extend("--ftds-tabs-on-focus-state-layer-opacity","",a.opacity16),onActiveStateLayerOpacity:e.extend("--ftds-tabs-on-active-state-layer-opacity","",a.opacity24),onColor:e.extend("--ftds-tabs-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-tabs-on-state-layer-color","",l.contentActionPrimary),onActiveTabIndicatorColor:e.extend("--ftds-tabs-on-active-tab-indicator-color","",l.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ftds-tabs-icon-only-horizontal-padding","",a.spacing4),iconOnlyVerticalPadding:e.extend("--ftds-tabs-icon-only-vertical-padding","",a.spacing4),alertTopPadding:e.extend("--ftds-tabs-alert-top-padding","",a.spacing1),alertRightPadding:e.extend("--ftds-tabs-alert-right-padding","",a.spacing05),focusOutlineWidth:e.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-tabs-focus-focus-ring-color","",l.borderActionFocusRing)};var Fl={largeFieldHorizontalPadding:e.extend("--ftds-text-input-large-field-horizontal-padding","",a.spacing4),largeFieldHorizontalGap:e.extend("--ftds-text-input-large-field-horizontal-gap","",a.spacing3),largeFieldVerticalGap:e.extend("--ftds-text-input-large-field-vertical-gap","",a.spacing05),largeFieldHeight:e.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:e.extend("--ftds-text-input-large-field-icon-size","",a.iconSize3),mediumFieldHorizontalPadding:e.extend("--ftds-text-input-medium-field-horizontal-padding","",a.spacing4),mediumFieldHorizontalGap:e.extend("--ftds-text-input-medium-field-horizontal-gap","",a.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","",a.iconSize3),helperHorizontalPadding:e.extend("--ftds-text-input-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ftds-text-input-helper-horizontal-gap","",a.spacing1),helperIconSize:e.extend("--ftds-text-input-helper-icon-size","",a.iconSize2),borderRadius:e.extend("--ftds-text-input-border-radius","",a.borderRadiusS),backgroundColor:e.extend("--ftds-text-input-background-color","",a.colorWhite),contentValueColor:e.extend("--ftds-text-input-content-value-color","",l.contentGlobalPrimary),trailingIconColor:e.extend("--ftds-text-input-trailing-icon-color","",l.contentGlobalSubtle),labelColor:e.extend("--ftds-text-input-label-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-text-input-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-text-input-default-helper-text-color","",l.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","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-text-input-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:e.extend("--ftds-text-input-error-helper-icon-color","",l.contentErrorIconOnly),warningBorderColor:e.extend("--ftds-text-input-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:e.extend("--ftds-text-input-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:e.extend("--ftds-text-input-warning-helper-icon-color","",l.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","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-text-input-disabled-component-opacity","",a.opacity40)};var Hl={backgroundColor:e.extend("--ftds-text-area-background-color","",a.colorWhite),contentValueColor:e.extend("--ftds-text-area-content-value-color","",l.contentGlobalPrimary),labelColor:e.extend("--ftds-text-area-label-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-text-area-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-text-area-default-helper-text-color","",l.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","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-text-area-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:e.extend("--ftds-text-area-error-helper-icon-color","",l.contentErrorIconOnly),focusFocusRingColor:e.extend("--ftds-text-area-focus-focus-ring-color","",l.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","",a.opacity40),fieldHorizontalLeftPadding:e.extend("--ftds-text-area-field-horizontal-left-padding","",a.spacing4),fieldHorizontalGap:e.extend("--ftds-text-area-field-horizontal-gap","",a.spacing3),fieldVerticalGap:e.extend("--ftds-text-area-field-vertical-gap","",a.spacing05),fieldMinHeight:e.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ftds-text-area-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ftds-text-area-helper-horizontal-gap","",a.spacing1),helperIconSize:e.extend("--ftds-text-area-helper-icon-size","",a.iconSize2),borderRadius:e.extend("--ftds-text-area-border-radius","",a.borderRadiusS)};var $l={height:e.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ftds-floating-menu-horizontal-padding","",a.spacing4),offIconColor:e.extend("--ftds-floating-menu-off-icon-color","",l.contentGlobalPrimary),offColor:e.extend("--ftds-floating-menu-off-color","",l.contentGlobalPrimary),onColor:e.extend("--ftds-floating-menu-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-floating-menu-on-state-layer-color","",l.contentActionPrimary),gap:e.extend("--ftds-floating-menu-gap","",a.spacing3),focusFocusRingColor:e.extend("--ftds-floating-menu-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:e.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ftds-floating-menu-focus-state-layer-opacity","",a.opacity8),hoverStateLayerOpacity:e.extend("--ftds-floating-menu-hover-state-layer-opacity","",a.opacity8),activeStateLayerOpacity:e.extend("--ftds-floating-menu-active-state-layer-opacity","",a.opacity16),disabledComponentOpacity:e.extend("--ftds-floating-menu-disabled-component-opacity","",a.opacity40),iconSize:e.extend("--ftds-floating-menu-icon-size","",a.iconSize3),backgroundColor:e.extend("--ftds-floating-menu-background-color","",l.backgroundGlobalOnSurface),shadow:e.extend("--ftds-floating-menu-shadow","",a.shadowElevation02)};var Yl={largeFieldHorizontalPadding:e.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",a.spacing4),largeFieldHorizontalGap:e.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",a.spacing3),largeFieldVerticalGap:e.extend("--ftds-combobox-single-select-large-field-vertical-gap","",a.spacing05),largeFieldHeight:e.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:e.extend("--ftds-combobox-single-select-large-field-icon-size","",a.iconSize3),mediumFieldHorizontalPadding:e.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",a.spacing4),mediumFieldHorizontalGap:e.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",a.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","",a.iconSize3),helperHorizontalPadding:e.extend("--ftds-combobox-single-select-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ftds-combobox-single-select-helper-horizontal-gap","",a.spacing1),helperVerticalGap:e.extend("--ftds-combobox-single-select-helper-vertical-gap","",a.spacing1),helperIconSize:e.extend("--ftds-combobox-single-select-helper-icon-size","",a.iconSize2),menuVerticalGap:e.extend("--ftds-combobox-single-select-menu-vertical-gap","",a.spacing2),borderRadius:e.extend("--ftds-combobox-single-select-border-radius","",a.borderRadiusS),backgroundColor:e.extend("--ftds-combobox-single-select-background-color","",a.colorWhite),labelColor:e.extend("--ftds-combobox-single-select-label-color","",l.contentGlobalSubtle),contentValueColor:e.extend("--ftds-combobox-single-select-content-value-color","",l.contentGlobalPrimary),trailingIconColor:e.extend("--ftds-combobox-single-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-combobox-single-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-combobox-single-select-default-helper-text-color","",l.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","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-combobox-single-select-error-helper-text-color","",l.contentErrorPrimary),warningBorderWidth:e.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ftds-combobox-single-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:e.extend("--ftds-combobox-single-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:e.extend("--ftds-combobox-single-select-warning-helper-icon-color","",l.contentWarningIconOnly),focusOutlineWidth:e.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-combobox-single-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-combobox-single-select-disabled-component-opacity","",a.opacity40)};var td={backgroundColor:e.extend("--ftds-combobox-multi-select-background-color","",a.colorWhite),labelColor:e.extend("--ftds-combobox-multi-select-label-color","",l.contentGlobalSubtle),trailingIconColor:e.extend("--ftds-combobox-multi-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-combobox-multi-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-combobox-multi-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ftds-combobox-multi-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-combobox-multi-select-error-helper-text-color","",l.contentErrorPrimary),errorHelperIcon:e.extend("--ftds-combobox-multi-select-error-helper-icon","",l.contentErrorIconOnly),errorBorderWidth:e.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ftds-combobox-multi-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:e.extend("--ftds-combobox-multi-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:e.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:e.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",l.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","",a.opacity40),helperHorizontalPadding:e.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",a.spacing1),helperVerticalGap:e.extend("--ftds-combobox-multi-select-helper-vertical-gap","",a.spacing1),helperIconSize:e.extend("--ftds-combobox-multi-select-helper-icon-size","",a.iconSize2),fieldHorizontalPadding:e.extend("--ftds-combobox-multi-select-field-horizontal-padding","",a.spacing4),fieldHorizontalGap:e.extend("--ftds-combobox-multi-select-field-horizontal-gap","",a.spacing3),fieldVerticalGap:e.extend("--ftds-combobox-multi-select-field-vertical-gap","",a.spacing05),fieldIconSize:e.extend("--ftds-combobox-multi-select-field-icon-size","",a.iconSize3),fieldMaxHeight:e.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",a.spacing1),contentValuesVerticalGap:e.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",a.spacing1),borderRadius:e.extend("--ftds-combobox-multi-select-border-radius","",a.borderRadiusS)};var id={backgroundColor:e.extend("--ftds-popover-background-color","",l.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ftds-popover-horizontal-padding","",a.spacing6),verticalPadding:e.extend("--ftds-popover-vertical-padding","",a.spacing6),titleColor:e.extend("--ftds-popover-title-color","",l.contentGlobalPrimary),bodyColor:e.extend("--ftds-popover-body-color","",l.contentGlobalSecondary),gap:e.extend("--ftds-popover-gap","",a.spacing2),borderRadius:e.extend("--ftds-popover-border-radius","",a.borderRadiusM),shadow:e.extend("--ftds-popover-shadow","",a.shadowElevation02),maxWidth:e.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:e.extend("--ftds-popover-content-section-vertical-gap","",a.spacing2),multiSectionVerticalGap:e.extend("--ftds-popover-multi-section-vertical-gap","",a.spacing6)};var ud={hoverStateLayerOpacity:e.extend("--ftds-collapsible-hover-state-layer-opacity","",a.opacity8),focusStateLayerOpacity:e.extend("--ftds-collapsible-focus-state-layer-opacity","",a.opacity8),focusOutlineWidth:e.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ftds-collapsible-focus-focus-ring-color","",l.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ftds-collapsible-active-state-layer-opacity","",a.opacity16),disabledComponentOpacity:e.extend("--ftds-collapsible-disabled-component-opacity","",a.opacity40),horizontalPadding:e.extend("--ftds-collapsible-horizontal-padding","",a.spacing4),verticalPadding:e.extend("--ftds-collapsible-vertical-padding","",a.spacing3),color:e.extend("--ftds-collapsible-color","",l.contentGlobalPrimary),stateLayerColor:e.extend("--ftds-collapsible-state-layer-color","",l.contentGlobalPrimary),backgroundColor:e.extend("--ftds-collapsible-background-color","",l.backgroundGlobalOnSurface),borderColor:e.extend("--ftds-collapsible-border-color","",l.borderGlobalSubtle),iconSize:e.extend("--ftds-collapsible-icon-size","",a.iconSize3)};var gd={groupHorizontalPadding:e.extend("--ftds-switch-group-horizontal-padding","",a.spacing1),groupVerticalPadding:e.extend("--ftds-switch-group-vertical-padding","",a.spacing1),groupGap:e.extend("--ftds-switch-group-gap","",a.spacing1),groupBackgroundColor:e.extend("--ftds-switch-group-background-color","",l.backgroundGlobalSurface),groupBorderColor:e.extend("--ftds-switch-group-border-color","",l.borderGlobalSubtle),groupBorderRadius:e.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ftds-switch-label-horizontal-padding","",a.spacing2),labelVerticalPadding:e.extend("--ftds-switch-label-vertical-padding","",a.spacing1),offHoverStateLayerOpacity:e.extend("--ftds-switch-off-hover-state-layer-opacity","",a.opacity8),offFocusStateLayerOpacity:e.extend("--ftds-switch-off-focus-state-layer-opacity","",a.opacity8),offActiveStateLayerOpacity:e.extend("--ftds-switch-off-active-state-layer-opacity","",a.opacity16),offDisabledComponentOpacity:e.extend("--ftds-switch-off-disabled-component-opacity","",a.opacity40),offColor:e.extend("--ftds-switch-off-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-switch-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ftds-switch-on-hover-state-layer-opacity","",a.opacity8),onFocusStateLayerOpacity:e.extend("--ftds-switch-on-focus-state-layer-opacity","",a.opacity8),onActiveStateLayerOpacity:e.extend("--ftds-switch-on-active-state-layer-opacity","",a.opacity16),onDisabledComponentOpacity:e.extend("--ftds-switch-on-disabled-component-opacity","",a.opacity40),onColor:e.extend("--ftds-switch-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-switch-on-state-layer-color","",l.contentActionPrimary),iconHorizontalPadding:e.extend("--ftds-switch-icon-horizontal-padding","",a.spacing1),iconVerticalPadding:e.extend("--ftds-switch-icon-vertical-padding","",a.spacing1),focusOutlineWidth:e.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-switch-focus-focus-ring-color","",l.borderActionFocusRing),optionBorderRadius:e.extend("--ftds-switch-option-border-radius","",a.borderRadiusS)};var vd={color1Light:e.extend("--ftds-chart-1-light","for area color charts",a.colorBrand40),color1Base:e.extend("--ftds-chart-1-base","for line charts",a.colorBrand0),color2Light:e.extend("--ftds-chart-2-light","for area color charts",a.colorYellow60),color2Base:e.extend("--ftds-chart-2-base","for line charts",a.colorYellow100),color3Light:e.extend("--ftds-chart-3-light","",a.colorUltramarine40),color3Base:e.extend("--ftds-chart-3-base","",a.colorUltramarine70),color4Light:e.extend("--ftds-chart-4-light","",a.colorCyan50),color4Base:e.extend("--ftds-chart-4-base","",a.colorCyan100),color5Light:e.extend("--ftds-chart-5-light","",a.colorRed40),color5Base:e.extend("--ftds-chart-5-base","",a.colorRed60),color6Light:e.extend("--ftds-chart-6-light","",a.colorGreen40),color6Base:e.extend("--ftds-chart-6-base","",a.colorGreen70),color7Light:e.extend("--ftds-chart-7-light","",a.colorOrange70),color7Base:e.extend("--ftds-chart-7-base","",a.colorOrange100),color8Light:e.extend("--ftds-chart-8-light","",a.colorAvocado70),color8Base:e.extend("--ftds-chart-8-base","",a.colorAvocado200),color9Light:e.extend("--ftds-chart-9-light","",a.colorBrown50),color9Base:e.extend("--ftds-chart-9-base","",a.colorBrown200),color10Light:e.extend("--ftds-chart-10-light","",a.colorGray50),color10Base:e.extend("--ftds-chart-10-base","",a.colorGray80),monochrome10:e.extend("--ftds-chart-monochrome-10","",a.colorBrand10),monochrome20:e.extend("--ftds-chart-monochrome-20","",a.colorBrand20),monochrome30:e.extend("--ftds-chart-monochrome-30","",a.colorBrand40),monochrome40:e.extend("--ftds-chart-monochrome-40","",a.colorBrand60),monochrome50:e.extend("--ftds-chart-monochrome-50","",a.colorBrand0),monochrome60:e.extend("--ftds-chart-monochrome-60","",a.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",a.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",a.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",a.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",a.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",a.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:e.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",a.opacity48),scatterplotDatapointInitialHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",a.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",a.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",a.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",a.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:e.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",a.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",a.colorGray70),scatterplotDatapointHoverHoverRingColor:e.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",a.colorCyan200)};var Ed={color1IconColor:e.extend("--ftds-page-designer-1-icon-color","for area color charts",a.colorCyan0),color1ToolbarColor:e.extend("--ftds-page-designer-1-toolbar-color","for area color charts",a.colorCyan0),color2IconColor:e.extend("--ftds-page-designer-2-icon-color","for area color charts",a.colorBrand0),color2ToolbarColor:e.extend("--ftds-page-designer-2-toolbar-color","for area color charts",a.colorBrand0),color3IconColor:e.extend("--ftds-page-designer-3-icon-color","for area color charts",a.colorYellow200),color3ToolbarColor:e.extend("--ftds-page-designer-3-toolbar-color","for area color charts",a.colorYellow200),color4IconColor:e.extend("--ftds-page-designer-4-icon-color","for area color charts",a.colorUltramarine50),color4ToolbarColor:e.extend("--ftds-page-designer-4-toolbar-color","for area color charts",a.colorUltramarine50),color5IconColor:e.extend("--ftds-page-designer-5-icon-color","for area color charts",a.colorGreen0),color5ToolbarColor:e.extend("--ftds-page-designer-5-toolbar-color","for area color charts",a.colorGreen0),color6IconColor:e.extend("--ftds-page-designer-6-icon-color","for area color charts",a.colorOrange0),color6ToolbarColor:e.extend("--ftds-page-designer-6-toolbar-color","for area color charts",a.colorOrange0),color7IconColor:e.extend("--ftds-page-designer-7-icon-color","for area color charts",a.colorAvocado200),color7ToolbarColor:e.extend("--ftds-page-designer-7-toolbar-color","for area color charts",a.colorAvocado200),color8IconColor:e.extend("--ftds-page-designer-8-icon-color","for area color charts",a.colorBrown0),color8ToolbarColor:e.extend("--ftds-page-designer-8-toolbar-color","for area color charts",a.colorBrown0)};var Td={borderWidth:e.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ftds-notice-horizontal-padding","",a.spacing3),verticalPadding:e.extend("--ftds-notice-vertical-padding","",a.spacing2),borderRadius:e.extend("--ftds-notice-border-radius","",a.borderRadiusS),gap:e.extend("--ftds-notice-gap","",a.spacing2),iconSize:e.extend("--ftds-notice-icon-size","",a.iconSize3),infoBackgroundColor:e.extend("--ftds-notice-info-background-color","",l.backgroundInfoSubtle),infoBorderColor:e.extend("--ftds-notice-info-border-color","",l.borderInfoSubtle),infoColor:e.extend("--ftds-notice-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-notice-info-icon-color","",l.contentInfoIconOnly),warningBackgroundColor:e.extend("--ftds-notice-warning-background-color","",l.backgroundWarningSubtle),warningBorderColor:e.extend("--ftds-notice-warning-border-color","",l.borderWarningSubtle),warningColor:e.extend("--ftds-notice-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-notice-warning-icon-color","",l.contentWarningIconOnly),errorBackgroundColor:e.extend("--ftds-notice-error-background-color","",l.backgroundErrorSubtle),errorBorderColor:e.extend("--ftds-notice-error-border-color","",l.borderErrorSubtle),errorColor:e.extend("--ftds-notice-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-notice-error-icon-color","",l.contentErrorIconOnly),successBackgroundColor:e.extend("--ftds-notice-success-background-color","",l.backgroundSuccessSubtle),successBorderColor:e.extend("--ftds-notice-success-border-color","",l.borderSuccessSubtle),successColor:e.extend("--ftds-notice-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-notice-success-icon-color","",l.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","",a.spacing1),denseIconSize:e.extend("--ftds-notice-dense-icon-size","",a.iconSize2),denseBorderWidth:e.create("--ftds-notice-dense-border-width","","SIZE","0")};var Nd={offHoverStateLayerOpacity:e.extend("--ftds-toggle-off-hover-state-layer-opacity","",a.opacity16),offFocusStateLayerOpacity:e.extend("--ftds-toggle-off-focus-state-layer-opacity","",a.opacity16),offActiveStateLayerOpacity:e.extend("--ftds-toggle-off-active-state-layer-opacity","",a.opacity24),offDisabledComponentOpacity:e.extend("--ftds-toggle-off-disabled-component-opacity","",a.opacity40),offBackgroundColor:e.extend("--ftds-toggle-off-background-color","",l.contentGlobalSubtle),offIconColor:e.extend("--ftds-toggle-off-icon-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-toggle-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ftds-toggle-on-hover-state-layer-opacity","",a.opacity16),onFocusStateLayerOpacity:e.extend("--ftds-toggle-on-focus-state-layer-opacity","",a.opacity16),onActiveStateLayerOpacity:e.extend("--ftds-toggle-on-active-state-layer-opacity","",a.opacity24),onDisabledComponentOpacity:e.extend("--ftds-toggle-on-disabled-component-opacity","",a.opacity40),onBackgroundColor:e.extend("--ftds-toggle-on-background-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-toggle-on-state-layer-color","",l.contentActionPrimary),onIconColor:e.extend("--ftds-toggle-on-icon-color","",l.contentActionPrimary),color:e.extend("--ftds-toggle-color","",l.contentGlobalPrimary),focusFocusRingColor:e.extend("--ftds-toggle-focus-focus-ring-color","",l.borderActionFocusRing),gap:e.extend("--ftds-toggle-gap","",a.spacing3)};var Bd={iconSize:e.extend("--ftds-notification-icon-size","",a.iconSize4),leftPadding:e.extend("--ftds-notification-left-padding","",a.spacing5),rightPadding:e.extend("--ftds-notification-right-padding","",a.spacing4),verticalPadding:e.extend("--ftds-notification-vertical-padding","",a.spacing3),infoBackgroundColor:e.extend("--ftds-notification-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-notification-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-notification-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-notification-info-border-color","",l.borderInfoSubtle),successBackgroundColor:e.extend("--ftds-notification-success-background-color","",l.backgroundSuccessSubtle),successColor:e.extend("--ftds-notification-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-notification-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:e.extend("--ftds-notification-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:e.extend("--ftds-notification-warning-background-color","",l.backgroundWarningSubtle),warningColor:e.extend("--ftds-notification-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-notification-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:e.extend("--ftds-notification-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:e.extend("--ftds-notification-error-background-color","",l.backgroundErrorSubtle),errorColor:e.extend("--ftds-notification-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-notification-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:e.extend("--ftds-notification-error-border-color","",l.borderErrorSubtle),borderRadius:e.extend("--ftds-notification-border-radius","",a.borderRadiusPill),borderWidth:e.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ftds-notification-leading-gap","",a.spacing2),trailingGap:e.extend("--ftds-notification-trailing-gap","",a.spacing8)};var jd={horizontalPadding:e.extend("--ftds-tooltip-horizontal-padding","",a.spacing2),verticalPadding:e.extend("--ftds-tooltip-vertical-padding","",a.spacing2),borderRadius:e.extend("--ftds-tooltip-border-radius","",a.borderRadiusS),color:e.extend("--ftds-tooltip-color","",l.contentGlobalOnColor),backgroundColor:e.extend("--ftds-tooltip-background-color","",l.contentGlobalPrimary),backgroundOpacity:e.extend("--ftds-tooltip-background-opacity","",a.opacity80),shadow:e.extend("--ftds-tooltip-shadow","",a.shadowElevation02),maxWidth:e.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ftds-tooltip-gap","",a.spacing05)};var Zd={verticalPadding:e.extend("--ftds-reorderable-list-vertical-padding","",a.spacing4),gap:e.extend("--ftds-reorderable-list-gap","",a.spacing1),borderRadius:e.extend("--ftds-reorderable-list-border-radius","",a.borderRadiusM),reorderableItemTitleMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",a.spacing6),reorderableItemTitleColor:e.extend("--ftds-reorderable-list-reorderable-item-title-color","",l.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",a.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:e.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",a.spacing2),reorderableItemRightButtonsGroupHorizontalGap:e.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",a.spacing2),reorderableItemUsersCountColor:e.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",l.contentGlobalPrimary),reorderableItemUsersCountMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",a.spacing6),reorderableItemBackgroundColor:e.extend("--ftds-reorderable-list-reorderable-item-background-color","",l.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",a.spacing1),reorderableItemWarningMessageColor:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",l.contentWarningPrimary),reorderableItemWarningMessageIconColor:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",l.contentWarningIconOnly),reorderableItemGripColor:e.extend("--ftds-reorderable-list-reorderable-item-grip-color","",l.contentGlobalSecondary),reorderableItemGripOpacity:e.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",a.opacity48),boxShadow:e.extend("--ftds-reorderable-list-box-shadow","",a.shadowElevation01),borderWidth:e.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:e.extend("--ftds-reorderable-list-reorderable-items-gap","",a.spacing2),leftPadding:e.extend("--ftds-reorderable-list-left-padding","",a.spacing2),rightPadding:e.extend("--ftds-reorderable-list-right-padding","",a.spacing6),borderColor:e.extend("--ftds-reorderable-list-border-color","",l.borderGlobalPrimary),backgroundColor:e.extend("--ftds-reorderable-list-background-color","",l.backgroundGlobalOnSurfaceDark)};var Jd={menuHorizontalPadding:e.extend("--ftds-date-range-picker-menu-horizontal-padding","",a.spacing4),menuVerticalPadding:e.extend("--ftds-date-range-picker-menu-vertical-padding","",a.spacing4),menuVerticalGap:e.extend("--ftds-date-range-picker-menu-vertical-gap","",a.spacing4),menuButtonsVerticalGap:e.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",a.spacing2)};var bn;(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(bn||(bn={}));var xn;(function(r){r.large="large",r.medium="medium",r.small="small"})(xn||(xn={}));var Ye=A(ee());function _i(r,t){let o=Rr[r];return Ye.css`
|
|
125
|
-
${t?(0,
|
|
123
|
+
`}};se.styles=[Wo,jo,$o,Vo,Ko,qo,Zo,Yo,Qo,Xo,Jo];en([(0,wr.property)()],se.prototype,"element",void 0);en([(0,wr.property)()],se.prototype,"variant",void 0);var Rr=E(q()),On=E(P());var _t;(function(r){r.display="display",r.title1="title-1",r.title2="title-2",r.title3="title-3",r.body1regular="body-1-regular",r.body1medium="body-1-medium",r.body1semibold="body-1-semibold",r.body2regular="body-2-regular",r.body2medium="body-2-medium",r.body2semibold="body-2-semibold",r.caption1medium="caption-1-medium",r.caption1semibold="caption-1-semibold",r.caption2medium="caption-2-medium",r.caption2semibold="caption-2-semibold",r.caption2bold="caption-2-bold"})(_t||(_t={}));var ce=E(ee(),1),fe=r=>typeof r=="string"?(0,ce.unsafeCSS)(r):r,e=class{static create(t,o,n,i){let s=d=>fe(d??i),c=ce.css`var(${fe(t)}, ${s(i)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=i,c.defaultCssValue=s,c.set=d=>rn(c,d??s(i)),c.get=d=>ce.css`var(${fe(t)}, ${s(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(t,o,n,i){let s=d=>n.get(d??i),c=ce.css`var(${fe(t)}, ${s(i)})`;return c.name=t,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=s,c.set=d=>rn(c,d??s(i)),c.get=d=>ce.css`var(${fe(t)}, ${s(d)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(t,o){let n=s=>t.defaultCssValue(s),i=ce.css`var(${fe(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.set=s=>t.set(s),i.get=s=>ce.css`var(${fe(t.name)}, ${n(s)})`,i.breadcrumb=()=>t.breadcrumb(),i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function rn(r,t){return fe(`${r.name}: ${t}`)}var a={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)")},on={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")},nn={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")},an={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")},sn={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")},cn={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")},ln={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")},dn={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")},un={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")},fn={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")},Li={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")},pn={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")},hn={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")},yn={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")},gn={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")},bn={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")},Ir={display:on,"title-1":nn,"title-2":an,"title-3":sn,"body-1-regular":cn,"body-1-medium":ln,"body-1-semibold":dn,"body-2-regular":un,"body-2-medium":fn,"body-2-medium-underline":Li,"body-2-semibold":pn,"caption-1-medium":hn,"caption-1-semibold":yn,"caption-2-medium":gn,"caption-2-semibold":mn,"caption-2-bold":bn};var l={backgroundActionPrimary:e.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",a.colorBrand0),backgroundErrorSubtle:e.extend("--ftds-background-error-subtle","Used as background of subtle error components.",a.colorRed10),backgroundInfoSubtle:e.extend("--ftds-background-info-subtle","Used as background of subtle information components.",a.colorCyan10),backgroundWarningSubtle:e.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",a.colorOrange10),backgroundSuccessSubtle:e.extend("--ftds-background-success-subtle","Used as background of subtle success components.",a.colorGreen10),backgroundGlobalSurface:e.extend("--ftds-background-global-surface","Used as app background.",a.colorWhite),backgroundGlobalOnSurface:e.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",a.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",a.colorGray30),contentActionPrimary:e.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",a.colorBrand0),contentWarningPrimary:e.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",a.colorOrange200),contentWarningIconOnly:e.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",a.colorOrange0),contentErrorPrimary:e.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",a.colorRed0),contentErrorIconOnly:e.extend("--ftds-content-error-icon-only","Used on error status icons alone",a.colorRed70),contentInfoPrimary:e.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",a.colorCyan200),contentInfoIconOnly:e.extend("--ftds-content-info-icon-only","Used on info status icons alone",a.colorCyan0),contentSuccessPrimary:e.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",a.colorGreen200),contentSuccessIconOnly:e.extend("--ftds-content-success-icon-only","Used on success status icons alone",a.colorGreen0),contentGlobalPrimary:e.extend("--ftds-content-global-primary","Used for main content on the page.",a.colorGray500),contentGlobalSecondary:e.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
124
|
+
Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",a.colorGray0),contentGlobalOnColor:e.extend("--ftds-content-global-on-color","Used for content on a dominant color.",a.colorWhite),borderActionPrimary:e.extend("--ftds-border-action-primary","Used as border for primary action components.",a.colorBrand0),borderActionFocusRing:e.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",a.colorCyan0),borderWarningPrimary:e.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",a.colorOrange200),borderWarningSubtle:e.extend("--ftds-border-warning-subtle","Used as border for warning components.",a.colorOrange30),borderSuccessPrimary:e.extend("--ftds-border-success-primary","Used as border for success buttons.",a.colorGreen200),borderSuccessSubtle:e.extend("--ftds-border-success-subtle","Used as border for success components.",a.colorGreen30),borderErrorPrimary:e.extend("--ftds-border-error-primary","Used as border for text fields in error states.",a.colorRed0),borderErrorSubtle:e.extend("--ftds-border-error-subtle","Used as border for error components.",a.colorRed30),borderInfoPrimary:e.extend("--ftds-border-info-primary","Used as border for buttons in info color.",a.colorCyan200),borderInfoSubtle:e.extend("--ftds-border-info-subtle","Used as border for information components.",a.colorCyan30),borderGlobalPrimary:e.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",a.colorGray50),borderGlobalSecondary:e.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",a.colorGray40),borderGlobalSubtle:e.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",a.colorGray30),borderInputPrimary:e.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",a.colorGray80),borderNeutralPrimary:e.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",a.colorGray200)};var cc={largeHeight:e.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ftds-button-large-horizontal-padding","",a.spacing4),largeGap:e.extend("--ftds-button-large-gap","",a.spacing2),largeBorderRadius:e.extend("--ftds-button-large-border-radius","",a.borderRadiusS),largeIconSize:e.extend("--ftds-button-large-icon-size","",a.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","",a.spacing3),mediumGap:e.extend("--ftds-button-medium-gap","",a.spacing2),mediumBorderRadius:e.extend("--ftds-button-medium-border-radius","",a.borderRadiusS),mediumIconSize:e.extend("--ftds-button-medium-icon-size","",a.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","",a.spacing2),smallGap:e.extend("--ftds-button-small-gap","",a.spacing1),smallBorderRadius:e.extend("--ftds-button-small-border-radius","",a.borderRadiusS),smallIconSize:e.extend("--ftds-button-small-icon-size","",a.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","",a.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","",a.borderRadiusPill),primaryBrandBackgroundColor:e.extend("--ftds-button-primary-brand-background-color","",l.backgroundActionPrimary),primaryBrandColor:e.extend("--ftds-button-primary-brand-color","",l.contentGlobalOnColor),primaryBrandIconColor:e.extend("--ftds-button-primary-brand-icon-color","",l.contentGlobalOnColor),primaryBrandStateLayerColor:e.extend("--ftds-button-primary-brand-state-layer-color","",l.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",a.opacity16),primaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",a.opacity16),primaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-primary-brand-active-state-layer-opacity","",a.opacity24),primaryBrandDisabledComponentOpacity:e.extend("--ftds-button-primary-brand-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ftds-button-focus-focus-ring-color","",l.borderActionFocusRing),tertiaryBrandBackgroundColor:e.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:e.extend("--ftds-button-tertiary-brand-color","",l.contentActionPrimary),tertiaryBrandIconColor:e.extend("--ftds-button-tertiary-brand-icon-color","",l.contentActionPrimary),tertiaryBrandStateLayerColor:e.extend("--ftds-button-tertiary-brand-state-layer-color","",l.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",a.opacity8),tertiaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",a.opacity8),tertiaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",a.opacity16),tertiaryBrandDisabledComponentOpacity:e.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",a.opacity40),tertiaryInfoBackgroundColor:e.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:e.extend("--ftds-button-tertiary-info-color","",l.contentInfoPrimary),tertiaryInfoIconColor:e.extend("--ftds-button-tertiary-info-icon-color","",l.contentInfoPrimary),tertiaryInfoStateLayerColor:e.extend("--ftds-button-tertiary-info-state-layer-color","",l.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",a.opacity8),tertiaryInfoHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",a.opacity8),tertiaryInfoActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",a.opacity16),tertiaryInfoDisabledComponentOpacity:e.extend("--ftds-button-tertiary-info-disabled-component-opacity","",a.opacity40),tertiarySuccessBackgroundColor:e.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:e.extend("--ftds-button-tertiary-success-color","",l.contentSuccessPrimary),tertiarySuccessIconColor:e.extend("--ftds-button-tertiary-success-icon-color","",l.contentSuccessPrimary),tertiarySuccessStateLayerColor:e.extend("--ftds-button-tertiary-success-state-layer-color","",l.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",a.opacity8),tertiarySuccessFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",a.opacity8),tertiarySuccessActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",a.opacity16),tertiarySuccessDisabledComponentOpacity:e.extend("--ftds-button-tertiary-success-disabled-component-opacity","",a.opacity40),tertiaryWarningBackgroundColor:e.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:e.extend("--ftds-button-tertiary-warning-color","",l.contentWarningPrimary),tertiaryWarningIconColor:e.extend("--ftds-button-tertiary-warning-icon-color","",l.contentWarningPrimary),tertiaryWarningStateLayerColor:e.extend("--ftds-button-tertiary-warning-state-layer-color","",l.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",a.opacity8),tertiaryWarningFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",a.opacity8),tertiaryWarningActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",a.opacity16),tertiaryWarningDisabledComponentOpacity:e.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",a.opacity40),tertiaryErrorBackgroundColor:e.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:e.extend("--ftds-button-tertiary-error-color","",l.contentErrorPrimary),tertiaryErrorIconColor:e.extend("--ftds-button-tertiary-error-icon-color","",l.contentErrorPrimary),tertiaryErrorStateLayerColor:e.extend("--ftds-button-tertiary-error-state-layer-color","",l.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",a.opacity8),tertiaryErrorFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",a.opacity8),tertiaryErrorActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",a.opacity16),tertiaryErrorDisabledComponentOpacity:e.extend("--ftds-button-tertiary-error-disabled-component-opacity","",a.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","",l.contentGlobalSecondary),tertiaryNeutralColor:e.extend("--ftds-button-tertiary-neutral-color","",l.contentGlobalSecondary),tertiaryNeutralStateLayerColor:e.extend("--ftds-button-tertiary-neutral-state-layer-color","",l.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",a.opacity8),tertiaryNeutralFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",a.opacity8),tertiaryNeutralActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",a.opacity16),tertiaryNeutralDisabledComponentOpacity:e.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",a.opacity40),secondaryBrandBackgroundColor:e.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:e.extend("--ftds-button-secondary-brand-color","",l.contentActionPrimary),secondaryBrandIconColor:e.extend("--ftds-button-secondary-brand-icon-color","",l.contentActionPrimary),secondaryBrandStateLayerColor:e.extend("--ftds-button-secondary-brand-state-layer-color","",l.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",a.opacity8),secondaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",a.opacity8),secondaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",a.opacity16),secondaryBrandDisabledComponentOpacity:e.extend("--ftds-button-secondary-brand-disabled-component-opacity","",a.opacity40),secondaryBrandBorderColor:e.extend("--ftds-button-secondary-brand-border-color","",l.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",a.opacity8),secondaryNeutralFocusStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",a.opacity8),secondaryNeutralActiveStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",a.opacity16),secondaryNeutralDisabledComponentOpacity:e.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",a.opacity40),secondaryNeutralBackgroundColor:e.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:e.extend("--ftds-button-secondary-neutral-color","",l.contentGlobalSecondary),secondaryNeutralIconColor:e.extend("--ftds-button-secondary-neutral-icon-color","",l.contentGlobalSecondary),secondaryNeutralStateLayerColor:e.extend("--ftds-button-secondary-neutral-state-layer-color","",l.contentGlobalSecondary),secondaryNeutralBorderColor:e.extend("--ftds-button-secondary-neutral-border-color","",l.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:e.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",a.opacity8),secondaryInfoFocusStateLayerOpacity:e.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",a.opacity8),secondaryInfoActiveStateLayerOpacity:e.extend("--ftds-button-secondary-info-active-state-layer-opacity","",a.opacity16),secondaryInfoDisabledComponentOpacity:e.extend("--ftds-button-secondary-info-disabled-component-opacity","",a.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","",l.borderInfoPrimary),secondaryInfoColor:e.extend("--ftds-button-secondary-info-color","",l.contentInfoPrimary),secondaryInfoIconColor:e.extend("--ftds-button-secondary-info-icon-color","",l.contentInfoPrimary),secondaryInfoStateLayerColor:e.extend("--ftds-button-secondary-info-state-layer-color","",l.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:e.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",a.opacity8),secondarySuccessFocusStateLayerOpacity:e.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",a.opacity8),secondarySuccessActiveStateLayerOpacity:e.extend("--ftds-button-secondary-success-active-state-layer-opacity","",a.opacity16),secondarySuccessDisabledComponentOpacity:e.extend("--ftds-button-secondary-success-disabled-component-opacity","",a.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","",l.borderSuccessPrimary),secondarySuccessColor:e.extend("--ftds-button-secondary-success-color","",l.contentSuccessPrimary),secondarySuccessIconColor:e.extend("--ftds-button-secondary-success-icon-color","",l.contentSuccessPrimary),secondarySuccessStateLayerColor:e.extend("--ftds-button-secondary-success-state-layer-color","",l.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:e.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",a.opacity8),secondaryWarningFocusStateLayerOpacity:e.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",a.opacity8),secondaryWarningActiveStateLayerOpacity:e.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",a.opacity16),secondaryWarningDisabledComponentOpacity:e.extend("--ftds-button-secondary-warning-disabled-component-opacity","",a.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","",l.borderWarningPrimary),secondaryWarningColor:e.extend("--ftds-button-secondary-warning-color","",l.contentWarningPrimary),secondaryWarningIconColor:e.extend("--ftds-button-secondary-warning-icon-color","",l.contentWarningPrimary),secondaryWarningStateLayerColor:e.extend("--ftds-button-secondary-warning-state-layer-color","",l.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:e.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",a.opacity8),secondaryErrorFocusStateLayerOpacity:e.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",a.opacity8),secondaryErrorActiveStateLayerOpacity:e.extend("--ftds-button-secondary-error-active-state-layer-opacity","",a.opacity16),secondaryErrorDisabledComponentOpacity:e.extend("--ftds-button-secondary-error-disabled-component-opacity","",a.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","",l.contentErrorPrimary),secondaryErrorColor:e.extend("--ftds-button-secondary-error-color","",l.contentErrorPrimary),secondaryErrorIconColor:e.extend("--ftds-button-secondary-error-icon-color","",l.contentErrorPrimary),secondaryErrorStateLayerColor:e.extend("--ftds-button-secondary-error-state-layer-color","",l.contentErrorPrimary)};var pc={loadMoreIconSize:e.extend("--ftds-tree-list-load-more-icon-size","",a.iconSize2),loadMorePaddingLeft:e.extend("--ftds-tree-list-load-more-padding-left","",a.spacing6),loadMoreUnselectedDefaultBorderColor:e.extend("--ftds-tree-list-load-more-unselected-default-border-color","",l.borderGlobalSubtle),loadMoreIconColor:e.extend("--ftds-tree-list-load-more-icon-color","",l.contentActionPrimary),loadMoreLabelColor:e.extend("--ftds-tree-list-load-more-label-color","",l.contentActionPrimary),loadMoreHoverBorderColor:e.extend("--ftds-tree-list-load-more-hover-border-color","",a.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","",a.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","",l.borderGlobalPrimary),loadMoreLabelMarginLeft:e.extend("--ftds-tree-list-load-more-label-margin-left","",a.spacing1),nodeIconSize:e.extend("--ftds-tree-list-node-icon-size","",a.iconSize2),nodeHeight:e.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:e.extend("--ftds-tree-list-node-parent-label-margin-left","",a.spacing2),nodeParentLabelMarginRight:e.extend("--ftds-tree-list-node-parent-label-margin-right","",a.spacing2),nodeRootPaddingLeft:e.extend("--ftds-tree-list-node-root-padding-left","",a.spacing6),nodeChildPaddingLeft:e.extend("--ftds-tree-list-node-child-padding-left","",a.spacing5),nodeLeafPaddingLeft:e.extend("--ftds-tree-list-node-leaf-padding-left","",a.spacing6),nodeUnselectedDefaultBorderColor:e.extend("--ftds-tree-list-node-unselected-default-border-color","",l.borderGlobalSubtle),nodeUnselectedIconColor:e.extend("--ftds-tree-list-node-unselected-icon-color","",l.contentGlobalSecondary),nodeUnselectedLabelColor:e.extend("--ftds-tree-list-node-unselected-label-color","",l.contentGlobalSecondary),nodeUnselectedCounterColor:e.extend("--ftds-tree-list-node-unselected-counter-color","",l.contentGlobalSecondary),nodeHoverBorderColor:e.extend("--ftds-tree-list-node-hover-border-color","",l.borderActionPrimary),nodeFocusFocusRingColor:e.extend("--ftds-tree-list-node-focus-focus-ring-color","",l.borderActionFocusRing),nodeFocusOutlineWidth:e.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:e.extend("--ftds-tree-list-node-selected-default-border-color","",l.borderGlobalPrimary),nodeSelectedIconColor:e.extend("--ftds-tree-list-node-selected-icon-color","",l.contentGlobalSecondary),nodeSelectedLabelColor:e.extend("--ftds-tree-list-node-selected-label-color","",l.contentGlobalPrimary),nodeSelectedCounterColor:e.extend("--ftds-tree-list-node-selected-counter-color","",l.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","",l.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:e.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:e.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:e.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",l.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","",a.spacing6),headerSectionPaddingRight:e.extend("--ftds-tree-list-header-section-padding-right","",a.spacing3),headerSectionHorizontalGap:e.extend("--ftds-tree-list-header-section-horizontal-gap","",a.spacing2),headerSectionMarginBottom:e.extend("--ftds-tree-list-header-section-margin-bottom","",a.spacing2),headerSectionColor:e.extend("--ftds-tree-list-header-section-color","",l.contentGlobalPrimary),headerSectionCounterColor:e.extend("--ftds-tree-list-header-section-counter-color","",l.contentGlobalSecondary),listContainerBorderWidth:e.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:e.extend("--ftds-tree-list-list-container-background-color","",l.backgroundGlobalSurface),listContainerBorderColor:e.extend("--ftds-tree-list-list-container-border-color","",l.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","",a.spacing10),emptyStateContainerPaddingTop:e.extend("--ftds-tree-list-empty-state-container-padding-top","",a.spacing10),emptyStateContainerPaddingBottom:e.extend("--ftds-tree-list-empty-state-container-padding-bottom","",a.spacing10),emptyStateTitleMarginBottom:e.extend("--ftds-tree-list-empty-state-title-margin-bottom","",a.spacing2),emptyStateTitleLabelColor:e.extend("--ftds-tree-list-empty-state-title-label-color","",l.contentGlobalSecondary),emptyStateDescriptionLabelColor:e.extend("--ftds-tree-list-empty-state-description-label-color","",l.contentGlobalSecondary)};var bc={iconSize:e.extend("--ftds-checkbox-icon-size","",a.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"),labelHorizontalGap:e.extend("--ftds-checkbox-label-horizontal-gap","",a.spacing1),color:e.extend("--ftds-checkbox-color","",l.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ftds-checkbox-checked-background-color","",l.contentActionPrimary),checkedStateLayerColor:e.extend("--ftds-checkbox-checked-state-layer-color","",l.contentActionPrimary),checkedIconColor:e.extend("--ftds-checkbox-checked-icon-color","",l.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",a.opacity16),checkedFocusStateLayerOpacity:e.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",a.opacity16),checkedActiveStateLayerOpacity:e.extend("--ftds-checkbox-checked-active-state-layer-opacity","",a.opacity24),checkedDisabledComponentOpacity:e.extend("--ftds-checkbox-checked-disabled-component-opacity","",a.opacity40),uncheckedBorderColor:e.extend("--ftds-checkbox-unchecked-border-color","",a.colorGray80),uncheckedStateLayerColor:e.extend("--ftds-checkbox-unchecked-state-layer-color","",a.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",a.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",a.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",a.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ftds-checkbox-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:e.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:e.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:e.extend("--ftds-checkbox-horizontal-gap","",a.spacing3),helperPaddingTop:e.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:e.extend("--ftds-checkbox-helper-icon-size","",a.iconSize2),helperHorizontalGap:e.extend("--ftds-checkbox-helper-horizontal-gap","",a.spacing1),errorUncheckedBorderColor:e.extend("--ftds-checkbox-error-unchecked-border-color","",l.borderErrorPrimary),errorStateLayerColor:e.extend("--ftds-checkbox-error-state-layer-color","",l.contentErrorPrimary),errorHelperTextColor:e.extend("--ftds-checkbox-error-helper-text-color","",l.borderErrorPrimary),errorCheckedBackgroundColor:e.extend("--ftds-checkbox-error-checked-background-color","",l.contentErrorPrimary),helperTextColor:e.extend("--ftds-checkbox-helper-text-color","",l.contentGlobalSubtle),groupVerticalGap:e.extend("--ftds-checkbox-group-vertical-gap","",a.spacing3)};var Oc={circleSize:e.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:e.create("--ftds-radio-border-width","","SIZE","2px"),color:e.extend("--ftds-radio-color","",l.contentGlobalPrimary),selectedRadioColor:e.extend("--ftds-radio-selected-radio-color","",l.contentActionPrimary),selectedStateLayerColor:e.extend("--ftds-radio-selected-state-layer-color","",l.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ftds-radio-selected-hover-state-layer-opacity","",a.opacity16),selectedFocusStateLayerOpacity:e.extend("--ftds-radio-selected-focus-state-layer-opacity","",a.opacity16),selectedActiveStateLayerOpacity:e.extend("--ftds-radio-selected-active-state-layer-opacity","",a.opacity24),selectedDisabledComponentOpacity:e.extend("--ftds-radio-selected-disabled-component-opacity","",a.opacity40),unselectedStateLayerColor:e.extend("--ftds-radio-unselected-state-layer-color","",l.borderInputPrimary),unselectedBorderColor:e.extend("--ftds-radio-unselected-border-color","",l.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ftds-radio-unselected-hover-state-layer-opacity","",a.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ftds-radio-unselected-focus-state-layer-opacity","",a.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ftds-radio-unselected-active-state-layer-opacity","",a.opacity24),unselectedDisabledComponentOpacity:e.extend("--ftds-radio-unselected-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ftds-radio-focus-focus-ring-color","",l.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","",a.spacing3),horizontalGap:e.extend("--ftds-radio-horizontal-gap","",a.spacing3)};var Rc={headerRowBorderWidth:e.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:e.extend("--ftds-table-header-row-background-color","",l.backgroundGlobalOnSurfaceDark),headerRowBorderColor:e.extend("--ftds-table-header-row-border-color","",l.borderGlobalPrimary),headerRowColor:e.extend("--ftds-table-header-row-color","",l.contentGlobalPrimary),dataRowBorderWidth:e.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:e.extend("--ftds-table-data-row-background-color","",l.backgroundGlobalOnSurface),dataRowBorderColor:e.extend("--ftds-table-data-row-border-color","",l.borderGlobalSubtle),dataRowColor:e.extend("--ftds-table-data-row-color","",l.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:e.extend("--ftds-table-data-row-default-hover-background-color","",a.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:e.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",a.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:e.extend("--ftds-table-data-row-selectable-selected-default-background-color","",a.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:e.extend("--ftds-table-data-row-selectable-selected-default-border-color","",a.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:e.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",a.colorBrand20),dataRowSelectableSelectedHoverBorderColor:e.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",a.colorBrand30),dataRowSelectableSelectedColor:e.extend("--ftds-table-data-row-selectable-selected-color","",l.contentActionPrimary),dataRowClickableHoverBackgroundColor:e.extend("--ftds-table-data-row-clickable-hover-background-color","",a.colorGray30),dataRowClickableFocusBorderColor:e.extend("--ftds-table-data-row-clickable-focus-border-color","",l.borderActionFocusRing),dataRowClickableFocusBackgroundColor:e.extend("--ftds-table-data-row-clickable-focus-background-color","",a.colorGray30),dataRowClickableActiveBackgroundColor:e.extend("--ftds-table-data-row-clickable-active-background-color","",a.colorGray40),headerCellHorizontalGap:e.extend("--ftds-table-header-cell-horizontal-gap","",a.spacing1),headerCellVerticalPadding:e.extend("--ftds-table-header-cell-vertical-padding","",a.spacing2),headerCellHorizontalPadding:e.extend("--ftds-table-header-cell-horizontal-padding","",a.spacing3),dataCellVerticalPadding:e.extend("--ftds-table-data-cell-vertical-padding","",a.spacing2),dataCellHorizontalPadding:e.extend("--ftds-table-data-cell-horizontal-padding","",a.spacing3),dataCellVerticalGap:e.extend("--ftds-table-data-cell-vertical-gap","",a.spacing1)};var Pc={neutralOffHoverStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",a.opacity8),neutralOffFocusStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",a.opacity8),neutralOffFocusFocusRingColor:e.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",l.borderActionFocusRing),neutralOffActiveStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",a.opacity16),neutralOffBackgroundColor:e.extend("--ftds-chip-choice-neutral-off-background-color","",l.backgroundGlobalOnSurface),neutralOffBorderColor:e.extend("--ftds-chip-choice-neutral-off-border-color","",l.borderGlobalPrimary),neutralOffColor:e.extend("--ftds-chip-choice-neutral-off-color","",l.contentGlobalSecondary),neutralOffStateLayerColor:e.extend("--ftds-chip-choice-neutral-off-state-layer-color","",l.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",a.opacity16),neutralOnHoverStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",a.opacity24),neutralOnFocusStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",a.opacity24),neutralOnFocusFocusRingColor:e.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",l.borderActionFocusRing),neutralOnActiveStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",a.opacity32),neutralOnBackgroundColor:e.extend("--ftds-chip-choice-neutral-on-background-color","",l.backgroundGlobalOnSurface),neutralOnBorderColor:e.extend("--ftds-chip-choice-neutral-on-border-color","",l.borderGlobalPrimary),neutralOnColor:e.extend("--ftds-chip-choice-neutral-on-color","",l.contentGlobalPrimary),neutralOnIconColor:e.extend("--ftds-chip-choice-neutral-on-icon-color","",l.contentGlobalPrimary),neutralOnStateLayerColor:e.extend("--ftds-chip-choice-neutral-on-state-layer-color","",l.contentGlobalPrimary),largeMinHeight:e.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ftds-chip-choice-large-horizontal-padding","",a.spacing3),largeGap:e.extend("--ftds-chip-choice-large-gap","",a.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","",a.iconSize3),mediumMinHeight:e.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ftds-chip-choice-medium-horizontal-padding","",a.spacing2),mediumGap:e.extend("--ftds-chip-choice-medium-gap","",a.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","",a.iconSize2)};var Uc={largeMinHeight:e.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ftds-chip-large-horizontal-padding","",a.spacing3),largeButtonRightPadding:e.extend("--ftds-chip-large-button-right-padding","",a.spacing1),largeGap:e.extend("--ftds-chip-large-gap","",a.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","",a.iconSize3),mediumMinHeight:e.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ftds-chip-medium-horizontal-padding","",a.spacing2),mediumButtonRightPadding:e.extend("--ftds-chip-medium-button-right-padding","",a.spacing05),mediumGap:e.extend("--ftds-chip-medium-gap","",a.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","",a.iconSize2),smallMinHeight:e.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ftds-chip-small-horizontal-padding","",a.spacing1),smallButtonRightPadding:e.extend("--ftds-chip-small-button-right-padding","",a.spacing05),smallGap:e.extend("--ftds-chip-small-gap","",a.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","",a.iconSize1),neutralBackgroundColor:e.extend("--ftds-chip-neutral-background-color","",l.backgroundGlobalOnSurface),neutralColor:e.extend("--ftds-chip-neutral-color","",l.contentGlobalSecondary),neutralIconColor:e.extend("--ftds-chip-neutral-icon-color","",l.contentGlobalSecondary),neutralBorderColor:e.extend("--ftds-chip-neutral-border-color","",l.borderGlobalSecondary),infoBackgroundColor:e.extend("--ftds-chip-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-chip-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-chip-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-chip-info-border-color","",l.borderInfoSubtle),successBackgroundColor:e.extend("--ftds-chip-success-background-color","",l.backgroundSuccessSubtle),successColor:e.extend("--ftds-chip-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-chip-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:e.extend("--ftds-chip-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:e.extend("--ftds-chip-warning-background-color","",l.backgroundWarningSubtle),warningColor:e.extend("--ftds-chip-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-chip-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:e.extend("--ftds-chip-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:e.extend("--ftds-chip-error-background-color","",l.backgroundErrorSubtle),errorColor:e.extend("--ftds-chip-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-chip-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:e.extend("--ftds-chip-error-border-color","",l.borderErrorSubtle)};var Wc={brandHoverOpacity:e.extend("--ftds-link-brand-hover-opacity","",a.opacity80),brandHoverColor:e.extend("--ftds-link-brand-hover-color","",l.contentActionPrimary),brandFocusFocusRingColor:e.extend("--ftds-link-brand-focus-focus-ring-color","",l.borderActionFocusRing),brandFocusColor:e.extend("--ftds-link-brand-focus-color","",l.contentActionPrimary),brandDefaultColor:e.extend("--ftds-link-brand-default-color","",l.contentActionPrimary),brandActiveColor:e.extend("--ftds-link-brand-active-color","",l.contentActionPrimary),infoHoverOpacity:e.extend("--ftds-link-info-hover-opacity","",a.opacity80),infoHoverColor:e.extend("--ftds-link-info-hover-color","",l.contentInfoPrimary),infoFocusFocusRingColor:e.extend("--ftds-link-info-focus-focus-ring-color","",l.borderActionFocusRing),infoFocusColor:e.extend("--ftds-link-info-focus-color","",l.contentInfoPrimary),infoDefaultColor:e.extend("--ftds-link-info-default-color","",l.contentInfoPrimary),infoActiveColor:e.extend("--ftds-link-info-active-color","",l.contentInfoPrimary),neutralFocusFocusRingColor:e.extend("--ftds-link-neutral-focus-focus-ring-color","",l.borderActionFocusRing),neutralFocusColor:e.extend("--ftds-link-neutral-focus-color","",l.contentActionPrimary),neutralDefaultColor:e.extend("--ftds-link-neutral-default-color","",l.contentGlobalPrimary),neutralHoverColor:e.extend("--ftds-link-neutral-hover-color","",l.contentActionPrimary),neutralActiveColor:e.extend("--ftds-link-neutral-active-color","",l.contentActionPrimary),neutralVisitedColor:e.extend("--ftds-link-neutral-visited-color","",a.colorBrand100)};var qc={iconSize:e.extend("--ftds-banner-icon-size","",a.iconSize5),borderWidth:e.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:e.extend("--ftds-banner-left-padding","",a.spacing6),rightPadding:e.extend("--ftds-banner-right-padding","",a.spacing6),verticalPadding:e.extend("--ftds-banner-vertical-padding","",a.spacing6),horizontalSideGap:e.extend("--ftds-banner-horizontal-side-gap","",a.spacing6),horizontalMobileGap:e.extend("--ftds-banner-horizontal-mobile-gap","",a.spacing4),verticalMobileGap:e.extend("--ftds-banner-vertical-mobile-gap","",a.spacing6),horizontalMiddleGap:e.extend("--ftds-banner-horizontal-middle-gap","",a.spacing20),infoBackgroundColor:e.extend("--ftds-banner-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-banner-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-banner-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-banner-info-border-color","",l.borderInfoSubtle)};var Jc={horizontalPadding:e.extend("--ftds-badge-horizontal-padding","",a.spacing1),verticalPadding:e.extend("--ftds-badge-vertical-padding","",a.spacing1),borderRadius:e.extend("--ftds-badge-border-radius","",a.borderRadiusPill),color:e.extend("--ftds-badge-color","",l.contentGlobalOnColor),backgroundColor:e.extend("--ftds-badge-background-color","",l.contentActionPrimary)};var nl={horizontalGap:e.extend("--ftds-title-breadcrumb-horizontal-gap","",a.spacing1),currentColor:e.extend("--ftds-title-breadcrumb-current-color","",l.contentGlobalPrimary),previousNonClickableColor:e.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",l.contentGlobalSecondary),iconColor:e.extend("--ftds-title-breadcrumb-icon-color","",l.contentGlobalSubtle)};var ll={parentHorizontalPadding:e.extend("--ftds-page-header-parent-horizontal-padding","",a.spacing6),parentTopPadding:e.extend("--ftds-page-header-parent-top-padding","",a.spacing4),parentBottomPadding:e.extend("--ftds-page-header-parent-bottom-padding","",a.spacing6),parentHelpLeftMargin:e.extend("--ftds-page-header-parent-help-left-margin","",a.spacing1),parentTitleColor:e.extend("--ftds-page-header-parent-title-color","",l.contentGlobalPrimary),parentSubtitleColor:e.extend("--ftds-page-header-parent-subtitle-color","",l.contentGlobalSecondary),parentChipLeftMargin:e.extend("--ftds-page-header-parent-chip-left-margin","",a.spacing4),parentVerticalGap:e.extend("--ftds-page-header-parent-vertical-gap","",a.spacing2),parentButtonsGroupHorizontalGap:e.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",a.spacing4),parentButtonsGroupVerticalGap:e.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",a.spacing4),parentChipsGroupHorizontalGap:e.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",a.spacing2),parentChipsGroupVerticalGap:e.extend("--ftds-page-header-parent-chips-group-vertical-gap","",a.spacing2),childHorizontalPadding:e.extend("--ftds-page-header-child-horizontal-padding","",a.spacing6),childTopPadding:e.extend("--ftds-page-header-child-top-padding","",a.spacing2),childBottomPadding:e.extend("--ftds-page-header-child-bottom-padding","",a.spacing2),childHelpLeftMargin:e.extend("--ftds-page-header-child-help-left-margin","",a.spacing1),childChipLeftMargin:e.extend("--ftds-page-header-child-chip-left-margin","",a.spacing4),childVerticalGap:e.extend("--ftds-page-header-child-vertical-gap","",a.spacing2),childMinHeight:e.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:e.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",a.spacing4),childButtonsGroupVerticalGap:e.extend("--ftds-page-header-child-buttons-group-vertical-gap","",a.spacing4),childChipsGroupHorizontalGap:e.extend("--ftds-page-header-child-chips-group-horizontal-gap","",a.spacing2),childChipsGroupVerticalGap:e.extend("--ftds-page-header-child-chips-group-vertical-gap","",a.spacing2),backgroundColor:e.extend("--ftds-page-header-background-color","",a.colorWhite),bottomBorderColor:e.extend("--ftds-page-header-bottom-border-color","",l.borderGlobalSubtle),bottomBorderWidth:e.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var hl={horizontalPadding:e.extend("--ftds-page-footer-horizontal-padding","",a.spacing6),verticalPadding:e.extend("--ftds-page-footer-vertical-padding","",a.spacing2),verticalGap:e.extend("--ftds-page-footer-vertical-gap","",a.spacing2),minHeight:e.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:e.extend("--ftds-page-footer-background-color","",a.colorWhite),topBorderColor:e.extend("--ftds-page-footer-top-border-color","",l.borderGlobalSubtle),topBorderWidth:e.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:e.extend("--ftds-page-footer-buttons-group-gap","",a.spacing4)};var bl={contentHorizontalPadding:e.extend("--ftds-page-layout-content-horizontal-padding","",a.spacing6),contentVerticalPadding:e.extend("--ftds-page-layout-content-vertical-padding","",a.spacing6)};var Ol={smallContainerTargetWidth:e.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:e.extend("--ftds-modal-small-container-margin","",a.spacing6),mediumContainerTargetWidth:e.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:e.extend("--ftds-modal-medium-container-margin","",a.spacing6),largeContainerTargetWidth:e.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:e.extend("--ftds-modal-large-container-margin","",a.spacing6),overlayBackgroundColor:e.extend("--ftds-modal-overlay-background-color","",a.colorGray700),overlayOpacity:e.extend("--ftds-modal-overlay-opacity","",a.opacity40),shadow:e.extend("--ftds-modal-shadow","",a.shadowElevation03),bodyBackgroundColor:e.extend("--ftds-modal-body-background-color","",a.colorWhite),bodyColor:e.extend("--ftds-modal-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ftds-modal-body-horizontal-padding","",a.spacing6),bodyVerticalPadding:e.extend("--ftds-modal-body-vertical-padding","",a.spacing6),bodyVerticalGap:e.extend("--ftds-modal-body-vertical-gap","",a.spacing6),headerBackgroundColor:e.extend("--ftds-modal-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ftds-modal-header-border-color","",l.borderGlobalSubtle),headerColor:e.extend("--ftds-modal-header-color","",l.contentGlobalPrimary),headerLeadingIconColor:e.extend("--ftds-modal-header-leading-icon-color","",l.contentGlobalPrimary),headerVerticalPadding:e.extend("--ftds-modal-header-vertical-padding","",a.spacing1),headerRightPadding:e.extend("--ftds-modal-header-right-padding","",a.spacing1),headerLeftPadding:e.extend("--ftds-modal-header-left-padding","",a.spacing6),headerGap:e.extend("--ftds-modal-header-gap","",a.spacing2),headerBorderBottomWidth:e.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:e.extend("--ftds-modal-border-radius","",a.borderRadiusM)};var Rl={overlayOpacity:e.extend("--ftds-drawer-overlay-opacity","",a.opacity40),shadow:e.extend("--ftds-drawer-shadow","",a.shadowElevation03),bodyColor:e.extend("--ftds-drawer-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ftds-drawer-body-horizontal-padding","",a.spacing6),bodyVerticalPadding:e.extend("--ftds-drawer-body-vertical-padding","",a.spacing6),bodyGap:e.extend("--ftds-drawer-body-gap","",a.spacing6),bodyBackgroundColor:e.extend("--ftds-drawer-body-background-color","",a.colorWhite),headerBackgroundColor:e.extend("--ftds-drawer-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ftds-drawer-header-border-color","",l.borderGlobalSubtle),headerColor:e.extend("--ftds-drawer-header-color","",l.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ftds-drawer-header-trailing-icon-color","",l.contentGlobalSecondary),headerHeight:e.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ftds-drawer-header-horizontal-padding","",a.spacing2),headerBorderWidth:e.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ftds-drawer-header-gap","",a.spacing3),buttonsBarBackgroundColor:e.extend("--ftds-drawer-buttons-bar-background-color","",l.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ftds-drawer-buttons-bar-border-color","",l.borderGlobalSubtle),buttonsBarColor:e.extend("--ftds-drawer-buttons-bar-color","",l.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ftds-drawer-buttons-bar-horizontal-padding","",a.spacing6),buttonsBarVerticalPadding:e.extend("--ftds-drawer-buttons-bar-vertical-padding","",a.spacing4),buttonsBarGap:e.extend("--ftds-drawer-buttons-bar-gap","",a.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","",a.colorGray700)};var Pl={offBorderBottomWidth:e.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:e.extend("--ftds-tabs-off-hover-state-layer-opacity","",a.opacity8),offDefaultStateLayerOpacity:e.extend("--ftds-tabs-off-default-state-layer-opacity","",a.opacity0),offFocusStateLayerOpacity:e.extend("--ftds-tabs-off-focus-state-layer-opacity","",a.opacity8),offDisabledComponentOpacity:e.extend("--ftds-tabs-off-disabled-component-opacity","",a.opacity40),offColor:e.extend("--ftds-tabs-off-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-tabs-off-state-layer-color","",l.contentGlobalSubtle),offBorderBottomColor:e.extend("--ftds-tabs-off-border-bottom-color","",l.borderGlobalSubtle),activeTabIndicatorHeight:e.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:e.extend("--ftds-tabs-top-left-border-radius","",a.borderRadiusS),topRightBorderRadius:e.extend("--ftds-tabs-top-right-border-radius","",a.borderRadiusS),withLabelHorizontalPadding:e.extend("--ftds-tabs-with-label-horizontal-padding","",a.spacing4),withLabelVerticalPadding:e.extend("--ftds-tabs-with-label-vertical-padding","",a.spacing3),horizontalGap:e.extend("--ftds-tabs-horizontal-gap","",a.spacing1),verticalGap:e.extend("--ftds-tabs-vertical-gap","",a.spacing1),onHoverStateLayerOpacity:e.extend("--ftds-tabs-on-hover-state-layer-opacity","",a.opacity16),onDefaultStateLayerOpacity:e.extend("--ftds-tabs-on-default-state-layer-opacity","",a.opacity8),onFocusStateLayerOpacity:e.extend("--ftds-tabs-on-focus-state-layer-opacity","",a.opacity16),onActiveStateLayerOpacity:e.extend("--ftds-tabs-on-active-state-layer-opacity","",a.opacity24),onColor:e.extend("--ftds-tabs-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-tabs-on-state-layer-color","",l.contentActionPrimary),onActiveTabIndicatorColor:e.extend("--ftds-tabs-on-active-tab-indicator-color","",l.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ftds-tabs-icon-only-horizontal-padding","",a.spacing4),iconOnlyVerticalPadding:e.extend("--ftds-tabs-icon-only-vertical-padding","",a.spacing4),alertTopPadding:e.extend("--ftds-tabs-alert-top-padding","",a.spacing1),alertRightPadding:e.extend("--ftds-tabs-alert-right-padding","",a.spacing05),focusOutlineWidth:e.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-tabs-focus-focus-ring-color","",l.borderActionFocusRing)};var Ul={largeFieldHorizontalPadding:e.extend("--ftds-text-input-large-field-horizontal-padding","",a.spacing4),largeFieldHorizontalGap:e.extend("--ftds-text-input-large-field-horizontal-gap","",a.spacing3),largeFieldVerticalGap:e.extend("--ftds-text-input-large-field-vertical-gap","",a.spacing05),largeFieldHeight:e.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:e.extend("--ftds-text-input-large-field-icon-size","",a.iconSize3),mediumFieldHorizontalPadding:e.extend("--ftds-text-input-medium-field-horizontal-padding","",a.spacing4),mediumFieldHorizontalGap:e.extend("--ftds-text-input-medium-field-horizontal-gap","",a.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","",a.iconSize3),helperHorizontalPadding:e.extend("--ftds-text-input-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ftds-text-input-helper-horizontal-gap","",a.spacing1),helperIconSize:e.extend("--ftds-text-input-helper-icon-size","",a.iconSize2),borderRadius:e.extend("--ftds-text-input-border-radius","",a.borderRadiusS),backgroundColor:e.extend("--ftds-text-input-background-color","",a.colorWhite),contentValueColor:e.extend("--ftds-text-input-content-value-color","",l.contentGlobalPrimary),trailingIconColor:e.extend("--ftds-text-input-trailing-icon-color","",l.contentGlobalSubtle),labelColor:e.extend("--ftds-text-input-label-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-text-input-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-text-input-default-helper-text-color","",l.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","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-text-input-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:e.extend("--ftds-text-input-error-helper-icon-color","",l.contentErrorIconOnly),warningBorderColor:e.extend("--ftds-text-input-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:e.extend("--ftds-text-input-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:e.extend("--ftds-text-input-warning-helper-icon-color","",l.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","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-text-input-disabled-component-opacity","",a.opacity40)};var Wl={backgroundColor:e.extend("--ftds-text-area-background-color","",a.colorWhite),contentValueColor:e.extend("--ftds-text-area-content-value-color","",l.contentGlobalPrimary),labelColor:e.extend("--ftds-text-area-label-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-text-area-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-text-area-default-helper-text-color","",l.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","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-text-area-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:e.extend("--ftds-text-area-error-helper-icon-color","",l.contentErrorIconOnly),focusFocusRingColor:e.extend("--ftds-text-area-focus-focus-ring-color","",l.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","",a.opacity40),fieldHorizontalLeftPadding:e.extend("--ftds-text-area-field-horizontal-left-padding","",a.spacing4),fieldHorizontalGap:e.extend("--ftds-text-area-field-horizontal-gap","",a.spacing3),fieldVerticalGap:e.extend("--ftds-text-area-field-vertical-gap","",a.spacing05),fieldMinHeight:e.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ftds-text-area-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ftds-text-area-helper-horizontal-gap","",a.spacing1),helperIconSize:e.extend("--ftds-text-area-helper-icon-size","",a.iconSize2),borderRadius:e.extend("--ftds-text-area-border-radius","",a.borderRadiusS)};var ql={height:e.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ftds-floating-menu-horizontal-padding","",a.spacing4),offIconColor:e.extend("--ftds-floating-menu-off-icon-color","",l.contentGlobalPrimary),offColor:e.extend("--ftds-floating-menu-off-color","",l.contentGlobalPrimary),onColor:e.extend("--ftds-floating-menu-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-floating-menu-on-state-layer-color","",l.contentActionPrimary),gap:e.extend("--ftds-floating-menu-gap","",a.spacing3),focusFocusRingColor:e.extend("--ftds-floating-menu-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:e.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ftds-floating-menu-focus-state-layer-opacity","",a.opacity8),hoverStateLayerOpacity:e.extend("--ftds-floating-menu-hover-state-layer-opacity","",a.opacity8),activeStateLayerOpacity:e.extend("--ftds-floating-menu-active-state-layer-opacity","",a.opacity16),disabledComponentOpacity:e.extend("--ftds-floating-menu-disabled-component-opacity","",a.opacity40),iconSize:e.extend("--ftds-floating-menu-icon-size","",a.iconSize3),backgroundColor:e.extend("--ftds-floating-menu-background-color","",l.backgroundGlobalOnSurface),shadow:e.extend("--ftds-floating-menu-shadow","",a.shadowElevation02)};var Jl={largeFieldHorizontalPadding:e.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",a.spacing4),largeFieldHorizontalGap:e.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",a.spacing3),largeFieldVerticalGap:e.extend("--ftds-combobox-single-select-large-field-vertical-gap","",a.spacing05),largeFieldHeight:e.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:e.extend("--ftds-combobox-single-select-large-field-icon-size","",a.iconSize3),mediumFieldHorizontalPadding:e.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",a.spacing4),mediumFieldHorizontalGap:e.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",a.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","",a.iconSize3),helperHorizontalPadding:e.extend("--ftds-combobox-single-select-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ftds-combobox-single-select-helper-horizontal-gap","",a.spacing1),helperVerticalGap:e.extend("--ftds-combobox-single-select-helper-vertical-gap","",a.spacing1),helperIconSize:e.extend("--ftds-combobox-single-select-helper-icon-size","",a.iconSize2),menuVerticalGap:e.extend("--ftds-combobox-single-select-menu-vertical-gap","",a.spacing2),borderRadius:e.extend("--ftds-combobox-single-select-border-radius","",a.borderRadiusS),backgroundColor:e.extend("--ftds-combobox-single-select-background-color","",a.colorWhite),labelColor:e.extend("--ftds-combobox-single-select-label-color","",l.contentGlobalSubtle),contentValueColor:e.extend("--ftds-combobox-single-select-content-value-color","",l.contentGlobalPrimary),trailingIconColor:e.extend("--ftds-combobox-single-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-combobox-single-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-combobox-single-select-default-helper-text-color","",l.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","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-combobox-single-select-error-helper-text-color","",l.contentErrorPrimary),warningBorderWidth:e.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ftds-combobox-single-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:e.extend("--ftds-combobox-single-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:e.extend("--ftds-combobox-single-select-warning-helper-icon-color","",l.contentWarningIconOnly),focusOutlineWidth:e.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-combobox-single-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-combobox-single-select-disabled-component-opacity","",a.opacity40)};var nd={backgroundColor:e.extend("--ftds-combobox-multi-select-background-color","",a.colorWhite),labelColor:e.extend("--ftds-combobox-multi-select-label-color","",l.contentGlobalSubtle),trailingIconColor:e.extend("--ftds-combobox-multi-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-combobox-multi-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-combobox-multi-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ftds-combobox-multi-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-combobox-multi-select-error-helper-text-color","",l.contentErrorPrimary),errorHelperIcon:e.extend("--ftds-combobox-multi-select-error-helper-icon","",l.contentErrorIconOnly),errorBorderWidth:e.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ftds-combobox-multi-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:e.extend("--ftds-combobox-multi-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:e.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:e.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",l.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","",a.opacity40),helperHorizontalPadding:e.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",a.spacing1),helperVerticalGap:e.extend("--ftds-combobox-multi-select-helper-vertical-gap","",a.spacing1),helperIconSize:e.extend("--ftds-combobox-multi-select-helper-icon-size","",a.iconSize2),fieldHorizontalPadding:e.extend("--ftds-combobox-multi-select-field-horizontal-padding","",a.spacing4),fieldHorizontalGap:e.extend("--ftds-combobox-multi-select-field-horizontal-gap","",a.spacing3),fieldVerticalGap:e.extend("--ftds-combobox-multi-select-field-vertical-gap","",a.spacing05),fieldIconSize:e.extend("--ftds-combobox-multi-select-field-icon-size","",a.iconSize3),fieldMaxHeight:e.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",a.spacing1),contentValuesVerticalGap:e.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",a.spacing1),borderRadius:e.extend("--ftds-combobox-multi-select-border-radius","",a.borderRadiusS)};var ld={backgroundColor:e.extend("--ftds-popover-background-color","",l.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ftds-popover-horizontal-padding","",a.spacing6),verticalPadding:e.extend("--ftds-popover-vertical-padding","",a.spacing6),titleColor:e.extend("--ftds-popover-title-color","",l.contentGlobalPrimary),bodyColor:e.extend("--ftds-popover-body-color","",l.contentGlobalSecondary),gap:e.extend("--ftds-popover-gap","",a.spacing2),borderRadius:e.extend("--ftds-popover-border-radius","",a.borderRadiusM),shadow:e.extend("--ftds-popover-shadow","",a.shadowElevation02),maxWidth:e.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:e.extend("--ftds-popover-content-section-vertical-gap","",a.spacing2),multiSectionVerticalGap:e.extend("--ftds-popover-multi-section-vertical-gap","",a.spacing6)};var hd={hoverStateLayerOpacity:e.extend("--ftds-collapsible-hover-state-layer-opacity","",a.opacity8),focusStateLayerOpacity:e.extend("--ftds-collapsible-focus-state-layer-opacity","",a.opacity8),focusOutlineWidth:e.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ftds-collapsible-focus-focus-ring-color","",l.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ftds-collapsible-active-state-layer-opacity","",a.opacity16),disabledComponentOpacity:e.extend("--ftds-collapsible-disabled-component-opacity","",a.opacity40),horizontalPadding:e.extend("--ftds-collapsible-horizontal-padding","",a.spacing4),verticalPadding:e.extend("--ftds-collapsible-vertical-padding","",a.spacing3),color:e.extend("--ftds-collapsible-color","",l.contentGlobalPrimary),stateLayerColor:e.extend("--ftds-collapsible-state-layer-color","",l.contentGlobalPrimary),backgroundColor:e.extend("--ftds-collapsible-background-color","",l.backgroundGlobalOnSurface),borderColor:e.extend("--ftds-collapsible-border-color","",l.borderGlobalSubtle),iconSize:e.extend("--ftds-collapsible-icon-size","",a.iconSize3)};var xd={groupHorizontalPadding:e.extend("--ftds-switch-group-horizontal-padding","",a.spacing1),groupVerticalPadding:e.extend("--ftds-switch-group-vertical-padding","",a.spacing1),groupGap:e.extend("--ftds-switch-group-gap","",a.spacing1),groupBackgroundColor:e.extend("--ftds-switch-group-background-color","",l.backgroundGlobalSurface),groupBorderColor:e.extend("--ftds-switch-group-border-color","",l.borderGlobalSubtle),groupBorderRadius:e.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ftds-switch-label-horizontal-padding","",a.spacing2),labelVerticalPadding:e.extend("--ftds-switch-label-vertical-padding","",a.spacing1),offHoverStateLayerOpacity:e.extend("--ftds-switch-off-hover-state-layer-opacity","",a.opacity8),offFocusStateLayerOpacity:e.extend("--ftds-switch-off-focus-state-layer-opacity","",a.opacity8),offActiveStateLayerOpacity:e.extend("--ftds-switch-off-active-state-layer-opacity","",a.opacity16),offDisabledComponentOpacity:e.extend("--ftds-switch-off-disabled-component-opacity","",a.opacity40),offColor:e.extend("--ftds-switch-off-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-switch-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ftds-switch-on-hover-state-layer-opacity","",a.opacity8),onFocusStateLayerOpacity:e.extend("--ftds-switch-on-focus-state-layer-opacity","",a.opacity8),onActiveStateLayerOpacity:e.extend("--ftds-switch-on-active-state-layer-opacity","",a.opacity16),onDisabledComponentOpacity:e.extend("--ftds-switch-on-disabled-component-opacity","",a.opacity40),onColor:e.extend("--ftds-switch-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-switch-on-state-layer-color","",l.contentActionPrimary),iconHorizontalPadding:e.extend("--ftds-switch-icon-horizontal-padding","",a.spacing1),iconVerticalPadding:e.extend("--ftds-switch-icon-vertical-padding","",a.spacing1),focusOutlineWidth:e.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-switch-focus-focus-ring-color","",l.borderActionFocusRing),optionBorderRadius:e.extend("--ftds-switch-option-border-radius","",a.borderRadiusS)};var Od={color1Light:e.extend("--ftds-chart-1-light","for area color charts",a.colorBrand40),color1Base:e.extend("--ftds-chart-1-base","for line charts",a.colorBrand0),color2Light:e.extend("--ftds-chart-2-light","for area color charts",a.colorYellow60),color2Base:e.extend("--ftds-chart-2-base","for line charts",a.colorYellow100),color3Light:e.extend("--ftds-chart-3-light","",a.colorUltramarine40),color3Base:e.extend("--ftds-chart-3-base","",a.colorUltramarine70),color4Light:e.extend("--ftds-chart-4-light","",a.colorCyan50),color4Base:e.extend("--ftds-chart-4-base","",a.colorCyan100),color5Light:e.extend("--ftds-chart-5-light","",a.colorRed40),color5Base:e.extend("--ftds-chart-5-base","",a.colorRed60),color6Light:e.extend("--ftds-chart-6-light","",a.colorGreen40),color6Base:e.extend("--ftds-chart-6-base","",a.colorGreen70),color7Light:e.extend("--ftds-chart-7-light","",a.colorOrange70),color7Base:e.extend("--ftds-chart-7-base","",a.colorOrange100),color8Light:e.extend("--ftds-chart-8-light","",a.colorAvocado70),color8Base:e.extend("--ftds-chart-8-base","",a.colorAvocado200),color9Light:e.extend("--ftds-chart-9-light","",a.colorBrown50),color9Base:e.extend("--ftds-chart-9-base","",a.colorBrown200),color10Light:e.extend("--ftds-chart-10-light","",a.colorGray50),color10Base:e.extend("--ftds-chart-10-base","",a.colorGray80),monochrome10:e.extend("--ftds-chart-monochrome-10","",a.colorBrand10),monochrome20:e.extend("--ftds-chart-monochrome-20","",a.colorBrand20),monochrome30:e.extend("--ftds-chart-monochrome-30","",a.colorBrand40),monochrome40:e.extend("--ftds-chart-monochrome-40","",a.colorBrand60),monochrome50:e.extend("--ftds-chart-monochrome-50","",a.colorBrand0),monochrome60:e.extend("--ftds-chart-monochrome-60","",a.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",a.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",a.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",a.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",a.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",a.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:e.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",a.opacity48),scatterplotDatapointInitialHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",a.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",a.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",a.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",a.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:e.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",a.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",a.colorGray70),scatterplotDatapointHoverHoverRingColor:e.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",a.colorCyan200)};var Id={color1IconColor:e.extend("--ftds-page-designer-1-icon-color","for area color charts",a.colorCyan0),color1ToolbarColor:e.extend("--ftds-page-designer-1-toolbar-color","for area color charts",a.colorCyan0),color2IconColor:e.extend("--ftds-page-designer-2-icon-color","for area color charts",a.colorBrand0),color2ToolbarColor:e.extend("--ftds-page-designer-2-toolbar-color","for area color charts",a.colorBrand0),color3IconColor:e.extend("--ftds-page-designer-3-icon-color","for area color charts",a.colorYellow200),color3ToolbarColor:e.extend("--ftds-page-designer-3-toolbar-color","for area color charts",a.colorYellow200),color4IconColor:e.extend("--ftds-page-designer-4-icon-color","for area color charts",a.colorUltramarine50),color4ToolbarColor:e.extend("--ftds-page-designer-4-toolbar-color","for area color charts",a.colorUltramarine50),color5IconColor:e.extend("--ftds-page-designer-5-icon-color","for area color charts",a.colorGreen0),color5ToolbarColor:e.extend("--ftds-page-designer-5-toolbar-color","for area color charts",a.colorGreen0),color6IconColor:e.extend("--ftds-page-designer-6-icon-color","for area color charts",a.colorOrange0),color6ToolbarColor:e.extend("--ftds-page-designer-6-toolbar-color","for area color charts",a.colorOrange0),color7IconColor:e.extend("--ftds-page-designer-7-icon-color","for area color charts",a.colorAvocado200),color7ToolbarColor:e.extend("--ftds-page-designer-7-toolbar-color","for area color charts",a.colorAvocado200),color8IconColor:e.extend("--ftds-page-designer-8-icon-color","for area color charts",a.colorBrown0),color8ToolbarColor:e.extend("--ftds-page-designer-8-toolbar-color","for area color charts",a.colorBrown0)};var Ld={borderWidth:e.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ftds-notice-horizontal-padding","",a.spacing3),verticalPadding:e.extend("--ftds-notice-vertical-padding","",a.spacing2),borderRadius:e.extend("--ftds-notice-border-radius","",a.borderRadiusS),gap:e.extend("--ftds-notice-gap","",a.spacing2),iconSize:e.extend("--ftds-notice-icon-size","",a.iconSize3),infoBackgroundColor:e.extend("--ftds-notice-info-background-color","",l.backgroundInfoSubtle),infoBorderColor:e.extend("--ftds-notice-info-border-color","",l.borderInfoSubtle),infoColor:e.extend("--ftds-notice-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-notice-info-icon-color","",l.contentInfoIconOnly),warningBackgroundColor:e.extend("--ftds-notice-warning-background-color","",l.backgroundWarningSubtle),warningBorderColor:e.extend("--ftds-notice-warning-border-color","",l.borderWarningSubtle),warningColor:e.extend("--ftds-notice-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-notice-warning-icon-color","",l.contentWarningIconOnly),errorBackgroundColor:e.extend("--ftds-notice-error-background-color","",l.backgroundErrorSubtle),errorBorderColor:e.extend("--ftds-notice-error-border-color","",l.borderErrorSubtle),errorColor:e.extend("--ftds-notice-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-notice-error-icon-color","",l.contentErrorIconOnly),successBackgroundColor:e.extend("--ftds-notice-success-background-color","",l.backgroundSuccessSubtle),successBorderColor:e.extend("--ftds-notice-success-border-color","",l.borderSuccessSubtle),successColor:e.extend("--ftds-notice-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-notice-success-icon-color","",l.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","",a.spacing1),denseIconSize:e.extend("--ftds-notice-dense-icon-size","",a.iconSize2),denseBorderWidth:e.create("--ftds-notice-dense-border-width","","SIZE","0")};var Md={offHoverStateLayerOpacity:e.extend("--ftds-toggle-off-hover-state-layer-opacity","",a.opacity16),offFocusStateLayerOpacity:e.extend("--ftds-toggle-off-focus-state-layer-opacity","",a.opacity16),offActiveStateLayerOpacity:e.extend("--ftds-toggle-off-active-state-layer-opacity","",a.opacity24),offDisabledComponentOpacity:e.extend("--ftds-toggle-off-disabled-component-opacity","",a.opacity40),offBackgroundColor:e.extend("--ftds-toggle-off-background-color","",l.contentGlobalSubtle),offIconColor:e.extend("--ftds-toggle-off-icon-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-toggle-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ftds-toggle-on-hover-state-layer-opacity","",a.opacity16),onFocusStateLayerOpacity:e.extend("--ftds-toggle-on-focus-state-layer-opacity","",a.opacity16),onActiveStateLayerOpacity:e.extend("--ftds-toggle-on-active-state-layer-opacity","",a.opacity24),onDisabledComponentOpacity:e.extend("--ftds-toggle-on-disabled-component-opacity","",a.opacity40),onBackgroundColor:e.extend("--ftds-toggle-on-background-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-toggle-on-state-layer-color","",l.contentActionPrimary),onIconColor:e.extend("--ftds-toggle-on-icon-color","",l.contentActionPrimary),color:e.extend("--ftds-toggle-color","",l.contentGlobalPrimary),focusFocusRingColor:e.extend("--ftds-toggle-focus-focus-ring-color","",l.borderActionFocusRing),gap:e.extend("--ftds-toggle-gap","",a.spacing3)};var Gd={iconSize:e.extend("--ftds-notification-icon-size","",a.iconSize4),leftPadding:e.extend("--ftds-notification-left-padding","",a.spacing5),rightPadding:e.extend("--ftds-notification-right-padding","",a.spacing4),verticalPadding:e.extend("--ftds-notification-vertical-padding","",a.spacing3),infoBackgroundColor:e.extend("--ftds-notification-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-notification-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-notification-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-notification-info-border-color","",l.borderInfoSubtle),successBackgroundColor:e.extend("--ftds-notification-success-background-color","",l.backgroundSuccessSubtle),successColor:e.extend("--ftds-notification-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-notification-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:e.extend("--ftds-notification-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:e.extend("--ftds-notification-warning-background-color","",l.backgroundWarningSubtle),warningColor:e.extend("--ftds-notification-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-notification-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:e.extend("--ftds-notification-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:e.extend("--ftds-notification-error-background-color","",l.backgroundErrorSubtle),errorColor:e.extend("--ftds-notification-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-notification-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:e.extend("--ftds-notification-error-border-color","",l.borderErrorSubtle),borderRadius:e.extend("--ftds-notification-border-radius","",a.borderRadiusPill),borderWidth:e.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ftds-notification-leading-gap","",a.spacing2),trailingGap:e.extend("--ftds-notification-trailing-gap","",a.spacing8)};var Kd={horizontalPadding:e.extend("--ftds-tooltip-horizontal-padding","",a.spacing2),verticalPadding:e.extend("--ftds-tooltip-vertical-padding","",a.spacing2),borderRadius:e.extend("--ftds-tooltip-border-radius","",a.borderRadiusS),color:e.extend("--ftds-tooltip-color","",l.contentGlobalOnColor),backgroundColor:e.extend("--ftds-tooltip-background-color","",l.contentGlobalPrimary),backgroundOpacity:e.extend("--ftds-tooltip-background-opacity","",a.opacity80),shadow:e.extend("--ftds-tooltip-shadow","",a.shadowElevation02),maxWidth:e.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ftds-tooltip-gap","",a.spacing05)};var Xd={verticalPadding:e.extend("--ftds-reorderable-list-vertical-padding","",a.spacing4),gap:e.extend("--ftds-reorderable-list-gap","",a.spacing1),borderRadius:e.extend("--ftds-reorderable-list-border-radius","",a.borderRadiusM),reorderableItemTitleMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",a.spacing6),reorderableItemTitleColor:e.extend("--ftds-reorderable-list-reorderable-item-title-color","",l.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",a.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:e.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",a.spacing2),reorderableItemRightButtonsGroupHorizontalGap:e.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",a.spacing2),reorderableItemUsersCountColor:e.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",l.contentGlobalPrimary),reorderableItemUsersCountMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",a.spacing6),reorderableItemBackgroundColor:e.extend("--ftds-reorderable-list-reorderable-item-background-color","",l.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",a.spacing1),reorderableItemWarningMessageColor:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",l.contentWarningPrimary),reorderableItemWarningMessageIconColor:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",l.contentWarningIconOnly),reorderableItemGripColor:e.extend("--ftds-reorderable-list-reorderable-item-grip-color","",l.contentGlobalSecondary),reorderableItemGripOpacity:e.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",a.opacity48),boxShadow:e.extend("--ftds-reorderable-list-box-shadow","",a.shadowElevation01),borderWidth:e.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:e.extend("--ftds-reorderable-list-reorderable-items-gap","",a.spacing2),leftPadding:e.extend("--ftds-reorderable-list-left-padding","",a.spacing2),rightPadding:e.extend("--ftds-reorderable-list-right-padding","",a.spacing6),borderColor:e.extend("--ftds-reorderable-list-border-color","",l.borderGlobalPrimary),backgroundColor:e.extend("--ftds-reorderable-list-background-color","",l.backgroundGlobalOnSurfaceDark)};var ru={menuHorizontalPadding:e.extend("--ftds-date-range-picker-menu-horizontal-padding","",a.spacing4),menuVerticalPadding:e.extend("--ftds-date-range-picker-menu-vertical-padding","",a.spacing4),menuVerticalGap:e.extend("--ftds-date-range-picker-menu-vertical-gap","",a.spacing4),menuButtonsVerticalGap:e.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",a.spacing2)};var xn;(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(xn||(xn={}));var vn;(function(r){r.large="large",r.medium="medium",r.small="small"})(vn||(vn={}));var Qe=E(ee());function Pi(r,t){let o=Ir[r];return Qe.css`
|
|
125
|
+
${t?(0,Qe.unsafeCSS)(t):Qe.css`.ftds-typography--${(0,Qe.unsafeCSS)(r)}`} {
|
|
126
126
|
font-family: ${o.fontFamily};
|
|
127
127
|
font-size: ${o.fontSize};
|
|
128
128
|
font-weight: ${o.fontWeight};
|
|
@@ -131,23 +131,23 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
131
131
|
text-decoration: ${o.textDecoration};
|
|
132
132
|
text-transform: ${o.textCase};
|
|
133
133
|
}
|
|
134
|
-
`}var
|
|
135
|
-
<${
|
|
134
|
+
`}var Sn=[Object.keys(Ir).map(r=>Pi(r))];var Cn=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;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--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},we=class extends On.FtLitElement{constructor(){super(...arguments),this.variant=_t.body2medium}render(){return this.element?He`
|
|
135
|
+
<${Be(this.element)}
|
|
136
136
|
part="text"
|
|
137
137
|
class="ftds-typography ftds-typography--${this.variant}">
|
|
138
138
|
<slot></slot>
|
|
139
|
-
</${
|
|
140
|
-
`:
|
|
139
|
+
</${Be(this.element)}>
|
|
140
|
+
`:He`
|
|
141
141
|
<slot part="text" class="ftds-typography ftds-typography--${this.variant}"></slot>
|
|
142
|
-
`}};ht.styles=[...vn];Sn([(0,Ir.property)()],ht.prototype,"element",void 0);Sn([(0,Ir.property)()],ht.prototype,"variant",void 0);var Jr=A(q());function ki(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,i;if(Array.isArray(r)){if(o=r.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!kt(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(!kt(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=c=>Object.keys(c).filter(d=>c[d]!=null);if(i=s(r),o=i.length,o!==s(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){let c=i[n];if(!kt(r[c],t[c]))return!1}return!0}return r!==r&&t!==t||r==null&&t==null}function kt(r,t){try{return ki(r,t)}catch{return!1}}function yt(r,t){return!kt(r,t)}function On(r){return typeof window.structuredClone=="function"?structuredClone(r):r!=null?JSON.parse(JSON.stringify(r)):r}function Lt(r,t){let o=n=>n[r]===!0;return n=>{if(o(n))return n;let i=t(n);return i[r]=!0,i}}var En=A(q(),1);var Tr=r=>{let t=r??{};return(o,n)=>{var i;let s={hasChanged:yt,attribute:!1,...t};(0,En.property)(s)(o,n);let c=o.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:d=>d[n],store:t.store})}};var Pt=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 we=A(q(),1);var An=A(q(),1);function wn(r,t){let o=()=>JSON.parse(JSON.stringify(r));return(0,An.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:yt,...t??{}})}var Nt=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 i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,s=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(d){i(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 In=A(ee(),1);var Ft=globalThis,Li=Ft.ShadowRoot&&(Ft.ShadyCSS===void 0||Ft.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Af=Symbol();var Rn=(r,t)=>{if(Li)r.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Ft.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,r.appendChild(n)}};var Dt=class extends In.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,s])=>t.registry.define(i,s)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Rn(n,t.elementStyles),n}};function Tn(r,t,...o){var n;let i=r.querySelector(t);for(let s of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return i}var Xe=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;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--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},Pn,_n=Symbol("constructorPrototype"),kn=Symbol("constructorName"),Nn=Symbol("exportpartsDebouncer"),Ln=Symbol("dynamicDependenciesLoaded"),Qe=class r extends CustomEvent{constructor(){super(r.eventName,{bubbles:!0})}};Qe.eventName="exportparts-updated";var oe=class extends Dt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Pn]=new Nt(5),this.scheduleExportpartsUpdate=()=>{var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Nn].run(()=>{var i,s;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[kn]=this.constructor.name,this[_n]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[kn]&&Object.setPrototypeOf(this,this[_n])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[Ln]||(o[Ln]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Qe.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Qe.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new Qe)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let s=[...i??[],n];o=Tn(this.shadowRoot,...s)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){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(s=>s.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(t){var o,n,i,s,c,d;let u=g=>g!=null&&g.trim().length>0,f=t.filter(u).map(g=>g.trim());if(f.length===0){this.exportparts=void 0;return}let h=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let v=(s=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&s!==void 0?s:[],b=(d=(c=g.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(w=>w.split(":")[1]))!==null&&d!==void 0?d:[],S=[...v,...b].filter(u).map(w=>w.trim());for(let w of S)h.add(w)}if(h.size===0){this.exportparts=void 0;return}let y=[...h.values()].flatMap(g=>f.map(v=>`${g}:${v}--${g}`));this.exportparts=[...this.part,...y].join(", ")}};Pn=Nn;Xe([(0,we.property)()],oe.prototype,"exportpartsPrefix",void 0);Xe([wn([])],oe.prototype,"exportpartsPrefixes",void 0);Xe([(0,we.property)({reflect:!0})],oe.prototype,"exportparts",void 0);Xe([(0,we.property)()],oe.prototype,"customStylesheet",void 0);Xe([(0,we.property)()],oe.prototype,"elementToFocus",void 0);Xe([(0,we.state)()],oe.prototype,"useAdoptedStyleSheets",void 0);function Mt(r){var t;return(t=r?.isFtReduxStore)!==null&&t!==void 0?t:!1}var gt=Symbol("internalReduxEventsUnsubscribers"),fe=Symbol("internalStoresUnsubscribers"),Re=Symbol("internalStores"),Pi=Lt(Symbol("withRedux"),function(r){var t,o,n;class i extends r{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(c){super.willUpdate(c),[...this.reduxConstructor.reduxReactiveProperties].some(d=>c.has(d))&&this.updateFromStores()}getUnnamedStore(){if(this[Re].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Re].values()][0]}getStore(c){return c==null?this.getUnnamedStore():this[Re].get(c)}addStore(c,d){var u;d=(u=d??c.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(d),this[Re].set(d,c),this.subscribeToStore(d,c),this.updateFromStores()}removeStore(c){let d=typeof c=="string"?c:c.name;this.unsubscribeFromStore(d),this[Re].delete(d)}setupStores(){this.unsubscribeFromStores(),this[Re].forEach((c,d)=>this.subscribeToStore(d,c)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((c,d)=>{let u=this.constructor.getPropertyOptions(d);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:d)){let f=this.getStore(c.store);f&&(c.store?this[fe].has(c.store):this[fe].size>0)&&(this[d]=c.selector(f.getState(),this))}})}subscribeToStore(c,d){var u;this[fe].set(c,d.subscribe(()=>this.updateFromStores())),this[gt].set(c,[]),Mt(d)&&d.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((f,h)=>{if(typeof this[h]=="function"&&(!f.store||d.name===f.store)){let y=g=>this[h](g);d.addEventListener(f.eventName,y),this[gt].get(c).push(()=>d.removeEventListener(f.eventName,y))}})),this.onStoreAvailable(c)}unsubscribeFromStores(){this[fe].forEach((c,d)=>this.unsubscribeFromStore(d))}unsubscribeFromStore(c){var d;this[fe].has(c)&&this[fe].get(c)(),this[fe].delete(c),(d=this[gt].get(c))===null||d===void 0||d.forEach(u=>u()),this[gt].delete(c)}onStoreAvailable(c){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=fe,o=Re,n=gt,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Fn=class extends Pi(oe){};function Y(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 i,s;throw Error("[Immer] minified error nr: "+r+(o.length?" "+o.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function se(r){return!!r&&!!r[P]}function te(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 i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===zi}(r)||Array.isArray(r)||!!r[Gn]||!!(!((t=r.constructor)===null||t===void 0)&&t[Gn])||Ur(r)||Br(r))}function Ie(r,t,o){o===void 0&&(o=!1),tt(r)===0?(o?Object.keys:et)(r).forEach(function(n){o&&typeof n=="symbol"||t(n,r[n],r)}):r.forEach(function(n,i){return t(i,n,r)})}function tt(r){var t=r[P];return t?t.i>3?t.i-4:t.i:Array.isArray(r)?1:Ur(r)?2:Br(r)?3:0}function Je(r,t){return tt(r)===2?r.has(t):Object.prototype.hasOwnProperty.call(r,t)}function Ni(r,t){return tt(r)===2?r.get(t):r[t]}function Wn(r,t,o){var n=tt(r);n===2?r.set(t,o):n===3?r.add(o):r[t]=o}function jn(r,t){return r===t?r!==0||1/r==1/t:r!=r&&t!=t}function Ur(r){return Bi&&r instanceof Map}function Br(r){return Hi&&r instanceof Set}function pe(r){return r.o||r.t}function Hr(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var t=Kn(r);delete t[P];for(var o=et(t),n=0;n<o.length;n++){var i=o[n],s=t[i];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(t[i]={configurable:!0,writable:!0,enumerable:s.enumerable,value:r[i]})}return Object.create(Object.getPrototypeOf(r),t)}function zr(r,t){return t===void 0&&(t=!1),Gr(r)||se(r)||!te(r)||(tt(r)>1&&(r.set=r.add=r.clear=r.delete=Fi),Object.freeze(r),t&&Ie(r,function(o,n){return zr(n,!0)},!0)),r}function Fi(){Y(2)}function Gr(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function ne(r){var t=Mr[r];return t||Y(18,r),t}function Di(r,t){Mr[r]||(Mr[r]=t)}function Nr(){return bt}function _r(r,t){t&&(ne("Patches"),r.u=[],r.s=[],r.v=t)}function Ut(r){Fr(r),r.p.forEach(Mi),r.p=null}function Fr(r){r===bt&&(bt=r.l)}function Dn(r){return bt={p:[],l:bt,h:r,m:!0,_:0}}function Mi(r){var t=r[P];t.i===0||t.i===1?t.j():t.g=!0}function kr(r,t){t._=t.p.length;var o=t.p[0],n=r!==void 0&&r!==o;return t.h.O||ne("ES5").S(t,r,n),n?(o[P].P&&(Ut(t),Y(4)),te(r)&&(r=Bt(t,r),t.l||Ht(t,r)),t.u&&ne("Patches").M(o[P].t,r,t.u,t.s)):r=Bt(t,o,[]),Ut(t),t.u&&t.v(t.u,t.s),r!==Vn?r:void 0}function Bt(r,t,o){if(Gr(t))return t;var n=t[P];if(!n)return Ie(t,function(d,u){return Mn(r,n,t,d,u,o)},!0),t;if(n.A!==r)return t;if(!n.P)return Ht(r,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Hr(n.k):n.o,s=i,c=!1;n.i===3&&(s=new Set(i),i.clear(),c=!0),Ie(s,function(d,u){return Mn(r,n,i,d,u,o,c)}),Ht(r,i,!1),o&&r.u&&ne("Patches").N(n,o,r.u,r.s)}return n.o}function Mn(r,t,o,n,i,s,c){if(se(i)){var d=Bt(r,i,s&&t&&t.i!==3&&!Je(t.R,n)?s.concat(n):void 0);if(Wn(o,n,d),!se(d))return;r.m=!1}else c&&o.add(i);if(te(i)&&!Gr(i)){if(!r.h.D&&r._<1)return;Bt(r,i),t&&t.A.l||Ht(r,i)}}function Ht(r,t,o){o===void 0&&(o=!1),!r.l&&r.h.D&&r.m&&zr(t,o)}function Lr(r,t){var o=r[P];return(o?pe(o):r)[t]}function Un(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 he(r){r.P||(r.P=!0,r.l&&he(r.l))}function Pr(r){r.o||(r.o=Hr(r.t))}function Dr(r,t,o){var n=Ur(t)?ne("MapSet").F(t,o):Br(t)?ne("MapSet").T(t,o):r.O?function(i,s){var c=Array.isArray(i),d={i:c?1:0,A:s?s.A:Nr(),P:!1,I:!1,R:{},l:s,t:i,k:null,o:null,j:null,C:!1},u=d,f=xt;c&&(u=[d],f=mt);var h=Proxy.revocable(u,f),y=h.revoke,g=h.proxy;return d.k=g,d.j=y,g}(t,o):ne("ES5").J(t,o);return(o?o.A:Nr()).p.push(n),n}function Ui(r){return se(r)||Y(22,r),function t(o){if(!te(o))return o;var n,i=o[P],s=tt(o);if(i){if(!i.P&&(i.i<4||!ne("ES5").K(i)))return i.t;i.I=!0,n=Bn(o,s),i.I=!1}else n=Bn(o,s);return Ie(n,function(c,d){i&&Ni(i.t,c)===d||Wn(n,c,t(d))}),s===3?new Set(n):n}(r)}function Bn(r,t){switch(t){case 2:return new Map(r);case 3:return Array.from(r)}return Hr(r)}function $n(){function r(c,d){var u=s[c];return u?u.enumerable=d:s[c]=u={configurable:!0,enumerable:d,get:function(){var f=this[P];return xt.get(f,c)},set:function(f){var h=this[P];xt.set(h,c,f)}},u}function t(c){for(var d=c.length-1;d>=0;d--){var u=c[d][P];if(!u.P)switch(u.i){case 5:n(u)&&he(u);break;case 4:o(u)&&he(u)}}}function o(c){for(var d=c.t,u=c.k,f=et(u),h=f.length-1;h>=0;h--){var y=f[h];if(y!==P){var g=d[y];if(g===void 0&&!Je(d,y))return!0;var v=u[y],b=v&&v[P];if(b?b.t!==g:!jn(v,g))return!0}}var S=!!d[P];return f.length!==et(d).length+(S?0:1)}function n(c){var d=c.k;if(d.length!==c.t.length)return!0;var u=Object.getOwnPropertyDescriptor(d,d.length-1);if(u&&!u.get)return!0;for(var f=0;f<d.length;f++)if(!d.hasOwnProperty(f))return!0;return!1}function i(c){c.g&&Y(3,JSON.stringify(pe(c)))}var s={};Di("ES5",{J:function(c,d){var u=Array.isArray(c),f=function(y,g){if(y){for(var v=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(v,""+b,r(b,!0));return v}var S=Kn(g);delete S[P];for(var w=et(S),R=0;R<w.length;R++){var I=w[R];S[I]=r(I,y||!!S[I].enumerable)}return Object.create(Object.getPrototypeOf(g),S)}(u,c),h={i:u?5:4,A:d?d.A:Nr(),P:!1,I:!1,R:{},l:d,t:c,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,P,{value:h,writable:!0}),f},S:function(c,d,u){u?se(d)&&d[P].A===c&&t(c.p):(c.u&&function f(h){if(h&&typeof h=="object"){var y=h[P];if(y){var g=y.t,v=y.k,b=y.R,S=y.i;if(S===4)Ie(v,function(_){_!==P&&(g[_]!==void 0||Je(g,_)?b[_]||f(v[_]):(b[_]=!0,he(y)))}),Ie(g,function(_){v[_]!==void 0||Je(v,_)||(b[_]=!1,he(y))});else if(S===5){if(n(y)&&(he(y),b.length=!0),v.length<g.length)for(var w=v.length;w<g.length;w++)b[w]=!1;else for(var R=g.length;R<v.length;R++)b[R]=!0;for(var I=Math.min(v.length,g.length),L=0;L<I;L++)v.hasOwnProperty(L)||(b[L]=!0),b[L]===void 0&&f(v[L])}}}}(c.p[0]),t(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var Hn,bt,Wr=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Bi=typeof Map<"u",Hi=typeof Set<"u",zn=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Vn=Wr?Symbol.for("immer-nothing"):((Hn={})["immer-nothing"]=!0,Hn),Gn=Wr?Symbol.for("immer-draftable"):"__$immer_draftable",P=Wr?Symbol.for("immer-state"):"__$immer_state";var zi=""+Object.prototype.constructor,et=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,Kn=Object.getOwnPropertyDescriptors||function(r){var t={};return et(r).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(r,o)}),t},Mr={},xt={get:function(r,t){if(t===P)return r;var o=pe(r);if(!Je(o,t))return function(i,s,c){var d,u=Un(s,c);return u?"value"in u?u.value:(d=u.get)===null||d===void 0?void 0:d.call(i.k):void 0}(r,o,t);var n=o[t];return r.I||!te(n)?n:n===Lr(r.t,t)?(Pr(r),r.o[t]=Dr(r.A.h,n,r)):n},has:function(r,t){return t in pe(r)},ownKeys:function(r){return Reflect.ownKeys(pe(r))},set:function(r,t,o){var n=Un(pe(r),t);if(n?.set)return n.set.call(r.k,o),!0;if(!r.P){var i=Lr(pe(r),t),s=i?.[P];if(s&&s.t===o)return r.o[t]=o,r.R[t]=!1,!0;if(jn(o,i)&&(o!==void 0||Je(r.t,t)))return!0;Pr(r),he(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 Lr(r.t,t)!==void 0||t in r.t?(r.R[t]=!1,Pr(r),he(r)):delete r.R[t],r.o&&delete r.o[t],!0},getOwnPropertyDescriptor:function(r,t){var o=pe(r),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:r.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Y(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){Y(12)}},mt={};Ie(xt,function(r,t){mt[r]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),mt.deleteProperty=function(r,t){return mt.set.call(this,r,t,void 0)},mt.set=function(r,t,o){return xt.set.call(this,r[0],t,o,r[0])};var Gi=function(){function r(o){var n=this;this.O=zn,this.D=!0,this.produce=function(i,s,c){if(typeof i=="function"&&typeof s!="function"){var d=s;s=i;var u=n;return function(S){var w=this;S===void 0&&(S=d);for(var R=arguments.length,I=Array(R>1?R-1:0),L=1;L<R;L++)I[L-1]=arguments[L];return u.produce(S,function(_){var H;return(H=s).call.apply(H,[w,_].concat(I))})}}var f;if(typeof s!="function"&&Y(6),c!==void 0&&typeof c!="function"&&Y(7),te(i)){var h=Dn(n),y=Dr(n,i,void 0),g=!0;try{f=s(y),g=!1}finally{g?Ut(h):Fr(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(S){return _r(h,c),kr(S,h)},function(S){throw Ut(h),S}):(_r(h,c),kr(f,h))}if(!i||typeof i!="object"){if((f=s(i))===void 0&&(f=i),f===Vn&&(f=void 0),n.D&&zr(f,!0),c){var v=[],b=[];ne("Patches").M(i,f,v,b),c(v,b)}return f}Y(21,i)},this.produceWithPatches=function(i,s){if(typeof i=="function")return function(f){for(var h=arguments.length,y=Array(h>1?h-1:0),g=1;g<h;g++)y[g-1]=arguments[g];return n.produceWithPatches(f,function(v){return i.apply(void 0,[v].concat(y))})};var c,d,u=n.produce(i,s,function(f,h){c=f,d=h});return typeof Promise<"u"&&u instanceof Promise?u.then(function(f){return[f,c,d]}):[u,c,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){te(o)||Y(8),se(o)&&(o=Ui(o));var n=Dn(this),i=Dr(this,o,void 0);return i[P].C=!0,Fr(n),i},t.finishDraft=function(o,n){var i=o&&o[P],s=i.A;return _r(s,n),kr(void 0,s)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!zn&&Y(20),this.O=o},t.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var s=n[i];if(s.path.length===0&&s.op==="replace"){o=s.value;break}}i>-1&&(n=n.slice(i+1));var c=ne("Patches").$;return se(o)?c(o,n):this.produce(o,function(d){return c(d,n)})},r}(),V=new Gi,Wi=V.produce,Hf=V.produceWithPatches.bind(V),zf=V.setAutoFreeze.bind(V),Gf=V.setUseProxies.bind(V),Wf=V.applyPatches.bind(V),jf=V.createDraft.bind(V),$f=V.finishDraft.bind(V),zt=Wi;function Te(r){"@babel/helpers - typeof";return Te=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},Te(r)}function qn(r,t){if(Te(r)!="object"||!r)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var n=o.call(r,t||"default");if(Te(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(r)}function Zn(r){var t=qn(r,"string");return Te(t)=="symbol"?t:t+""}function Yn(r,t,o){return(t=Zn(t))in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o,r}function Qn(r,t){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),o.push.apply(o,n)}return o}function jr(r){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Qn(Object(o),!0).forEach(function(n){Yn(r,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):Qn(Object(o)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(o,n))})}return r}function W(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 Xn=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),$r=function(){return Math.random().toString(36).substring(7).split("").join(".")},Gt={INIT:"@@redux/INIT"+$r(),REPLACE:"@@redux/REPLACE"+$r(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+$r()}};function ji(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 Vr(r,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(W(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(W(1));return o(Vr)(r,t)}if(typeof r!="function")throw new Error(W(2));var i=r,s=t,c=[],d=c,u=!1;function f(){d===c&&(d=c.slice())}function h(){if(u)throw new Error(W(3));return s}function y(S){if(typeof S!="function")throw new Error(W(4));if(u)throw new Error(W(5));var w=!0;return f(),d.push(S),function(){if(w){if(u)throw new Error(W(6));w=!1,f();var I=d.indexOf(S);d.splice(I,1),c=null}}}function g(S){if(!ji(S))throw new Error(W(7));if(typeof S.type>"u")throw new Error(W(8));if(u)throw new Error(W(9));try{u=!0,s=i(s,S)}finally{u=!1}for(var w=c=d,R=0;R<w.length;R++){var I=w[R];I()}return S}function v(S){if(typeof S!="function")throw new Error(W(10));i=S,g({type:Gt.REPLACE})}function b(){var S,w=y;return S={subscribe:function(I){if(typeof I!="object"||I===null)throw new Error(W(11));function L(){I.next&&I.next(h())}L();var _=w(L);return{unsubscribe:_}}},S[Xn]=function(){return this},S}return g({type:Gt.INIT}),n={dispatch:g,subscribe:y,getState:h,replaceReducer:v},n[Xn]=b,n}function $i(r){Object.keys(r).forEach(function(t){var o=r[t],n=o(void 0,{type:Gt.INIT});if(typeof n>"u")throw new Error(W(12));if(typeof o(void 0,{type:Gt.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(W(13))})}function Jn(r){for(var t=Object.keys(r),o={},n=0;n<t.length;n++){var i=t[n];typeof r[i]=="function"&&(o[i]=r[i])}var s=Object.keys(o),c,d;try{$i(o)}catch(u){d=u}return function(f,h){if(f===void 0&&(f={}),d)throw d;if(0)var y;for(var g=!1,v={},b=0;b<s.length;b++){var S=s[b],w=o[S],R=f[S],I=w(R,h);if(typeof I>"u"){var L=h&&h.type;throw new Error(W(14))}v[S]=I,g=g||I!==R}return g=g||s.length!==Object.keys(f).length,g?v:f}}function rt(){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,i){return function(){return n(i.apply(void 0,arguments))}})}function ea(){for(var r=arguments.length,t=new Array(r),o=0;o<r;o++)t[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),s=function(){throw new Error(W(15))},c={getState:i.getState,dispatch:function(){return s.apply(void 0,arguments)}},d=t.map(function(u){return u(c)});return s=rt.apply(void 0,d)(i.dispatch),jr(jr({},i),{},{dispatch:s})}}}function ta(r){var t=function(n){var i=n.dispatch,s=n.getState;return function(c){return function(d){return typeof d=="function"?d(i,s,r):c(d)}}};return t}var ra=ta();ra.withExtraArgument=ta;var Kr=ra;var sa=function(){var r=function(t,o){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[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)}}(),Vi=function(r,t){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,c;return c={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function d(f){return function(h){return u([f,h])}}function u(f){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(s=f[0]&2?i.return:f[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,f[1])).done)return s;switch(i=0,s&&(f=[f[0]&2,s.value]),f[0]){case 0:case 1:s=f;break;case 4:return o.label++,{value:f[1],done:!1};case 5:o.label++,i=f[1],f=[0];continue;case 7:f=o.ops.pop(),o.trys.pop();continue;default:if(s=o.trys,!(s=s.length>0&&s[s.length-1])&&(f[0]===6||f[0]===2)){o=0;continue}if(f[0]===3&&(!s||f[1]>s[0]&&f[1]<s[3])){o.label=f[1];break}if(f[0]===6&&o.label<s[1]){o.label=s[1],s=f;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(f);break}s[2]&&o.ops.pop(),o.trys.pop();continue}f=t.call(r,o)}catch(h){f=[6,h],i=0}finally{n=s=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},ot=function(r,t){for(var o=0,n=t.length,i=r.length;o<n;o++,i++)r[i]=t[o];return r},Ki=Object.defineProperty,qi=Object.defineProperties,Zi=Object.getOwnPropertyDescriptors,oa=Object.getOwnPropertySymbols,Yi=Object.prototype.hasOwnProperty,Qi=Object.prototype.propertyIsEnumerable,na=function(r,t,o){return t in r?Ki(r,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[t]=o},ye=function(r,t){for(var o in t||(t={}))Yi.call(t,o)&&na(r,o,t[o]);if(oa)for(var n=0,i=oa(t);n<i.length;n++){var o=i[n];Qi.call(t,o)&&na(r,o,t[o])}return r},qr=function(r,t){return qi(r,Zi(t))},Xi=function(r,t,o){return new Promise(function(n,i){var s=function(u){try{d(o.next(u))}catch(f){i(f)}},c=function(u){try{d(o.throw(u))}catch(f){i(f)}},d=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(s,c)};d((o=o.apply(r,t)).next())})};var Ji=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?rt:rt.apply(null,arguments)},lp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function es(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 ts=function(r){sa(t,r);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=r.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}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,ot([void 0],o[0].concat(this)))):new(t.bind.apply(t,ot([void 0],o.concat(this))))},t}(Array),rs=function(r){sa(t,r);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=r.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}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,ot([void 0],o[0].concat(this)))):new(t.bind.apply(t,ot([void 0],o.concat(this))))},t}(Array);function Qr(r){return te(r)?zt(r,function(){}):r}function os(r){return typeof r=="boolean"}function ns(){return function(t){return as(t)}}function as(r){r===void 0&&(r={});var t=r.thunk,o=t===void 0?!0:t,n=r.immutableCheck,i=n===void 0?!0:n,s=r.serializableCheck,c=s===void 0?!0:s,d=new ts;if(o&&(os(o)?d.push(Kr):d.push(Kr.withExtraArgument(o.extraArgument))),0){if(i)var u;if(c)var f}return d}var Zr=!0;function ca(r){var t=ns(),o=r||{},n=o.reducer,i=n===void 0?void 0:n,s=o.middleware,c=s===void 0?t():s,d=o.devTools,u=d===void 0?!0:d,f=o.preloadedState,h=f===void 0?void 0:f,y=o.enhancers,g=y===void 0?void 0:y,v;if(typeof i=="function")v=i;else if(es(i))v=Jn(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 b=c;if(typeof b=="function"&&(b=b(t),!Zr&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Zr&&b.some(function(_){return typeof _!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=ea.apply(void 0,b),w=rt;u&&(w=Ji(ye({trace:!Zr},typeof u=="object"&&u)));var R=new rs(S),I=R;Array.isArray(g)?I=ot([S],g):typeof g=="function"&&(I=g(R));var L=w.apply(void 0,I);return Vr(v,h,L)}function ge(r,t){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];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 la(r){var t={},o=[],n,i={addCase:function(s,c){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]=c,i},addMatcher:function(s,c){return o.push({matcher:s,reducer:c}),i},addDefaultCase:function(s){return n=s,i}};return r(i),[t,o,n]}function is(r){return typeof r=="function"}function ss(r,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?la(t):[t,o,n],s=i[0],c=i[1],d=i[2],u;if(is(r))u=function(){return Qr(r())};else{var f=Qr(r);u=function(){return f}}function h(y,g){y===void 0&&(y=u());var v=ot([s[g.type]],c.filter(function(b){var S=b.matcher;return S(g)}).map(function(b){var S=b.reducer;return S}));return v.filter(function(b){return!!b}).length===0&&(v=[d]),v.reduce(function(b,S){if(S)if(se(b)){var w=b,R=S(w,g);return R===void 0?b:R}else{if(te(b))return zt(b,function(I){return S(I,g)});var R=S(b,g);if(R===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return b},y)}return h.getInitialState=u,h}function cs(r,t){return r+"/"+t}function da(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:Qr(r.initialState),n=r.reducers||{},i=Object.keys(n),s={},c={},d={};i.forEach(function(h){var y=n[h],g=cs(t,h),v,b;"reducer"in y?(v=y.reducer,b=y.prepare):v=y,s[h]=v,c[g]=v,d[h]=b?ge(g,b):ge(g)});function u(){var h=typeof r.extraReducers=="function"?la(r.extraReducers):[r.extraReducers],y=h[0],g=y===void 0?{}:y,v=h[1],b=v===void 0?[]:v,S=h[2],w=S===void 0?void 0:S,R=ye(ye({},g),c);return ss(o,function(I){for(var L in R)I.addCase(L,R[L]);for(var _=0,H=b;_<H.length;_++){var J=H[_];I.addMatcher(J.matcher,J.reducer)}w&&I.addDefaultCase(w)})}var f;return{name:t,reducer:function(h,y){return f||(f=u()),f(h,y)},actions:d,caseReducers:s,getInitialState:function(){return f||(f=u()),f.getInitialState()}}}var ls="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ds=function(r){r===void 0&&(r=21);for(var t="",o=r;o--;)t+=ls[Math.random()*64|0];return t},us=["name","message","stack","code"],Yr=function(){function r(t,o){this.payload=t,this.meta=o}return r}(),aa=function(){function r(t,o){this.payload=t,this.meta=o}return r}(),fs=function(r){if(typeof r=="object"&&r!==null){for(var t={},o=0,n=us;o<n.length;o++){var i=n[o];typeof r[i]=="string"&&(t[i]=r[i])}return t}return{message:String(r)}},pp=function(){function r(t,o,n){var i=ge(t+"/fulfilled",function(h,y,g,v){return{payload:h,meta:qr(ye({},v||{}),{arg:g,requestId:y,requestStatus:"fulfilled"})}}),s=ge(t+"/pending",function(h,y,g){return{payload:void 0,meta:qr(ye({},g||{}),{arg:y,requestId:h,requestStatus:"pending"})}}),c=ge(t+"/rejected",function(h,y,g,v,b){return{payload:v,error:(n&&n.serializeError||fs)(h||"Rejected"),meta:qr(ye({},b||{}),{arg:g,requestId:y,rejectedWithValue:!!v,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 f(h){return function(y,g,v){var b=n?.idGenerator?n.idGenerator(h):ds(),S=new u,w,R=!1;function I(_){w=_,S.abort()}var L=function(){return Xi(this,null,function(){var _,H,J,xe,j,ve,Ne;return Vi(this,function(p){switch(p.label){case 0:return p.trys.push([0,4,,5]),xe=(_=n?.condition)==null?void 0:_.call(n,h,{getState:g,extra:v}),hs(xe)?[4,xe]:[3,2];case 1:xe=p.sent(),p.label=2;case 2:if(xe===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,j=new Promise(function(m,E){return S.signal.addEventListener("abort",function(){return E({name:"AbortError",message:w||"Aborted"})})}),y(s(b,h,(H=n?.getPendingMeta)==null?void 0:H.call(n,{requestId:b,arg:h},{getState:g,extra:v}))),[4,Promise.race([j,Promise.resolve(o(h,{dispatch:y,getState:g,extra:v,requestId:b,signal:S.signal,abort:I,rejectWithValue:function(m,E){return new Yr(m,E)},fulfillWithValue:function(m,E){return new aa(m,E)}})).then(function(m){if(m instanceof Yr)throw m;return m instanceof aa?i(m.payload,b,h,m.meta):i(m,b,h)})])];case 3:return J=p.sent(),[3,5];case 4:return ve=p.sent(),J=ve instanceof Yr?c(null,b,h,ve.payload,ve.meta):c(ve,b,h),[3,5];case 5:return Ne=n&&!n.dispatchConditionRejection&&c.match(J)&&J.meta.condition,Ne||y(J),[2,J]}})})}();return Object.assign(L,{abort:I,requestId:b,arg:h,unwrap:function(){return L.then(ps)}})}}return Object.assign(f,{pending:s,rejected:c,fulfilled:i,typePrefix:t})}return r.withTypes=function(){return r},r}();function ps(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function hs(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var ua="listener",fa="completed",pa="cancelled",hp="task-"+pa,yp="task-"+fa,gp=ua+"-"+pa,mp=ua+"-"+fa;var Xr="listenerMiddleware";var bp=ge(Xr+"/add"),xp=ge(Xr+"/removeAll"),vp=ge(Xr+"/remove");var ia,Sp=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(ia||(ia=Promise.resolve())).then(r).catch(function(t){return setTimeout(function(){throw t},0)})},ys=function(r){return function(t){setTimeout(t,r)}},Cp=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:ys(10);$n();var gs=Lt(Symbol("withEventBus"),function(r,t){return class extends r{constructor(){super(...arguments),this.eventBus=t??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)}}}),Wt=class extends gs(Object){};window.ftReduxStores||(window.ftReduxStores={});var ha=class r extends Wt{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,s=window.ftReduxStores[n];if(Mt(s))return s;if(i==null)return;let c=da({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),d=ca({reducer:(u,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let h=On(c.getInitialState());for(let y of f.keeping)h[y]=(u??h)[y];return h}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...u,...f.overwrites};return c.reducer(u,f)}});return window.ftReduxStores[i.name]=new r(c,d,i.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Pt;let i=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,c,d)=>{let u=c,f=s[u];return f?(...h)=>{let y=f(...h.map(i));return this.reduxStore.dispatch(y),y}:h=>{this.setState({[u]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var jt=class{static format(t,o,n,i){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,i)):this.getIntlDateTime(t,o,n,i)}static getMomentDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,i){let s=typeof t=="string"?new Date(t):t,c=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(s);if(!i)return c;let d=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(s);return`${c} ${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 $t=A(D()),ms="ft-app-info",_e=class r extends CustomEvent{constructor(t){super(r.eventName,{detail:t})}};_e.eventName="authentication-change";var bs={session:(r,t)=>{(0,$t.deepEqual)(r.session,t.payload)||(r.session=t.payload,setTimeout(()=>C.dispatchEvent(new _e(t.payload)),0))}},C=$t.FtReduxStore.get({name:ms,reducers:bs,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 ya=A(D()),Vt=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;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--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},Yp=(0,ya.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(C)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,s;return((s=(i=this.metadataDescriptors.find(d=>d.key===n))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1)?d=>jt.format(d,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Vt([(0,Jr.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Vt([(0,Jr.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Vt([Tr({store:C.name,selector:o=>{var n,i;return(i=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],t.prototype,"metadataDescriptors",void 0),Vt([Tr({store:C.name})],t.prototype,"uiLocale",void 0),t});var vs=A(ma(),1);var ba;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(ba||(ba={}));var xa;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(xa||(xa={}));var va;(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"})(va||(va={}));var Sa;(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"})(Sa||(Sa={}));var Ca;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(Ca||(Ca={}));var Oa;(function(r){r.VALUE="VALUE",r.DATE="DATE",r.RANGE="RANGE"})(Oa||(Oa={}));var Ea;(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.CHATBOT__RATE="CHATBOT__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__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",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__AI_TRANSLATE="TOPIC__AI_TRANSLATE",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"})(Ea||(Ea={}));var Aa;(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"})(Aa||(Aa={}));var wa;(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",r.LINK_PREVIEW="LINK_PREVIEW"})(wa||(wa={}));var Ra;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(Ra||(Ra={}));var Ia;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(Ia||(Ia={}));var Ta;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(Ta||(Ta={}));var _a;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(_a||(_a={}));var ka;(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"})(ka||(ka={}));var eo;(function(r){r.OPTIONAL="OPTIONAL",r.MANDATORY="MANDATORY"})(eo||(eo={}));var La;(function(r){r.ASC="ASC",r.DESC="DESC"})(La||(La={}));var Pa;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(Pa||(Pa={}));var to;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(to||(to={}));var Na;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK",r.HTML_PACKAGE="HTML_PACKAGE"})(Na||(Na={}));var Fa;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(Fa||(Fa={}));var Da;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK",r.HTML_PACKAGE="HTML_PACKAGE"})(Da||(Da={}));var Ma;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(Ma||(Ma={}));var Ua;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.HTML_PACKAGE="HTML_PACKAGE",r.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Ua||(Ua={}));var ro;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS",r.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(ro||(ro={}));var Ba;(function(r){r.PLAIN_TEXT="PLAIN_TEXT",r.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",r.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Ba||(Ba={}));var M;(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"})(M||(M={}));var Q;(function(r){r.SEARCHES="SEARCHES",r.BOOKMARKS="BOOKMARKS",r.BOOKS="BOOKS",r.COLLECTIONS="COLLECTIONS"})(Q||(Q={}));var Ha;(function(r){r.UNAUTHENTICATED="UNAUTHENTICATED",r.USER_INCOMPLETE="USER_INCOMPLETE",r.MFA_REQUIRED="MFA_REQUIRED",r.AUTHENTICATED="AUTHENTICATED"})(Ha||(Ha={}));var za;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(za||(za={}));var Ga;(function(r){r.JSON="JSON",r.TEXT="TEXT"})(Ga||(Ga={}));var Wa;(function(r){r.USER="USER",r.ASSISTANT="ASSISTANT"})(Wa||(Wa={}));var ja;(function(r){r.TEXT="TEXT",r.HTML="HTML"})(ja||(ja={}));var $a;(function(r){r.HTML="HTML",r.MARKDOWN="MARKDOWN"})($a||($a={}));var xs={[M.PERSONAL_BOOK_SHARE_USER]:[M.PERSONAL_BOOK_USER],[M.HTML_EXPORT_USER]:[M.PERSONAL_BOOK_USER],[M.PDF_EXPORT_USER]:[M.PERSONAL_BOOK_USER],[M.KHUB_ADMIN]:[M.CONTENT_PUBLISHER],[M.ADMIN]:[M.KHUB_ADMIN,M.USERS_ADMIN,M.PORTAL_ADMIN],[M.GENERATIVE_AI_EXPORT_USER]:[M.GENERATIVE_AI_USER]};function Va(r,t){return r===t||(xs[r]??[]).some(o=>Va(o,t))}function Ka(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=>Va(n,t))}var er=A(D());var oo=A(D());var ke=class r{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=C.getState(),i=t??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(t){return new Promise(o=>{let n=r.get(t);if(n)o(n);else{let i=C.subscribe(()=>{n=r.get(t),n&&(i(),o(n))})}})}};var Zt=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:ke.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):ke.await()}};var $=class extends Zt{constructor(t=!0,o){var n;super(o),this.sortObjectFields=(s,c)=>typeof c!="object"||c==null||Array.isArray(c)?c:Object.fromEntries(Object.entries(c).sort(([d],[u])=>d.localeCompare(u)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new oo.CacheRegistry,this.cache=t?i.commonCache:new oo.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 Yt=class extends ${async listMySearches(){let{session:t}=C.getState();return Ka(t,M.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Qt=class extends ${async listMyBookmarks(){let t=C.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var Xt=class extends ${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=C.getState().session;return!!t?.sessionAuthenticated}};var Jt=class extends ${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=C.getState().session;return!!t?.sessionAuthenticated}};var Ss="ft-user-assets",Cs={setAssetCount:(r,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;r.assetCounts.allAsset[o]=n},clearAssetCount:r=>{Object.values(Q).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:i}=t.payload;ao(r,o,[...no(r,o),i]),qa(r,o,1,n),Za(r,i)},editAsset:(r,t)=>{let{assetType:o,asset:n}=t.payload;ao(r,o,no(r,o).map(i=>i.id===n.id?n:i)),Za(r,n)},removeAsset:(r,t)=>{let{assetType:o,mapId:n,assetId:i}=t.payload;ao(r,o,no(r,o).filter(s=>s.id!==i)),qa(r,o,-1,n)}},Ya={[Q.SEARCHES]:"savedSearches",[Q.BOOKMARKS]:"bookmarks",[Q.BOOKS]:void 0,[Q.COLLECTIONS]:void 0},no=(r,t)=>{var o;let n=Ya[t];return n?(o=r[n])!==null&&o!==void 0?o:[]:[]},ao=(r,t,o)=>{let n=Ya[t];n&&(r[n]=o)},qa=(r,t,o,n)=>{let i=r.assetCounts.allAsset[t];if(i!==void 0&&(r.assetCounts.allAsset[t]=Math.max(0,i+o),t===Q.BOOKMARKS&&n)){let s=r.assetCounts.bookmarkByMap[n];r.assetCounts.bookmarkByMap[n]=Math.max(0,s+o)}},Za=(r,t)=>{let o=r.assetLabels.map(i=>i.title),n=t.labels.filter(i=>!o.includes(i)).map(i=>({title:i}));r.assetLabels.push(...n)},K=er.FtReduxStore.get({name:Ss,reducers:Cs,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Q).map(r=>[r,void 0])),bookmarkByMap:{}},assetLabels:[]}}),io=class{constructor(t=new Xt,o=new Jt){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=C.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Qt,this.savedSearchesService=new Yt,C.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=C.getState();(0,er.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(),K.actions.clearAssetCount(),K.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),K.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),K.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();K.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();K.actions.assetLabels(t)}async loadAssetCount(t){let o=await this.assetCountsService.getUserAssetCount(t);o&&K.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&K.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(K.getState().assetCounts.bookmarkByMap).length!==0;t===Q.BOOKMARKS&&o&&K.actions.clearBookmarkCountByMap(),K.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;K.actions.bookmarks(o)}}},Os=new io;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Os);var so=class{addCommand(t,o=!1){C.commands.add(t,o)}consumeCommand(t){return C.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new so;var X=A(D());var Qa,at=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},Es=Symbol("clearAfterUnitTest"),tr=class extends(0,X.withEventBus)($){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Qa]=()=>{this.defaultMessages={},this.cache=new X.CacheRegistry,this.listeners={}},this.currentUiLocale=C.getState().uiLocale,C.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=C.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 i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,X.deepEqual)(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,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 i;let s=t.toLowerCase(),c=this.resolveContext(s);return new X.ParametrizedLabelResolver((i=this.defaultMessages[s])!==null&&i!==void 0?i:{},c).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(i){!(i instanceof X.CanceledPromiseError)&&o&&console.error(i)}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 i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new at({loadedContexts:t})),this.dispatchEvent(new at({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new at({loadedContexts:[t]})),this.dispatchEvent(new at({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,X.delay)(0).then(()=>n()).catch(()=>null)))}};Qa=Es;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends tr{constructor(){super(async(r,t)=>(await this.awaitApi).getFluidTopicsMessageContext(r,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends tr{constructor(){super(async(r,t)=>(await this.awaitApi).getCustomMessageContext(r,t))}});var it=window.FluidTopicsI18nService,rr=window.FluidTopicsCustomI18nService;var Xa=A(D()),co=class{highlightHtml(t,o,n){(0,Xa.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new co;var Ja=A(D());var lo=class{isDate(t){var o,n,i,s;return(s=(i=((n=(o=C.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===t))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1}format(t,o){var n,i,s;if(t==null)return"";try{return Ja.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:C.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(s=o?.withTime)!==null&&s!==void 0?s:!1)}catch(c){throw console.error(`Date ${JSON.stringify(t)} is not valid`,c),c}}};window.FluidTopicsDateService=new lo;var ei=A(D());var Le=class{static get(t,o){var n,i;let s=C.getState(),{lang:c,region:d}=(i=(n=s.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new ei.SearchPlaceConverter(s.baseUrl,t??20,s.searchInAllLanguagesAllowed,o??`${c}-${d}`)}};var uo=class{urlToSearchRequest(t){return Le.get().parse(t)}searchRequestToUrl(t){return Le.get().serialize(t)}};window.FluidTopicsUrlService=new uo;var be=A(D());var Pe=class r extends CustomEvent{constructor(t){super(r.eventName,{detail:{currentItem:t}})}};Pe.eventName="change";var fo=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))}},ti=new fo;var or=class r extends be.WithEventBus{static build(){return new r(window.history,ti,()=>window.location,!1)}constructor(t,o,n,i){var s,c;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(c=(s=t.state)===null||s===void 0?void 0:s.index)!==null&&c!==void 0?c:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}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,be.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Pe(this.currentItem())),0)}installProxies(){let t=o=>(n,i,[s,c,d])=>{let u=o(),f={...u===this.currentIndex?this.currentState:void 0,...s,index:u,href:typeof d=="string"?d:(d??this.windowLocation()).href};n.apply(i,[f,c,d]),this.setCurrentState(f,!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(Pe.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Pe.eventName,t)}currentItem(){return(0,be.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,be.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,be.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 i=t,s=t+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(i=s),s++;return i}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 i=o??this.currentState.majorStateId,s=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=i}};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 ri=A(ee());var oi=ri.css`
|
|
143
|
-
`;var
|
|
142
|
+
`}};we.styles=[...Sn];Cn([(0,Rr.property)()],we.prototype,"element",void 0);Cn([(0,Rr.property)()],we.prototype,"variant",void 0);var Tr=E(P());(0,Tr.customElement)("ft-typography")(se);(0,Tr.customElement)("ftds-typography")(we);var eo=E(q());function Ni(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,i;if(Array.isArray(r)){if(o=r.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!kt(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(!kt(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=c=>Object.keys(c).filter(d=>c[d]!=null);if(i=s(r),o=i.length,o!==s(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){let c=i[n];if(!kt(r[c],t[c]))return!1}return!0}return r!==r&&t!==t||r==null&&t==null}function kt(r,t){try{return Ni(r,t)}catch{return!1}}function yt(r,t){return!kt(r,t)}function En(r){return typeof window.structuredClone=="function"?structuredClone(r):r!=null?JSON.parse(JSON.stringify(r)):r}function Lt(r,t){let o=n=>n[r]===!0;return n=>{if(o(n))return n;let i=t(n);return i[r]=!0,i}}var An=E(q(),1);var _r=r=>{let t=r??{};return(o,n)=>{var i;let s={hasChanged:yt,attribute:!1,...t};(0,An.property)(s)(o,n);let c=o.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:d=>d[n],store:t.store})}};var Pt=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 Ie=E(q(),1);var wn=E(q(),1);function In(r,t){let o=()=>JSON.parse(JSON.stringify(r));return(0,wn.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:yt,...t??{}})}var Nt=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 i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,s=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(d){i(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 Tn=E(ee(),1);var Ft=globalThis,Fi=Ft.ShadowRoot&&(Ft.ShadyCSS===void 0||Ft.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,kf=Symbol();var Rn=(r,t)=>{if(Fi)r.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Ft.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,r.appendChild(n)}};var Dt=class extends Tn.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,s])=>t.registry.define(i,s)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Rn(n,t.elementStyles),n}};function _n(r,t,...o){var n;let i=r.querySelector(t);for(let s of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return i}var Je=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;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--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},Nn,kn=Symbol("constructorPrototype"),Ln=Symbol("constructorName"),Fn=Symbol("exportpartsDebouncer"),Pn=Symbol("dynamicDependenciesLoaded"),Xe=class r extends CustomEvent{constructor(){super(r.eventName,{bubbles:!0})}};Xe.eventName="exportparts-updated";var ne=class extends Dt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Nn]=new Nt(5),this.scheduleExportpartsUpdate=()=>{var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Fn].run(()=>{var i,s;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Ln]=this.constructor.name,this[kn]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ln]&&Object.setPrototypeOf(this,this[kn])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[Pn]||(o[Pn]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Xe.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Xe.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new Xe)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let s=[...i??[],n];o=_n(this.shadowRoot,...s)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){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(s=>s.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(t){var o,n,i,s,c,d;let u=g=>g!=null&&g.trim().length>0,f=t.filter(u).map(g=>g.trim());if(f.length===0){this.exportparts=void 0;return}let h=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let v=(s=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&s!==void 0?s:[],b=(d=(c=g.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(w=>w.split(":")[1]))!==null&&d!==void 0?d:[],S=[...v,...b].filter(u).map(w=>w.trim());for(let w of S)h.add(w)}if(h.size===0){this.exportparts=void 0;return}let y=[...h.values()].flatMap(g=>f.map(v=>`${g}:${v}--${g}`));this.exportparts=[...this.part,...y].join(", ")}};Nn=Fn;Je([(0,Ie.property)()],ne.prototype,"exportpartsPrefix",void 0);Je([In([])],ne.prototype,"exportpartsPrefixes",void 0);Je([(0,Ie.property)({reflect:!0})],ne.prototype,"exportparts",void 0);Je([(0,Ie.property)()],ne.prototype,"customStylesheet",void 0);Je([(0,Ie.property)()],ne.prototype,"elementToFocus",void 0);Je([(0,Ie.state)()],ne.prototype,"useAdoptedStyleSheets",void 0);function Mt(r){var t;return(t=r?.isFtReduxStore)!==null&&t!==void 0?t:!1}var gt=Symbol("internalReduxEventsUnsubscribers"),pe=Symbol("internalStoresUnsubscribers"),Re=Symbol("internalStores"),Di=Lt(Symbol("withRedux"),function(r){var t,o,n;class i extends r{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(c){super.willUpdate(c),[...this.reduxConstructor.reduxReactiveProperties].some(d=>c.has(d))&&this.updateFromStores()}getUnnamedStore(){if(this[Re].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Re].values()][0]}getStore(c){return c==null?this.getUnnamedStore():this[Re].get(c)}addStore(c,d){var u;d=(u=d??c.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(d),this[Re].set(d,c),this.subscribeToStore(d,c),this.updateFromStores()}removeStore(c){let d=typeof c=="string"?c:c.name;this.unsubscribeFromStore(d),this[Re].delete(d)}setupStores(){this.unsubscribeFromStores(),this[Re].forEach((c,d)=>this.subscribeToStore(d,c)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((c,d)=>{let u=this.constructor.getPropertyOptions(d);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:d)){let f=this.getStore(c.store);f&&(c.store?this[pe].has(c.store):this[pe].size>0)&&(this[d]=c.selector(f.getState(),this))}})}subscribeToStore(c,d){var u;this[pe].set(c,d.subscribe(()=>this.updateFromStores())),this[gt].set(c,[]),Mt(d)&&d.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((f,h)=>{if(typeof this[h]=="function"&&(!f.store||d.name===f.store)){let y=g=>this[h](g);d.addEventListener(f.eventName,y),this[gt].get(c).push(()=>d.removeEventListener(f.eventName,y))}})),this.onStoreAvailable(c)}unsubscribeFromStores(){this[pe].forEach((c,d)=>this.unsubscribeFromStore(d))}unsubscribeFromStore(c){var d;this[pe].has(c)&&this[pe].get(c)(),this[pe].delete(c),(d=this[gt].get(c))===null||d===void 0||d.forEach(u=>u()),this[gt].delete(c)}onStoreAvailable(c){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=pe,o=Re,n=gt,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Dn=class extends Di(ne){};function Y(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 i,s;throw Error("[Immer] minified error nr: "+r+(o.length?" "+o.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function le(r){return!!r&&!!r[F]}function te(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 i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===ji}(r)||Array.isArray(r)||!!r[Wn]||!!(!((t=r.constructor)===null||t===void 0)&&t[Wn])||Br(r)||Hr(r))}function Te(r,t,o){o===void 0&&(o=!1),rt(r)===0?(o?Object.keys:tt)(r).forEach(function(n){o&&typeof n=="symbol"||t(n,r[n],r)}):r.forEach(function(n,i){return t(i,n,r)})}function rt(r){var t=r[F];return t?t.i>3?t.i-4:t.i:Array.isArray(r)?1:Br(r)?2:Hr(r)?3:0}function et(r,t){return rt(r)===2?r.has(t):Object.prototype.hasOwnProperty.call(r,t)}function Mi(r,t){return rt(r)===2?r.get(t):r[t]}function jn(r,t,o){var n=rt(r);n===2?r.set(t,o):n===3?r.add(o):r[t]=o}function $n(r,t){return r===t?r!==0||1/r==1/t:r!=r&&t!=t}function Br(r){return Gi&&r instanceof Map}function Hr(r){return Wi&&r instanceof Set}function he(r){return r.o||r.t}function zr(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var t=qn(r);delete t[F];for(var o=tt(t),n=0;n<o.length;n++){var i=o[n],s=t[i];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(t[i]={configurable:!0,writable:!0,enumerable:s.enumerable,value:r[i]})}return Object.create(Object.getPrototypeOf(r),t)}function Gr(r,t){return t===void 0&&(t=!1),Wr(r)||le(r)||!te(r)||(rt(r)>1&&(r.set=r.add=r.clear=r.delete=Ui),Object.freeze(r),t&&Te(r,function(o,n){return Gr(n,!0)},!0)),r}function Ui(){Y(2)}function Wr(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function ae(r){var t=Ur[r];return t||Y(18,r),t}function Bi(r,t){Ur[r]||(Ur[r]=t)}function Fr(){return bt}function kr(r,t){t&&(ae("Patches"),r.u=[],r.s=[],r.v=t)}function Ut(r){Dr(r),r.p.forEach(Hi),r.p=null}function Dr(r){r===bt&&(bt=r.l)}function Mn(r){return bt={p:[],l:bt,h:r,m:!0,_:0}}function Hi(r){var t=r[F];t.i===0||t.i===1?t.j():t.g=!0}function Lr(r,t){t._=t.p.length;var o=t.p[0],n=r!==void 0&&r!==o;return t.h.O||ae("ES5").S(t,r,n),n?(o[F].P&&(Ut(t),Y(4)),te(r)&&(r=Bt(t,r),t.l||Ht(t,r)),t.u&&ae("Patches").M(o[F].t,r,t.u,t.s)):r=Bt(t,o,[]),Ut(t),t.u&&t.v(t.u,t.s),r!==Kn?r:void 0}function Bt(r,t,o){if(Wr(t))return t;var n=t[F];if(!n)return Te(t,function(d,u){return Un(r,n,t,d,u,o)},!0),t;if(n.A!==r)return t;if(!n.P)return Ht(r,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=zr(n.k):n.o,s=i,c=!1;n.i===3&&(s=new Set(i),i.clear(),c=!0),Te(s,function(d,u){return Un(r,n,i,d,u,o,c)}),Ht(r,i,!1),o&&r.u&&ae("Patches").N(n,o,r.u,r.s)}return n.o}function Un(r,t,o,n,i,s,c){if(le(i)){var d=Bt(r,i,s&&t&&t.i!==3&&!et(t.R,n)?s.concat(n):void 0);if(jn(o,n,d),!le(d))return;r.m=!1}else c&&o.add(i);if(te(i)&&!Wr(i)){if(!r.h.D&&r._<1)return;Bt(r,i),t&&t.A.l||Ht(r,i)}}function Ht(r,t,o){o===void 0&&(o=!1),!r.l&&r.h.D&&r.m&&Gr(t,o)}function Pr(r,t){var o=r[F];return(o?he(o):r)[t]}function Bn(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 ye(r){r.P||(r.P=!0,r.l&&ye(r.l))}function Nr(r){r.o||(r.o=zr(r.t))}function Mr(r,t,o){var n=Br(t)?ae("MapSet").F(t,o):Hr(t)?ae("MapSet").T(t,o):r.O?function(i,s){var c=Array.isArray(i),d={i:c?1:0,A:s?s.A:Fr(),P:!1,I:!1,R:{},l:s,t:i,k:null,o:null,j:null,C:!1},u=d,f=xt;c&&(u=[d],f=mt);var h=Proxy.revocable(u,f),y=h.revoke,g=h.proxy;return d.k=g,d.j=y,g}(t,o):ae("ES5").J(t,o);return(o?o.A:Fr()).p.push(n),n}function zi(r){return le(r)||Y(22,r),function t(o){if(!te(o))return o;var n,i=o[F],s=rt(o);if(i){if(!i.P&&(i.i<4||!ae("ES5").K(i)))return i.t;i.I=!0,n=Hn(o,s),i.I=!1}else n=Hn(o,s);return Te(n,function(c,d){i&&Mi(i.t,c)===d||jn(n,c,t(d))}),s===3?new Set(n):n}(r)}function Hn(r,t){switch(t){case 2:return new Map(r);case 3:return Array.from(r)}return zr(r)}function Vn(){function r(c,d){var u=s[c];return u?u.enumerable=d:s[c]=u={configurable:!0,enumerable:d,get:function(){var f=this[F];return xt.get(f,c)},set:function(f){var h=this[F];xt.set(h,c,f)}},u}function t(c){for(var d=c.length-1;d>=0;d--){var u=c[d][F];if(!u.P)switch(u.i){case 5:n(u)&&ye(u);break;case 4:o(u)&&ye(u)}}}function o(c){for(var d=c.t,u=c.k,f=tt(u),h=f.length-1;h>=0;h--){var y=f[h];if(y!==F){var g=d[y];if(g===void 0&&!et(d,y))return!0;var v=u[y],b=v&&v[F];if(b?b.t!==g:!$n(v,g))return!0}}var S=!!d[F];return f.length!==tt(d).length+(S?0:1)}function n(c){var d=c.k;if(d.length!==c.t.length)return!0;var u=Object.getOwnPropertyDescriptor(d,d.length-1);if(u&&!u.get)return!0;for(var f=0;f<d.length;f++)if(!d.hasOwnProperty(f))return!0;return!1}function i(c){c.g&&Y(3,JSON.stringify(he(c)))}var s={};Bi("ES5",{J:function(c,d){var u=Array.isArray(c),f=function(y,g){if(y){for(var v=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(v,""+b,r(b,!0));return v}var S=qn(g);delete S[F];for(var w=tt(S),I=0;I<w.length;I++){var R=w[I];S[R]=r(R,y||!!S[R].enumerable)}return Object.create(Object.getPrototypeOf(g),S)}(u,c),h={i:u?5:4,A:d?d.A:Fr(),P:!1,I:!1,R:{},l:d,t:c,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,F,{value:h,writable:!0}),f},S:function(c,d,u){u?le(d)&&d[F].A===c&&t(c.p):(c.u&&function f(h){if(h&&typeof h=="object"){var y=h[F];if(y){var g=y.t,v=y.k,b=y.R,S=y.i;if(S===4)Te(v,function(_){_!==F&&(g[_]!==void 0||et(g,_)?b[_]||f(v[_]):(b[_]=!0,ye(y)))}),Te(g,function(_){v[_]!==void 0||et(v,_)||(b[_]=!1,ye(y))});else if(S===5){if(n(y)&&(ye(y),b.length=!0),v.length<g.length)for(var w=v.length;w<g.length;w++)b[w]=!1;else for(var I=g.length;I<v.length;I++)b[I]=!0;for(var R=Math.min(v.length,g.length),L=0;L<R;L++)v.hasOwnProperty(L)||(b[L]=!0),b[L]===void 0&&f(v[L])}}}}(c.p[0]),t(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var zn,bt,jr=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Gi=typeof Map<"u",Wi=typeof Set<"u",Gn=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Kn=jr?Symbol.for("immer-nothing"):((zn={})["immer-nothing"]=!0,zn),Wn=jr?Symbol.for("immer-draftable"):"__$immer_draftable",F=jr?Symbol.for("immer-state"):"__$immer_state";var ji=""+Object.prototype.constructor,tt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,qn=Object.getOwnPropertyDescriptors||function(r){var t={};return tt(r).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(r,o)}),t},Ur={},xt={get:function(r,t){if(t===F)return r;var o=he(r);if(!et(o,t))return function(i,s,c){var d,u=Bn(s,c);return u?"value"in u?u.value:(d=u.get)===null||d===void 0?void 0:d.call(i.k):void 0}(r,o,t);var n=o[t];return r.I||!te(n)?n:n===Pr(r.t,t)?(Nr(r),r.o[t]=Mr(r.A.h,n,r)):n},has:function(r,t){return t in he(r)},ownKeys:function(r){return Reflect.ownKeys(he(r))},set:function(r,t,o){var n=Bn(he(r),t);if(n?.set)return n.set.call(r.k,o),!0;if(!r.P){var i=Pr(he(r),t),s=i?.[F];if(s&&s.t===o)return r.o[t]=o,r.R[t]=!1,!0;if($n(o,i)&&(o!==void 0||et(r.t,t)))return!0;Nr(r),ye(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 Pr(r.t,t)!==void 0||t in r.t?(r.R[t]=!1,Nr(r),ye(r)):delete r.R[t],r.o&&delete r.o[t],!0},getOwnPropertyDescriptor:function(r,t){var o=he(r),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:r.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Y(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){Y(12)}},mt={};Te(xt,function(r,t){mt[r]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),mt.deleteProperty=function(r,t){return mt.set.call(this,r,t,void 0)},mt.set=function(r,t,o){return xt.set.call(this,r[0],t,o,r[0])};var $i=function(){function r(o){var n=this;this.O=Gn,this.D=!0,this.produce=function(i,s,c){if(typeof i=="function"&&typeof s!="function"){var d=s;s=i;var u=n;return function(S){var w=this;S===void 0&&(S=d);for(var I=arguments.length,R=Array(I>1?I-1:0),L=1;L<I;L++)R[L-1]=arguments[L];return u.produce(S,function(_){var H;return(H=s).call.apply(H,[w,_].concat(R))})}}var f;if(typeof s!="function"&&Y(6),c!==void 0&&typeof c!="function"&&Y(7),te(i)){var h=Mn(n),y=Mr(n,i,void 0),g=!0;try{f=s(y),g=!1}finally{g?Ut(h):Dr(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(S){return kr(h,c),Lr(S,h)},function(S){throw Ut(h),S}):(kr(h,c),Lr(f,h))}if(!i||typeof i!="object"){if((f=s(i))===void 0&&(f=i),f===Kn&&(f=void 0),n.D&&Gr(f,!0),c){var v=[],b=[];ae("Patches").M(i,f,v,b),c(v,b)}return f}Y(21,i)},this.produceWithPatches=function(i,s){if(typeof i=="function")return function(f){for(var h=arguments.length,y=Array(h>1?h-1:0),g=1;g<h;g++)y[g-1]=arguments[g];return n.produceWithPatches(f,function(v){return i.apply(void 0,[v].concat(y))})};var c,d,u=n.produce(i,s,function(f,h){c=f,d=h});return typeof Promise<"u"&&u instanceof Promise?u.then(function(f){return[f,c,d]}):[u,c,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){te(o)||Y(8),le(o)&&(o=zi(o));var n=Mn(this),i=Mr(this,o,void 0);return i[F].C=!0,Dr(n),i},t.finishDraft=function(o,n){var i=o&&o[F],s=i.A;return kr(s,n),Lr(void 0,s)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!Gn&&Y(20),this.O=o},t.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var s=n[i];if(s.path.length===0&&s.op==="replace"){o=s.value;break}}i>-1&&(n=n.slice(i+1));var c=ae("Patches").$;return le(o)?c(o,n):this.produce(o,function(d){return c(d,n)})},r}(),V=new $i,Vi=V.produce,Vf=V.produceWithPatches.bind(V),Kf=V.setAutoFreeze.bind(V),qf=V.setUseProxies.bind(V),Zf=V.applyPatches.bind(V),Yf=V.createDraft.bind(V),Qf=V.finishDraft.bind(V),zt=Vi;function _e(r){"@babel/helpers - typeof";return _e=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},_e(r)}function Zn(r,t){if(_e(r)!="object"||!r)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var n=o.call(r,t||"default");if(_e(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(r)}function Yn(r){var t=Zn(r,"string");return _e(t)=="symbol"?t:t+""}function Qn(r,t,o){return(t=Yn(t))in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o,r}function Xn(r,t){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),o.push.apply(o,n)}return o}function $r(r){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Xn(Object(o),!0).forEach(function(n){Qn(r,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):Xn(Object(o)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(o,n))})}return r}function W(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 Jn=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Vr=function(){return Math.random().toString(36).substring(7).split("").join(".")},Gt={INIT:"@@redux/INIT"+Vr(),REPLACE:"@@redux/REPLACE"+Vr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Vr()}};function Ki(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 Kr(r,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(W(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(W(1));return o(Kr)(r,t)}if(typeof r!="function")throw new Error(W(2));var i=r,s=t,c=[],d=c,u=!1;function f(){d===c&&(d=c.slice())}function h(){if(u)throw new Error(W(3));return s}function y(S){if(typeof S!="function")throw new Error(W(4));if(u)throw new Error(W(5));var w=!0;return f(),d.push(S),function(){if(w){if(u)throw new Error(W(6));w=!1,f();var R=d.indexOf(S);d.splice(R,1),c=null}}}function g(S){if(!Ki(S))throw new Error(W(7));if(typeof S.type>"u")throw new Error(W(8));if(u)throw new Error(W(9));try{u=!0,s=i(s,S)}finally{u=!1}for(var w=c=d,I=0;I<w.length;I++){var R=w[I];R()}return S}function v(S){if(typeof S!="function")throw new Error(W(10));i=S,g({type:Gt.REPLACE})}function b(){var S,w=y;return S={subscribe:function(R){if(typeof R!="object"||R===null)throw new Error(W(11));function L(){R.next&&R.next(h())}L();var _=w(L);return{unsubscribe:_}}},S[Jn]=function(){return this},S}return g({type:Gt.INIT}),n={dispatch:g,subscribe:y,getState:h,replaceReducer:v},n[Jn]=b,n}function qi(r){Object.keys(r).forEach(function(t){var o=r[t],n=o(void 0,{type:Gt.INIT});if(typeof n>"u")throw new Error(W(12));if(typeof o(void 0,{type:Gt.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(W(13))})}function ea(r){for(var t=Object.keys(r),o={},n=0;n<t.length;n++){var i=t[n];typeof r[i]=="function"&&(o[i]=r[i])}var s=Object.keys(o),c,d;try{qi(o)}catch(u){d=u}return function(f,h){if(f===void 0&&(f={}),d)throw d;if(0)var y;for(var g=!1,v={},b=0;b<s.length;b++){var S=s[b],w=o[S],I=f[S],R=w(I,h);if(typeof R>"u"){var L=h&&h.type;throw new Error(W(14))}v[S]=R,g=g||R!==I}return g=g||s.length!==Object.keys(f).length,g?v:f}}function ot(){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,i){return function(){return n(i.apply(void 0,arguments))}})}function ta(){for(var r=arguments.length,t=new Array(r),o=0;o<r;o++)t[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),s=function(){throw new Error(W(15))},c={getState:i.getState,dispatch:function(){return s.apply(void 0,arguments)}},d=t.map(function(u){return u(c)});return s=ot.apply(void 0,d)(i.dispatch),$r($r({},i),{},{dispatch:s})}}}function ra(r){var t=function(n){var i=n.dispatch,s=n.getState;return function(c){return function(d){return typeof d=="function"?d(i,s,r):c(d)}}};return t}var oa=ra();oa.withExtraArgument=ra;var qr=oa;var ca=function(){var r=function(t,o){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[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)}}(),Zi=function(r,t){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,c;return c={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function d(f){return function(h){return u([f,h])}}function u(f){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(s=f[0]&2?i.return:f[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,f[1])).done)return s;switch(i=0,s&&(f=[f[0]&2,s.value]),f[0]){case 0:case 1:s=f;break;case 4:return o.label++,{value:f[1],done:!1};case 5:o.label++,i=f[1],f=[0];continue;case 7:f=o.ops.pop(),o.trys.pop();continue;default:if(s=o.trys,!(s=s.length>0&&s[s.length-1])&&(f[0]===6||f[0]===2)){o=0;continue}if(f[0]===3&&(!s||f[1]>s[0]&&f[1]<s[3])){o.label=f[1];break}if(f[0]===6&&o.label<s[1]){o.label=s[1],s=f;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(f);break}s[2]&&o.ops.pop(),o.trys.pop();continue}f=t.call(r,o)}catch(h){f=[6,h],i=0}finally{n=s=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},nt=function(r,t){for(var o=0,n=t.length,i=r.length;o<n;o++,i++)r[i]=t[o];return r},Yi=Object.defineProperty,Qi=Object.defineProperties,Xi=Object.getOwnPropertyDescriptors,na=Object.getOwnPropertySymbols,Ji=Object.prototype.hasOwnProperty,es=Object.prototype.propertyIsEnumerable,aa=function(r,t,o){return t in r?Yi(r,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[t]=o},ge=function(r,t){for(var o in t||(t={}))Ji.call(t,o)&&aa(r,o,t[o]);if(na)for(var n=0,i=na(t);n<i.length;n++){var o=i[n];es.call(t,o)&&aa(r,o,t[o])}return r},Zr=function(r,t){return Qi(r,Xi(t))},ts=function(r,t,o){return new Promise(function(n,i){var s=function(u){try{d(o.next(u))}catch(f){i(f)}},c=function(u){try{d(o.throw(u))}catch(f){i(f)}},d=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(s,c)};d((o=o.apply(r,t)).next())})};var rs=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ot:ot.apply(null,arguments)},yp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function os(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 ns=function(r){ca(t,r);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=r.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}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,nt([void 0],o[0].concat(this)))):new(t.bind.apply(t,nt([void 0],o.concat(this))))},t}(Array),as=function(r){ca(t,r);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=r.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}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,nt([void 0],o[0].concat(this)))):new(t.bind.apply(t,nt([void 0],o.concat(this))))},t}(Array);function Xr(r){return te(r)?zt(r,function(){}):r}function is(r){return typeof r=="boolean"}function ss(){return function(t){return cs(t)}}function cs(r){r===void 0&&(r={});var t=r.thunk,o=t===void 0?!0:t,n=r.immutableCheck,i=n===void 0?!0:n,s=r.serializableCheck,c=s===void 0?!0:s,d=new ns;if(o&&(is(o)?d.push(qr):d.push(qr.withExtraArgument(o.extraArgument))),0){if(i)var u;if(c)var f}return d}var Yr=!0;function la(r){var t=ss(),o=r||{},n=o.reducer,i=n===void 0?void 0:n,s=o.middleware,c=s===void 0?t():s,d=o.devTools,u=d===void 0?!0:d,f=o.preloadedState,h=f===void 0?void 0:f,y=o.enhancers,g=y===void 0?void 0:y,v;if(typeof i=="function")v=i;else if(os(i))v=ea(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 b=c;if(typeof b=="function"&&(b=b(t),!Yr&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Yr&&b.some(function(_){return typeof _!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=ta.apply(void 0,b),w=ot;u&&(w=rs(ge({trace:!Yr},typeof u=="object"&&u)));var I=new as(S),R=I;Array.isArray(g)?R=nt([S],g):typeof g=="function"&&(R=g(I));var L=w.apply(void 0,R);return Kr(v,h,L)}function me(r,t){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var s=t.apply(void 0,n);if(!s)throw new Error("prepareAction did not return an object");return ge(ge({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 da(r){var t={},o=[],n,i={addCase:function(s,c){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]=c,i},addMatcher:function(s,c){return o.push({matcher:s,reducer:c}),i},addDefaultCase:function(s){return n=s,i}};return r(i),[t,o,n]}function ls(r){return typeof r=="function"}function ds(r,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?da(t):[t,o,n],s=i[0],c=i[1],d=i[2],u;if(ls(r))u=function(){return Xr(r())};else{var f=Xr(r);u=function(){return f}}function h(y,g){y===void 0&&(y=u());var v=nt([s[g.type]],c.filter(function(b){var S=b.matcher;return S(g)}).map(function(b){var S=b.reducer;return S}));return v.filter(function(b){return!!b}).length===0&&(v=[d]),v.reduce(function(b,S){if(S)if(le(b)){var w=b,I=S(w,g);return I===void 0?b:I}else{if(te(b))return zt(b,function(R){return S(R,g)});var I=S(b,g);if(I===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return I}return b},y)}return h.getInitialState=u,h}function us(r,t){return r+"/"+t}function ua(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:Xr(r.initialState),n=r.reducers||{},i=Object.keys(n),s={},c={},d={};i.forEach(function(h){var y=n[h],g=us(t,h),v,b;"reducer"in y?(v=y.reducer,b=y.prepare):v=y,s[h]=v,c[g]=v,d[h]=b?me(g,b):me(g)});function u(){var h=typeof r.extraReducers=="function"?da(r.extraReducers):[r.extraReducers],y=h[0],g=y===void 0?{}:y,v=h[1],b=v===void 0?[]:v,S=h[2],w=S===void 0?void 0:S,I=ge(ge({},g),c);return ds(o,function(R){for(var L in I)R.addCase(L,I[L]);for(var _=0,H=b;_<H.length;_++){var J=H[_];R.addMatcher(J.matcher,J.reducer)}w&&R.addDefaultCase(w)})}var f;return{name:t,reducer:function(h,y){return f||(f=u()),f(h,y)},actions:d,caseReducers:s,getInitialState:function(){return f||(f=u()),f.getInitialState()}}}var fs="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ps=function(r){r===void 0&&(r=21);for(var t="",o=r;o--;)t+=fs[Math.random()*64|0];return t},hs=["name","message","stack","code"],Qr=function(){function r(t,o){this.payload=t,this.meta=o}return r}(),ia=function(){function r(t,o){this.payload=t,this.meta=o}return r}(),ys=function(r){if(typeof r=="object"&&r!==null){for(var t={},o=0,n=hs;o<n.length;o++){var i=n[o];typeof r[i]=="string"&&(t[i]=r[i])}return t}return{message:String(r)}},xp=function(){function r(t,o,n){var i=me(t+"/fulfilled",function(h,y,g,v){return{payload:h,meta:Zr(ge({},v||{}),{arg:g,requestId:y,requestStatus:"fulfilled"})}}),s=me(t+"/pending",function(h,y,g){return{payload:void 0,meta:Zr(ge({},g||{}),{arg:y,requestId:h,requestStatus:"pending"})}}),c=me(t+"/rejected",function(h,y,g,v,b){return{payload:v,error:(n&&n.serializeError||ys)(h||"Rejected"),meta:Zr(ge({},b||{}),{arg:g,requestId:y,rejectedWithValue:!!v,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 f(h){return function(y,g,v){var b=n?.idGenerator?n.idGenerator(h):ps(),S=new u,w,I=!1;function R(_){w=_,S.abort()}var L=function(){return ts(this,null,function(){var _,H,J,ve,j,Se,Fe;return Zi(this,function(p){switch(p.label){case 0:return p.trys.push([0,4,,5]),ve=(_=n?.condition)==null?void 0:_.call(n,h,{getState:g,extra:v}),ms(ve)?[4,ve]:[3,2];case 1:ve=p.sent(),p.label=2;case 2:if(ve===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,j=new Promise(function(m,A){return S.signal.addEventListener("abort",function(){return A({name:"AbortError",message:w||"Aborted"})})}),y(s(b,h,(H=n?.getPendingMeta)==null?void 0:H.call(n,{requestId:b,arg:h},{getState:g,extra:v}))),[4,Promise.race([j,Promise.resolve(o(h,{dispatch:y,getState:g,extra:v,requestId:b,signal:S.signal,abort:R,rejectWithValue:function(m,A){return new Qr(m,A)},fulfillWithValue:function(m,A){return new ia(m,A)}})).then(function(m){if(m instanceof Qr)throw m;return m instanceof ia?i(m.payload,b,h,m.meta):i(m,b,h)})])];case 3:return J=p.sent(),[3,5];case 4:return Se=p.sent(),J=Se instanceof Qr?c(null,b,h,Se.payload,Se.meta):c(Se,b,h),[3,5];case 5:return Fe=n&&!n.dispatchConditionRejection&&c.match(J)&&J.meta.condition,Fe||y(J),[2,J]}})})}();return Object.assign(L,{abort:R,requestId:b,arg:h,unwrap:function(){return L.then(gs)}})}}return Object.assign(f,{pending:s,rejected:c,fulfilled:i,typePrefix:t})}return r.withTypes=function(){return r},r}();function gs(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function ms(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var fa="listener",pa="completed",ha="cancelled",vp="task-"+ha,Sp="task-"+pa,Cp=fa+"-"+ha,Op=fa+"-"+pa;var Jr="listenerMiddleware";var Ep=me(Jr+"/add"),Ap=me(Jr+"/removeAll"),wp=me(Jr+"/remove");var sa,Ip=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(sa||(sa=Promise.resolve())).then(r).catch(function(t){return setTimeout(function(){throw t},0)})},bs=function(r){return function(t){setTimeout(t,r)}},Rp=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:bs(10);Vn();var xs=Lt(Symbol("withEventBus"),function(r,t){return class extends r{constructor(){super(...arguments),this.eventBus=t??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)}}}),Wt=class extends xs(Object){};window.ftReduxStores||(window.ftReduxStores={});var ya=class r extends Wt{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,s=window.ftReduxStores[n];if(Mt(s))return s;if(i==null)return;let c=ua({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),d=la({reducer:(u,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let h=En(c.getInitialState());for(let y of f.keeping)h[y]=(u??h)[y];return h}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...u,...f.overwrites};return c.reducer(u,f)}});return window.ftReduxStores[i.name]=new r(c,d,i.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Pt;let i=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,c,d)=>{let u=c,f=s[u];return f?(...h)=>{let y=f(...h.map(i));return this.reduxStore.dispatch(y),y}:h=>{this.setState({[u]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var jt=class{static format(t,o,n,i){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,i)):this.getIntlDateTime(t,o,n,i)}static getMomentDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,i){let s=typeof t=="string"?new Date(t):t,c=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(s);if(!i)return c;let d=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(s);return`${c} ${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 $t=E(P()),vs="ft-app-info",ke=class r extends CustomEvent{constructor(t){super(r.eventName,{detail:t})}};ke.eventName="authentication-change";var Ss={session:(r,t)=>{(0,$t.deepEqual)(r.session,t.payload)||(r.session=t.payload,setTimeout(()=>C.dispatchEvent(new ke(t.payload)),0))}},C=$t.FtReduxStore.get({name:vs,reducers:Ss,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 ga=E(P()),Vt=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;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--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},rh=(0,ga.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(C)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,s;return((s=(i=this.metadataDescriptors.find(d=>d.key===n))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1)?d=>jt.format(d,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Vt([(0,eo.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Vt([(0,eo.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Vt([_r({store:C.name,selector:o=>{var n,i;return(i=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],t.prototype,"metadataDescriptors",void 0),Vt([_r({store:C.name})],t.prototype,"uiLocale",void 0),t});var Os=E(ba(),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 va;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(va||(va={}));var Sa;(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"})(Sa||(Sa={}));var Ca;(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"})(Ca||(Ca={}));var Oa;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(Oa||(Oa={}));var Ea;(function(r){r.VALUE="VALUE",r.DATE="DATE",r.RANGE="RANGE"})(Ea||(Ea={}));var Aa;(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.CHATBOT__RATE="CHATBOT__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__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",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__AI_TRANSLATE="TOPIC__AI_TRANSLATE",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"})(Aa||(Aa={}));var wa;(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"})(wa||(wa={}));var Ia;(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",r.LINK_PREVIEW="LINK_PREVIEW"})(Ia||(Ia={}));var Ra;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(Ra||(Ra={}));var Ta;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(Ta||(Ta={}));var _a;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(_a||(_a={}));var ka;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(ka||(ka={}));var La;(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"})(La||(La={}));var to;(function(r){r.OPTIONAL="OPTIONAL",r.MANDATORY="MANDATORY"})(to||(to={}));var Pa;(function(r){r.ASC="ASC",r.DESC="DESC"})(Pa||(Pa={}));var Na;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(Na||(Na={}));var ro;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(ro||(ro={}));var Fa;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK",r.HTML_PACKAGE="HTML_PACKAGE"})(Fa||(Fa={}));var Da;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(Da||(Da={}));var Ma;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK",r.HTML_PACKAGE="HTML_PACKAGE"})(Ma||(Ma={}));var Ua;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(Ua||(Ua={}));var Ba;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.HTML_PACKAGE="HTML_PACKAGE",r.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Ba||(Ba={}));var oo;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS",r.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(oo||(oo={}));var Ha;(function(r){r.PLAIN_TEXT="PLAIN_TEXT",r.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",r.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Ha||(Ha={}));var M;(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"})(M||(M={}));var Q;(function(r){r.SEARCHES="SEARCHES",r.BOOKMARKS="BOOKMARKS",r.BOOKS="BOOKS",r.COLLECTIONS="COLLECTIONS"})(Q||(Q={}));var za;(function(r){r.UNAUTHENTICATED="UNAUTHENTICATED",r.USER_INCOMPLETE="USER_INCOMPLETE",r.MFA_REQUIRED="MFA_REQUIRED",r.AUTHENTICATED="AUTHENTICATED"})(za||(za={}));var Ga;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(Ga||(Ga={}));var Wa;(function(r){r.JSON="JSON",r.TEXT="TEXT"})(Wa||(Wa={}));var ja;(function(r){r.USER="USER",r.ASSISTANT="ASSISTANT"})(ja||(ja={}));var $a;(function(r){r.TEXT="TEXT",r.HTML="HTML"})($a||($a={}));var Va;(function(r){r.HTML="HTML",r.MARKDOWN="MARKDOWN"})(Va||(Va={}));var Cs={[M.PERSONAL_BOOK_SHARE_USER]:[M.PERSONAL_BOOK_USER],[M.HTML_EXPORT_USER]:[M.PERSONAL_BOOK_USER],[M.PDF_EXPORT_USER]:[M.PERSONAL_BOOK_USER],[M.KHUB_ADMIN]:[M.CONTENT_PUBLISHER],[M.ADMIN]:[M.KHUB_ADMIN,M.USERS_ADMIN,M.PORTAL_ADMIN],[M.GENERATIVE_AI_EXPORT_USER]:[M.GENERATIVE_AI_USER]};function Ka(r,t){return r===t||(Cs[r]??[]).some(o=>Ka(o,t))}function qa(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=>Ka(n,t))}var er=E(P());var no=E(P());var Le=class r{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=C.getState(),i=t??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(t){return new Promise(o=>{let n=r.get(t);if(n)o(n);else{let i=C.subscribe(()=>{n=r.get(t),n&&(i(),o(n))})}})}};var Zt=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Le.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Le.await()}};var $=class extends Zt{constructor(t=!0,o){var n;super(o),this.sortObjectFields=(s,c)=>typeof c!="object"||c==null||Array.isArray(c)?c:Object.fromEntries(Object.entries(c).sort(([d],[u])=>d.localeCompare(u)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new no.CacheRegistry,this.cache=t?i.commonCache:new no.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 Yt=class extends ${async listMySearches(){let{session:t}=C.getState();return qa(t,M.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Qt=class extends ${async listMyBookmarks(){let t=C.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var Xt=class extends ${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=C.getState().session;return!!t?.sessionAuthenticated}};var Jt=class extends ${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=C.getState().session;return!!t?.sessionAuthenticated}};var Es="ft-user-assets",As={setAssetCount:(r,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;r.assetCounts.allAsset[o]=n},clearAssetCount:r=>{Object.values(Q).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:i}=t.payload;io(r,o,[...ao(r,o),i]),Za(r,o,1,n),Ya(r,i)},editAsset:(r,t)=>{let{assetType:o,asset:n}=t.payload;io(r,o,ao(r,o).map(i=>i.id===n.id?n:i)),Ya(r,n)},removeAsset:(r,t)=>{let{assetType:o,mapId:n,assetId:i}=t.payload;io(r,o,ao(r,o).filter(s=>s.id!==i)),Za(r,o,-1,n)}},Qa={[Q.SEARCHES]:"savedSearches",[Q.BOOKMARKS]:"bookmarks",[Q.BOOKS]:void 0,[Q.COLLECTIONS]:void 0},ao=(r,t)=>{var o;let n=Qa[t];return n?(o=r[n])!==null&&o!==void 0?o:[]:[]},io=(r,t,o)=>{let n=Qa[t];n&&(r[n]=o)},Za=(r,t,o,n)=>{let i=r.assetCounts.allAsset[t];if(i!==void 0&&(r.assetCounts.allAsset[t]=Math.max(0,i+o),t===Q.BOOKMARKS&&n)){let s=r.assetCounts.bookmarkByMap[n];r.assetCounts.bookmarkByMap[n]=Math.max(0,s+o)}},Ya=(r,t)=>{let o=r.assetLabels.map(i=>i.title),n=t.labels.filter(i=>!o.includes(i)).map(i=>({title:i}));r.assetLabels.push(...n)},K=er.FtReduxStore.get({name:Es,reducers:As,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Q).map(r=>[r,void 0])),bookmarkByMap:{}},assetLabels:[]}}),so=class{constructor(t=new Xt,o=new Jt){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=C.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Qt,this.savedSearchesService=new Yt,C.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=C.getState();(0,er.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(),K.actions.clearAssetCount(),K.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),K.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),K.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();K.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();K.actions.assetLabels(t)}async loadAssetCount(t){let o=await this.assetCountsService.getUserAssetCount(t);o&&K.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&K.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(K.getState().assetCounts.bookmarkByMap).length!==0;t===Q.BOOKMARKS&&o&&K.actions.clearBookmarkCountByMap(),K.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;K.actions.bookmarks(o)}}},ws=new so;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=ws);var co=class{addCommand(t,o=!1){C.commands.add(t,o)}consumeCommand(t){return C.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new co;var X=E(P());var Xa,it=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},Is=Symbol("clearAfterUnitTest"),tr=class extends(0,X.withEventBus)($){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Xa]=()=>{this.defaultMessages={},this.cache=new X.CacheRegistry,this.listeners={}},this.currentUiLocale=C.getState().uiLocale,C.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=C.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 i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,X.deepEqual)(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,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 i;let s=t.toLowerCase(),c=this.resolveContext(s);return new X.ParametrizedLabelResolver((i=this.defaultMessages[s])!==null&&i!==void 0?i:{},c).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(i){!(i instanceof X.CanceledPromiseError)&&o&&console.error(i)}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 i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new it({loadedContexts:t})),this.dispatchEvent(new it({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new it({loadedContexts:[t]})),this.dispatchEvent(new it({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,X.delay)(0).then(()=>n()).catch(()=>null)))}};Xa=Is;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends tr{constructor(){super(async(r,t)=>(await this.awaitApi).getFluidTopicsMessageContext(r,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends tr{constructor(){super(async(r,t)=>(await this.awaitApi).getCustomMessageContext(r,t))}});var st=window.FluidTopicsI18nService,rr=window.FluidTopicsCustomI18nService;var Ja=E(P()),lo=class{highlightHtml(t,o,n){(0,Ja.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new lo;var ei=E(P());var uo=class{isDate(t){var o,n,i,s;return(s=(i=((n=(o=C.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===t))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1}format(t,o){var n,i,s;if(t==null)return"";try{return ei.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:C.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(s=o?.withTime)!==null&&s!==void 0?s:!1)}catch(c){throw console.error(`Date ${JSON.stringify(t)} is not valid`,c),c}}};window.FluidTopicsDateService=new uo;var ti=E(P());var Pe=class{static get(t,o){var n,i;let s=C.getState(),{lang:c,region:d}=(i=(n=s.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new ti.SearchPlaceConverter(s.baseUrl,t??20,s.searchInAllLanguagesAllowed,o??`${c}-${d}`)}};var fo=class{urlToSearchRequest(t){return Pe.get().parse(t)}searchRequestToUrl(t){return Pe.get().serialize(t)}};window.FluidTopicsUrlService=new fo;var xe=E(P());var Ne=class r extends CustomEvent{constructor(t){super(r.eventName,{detail:{currentItem:t}})}};Ne.eventName="change";var po=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))}},ri=new po;var or=class r extends xe.WithEventBus{static build(){return new r(window.history,ri,()=>window.location,!1)}constructor(t,o,n,i){var s,c;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(c=(s=t.state)===null||s===void 0?void 0:s.index)!==null&&c!==void 0?c:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}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,xe.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Ne(this.currentItem())),0)}installProxies(){let t=o=>(n,i,[s,c,d])=>{let u=o(),f={...u===this.currentIndex?this.currentState:void 0,...s,index:u,href:typeof d=="string"?d:(d??this.windowLocation()).href};n.apply(i,[f,c,d]),this.setCurrentState(f,!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(Ne.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Ne.eventName,t)}currentItem(){return(0,xe.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,xe.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,xe.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 i=t,s=t+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(i=s),s++;return i}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 i=o??this.currentState.majorStateId,s=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=i}};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 oi=E(ee());var ni=oi.css`
|
|
143
|
+
`;var ii=E(ee()),G=E(q()),re=E(P());function ai(r,t){let{authenticationRequired:o,session:n}=C.getState();return o&&!n?.sessionAuthenticated?Promise.resolve(t):r()}var U=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;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--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},N=class extends re.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=()=>Le.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new re.CacheRegistry,this.cleanSessionDebouncer=new re.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return ii.html`
|
|
144
144
|
<slot></slot>
|
|
145
|
-
`}connectedCallback(){super.connectedCallback(),C.addEventListener(
|
|
146
|
-
`;var cr=
|
|
145
|
+
`}connectedCallback(){super.connectedCallback(),C.addEventListener(ke.eventName,this.reloadConfiguration)}disconnectedCallback(){C.addEventListener(ke.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var o,n,i,s,c,d,u;super.update(t),t.has("baseUrl")&&(C.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&C.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&C.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&C.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&C.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&C.actions.noCustom(this.noCustom),t.has("editorMode")&&C.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&C.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&C.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(f=>st.addContext(f)),t.has("openExternalDocumentInNewTab")&&C.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&C.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&C.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(C.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),C.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),C.actions.searchInAllLanguagesAllowed((c=(s=this.localesConfiguration)===null||s===void 0?void 0:s.allLanguagesAllowed)!==null&&c!==void 0?c:!1)),t.has("authenticationRequired")&&C.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&C.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",()=>ai(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};N.elementDefinitions={};N.styles=ni;U([(0,G.property)()],N.prototype,"baseUrl",void 0);U([(0,G.property)()],N.prototype,"apiIntegrationIdentifier",void 0);U([(0,G.property)()],N.prototype,"apiIntegrationAppVersion",void 0);U([(0,G.property)()],N.prototype,"uiLocale",void 0);U([(0,re.jsonProperty)(null)],N.prototype,"availableUiLocales",void 0);U([(0,re.jsonProperty)(null)],N.prototype,"metadataConfiguration",void 0);U([(0,G.property)({type:Boolean})],N.prototype,"editorMode",void 0);U([(0,G.property)({type:Boolean})],N.prototype,"noCustom",void 0);U([(0,G.property)({type:Boolean})],N.prototype,"openExternalDocumentInNewTab",void 0);U([(0,G.property)({converter:{fromAttribute(r){return r==="false"?!1:r==="true"||(r??!1)}}})],N.prototype,"noCustomComponent",void 0);U([(0,G.property)({type:Boolean})],N.prototype,"withManualResources",void 0);U([(0,G.property)({type:Boolean})],N.prototype,"navigatorOnline",void 0);U([(0,G.property)({type:Boolean})],N.prototype,"forcedOffline",void 0);U([(0,G.property)({type:Object})],N.prototype,"apiProvider",void 0);U([(0,G.property)({type:Boolean})],N.prototype,"authenticationRequired",void 0);U([(0,re.jsonProperty)([])],N.prototype,"messageContexts",void 0);U([(0,re.jsonProperty)(void 0)],N.prototype,"session",void 0);U([(0,G.state)()],N.prototype,"localesConfiguration",void 0);U([(0,G.state)()],N.prototype,"availableContentLocales",void 0);var si=E(P());(0,si.customElement)("ft-app-context")(N);var nr=class r{static build(t){return new r(t)}static buildCustom(t){return new r(t,!0)}static fromGwt(t){return new r(t)}get service(){return this.custom?rr:st}constructor(t,o=!1){this.name=t,this.custom=o,this.properties=new Proxy({},{get:(n,i)=>{let s=i;return c=>({context:this.name,key:s,custom:this.custom,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(n,i)=>(...s)=>this.service.resolveMessage(this.name,i,...s)}),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)})})}};var ct=E(P());var di=E(q());var ho=class{fromLocalizableLabel(t){return t.type=="PLAIN_TEXT"?{message:t.text}:{key:t.key,custom:t.type=="LOCALIZED_CUSTOM",context:t.context,message:t.key}}fromAttribute(t){if(t!=null)try{return JSON.parse(t)}catch{if(this.isI18nKey(t)){let[o,n]=t.split(".");return{context:o,key:n,custom:o!=="officialContext",message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},ci=new ho;var Rs=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;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--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},Ts=Symbol("i18nAttributes"),_s=Symbol("i18nListAttributes"),ui=Symbol("i18nProperties"),ar=Symbol("i18nContexts"),vt=Symbol("i18nUnsubs"),sr=(0,ct.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?rr:st}i18n(s){let{context:c,key:d,message:u}=s,{custom:f,args:h,argsProvider:y}=s;if(c&&d){this.hasI18nContext(c)||this.addI18nContext(c,void 0,f);let g=h??(y?y(this):[]);return this.getI18nService(f).resolveMessage(c,d,...g)}return u}async awaitI18n(s){let{context:c,custom:d}=s;return c&&await this.getI18nService(d).prepareContext(c),this.i18n(s)}customI18n(s,c){if(ci.isI18nKey(s)){let[d,u]=s.split(".");return this.i18n({custom:!0,context:d,key:u,...c})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((c,d,u)=>s.has(d)||typeof c.argsProvider=="function"),this.updateI18nProperties(c=>typeof c.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((c,d,u)=>{var f;return((f=u?.context)===null||f===void 0?void 0:f.toLowerCase())===s}),this.updateI18nProperties(c=>c.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var c,d;let u=this,f=(h,y,g)=>g?.context&&g.key&&s(h,y,g)?{...g,message:this.i18n({context:g.context,key:g.key,custom:g.custom,...h})}:g;(c=this[Ts])===null||c===void 0||c.forEach((h,y)=>u[y]=f(h,y,u[y])),(d=this[_s])===null||d===void 0||d.forEach((h,y)=>{var g;return u[y]=(g=u[y])===null||g===void 0?void 0:g.map(v=>f(h,y,v))})}updateI18nProperties(s){var c;(c=this[ui])===null||c===void 0||c.forEach((d,u)=>{s(d,u)&&(this[u]=this.i18n(d))})}addI18nMessages(s,c,d){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,c,d)}addI18nContext(s,c,d){let u=(typeof s=="string"?s:s.name).toLowerCase();d=typeof s=="string"?d:s.custom,this[ar].set(u,{isCustomContext:d}),this[vt].has(u)||this[vt].set(u,this.getI18nService(d).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(d).prepareContext(u,c)}hasI18nContext(s){return this[ar].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[ar].forEach((s,c)=>this.addI18nContext(c,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[vt].forEach(s=>s()),this[vt].clear()}}return t=ar,o=vt,Rs([(0,di.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),li=class extends sr(ct.FtLitElement){},ir=class extends sr(ct.FtLitElementRedux){};var fi=E(ee());var pi=fi.css`
|
|
146
|
+
`;var cr=E(ee()),lr=E(q()),dr=E(P());var St=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;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--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},oe=class extends ir{constructor(){super(),this.editorMode=!1,this.addStore(C)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":cr.nothing:cr.html`
|
|
147
147
|
<span class="ft-i18n">
|
|
148
148
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
149
149
|
</span>
|
|
150
|
-
`}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};
|
|
150
|
+
`}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};oe.elementDefinitions={};oe.styles=pi;St([(0,dr.redux)()],oe.prototype,"editorMode",void 0);St([(0,lr.property)()],oe.prototype,"context",void 0);St([(0,lr.property)()],oe.prototype,"key",void 0);St([(0,dr.jsonProperty)([])],oe.prototype,"args",void 0);St([(0,lr.property)()],oe.prototype,"defaultMessage",void 0);var hi=E(P());(0,hi.customElement)("ft-i18n")(oe);var lt=E(P()),go=E(q());var Ct=E(P());var yi=E(P());var ur=class r extends Event{constructor(){super(r.eventName)}};ur.eventName="search-context-clear-all-filters";var gi=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;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--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},mo=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},mi=Symbol("registerInterval"),yo=Symbol("registerAttempts"),ks=40,Ls=(0,lt.applyMixinOnce)(Symbol("toFtSearchComponent"),function(r){class t extends r{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(n){var i,s,c;super.willUpdate(n),n.has("neededSearchRequests")&&((i=this.stateManager)===null||i===void 0||i.unregisterComponent(this,(s=n.get("neededSearchRequests"))!==null&&s!==void 0?s:[]),(c=this.stateManager)===null||c===void 0||c.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[yo]=0,this.tryToRegisterToContext(),this[mi]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[yo]>ks?window.clearInterval(this[mi]):(this[yo]++,this.dispatchEvent(new mo))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return gi([(0,go.state)()],t.prototype,"stateManager",void 0),gi([(0,go.state)({hasChanged:lt.hasChanged})],t.prototype,"neededSearchRequests",void 0),t}),fr=class extends Ls(lt.FtLitElementRedux){};var pr=nr.build("integratedSpellcheckComponent"),bi={resultsFor:"Results for ",noResultsForQuery:'No results for query "{0}"'};var bo=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;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--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},de=class extends sr(fr){constructor(){super(),this.neededSearchRequests=[dt.CLUSTERED_SEARCH],this.addI18nContext(pr,bi)}render(){return this.autocorrect&&this.request&&this.autocorrectLink?hr.html`
|
|
151
151
|
<div class="ft-search-results-spellcheck--spellcheck">
|
|
152
152
|
<div>
|
|
153
153
|
<ft-typography variant="subtitle1">
|
|
@@ -164,7 +164,7 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
164
164
|
${pr.messages.noResultsForQuery(this.request.query)}
|
|
165
165
|
</ft-typography>
|
|
166
166
|
</div>
|
|
167
|
-
`:hr.nothing}update(t){super.update(t),["request","autocorrect"].some(o=>t.has(o))&&this.request&&this.autocorrect&&(this.autocorrectLink=
|
|
167
|
+
`:hr.nothing}update(t){super.update(t),["request","autocorrect"].some(o=>t.has(o))&&this.request&&this.autocorrect&&(this.autocorrectLink=Pe.get().serialize({...this.request,query:this.autocorrect.suggestedQuery}))}};de.elementDefinitions={"ft-typography":se};de.styles=wo;bo([(0,xo.redux)({store:"search"})],de.prototype,"request",void 0);bo([(0,xo.redux)({store:"search",selector:r=>r.spellcheck})],de.prototype,"autocorrect",void 0);bo([(0,xi.state)()],de.prototype,"autocorrectLink",void 0);(0,vi.customElement)("ft-search-results-spellcheck")(de);})();
|
|
168
168
|
/*! Bundled license information:
|
|
169
169
|
|
|
170
170
|
lit-html/lit-html.js:
|