@fluid-topics/ft-switch 1.3.53 → 1.3.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-switch.light.js +32 -32
- package/build/ft-switch.min.js +55 -55
- package/package.json +7 -7
package/build/ft-switch.light.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";(()=>{var Ic=Object.create;var Qn=Object.defineProperty;var Pc=Object.getOwnPropertyDescriptor;var kc=Object.getOwnPropertyNames;var Dc=Object.getPrototypeOf,
|
|
2
|
-
`)===0?D.substr(1,D.length):D}).forEach(function(D){var U=D.split(":"),P=U.shift().trim();if(P){var Sr=U.join(":").trim();try{g.append(P,Sr)}catch(ho){console.warn("Response "+ho.message)}}}),g}w.call(I.prototype);function te(h,g){if(!(this instanceof te))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(g||(g={}),this.type="default",this.status=g.status===void 0?200:g.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=g.statusText===void 0?"":""+g.statusText,this.headers=new f(g.headers),this.url=g.url||"",this._initBody(h)}w.call(te.prototype),te.prototype.clone=function(){return new te(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},te.error=function(){var h=new te(null,{status:200,statusText:""});return h.ok=!1,h.status=0,h.type="error",h};var _e=[301,302,303,307,308];te.redirect=function(h,g){if(_e.indexOf(g)===-1)throw new RangeError("Invalid status code");return new te(null,{status:g,headers:{location:h}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(g,N){this.message=g,this.name=N;var D=Error(g);this.stack=D.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function Y(h,g){return new Promise(function(N,D){var U=new I(h,g);if(U.signal&&U.signal.aborted)return D(new o.DOMException("Aborted","AbortError"));var P=new XMLHttpRequest;function Sr(){P.abort()}P.onload=function(){var X={statusText:P.statusText,headers:Le(P.getAllResponseHeaders()||"")};U.url.indexOf("file://")===0&&(P.status<200||P.status>599)?X.status=200:X.status=P.status,X.url="responseURL"in P?P.responseURL:X.headers.get("X-Request-URL");var ot="response"in P?P.response:P.responseText;setTimeout(function(){N(new te(ot,X))},0)},P.onerror=function(){setTimeout(function(){D(new TypeError("Network request failed"))},0)},P.ontimeout=function(){setTimeout(function(){D(new TypeError("Network request timed out"))},0)},P.onabort=function(){setTimeout(function(){D(new o.DOMException("Aborted","AbortError"))},0)};function ho(X){try{return X===""&&n.location.href?n.location.href:X}catch{return X}}if(P.open(U.method,ho(U.url),!0),U.credentials==="include"?P.withCredentials=!0:U.credentials==="omit"&&(P.withCredentials=!1),"responseType"in P&&(a.blob?P.responseType="blob":a.arrayBuffer&&(P.responseType="arraybuffer")),g&&typeof g.headers=="object"&&!(g.headers instanceof f||n.Headers&&g.headers instanceof n.Headers)){var Jn=[];Object.getOwnPropertyNames(g.headers).forEach(function(X){Jn.push(u(X)),P.setRequestHeader(X,p(g.headers[X]))}),U.headers.forEach(function(X,ot){Jn.indexOf(ot)===-1&&P.setRequestHeader(ot,X)})}else U.headers.forEach(function(X,ot){P.setRequestHeader(ot,X)});U.signal&&(U.signal.addEventListener("abort",Sr),P.onreadystatechange=function(){P.readyState===4&&U.signal.removeEventListener("abort",Sr)}),P.send(typeof U._bodyInit>"u"?null:U._bodyInit)})}return Y.polyfill=!0,n.fetch||(n.fetch=Y,n.Headers=f,n.Request=I,n.Response=te),o.Headers=f,o.Request=I,o.Response=te,o.fetch=Y,o}({})})(Ur);Ur.fetch.ponyfill=!0;delete Ur.fetch.polyfill;var zt=
|
|
1
|
+
"use strict";(()=>{var Ic=Object.create;var Qn=Object.defineProperty;var Pc=Object.getOwnPropertyDescriptor;var kc=Object.getOwnPropertyNames;var Dc=Object.getPrototypeOf,Mc=Object.prototype.hasOwnProperty;var xt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Bc=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of kc(t))!Mc.call(e,a)&&a!==o&&Qn(e,a,{get:()=>t[a],enumerable:!(n=Pc(t,a))||n.enumerable});return e};var C=(e,t,o)=>(o=e!=null?Ic(Dc(e)):{},Bc(t||!e||!e.__esModule?Qn(o,"default",{value:e,enumerable:!0}):o,e));var k=xt((cd,ea)=>{ea.exports=ftGlobals.wcUtils});var z=xt((ld,ta)=>{ta.exports=ftGlobals.lit});var re=xt((dd,ra)=>{ra.exports=ftGlobals.litDecorators});var Or=xt((ud,oa)=>{oa.exports=ftGlobals.litClassMap});var Ni=xt((Ze,Ti)=>{var Br=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Ur=function(){function e(){this.fetch=!1,this.DOMException=Br.DOMException}return e.prototype=Br,new e}();(function(e){var t=function(o){var n=typeof e<"u"&&e||typeof self<"u"&&self||typeof global<"u"&&global||{},a={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(h){return h&&DataView.prototype.isPrototypeOf(h)}if(a.arrayBuffer)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(h){return h&&c.indexOf(Object.prototype.toString.call(h))>-1};function u(h){if(typeof h!="string"&&(h=String(h)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(h)||h==="")throw new TypeError('Invalid character in header field name: "'+h+'"');return h.toLowerCase()}function p(h){return typeof h!="string"&&(h=String(h)),h}function y(h){var g={next:function(){var N=h.shift();return{done:N===void 0,value:N}}};return a.iterable&&(g[Symbol.iterator]=function(){return g}),g}function f(h){this.map={},h instanceof f?h.forEach(function(g,N){this.append(N,g)},this):Array.isArray(h)?h.forEach(function(g){if(g.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+g.length);this.append(g[0],g[1])},this):h&&Object.getOwnPropertyNames(h).forEach(function(g){this.append(g,h[g])},this)}f.prototype.append=function(h,g){h=u(h),g=p(g);var N=this.map[h];this.map[h]=N?N+", "+g:g},f.prototype.delete=function(h){delete this.map[u(h)]},f.prototype.get=function(h){return h=u(h),this.has(h)?this.map[h]:null},f.prototype.has=function(h){return this.map.hasOwnProperty(u(h))},f.prototype.set=function(h,g){this.map[u(h)]=p(g)},f.prototype.forEach=function(h,g){for(var N in this.map)this.map.hasOwnProperty(N)&&h.call(g,this.map[N],N,this)},f.prototype.keys=function(){var h=[];return this.forEach(function(g,N){h.push(N)}),y(h)},f.prototype.values=function(){var h=[];return this.forEach(function(g){h.push(g)}),y(h)},f.prototype.entries=function(){var h=[];return this.forEach(function(g,N){h.push([N,g])}),y(h)},a.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function m(h){if(!h._noBody){if(h.bodyUsed)return Promise.reject(new TypeError("Already read"));h.bodyUsed=!0}}function x(h){return new Promise(function(g,N){h.onload=function(){g(h.result)},h.onerror=function(){N(h.error)}})}function b(h){var g=new FileReader,N=x(g);return g.readAsArrayBuffer(h),N}function v(h){var g=new FileReader,N=x(g),D=/charset=([A-Za-z0-9_-]+)/.exec(h.type),U=D?D[1]:"utf-8";return g.readAsText(h,U),N}function A(h){for(var g=new Uint8Array(h),N=new Array(g.length),D=0;D<g.length;D++)N[D]=String.fromCharCode(g[D]);return N.join("")}function E(h){if(h.slice)return h.slice(0);var g=new Uint8Array(h.byteLength);return g.set(new Uint8Array(h)),g.buffer}function w(){return this.bodyUsed=!1,this._initBody=function(h){this.bodyUsed=this.bodyUsed,this._bodyInit=h,h?typeof h=="string"?this._bodyText=h:a.blob&&Blob.prototype.isPrototypeOf(h)?this._bodyBlob=h:a.formData&&FormData.prototype.isPrototypeOf(h)?this._bodyFormData=h:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(h)?this._bodyText=h.toString():a.arrayBuffer&&a.blob&&s(h)?(this._bodyArrayBuffer=E(h.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(h)||l(h))?this._bodyArrayBuffer=E(h):this._bodyText=h=Object.prototype.toString.call(h):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof h=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(h)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var h=m(this);if(h)return h;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 h=m(this);return h||(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(a.blob)return this.blob().then(b);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var h=m(this);if(h)return h;if(this._bodyBlob)return v(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(A(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(ne)}),this.json=function(){return this.text().then(JSON.parse)},this}var L=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function _(h){var g=h.toUpperCase();return L.indexOf(g)>-1?g:h}function I(h,g){if(!(this instanceof I))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');g=g||{};var N=g.body;if(h instanceof I){if(h.bodyUsed)throw new TypeError("Already read");this.url=h.url,this.credentials=h.credentials,g.headers||(this.headers=new f(h.headers)),this.method=h.method,this.mode=h.mode,this.signal=h.signal,!N&&h._bodyInit!=null&&(N=h._bodyInit,h.bodyUsed=!0)}else this.url=String(h);if(this.credentials=g.credentials||this.credentials||"same-origin",(g.headers||!this.headers)&&(this.headers=new f(g.headers)),this.method=_(g.method||this.method||"GET"),this.mode=g.mode||this.mode||null,this.signal=g.signal||this.signal||function(){if("AbortController"in n){var P=new AbortController;return P.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&N)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(N),(this.method==="GET"||this.method==="HEAD")&&(g.cache==="no-store"||g.cache==="no-cache")){var D=/([?&])_=[^&]*/;if(D.test(this.url))this.url=this.url.replace(D,"$1_="+new Date().getTime());else{var U=/\?/;this.url+=(U.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}I.prototype.clone=function(){return new I(this,{body:this._bodyInit})};function ne(h){var g=new FormData;return h.trim().split("&").forEach(function(N){if(N){var D=N.split("="),U=D.shift().replace(/\+/g," "),P=D.join("=").replace(/\+/g," ");g.append(decodeURIComponent(U),decodeURIComponent(P))}}),g}function Le(h){var g=new f,N=h.replace(/\r?\n[\t ]+/g," ");return N.split("\r").map(function(D){return D.indexOf(`
|
|
2
|
+
`)===0?D.substr(1,D.length):D}).forEach(function(D){var U=D.split(":"),P=U.shift().trim();if(P){var Sr=U.join(":").trim();try{g.append(P,Sr)}catch(ho){console.warn("Response "+ho.message)}}}),g}w.call(I.prototype);function te(h,g){if(!(this instanceof te))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(g||(g={}),this.type="default",this.status=g.status===void 0?200:g.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=g.statusText===void 0?"":""+g.statusText,this.headers=new f(g.headers),this.url=g.url||"",this._initBody(h)}w.call(te.prototype),te.prototype.clone=function(){return new te(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},te.error=function(){var h=new te(null,{status:200,statusText:""});return h.ok=!1,h.status=0,h.type="error",h};var _e=[301,302,303,307,308];te.redirect=function(h,g){if(_e.indexOf(g)===-1)throw new RangeError("Invalid status code");return new te(null,{status:g,headers:{location:h}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(g,N){this.message=g,this.name=N;var D=Error(g);this.stack=D.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function Y(h,g){return new Promise(function(N,D){var U=new I(h,g);if(U.signal&&U.signal.aborted)return D(new o.DOMException("Aborted","AbortError"));var P=new XMLHttpRequest;function Sr(){P.abort()}P.onload=function(){var X={statusText:P.statusText,headers:Le(P.getAllResponseHeaders()||"")};U.url.indexOf("file://")===0&&(P.status<200||P.status>599)?X.status=200:X.status=P.status,X.url="responseURL"in P?P.responseURL:X.headers.get("X-Request-URL");var ot="response"in P?P.response:P.responseText;setTimeout(function(){N(new te(ot,X))},0)},P.onerror=function(){setTimeout(function(){D(new TypeError("Network request failed"))},0)},P.ontimeout=function(){setTimeout(function(){D(new TypeError("Network request timed out"))},0)},P.onabort=function(){setTimeout(function(){D(new o.DOMException("Aborted","AbortError"))},0)};function ho(X){try{return X===""&&n.location.href?n.location.href:X}catch{return X}}if(P.open(U.method,ho(U.url),!0),U.credentials==="include"?P.withCredentials=!0:U.credentials==="omit"&&(P.withCredentials=!1),"responseType"in P&&(a.blob?P.responseType="blob":a.arrayBuffer&&(P.responseType="arraybuffer")),g&&typeof g.headers=="object"&&!(g.headers instanceof f||n.Headers&&g.headers instanceof n.Headers)){var Jn=[];Object.getOwnPropertyNames(g.headers).forEach(function(X){Jn.push(u(X)),P.setRequestHeader(X,p(g.headers[X]))}),U.headers.forEach(function(X,ot){Jn.indexOf(ot)===-1&&P.setRequestHeader(ot,X)})}else U.headers.forEach(function(X,ot){P.setRequestHeader(ot,X)});U.signal&&(U.signal.addEventListener("abort",Sr),P.onreadystatechange=function(){P.readyState===4&&U.signal.removeEventListener("abort",Sr)}),P.send(typeof U._bodyInit>"u"?null:U._bodyInit)})}return Y.polyfill=!0,n.fetch||(n.fetch=Y,n.Headers=f,n.Request=I,n.Response=te),o.Headers=f,o.Request=I,o.Response=te,o.fetch=Y,o}({})})(Ur);Ur.fetch.ponyfill=!0;delete Ur.fetch.polyfill;var zt=Br.fetch?Br:Ur;Ze=zt.fetch;Ze.default=zt.fetch;Ze.fetch=zt.fetch;Ze.Headers=zt.Headers;Ze.Request=zt.Request;Ze.Response=zt.Response;Ti.exports=Ze});var Oc=xt((vv,Sc)=>{Sc.exports=ftGlobals.litUnsafeHTML});var Xn=C(k());var fo=C(z()),De=C(re()),_c=C(Or()),$e=C(k());var Jt=C(z()),se=C(re()),Qt=C(k());var fa=C(k());var ua=C(z()),J=C(re()),pa=C(Or()),er=C(k());var la=C(z()),F=C(k()),na=F.FtCssVariableFactory.extend("--ft-ripple-color","",F.designSystemVariables.colorContent),Me={color:na,backgroundColor:F.FtCssVariableFactory.extend("--ft-ripple-background-color","",na),opacityContentOnSurfacePressed:F.FtCssVariableFactory.external(F.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:F.FtCssVariableFactory.external(F.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:F.FtCssVariableFactory.external(F.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:F.FtCssVariableFactory.external(F.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:F.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},aa=F.FtCssVariableFactory.extend("--ft-ripple-color","",F.designSystemVariables.colorPrimary),ia={color:aa,backgroundColor:F.FtCssVariableFactory.extend("--ft-ripple-background-color","",aa)},sa=F.FtCssVariableFactory.extend("--ft-ripple-color","",F.designSystemVariables.colorSecondary),ca={color:sa,backgroundColor:F.FtCssVariableFactory.extend("--ft-ripple-background-color","",sa)},da=la.css`
|
|
3
3
|
:host {
|
|
4
4
|
display: contents;
|
|
5
5
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
14
14
|
overflow: hidden;
|
|
15
|
-
border-radius: ${
|
|
15
|
+
border-radius: ${Me.borderRadius};
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.ft-ripple .ft-ripple--background,
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.ft-ripple .ft-ripple--background {
|
|
49
|
-
background-color: ${
|
|
49
|
+
background-color: ${Me.backgroundColor};
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.ft-ripple .ft-ripple--effect {
|
|
53
|
-
background-color: ${
|
|
53
|
+
background-color: ${Me.color};
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
@@ -96,22 +96,22 @@
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
99
|
-
opacity: ${
|
|
99
|
+
opacity: ${Me.opacityContentOnSurfaceHover};
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
103
|
-
opacity: ${
|
|
103
|
+
opacity: ${Me.opacityContentOnSurfaceSelected};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
107
|
-
opacity: ${
|
|
107
|
+
opacity: ${Me.opacityContentOnSurfaceFocused};
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
111
|
-
opacity: ${
|
|
111
|
+
opacity: ${Me.opacityContentOnSurfacePressed};
|
|
112
112
|
transform: translate(-50%, -50%) scale(1);
|
|
113
113
|
}
|
|
114
|
-
`;var ae=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},
|
|
114
|
+
`;var ae=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},H=class extends er.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new er.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new er.Debouncer(10),this.moveRipple=t=>{var o,n;let{x:a,y:s}=this.getCoordinates(t),c=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-c.x:c.width/2),this.originY=Math.round(s!=null?s-c.y:c.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ua.html`
|
|
115
115
|
<style>
|
|
116
116
|
.ft-ripple .ft-ripple--effect {
|
|
117
117
|
left: ${this.originX}px;
|
|
@@ -122,10 +122,10 @@
|
|
|
122
122
|
<div class="ft-ripple--background"></div>
|
|
123
123
|
<div class="ft-ripple--effect"></div>
|
|
124
124
|
</div>
|
|
125
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>u=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),s=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},c={passive:!0};t.addEventListener("mouseover",this.startHover,c),t.addEventListener("mousemove",this.moveRipple,c),t.addEventListener("mouseleave",this.endHover,c),t.addEventListener("mousedown",n,c),t.addEventListener("touchstart",a,c),t.addEventListener("touchmove",this.moveRipple,c),t.addEventListener("keydown",s,c),t.addEventListener("focus",this.startFocus,c),t.addEventListener("blur",this.endFocus,c),t.addEventListener("focusin",this.startFocus,c),t.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,c),t.removeEventListener("mousemove",this.moveRipple,c),t.removeEventListener("mouseleave",this.endHover,c),t.removeEventListener("mousedown",n,c),t.removeEventListener("touchstart",a,c),t.removeEventListener("touchmove",this.moveRipple,c),t.removeEventListener("keydown",s,c),t.removeEventListener("focus",this.startFocus,c),t.removeEventListener("blur",this.endFocus,c),t.removeEventListener("focusin",this.startFocus,c),t.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,a,s;return o.x!=null?{x:a,y:s}=o:n.touches!=null&&(a=n.touches[0].clientX,s=n.touches[0].clientY),{x:a,y:s}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};
|
|
125
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>u=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),s=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},c={passive:!0};t.addEventListener("mouseover",this.startHover,c),t.addEventListener("mousemove",this.moveRipple,c),t.addEventListener("mouseleave",this.endHover,c),t.addEventListener("mousedown",n,c),t.addEventListener("touchstart",a,c),t.addEventListener("touchmove",this.moveRipple,c),t.addEventListener("keydown",s,c),t.addEventListener("focus",this.startFocus,c),t.addEventListener("blur",this.endFocus,c),t.addEventListener("focusin",this.startFocus,c),t.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,c),t.removeEventListener("mousemove",this.moveRipple,c),t.removeEventListener("mouseleave",this.endHover,c),t.removeEventListener("mousedown",n,c),t.removeEventListener("touchstart",a,c),t.removeEventListener("touchmove",this.moveRipple,c),t.removeEventListener("keydown",s,c),t.removeEventListener("focus",this.startFocus,c),t.removeEventListener("blur",this.endFocus,c),t.removeEventListener("focusin",this.startFocus,c),t.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,a,s;return o.x!=null?{x:a,y:s}=o:n.touches!=null&&(a=n.touches[0].clientX,s=n.touches[0].clientY),{x:a,y:s}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};H.elementDefinitions={};H.styles=da;ae([(0,J.property)({type:Boolean})],H.prototype,"primary",void 0);ae([(0,J.property)({type:Boolean})],H.prototype,"secondary",void 0);ae([(0,J.property)({type:Boolean})],H.prototype,"unbounded",void 0);ae([(0,J.property)({type:Boolean})],H.prototype,"activated",void 0);ae([(0,J.property)({type:Boolean})],H.prototype,"selected",void 0);ae([(0,J.property)({type:Boolean})],H.prototype,"disabled",void 0);ae([(0,J.state)()],H.prototype,"hovered",void 0);ae([(0,J.state)()],H.prototype,"focused",void 0);ae([(0,J.state)()],H.prototype,"pressed",void 0);ae([(0,J.state)()],H.prototype,"rippling",void 0);ae([(0,J.state)()],H.prototype,"originX",void 0);ae([(0,J.state)()],H.prototype,"originY",void 0);ae([(0,J.query)(".ft-ripple")],H.prototype,"ripple",void 0);ae([(0,J.query)(".ft-ripple--effect")],H.prototype,"rippleEffect",void 0);(0,fa.customElement)("ft-ripple")(H);var Jo=C(k());var So=globalThis,Cr=So.trustedTypes,ha=Cr?Cr.createPolicy("lit-html",{createHTML:e=>e}):void 0,va="$lit$",je=`lit$${Math.random().toFixed(9).slice(2)}$`,Sa="?"+je,Uc=`<${Sa}>`,it=document,Er=()=>it.createComment(""),rr=e=>e===null||typeof e!="object"&&typeof e!="function",Oo=Array.isArray,Hc=e=>Oo(e)||typeof e?.[Symbol.iterator]=="function",yo=`[
|
|
126
126
|
\f\r]`,tr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ya=/-->/g,ma=/>/g,nt=RegExp(`>|${yo}(?:([^\\s"'>=/]+)(${yo}*=${yo}*(?:[^
|
|
127
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ga=/'/g,ba=/"/g,Oa=/^(?:script|style|textarea|title)$/i,Co=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Ca=Co(1),Ea=Co(2),Aa=Co(3),or=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),xa=new WeakMap,at=it.createTreeWalker(it,129);function wa(e,t){if(!Oo(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ha!==void 0?ha.createHTML(t):t}var Hc=(e,t)=>{let o=e.length-1,n=[],a,s=t===2?"<svg>":t===3?"<math>":"",c=tr;for(let l=0;l<o;l++){let u=e[l],p,y,f=-1,m=0;for(;m<u.length&&(c.lastIndex=m,y=c.exec(u),y!==null);)m=c.lastIndex,c===tr?y[1]==="!--"?c=ya:y[1]!==void 0?c=ma:y[2]!==void 0?(Oa.test(y[2])&&(a=RegExp("</"+y[2],"g")),c=nt):y[3]!==void 0&&(c=nt):c===nt?y[0]===">"?(c=a??tr,f=-1):y[1]===void 0?f=-2:(f=c.lastIndex-y[2].length,p=y[1],c=y[3]===void 0?nt:y[3]==='"'?ba:ga):c===ba||c===ga?c=nt:c===ya||c===ma?c=tr:(c=nt,a=void 0);let x=c===nt&&e[l+1].startsWith("/>")?" ":"";s+=c===tr?u+Uc:f>=0?(n.push(p),u.slice(0,f)+va+u.slice(f)+je+x):u+je+(f===-2?l:x)}return[wa(e,s+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},nr=class e{constructor({strings:t,_$litType$:o},n){let a;this.parts=[];let s=0,c=0,l=t.length-1,u=this.parts,[p,y]=Hc(t,o);if(this.el=e.createElement(p,n),at.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=at.nextNode())!==null&&u.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(va)){let m=y[c++],x=a.getAttribute(f).split(je),b=/([.?@])?(.*)/.exec(m);u.push({type:1,index:s,name:b[2],strings:x,ctor:b[1]==="."?go:b[1]==="?"?bo:b[1]==="@"?xo:St}),a.removeAttribute(f)}else f.startsWith(je)&&(u.push({type:6,index:s}),a.removeAttribute(f));if(Oa.test(a.tagName)){let f=a.textContent.split(je),m=f.length-1;if(m>0){a.textContent=Cr?Cr.emptyScript:"";for(let x=0;x<m;x++)a.append(f[x],Er()),at.nextNode(),u.push({type:2,index:++s});a.append(f[m],Er())}}}else if(a.nodeType===8)if(a.data===Sa)u.push({type:2,index:s});else{let f=-1;for(;(f=a.data.indexOf(je,f+1))!==-1;)u.push({type:7,index:s}),f+=je.length-1}s++}}static createElement(t,o){let n=it.createElement("template");return n.innerHTML=t,n}};function vt(e,t,o=e,n){if(t===or)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,s=rr(t)?void 0:t._$litDirective$;return a?.constructor!==s&&(a?._$AO?.(!1),s===void 0?a=void 0:(a=new s(e),a._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(t=vt(e,a._$AS(e,t.values),a,n)),t}var mo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,a=(t?.creationScope??it).importNode(o,!0);at.currentNode=a;let s=at.nextNode(),c=0,l=0,u=n[0];for(;u!==void 0;){if(c===u.index){let p;u.type===2?p=new Ar(s,s.nextSibling,this,t):u.type===1?p=new u.ctor(s,u.name,u.strings,this,t):u.type===6&&(p=new vo(s,this,t)),this._$AV.push(p),u=n[++l]}c!==u?.index&&(s=at.nextNode(),c++)}return at.currentNode=it,a}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Ar=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=vt(this,t,o),rr(t)?t===q||t==null||t===""?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==or&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Wc(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!==q&&rr(this._$AH)?this._$AA.nextSibling.data=t:this.T(it.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=nr.createElement(wa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let s=new mo(a,this),c=s.u(this.options);s.p(o),this.T(c),this._$AH=s}}_$AC(t){let o=xa.get(t.strings);return o===void 0&&xa.set(t.strings,o=new nr(t)),o}k(t){Oo(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let s of t)a===o.length?o.push(n=new e(this.O(Er()),this.O(Er()),this,this.options)):n=o[a],n._$AI(s),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},St=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,s){this.type=1,this._$AH=q,this._$AN=void 0,this.element=t,this.name=o,this._$AM=a,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=q}_$AI(t,o=this,n,a){let s=this.strings,c=!1;if(s===void 0)t=vt(this,t,o,0),c=!rr(t)||t!==this._$AH&&t!==or,c&&(this._$AH=t);else{let l=t,u,p;for(t=s[0],u=0;u<s.length-1;u++)p=vt(this,l[n+u],o,u),p===or&&(p=this._$AH[u]),c||=!rr(p)||p!==this._$AH[u],p===q?t=q:t!==q&&(t+=(p??"")+s[u+1]),this._$AH[u]=p}c&&!a&&this.j(t)}j(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},go=class extends St{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===q?void 0:t}},bo=class extends St{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==q)}},xo=class extends St{constructor(t,o,n,a,s){super(t,o,n,a,s),this.type=5}_$AI(t,o=this){if((t=vt(this,t,o,0)??q)===or)return;let n=this._$AH,a=t===q&&n!==q||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==q&&(n===q||a);a&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},vo=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){vt(this,t)}};var Fc=So.litHtmlPolyfillSupport;Fc?.(nr,Ar),(So.litHtmlVersions??=[]).push("3.3.0");var Ta=Symbol.for(""),zc=e=>{if(e?.r===Ta)return e?._$litStatic$},Ot=e=>({_$litStatic$:e,r:Ta});var Ra=new Map,Eo=e=>(t,...o)=>{let n=o.length,a,s,c=[],l=[],u,p=0,y=!1;for(;p<n;){for(u=t[p];p<n&&(s=o[p],(a=zc(s))!==void 0);)u+=a+t[++p],y=!0;p!==n&&l.push(s),c.push(u),p++}if(p===n&&c.push(t[n]),y){let f=c.join("$$lit$$");(t=Ra.get(f))===void 0&&(c.raw=c,Ra.set(f,t=c)),o=l}return e(t,...o)},Ct=Eo(Ca),Od=Eo(Ea),Cd=Eo(Aa);var Yo=C(re()),Va=C(k());var Et;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(Et||(Et={}));var he=C(z()),O=C(k());var Me=C(z(),1),Ke=e=>typeof e=="string"?(0,Me.unsafeCSS)(e):e,r=class{static create(t,o,n,a){let s=l=>Ke(l??a),c=Me.css`var(${Ke(t)}, ${s(a)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=a,c.defaultCssValue=s,c.set=l=>Na(c,l??s(a)),c.get=l=>Me.css`var(${Ke(t)}, ${s(l)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(t,o,n,a){let s=l=>n.get(l??a),c=Me.css`var(${Ke(t)}, ${s(a)})`;return c.name=t,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=s,c.set=l=>Na(c,l??s(a)),c.get=l=>Me.css`var(${Ke(t)}, ${s(l)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(t,o){let n=s=>t.defaultCssValue(s),a=Me.css`var(${Ke(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=n,a.set=s=>t.set(s),a.get=s=>Me.css`var(${Ke(t.name)}, ${n(s)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Na(e,t){return Ke(`${e.name}: ${t}`)}var i={colorWhite:r.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),opacity8:r.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Ao={fontFamily:r.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-display-text-case","","UNKNOWN","none")},wo={fontFamily:r.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Ro={fontFamily:r.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},To={fontFamily:r.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},No={fontFamily:r.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Lo={fontFamily:r.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},_o={fontFamily:r.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Io={fontFamily:r.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Po={fontFamily:r.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Gc={fontFamily:r.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},ko={fontFamily:r.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Do={fontFamily:r.create("--ftds-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-medium-text-decoration","","UNKNOWN","none")},Bo={fontFamily:r.create("--ftds-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},Mo={fontFamily:r.create("--ftds-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-bold-text-decoration","","UNKNOWN","none")},Uo={fontFamily:r.create("--ftds-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-medium-text-decoration","","UNKNOWN","none")},Wo={fontFamily:r.create("--ftds-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},Ho={fontFamily:r.create("--ftds-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-bold-text-decoration","","UNKNOWN","none")},Fo={fontFamily:r.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},zo={fontFamily:r.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Go={fontFamily:r.create("--ftds-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},$o={fontFamily:r.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},jo={fontFamily:r.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Ko={fontFamily:r.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Vo={fontFamily:r.create("--ftds-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Zo={fontFamily:r.create("--ftds-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},qo={fontFamily:r.create("--ftds-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},st={display:Ao,"title-1":wo,"title-2":Ro,"title-3":To,"body-1-regular":No,"body-1-medium":Lo,"body-1-semibold":_o,"body-2-regular":Io,"body-2-medium":Po,"body-2-medium-underline":Gc,"body-2-semibold":ko,"label-1-medium":Do,"label-1-semibold":Bo,"label-1-bold":Mo,"label-2-medium":Uo,"label-2-semibold":Wo,"label-2-bold":Ho,"caption-1-medium":Fo,"caption-1-semibold":zo,"caption-1-bold":Go,"caption-2-medium":$o,"caption-2-semibold":jo,"caption-2-bold":Ko,"caption-3-medium":Vo,"caption-3-semibold":Zo,"caption-3-bold":qo};var d={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",i.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",i.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",i.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",i.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",i.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",i.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",i.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",i.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",i.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",i.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",i.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",i.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",i.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",i.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",i.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",i.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",i.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",i.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
128
|
-
Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",i.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",i.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",i.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",i.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",i.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",i.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",i.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",i.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",i.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",i.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",i.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",i.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for element like input.",i.colorGray50),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",i.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",i.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",i.colorGray200)};var Md={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",i.spacing4),largeGap:r.extend("--ftds-button-large-gap","",i.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",i.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",i.iconSize3),largeBorderWidth:r.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ftds-button-medium-horizontal-padding","",i.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",i.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",i.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",i.iconSize2),mediumBorderWidth:r.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-button-small-horizontal-padding","",i.spacing2),smallGap:r.extend("--ftds-button-small-gap","",i.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",i.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",i.iconSize1),smallBorderWidth:r.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ftds-button-x-small-icon-size","",i.iconSize1),xSmallFocusOutlineOffset:r.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ftds-button-round-border-radius","",i.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",i.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",i.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",i.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",i.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",i.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",i.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",i.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",i.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",i.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",i.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",i.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",i.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",i.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",i.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",i.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",i.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",i.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",i.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",i.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",i.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",i.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",i.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",i.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",i.opacity40),tertiaryNeutralBackgroundColor:r.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ftds-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",i.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",i.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",i.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",i.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",i.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",i.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",i.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",i.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",i.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",i.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",i.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",i.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",i.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",i.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",i.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",i.opacity40),secondaryInfoBackgroundColor:r.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ftds-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",i.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",i.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",i.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",i.opacity40),secondarySuccessBackgroundColor:r.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ftds-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",i.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",i.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",i.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",i.opacity40),secondaryWarningBackgroundColor:r.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ftds-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",i.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",i.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",i.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",i.opacity40),secondaryErrorBackgroundColor:r.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ftds-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var zd={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",i.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",i.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",i.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ftds-tree-list-load-more-active-border-color","",i.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",i.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",i.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",i.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",i.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",i.spacing3),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",i.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",i.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ftds-tree-list-header-section-padding-left","",i.spacing3),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",i.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",i.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",i.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",d.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",i.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",i.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",i.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",i.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)};var Vd={iconSize:r.extend("--ftds-checkbox-icon-size","",i.iconSize2),boxSize:r.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ftds-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ftds-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",i.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",i.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",i.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",i.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",i.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",i.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",i.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",i.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",i.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",i.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",i.spacing3),leftPadding:r.extend("--ftds-checkbox-left-padding","",i.spacing2)};var Jd={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",i.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",i.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",i.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",i.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",i.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",i.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",i.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",i.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ftds-radio-vertical-gap","",i.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",i.spacing3)};var ou={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",i.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",i.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",i.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",i.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",i.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",i.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",i.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",i.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",i.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",i.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",i.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",i.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",i.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",i.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",i.spacing1)};var cu={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",i.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",i.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",i.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",i.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",i.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",i.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",i.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",i.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",i.spacing1),largeBorderRadius:r.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-choice-large-icon-size","",i.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",i.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",i.spacing1),mediumBorderRadius:r.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-choice-medium-icon-size","",i.iconSize2)};var fu={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",i.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",i.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",i.spacing1),largeFocusOutlineOffset:r.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-large-icon-size","",i.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",i.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",i.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",i.spacing1),mediumFocusOutlineOffset:r.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-medium-icon-size","",i.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",i.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",i.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",i.spacing1),smallFocusOutlineOffset:r.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ftds-chip-small-icon-size","",i.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",d.borderErrorSubtle)};var bu={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",i.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",i.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",i.colorBrand100)};var Cu={iconSize:r.extend("--ftds-banner-icon-size","",i.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",i.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",i.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",i.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",i.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",i.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",i.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",i.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",d.borderInfoSubtle)};var Tu={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",i.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",i.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",i.borderRadiusPill),color:r.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",d.contentActionPrimary)};var Pu={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",i.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var Uu={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",i.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",i.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",i.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",i.spacing1),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",i.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",i.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",i.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",i.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",i.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",i.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",i.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",i.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",i.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",i.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",i.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",i.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",i.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",i.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",i.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",i.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",i.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Gu={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",i.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",i.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",i.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",i.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",i.spacing4)};var Vu={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",i.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",i.spacing6)};var Ju={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",i.spacing6),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",i.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",i.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",i.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",i.opacity40),shadow:r.extend("--ftds-modal-shadow","",i.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",i.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",i.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",i.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",i.spacing6),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",i.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",i.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",i.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",i.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ftds-modal-border-radius","",i.borderRadiusM)};var op={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",i.opacity40),shadow:r.extend("--ftds-drawer-shadow","",i.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",i.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",i.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",i.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",i.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",i.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",i.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",i.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",i.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",i.spacing3),buttonsBarBorderWidth:r.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ftds-drawer-overlay-background-color","",i.colorGray700)};var cp={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",i.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",i.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",i.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",i.opacity40),offColor:r.extend("--ftds-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",i.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",i.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",i.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",i.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",i.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",i.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",i.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",i.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",i.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",i.opacity24),onColor:r.extend("--ftds-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",i.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",i.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",i.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",i.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var fp={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",i.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",i.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",i.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",i.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",i.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",i.spacing3),mediumFieldVerticalGap:r.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-text-input-medium-field-icon-size","",i.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",i.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",i.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",i.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",i.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",i.opacity40)};var bp={backgroundColor:r.extend("--ftds-text-area-background-color","",i.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-area-disabled-component-opacity","",i.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",i.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",i.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",i.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",i.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",i.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",i.borderRadiusS)};var Cp={height:r.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",i.spacing4),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",i.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",i.opacity8),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",i.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",i.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",i.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",i.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",i.shadowElevation02)};var Tp={largeFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",i.spacing4),largeFieldHorizontalGap:r.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",i.spacing3),largeFieldVerticalGap:r.extend("--ftds-combobox-single-select-large-field-vertical-gap","",i.spacing05),largeFieldHeight:r.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-combobox-single-select-large-field-icon-size","",i.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",i.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",i.spacing3),mediumFieldVerticalGap:r.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-combobox-single-select-medium-field-icon-size","",i.iconSize3),helperHorizontalPadding:r.extend("--ftds-combobox-single-select-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-single-select-helper-horizontal-gap","",i.spacing1),helperVerticalGap:r.extend("--ftds-combobox-single-select-helper-vertical-gap","",i.spacing1),helperIconSize:r.extend("--ftds-combobox-single-select-helper-icon-size","",i.iconSize2),menuVerticalGap:r.extend("--ftds-combobox-single-select-menu-vertical-gap","",i.spacing2),borderRadius:r.extend("--ftds-combobox-single-select-border-radius","",i.borderRadiusS),backgroundColor:r.extend("--ftds-combobox-single-select-background-color","",i.colorWhite),labelColor:r.extend("--ftds-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ftds-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-single-select-disabled-component-opacity","",i.opacity40)};var Pp={backgroundColor:r.extend("--ftds-combobox-multi-select-background-color","",i.colorWhite),labelColor:r.extend("--ftds-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ftds-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ftds-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ftds-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-multi-select-disabled-component-opacity","",i.opacity40),helperHorizontalPadding:r.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",i.spacing1),helperVerticalGap:r.extend("--ftds-combobox-multi-select-helper-vertical-gap","",i.spacing1),helperIconSize:r.extend("--ftds-combobox-multi-select-helper-icon-size","",i.iconSize2),fieldHorizontalPadding:r.extend("--ftds-combobox-multi-select-field-horizontal-padding","",i.spacing4),fieldHorizontalGap:r.extend("--ftds-combobox-multi-select-field-horizontal-gap","",i.spacing3),fieldVerticalGap:r.extend("--ftds-combobox-multi-select-field-vertical-gap","",i.spacing05),fieldIconSize:r.extend("--ftds-combobox-multi-select-field-icon-size","",i.iconSize3),fieldMaxHeight:r.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",i.spacing1),contentValuesVerticalGap:r.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",i.spacing1),borderRadius:r.extend("--ftds-combobox-multi-select-border-radius","",i.borderRadiusS)};var Up={backgroundColor:r.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ftds-popover-horizontal-padding","",i.spacing6),verticalPadding:r.extend("--ftds-popover-vertical-padding","",i.spacing6),titleColor:r.extend("--ftds-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",d.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",i.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",i.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",i.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",i.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",i.spacing6)};var Gp={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",i.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",i.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",i.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",i.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",i.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",i.spacing3),color:r.extend("--ftds-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",i.iconSize3)};var Zp={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",i.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",i.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",i.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",i.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",i.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",i.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",i.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",i.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",i.opacity40),offColor:r.extend("--ftds-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",i.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",i.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",i.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",i.opacity40),onColor:r.extend("--ftds-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",i.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",i.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",i.borderRadiusS)};var Jp={color1Light:r.extend("--ftds-chart-1-light","for area color charts",i.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",i.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",i.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",i.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",i.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",i.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",i.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",i.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",i.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",i.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",i.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",i.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",i.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",i.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",i.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",i.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",i.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",i.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",i.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",i.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",i.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",i.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",i.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",i.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",i.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",i.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",i.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",i.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",i.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",i.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",i.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",i.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",i.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",i.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",i.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",i.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",i.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",i.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",i.colorCyan200)};var rf={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",i.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",i.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",i.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",i.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",i.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",i.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",i.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",i.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",i.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",i.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",i.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",i.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",i.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",i.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",i.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",i.colorBrown0)};var cf={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",i.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",i.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",i.borderRadiusS),gap:r.extend("--ftds-notice-gap","",i.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",i.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ftds-notice-dense-gap","",i.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",i.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var ff={offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",i.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",i.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",i.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",i.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",i.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",i.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",i.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",i.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ftds-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",i.spacing3)};var bf={iconSize:r.extend("--ftds-notification-icon-size","",i.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",i.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",i.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",i.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",i.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",i.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",i.spacing8)};var Cf={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",i.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",i.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",i.borderRadiusS),color:r.extend("--ftds-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",i.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",i.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",i.spacing05)};var Tf={verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",i.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",i.spacing1),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",i.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",i.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",i.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",i.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",i.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",i.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",i.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",i.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",i.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",i.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",i.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",i.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var If={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",i.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",i.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",i.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",i.spacing2)};var La;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(La||(La={}));var _a;(function(e){e.large="large",e.medium="medium",e.small="small"})(_a||(_a={}));var At=C(z());function Ia(e,t){let o=st[e];return At.css`
|
|
127
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),ga=/'/g,ba=/"/g,Oa=/^(?:script|style|textarea|title)$/i,Co=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Ca=Co(1),Ea=Co(2),Aa=Co(3),or=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),xa=new WeakMap,at=it.createTreeWalker(it,129);function wa(e,t){if(!Oo(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ha!==void 0?ha.createHTML(t):t}var Wc=(e,t)=>{let o=e.length-1,n=[],a,s=t===2?"<svg>":t===3?"<math>":"",c=tr;for(let l=0;l<o;l++){let u=e[l],p,y,f=-1,m=0;for(;m<u.length&&(c.lastIndex=m,y=c.exec(u),y!==null);)m=c.lastIndex,c===tr?y[1]==="!--"?c=ya:y[1]!==void 0?c=ma:y[2]!==void 0?(Oa.test(y[2])&&(a=RegExp("</"+y[2],"g")),c=nt):y[3]!==void 0&&(c=nt):c===nt?y[0]===">"?(c=a??tr,f=-1):y[1]===void 0?f=-2:(f=c.lastIndex-y[2].length,p=y[1],c=y[3]===void 0?nt:y[3]==='"'?ba:ga):c===ba||c===ga?c=nt:c===ya||c===ma?c=tr:(c=nt,a=void 0);let x=c===nt&&e[l+1].startsWith("/>")?" ":"";s+=c===tr?u+Uc:f>=0?(n.push(p),u.slice(0,f)+va+u.slice(f)+je+x):u+je+(f===-2?l:x)}return[wa(e,s+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},nr=class e{constructor({strings:t,_$litType$:o},n){let a;this.parts=[];let s=0,c=0,l=t.length-1,u=this.parts,[p,y]=Wc(t,o);if(this.el=e.createElement(p,n),at.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=at.nextNode())!==null&&u.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(va)){let m=y[c++],x=a.getAttribute(f).split(je),b=/([.?@])?(.*)/.exec(m);u.push({type:1,index:s,name:b[2],strings:x,ctor:b[1]==="."?go:b[1]==="?"?bo:b[1]==="@"?xo:St}),a.removeAttribute(f)}else f.startsWith(je)&&(u.push({type:6,index:s}),a.removeAttribute(f));if(Oa.test(a.tagName)){let f=a.textContent.split(je),m=f.length-1;if(m>0){a.textContent=Cr?Cr.emptyScript:"";for(let x=0;x<m;x++)a.append(f[x],Er()),at.nextNode(),u.push({type:2,index:++s});a.append(f[m],Er())}}}else if(a.nodeType===8)if(a.data===Sa)u.push({type:2,index:s});else{let f=-1;for(;(f=a.data.indexOf(je,f+1))!==-1;)u.push({type:7,index:s}),f+=je.length-1}s++}}static createElement(t,o){let n=it.createElement("template");return n.innerHTML=t,n}};function vt(e,t,o=e,n){if(t===or)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,s=rr(t)?void 0:t._$litDirective$;return a?.constructor!==s&&(a?._$AO?.(!1),s===void 0?a=void 0:(a=new s(e),a._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(t=vt(e,a._$AS(e,t.values),a,n)),t}var mo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,a=(t?.creationScope??it).importNode(o,!0);at.currentNode=a;let s=at.nextNode(),c=0,l=0,u=n[0];for(;u!==void 0;){if(c===u.index){let p;u.type===2?p=new Ar(s,s.nextSibling,this,t):u.type===1?p=new u.ctor(s,u.name,u.strings,this,t):u.type===6&&(p=new vo(s,this,t)),this._$AV.push(p),u=n[++l]}c!==u?.index&&(s=at.nextNode(),c++)}return at.currentNode=it,a}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Ar=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=vt(this,t,o),rr(t)?t===q||t==null||t===""?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==or&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Hc(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!==q&&rr(this._$AH)?this._$AA.nextSibling.data=t:this.T(it.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=nr.createElement(wa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let s=new mo(a,this),c=s.u(this.options);s.p(o),this.T(c),this._$AH=s}}_$AC(t){let o=xa.get(t.strings);return o===void 0&&xa.set(t.strings,o=new nr(t)),o}k(t){Oo(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let s of t)a===o.length?o.push(n=new e(this.O(Er()),this.O(Er()),this,this.options)):n=o[a],n._$AI(s),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},St=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,s){this.type=1,this._$AH=q,this._$AN=void 0,this.element=t,this.name=o,this._$AM=a,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=q}_$AI(t,o=this,n,a){let s=this.strings,c=!1;if(s===void 0)t=vt(this,t,o,0),c=!rr(t)||t!==this._$AH&&t!==or,c&&(this._$AH=t);else{let l=t,u,p;for(t=s[0],u=0;u<s.length-1;u++)p=vt(this,l[n+u],o,u),p===or&&(p=this._$AH[u]),c||=!rr(p)||p!==this._$AH[u],p===q?t=q:t!==q&&(t+=(p??"")+s[u+1]),this._$AH[u]=p}c&&!a&&this.j(t)}j(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},go=class extends St{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===q?void 0:t}},bo=class extends St{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==q)}},xo=class extends St{constructor(t,o,n,a,s){super(t,o,n,a,s),this.type=5}_$AI(t,o=this){if((t=vt(this,t,o,0)??q)===or)return;let n=this._$AH,a=t===q&&n!==q||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==q&&(n===q||a);a&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},vo=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){vt(this,t)}};var Fc=So.litHtmlPolyfillSupport;Fc?.(nr,Ar),(So.litHtmlVersions??=[]).push("3.3.0");var Ta=Symbol.for(""),zc=e=>{if(e?.r===Ta)return e?._$litStatic$},Ot=e=>({_$litStatic$:e,r:Ta});var Ra=new Map,Eo=e=>(t,...o)=>{let n=o.length,a,s,c=[],l=[],u,p=0,y=!1;for(;p<n;){for(u=t[p];p<n&&(s=o[p],(a=zc(s))!==void 0);)u+=a+t[++p],y=!0;p!==n&&l.push(s),c.push(u),p++}if(p===n&&c.push(t[n]),y){let f=c.join("$$lit$$");(t=Ra.get(f))===void 0&&(c.raw=c,Ra.set(f,t=c)),o=l}return e(t,...o)},Ct=Eo(Ca),Od=Eo(Ea),Cd=Eo(Aa);var Yo=C(re()),Va=C(k());var Et;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(Et||(Et={}));var he=C(z()),O=C(k());var Be=C(z(),1),Ke=e=>typeof e=="string"?(0,Be.unsafeCSS)(e):e,r=class{static create(t,o,n,a){let s=l=>Ke(l??a),c=Be.css`var(${Ke(t)}, ${s(a)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=a,c.defaultCssValue=s,c.set=l=>Na(c,l??s(a)),c.get=l=>Be.css`var(${Ke(t)}, ${s(l)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(t,o,n,a){let s=l=>n.get(l??a),c=Be.css`var(${Ke(t)}, ${s(a)})`;return c.name=t,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=s,c.set=l=>Na(c,l??s(a)),c.get=l=>Be.css`var(${Ke(t)}, ${s(l)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(t,o){let n=s=>t.defaultCssValue(s),a=Be.css`var(${Ke(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=n,a.set=s=>t.set(s),a.get=s=>Be.css`var(${Ke(t.name)}, ${n(s)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Na(e,t){return Ke(`${e.name}: ${t}`)}var i={colorWhite:r.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),opacity8:r.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Ao={fontFamily:r.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-display-text-case","","UNKNOWN","none")},wo={fontFamily:r.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Ro={fontFamily:r.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},To={fontFamily:r.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},No={fontFamily:r.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Lo={fontFamily:r.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},_o={fontFamily:r.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Io={fontFamily:r.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Po={fontFamily:r.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Gc={fontFamily:r.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},ko={fontFamily:r.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Do={fontFamily:r.create("--ftds-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-medium-text-decoration","","UNKNOWN","none")},Mo={fontFamily:r.create("--ftds-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},Bo={fontFamily:r.create("--ftds-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-bold-text-decoration","","UNKNOWN","none")},Uo={fontFamily:r.create("--ftds-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-medium-text-decoration","","UNKNOWN","none")},Ho={fontFamily:r.create("--ftds-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},Wo={fontFamily:r.create("--ftds-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-bold-text-decoration","","UNKNOWN","none")},Fo={fontFamily:r.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},zo={fontFamily:r.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Go={fontFamily:r.create("--ftds-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},$o={fontFamily:r.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},jo={fontFamily:r.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Ko={fontFamily:r.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Vo={fontFamily:r.create("--ftds-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Zo={fontFamily:r.create("--ftds-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},qo={fontFamily:r.create("--ftds-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},st={display:Ao,"title-1":wo,"title-2":Ro,"title-3":To,"body-1-regular":No,"body-1-medium":Lo,"body-1-semibold":_o,"body-2-regular":Io,"body-2-medium":Po,"body-2-medium-underline":Gc,"body-2-semibold":ko,"label-1-medium":Do,"label-1-semibold":Mo,"label-1-bold":Bo,"label-2-medium":Uo,"label-2-semibold":Ho,"label-2-bold":Wo,"caption-1-medium":Fo,"caption-1-semibold":zo,"caption-1-bold":Go,"caption-2-medium":$o,"caption-2-semibold":jo,"caption-2-bold":Ko,"caption-3-medium":Vo,"caption-3-semibold":Zo,"caption-3-bold":qo};var d={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",i.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",i.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",i.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",i.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",i.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",i.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",i.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",i.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",i.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",i.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",i.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",i.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",i.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",i.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",i.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",i.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",i.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",i.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
128
|
+
Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",i.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",i.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",i.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",i.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",i.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",i.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",i.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",i.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",i.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",i.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",i.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",i.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for element like input.",i.colorGray50),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",i.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",i.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",i.colorGray200)};var Bd={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",i.spacing4),largeGap:r.extend("--ftds-button-large-gap","",i.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",i.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",i.iconSize3),largeBorderWidth:r.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ftds-button-medium-horizontal-padding","",i.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",i.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",i.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",i.iconSize2),mediumBorderWidth:r.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-button-small-horizontal-padding","",i.spacing2),smallGap:r.extend("--ftds-button-small-gap","",i.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",i.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",i.iconSize1),smallBorderWidth:r.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ftds-button-x-small-icon-size","",i.iconSize1),xSmallFocusOutlineOffset:r.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ftds-button-round-border-radius","",i.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",i.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",i.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",i.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",i.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",i.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",i.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",i.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",i.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",i.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",i.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",i.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",i.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",i.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",i.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",i.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",i.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",i.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",i.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",i.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",i.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",i.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",i.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",i.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",i.opacity40),tertiaryNeutralBackgroundColor:r.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ftds-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",i.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",i.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",i.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",i.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",i.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",i.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",i.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",i.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",i.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",i.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",i.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",i.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",i.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",i.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",i.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",i.opacity40),secondaryInfoBackgroundColor:r.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ftds-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",i.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",i.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",i.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",i.opacity40),secondarySuccessBackgroundColor:r.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ftds-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",i.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",i.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",i.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",i.opacity40),secondaryWarningBackgroundColor:r.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ftds-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",i.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",i.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",i.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",i.opacity40),secondaryErrorBackgroundColor:r.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ftds-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var zd={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",i.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",i.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",i.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ftds-tree-list-load-more-active-border-color","",i.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",i.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",i.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",i.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",i.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",i.spacing3),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",i.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",i.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ftds-tree-list-header-section-padding-left","",i.spacing3),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",i.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",i.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",i.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",d.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",i.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",i.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",i.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",i.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)};var Vd={iconSize:r.extend("--ftds-checkbox-icon-size","",i.iconSize2),boxSize:r.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ftds-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ftds-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",i.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",i.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",i.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",i.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",i.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",i.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",i.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",i.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",i.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",i.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",i.spacing3),leftPadding:r.extend("--ftds-checkbox-left-padding","",i.spacing2)};var Jd={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",i.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",i.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",i.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",i.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",i.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",i.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",i.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",i.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ftds-radio-vertical-gap","",i.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",i.spacing3)};var ou={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",i.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",i.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",i.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",i.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",i.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",i.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",i.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",i.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",i.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",i.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",i.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",i.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",i.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",i.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",i.spacing1)};var cu={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",i.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",i.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",i.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",i.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",i.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",i.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",i.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",i.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",i.spacing1),largeBorderRadius:r.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-choice-large-icon-size","",i.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",i.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",i.spacing1),mediumBorderRadius:r.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-choice-medium-icon-size","",i.iconSize2)};var fu={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",i.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",i.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",i.spacing1),largeFocusOutlineOffset:r.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-large-icon-size","",i.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",i.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",i.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",i.spacing1),mediumFocusOutlineOffset:r.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-medium-icon-size","",i.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",i.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",i.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",i.spacing1),smallFocusOutlineOffset:r.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ftds-chip-small-icon-size","",i.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",d.borderErrorSubtle)};var bu={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",i.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",i.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",i.colorBrand100)};var Cu={iconSize:r.extend("--ftds-banner-icon-size","",i.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",i.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",i.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",i.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",i.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",i.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",i.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",i.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",d.borderInfoSubtle)};var Tu={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",i.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",i.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",i.borderRadiusPill),color:r.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",d.contentActionPrimary)};var Pu={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",i.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var Uu={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",i.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",i.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",i.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",i.spacing1),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",i.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",i.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",i.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",i.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",i.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",i.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",i.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",i.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",i.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",i.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",i.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",i.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",i.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",i.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",i.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",i.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",i.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Gu={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",i.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",i.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",i.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",i.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",i.spacing4)};var Vu={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",i.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",i.spacing6)};var Ju={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",i.spacing6),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",i.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",i.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",i.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",i.opacity40),shadow:r.extend("--ftds-modal-shadow","",i.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",i.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",i.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",i.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",i.spacing6),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",i.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",i.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",i.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",i.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ftds-modal-border-radius","",i.borderRadiusM)};var op={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",i.opacity40),shadow:r.extend("--ftds-drawer-shadow","",i.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",i.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",i.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",i.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",i.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",i.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",i.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",i.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",i.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",i.spacing3),buttonsBarBorderWidth:r.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ftds-drawer-overlay-background-color","",i.colorGray700)};var cp={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",i.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",i.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",i.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",i.opacity40),offColor:r.extend("--ftds-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",i.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",i.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",i.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",i.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",i.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",i.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",i.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",i.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",i.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",i.opacity24),onColor:r.extend("--ftds-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",i.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",i.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",i.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",i.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var fp={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",i.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",i.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",i.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",i.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",i.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",i.spacing3),mediumFieldVerticalGap:r.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-text-input-medium-field-icon-size","",i.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",i.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",i.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",i.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",i.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",i.opacity40)};var bp={backgroundColor:r.extend("--ftds-text-area-background-color","",i.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-area-disabled-component-opacity","",i.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",i.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",i.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",i.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",i.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",i.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",i.borderRadiusS)};var Cp={height:r.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",i.spacing4),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",i.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",i.opacity8),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",i.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",i.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",i.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",i.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",i.shadowElevation02)};var Tp={largeFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",i.spacing4),largeFieldHorizontalGap:r.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",i.spacing3),largeFieldVerticalGap:r.extend("--ftds-combobox-single-select-large-field-vertical-gap","",i.spacing05),largeFieldHeight:r.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-combobox-single-select-large-field-icon-size","",i.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",i.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",i.spacing3),mediumFieldVerticalGap:r.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-combobox-single-select-medium-field-icon-size","",i.iconSize3),helperHorizontalPadding:r.extend("--ftds-combobox-single-select-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-single-select-helper-horizontal-gap","",i.spacing1),helperVerticalGap:r.extend("--ftds-combobox-single-select-helper-vertical-gap","",i.spacing1),helperIconSize:r.extend("--ftds-combobox-single-select-helper-icon-size","",i.iconSize2),menuVerticalGap:r.extend("--ftds-combobox-single-select-menu-vertical-gap","",i.spacing2),borderRadius:r.extend("--ftds-combobox-single-select-border-radius","",i.borderRadiusS),backgroundColor:r.extend("--ftds-combobox-single-select-background-color","",i.colorWhite),labelColor:r.extend("--ftds-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ftds-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-single-select-disabled-component-opacity","",i.opacity40)};var Pp={backgroundColor:r.extend("--ftds-combobox-multi-select-background-color","",i.colorWhite),labelColor:r.extend("--ftds-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ftds-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ftds-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ftds-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-multi-select-disabled-component-opacity","",i.opacity40),helperHorizontalPadding:r.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",i.spacing1),helperVerticalGap:r.extend("--ftds-combobox-multi-select-helper-vertical-gap","",i.spacing1),helperIconSize:r.extend("--ftds-combobox-multi-select-helper-icon-size","",i.iconSize2),fieldHorizontalPadding:r.extend("--ftds-combobox-multi-select-field-horizontal-padding","",i.spacing4),fieldHorizontalGap:r.extend("--ftds-combobox-multi-select-field-horizontal-gap","",i.spacing3),fieldVerticalGap:r.extend("--ftds-combobox-multi-select-field-vertical-gap","",i.spacing05),fieldIconSize:r.extend("--ftds-combobox-multi-select-field-icon-size","",i.iconSize3),fieldMaxHeight:r.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",i.spacing1),contentValuesVerticalGap:r.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",i.spacing1),borderRadius:r.extend("--ftds-combobox-multi-select-border-radius","",i.borderRadiusS)};var Up={backgroundColor:r.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ftds-popover-horizontal-padding","",i.spacing6),verticalPadding:r.extend("--ftds-popover-vertical-padding","",i.spacing6),titleColor:r.extend("--ftds-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",d.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",i.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",i.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",i.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",i.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",i.spacing6)};var Gp={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",i.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",i.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",i.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",i.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",i.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",i.spacing3),color:r.extend("--ftds-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",i.iconSize3)};var Zp={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",i.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",i.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",i.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",i.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",i.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",i.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",i.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",i.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",i.opacity40),offColor:r.extend("--ftds-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",i.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",i.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",i.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",i.opacity40),onColor:r.extend("--ftds-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",i.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",i.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",i.borderRadiusS)};var Jp={color1Light:r.extend("--ftds-chart-1-light","for area color charts",i.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",i.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",i.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",i.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",i.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",i.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",i.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",i.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",i.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",i.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",i.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",i.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",i.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",i.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",i.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",i.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",i.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",i.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",i.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",i.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",i.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",i.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",i.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",i.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",i.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",i.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",i.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",i.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",i.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",i.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",i.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",i.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",i.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",i.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",i.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",i.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",i.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",i.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",i.colorCyan200)};var rf={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",i.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",i.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",i.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",i.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",i.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",i.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",i.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",i.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",i.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",i.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",i.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",i.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",i.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",i.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",i.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",i.colorBrown0)};var cf={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",i.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",i.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",i.borderRadiusS),gap:r.extend("--ftds-notice-gap","",i.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",i.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ftds-notice-dense-gap","",i.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",i.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var ff={offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",i.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",i.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",i.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",i.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",i.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",i.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",i.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",i.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ftds-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",i.spacing3)};var bf={iconSize:r.extend("--ftds-notification-icon-size","",i.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",i.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",i.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",i.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",i.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",i.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",i.spacing8)};var Cf={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",i.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",i.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",i.borderRadiusS),color:r.extend("--ftds-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",i.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",i.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",i.spacing05)};var Tf={verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",i.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",i.spacing1),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",i.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",i.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",i.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",i.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",i.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",i.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",i.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",i.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",i.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",i.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",i.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",i.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var If={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",i.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",i.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",i.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",i.spacing2)};var La;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(La||(La={}));var _a;(function(e){e.large="large",e.medium="medium",e.small="small"})(_a||(_a={}));var At=C(z());function Ia(e,t){let o=st[e];return At.css`
|
|
129
129
|
${t?(0,At.unsafeCSS)(t):At.css`.ft-typography--${(0,At.unsafeCSS)(e)}`} {
|
|
130
130
|
font-family: ${o.fontFamily};
|
|
131
131
|
font-size: ${o.fontSize};
|
|
@@ -153,7 +153,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
153
153
|
line-height: ${Rt.lineHeight};
|
|
154
154
|
text-transform: ${Rt.textTransform};
|
|
155
155
|
}
|
|
156
|
-
`,
|
|
156
|
+
`,Ma=he.css`
|
|
157
157
|
.ft-typography--subtitle1 {
|
|
158
158
|
font-family: ${Tt.fontFamily};
|
|
159
159
|
font-size: ${Tt.fontSize};
|
|
@@ -162,7 +162,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
162
162
|
line-height: ${Tt.lineHeight};
|
|
163
163
|
text-transform: ${Tt.textTransform};
|
|
164
164
|
}
|
|
165
|
-
`,
|
|
165
|
+
`,Ba=he.css`
|
|
166
166
|
.ft-typography--subtitle2 {
|
|
167
167
|
font-family: ${Nt.fontFamily};
|
|
168
168
|
font-size: ${Nt.fontSize};
|
|
@@ -181,7 +181,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
181
181
|
line-height: ${Lt.lineHeight};
|
|
182
182
|
text-transform: ${Lt.textTransform};
|
|
183
183
|
}
|
|
184
|
-
`,
|
|
184
|
+
`,Ha=he.css`
|
|
185
185
|
.ft-typography--body2 {
|
|
186
186
|
font-family: ${_t.fontFamily};
|
|
187
187
|
font-size: ${_t.fontSize};
|
|
@@ -190,7 +190,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
190
190
|
line-height: ${_t.lineHeight};
|
|
191
191
|
text-transform: ${_t.textTransform};
|
|
192
192
|
}
|
|
193
|
-
`,
|
|
193
|
+
`,Wa=he.css`
|
|
194
194
|
.ft-typography--caption {
|
|
195
195
|
font-family: ${It.fontFamily};
|
|
196
196
|
font-size: ${It.fontSize};
|
|
@@ -238,7 +238,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
238
238
|
</${Ot(this.element)}>
|
|
239
239
|
`:Ct`
|
|
240
240
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
241
|
-
`}};Se.styles=[ka,Da,Ba,
|
|
241
|
+
`}};Se.styles=[ka,Da,Ma,Ba,Ua,Ha,Wa,Fa,za,Ga,$a,...ja];Ka([(0,Yo.property)()],Se.prototype,"element",void 0);Ka([(0,Yo.property)()],Se.prototype,"variant",void 0);var Xo=C(re()),Ya=C(k());var wr;(function(e){e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(wr||(wr={}));var Dt=C(z());function $c(e,t){let o=st[e];return Dt.css`
|
|
242
242
|
${t?(0,Dt.unsafeCSS)(t):Dt.css`.ftds-typography--${(0,Dt.unsafeCSS)(e)}`} {
|
|
243
243
|
font-family: ${o.fontFamily};
|
|
244
244
|
font-size: ${o.fontSize};
|
|
@@ -256,7 +256,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
256
256
|
</${Ot(this.element)}>
|
|
257
257
|
`:Ct`
|
|
258
258
|
<slot part="text" class="ftds-typography ftds-typography--${this.variant}"></slot>
|
|
259
|
-
`}};ct.styles=[...Za];qa([(0,Xo.property)()],ct.prototype,"element",void 0);qa([(0,Xo.property)()],ct.prototype,"variant",void 0);(0,Jo.customElement)("ft-typography")(Se);(0,Jo.customElement)("ftds-typography")(ct);var Lc=C(Or());var vc=C(k());var xc=C(z()),xe=C(re()),be=C(k());var Xa=C(z()),
|
|
259
|
+
`}};ct.styles=[...Za];qa([(0,Xo.property)()],ct.prototype,"element",void 0);qa([(0,Xo.property)()],ct.prototype,"variant",void 0);(0,Jo.customElement)("ft-typography")(Se);(0,Jo.customElement)("ftds-typography")(ct);var Lc=C(Or());var vc=C(k());var xc=C(z()),xe=C(re()),be=C(k());var Xa=C(z()),He=C(k()),Mt={distance:He.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:He.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:He.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:He.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:He.FtCssVariableFactory.extend("--ft-tooltip-border-radius","",He.designSystemVariables.borderRadiusS),maxWidth:He.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Ja=Xa.css`
|
|
260
260
|
.ft-tooltip--container {
|
|
261
261
|
display: block;
|
|
262
262
|
}
|
|
@@ -271,24 +271,24 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
271
271
|
box-sizing: border-box;
|
|
272
272
|
overflow: hidden;
|
|
273
273
|
width: max-content;
|
|
274
|
-
max-width: ${
|
|
274
|
+
max-width: ${Mt.maxWidth};
|
|
275
275
|
text-align: center;
|
|
276
|
-
padding: ${
|
|
277
|
-
z-index: ${
|
|
276
|
+
padding: ${Mt.distance};
|
|
277
|
+
z-index: ${Mt.zIndex};
|
|
278
278
|
}
|
|
279
279
|
|
|
280
280
|
.ft-tooltip--content {
|
|
281
281
|
padding: 4px 8px;
|
|
282
|
-
border-radius: ${
|
|
283
|
-
background-color: ${
|
|
284
|
-
color: ${
|
|
282
|
+
border-radius: ${Mt.borderRadiusS};
|
|
283
|
+
background-color: ${Mt.backgroundColor};
|
|
284
|
+
color: ${Mt.color};
|
|
285
285
|
position: relative;
|
|
286
286
|
word-break: break-word;
|
|
287
287
|
}
|
|
288
|
-
`;var ei=["top","right","bottom","left"],Qa=["start","end"],en=ei.reduce((e,t)=>e.concat(t,t+"-"+Qa[0],t+"-"+Qa[1]),[]),ti=Math.min,ri=Math.max;var jc={left:"right",right:"left",bottom:"top",top:"bottom"},Kc={start:"end",end:"start"};function tn(e,t,o){return ri(e,ti(t,o))}function Rr(e,t){return typeof e=="function"?e(t):e}function Mt(e){return e.split("-")[0]}function Ve(e){return e.split("-")[1]}function rn(e){return e==="x"?"y":"x"}function on(e){return e==="y"?"height":"width"}function Tr(e){return["top","bottom"].includes(Mt(e))?"y":"x"}function nn(e){return rn(Tr(e))}function oi(e,t,o){o===void 0&&(o=!1);let n=Ve(e),a=nn(e),s=on(a),c=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(c=Qo(c)),[c,Qo(c)]}function ni(e){return e.replace(/start|end/g,t=>Kc[t])}function Qo(e){return e.replace(/left|right|bottom|top/g,t=>jc[t])}function Vc(e){return{top:0,right:0,bottom:0,left:0,...e}}function ai(e){return typeof e!="number"?Vc(e):{top:e,right:e,bottom:e,left:e}}function lt(e){let{x:t,y:o,width:n,height:a}=e;return{width:n,height:a,top:o,left:t,right:t+n,bottom:o+a,x:t,y:o}}function ii(e,t,o){let{reference:n,floating:a}=e,s=Tr(t),c=nn(t),l=on(c),u=Mt(t),p=s==="y",y=n.x+n.width/2-a.width/2,f=n.y+n.height/2-a.height/2,m=n[l]/2-a[l]/2,x;switch(u){case"top":x={x:y,y:n.y-a.height};break;case"bottom":x={x:y,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:f};break;case"left":x={x:n.x-a.width,y:f};break;default:x={x:n.x,y:n.y}}switch(Ve(t)){case"start":x[c]-=m*(o&&p?-1:1);break;case"end":x[c]+=m*(o&&p?-1:1);break}return x}var si=async(e,t,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:s=[],platform:c}=o,l=s.filter(Boolean),u=await(c.isRTL==null?void 0:c.isRTL(t)),p=await c.getElementRects({reference:e,floating:t,strategy:a}),{x:y,y:f}=ii(p,n,u),m=n,x={},b=0;for(let v=0;v<l.length;v++){let{name:A,fn:E}=l[v],{x:w,y:L,data:_,reset:I}=await E({x:y,y:f,initialPlacement:n,placement:m,strategy:a,middlewareData:x,rects:p,platform:c,elements:{reference:e,floating:t}});y=w??y,f=L??f,x={...x,[A]:{...x[A],..._}},I&&b<=50&&(b++,typeof I=="object"&&(I.placement&&(m=I.placement),I.rects&&(p=I.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:a}):I.rects),{x:y,y:f}=ii(p,m,u)),v=-1)}return{x:y,y:f,placement:m,strategy:a,middlewareData:x}};async function an(e,t){var o;t===void 0&&(t={});let{x:n,y:a,platform:s,rects:c,elements:l,strategy:u}=e,{boundary:p="clippingAncestors",rootBoundary:y="viewport",elementContext:f="floating",altBoundary:m=!1,padding:x=0}=Rr(t,e),b=ai(x),A=l[m?f==="floating"?"reference":"floating":f],E=lt(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(A)))==null||o?A:A.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:p,rootBoundary:y,strategy:u})),w=f==="floating"?{x:n,y:a,width:c.floating.width,height:c.floating.height}:c.reference,L=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),_=await(s.isElement==null?void 0:s.isElement(L))?await(s.getScale==null?void 0:s.getScale(L))||{x:1,y:1}:{x:1,y:1},I=lt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:L,strategy:u}):w);return{top:(E.top-I.top+b.top)/_.y,bottom:(I.bottom-E.bottom+b.bottom)/_.y,left:(E.left-I.left+b.left)/_.x,right:(I.right-E.right+b.right)/_.x}}function Zc(e,t,o){return(e?[...o.filter(a=>Ve(a)===e),...o.filter(a=>Ve(a)!==e)]:o.filter(a=>Mt(a)===a)).filter(a=>e?Ve(a)===e||(t?ni(a)!==a:!1):!0)}var sn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,a;let{rects:s,middlewareData:c,placement:l,platform:u,elements:p}=t,{crossAxis:y=!1,alignment:f,allowedPlacements:m=en,autoAlignment:x=!0,...b}=Rr(e,t),v=f!==void 0||m===en?Zc(f||null,x,m):m,A=await an(t,b),E=((o=c.autoPlacement)==null?void 0:o.index)||0,w=v[E];if(w==null)return{};let L=oi(w,s,await(u.isRTL==null?void 0:u.isRTL(p.floating)));if(l!==w)return{reset:{placement:v[0]}};let _=[A[Mt(w)],A[L[0]],A[L[1]]],I=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:w,overflows:_}],ne=v[E+1];if(ne)return{data:{index:E+1,overflows:I},reset:{placement:ne}};let Le=I.map(Y=>{let h=Ve(Y.placement);return[Y.placement,h&&y?Y.overflows.slice(0,2).reduce((g,N)=>g+N,0):Y.overflows[0],Y.overflows]}).sort((Y,h)=>Y[1]-h[1]),_e=((a=Le.filter(Y=>Y[2].slice(0,Ve(Y[0])?2:3).every(h=>h<=0))[0])==null?void 0:a[0])||Le[0][0];return _e!==l?{data:{index:E+1,overflows:I},reset:{placement:_e}}:{}}}};var cn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:a}=t,{mainAxis:s=!0,crossAxis:c=!1,limiter:l={fn:A=>{let{x:E,y:w}=A;return{x:E,y:w}}},...u}=Rr(e,t),p={x:o,y:n},y=await an(t,u),f=Tr(Mt(a)),m=rn(f),x=p[m],b=p[f];if(s){let A=m==="y"?"top":"left",E=m==="y"?"bottom":"right",w=x+y[A],L=x-y[E];x=tn(w,x,L)}if(c){let A=f==="y"?"top":"left",E=f==="y"?"bottom":"right",w=b+y[A],L=b-y[E];b=tn(w,b,L)}let v=l.fn({...t,[m]:x,[f]:b});return{...v,data:{x:v.x-o,y:v.y-n,enabled:{[m]:s,[f]:c}}}}}};var ln=Math.min,Ut=Math.max,ar=Math.round;var He=e=>({x:e,y:e});function Fe(e){return li(e)?(e.nodeName||"").toLowerCase():"#document"}function ie(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ze(e){var t;return(t=(li(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function li(e){return e instanceof Node||e instanceof ie(e).Node}function Ie(e){return e instanceof Element||e instanceof ie(e).Element}function Oe(e){return e instanceof HTMLElement||e instanceof ie(e).HTMLElement}function ci(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ie(e).ShadowRoot}function Wt(e){let{overflow:t,overflowX:o,overflowY:n,display:a}=ce(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(a)}function di(e){return["table","td","th"].includes(Fe(e))}function Lr(e){let t=_r(),o=ce(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function ui(e){let t=dt(e);for(;Oe(t)&&!ir(t);){if(Lr(t))return t;t=dt(t)}return null}function _r(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ir(e){return["html","body","#document"].includes(Fe(e))}function ce(e){return ie(e).getComputedStyle(e)}function sr(e){return Ie(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function dt(e){if(Fe(e)==="html")return e;let t=e.assignedSlot||e.parentNode||ci(e)&&e.host||ze(e);return ci(t)?t.host:t}function pi(e){let t=dt(e);return ir(t)?e.ownerDocument?e.ownerDocument.body:e.body:Oe(t)&&Wt(t)?t:pi(t)}function Nr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=pi(e),s=a===((n=e.ownerDocument)==null?void 0:n.body),c=ie(a);return s?t.concat(c,c.visualViewport||[],Wt(a)?a:[],c.frameElement&&o?Nr(c.frameElement):[]):t.concat(a,Nr(a,[],o))}function yi(e){let t=ce(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=Oe(e),s=a?e.offsetWidth:o,c=a?e.offsetHeight:n,l=ar(o)!==s||ar(n)!==c;return l&&(o=s,n=c),{width:o,height:n,$:l}}function mi(e){return Ie(e)?e:e.contextElement}function Ht(e){let t=mi(e);if(!Oe(t))return He(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:s}=yi(t),c=(s?ar(o.width):o.width)/n,l=(s?ar(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}var Xc=He(0);function gi(e){let t=ie(e);return!_r()||!t.visualViewport?Xc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Jc(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==ie(e)?!1:t}function cr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),s=mi(e),c=He(1);t&&(n?Ie(n)&&(c=Ht(n)):c=Ht(e));let l=Jc(s,o,n)?gi(s):He(0),u=(a.left+l.x)/c.x,p=(a.top+l.y)/c.y,y=a.width/c.x,f=a.height/c.y;if(s){let m=ie(s),x=n&&Ie(n)?ie(n):n,b=m.frameElement;for(;b&&n&&x!==m;){let v=Ht(b),A=b.getBoundingClientRect(),E=ce(b),w=A.left+(b.clientLeft+parseFloat(E.paddingLeft))*v.x,L=A.top+(b.clientTop+parseFloat(E.paddingTop))*v.y;u*=v.x,p*=v.y,y*=v.x,f*=v.y,u+=w,p+=L,b=ie(b).frameElement}}return lt({width:y,height:f,x:u,y:p})}function Qc(e){let{rect:t,offsetParent:o,strategy:n}=e,a=Oe(o),s=ze(o);if(o===s)return t;let c={scrollLeft:0,scrollTop:0},l=He(1),u=He(0);if((a||!a&&n!=="fixed")&&((Fe(o)!=="body"||Wt(s))&&(c=sr(o)),Oe(o))){let p=cr(o);l=Ht(o),u.x=p.x+o.clientLeft,u.y=p.y+o.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-c.scrollLeft*l.x+u.x,y:t.y*l.y-c.scrollTop*l.y+u.y}}function el(e){return Array.from(e.getClientRects())}function bi(e){return cr(ze(e)).left+sr(e).scrollLeft}function tl(e){let t=ze(e),o=sr(e),n=e.ownerDocument.body,a=Ut(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=Ut(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+bi(e),l=-o.scrollTop;return ce(n).direction==="rtl"&&(c+=Ut(t.clientWidth,n.clientWidth)-a),{width:a,height:s,x:c,y:l}}function rl(e,t){let o=ie(e),n=ze(e),a=o.visualViewport,s=n.clientWidth,c=n.clientHeight,l=0,u=0;if(a){s=a.width,c=a.height;let p=_r();(!p||p&&t==="fixed")&&(l=a.offsetLeft,u=a.offsetTop)}return{width:s,height:c,x:l,y:u}}function ol(e,t){let o=cr(e,!0,t==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,s=Oe(e)?Ht(e):He(1),c=e.clientWidth*s.x,l=e.clientHeight*s.y,u=a*s.x,p=n*s.y;return{width:c,height:l,x:u,y:p}}function fi(e,t,o){let n;if(t==="viewport")n=rl(e,o);else if(t==="document")n=tl(ze(e));else if(Ie(t))n=ol(t,o);else{let a=gi(e);n={...t,x:t.x-a.x,y:t.y-a.y}}return lt(n)}function xi(e,t){let o=dt(e);return o===t||!Ie(o)||ir(o)?!1:ce(o).position==="fixed"||xi(o,t)}function nl(e,t){let o=t.get(e);if(o)return o;let n=Nr(e,[],!1).filter(l=>Ie(l)&&Fe(l)!=="body"),a=null,s=ce(e).position==="fixed",c=s?dt(e):e;for(;Ie(c)&&!ir(c);){let l=ce(c),u=Lr(c);!u&&l.position==="fixed"&&(a=null),(s?!u&&!a:!u&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Wt(c)&&!u&&xi(e,c))?n=n.filter(y=>y!==c):a=l,c=dt(c)}return t.set(e,n),n}function al(e){let{element:t,boundary:o,rootBoundary:n,strategy:a}=e,c=[...o==="clippingAncestors"?nl(t,this._c):[].concat(o),n],l=c[0],u=c.reduce((p,y)=>{let f=fi(t,y,a);return p.top=Ut(f.top,p.top),p.right=ln(f.right,p.right),p.bottom=ln(f.bottom,p.bottom),p.left=Ut(f.left,p.left),p},fi(t,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function il(e){return yi(e)}function sl(e,t,o){let n=Oe(t),a=ze(t),s=o==="fixed",c=cr(e,!0,s,t),l={scrollLeft:0,scrollTop:0},u=He(0);if(n||!n&&!s)if((Fe(t)!=="body"||Wt(a))&&(l=sr(t)),n){let p=cr(t,!0,s,t);u.x=p.x+t.clientLeft,u.y=p.y+t.clientTop}else a&&(u.x=bi(a));return{x:c.left+l.scrollLeft-u.x,y:c.top+l.scrollTop-u.y,width:c.width,height:c.height}}function hi(e,t){return!Oe(e)||ce(e).position==="fixed"?null:t?t(e):e.offsetParent}function vi(e,t){let o=ie(e);if(!Oe(e))return o;let n=hi(e,t);for(;n&&di(n)&&ce(n).position==="static";)n=hi(n,t);return n&&(Fe(n)==="html"||Fe(n)==="body"&&ce(n).position==="static"&&!Lr(n))?o:n||ui(e)||o}var cl=async function(e){let{reference:t,floating:o,strategy:n}=e,a=this.getOffsetParent||vi,s=this.getDimensions;return{reference:sl(t,await a(o),n),floating:{x:0,y:0,...await s(o)}}};function ll(e){return ce(e).direction==="rtl"}var Ir={convertOffsetParentRelativeRectToViewportRelativeRect:Qc,getDocumentElement:ze,getClippingRect:al,getOffsetParent:vi,getElementRects:cl,getClientRects:el,getDimensions:il,getScale:Ht,isElement:Ie,isRTL:ll};var Si=(e,t,o)=>{let n=new Map,a={platform:Ir,...o},s={...a.platform,_c:n};return si(e,t,{...a,platform:s})};function Oi(e){return dl(e)}function dn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function dl(e){for(let t=e;t;t=dn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=dn(e);t;t=dn(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Ci(e,t,o){return Si(e,t,{platform:{...Ir,getOffsetParent:n=>Ir.getOffsetParent(n,Oi)},middleware:[cn({crossAxis:!0}),sn({allowedPlacements:[o]})]})}var Xt=C(k());var lc=C(k());var fs=C(z()),Q=C(re()),Ce=C(k());var Ei=C(z());var Ai=Ei.css`
|
|
289
|
-
`;var Pr=C(k()),ul="ft-app-info",ut=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};ut.eventName="authentication-change";var pl={session:(e,t)=>{(0,Pr.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>R.dispatchEvent(new ut(t.payload)),0))}},R=Pr.FtReduxStore.get({name:ul,reducers:pl,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 un=C(k());var pt=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=R.getState(),a=t??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let a=R.subscribe(()=>{n=e.get(t),n&&(a(),o(n))})}})}};var kr=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:pt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):pt.await()}};var le=class extends kr{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(([l],[u])=>l.localeCompare(u)));let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new un.CacheRegistry,this.cache=t?a.commonCache:new un.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 Dr=class extends le{async listMyBookmarks(){let t=R.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var pn=class{addCommand(t,o=!1){R.commands.add(t,o)}consumeCommand(t){return R.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new pn;var ye=C(k());var wi,Ft=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},fl=Symbol("clearAfterUnitTest"),Br=class extends(0,ye.withEventBus)(le){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[wi]=()=>{this.defaultMessages={},this.cache=new ye.CacheRegistry,this.listeners={}},this.currentUiLocale=R.getState().uiLocale,R.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=R.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,ye.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var a;let s=t.toLowerCase(),c=this.resolveContext(s);return new ye.ParametrizedLabelResolver((a=this.defaultMessages[s])!==null&&a!==void 0?a:{},c).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(a){!(a instanceof ye.CanceledPromiseError)&&o&&console.error(a)}return n}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new Ft({loadedContexts:t})),this.dispatchEvent(new Ft({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new Ft({loadedContexts:[t]})),this.dispatchEvent(new Ft({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,ye.delay)(0).then(()=>n()).catch(()=>null)))}};wi=fl;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Br{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Br{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var lr=window.FluidTopicsI18nService,fn=window.FluidTopicsCustomI18nService;var Ri=C(k()),hn=class{highlightHtml(t,o,n){(0,Ri.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new hn;var yl=C(Ni(),1);var Li;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Li||(Li={}));var _i;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(_i||(_i={}));var Ii;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(Ii||(Ii={}));var Pi;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(Pi||(Pi={}));var ki;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(ki||(ki={}));var Di;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Di||(Di={}));var Bi;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(Bi||(Bi={}));var Mi;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(Mi||(Mi={}));var Ui;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW"})(Ui||(Ui={}));var Wi;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Wi||(Wi={}));var Hi;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Hi||(Hi={}));var Fi;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Fi||(Fi={}));var zi;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(zi||(zi={}));var Gi;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Gi||(Gi={}));var $i;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})($i||($i={}));var ji;(function(e){e.ASC="ASC",e.DESC="DESC"})(ji||(ji={}));var Ki;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Ki||(Ki={}));var Vi;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Vi||(Vi={}));var Zi;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Zi||(Zi={}));var qi;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(qi||(qi={}));var Yi;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Yi||(Yi={}));var Xi;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Xi||(Xi={}));var Ji;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Ji||(Ji={}));var Qi;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Qi||(Qi={}));var es;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(es||(es={}));var G;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(G||(G={}));var me;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(me||(me={}));var ts;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(ts||(ts={}));var rs;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(rs||(rs={}));var os;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})(os||(os={}));var ns;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(ns||(ns={}));var as;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(as||(as={}));var hl={[G.PERSONAL_BOOK_SHARE_USER]:[G.PERSONAL_BOOK_USER],[G.HTML_EXPORT_USER]:[G.PERSONAL_BOOK_USER],[G.PDF_EXPORT_USER]:[G.PERSONAL_BOOK_USER],[G.KHUB_ADMIN]:[G.CONTENT_PUBLISHER],[G.ADMIN]:[G.KHUB_ADMIN,G.USERS_ADMIN,G.PORTAL_ADMIN],[G.GENERATIVE_AI_EXPORT_USER]:[G.GENERATIVE_AI_USER]};function is(e,t){return e===t||(hl[e]??[]).some(o=>is(o,t))}function ss(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(n=>is(n,t))}var Wr=class extends le{async listMySearches(){let{session:t}=R.getState();return ss(t,G.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var cs=C(k());var yn=class{isDate(t){var o,n,a,s;return(s=(a=((n=(o=R.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===t))===null||a===void 0?void 0:a.date)!==null&&s!==void 0?s:!1}format(t,o){var n,a,s;return cs.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:R.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(s=o?.withTime)!==null&&s!==void 0?s:!1)}};window.FluidTopicsDateService=new yn;var ls=C(k());var dr=class{static get(t,o){var n,a;let s=R.getState(),{lang:c,region:l}=(a=(n=s.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new ls.SearchPlaceConverter(s.baseUrl,t??20,s.searchInAllLanguagesAllowed,o??`${c}-${l}`)}};var mn=class{urlToSearchRequest(t){return dr.get().parse(t)}searchRequestToUrl(t){return dr.get().serialize(t)}};window.FluidTopicsUrlService=new mn;var qe=C(k());var ft=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};ft.eventName="change";var gn=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))}},ds=new gn;var Hr=class e extends qe.WithEventBus{static build(){return new e(window.history,ds,()=>window.location,!1)}constructor(t,o,n,a){var s,c;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(c=(s=t.state)===null||s===void 0?void 0:s.index)!==null&&c!==void 0?c:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(t,o=!1){let n=o&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,qe.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new ft(this.currentItem())),0)}installProxies(){let t=o=>(n,a,[s,c,l])=>{let u=o(),p={...u===this.currentIndex?this.currentState:void 0,...s,index:u,href:typeof l=="string"?l:(l??this.windowLocation()).href};n.apply(a,[p,c,l]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(ft.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(ft.eventName,t)}currentItem(){return(0,qe.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,qe.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,qe.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var o;let n=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;if(!n)return t;let a=t,s=t+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(a=s),s++;return a}buildCurrentState(){var t,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&o!==void 0?o:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,o){var n;if(!this.hasState(t))return!1;let a=o??this.currentState.majorStateId,s=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Hr.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var us=R;function ps(e,t){var o;return us.getState().authenticationRequired&&!(!((o=us.getState().session)===null||o===void 0)&&o.sessionAuthenticated)?Promise.resolve(t):e()}var $=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},B=class extends Ce.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>pt.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Ce.CacheRegistry,this.cleanSessionDebouncer=new Ce.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return fs.html`
|
|
288
|
+
`;var ei=["top","right","bottom","left"],Qa=["start","end"],en=ei.reduce((e,t)=>e.concat(t,t+"-"+Qa[0],t+"-"+Qa[1]),[]),ti=Math.min,ri=Math.max;var jc={left:"right",right:"left",bottom:"top",top:"bottom"},Kc={start:"end",end:"start"};function tn(e,t,o){return ri(e,ti(t,o))}function Rr(e,t){return typeof e=="function"?e(t):e}function Bt(e){return e.split("-")[0]}function Ve(e){return e.split("-")[1]}function rn(e){return e==="x"?"y":"x"}function on(e){return e==="y"?"height":"width"}function Tr(e){return["top","bottom"].includes(Bt(e))?"y":"x"}function nn(e){return rn(Tr(e))}function oi(e,t,o){o===void 0&&(o=!1);let n=Ve(e),a=nn(e),s=on(a),c=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(c=Qo(c)),[c,Qo(c)]}function ni(e){return e.replace(/start|end/g,t=>Kc[t])}function Qo(e){return e.replace(/left|right|bottom|top/g,t=>jc[t])}function Vc(e){return{top:0,right:0,bottom:0,left:0,...e}}function ai(e){return typeof e!="number"?Vc(e):{top:e,right:e,bottom:e,left:e}}function lt(e){let{x:t,y:o,width:n,height:a}=e;return{width:n,height:a,top:o,left:t,right:t+n,bottom:o+a,x:t,y:o}}function ii(e,t,o){let{reference:n,floating:a}=e,s=Tr(t),c=nn(t),l=on(c),u=Bt(t),p=s==="y",y=n.x+n.width/2-a.width/2,f=n.y+n.height/2-a.height/2,m=n[l]/2-a[l]/2,x;switch(u){case"top":x={x:y,y:n.y-a.height};break;case"bottom":x={x:y,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:f};break;case"left":x={x:n.x-a.width,y:f};break;default:x={x:n.x,y:n.y}}switch(Ve(t)){case"start":x[c]-=m*(o&&p?-1:1);break;case"end":x[c]+=m*(o&&p?-1:1);break}return x}var si=async(e,t,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:s=[],platform:c}=o,l=s.filter(Boolean),u=await(c.isRTL==null?void 0:c.isRTL(t)),p=await c.getElementRects({reference:e,floating:t,strategy:a}),{x:y,y:f}=ii(p,n,u),m=n,x={},b=0;for(let v=0;v<l.length;v++){let{name:A,fn:E}=l[v],{x:w,y:L,data:_,reset:I}=await E({x:y,y:f,initialPlacement:n,placement:m,strategy:a,middlewareData:x,rects:p,platform:c,elements:{reference:e,floating:t}});y=w??y,f=L??f,x={...x,[A]:{...x[A],..._}},I&&b<=50&&(b++,typeof I=="object"&&(I.placement&&(m=I.placement),I.rects&&(p=I.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:a}):I.rects),{x:y,y:f}=ii(p,m,u)),v=-1)}return{x:y,y:f,placement:m,strategy:a,middlewareData:x}};async function an(e,t){var o;t===void 0&&(t={});let{x:n,y:a,platform:s,rects:c,elements:l,strategy:u}=e,{boundary:p="clippingAncestors",rootBoundary:y="viewport",elementContext:f="floating",altBoundary:m=!1,padding:x=0}=Rr(t,e),b=ai(x),A=l[m?f==="floating"?"reference":"floating":f],E=lt(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(A)))==null||o?A:A.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:p,rootBoundary:y,strategy:u})),w=f==="floating"?{x:n,y:a,width:c.floating.width,height:c.floating.height}:c.reference,L=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),_=await(s.isElement==null?void 0:s.isElement(L))?await(s.getScale==null?void 0:s.getScale(L))||{x:1,y:1}:{x:1,y:1},I=lt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:L,strategy:u}):w);return{top:(E.top-I.top+b.top)/_.y,bottom:(I.bottom-E.bottom+b.bottom)/_.y,left:(E.left-I.left+b.left)/_.x,right:(I.right-E.right+b.right)/_.x}}function Zc(e,t,o){return(e?[...o.filter(a=>Ve(a)===e),...o.filter(a=>Ve(a)!==e)]:o.filter(a=>Bt(a)===a)).filter(a=>e?Ve(a)===e||(t?ni(a)!==a:!1):!0)}var sn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,a;let{rects:s,middlewareData:c,placement:l,platform:u,elements:p}=t,{crossAxis:y=!1,alignment:f,allowedPlacements:m=en,autoAlignment:x=!0,...b}=Rr(e,t),v=f!==void 0||m===en?Zc(f||null,x,m):m,A=await an(t,b),E=((o=c.autoPlacement)==null?void 0:o.index)||0,w=v[E];if(w==null)return{};let L=oi(w,s,await(u.isRTL==null?void 0:u.isRTL(p.floating)));if(l!==w)return{reset:{placement:v[0]}};let _=[A[Bt(w)],A[L[0]],A[L[1]]],I=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:w,overflows:_}],ne=v[E+1];if(ne)return{data:{index:E+1,overflows:I},reset:{placement:ne}};let Le=I.map(Y=>{let h=Ve(Y.placement);return[Y.placement,h&&y?Y.overflows.slice(0,2).reduce((g,N)=>g+N,0):Y.overflows[0],Y.overflows]}).sort((Y,h)=>Y[1]-h[1]),_e=((a=Le.filter(Y=>Y[2].slice(0,Ve(Y[0])?2:3).every(h=>h<=0))[0])==null?void 0:a[0])||Le[0][0];return _e!==l?{data:{index:E+1,overflows:I},reset:{placement:_e}}:{}}}};var cn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:a}=t,{mainAxis:s=!0,crossAxis:c=!1,limiter:l={fn:A=>{let{x:E,y:w}=A;return{x:E,y:w}}},...u}=Rr(e,t),p={x:o,y:n},y=await an(t,u),f=Tr(Bt(a)),m=rn(f),x=p[m],b=p[f];if(s){let A=m==="y"?"top":"left",E=m==="y"?"bottom":"right",w=x+y[A],L=x-y[E];x=tn(w,x,L)}if(c){let A=f==="y"?"top":"left",E=f==="y"?"bottom":"right",w=b+y[A],L=b-y[E];b=tn(w,b,L)}let v=l.fn({...t,[m]:x,[f]:b});return{...v,data:{x:v.x-o,y:v.y-n,enabled:{[m]:s,[f]:c}}}}}};var ln=Math.min,Ut=Math.max,ar=Math.round;var We=e=>({x:e,y:e});function Fe(e){return li(e)?(e.nodeName||"").toLowerCase():"#document"}function ie(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ze(e){var t;return(t=(li(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function li(e){return e instanceof Node||e instanceof ie(e).Node}function Ie(e){return e instanceof Element||e instanceof ie(e).Element}function Oe(e){return e instanceof HTMLElement||e instanceof ie(e).HTMLElement}function ci(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ie(e).ShadowRoot}function Ht(e){let{overflow:t,overflowX:o,overflowY:n,display:a}=ce(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(a)}function di(e){return["table","td","th"].includes(Fe(e))}function Lr(e){let t=_r(),o=ce(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function ui(e){let t=dt(e);for(;Oe(t)&&!ir(t);){if(Lr(t))return t;t=dt(t)}return null}function _r(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ir(e){return["html","body","#document"].includes(Fe(e))}function ce(e){return ie(e).getComputedStyle(e)}function sr(e){return Ie(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function dt(e){if(Fe(e)==="html")return e;let t=e.assignedSlot||e.parentNode||ci(e)&&e.host||ze(e);return ci(t)?t.host:t}function pi(e){let t=dt(e);return ir(t)?e.ownerDocument?e.ownerDocument.body:e.body:Oe(t)&&Ht(t)?t:pi(t)}function Nr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=pi(e),s=a===((n=e.ownerDocument)==null?void 0:n.body),c=ie(a);return s?t.concat(c,c.visualViewport||[],Ht(a)?a:[],c.frameElement&&o?Nr(c.frameElement):[]):t.concat(a,Nr(a,[],o))}function yi(e){let t=ce(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=Oe(e),s=a?e.offsetWidth:o,c=a?e.offsetHeight:n,l=ar(o)!==s||ar(n)!==c;return l&&(o=s,n=c),{width:o,height:n,$:l}}function mi(e){return Ie(e)?e:e.contextElement}function Wt(e){let t=mi(e);if(!Oe(t))return We(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:s}=yi(t),c=(s?ar(o.width):o.width)/n,l=(s?ar(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}var Xc=We(0);function gi(e){let t=ie(e);return!_r()||!t.visualViewport?Xc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Jc(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==ie(e)?!1:t}function cr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),s=mi(e),c=We(1);t&&(n?Ie(n)&&(c=Wt(n)):c=Wt(e));let l=Jc(s,o,n)?gi(s):We(0),u=(a.left+l.x)/c.x,p=(a.top+l.y)/c.y,y=a.width/c.x,f=a.height/c.y;if(s){let m=ie(s),x=n&&Ie(n)?ie(n):n,b=m.frameElement;for(;b&&n&&x!==m;){let v=Wt(b),A=b.getBoundingClientRect(),E=ce(b),w=A.left+(b.clientLeft+parseFloat(E.paddingLeft))*v.x,L=A.top+(b.clientTop+parseFloat(E.paddingTop))*v.y;u*=v.x,p*=v.y,y*=v.x,f*=v.y,u+=w,p+=L,b=ie(b).frameElement}}return lt({width:y,height:f,x:u,y:p})}function Qc(e){let{rect:t,offsetParent:o,strategy:n}=e,a=Oe(o),s=ze(o);if(o===s)return t;let c={scrollLeft:0,scrollTop:0},l=We(1),u=We(0);if((a||!a&&n!=="fixed")&&((Fe(o)!=="body"||Ht(s))&&(c=sr(o)),Oe(o))){let p=cr(o);l=Wt(o),u.x=p.x+o.clientLeft,u.y=p.y+o.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-c.scrollLeft*l.x+u.x,y:t.y*l.y-c.scrollTop*l.y+u.y}}function el(e){return Array.from(e.getClientRects())}function bi(e){return cr(ze(e)).left+sr(e).scrollLeft}function tl(e){let t=ze(e),o=sr(e),n=e.ownerDocument.body,a=Ut(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=Ut(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+bi(e),l=-o.scrollTop;return ce(n).direction==="rtl"&&(c+=Ut(t.clientWidth,n.clientWidth)-a),{width:a,height:s,x:c,y:l}}function rl(e,t){let o=ie(e),n=ze(e),a=o.visualViewport,s=n.clientWidth,c=n.clientHeight,l=0,u=0;if(a){s=a.width,c=a.height;let p=_r();(!p||p&&t==="fixed")&&(l=a.offsetLeft,u=a.offsetTop)}return{width:s,height:c,x:l,y:u}}function ol(e,t){let o=cr(e,!0,t==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,s=Oe(e)?Wt(e):We(1),c=e.clientWidth*s.x,l=e.clientHeight*s.y,u=a*s.x,p=n*s.y;return{width:c,height:l,x:u,y:p}}function fi(e,t,o){let n;if(t==="viewport")n=rl(e,o);else if(t==="document")n=tl(ze(e));else if(Ie(t))n=ol(t,o);else{let a=gi(e);n={...t,x:t.x-a.x,y:t.y-a.y}}return lt(n)}function xi(e,t){let o=dt(e);return o===t||!Ie(o)||ir(o)?!1:ce(o).position==="fixed"||xi(o,t)}function nl(e,t){let o=t.get(e);if(o)return o;let n=Nr(e,[],!1).filter(l=>Ie(l)&&Fe(l)!=="body"),a=null,s=ce(e).position==="fixed",c=s?dt(e):e;for(;Ie(c)&&!ir(c);){let l=ce(c),u=Lr(c);!u&&l.position==="fixed"&&(a=null),(s?!u&&!a:!u&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Ht(c)&&!u&&xi(e,c))?n=n.filter(y=>y!==c):a=l,c=dt(c)}return t.set(e,n),n}function al(e){let{element:t,boundary:o,rootBoundary:n,strategy:a}=e,c=[...o==="clippingAncestors"?nl(t,this._c):[].concat(o),n],l=c[0],u=c.reduce((p,y)=>{let f=fi(t,y,a);return p.top=Ut(f.top,p.top),p.right=ln(f.right,p.right),p.bottom=ln(f.bottom,p.bottom),p.left=Ut(f.left,p.left),p},fi(t,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function il(e){return yi(e)}function sl(e,t,o){let n=Oe(t),a=ze(t),s=o==="fixed",c=cr(e,!0,s,t),l={scrollLeft:0,scrollTop:0},u=We(0);if(n||!n&&!s)if((Fe(t)!=="body"||Ht(a))&&(l=sr(t)),n){let p=cr(t,!0,s,t);u.x=p.x+t.clientLeft,u.y=p.y+t.clientTop}else a&&(u.x=bi(a));return{x:c.left+l.scrollLeft-u.x,y:c.top+l.scrollTop-u.y,width:c.width,height:c.height}}function hi(e,t){return!Oe(e)||ce(e).position==="fixed"?null:t?t(e):e.offsetParent}function vi(e,t){let o=ie(e);if(!Oe(e))return o;let n=hi(e,t);for(;n&&di(n)&&ce(n).position==="static";)n=hi(n,t);return n&&(Fe(n)==="html"||Fe(n)==="body"&&ce(n).position==="static"&&!Lr(n))?o:n||ui(e)||o}var cl=async function(e){let{reference:t,floating:o,strategy:n}=e,a=this.getOffsetParent||vi,s=this.getDimensions;return{reference:sl(t,await a(o),n),floating:{x:0,y:0,...await s(o)}}};function ll(e){return ce(e).direction==="rtl"}var Ir={convertOffsetParentRelativeRectToViewportRelativeRect:Qc,getDocumentElement:ze,getClippingRect:al,getOffsetParent:vi,getElementRects:cl,getClientRects:el,getDimensions:il,getScale:Wt,isElement:Ie,isRTL:ll};var Si=(e,t,o)=>{let n=new Map,a={platform:Ir,...o},s={...a.platform,_c:n};return si(e,t,{...a,platform:s})};function Oi(e){return dl(e)}function dn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function dl(e){for(let t=e;t;t=dn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=dn(e);t;t=dn(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Ci(e,t,o){return Si(e,t,{platform:{...Ir,getOffsetParent:n=>Ir.getOffsetParent(n,Oi)},middleware:[cn({crossAxis:!0}),sn({allowedPlacements:[o]})]})}var Xt=C(k());var lc=C(k());var fs=C(z()),Q=C(re()),Ce=C(k());var Ei=C(z());var Ai=Ei.css`
|
|
289
|
+
`;var Pr=C(k()),ul="ft-app-info",ut=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};ut.eventName="authentication-change";var pl={session:(e,t)=>{(0,Pr.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>R.dispatchEvent(new ut(t.payload)),0))}},R=Pr.FtReduxStore.get({name:ul,reducers:pl,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 un=C(k());var pt=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=R.getState(),a=t??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let a=R.subscribe(()=>{n=e.get(t),n&&(a(),o(n))})}})}};var kr=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:pt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):pt.await()}};var le=class extends kr{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(([l],[u])=>l.localeCompare(u)));let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new un.CacheRegistry,this.cache=t?a.commonCache:new un.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 Dr=class extends le{async listMyBookmarks(){let t=R.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var pn=class{addCommand(t,o=!1){R.commands.add(t,o)}consumeCommand(t){return R.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new pn;var ye=C(k());var wi,Ft=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},fl=Symbol("clearAfterUnitTest"),Mr=class extends(0,ye.withEventBus)(le){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[wi]=()=>{this.defaultMessages={},this.cache=new ye.CacheRegistry,this.listeners={}},this.currentUiLocale=R.getState().uiLocale,R.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=R.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,ye.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var a;let s=t.toLowerCase(),c=this.resolveContext(s);return new ye.ParametrizedLabelResolver((a=this.defaultMessages[s])!==null&&a!==void 0?a:{},c).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(a){!(a instanceof ye.CanceledPromiseError)&&o&&console.error(a)}return n}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new Ft({loadedContexts:t})),this.dispatchEvent(new Ft({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new Ft({loadedContexts:[t]})),this.dispatchEvent(new Ft({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,ye.delay)(0).then(()=>n()).catch(()=>null)))}};wi=fl;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Mr{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Mr{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var lr=window.FluidTopicsI18nService,fn=window.FluidTopicsCustomI18nService;var Ri=C(k()),hn=class{highlightHtml(t,o,n){(0,Ri.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new hn;var yl=C(Ni(),1);var Li;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Li||(Li={}));var _i;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(_i||(_i={}));var Ii;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(Ii||(Ii={}));var Pi;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(Pi||(Pi={}));var ki;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(ki||(ki={}));var Di;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Di||(Di={}));var Mi;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(Mi||(Mi={}));var Bi;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(Bi||(Bi={}));var Ui;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW"})(Ui||(Ui={}));var Hi;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Hi||(Hi={}));var Wi;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Wi||(Wi={}));var Fi;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Fi||(Fi={}));var zi;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(zi||(zi={}));var Gi;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Gi||(Gi={}));var $i;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})($i||($i={}));var ji;(function(e){e.ASC="ASC",e.DESC="DESC"})(ji||(ji={}));var Ki;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Ki||(Ki={}));var Vi;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Vi||(Vi={}));var Zi;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Zi||(Zi={}));var qi;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(qi||(qi={}));var Yi;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Yi||(Yi={}));var Xi;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Xi||(Xi={}));var Ji;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Ji||(Ji={}));var Qi;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Qi||(Qi={}));var es;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(es||(es={}));var G;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(G||(G={}));var me;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(me||(me={}));var ts;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(ts||(ts={}));var rs;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(rs||(rs={}));var os;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(os||(os={}));var ns;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})(ns||(ns={}));var as;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(as||(as={}));var is;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(is||(is={}));var hl={[G.PERSONAL_BOOK_SHARE_USER]:[G.PERSONAL_BOOK_USER],[G.HTML_EXPORT_USER]:[G.PERSONAL_BOOK_USER],[G.PDF_EXPORT_USER]:[G.PERSONAL_BOOK_USER],[G.KHUB_ADMIN]:[G.CONTENT_PUBLISHER],[G.ADMIN]:[G.KHUB_ADMIN,G.USERS_ADMIN,G.PORTAL_ADMIN],[G.GENERATIVE_AI_EXPORT_USER]:[G.GENERATIVE_AI_USER]};function ss(e,t){return e===t||(hl[e]??[]).some(o=>ss(o,t))}function cs(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(n=>ss(n,t))}var Hr=class extends le{async listMySearches(){let{session:t}=R.getState();return cs(t,G.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var ls=C(k());var yn=class{isDate(t){var o,n,a,s;return(s=(a=((n=(o=R.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===t))===null||a===void 0?void 0:a.date)!==null&&s!==void 0?s:!1}format(t,o){var n,a,s;return ls.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:R.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(s=o?.withTime)!==null&&s!==void 0?s:!1)}};window.FluidTopicsDateService=new yn;var ds=C(k());var dr=class{static get(t,o){var n,a;let s=R.getState(),{lang:c,region:l}=(a=(n=s.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new ds.SearchPlaceConverter(s.baseUrl,t??20,s.searchInAllLanguagesAllowed,o??`${c}-${l}`)}};var mn=class{urlToSearchRequest(t){return dr.get().parse(t)}searchRequestToUrl(t){return dr.get().serialize(t)}};window.FluidTopicsUrlService=new mn;var qe=C(k());var ft=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};ft.eventName="change";var gn=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))}},us=new gn;var Wr=class e extends qe.WithEventBus{static build(){return new e(window.history,us,()=>window.location,!1)}constructor(t,o,n,a){var s,c;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(c=(s=t.state)===null||s===void 0?void 0:s.index)!==null&&c!==void 0?c:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(t,o=!1){let n=o&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,qe.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new ft(this.currentItem())),0)}installProxies(){let t=o=>(n,a,[s,c,l])=>{let u=o(),p={...u===this.currentIndex?this.currentState:void 0,...s,index:u,href:typeof l=="string"?l:(l??this.windowLocation()).href};n.apply(a,[p,c,l]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(ft.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(ft.eventName,t)}currentItem(){return(0,qe.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,qe.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,qe.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var o;let n=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;if(!n)return t;let a=t,s=t+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(a=s),s++;return a}buildCurrentState(){var t,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&o!==void 0?o:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,o){var n;if(!this.hasState(t))return!1;let a=o??this.currentState.majorStateId,s=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Wr.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});function ps(e,t){let{authenticationRequired:o,session:n}=R.getState();return o&&!n?.sessionAuthenticated?Promise.resolve(t):e()}var $=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},M=class extends Ce.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>pt.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Ce.CacheRegistry,this.cleanSessionDebouncer=new Ce.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return fs.html`
|
|
290
290
|
<slot></slot>
|
|
291
|
-
`}connectedCallback(){super.connectedCallback(),R.addEventListener(ut.eventName,this.reloadConfiguration)}disconnectedCallback(){R.addEventListener(ut.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var o,n,a,s,c,l,u;super.update(t),t.has("baseUrl")&&(R.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&R.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&R.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&R.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&R.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&R.actions.noCustom(this.noCustom),t.has("editorMode")&&R.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&R.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&R.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(p=>lr.addContext(p)),t.has("openExternalDocumentInNewTab")&&R.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&R.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&R.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(R.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),R.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),R.actions.searchInAllLanguagesAllowed((c=(s=this.localesConfiguration)===null||s===void 0?void 0:s.allLanguagesAllowed)!==null&&c!==void 0?c:!1)),t.has("authenticationRequired")&&R.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&R.actions.availableContentLocales((u=(l=this.availableContentLocales)===null||l===void 0?void 0:l.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",()=>ps(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};B.elementDefinitions={};B.styles=Ai;$([(0,Q.property)()],B.prototype,"baseUrl",void 0);$([(0,Q.property)()],B.prototype,"apiIntegrationIdentifier",void 0);$([(0,Q.property)()],B.prototype,"apiIntegrationAppVersion",void 0);$([(0,Q.property)()],B.prototype,"uiLocale",void 0);$([(0,Ce.jsonProperty)(null)],B.prototype,"availableUiLocales",void 0);$([(0,Ce.jsonProperty)(null)],B.prototype,"metadataConfiguration",void 0);$([(0,Q.property)({type:Boolean})],B.prototype,"editorMode",void 0);$([(0,Q.property)({type:Boolean})],B.prototype,"noCustom",void 0);$([(0,Q.property)({type:Boolean})],B.prototype,"openExternalDocumentInNewTab",void 0);$([(0,Q.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],B.prototype,"noCustomComponent",void 0);$([(0,Q.property)({type:Boolean})],B.prototype,"withManualResources",void 0);$([(0,Q.property)({type:Boolean})],B.prototype,"navigatorOnline",void 0);$([(0,Q.property)({type:Boolean})],B.prototype,"forcedOffline",void 0);$([(0,Q.property)({type:Object})],B.prototype,"apiProvider",void 0);$([(0,Q.property)({type:Boolean})],B.prototype,"authenticationRequired",void 0);$([(0,Ce.jsonProperty)([])],B.prototype,"messageContexts",void 0);$([(0,Ce.jsonProperty)(void 0)],B.prototype,"session",void 0);$([(0,Q.state)()],B.prototype,"localesConfiguration",void 0);$([(0,Q.state)()],B.prototype,"availableContentLocales",void 0);var zn=C(re());function ml(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,n,a;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!Fr(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!Fr(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let s=c=>Object.keys(c).filter(l=>c[l]!=null);if(a=s(e),o=a.length,o!==s(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=o;n--!==0;){let c=a[n];if(!Fr(e[c],t[c]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Fr(e,t){try{return ml(e,t)}catch{return!1}}function ur(e,t){return!Fr(e,t)}function zr(e,t){let o=n=>n[e]===!0;return n=>{if(o(n))return n;let a=t(n);return a[e]=!0,a}}var hs=C(re(),1);var bn=e=>{let t=e??{};return(o,n)=>{var a;let s={hasChanged:ur,attribute:!1,...t};(0,hs.property)(s)(o,n);let c=o.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:l=>l[n],store:t.store})}};var Gr=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 ht=C(re(),1);var ys=C(re(),1);function ms(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,ys.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:ur,...t??{}})}var $r=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,s=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(l){a(l);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 bs=C(z(),1);var jr=globalThis,gl=jr.ShadowRoot&&(jr.ShadyCSS===void 0||jr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Wg=Symbol();var gs=(e,t)=>{if(gl)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=jr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var Kr=class extends bs.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,s])=>t.registry.define(a,s)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return gs(n,t.elementStyles),n}};function xs(e,t,...o){var n;let a=e.querySelector(t);for(let s of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return a}var $t=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},Cs,vs=Symbol("constructorPrototype"),Ss=Symbol("constructorName"),Es=Symbol("exportpartsDebouncer"),Os=Symbol("dynamicDependenciesLoaded"),Gt=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};Gt.eventName="exportparts-updated";var Pe=class extends Kr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Cs]=new $r(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[Es].run(()=>{var a,s;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Ss]=this.constructor.name,this[vs]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ss]&&Object.setPrototypeOf(this,this[vs])}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[Os]||(o[Os]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Gt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Gt.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 Gt)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let s=[...a??[],n];o=xs(this.shadowRoot,...s)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(t){var o,n,a,s,c,l;let u=m=>m!=null&&m.trim().length>0,p=t.filter(u).map(m=>m.trim());if(p.length===0){this.exportparts=void 0;return}let y=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(s=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&s!==void 0?s:[],b=(l=(c=m.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(A=>A.split(":")[1]))!==null&&l!==void 0?l:[],v=[...x,...b].filter(u).map(A=>A.trim());for(let A of v)y.add(A)}if(y.size===0){this.exportparts=void 0;return}let f=[...y.values()].flatMap(m=>p.map(x=>`${m}:${x}--${m}`));this.exportparts=[...this.part,...f].join(", ")}};Cs=Es;$t([(0,ht.property)()],Pe.prototype,"exportpartsPrefix",void 0);$t([ms([])],Pe.prototype,"exportpartsPrefixes",void 0);$t([(0,ht.property)({reflect:!0})],Pe.prototype,"exportparts",void 0);$t([(0,ht.property)()],Pe.prototype,"customStylesheet",void 0);$t([(0,ht.property)()],Pe.prototype,"elementToFocus",void 0);$t([(0,ht.state)()],Pe.prototype,"useAdoptedStyleSheets",void 0);function Vr(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var pr=Symbol("internalReduxEventsUnsubscribers"),Ye=Symbol("internalStoresUnsubscribers"),yt=Symbol("internalStores"),bl=zr(Symbol("withRedux"),function(e){var t,o,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(c){super.willUpdate(c),[...this.reduxConstructor.reduxReactiveProperties].some(l=>c.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[yt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[yt].values()][0]}getStore(c){return c==null?this.getUnnamedStore():this[yt].get(c)}addStore(c,l){var u;l=(u=l??c.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(l),this[yt].set(l,c),this.subscribeToStore(l,c),this.updateFromStores()}removeStore(c){let l=typeof c=="string"?c:c.name;this.unsubscribeFromStore(l),this[yt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[yt].forEach((c,l)=>this.subscribeToStore(l,c)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((c,l)=>{let u=this.constructor.getPropertyOptions(l);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:l)){let p=this.getStore(c.store);p&&(c.store?this[Ye].has(c.store):this[Ye].size>0)&&(this[l]=c.selector(p.getState(),this))}})}subscribeToStore(c,l){var u;this[Ye].set(c,l.subscribe(()=>this.updateFromStores())),this[pr].set(c,[]),Vr(l)&&l.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((p,y)=>{if(typeof this[y]=="function"&&(!p.store||l.name===p.store)){let f=m=>this[y](m);l.addEventListener(p.eventName,f),this[pr].get(c).push(()=>l.removeEventListener(p.eventName,f))}})),this.onStoreAvailable(c)}unsubscribeFromStores(){this[Ye].forEach((c,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(c){var l;this[Ye].has(c)&&this[Ye].get(c)(),this[Ye].delete(c),(l=this[pr].get(c))===null||l===void 0||l.forEach(u=>u()),this[pr].delete(c)}onStoreAvailable(c){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=Ye,o=yt,n=pr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),As=class extends bl(Pe){};function ge(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,s;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ge(e){return!!e&&!!e[M]}function Ee(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===wl}(e)||Array.isArray(e)||!!e[Is]||!!(!((t=e.constructor)===null||t===void 0)&&t[Is])||Rn(e)||Tn(e))}function mt(e,t,o){o===void 0&&(o=!1),Vt(e)===0?(o?Object.keys:Kt)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function Vt(e){var t=e[M];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Rn(e)?2:Tn(e)?3:0}function jt(e,t){return Vt(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function xl(e,t){return Vt(e)===2?e.get(t):e[t]}function Ps(e,t,o){var n=Vt(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function ks(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Rn(e){return El&&e instanceof Map}function Tn(e){return Al&&e instanceof Set}function Xe(e){return e.o||e.t}function Nn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Ms(e);delete t[M];for(var o=Kt(t),n=0;n<o.length;n++){var a=o[n],s=t[a];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(t[a]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Ln(e,t){return t===void 0&&(t=!1),_n(e)||Ge(e)||!Ee(e)||(Vt(e)>1&&(e.set=e.add=e.clear=e.delete=vl),Object.freeze(e),t&&mt(e,function(o,n){return Ln(n,!0)},!0)),e}function vl(){ge(2)}function _n(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function ke(e){var t=wn[e];return t||ge(18,e),t}function Sl(e,t){wn[e]||(wn[e]=t)}function Cn(){return hr}function xn(e,t){t&&(ke("Patches"),e.u=[],e.s=[],e.v=t)}function Zr(e){En(e),e.p.forEach(Ol),e.p=null}function En(e){e===hr&&(hr=e.l)}function ws(e){return hr={p:[],l:hr,h:e,m:!0,_:0}}function Ol(e){var t=e[M];t.i===0||t.i===1?t.j():t.g=!0}function vn(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||ke("ES5").S(t,e,n),n?(o[M].P&&(Zr(t),ge(4)),Ee(e)&&(e=qr(t,e),t.l||Yr(t,e)),t.u&&ke("Patches").M(o[M].t,e,t.u,t.s)):e=qr(t,o,[]),Zr(t),t.u&&t.v(t.u,t.s),e!==Bs?e:void 0}function qr(e,t,o){if(_n(t))return t;var n=t[M];if(!n)return mt(t,function(l,u){return Rs(e,n,t,l,u,o)},!0),t;if(n.A!==e)return t;if(!n.P)return Yr(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Nn(n.k):n.o,s=a,c=!1;n.i===3&&(s=new Set(a),a.clear(),c=!0),mt(s,function(l,u){return Rs(e,n,a,l,u,o,c)}),Yr(e,a,!1),o&&e.u&&ke("Patches").N(n,o,e.u,e.s)}return n.o}function Rs(e,t,o,n,a,s,c){if(Ge(a)){var l=qr(e,a,s&&t&&t.i!==3&&!jt(t.R,n)?s.concat(n):void 0);if(Ps(o,n,l),!Ge(l))return;e.m=!1}else c&&o.add(a);if(Ee(a)&&!_n(a)){if(!e.h.D&&e._<1)return;qr(e,a),t&&t.A.l||Yr(e,a)}}function Yr(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Ln(t,o)}function Sn(e,t){var o=e[M];return(o?Xe(o):e)[t]}function Ts(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function Je(e){e.P||(e.P=!0,e.l&&Je(e.l))}function On(e){e.o||(e.o=Nn(e.t))}function An(e,t,o){var n=Rn(t)?ke("MapSet").F(t,o):Tn(t)?ke("MapSet").T(t,o):e.O?function(a,s){var c=Array.isArray(a),l={i:c?1:0,A:s?s.A:Cn(),P:!1,I:!1,R:{},l:s,t:a,k:null,o:null,j:null,C:!1},u=l,p=yr;c&&(u=[l],p=fr);var y=Proxy.revocable(u,p),f=y.revoke,m=y.proxy;return l.k=m,l.j=f,m}(t,o):ke("ES5").J(t,o);return(o?o.A:Cn()).p.push(n),n}function Cl(e){return Ge(e)||ge(22,e),function t(o){if(!Ee(o))return o;var n,a=o[M],s=Vt(o);if(a){if(!a.P&&(a.i<4||!ke("ES5").K(a)))return a.t;a.I=!0,n=Ns(o,s),a.I=!1}else n=Ns(o,s);return mt(n,function(c,l){a&&xl(a.t,c)===l||Ps(n,c,t(l))}),s===3?new Set(n):n}(e)}function Ns(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Nn(e)}function Ds(){function e(c,l){var u=s[c];return u?u.enumerable=l:s[c]=u={configurable:!0,enumerable:l,get:function(){var p=this[M];return yr.get(p,c)},set:function(p){var y=this[M];yr.set(y,c,p)}},u}function t(c){for(var l=c.length-1;l>=0;l--){var u=c[l][M];if(!u.P)switch(u.i){case 5:n(u)&&Je(u);break;case 4:o(u)&&Je(u)}}}function o(c){for(var l=c.t,u=c.k,p=Kt(u),y=p.length-1;y>=0;y--){var f=p[y];if(f!==M){var m=l[f];if(m===void 0&&!jt(l,f))return!0;var x=u[f],b=x&&x[M];if(b?b.t!==m:!ks(x,m))return!0}}var v=!!l[M];return p.length!==Kt(l).length+(v?0:1)}function n(c){var l=c.k;if(l.length!==c.t.length)return!0;var u=Object.getOwnPropertyDescriptor(l,l.length-1);if(u&&!u.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function a(c){c.g&&ge(3,JSON.stringify(Xe(c)))}var s={};Sl("ES5",{J:function(c,l){var u=Array.isArray(c),p=function(f,m){if(f){for(var x=Array(m.length),b=0;b<m.length;b++)Object.defineProperty(x,""+b,e(b,!0));return x}var v=Ms(m);delete v[M];for(var A=Kt(v),E=0;E<A.length;E++){var w=A[E];v[w]=e(w,f||!!v[w].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(u,c),y={i:u?5:4,A:l?l.A:Cn(),P:!1,I:!1,R:{},l,t:c,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,M,{value:y,writable:!0}),p},S:function(c,l,u){u?Ge(l)&&l[M].A===c&&t(c.p):(c.u&&function p(y){if(y&&typeof y=="object"){var f=y[M];if(f){var m=f.t,x=f.k,b=f.R,v=f.i;if(v===4)mt(x,function(_){_!==M&&(m[_]!==void 0||jt(m,_)?b[_]||p(x[_]):(b[_]=!0,Je(f)))}),mt(m,function(_){x[_]!==void 0||jt(x,_)||(b[_]=!1,Je(f))});else if(v===5){if(n(f)&&(Je(f),b.length=!0),x.length<m.length)for(var A=x.length;A<m.length;A++)b[A]=!1;else for(var E=m.length;E<x.length;E++)b[E]=!0;for(var w=Math.min(x.length,m.length),L=0;L<w;L++)x.hasOwnProperty(L)||(b[L]=!0),b[L]===void 0&&p(x[L])}}}}(c.p[0]),t(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var Ls,hr,In=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",El=typeof Map<"u",Al=typeof Set<"u",_s=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Bs=In?Symbol.for("immer-nothing"):((Ls={})["immer-nothing"]=!0,Ls),Is=In?Symbol.for("immer-draftable"):"__$immer_draftable",M=In?Symbol.for("immer-state"):"__$immer_state";var wl=""+Object.prototype.constructor,Kt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Ms=Object.getOwnPropertyDescriptors||function(e){var t={};return Kt(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},wn={},yr={get:function(e,t){if(t===M)return e;var o=Xe(e);if(!jt(o,t))return function(a,s,c){var l,u=Ts(s,c);return u?"value"in u?u.value:(l=u.get)===null||l===void 0?void 0:l.call(a.k):void 0}(e,o,t);var n=o[t];return e.I||!Ee(n)?n:n===Sn(e.t,t)?(On(e),e.o[t]=An(e.A.h,n,e)):n},has:function(e,t){return t in Xe(e)},ownKeys:function(e){return Reflect.ownKeys(Xe(e))},set:function(e,t,o){var n=Ts(Xe(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=Sn(Xe(e),t),s=a?.[M];if(s&&s.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(ks(o,a)&&(o!==void 0||jt(e.t,t)))return!0;On(e),Je(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return Sn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,On(e),Je(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=Xe(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){ge(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ge(12)}},fr={};mt(yr,function(e,t){fr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),fr.deleteProperty=function(e,t){return fr.set.call(this,e,t,void 0)},fr.set=function(e,t,o){return yr.set.call(this,e[0],t,o,e[0])};var Rl=function(){function e(o){var n=this;this.O=_s,this.D=!0,this.produce=function(a,s,c){if(typeof a=="function"&&typeof s!="function"){var l=s;s=a;var u=n;return function(v){var A=this;v===void 0&&(v=l);for(var E=arguments.length,w=Array(E>1?E-1:0),L=1;L<E;L++)w[L-1]=arguments[L];return u.produce(v,function(_){var I;return(I=s).call.apply(I,[A,_].concat(w))})}}var p;if(typeof s!="function"&&ge(6),c!==void 0&&typeof c!="function"&&ge(7),Ee(a)){var y=ws(n),f=An(n,a,void 0),m=!0;try{p=s(f),m=!1}finally{m?Zr(y):En(y)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(v){return xn(y,c),vn(v,y)},function(v){throw Zr(y),v}):(xn(y,c),vn(p,y))}if(!a||typeof a!="object"){if((p=s(a))===void 0&&(p=a),p===Bs&&(p=void 0),n.D&&Ln(p,!0),c){var x=[],b=[];ke("Patches").M(a,p,x,b),c(x,b)}return p}ge(21,a)},this.produceWithPatches=function(a,s){if(typeof a=="function")return function(p){for(var y=arguments.length,f=Array(y>1?y-1:0),m=1;m<y;m++)f[m-1]=arguments[m];return n.produceWithPatches(p,function(x){return a.apply(void 0,[x].concat(f))})};var c,l,u=n.produce(a,s,function(p,y){c=p,l=y});return typeof Promise<"u"&&u instanceof Promise?u.then(function(p){return[p,c,l]}):[u,c,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){Ee(o)||ge(8),Ge(o)&&(o=Cl(o));var n=ws(this),a=An(this,o,void 0);return a[M].C=!0,En(n),a},t.finishDraft=function(o,n){var a=o&&o[M],s=a.A;return xn(s,n),vn(void 0,s)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!_s&&ge(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var s=n[a];if(s.path.length===0&&s.op==="replace"){o=s.value;break}}a>-1&&(n=n.slice(a+1));var c=ke("Patches").$;return Ge(o)?c(o,n):this.produce(o,function(l){return c(l,n)})},e}(),de=new Rl,Tl=de.produce,eb=de.produceWithPatches.bind(de),tb=de.setAutoFreeze.bind(de),rb=de.setUseProxies.bind(de),ob=de.applyPatches.bind(de),nb=de.createDraft.bind(de),ab=de.finishDraft.bind(de),Xr=Tl;function gt(e){"@babel/helpers - typeof";return gt=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},gt(e)}function Us(e,t){if(gt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(gt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ws(e){var t=Us(e,"string");return gt(t)=="symbol"?t:t+""}function Hs(e,t,o){return(t=Ws(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Fs(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function Pn(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Fs(Object(o),!0).forEach(function(n){Hs(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Fs(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function ee(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var zs=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),kn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Jr={INIT:"@@redux/INIT"+kn(),REPLACE:"@@redux/REPLACE"+kn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+kn()}};function Nl(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Dn(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(ee(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(ee(1));return o(Dn)(e,t)}if(typeof e!="function")throw new Error(ee(2));var a=e,s=t,c=[],l=c,u=!1;function p(){l===c&&(l=c.slice())}function y(){if(u)throw new Error(ee(3));return s}function f(v){if(typeof v!="function")throw new Error(ee(4));if(u)throw new Error(ee(5));var A=!0;return p(),l.push(v),function(){if(A){if(u)throw new Error(ee(6));A=!1,p();var w=l.indexOf(v);l.splice(w,1),c=null}}}function m(v){if(!Nl(v))throw new Error(ee(7));if(typeof v.type>"u")throw new Error(ee(8));if(u)throw new Error(ee(9));try{u=!0,s=a(s,v)}finally{u=!1}for(var A=c=l,E=0;E<A.length;E++){var w=A[E];w()}return v}function x(v){if(typeof v!="function")throw new Error(ee(10));a=v,m({type:Jr.REPLACE})}function b(){var v,A=f;return v={subscribe:function(w){if(typeof w!="object"||w===null)throw new Error(ee(11));function L(){w.next&&w.next(y())}L();var _=A(L);return{unsubscribe:_}}},v[zs]=function(){return this},v}return m({type:Jr.INIT}),n={dispatch:m,subscribe:f,getState:y,replaceReducer:x},n[zs]=b,n}function Ll(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:Jr.INIT});if(typeof n>"u")throw new Error(ee(12));if(typeof o(void 0,{type:Jr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ee(13))})}function Gs(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(o[a]=e[a])}var s=Object.keys(o),c,l;try{Ll(o)}catch(u){l=u}return function(p,y){if(p===void 0&&(p={}),l)throw l;if(0)var f;for(var m=!1,x={},b=0;b<s.length;b++){var v=s[b],A=o[v],E=p[v],w=A(E,y);if(typeof w>"u"){var L=y&&y.type;throw new Error(ee(14))}x[v]=w,m=m||w!==E}return m=m||s.length!==Object.keys(p).length,m?x:p}}function Zt(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function $s(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),s=function(){throw new Error(ee(15))},c={getState:a.getState,dispatch:function(){return s.apply(void 0,arguments)}},l=t.map(function(u){return u(c)});return s=Zt.apply(void 0,l)(a.dispatch),Pn(Pn({},a),{},{dispatch:s})}}}function js(e){var t=function(n){var a=n.dispatch,s=n.getState;return function(c){return function(l){return typeof l=="function"?l(a,s,e):c(l)}}};return t}var Ks=js();Ks.withExtraArgument=js;var Bn=Ks;var Xs=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(n[s]=a[s])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),_l=function(e,t){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,c;return c={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function l(p){return function(y){return u([p,y])}}function u(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(s=p[0]&2?a.return:p[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,p[1])).done)return s;switch(a=0,s&&(p=[p[0]&2,s.value]),p[0]){case 0:case 1:s=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,a=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(s=o.trys,!(s=s.length>0&&s[s.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!s||p[1]>s[0]&&p[1]<s[3])){o.label=p[1];break}if(p[0]===6&&o.label<s[1]){o.label=s[1],s=p;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(p);break}s[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(y){p=[6,y],a=0}finally{n=s=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},qt=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},Il=Object.defineProperty,Pl=Object.defineProperties,kl=Object.getOwnPropertyDescriptors,Vs=Object.getOwnPropertySymbols,Dl=Object.prototype.hasOwnProperty,Bl=Object.prototype.propertyIsEnumerable,Zs=function(e,t,o){return t in e?Il(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},Qe=function(e,t){for(var o in t||(t={}))Dl.call(t,o)&&Zs(e,o,t[o]);if(Vs)for(var n=0,a=Vs(t);n<a.length;n++){var o=a[n];Bl.call(t,o)&&Zs(e,o,t[o])}return e},Mn=function(e,t){return Pl(e,kl(t))},Ml=function(e,t,o){return new Promise(function(n,a){var s=function(u){try{l(o.next(u))}catch(p){a(p)}},c=function(u){try{l(o.throw(u))}catch(p){a(p)}},l=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(s,c)};l((o=o.apply(e,t)).next())})};var Ul=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Zt:Zt.apply(null,arguments)},Cb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Wl(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Hl=function(e){Xs(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,qt([void 0],o[0].concat(this)))):new(t.bind.apply(t,qt([void 0],o.concat(this))))},t}(Array),Fl=function(e){Xs(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,qt([void 0],o[0].concat(this)))):new(t.bind.apply(t,qt([void 0],o.concat(this))))},t}(Array);function Hn(e){return Ee(e)?Xr(e,function(){}):e}function zl(e){return typeof e=="boolean"}function Gl(){return function(t){return $l(t)}}function $l(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,s=e.serializableCheck,c=s===void 0?!0:s,l=new Hl;if(o&&(zl(o)?l.push(Bn):l.push(Bn.withExtraArgument(o.extraArgument))),0){if(a)var u;if(c)var p}return l}var Un=!0;function Js(e){var t=Gl(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,s=o.middleware,c=s===void 0?t():s,l=o.devTools,u=l===void 0?!0:l,p=o.preloadedState,y=p===void 0?void 0:p,f=o.enhancers,m=f===void 0?void 0:f,x;if(typeof a=="function")x=a;else if(Wl(a))x=Gs(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=c;if(typeof b=="function"&&(b=b(t),!Un&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Un&&b.some(function(_){return typeof _!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=$s.apply(void 0,b),A=Zt;u&&(A=Ul(Qe({trace:!Un},typeof u=="object"&&u)));var E=new Fl(v),w=E;Array.isArray(m)?w=qt([v],m):typeof m=="function"&&(w=m(E));var L=A.apply(void 0,w);return Dn(x,y,L)}function et(e,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var s=t.apply(void 0,n);if(!s)throw new Error("prepareAction did not return an object");return Qe(Qe({type:e,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function Qs(e){var t={},o=[],n,a={addCase:function(s,c){var l=typeof s=="string"?s:s.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=c,a},addMatcher:function(s,c){return o.push({matcher:s,reducer:c}),a},addDefaultCase:function(s){return n=s,a}};return e(a),[t,o,n]}function jl(e){return typeof e=="function"}function Kl(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?Qs(t):[t,o,n],s=a[0],c=a[1],l=a[2],u;if(jl(e))u=function(){return Hn(e())};else{var p=Hn(e);u=function(){return p}}function y(f,m){f===void 0&&(f=u());var x=qt([s[m.type]],c.filter(function(b){var v=b.matcher;return v(m)}).map(function(b){var v=b.reducer;return v}));return x.filter(function(b){return!!b}).length===0&&(x=[l]),x.reduce(function(b,v){if(v)if(Ge(b)){var A=b,E=v(A,m);return E===void 0?b:E}else{if(Ee(b))return Xr(b,function(w){return v(w,m)});var E=v(b,m);if(E===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return b},f)}return y.getInitialState=u,y}function Vl(e,t){return e+"/"+t}function ec(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Hn(e.initialState),n=e.reducers||{},a=Object.keys(n),s={},c={},l={};a.forEach(function(y){var f=n[y],m=Vl(t,y),x,b;"reducer"in f?(x=f.reducer,b=f.prepare):x=f,s[y]=x,c[m]=x,l[y]=b?et(m,b):et(m)});function u(){var y=typeof e.extraReducers=="function"?Qs(e.extraReducers):[e.extraReducers],f=y[0],m=f===void 0?{}:f,x=y[1],b=x===void 0?[]:x,v=y[2],A=v===void 0?void 0:v,E=Qe(Qe({},m),c);return Kl(o,function(w){for(var L in E)w.addCase(L,E[L]);for(var _=0,I=b;_<I.length;_++){var ne=I[_];w.addMatcher(ne.matcher,ne.reducer)}A&&w.addDefaultCase(A)})}var p;return{name:t,reducer:function(y,f){return p||(p=u()),p(y,f)},actions:l,caseReducers:s,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var Zl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ql=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Zl[Math.random()*64|0];return t},Yl=["name","message","stack","code"],Wn=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),qs=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Xl=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Yl;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},Rb=function(){function e(t,o,n){var a=et(t+"/fulfilled",function(y,f,m,x){return{payload:y,meta:Mn(Qe({},x||{}),{arg:m,requestId:f,requestStatus:"fulfilled"})}}),s=et(t+"/pending",function(y,f,m){return{payload:void 0,meta:Mn(Qe({},m||{}),{arg:f,requestId:y,requestStatus:"pending"})}}),c=et(t+"/rejected",function(y,f,m,x,b){return{payload:x,error:(n&&n.serializeError||Xl)(y||"Rejected"),meta:Mn(Qe({},b||{}),{arg:m,requestId:f,rejectedWithValue:!!x,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),l=!1,u=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function p(y){return function(f,m,x){var b=n?.idGenerator?n.idGenerator(y):ql(),v=new u,A,E=!1;function w(_){A=_,v.abort()}var L=function(){return Ml(this,null,function(){var _,I,ne,Le,te,_e,Y;return _l(this,function(h){switch(h.label){case 0:return h.trys.push([0,4,,5]),Le=(_=n?.condition)==null?void 0:_.call(n,y,{getState:m,extra:x}),Ql(Le)?[4,Le]:[3,2];case 1:Le=h.sent(),h.label=2;case 2:if(Le===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,te=new Promise(function(g,N){return v.signal.addEventListener("abort",function(){return N({name:"AbortError",message:A||"Aborted"})})}),f(s(b,y,(I=n?.getPendingMeta)==null?void 0:I.call(n,{requestId:b,arg:y},{getState:m,extra:x}))),[4,Promise.race([te,Promise.resolve(o(y,{dispatch:f,getState:m,extra:x,requestId:b,signal:v.signal,abort:w,rejectWithValue:function(g,N){return new Wn(g,N)},fulfillWithValue:function(g,N){return new qs(g,N)}})).then(function(g){if(g instanceof Wn)throw g;return g instanceof qs?a(g.payload,b,y,g.meta):a(g,b,y)})])];case 3:return ne=h.sent(),[3,5];case 4:return _e=h.sent(),ne=_e instanceof Wn?c(null,b,y,_e.payload,_e.meta):c(_e,b,y),[3,5];case 5:return Y=n&&!n.dispatchConditionRejection&&c.match(ne)&&ne.meta.condition,Y||f(ne),[2,ne]}})})}();return Object.assign(L,{abort:w,requestId:b,arg:y,unwrap:function(){return L.then(Jl)}})}}return Object.assign(p,{pending:s,rejected:c,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Jl(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Ql(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var tc="listener",rc="completed",oc="cancelled",Tb="task-"+oc,Nb="task-"+rc,Lb=tc+"-"+oc,_b=tc+"-"+rc;var Fn="listenerMiddleware";var Ib=et(Fn+"/add"),Pb=et(Fn+"/removeAll"),kb=et(Fn+"/remove");var Ys,Db=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Ys||(Ys=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},ed=function(e){return function(t){setTimeout(t,e)}},Bb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:ed(10);Ds();var td=zr(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}),Qr=class extends td(Object){};window.ftReduxStores||(window.ftReduxStores={});var nc=class e extends Qr{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,s=window.ftReduxStores[n];if(Vr(s))return s;if(a==null)return;let c=ec({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=Js({reducer:(u,p)=>p.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...u,...p.overwrites}:c.reducer(u,p)});return window.ftReduxStores[a.name]=new e(c,l,a.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Gr;let a=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,c,l)=>{let u=c,p=s[u];return p?(...y)=>{let f=p(...y.map(a));return this.reduxStore.dispatch(f),f}:y=>{this.setState({[u]:a(y)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var eo=class{static format(t,o,n,a){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,a)):this.getIntlDateTime(t,o,n,a)}static getMomentDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,a){let s=typeof t=="string"?new Date(t):t,c=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(s);if(!a)return c;let l=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(s);return`${c} ${l}`}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 ac=C(k()),to=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},ix=(0,ac.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(R)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var a,s;return((s=(a=this.metadataDescriptors.find(l=>l.key===n))===null||a===void 0?void 0:a.date)!==null&&s!==void 0?s:!1)?l=>eo.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return to([(0,zn.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),to([(0,zn.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),to([bn({store:R.name,selector:o=>{var n,a;return(a=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),to([bn({store:R.name})],t.prototype,"uiLocale",void 0),t});var no=C(k());var ro=class extends le{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=R.getState().session;return!!t?.sessionAuthenticated}};var oo=class extends le{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=R.getState().session;return!!t?.sessionAuthenticated}};var rd="ft-user-assets",od={setAssetCount:(e,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;e.assetCounts.allAsset[o]=n},clearAssetCount:e=>{Object.values(me).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let o=t.payload.mapId;e.assetCounts.bookmarkByMap[o]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:o,mapId:n,asset:a}=t.payload;$n(e,o,[...Gn(e,o),a]),ic(e,o,1,n),sc(e,a)},editAsset:(e,t)=>{let{assetType:o,asset:n}=t.payload;$n(e,o,Gn(e,o).map(a=>a.id===n.id?n:a)),sc(e,n)},removeAsset:(e,t)=>{let{assetType:o,mapId:n,assetId:a}=t.payload;$n(e,o,Gn(e,o).filter(s=>s.id!==a)),ic(e,o,-1,n)}},cc={[me.SEARCHES]:"savedSearches",[me.BOOKMARKS]:"bookmarks",[me.BOOKS]:void 0,[me.COLLECTIONS]:void 0},Gn=(e,t)=>{var o;let n=cc[t];return n?(o=e[n])!==null&&o!==void 0?o:[]:[]},$n=(e,t,o)=>{let n=cc[t];n&&(e[n]=o)},ic=(e,t,o,n)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+o),t===me.BOOKMARKS&&n)){let s=e.assetCounts.bookmarkByMap[n];e.assetCounts.bookmarkByMap[n]=Math.max(0,s+o)}},sc=(e,t)=>{let o=e.assetLabels.map(a=>a.title),n=t.labels.filter(a=>!o.includes(a)).map(a=>({title:a}));e.assetLabels.push(...n)},ue=no.FtReduxStore.get({name:rd,reducers:od,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(me).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),jn=class{constructor(t=new ro,o=new oo){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=R.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Dr,this.savedSearchesService=new Wr,R.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=R.getState();(0,no.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(),ue.actions.clearAssetCount(),ue.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),ue.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),ue.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();ue.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();ue.actions.assetLabels(t)}async loadAssetCount(t){let o=await this.assetCountsService.getUserAssetCount(t);o&&ue.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&ue.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(ue.getState().assetCounts.bookmarkByMap).length!==0;t===me.BOOKMARKS&&o&&ue.actions.clearBookmarkCountByMap(),ue.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;ue.actions.bookmarks(o)}}},nd=new jn;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=nd);(0,lc.customElement)("ft-app-context")(B);var dc=C(re());var Kn=class{fromLocalizableLabel(t){return t.type=="PLAIN_TEXT"?{message:t.text}:{key:t.key,custom:t.type=="LOCALIZED_CUSTOM",context:t.context,message:t.key}}fromAttribute(t){if(t!=null)try{return JSON.parse(t)}catch{if(this.isI18nKey(t)){let[n,a]=t.split(".");return{context:n,key:a,custom:!0,message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},Yt=new Kn;var ad=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},gr=Symbol("i18nAttributes"),uc=Symbol("i18nListAttributes"),pc=Symbol("i18nProperties"),ao=Symbol("i18nContexts"),mr=Symbol("i18nUnsubs"),fc=(0,Xt.applyMixinOnce)(Symbol("withI18n"),function(e){var t,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[o]=new Map}getI18nService(s){return s??this.useCustomMessageContexts?fn:lr}i18n(s){let{context:c,key:l,message:u}=s,{custom:p,args:y,argsProvider:f}=s;if(c&&l){this.hasI18nContext(c)||this.addI18nContext(c,void 0,p);let m=y??(f?f(this):[]);return this.getI18nService(p).resolveMessage(c,l,...m)}return u}async awaitI18n(s){let{context:c,custom:l}=s;return c&&await this.getI18nService(l).prepareContext(c),this.i18n(s)}customI18n(s,c){if(Yt.isI18nKey(s)){let[l,u]=s.split(".");return this.i18n({custom:!0,context:l,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,l,u)=>s.has(l)||typeof c.argsProvider=="function"),this.updateI18nProperties(c=>typeof c.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((c,l,u)=>{var p;return((p=u?.context)===null||p===void 0?void 0:p.toLowerCase())===s}),this.updateI18nProperties(c=>c.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var c,l;let u=this,p=(y,f,m)=>m?.context&&m.key&&s(y,f,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...y})}:m;(c=this[gr])===null||c===void 0||c.forEach((y,f)=>u[f]=p(y,f,u[f])),(l=this[uc])===null||l===void 0||l.forEach((y,f)=>{var m;return u[f]=(m=u[f])===null||m===void 0?void 0:m.map(x=>p(y,f,x))})}updateI18nProperties(s){var c;(c=this[pc])===null||c===void 0||c.forEach((l,u)=>{s(l,u)&&(this[u]=this.i18n(l))})}addI18nMessages(s,c,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,c,l)}addI18nContext(s,c,l){let u=(typeof s=="string"?s:s.name).toLowerCase();l=typeof s=="string"?l:s.custom,this[ao].set(u,{isCustomContext:l}),this[mr].has(u)||this[mr].set(u,this.getI18nService(l).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(l).prepareContext(u,c)}hasI18nContext(s){return this[ao].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[ao].forEach((s,c)=>this.addI18nContext(c,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[mr].forEach(s=>s()),this[mr].clear()}}return t=ao,o=mr,ad([(0,dc.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),io=class extends fc(Xt.FtLitElement){},so=class extends fc(Xt.FtLitElementRedux){};var hc=C(k());var Vn=class{fromAttribute(t){if(!t)return[];try{let o=JSON.parse(t);return Array.isArray(o)?o.map(n=>typeof n=="string"?Yt.fromAttribute(n):n):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},id=new Vn;var yc=(e,t)=>(o,n)=>{var a;o.constructor.createProperty(n,{type:Object,hasChanged:hc.hasChanged,converter:Yt,...t}),o[gr]=(a=o[gr])!==null&&a!==void 0?a:new Map,o[gr].set(n,e??{})};var bc=C(k());var co=C(z()),lo=C(re()),uo=C(k());var mc=C(z());var gc=mc.css`
|
|
291
|
+
`}connectedCallback(){super.connectedCallback(),R.addEventListener(ut.eventName,this.reloadConfiguration)}disconnectedCallback(){R.addEventListener(ut.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var o,n,a,s,c,l,u;super.update(t),t.has("baseUrl")&&(R.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&R.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&R.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&R.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&R.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&R.actions.noCustom(this.noCustom),t.has("editorMode")&&R.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&R.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&R.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(p=>lr.addContext(p)),t.has("openExternalDocumentInNewTab")&&R.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&R.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&R.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(R.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),R.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),R.actions.searchInAllLanguagesAllowed((c=(s=this.localesConfiguration)===null||s===void 0?void 0:s.allLanguagesAllowed)!==null&&c!==void 0?c:!1)),t.has("authenticationRequired")&&R.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&R.actions.availableContentLocales((u=(l=this.availableContentLocales)===null||l===void 0?void 0:l.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",()=>ps(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};M.elementDefinitions={};M.styles=Ai;$([(0,Q.property)()],M.prototype,"baseUrl",void 0);$([(0,Q.property)()],M.prototype,"apiIntegrationIdentifier",void 0);$([(0,Q.property)()],M.prototype,"apiIntegrationAppVersion",void 0);$([(0,Q.property)()],M.prototype,"uiLocale",void 0);$([(0,Ce.jsonProperty)(null)],M.prototype,"availableUiLocales",void 0);$([(0,Ce.jsonProperty)(null)],M.prototype,"metadataConfiguration",void 0);$([(0,Q.property)({type:Boolean})],M.prototype,"editorMode",void 0);$([(0,Q.property)({type:Boolean})],M.prototype,"noCustom",void 0);$([(0,Q.property)({type:Boolean})],M.prototype,"openExternalDocumentInNewTab",void 0);$([(0,Q.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],M.prototype,"noCustomComponent",void 0);$([(0,Q.property)({type:Boolean})],M.prototype,"withManualResources",void 0);$([(0,Q.property)({type:Boolean})],M.prototype,"navigatorOnline",void 0);$([(0,Q.property)({type:Boolean})],M.prototype,"forcedOffline",void 0);$([(0,Q.property)({type:Object})],M.prototype,"apiProvider",void 0);$([(0,Q.property)({type:Boolean})],M.prototype,"authenticationRequired",void 0);$([(0,Ce.jsonProperty)([])],M.prototype,"messageContexts",void 0);$([(0,Ce.jsonProperty)(void 0)],M.prototype,"session",void 0);$([(0,Q.state)()],M.prototype,"localesConfiguration",void 0);$([(0,Q.state)()],M.prototype,"availableContentLocales",void 0);var zn=C(re());function ml(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,n,a;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!Fr(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!Fr(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let s=c=>Object.keys(c).filter(l=>c[l]!=null);if(a=s(e),o=a.length,o!==s(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=o;n--!==0;){let c=a[n];if(!Fr(e[c],t[c]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Fr(e,t){try{return ml(e,t)}catch{return!1}}function ur(e,t){return!Fr(e,t)}function zr(e,t){let o=n=>n[e]===!0;return n=>{if(o(n))return n;let a=t(n);return a[e]=!0,a}}var hs=C(re(),1);var bn=e=>{let t=e??{};return(o,n)=>{var a;let s={hasChanged:ur,attribute:!1,...t};(0,hs.property)(s)(o,n);let c=o.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:l=>l[n],store:t.store})}};var Gr=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 ht=C(re(),1);var ys=C(re(),1);function ms(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,ys.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:ur,...t??{}})}var $r=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,s=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(l){a(l);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 bs=C(z(),1);var jr=globalThis,gl=jr.ShadowRoot&&(jr.ShadyCSS===void 0||jr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Hg=Symbol();var gs=(e,t)=>{if(gl)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=jr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var Kr=class extends bs.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,s])=>t.registry.define(a,s)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return gs(n,t.elementStyles),n}};function xs(e,t,...o){var n;let a=e.querySelector(t);for(let s of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return a}var $t=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},Cs,vs=Symbol("constructorPrototype"),Ss=Symbol("constructorName"),Es=Symbol("exportpartsDebouncer"),Os=Symbol("dynamicDependenciesLoaded"),Gt=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};Gt.eventName="exportparts-updated";var Pe=class extends Kr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Cs]=new $r(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[Es].run(()=>{var a,s;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Ss]=this.constructor.name,this[vs]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ss]&&Object.setPrototypeOf(this,this[vs])}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[Os]||(o[Os]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Gt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Gt.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 Gt)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let s=[...a??[],n];o=xs(this.shadowRoot,...s)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(t){var o,n,a,s,c,l;let u=m=>m!=null&&m.trim().length>0,p=t.filter(u).map(m=>m.trim());if(p.length===0){this.exportparts=void 0;return}let y=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(s=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&s!==void 0?s:[],b=(l=(c=m.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(A=>A.split(":")[1]))!==null&&l!==void 0?l:[],v=[...x,...b].filter(u).map(A=>A.trim());for(let A of v)y.add(A)}if(y.size===0){this.exportparts=void 0;return}let f=[...y.values()].flatMap(m=>p.map(x=>`${m}:${x}--${m}`));this.exportparts=[...this.part,...f].join(", ")}};Cs=Es;$t([(0,ht.property)()],Pe.prototype,"exportpartsPrefix",void 0);$t([ms([])],Pe.prototype,"exportpartsPrefixes",void 0);$t([(0,ht.property)({reflect:!0})],Pe.prototype,"exportparts",void 0);$t([(0,ht.property)()],Pe.prototype,"customStylesheet",void 0);$t([(0,ht.property)()],Pe.prototype,"elementToFocus",void 0);$t([(0,ht.state)()],Pe.prototype,"useAdoptedStyleSheets",void 0);function Vr(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var pr=Symbol("internalReduxEventsUnsubscribers"),Ye=Symbol("internalStoresUnsubscribers"),yt=Symbol("internalStores"),bl=zr(Symbol("withRedux"),function(e){var t,o,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(c){super.willUpdate(c),[...this.reduxConstructor.reduxReactiveProperties].some(l=>c.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[yt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[yt].values()][0]}getStore(c){return c==null?this.getUnnamedStore():this[yt].get(c)}addStore(c,l){var u;l=(u=l??c.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(l),this[yt].set(l,c),this.subscribeToStore(l,c),this.updateFromStores()}removeStore(c){let l=typeof c=="string"?c:c.name;this.unsubscribeFromStore(l),this[yt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[yt].forEach((c,l)=>this.subscribeToStore(l,c)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((c,l)=>{let u=this.constructor.getPropertyOptions(l);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:l)){let p=this.getStore(c.store);p&&(c.store?this[Ye].has(c.store):this[Ye].size>0)&&(this[l]=c.selector(p.getState(),this))}})}subscribeToStore(c,l){var u;this[Ye].set(c,l.subscribe(()=>this.updateFromStores())),this[pr].set(c,[]),Vr(l)&&l.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((p,y)=>{if(typeof this[y]=="function"&&(!p.store||l.name===p.store)){let f=m=>this[y](m);l.addEventListener(p.eventName,f),this[pr].get(c).push(()=>l.removeEventListener(p.eventName,f))}})),this.onStoreAvailable(c)}unsubscribeFromStores(){this[Ye].forEach((c,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(c){var l;this[Ye].has(c)&&this[Ye].get(c)(),this[Ye].delete(c),(l=this[pr].get(c))===null||l===void 0||l.forEach(u=>u()),this[pr].delete(c)}onStoreAvailable(c){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=Ye,o=yt,n=pr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),As=class extends bl(Pe){};function ge(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,s;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ge(e){return!!e&&!!e[B]}function Ee(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===wl}(e)||Array.isArray(e)||!!e[Is]||!!(!((t=e.constructor)===null||t===void 0)&&t[Is])||Rn(e)||Tn(e))}function mt(e,t,o){o===void 0&&(o=!1),Vt(e)===0?(o?Object.keys:Kt)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function Vt(e){var t=e[B];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Rn(e)?2:Tn(e)?3:0}function jt(e,t){return Vt(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function xl(e,t){return Vt(e)===2?e.get(t):e[t]}function Ps(e,t,o){var n=Vt(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function ks(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Rn(e){return El&&e instanceof Map}function Tn(e){return Al&&e instanceof Set}function Xe(e){return e.o||e.t}function Nn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Bs(e);delete t[B];for(var o=Kt(t),n=0;n<o.length;n++){var a=o[n],s=t[a];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(t[a]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Ln(e,t){return t===void 0&&(t=!1),_n(e)||Ge(e)||!Ee(e)||(Vt(e)>1&&(e.set=e.add=e.clear=e.delete=vl),Object.freeze(e),t&&mt(e,function(o,n){return Ln(n,!0)},!0)),e}function vl(){ge(2)}function _n(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function ke(e){var t=wn[e];return t||ge(18,e),t}function Sl(e,t){wn[e]||(wn[e]=t)}function Cn(){return hr}function xn(e,t){t&&(ke("Patches"),e.u=[],e.s=[],e.v=t)}function Zr(e){En(e),e.p.forEach(Ol),e.p=null}function En(e){e===hr&&(hr=e.l)}function ws(e){return hr={p:[],l:hr,h:e,m:!0,_:0}}function Ol(e){var t=e[B];t.i===0||t.i===1?t.j():t.g=!0}function vn(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||ke("ES5").S(t,e,n),n?(o[B].P&&(Zr(t),ge(4)),Ee(e)&&(e=qr(t,e),t.l||Yr(t,e)),t.u&&ke("Patches").M(o[B].t,e,t.u,t.s)):e=qr(t,o,[]),Zr(t),t.u&&t.v(t.u,t.s),e!==Ms?e:void 0}function qr(e,t,o){if(_n(t))return t;var n=t[B];if(!n)return mt(t,function(l,u){return Rs(e,n,t,l,u,o)},!0),t;if(n.A!==e)return t;if(!n.P)return Yr(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Nn(n.k):n.o,s=a,c=!1;n.i===3&&(s=new Set(a),a.clear(),c=!0),mt(s,function(l,u){return Rs(e,n,a,l,u,o,c)}),Yr(e,a,!1),o&&e.u&&ke("Patches").N(n,o,e.u,e.s)}return n.o}function Rs(e,t,o,n,a,s,c){if(Ge(a)){var l=qr(e,a,s&&t&&t.i!==3&&!jt(t.R,n)?s.concat(n):void 0);if(Ps(o,n,l),!Ge(l))return;e.m=!1}else c&&o.add(a);if(Ee(a)&&!_n(a)){if(!e.h.D&&e._<1)return;qr(e,a),t&&t.A.l||Yr(e,a)}}function Yr(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Ln(t,o)}function Sn(e,t){var o=e[B];return(o?Xe(o):e)[t]}function Ts(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function Je(e){e.P||(e.P=!0,e.l&&Je(e.l))}function On(e){e.o||(e.o=Nn(e.t))}function An(e,t,o){var n=Rn(t)?ke("MapSet").F(t,o):Tn(t)?ke("MapSet").T(t,o):e.O?function(a,s){var c=Array.isArray(a),l={i:c?1:0,A:s?s.A:Cn(),P:!1,I:!1,R:{},l:s,t:a,k:null,o:null,j:null,C:!1},u=l,p=yr;c&&(u=[l],p=fr);var y=Proxy.revocable(u,p),f=y.revoke,m=y.proxy;return l.k=m,l.j=f,m}(t,o):ke("ES5").J(t,o);return(o?o.A:Cn()).p.push(n),n}function Cl(e){return Ge(e)||ge(22,e),function t(o){if(!Ee(o))return o;var n,a=o[B],s=Vt(o);if(a){if(!a.P&&(a.i<4||!ke("ES5").K(a)))return a.t;a.I=!0,n=Ns(o,s),a.I=!1}else n=Ns(o,s);return mt(n,function(c,l){a&&xl(a.t,c)===l||Ps(n,c,t(l))}),s===3?new Set(n):n}(e)}function Ns(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Nn(e)}function Ds(){function e(c,l){var u=s[c];return u?u.enumerable=l:s[c]=u={configurable:!0,enumerable:l,get:function(){var p=this[B];return yr.get(p,c)},set:function(p){var y=this[B];yr.set(y,c,p)}},u}function t(c){for(var l=c.length-1;l>=0;l--){var u=c[l][B];if(!u.P)switch(u.i){case 5:n(u)&&Je(u);break;case 4:o(u)&&Je(u)}}}function o(c){for(var l=c.t,u=c.k,p=Kt(u),y=p.length-1;y>=0;y--){var f=p[y];if(f!==B){var m=l[f];if(m===void 0&&!jt(l,f))return!0;var x=u[f],b=x&&x[B];if(b?b.t!==m:!ks(x,m))return!0}}var v=!!l[B];return p.length!==Kt(l).length+(v?0:1)}function n(c){var l=c.k;if(l.length!==c.t.length)return!0;var u=Object.getOwnPropertyDescriptor(l,l.length-1);if(u&&!u.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function a(c){c.g&&ge(3,JSON.stringify(Xe(c)))}var s={};Sl("ES5",{J:function(c,l){var u=Array.isArray(c),p=function(f,m){if(f){for(var x=Array(m.length),b=0;b<m.length;b++)Object.defineProperty(x,""+b,e(b,!0));return x}var v=Bs(m);delete v[B];for(var A=Kt(v),E=0;E<A.length;E++){var w=A[E];v[w]=e(w,f||!!v[w].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(u,c),y={i:u?5:4,A:l?l.A:Cn(),P:!1,I:!1,R:{},l,t:c,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,B,{value:y,writable:!0}),p},S:function(c,l,u){u?Ge(l)&&l[B].A===c&&t(c.p):(c.u&&function p(y){if(y&&typeof y=="object"){var f=y[B];if(f){var m=f.t,x=f.k,b=f.R,v=f.i;if(v===4)mt(x,function(_){_!==B&&(m[_]!==void 0||jt(m,_)?b[_]||p(x[_]):(b[_]=!0,Je(f)))}),mt(m,function(_){x[_]!==void 0||jt(x,_)||(b[_]=!1,Je(f))});else if(v===5){if(n(f)&&(Je(f),b.length=!0),x.length<m.length)for(var A=x.length;A<m.length;A++)b[A]=!1;else for(var E=m.length;E<x.length;E++)b[E]=!0;for(var w=Math.min(x.length,m.length),L=0;L<w;L++)x.hasOwnProperty(L)||(b[L]=!0),b[L]===void 0&&p(x[L])}}}}(c.p[0]),t(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var Ls,hr,In=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",El=typeof Map<"u",Al=typeof Set<"u",_s=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ms=In?Symbol.for("immer-nothing"):((Ls={})["immer-nothing"]=!0,Ls),Is=In?Symbol.for("immer-draftable"):"__$immer_draftable",B=In?Symbol.for("immer-state"):"__$immer_state";var wl=""+Object.prototype.constructor,Kt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Bs=Object.getOwnPropertyDescriptors||function(e){var t={};return Kt(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},wn={},yr={get:function(e,t){if(t===B)return e;var o=Xe(e);if(!jt(o,t))return function(a,s,c){var l,u=Ts(s,c);return u?"value"in u?u.value:(l=u.get)===null||l===void 0?void 0:l.call(a.k):void 0}(e,o,t);var n=o[t];return e.I||!Ee(n)?n:n===Sn(e.t,t)?(On(e),e.o[t]=An(e.A.h,n,e)):n},has:function(e,t){return t in Xe(e)},ownKeys:function(e){return Reflect.ownKeys(Xe(e))},set:function(e,t,o){var n=Ts(Xe(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=Sn(Xe(e),t),s=a?.[B];if(s&&s.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(ks(o,a)&&(o!==void 0||jt(e.t,t)))return!0;On(e),Je(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return Sn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,On(e),Je(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=Xe(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){ge(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ge(12)}},fr={};mt(yr,function(e,t){fr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),fr.deleteProperty=function(e,t){return fr.set.call(this,e,t,void 0)},fr.set=function(e,t,o){return yr.set.call(this,e[0],t,o,e[0])};var Rl=function(){function e(o){var n=this;this.O=_s,this.D=!0,this.produce=function(a,s,c){if(typeof a=="function"&&typeof s!="function"){var l=s;s=a;var u=n;return function(v){var A=this;v===void 0&&(v=l);for(var E=arguments.length,w=Array(E>1?E-1:0),L=1;L<E;L++)w[L-1]=arguments[L];return u.produce(v,function(_){var I;return(I=s).call.apply(I,[A,_].concat(w))})}}var p;if(typeof s!="function"&&ge(6),c!==void 0&&typeof c!="function"&&ge(7),Ee(a)){var y=ws(n),f=An(n,a,void 0),m=!0;try{p=s(f),m=!1}finally{m?Zr(y):En(y)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(v){return xn(y,c),vn(v,y)},function(v){throw Zr(y),v}):(xn(y,c),vn(p,y))}if(!a||typeof a!="object"){if((p=s(a))===void 0&&(p=a),p===Ms&&(p=void 0),n.D&&Ln(p,!0),c){var x=[],b=[];ke("Patches").M(a,p,x,b),c(x,b)}return p}ge(21,a)},this.produceWithPatches=function(a,s){if(typeof a=="function")return function(p){for(var y=arguments.length,f=Array(y>1?y-1:0),m=1;m<y;m++)f[m-1]=arguments[m];return n.produceWithPatches(p,function(x){return a.apply(void 0,[x].concat(f))})};var c,l,u=n.produce(a,s,function(p,y){c=p,l=y});return typeof Promise<"u"&&u instanceof Promise?u.then(function(p){return[p,c,l]}):[u,c,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){Ee(o)||ge(8),Ge(o)&&(o=Cl(o));var n=ws(this),a=An(this,o,void 0);return a[B].C=!0,En(n),a},t.finishDraft=function(o,n){var a=o&&o[B],s=a.A;return xn(s,n),vn(void 0,s)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!_s&&ge(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var s=n[a];if(s.path.length===0&&s.op==="replace"){o=s.value;break}}a>-1&&(n=n.slice(a+1));var c=ke("Patches").$;return Ge(o)?c(o,n):this.produce(o,function(l){return c(l,n)})},e}(),de=new Rl,Tl=de.produce,eb=de.produceWithPatches.bind(de),tb=de.setAutoFreeze.bind(de),rb=de.setUseProxies.bind(de),ob=de.applyPatches.bind(de),nb=de.createDraft.bind(de),ab=de.finishDraft.bind(de),Xr=Tl;function gt(e){"@babel/helpers - typeof";return gt=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},gt(e)}function Us(e,t){if(gt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(gt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Hs(e){var t=Us(e,"string");return gt(t)=="symbol"?t:t+""}function Ws(e,t,o){return(t=Hs(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Fs(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function Pn(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Fs(Object(o),!0).forEach(function(n){Ws(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Fs(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function ee(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var zs=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),kn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Jr={INIT:"@@redux/INIT"+kn(),REPLACE:"@@redux/REPLACE"+kn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+kn()}};function Nl(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Dn(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(ee(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(ee(1));return o(Dn)(e,t)}if(typeof e!="function")throw new Error(ee(2));var a=e,s=t,c=[],l=c,u=!1;function p(){l===c&&(l=c.slice())}function y(){if(u)throw new Error(ee(3));return s}function f(v){if(typeof v!="function")throw new Error(ee(4));if(u)throw new Error(ee(5));var A=!0;return p(),l.push(v),function(){if(A){if(u)throw new Error(ee(6));A=!1,p();var w=l.indexOf(v);l.splice(w,1),c=null}}}function m(v){if(!Nl(v))throw new Error(ee(7));if(typeof v.type>"u")throw new Error(ee(8));if(u)throw new Error(ee(9));try{u=!0,s=a(s,v)}finally{u=!1}for(var A=c=l,E=0;E<A.length;E++){var w=A[E];w()}return v}function x(v){if(typeof v!="function")throw new Error(ee(10));a=v,m({type:Jr.REPLACE})}function b(){var v,A=f;return v={subscribe:function(w){if(typeof w!="object"||w===null)throw new Error(ee(11));function L(){w.next&&w.next(y())}L();var _=A(L);return{unsubscribe:_}}},v[zs]=function(){return this},v}return m({type:Jr.INIT}),n={dispatch:m,subscribe:f,getState:y,replaceReducer:x},n[zs]=b,n}function Ll(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:Jr.INIT});if(typeof n>"u")throw new Error(ee(12));if(typeof o(void 0,{type:Jr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ee(13))})}function Gs(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(o[a]=e[a])}var s=Object.keys(o),c,l;try{Ll(o)}catch(u){l=u}return function(p,y){if(p===void 0&&(p={}),l)throw l;if(0)var f;for(var m=!1,x={},b=0;b<s.length;b++){var v=s[b],A=o[v],E=p[v],w=A(E,y);if(typeof w>"u"){var L=y&&y.type;throw new Error(ee(14))}x[v]=w,m=m||w!==E}return m=m||s.length!==Object.keys(p).length,m?x:p}}function Zt(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function $s(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),s=function(){throw new Error(ee(15))},c={getState:a.getState,dispatch:function(){return s.apply(void 0,arguments)}},l=t.map(function(u){return u(c)});return s=Zt.apply(void 0,l)(a.dispatch),Pn(Pn({},a),{},{dispatch:s})}}}function js(e){var t=function(n){var a=n.dispatch,s=n.getState;return function(c){return function(l){return typeof l=="function"?l(a,s,e):c(l)}}};return t}var Ks=js();Ks.withExtraArgument=js;var Mn=Ks;var Xs=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(n[s]=a[s])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),_l=function(e,t){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,c;return c={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function l(p){return function(y){return u([p,y])}}function u(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(s=p[0]&2?a.return:p[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,p[1])).done)return s;switch(a=0,s&&(p=[p[0]&2,s.value]),p[0]){case 0:case 1:s=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,a=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(s=o.trys,!(s=s.length>0&&s[s.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!s||p[1]>s[0]&&p[1]<s[3])){o.label=p[1];break}if(p[0]===6&&o.label<s[1]){o.label=s[1],s=p;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(p);break}s[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(y){p=[6,y],a=0}finally{n=s=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},qt=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},Il=Object.defineProperty,Pl=Object.defineProperties,kl=Object.getOwnPropertyDescriptors,Vs=Object.getOwnPropertySymbols,Dl=Object.prototype.hasOwnProperty,Ml=Object.prototype.propertyIsEnumerable,Zs=function(e,t,o){return t in e?Il(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},Qe=function(e,t){for(var o in t||(t={}))Dl.call(t,o)&&Zs(e,o,t[o]);if(Vs)for(var n=0,a=Vs(t);n<a.length;n++){var o=a[n];Ml.call(t,o)&&Zs(e,o,t[o])}return e},Bn=function(e,t){return Pl(e,kl(t))},Bl=function(e,t,o){return new Promise(function(n,a){var s=function(u){try{l(o.next(u))}catch(p){a(p)}},c=function(u){try{l(o.throw(u))}catch(p){a(p)}},l=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(s,c)};l((o=o.apply(e,t)).next())})};var Ul=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Zt:Zt.apply(null,arguments)},Cb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Hl(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Wl=function(e){Xs(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,qt([void 0],o[0].concat(this)))):new(t.bind.apply(t,qt([void 0],o.concat(this))))},t}(Array),Fl=function(e){Xs(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,qt([void 0],o[0].concat(this)))):new(t.bind.apply(t,qt([void 0],o.concat(this))))},t}(Array);function Wn(e){return Ee(e)?Xr(e,function(){}):e}function zl(e){return typeof e=="boolean"}function Gl(){return function(t){return $l(t)}}function $l(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,s=e.serializableCheck,c=s===void 0?!0:s,l=new Wl;if(o&&(zl(o)?l.push(Mn):l.push(Mn.withExtraArgument(o.extraArgument))),0){if(a)var u;if(c)var p}return l}var Un=!0;function Js(e){var t=Gl(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,s=o.middleware,c=s===void 0?t():s,l=o.devTools,u=l===void 0?!0:l,p=o.preloadedState,y=p===void 0?void 0:p,f=o.enhancers,m=f===void 0?void 0:f,x;if(typeof a=="function")x=a;else if(Hl(a))x=Gs(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=c;if(typeof b=="function"&&(b=b(t),!Un&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Un&&b.some(function(_){return typeof _!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=$s.apply(void 0,b),A=Zt;u&&(A=Ul(Qe({trace:!Un},typeof u=="object"&&u)));var E=new Fl(v),w=E;Array.isArray(m)?w=qt([v],m):typeof m=="function"&&(w=m(E));var L=A.apply(void 0,w);return Dn(x,y,L)}function et(e,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var s=t.apply(void 0,n);if(!s)throw new Error("prepareAction did not return an object");return Qe(Qe({type:e,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function Qs(e){var t={},o=[],n,a={addCase:function(s,c){var l=typeof s=="string"?s:s.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=c,a},addMatcher:function(s,c){return o.push({matcher:s,reducer:c}),a},addDefaultCase:function(s){return n=s,a}};return e(a),[t,o,n]}function jl(e){return typeof e=="function"}function Kl(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?Qs(t):[t,o,n],s=a[0],c=a[1],l=a[2],u;if(jl(e))u=function(){return Wn(e())};else{var p=Wn(e);u=function(){return p}}function y(f,m){f===void 0&&(f=u());var x=qt([s[m.type]],c.filter(function(b){var v=b.matcher;return v(m)}).map(function(b){var v=b.reducer;return v}));return x.filter(function(b){return!!b}).length===0&&(x=[l]),x.reduce(function(b,v){if(v)if(Ge(b)){var A=b,E=v(A,m);return E===void 0?b:E}else{if(Ee(b))return Xr(b,function(w){return v(w,m)});var E=v(b,m);if(E===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return b},f)}return y.getInitialState=u,y}function Vl(e,t){return e+"/"+t}function ec(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Wn(e.initialState),n=e.reducers||{},a=Object.keys(n),s={},c={},l={};a.forEach(function(y){var f=n[y],m=Vl(t,y),x,b;"reducer"in f?(x=f.reducer,b=f.prepare):x=f,s[y]=x,c[m]=x,l[y]=b?et(m,b):et(m)});function u(){var y=typeof e.extraReducers=="function"?Qs(e.extraReducers):[e.extraReducers],f=y[0],m=f===void 0?{}:f,x=y[1],b=x===void 0?[]:x,v=y[2],A=v===void 0?void 0:v,E=Qe(Qe({},m),c);return Kl(o,function(w){for(var L in E)w.addCase(L,E[L]);for(var _=0,I=b;_<I.length;_++){var ne=I[_];w.addMatcher(ne.matcher,ne.reducer)}A&&w.addDefaultCase(A)})}var p;return{name:t,reducer:function(y,f){return p||(p=u()),p(y,f)},actions:l,caseReducers:s,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var Zl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ql=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Zl[Math.random()*64|0];return t},Yl=["name","message","stack","code"],Hn=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),qs=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Xl=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Yl;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},Rb=function(){function e(t,o,n){var a=et(t+"/fulfilled",function(y,f,m,x){return{payload:y,meta:Bn(Qe({},x||{}),{arg:m,requestId:f,requestStatus:"fulfilled"})}}),s=et(t+"/pending",function(y,f,m){return{payload:void 0,meta:Bn(Qe({},m||{}),{arg:f,requestId:y,requestStatus:"pending"})}}),c=et(t+"/rejected",function(y,f,m,x,b){return{payload:x,error:(n&&n.serializeError||Xl)(y||"Rejected"),meta:Bn(Qe({},b||{}),{arg:m,requestId:f,rejectedWithValue:!!x,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),l=!1,u=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function p(y){return function(f,m,x){var b=n?.idGenerator?n.idGenerator(y):ql(),v=new u,A,E=!1;function w(_){A=_,v.abort()}var L=function(){return Bl(this,null,function(){var _,I,ne,Le,te,_e,Y;return _l(this,function(h){switch(h.label){case 0:return h.trys.push([0,4,,5]),Le=(_=n?.condition)==null?void 0:_.call(n,y,{getState:m,extra:x}),Ql(Le)?[4,Le]:[3,2];case 1:Le=h.sent(),h.label=2;case 2:if(Le===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,te=new Promise(function(g,N){return v.signal.addEventListener("abort",function(){return N({name:"AbortError",message:A||"Aborted"})})}),f(s(b,y,(I=n?.getPendingMeta)==null?void 0:I.call(n,{requestId:b,arg:y},{getState:m,extra:x}))),[4,Promise.race([te,Promise.resolve(o(y,{dispatch:f,getState:m,extra:x,requestId:b,signal:v.signal,abort:w,rejectWithValue:function(g,N){return new Hn(g,N)},fulfillWithValue:function(g,N){return new qs(g,N)}})).then(function(g){if(g instanceof Hn)throw g;return g instanceof qs?a(g.payload,b,y,g.meta):a(g,b,y)})])];case 3:return ne=h.sent(),[3,5];case 4:return _e=h.sent(),ne=_e instanceof Hn?c(null,b,y,_e.payload,_e.meta):c(_e,b,y),[3,5];case 5:return Y=n&&!n.dispatchConditionRejection&&c.match(ne)&&ne.meta.condition,Y||f(ne),[2,ne]}})})}();return Object.assign(L,{abort:w,requestId:b,arg:y,unwrap:function(){return L.then(Jl)}})}}return Object.assign(p,{pending:s,rejected:c,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Jl(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Ql(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var tc="listener",rc="completed",oc="cancelled",Tb="task-"+oc,Nb="task-"+rc,Lb=tc+"-"+oc,_b=tc+"-"+rc;var Fn="listenerMiddleware";var Ib=et(Fn+"/add"),Pb=et(Fn+"/removeAll"),kb=et(Fn+"/remove");var Ys,Db=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Ys||(Ys=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},ed=function(e){return function(t){setTimeout(t,e)}},Mb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:ed(10);Ds();var td=zr(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}),Qr=class extends td(Object){};window.ftReduxStores||(window.ftReduxStores={});var nc=class e extends Qr{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,s=window.ftReduxStores[n];if(Vr(s))return s;if(a==null)return;let c=ec({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=Js({reducer:(u,p)=>p.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...u,...p.overwrites}:c.reducer(u,p)});return window.ftReduxStores[a.name]=new e(c,l,a.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Gr;let a=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,c,l)=>{let u=c,p=s[u];return p?(...y)=>{let f=p(...y.map(a));return this.reduxStore.dispatch(f),f}:y=>{this.setState({[u]:a(y)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var eo=class{static format(t,o,n,a){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,a)):this.getIntlDateTime(t,o,n,a)}static getMomentDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,a){let s=typeof t=="string"?new Date(t):t,c=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(s);if(!a)return c;let l=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(s);return`${c} ${l}`}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 ac=C(k()),to=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},cx=(0,ac.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(R)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var a,s;return((s=(a=this.metadataDescriptors.find(l=>l.key===n))===null||a===void 0?void 0:a.date)!==null&&s!==void 0?s:!1)?l=>eo.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return to([(0,zn.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),to([(0,zn.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),to([bn({store:R.name,selector:o=>{var n,a;return(a=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),to([bn({store:R.name})],t.prototype,"uiLocale",void 0),t});var no=C(k());var ro=class extends le{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=R.getState().session;return!!t?.sessionAuthenticated}};var oo=class extends le{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=R.getState().session;return!!t?.sessionAuthenticated}};var rd="ft-user-assets",od={setAssetCount:(e,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;e.assetCounts.allAsset[o]=n},clearAssetCount:e=>{Object.values(me).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let o=t.payload.mapId;e.assetCounts.bookmarkByMap[o]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:o,mapId:n,asset:a}=t.payload;$n(e,o,[...Gn(e,o),a]),ic(e,o,1,n),sc(e,a)},editAsset:(e,t)=>{let{assetType:o,asset:n}=t.payload;$n(e,o,Gn(e,o).map(a=>a.id===n.id?n:a)),sc(e,n)},removeAsset:(e,t)=>{let{assetType:o,mapId:n,assetId:a}=t.payload;$n(e,o,Gn(e,o).filter(s=>s.id!==a)),ic(e,o,-1,n)}},cc={[me.SEARCHES]:"savedSearches",[me.BOOKMARKS]:"bookmarks",[me.BOOKS]:void 0,[me.COLLECTIONS]:void 0},Gn=(e,t)=>{var o;let n=cc[t];return n?(o=e[n])!==null&&o!==void 0?o:[]:[]},$n=(e,t,o)=>{let n=cc[t];n&&(e[n]=o)},ic=(e,t,o,n)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+o),t===me.BOOKMARKS&&n)){let s=e.assetCounts.bookmarkByMap[n];e.assetCounts.bookmarkByMap[n]=Math.max(0,s+o)}},sc=(e,t)=>{let o=e.assetLabels.map(a=>a.title),n=t.labels.filter(a=>!o.includes(a)).map(a=>({title:a}));e.assetLabels.push(...n)},ue=no.FtReduxStore.get({name:rd,reducers:od,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(me).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),jn=class{constructor(t=new ro,o=new oo){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=R.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Dr,this.savedSearchesService=new Hr,R.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=R.getState();(0,no.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(),ue.actions.clearAssetCount(),ue.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),ue.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),ue.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();ue.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();ue.actions.assetLabels(t)}async loadAssetCount(t){let o=await this.assetCountsService.getUserAssetCount(t);o&&ue.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&ue.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(ue.getState().assetCounts.bookmarkByMap).length!==0;t===me.BOOKMARKS&&o&&ue.actions.clearBookmarkCountByMap(),ue.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;ue.actions.bookmarks(o)}}},nd=new jn;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=nd);(0,lc.customElement)("ft-app-context")(M);var dc=C(re());var Kn=class{fromLocalizableLabel(t){return t.type=="PLAIN_TEXT"?{message:t.text}:{key:t.key,custom:t.type=="LOCALIZED_CUSTOM",context:t.context,message:t.key}}fromAttribute(t){if(t!=null)try{return JSON.parse(t)}catch{if(this.isI18nKey(t)){let[n,a]=t.split(".");return{context:n,key:a,custom:!0,message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},Yt=new Kn;var ad=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},gr=Symbol("i18nAttributes"),uc=Symbol("i18nListAttributes"),pc=Symbol("i18nProperties"),ao=Symbol("i18nContexts"),mr=Symbol("i18nUnsubs"),fc=(0,Xt.applyMixinOnce)(Symbol("withI18n"),function(e){var t,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[o]=new Map}getI18nService(s){return s??this.useCustomMessageContexts?fn:lr}i18n(s){let{context:c,key:l,message:u}=s,{custom:p,args:y,argsProvider:f}=s;if(c&&l){this.hasI18nContext(c)||this.addI18nContext(c,void 0,p);let m=y??(f?f(this):[]);return this.getI18nService(p).resolveMessage(c,l,...m)}return u}async awaitI18n(s){let{context:c,custom:l}=s;return c&&await this.getI18nService(l).prepareContext(c),this.i18n(s)}customI18n(s,c){if(Yt.isI18nKey(s)){let[l,u]=s.split(".");return this.i18n({custom:!0,context:l,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,l,u)=>s.has(l)||typeof c.argsProvider=="function"),this.updateI18nProperties(c=>typeof c.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((c,l,u)=>{var p;return((p=u?.context)===null||p===void 0?void 0:p.toLowerCase())===s}),this.updateI18nProperties(c=>c.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var c,l;let u=this,p=(y,f,m)=>m?.context&&m.key&&s(y,f,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...y})}:m;(c=this[gr])===null||c===void 0||c.forEach((y,f)=>u[f]=p(y,f,u[f])),(l=this[uc])===null||l===void 0||l.forEach((y,f)=>{var m;return u[f]=(m=u[f])===null||m===void 0?void 0:m.map(x=>p(y,f,x))})}updateI18nProperties(s){var c;(c=this[pc])===null||c===void 0||c.forEach((l,u)=>{s(l,u)&&(this[u]=this.i18n(l))})}addI18nMessages(s,c,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,c,l)}addI18nContext(s,c,l){let u=(typeof s=="string"?s:s.name).toLowerCase();l=typeof s=="string"?l:s.custom,this[ao].set(u,{isCustomContext:l}),this[mr].has(u)||this[mr].set(u,this.getI18nService(l).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(l).prepareContext(u,c)}hasI18nContext(s){return this[ao].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[ao].forEach((s,c)=>this.addI18nContext(c,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[mr].forEach(s=>s()),this[mr].clear()}}return t=ao,o=mr,ad([(0,dc.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),io=class extends fc(Xt.FtLitElement){},so=class extends fc(Xt.FtLitElementRedux){};var hc=C(k());var Vn=class{fromAttribute(t){if(!t)return[];try{let o=JSON.parse(t);return Array.isArray(o)?o.map(n=>typeof n=="string"?Yt.fromAttribute(n):n):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},id=new Vn;var yc=(e,t)=>(o,n)=>{var a;o.constructor.createProperty(n,{type:Object,hasChanged:hc.hasChanged,converter:Yt,...t}),o[gr]=(a=o[gr])!==null&&a!==void 0?a:new Map,o[gr].set(n,e??{})};var bc=C(k());var co=C(z()),lo=C(re()),uo=C(k());var mc=C(z());var gc=mc.css`
|
|
292
292
|
`;var br=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},Ae=class extends so{constructor(){super(),this.editorMode=!1,this.addStore(R)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":co.nothing:co.html`
|
|
293
293
|
<span class="ft-i18n">
|
|
294
294
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
@@ -308,7 +308,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
308
308
|
</div>
|
|
309
309
|
</div>
|
|
310
310
|
</div>
|
|
311
|
-
`}setupFor(t){this.eventsTarget!==t&&(this.removeHandlers(),this.eventsTarget=t,this.eventsTarget.addEventListener("mouseenter",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseenter",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}async showTemporaryText(t,o){let n=this.manual;this.manual=!0;let a=this.text;this.text={message:t},await this.show(o),this.text=a,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ci(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${be.designSystemVariables.transitionDuration}, left ${be.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(t){return this.manual||(0,be.eventPathContainsMatchingElement)(t,this.ignoreMatchingElements,this.eventsTarget)}};j.elementDefinitions={"ft-typography":Se};j.styles=Ja;we([yc()],j.prototype,"text",void 0);we([(0,xe.property)({type:Boolean})],j.prototype,"manual",void 0);we([(0,xe.property)({type:Boolean})],j.prototype,"inline",void 0);we([(0,be.numberProperty)()],j.prototype,"delay",void 0);we([(0,xe.property)()],j.prototype,"position",void 0);we([(0,be.jsonProperty)([])],j.prototype,"ignoreMatchingElements",void 0);we([(0,xe.queryAssignedNodes)()],j.prototype,"slotNodes",void 0);we([(0,xe.query)(".ft-tooltip--container")],j.prototype,"container",void 0);we([(0,xe.query)(".ft-tooltip")],j.prototype,"tooltip",void 0);we([(0,xe.query)(".ft-tooltip--content")],j.prototype,"tooltipContent",void 0);we([(0,xe.state)()],j.prototype,"visible",void 0);(0,vc.customElement)("ft-tooltip")(j);var Rc=C(k());var xr=C(z()),rt=C(re()),Ac=C(k()),wc=C(Oc());var po;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.CIRCLE_QUESTION="",e.GRIP_LINES_SOLID="",e.TRANSLATE_SPARKLE_SOLID="",e.CODE="",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",e.PAPER_PLANE_SLASH="",e.COMPRESS="",e.EXPAND="",e.ARROW_ROTATE_LEFT="",e.EYE="",e.SHARE="󨃱",e.MOBILE_SMALL="",e.SPARKLES="",e.HAND_SOLID="",e.CLOCK_SOLID="",e.CONTEXT_MENU_CURSOR="",e.LANGUAGE_SLASH="",e.MAGNIFYING_GLASS_FLOPPY_DISK="",e.CABINET_FILING_FLOPPY_DISK="",e.BOOKMARK_SLASH="",e.CIRCLE_PAUSE="",e.CIRCLE_PLAY="",e.CIRCLE_STOP_PLAIN="",e.CLOUD_ARROW_DOWN="",e.SHARE_NODES="",e.BELL="",e.BELL_SLASH="",e.FILE="",e.HAND="",e.SQUARE_INFO_SOLID="",e.FILE_CODE="",e.BOX_CODE=""})(po||(po={}));var S;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(S||(S={}));var xv=new Map([...["abw"].map(e=>[e,S.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,S.AUDIO]),...["avi"].map(e=>[e,S.AVI]),...["chm","xhs"].map(e=>[e,S.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,S.CODE]),...["csv"].map(e=>[e,S.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,S.DITA]),...["epub"].map(e=>[e,S.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,S.EXCEL]),...["flac"].map(e=>[e,S.FLAC]),...["gif"].map(e=>[e,S.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,S.GZIP]),...["html","htm","xhtml"].map(e=>[e,S.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,S.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,S.JPEG]),...["json"].map(e=>[e,S.JSON]),...["m4a","m4p"].map(e=>[e,S.M4A]),...["mov","qt"].map(e=>[e,S.MOV]),...["mp3"].map(e=>[e,S.MP3]),...["mp4","m4v"].map(e=>[e,S.MP4]),...["ogg","oga"].map(e=>[e,S.OGG]),...["pdf","ps"].map(e=>[e,S.PDF]),...["png"].map(e=>[e,S.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,S.POWERPOINT]),...["rar"].map(e=>[e,S.RAR]),...["stp"].map(e=>[e,S.STP]),...["txt","rtf","md","mdown"].map(e=>[e,S.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,S.VIDEO]),...["wav"].map(e=>[e,S.WAV]),...["wma"].map(e=>[e,S.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,S.WORD]),...["xml","xsl","rdf"].map(e=>[e,S.XML]),...["yaml","yml","x-yaml"].map(e=>[e,S.YAML]),...["zip"].map(e=>[e,S.ZIP])]);var vv={[S.ABW]:"#91ABC6",[S.AUDIO]:"#1795E3",[S.AVI]:"#E63324",[S.CHM]:"#71C3EB",[S.CODE]:"#71C3EB",[S.CSV]:"#1F7345",[S.DITA]:"#71C3EB",[S.EPUB]:"#85B926",[S.EXCEL]:"#1F7345",[S.FLAC]:"#1795E3",[S.GIF]:"#59B031",[S.GZIP]:"#F8AB36",[S.HTML]:"#71C3EB",[S.IMAGE]:"#59B031",[S.JPEG]:"#59B031",[S.JSON]:"#71C3EB",[S.M4A]:"#1795E3",[S.MOV]:"#E63324",[S.MP3]:"#1795E3",[S.MP4]:"#E63324",[S.OGG]:"#1795E3",[S.PDF]:"#E44948",[S.PNG]:"#59B031",[S.POWERPOINT]:"#B54A2B",[S.RAR]:"#F8AB36",[S.STP]:"#3764B1",[S.TEXT]:"#3162AB",[S.UNKNOWN]:"#999999",[S.VIDEO]:"#E63324",[S.WAV]:"#1795E3",[S.WMA]:"#1795E3",[S.WORD]:"#3162AB",[S.XML]:"#71C3EB",[S.YAML]:"#71C3EB",[S.ZIP]:"#F8AB36"};var Cc=C(z()),Te=C(k()),Re={size:Te.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Te.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Te.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Te.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Te.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Te.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Te.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Te.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ec=[Cc.css`
|
|
311
|
+
`}setupFor(t){this.eventsTarget!==t&&(this.removeHandlers(),this.eventsTarget=t,this.eventsTarget.addEventListener("mouseenter",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseenter",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}async showTemporaryText(t,o){let n=this.manual;this.manual=!0;let a=this.text;this.text={message:t},await this.show(o),this.text=a,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ci(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${be.designSystemVariables.transitionDuration}, left ${be.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(t){return this.manual||(0,be.eventPathContainsMatchingElement)(t,this.ignoreMatchingElements,this.eventsTarget)}};j.elementDefinitions={"ft-typography":Se};j.styles=Ja;we([yc()],j.prototype,"text",void 0);we([(0,xe.property)({type:Boolean})],j.prototype,"manual",void 0);we([(0,xe.property)({type:Boolean})],j.prototype,"inline",void 0);we([(0,be.numberProperty)()],j.prototype,"delay",void 0);we([(0,xe.property)()],j.prototype,"position",void 0);we([(0,be.jsonProperty)([])],j.prototype,"ignoreMatchingElements",void 0);we([(0,xe.queryAssignedNodes)()],j.prototype,"slotNodes",void 0);we([(0,xe.query)(".ft-tooltip--container")],j.prototype,"container",void 0);we([(0,xe.query)(".ft-tooltip")],j.prototype,"tooltip",void 0);we([(0,xe.query)(".ft-tooltip--content")],j.prototype,"tooltipContent",void 0);we([(0,xe.state)()],j.prototype,"visible",void 0);(0,vc.customElement)("ft-tooltip")(j);var Rc=C(k());var xr=C(z()),rt=C(re()),Ac=C(k()),wc=C(Oc());var po;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.CIRCLE_QUESTION="",e.GRIP_LINES_SOLID="",e.TRANSLATE_SPARKLE_SOLID="",e.CODE="",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",e.PAPER_PLANE_SLASH="",e.COMPRESS="",e.EXPAND="",e.ARROW_ROTATE_LEFT="",e.EYE="",e.SHARE="󨃱",e.MOBILE_SMALL="",e.SPARKLES="",e.HAND_SOLID="",e.CLOCK_SOLID="",e.CONTEXT_MENU_CURSOR="",e.LANGUAGE_SLASH="",e.MAGNIFYING_GLASS_FLOPPY_DISK="",e.CABINET_FILING_FLOPPY_DISK="",e.BOOKMARK_SLASH="",e.CIRCLE_PAUSE="",e.CIRCLE_PLAY="",e.CIRCLE_STOP_PLAIN="",e.CLOUD_ARROW_DOWN="",e.SHARE_NODES="",e.BELL="",e.BELL_SLASH="",e.FILE="",e.HAND="",e.SQUARE_INFO_SOLID="",e.FILE_CODE="",e.BOX_CODE=""})(po||(po={}));var S;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(S||(S={}));var Sv=new Map([...["abw"].map(e=>[e,S.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,S.AUDIO]),...["avi"].map(e=>[e,S.AVI]),...["chm","xhs"].map(e=>[e,S.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,S.CODE]),...["csv"].map(e=>[e,S.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,S.DITA]),...["epub"].map(e=>[e,S.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,S.EXCEL]),...["flac"].map(e=>[e,S.FLAC]),...["gif"].map(e=>[e,S.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,S.GZIP]),...["html","htm","xhtml"].map(e=>[e,S.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,S.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,S.JPEG]),...["json"].map(e=>[e,S.JSON]),...["m4a","m4p"].map(e=>[e,S.M4A]),...["mov","qt"].map(e=>[e,S.MOV]),...["mp3"].map(e=>[e,S.MP3]),...["mp4","m4v"].map(e=>[e,S.MP4]),...["ogg","oga"].map(e=>[e,S.OGG]),...["pdf","ps"].map(e=>[e,S.PDF]),...["png"].map(e=>[e,S.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,S.POWERPOINT]),...["rar"].map(e=>[e,S.RAR]),...["stp"].map(e=>[e,S.STP]),...["txt","rtf","md","mdown"].map(e=>[e,S.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,S.VIDEO]),...["wav"].map(e=>[e,S.WAV]),...["wma"].map(e=>[e,S.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,S.WORD]),...["xml","xsl","rdf"].map(e=>[e,S.XML]),...["yaml","yml","x-yaml"].map(e=>[e,S.YAML]),...["zip"].map(e=>[e,S.ZIP])]);var Ov={[S.ABW]:"#91ABC6",[S.AUDIO]:"#1795E3",[S.AVI]:"#E63324",[S.CHM]:"#71C3EB",[S.CODE]:"#71C3EB",[S.CSV]:"#1F7345",[S.DITA]:"#71C3EB",[S.EPUB]:"#85B926",[S.EXCEL]:"#1F7345",[S.FLAC]:"#1795E3",[S.GIF]:"#59B031",[S.GZIP]:"#F8AB36",[S.HTML]:"#71C3EB",[S.IMAGE]:"#59B031",[S.JPEG]:"#59B031",[S.JSON]:"#71C3EB",[S.M4A]:"#1795E3",[S.MOV]:"#E63324",[S.MP3]:"#1795E3",[S.MP4]:"#E63324",[S.OGG]:"#1795E3",[S.PDF]:"#E44948",[S.PNG]:"#59B031",[S.POWERPOINT]:"#B54A2B",[S.RAR]:"#F8AB36",[S.STP]:"#3764B1",[S.TEXT]:"#3162AB",[S.UNKNOWN]:"#999999",[S.VIDEO]:"#E63324",[S.WAV]:"#1795E3",[S.WMA]:"#1795E3",[S.WORD]:"#3162AB",[S.XML]:"#71C3EB",[S.YAML]:"#71C3EB",[S.ZIP]:"#F8AB36"};var Cc=C(z()),Te=C(k()),Re={size:Te.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Te.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Te.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Te.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Te.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Te.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Te.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Te.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ec=[Cc.css`
|
|
312
312
|
:host, i.ft-icon {
|
|
313
313
|
display: inline-flex;
|
|
314
314
|
align-items: center;
|
|
@@ -361,7 +361,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
361
361
|
${(0,wc.unsafeHTML)(this.resolvedIcon)}
|
|
362
362
|
<slot ?hidden=${o}></slot>
|
|
363
363
|
</i>
|
|
364
|
-
`}getTextContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.getTextContent();switch(this.variant){case tt.file_format:this.resolvedIcon=(t=S[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case tt.material:this.resolvedIcon=this.value||xr.nothing;break;default:this.resolvedIcon=(o=po[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};pe.elementDefinitions={};pe.styles=Ec;vr([(0,rt.property)()],pe.prototype,"variant",void 0);vr([(0,rt.property)()],pe.prototype,"value",void 0);vr([(0,rt.property)({reflect:!0,attribute:"aria-hidden"})],pe.prototype,"ariaHidden",void 0);vr([(0,rt.state)()],pe.prototype,"resolvedIcon",void 0);vr([(0,rt.query)("slot")],pe.prototype,"slottedContent",void 0);(0,Rc.customElement)("ft-icon")(pe);var Tc=C(z()),oe=C(k());var
|
|
364
|
+
`}getTextContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.getTextContent();switch(this.variant){case tt.file_format:this.resolvedIcon=(t=S[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case tt.material:this.resolvedIcon=this.value||xr.nothing;break;default:this.resolvedIcon=(o=po[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};pe.elementDefinitions={};pe.styles=Ec;vr([(0,rt.property)()],pe.prototype,"variant",void 0);vr([(0,rt.property)()],pe.prototype,"value",void 0);vr([(0,rt.property)({reflect:!0,attribute:"aria-hidden"})],pe.prototype,"ariaHidden",void 0);vr([(0,rt.state)()],pe.prototype,"resolvedIcon",void 0);vr([(0,rt.query)("slot")],pe.prototype,"slottedContent",void 0);(0,Rc.customElement)("ft-icon")(pe);var Tc=C(z()),oe=C(k());var W=C(k());var K={textColor:W.FtCssVariableFactory.extend("--ft-switch-text-color","",W.designSystemVariables.colorOnSurfaceHigh),backgroundColor:W.FtCssVariableFactory.extend("--ft-switch-background-color","",W.designSystemVariables.colorSurface),selectedTextColor:W.FtCssVariableFactory.extend("--ft-switch-selected-text-color","",W.designSystemVariables.colorPrimary),selectedBackgroundColor:W.FtCssVariableFactory.extend("--ft-switch-selected-background-color","",W.designSystemVariables.colorPrimary),borderColor:W.FtCssVariableFactory.extend("--ft-switch-border-color","",W.designSystemVariables.colorOutline),borderRadius:W.FtCssVariableFactory.extend("--ft-switch-border-radius","",W.designSystemVariables.borderRadiusL),fontSize:W.FtCssVariableFactory.extend("--ft-switch-font-size","",ve.fontSize),iconSize:W.FtCssVariableFactory.create("--ft-switch-icon-size","","SIZE","24px"),iconColor:W.FtCssVariableFactory.extend("--ft-switch-text-color","",W.designSystemVariables.colorOnSurfaceMedium),rippleColor:W.FtCssVariableFactory.extend("--ft-switch-ripple-color","",W.designSystemVariables.colorPrimary),outlineColor:W.FtCssVariableFactory.extend("--ft-switch-outline-color","",W.designSystemVariables.colorPrimary)};var V={borderRadiusLeft:oe.FtCssVariableFactory.extend("--ft-switch-option-border-radius-left","",oe.designSystemVariables.borderRadiusL),borderRadiusRight:oe.FtCssVariableFactory.extend("--ft-switch-option-border-radius-right","",oe.designSystemVariables.borderRadiusL),borderWidthLeft:oe.FtCssVariableFactory.create("--ft-switch-option-border-width-left","","SIZE","1px"),borderWidthRight:oe.FtCssVariableFactory.create("--ft-switch-option-border-width-right","","SIZE","1px"),borderWidthVertical:oe.FtCssVariableFactory.create("--ft-switch-option-border-width-vertical","","SIZE","1px")},Nc=Tc.css`
|
|
365
365
|
.ft-switch-option {
|
|
366
366
|
position: relative;
|
|
367
367
|
display: inline-block;
|
|
@@ -430,7 +430,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
430
430
|
}
|
|
431
431
|
|
|
432
432
|
.ft-switch-option--ripple {
|
|
433
|
-
${(0,oe.setVariable)(
|
|
433
|
+
${(0,oe.setVariable)(Me.color,K.rippleColor)};
|
|
434
434
|
}
|
|
435
435
|
|
|
436
436
|
ft-icon, ft-ripple, ft-typography {
|
|
@@ -473,7 +473,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
473
473
|
</ft-tooltip>
|
|
474
474
|
`}connectedCallback(){super.connectedCallback(),this.addEventListener("focusout",this.onFocusout)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focusout",this.onFocusout)}onFocusout(){this.isFocused=!1}onChange(){this.selected=this.unselectable?!this.selected:!0,this.dispatchEvent(new Zn(this.selected))}getLabel(){return this.label||this.getTextContent()}resolveIcon(){return this.icon?Jt.html`
|
|
475
475
|
<ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
|
|
476
|
-
`:Jt.nothing}getTextContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}};Z.elementDefinitions={"ft-ripple":
|
|
476
|
+
`:Jt.nothing}getTextContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}};Z.elementDefinitions={"ft-ripple":H,"ft-typography":Se,"ft-tooltip":j,"ft-icon":pe};Z.styles=[Qt.safariEllipsisFix,Nc];Ne([(0,se.property)()],Z.prototype,"value",void 0);Ne([(0,se.property)()],Z.prototype,"icon",void 0);Ne([(0,se.property)()],Z.prototype,"iconVariant",void 0);Ne([(0,se.property)()],Z.prototype,"label",void 0);Ne([(0,se.property)()],Z.prototype,"tooltipPosition",void 0);Ne([(0,se.property)({type:Boolean,reflect:!0})],Z.prototype,"selected",void 0);Ne([(0,se.property)({type:Boolean})],Z.prototype,"trailingIcon",void 0);Ne([(0,se.property)({type:Boolean})],Z.prototype,"unselectable",void 0);Ne([(0,se.query)(".ft-switch-option--content slot")],Z.prototype,"slottedContent",void 0);Ne([(0,se.query)(".ft-switch-option--input")],Z.prototype,"input",void 0);Ne([(0,se.state)()],Z.prototype,"isFocused",void 0);var bt=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},Yn=class extends CustomEvent{constructor(t){super("change",{detail:t})}},fe=class extends $e.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.unselectable=!1,this.displayFocusWhenUsingKeyboard=!1,this.options=[]}get value(){var t;return(t=this.selectedOption)===null||t===void 0?void 0:t.value}update(t){super.update(t),t.has("selectedOption")&&this.updateOptions(),t.has("unselectable")&&this.options.forEach(o=>o.unselectable=this.unselectable)}render(){let t={"ft-switch":!0,"ft-switch--dense":this.dense};return fo.html`
|
|
477
477
|
<div @keydown=${this.onKeyDown} tabindex="-1" class="${(0,_c.classMap)(t)}" role="radiogroup" aria-label="${this.label}">
|
|
478
478
|
<slot @slotchange=${this.onSlotchange}
|
|
479
479
|
@option-change=${this.onOptionChangeByScript}
|