@fluid-topics/ft-search-saved-searches 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?j.substr(1,j.length):j}).forEach(function(j){var X=j.split(":"),H=X.shift().trim();if(H){var Vr=X.join(":").trim();try{x.append(H,Vr)}catch(Ko){console.warn("Response "+Ko.message)}}}),x}N.call(W.prototype);function xe(h,x){if(!(this instanceof xe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new y(x.headers),this.url=x.url||"",this._initBody(h)}N.call(xe.prototype),xe.prototype.clone=function(){return new xe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},xe.error=function(){var h=new xe(null,{status:200,statusText:""});return h.ok=!1,h.status=0,h.type="error",h};var qe=[301,302,303,307,308];xe.redirect=function(h,x){if(qe.indexOf(x)===-1)throw new RangeError("Invalid status code");return new xe(null,{status:x,headers:{location:h}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,_){this.message=x,this.name=_;var j=Error(x);this.stack=j.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function pe(h,x){return new Promise(function(_,j){var X=new W(h,x);if(X.signal&&X.signal.aborted)return j(new o.DOMException("Aborted","AbortError"));var H=new XMLHttpRequest;function Vr(){H.abort()}H.onload=function(){var fe={statusText:H.statusText,headers:Ze(H.getAllResponseHeaders()||"")};X.url.indexOf("file://")===0&&(H.status<200||H.status>599)?fe.status=200:fe.status=H.status,fe.url="responseURL"in H?H.responseURL:fe.headers.get("X-Request-URL");var At="response"in H?H.response:H.responseText;setTimeout(function(){_(new xe(At,fe))},0)},H.onerror=function(){setTimeout(function(){j(new TypeError("Network request failed"))},0)},H.ontimeout=function(){setTimeout(function(){j(new TypeError("Network request timed out"))},0)},H.onabort=function(){setTimeout(function(){j(new o.DOMException("Aborted","AbortError"))},0)};function Ko(fe){try{return fe===""&&n.location.href?n.location.href:fe}catch{return fe}}if(H.open(X.method,Ko(X.url),!0),X.credentials==="include"?H.withCredentials=!0:X.credentials==="omit"&&(H.withCredentials=!1),"responseType"in H&&(a.blob?H.responseType="blob":a.arrayBuffer&&(H.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof y||n.Headers&&x.headers instanceof n.Headers)){var la=[];Object.getOwnPropertyNames(x.headers).forEach(function(fe){la.push(u(fe)),H.setRequestHeader(fe,p(x.headers[fe]))}),X.headers.forEach(function(fe,At){la.indexOf(At)===-1&&H.setRequestHeader(At,fe)})}else X.headers.forEach(function(fe,At){H.setRequestHeader(At,fe)});X.signal&&(X.signal.addEventListener("abort",Vr),H.onreadystatechange=function(){H.readyState===4&&X.signal.removeEventListener("abort",Vr)}),H.send(typeof X._bodyInit>"u"?null:X._bodyInit)})}return pe.polyfill=!0,n.fetch||(n.fetch=pe,n.Headers=y,n.Request=W,n.Response=xe),o.Headers=y,o.Request=W,o.Response=xe,o.fetch=pe,o}({})})(Io);Io.fetch.ponyfill=!0;delete Io.fetch.polyfill;var yr=Lo.fetch?Lo:Io;Et=yr.fetch;Et.default=yr.fetch;Et.fetch=yr.fetch;Et.Headers=yr.Headers;Et.Request=yr.Request;Et.Response=yr.Response;
|
|
1
|
+
"use strict";(()=>{var Ll=Object.create;var da=Object.defineProperty;var Il=Object.getOwnPropertyDescriptor;var Pl=Object.getOwnPropertyNames;var _l=Object.getPrototypeOf,kl=Object.prototype.hasOwnProperty;var Rt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Dl=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Pl(t))!kl.call(e,a)&&a!==o&&da(e,a,{get:()=>t[a],enumerable:!(n=Il(t,a))||n.enumerable});return e};var b=(e,t,o)=>(o=e!=null?Ll(_l(e)):{},Dl(t||!e||!e.__esModule?da(o,"default",{value:e,enumerable:!0}):o,e));var L=Rt((cu,ua)=>{ua.exports=ftGlobals.wcUtils});var G=Rt((lu,pa)=>{pa.exports=ftGlobals.lit});var oe=Rt((du,fa)=>{fa.exports=ftGlobals.litDecorators});var zt=Rt((hu,ha)=>{ha.exports=ftGlobals.litClassMap});var Di=Rt((fm,ki)=>{ki.exports=ftGlobals.litUnsafeHTML});var Dc=Rt((Et,kc)=>{var Lo=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Io=function(){function e(){this.fetch=!1,this.DOMException=Lo.DOMException}return e.prototype=Lo,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 i(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]"],d=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 m(h){var x={next:function(){var _=h.shift();return{done:_===void 0,value:_}}};return a.iterable&&(x[Symbol.iterator]=function(){return x}),x}function y(h){this.map={},h instanceof y?h.forEach(function(x,_){this.append(_,x)},this):Array.isArray(h)?h.forEach(function(x){if(x.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+x.length);this.append(x[0],x[1])},this):h&&Object.getOwnPropertyNames(h).forEach(function(x){this.append(x,h[x])},this)}y.prototype.append=function(h,x){h=u(h),x=p(x);var _=this.map[h];this.map[h]=_?_+", "+x:x},y.prototype.delete=function(h){delete this.map[u(h)]},y.prototype.get=function(h){return h=u(h),this.has(h)?this.map[h]:null},y.prototype.has=function(h){return this.map.hasOwnProperty(u(h))},y.prototype.set=function(h,x){this.map[u(h)]=p(x)},y.prototype.forEach=function(h,x){for(var _ in this.map)this.map.hasOwnProperty(_)&&h.call(x,this.map[_],_,this)},y.prototype.keys=function(){var h=[];return this.forEach(function(x,_){h.push(_)}),m(h)},y.prototype.values=function(){var h=[];return this.forEach(function(x){h.push(x)}),m(h)},y.prototype.entries=function(){var h=[];return this.forEach(function(x,_){h.push([_,x])}),m(h)},a.iterable&&(y.prototype[Symbol.iterator]=y.prototype.entries);function g(h){if(!h._noBody){if(h.bodyUsed)return Promise.reject(new TypeError("Already read"));h.bodyUsed=!0}}function S(h){return new Promise(function(x,_){h.onload=function(){x(h.result)},h.onerror=function(){_(h.error)}})}function v(h){var x=new FileReader,_=S(x);return x.readAsArrayBuffer(h),_}function C(h){var x=new FileReader,_=S(x),j=/charset=([A-Za-z0-9_-]+)/.exec(h.type),X=j?j[1]:"utf-8";return x.readAsText(h,X),_}function T(h){for(var x=new Uint8Array(h),_=new Array(x.length),j=0;j<x.length;j++)_[j]=String.fromCharCode(x[j]);return _.join("")}function R(h){if(h.slice)return h.slice(0);var x=new Uint8Array(h.byteLength);return x.set(new Uint8Array(h)),x.buffer}function N(){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&&i(h)?(this._bodyArrayBuffer=R(h.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(h)||d(h))?this._bodyArrayBuffer=R(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=g(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=g(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(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var h=g(this);if(h)return h;if(this._bodyBlob)return C(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(T(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(Oe)}),this.json=function(){return this.text().then(JSON.parse)},this}var B=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function U(h){var x=h.toUpperCase();return B.indexOf(x)>-1?x:h}function W(h,x){if(!(this instanceof W))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');x=x||{};var _=x.body;if(h instanceof W){if(h.bodyUsed)throw new TypeError("Already read");this.url=h.url,this.credentials=h.credentials,x.headers||(this.headers=new y(h.headers)),this.method=h.method,this.mode=h.mode,this.signal=h.signal,!_&&h._bodyInit!=null&&(_=h._bodyInit,h.bodyUsed=!0)}else this.url=String(h);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new y(x.headers)),this.method=U(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in n){var H=new AbortController;return H.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&_)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(_),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var j=/([?&])_=[^&]*/;if(j.test(this.url))this.url=this.url.replace(j,"$1_="+new Date().getTime());else{var X=/\?/;this.url+=(X.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}W.prototype.clone=function(){return new W(this,{body:this._bodyInit})};function Oe(h){var x=new FormData;return h.trim().split("&").forEach(function(_){if(_){var j=_.split("="),X=j.shift().replace(/\+/g," "),H=j.join("=").replace(/\+/g," ");x.append(decodeURIComponent(X),decodeURIComponent(H))}}),x}function Ze(h){var x=new y,_=h.replace(/\r?\n[\t ]+/g," ");return _.split("\r").map(function(j){return j.indexOf(`
|
|
2
|
+
`)===0?j.substr(1,j.length):j}).forEach(function(j){var X=j.split(":"),H=X.shift().trim();if(H){var Vr=X.join(":").trim();try{x.append(H,Vr)}catch(Ko){console.warn("Response "+Ko.message)}}}),x}N.call(W.prototype);function xe(h,x){if(!(this instanceof xe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new y(x.headers),this.url=x.url||"",this._initBody(h)}N.call(xe.prototype),xe.prototype.clone=function(){return new xe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},xe.error=function(){var h=new xe(null,{status:200,statusText:""});return h.ok=!1,h.status=0,h.type="error",h};var qe=[301,302,303,307,308];xe.redirect=function(h,x){if(qe.indexOf(x)===-1)throw new RangeError("Invalid status code");return new xe(null,{status:x,headers:{location:h}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,_){this.message=x,this.name=_;var j=Error(x);this.stack=j.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function pe(h,x){return new Promise(function(_,j){var X=new W(h,x);if(X.signal&&X.signal.aborted)return j(new o.DOMException("Aborted","AbortError"));var H=new XMLHttpRequest;function Vr(){H.abort()}H.onload=function(){var fe={statusText:H.statusText,headers:Ze(H.getAllResponseHeaders()||"")};X.url.indexOf("file://")===0&&(H.status<200||H.status>599)?fe.status=200:fe.status=H.status,fe.url="responseURL"in H?H.responseURL:fe.headers.get("X-Request-URL");var At="response"in H?H.response:H.responseText;setTimeout(function(){_(new xe(At,fe))},0)},H.onerror=function(){setTimeout(function(){j(new TypeError("Network request failed"))},0)},H.ontimeout=function(){setTimeout(function(){j(new TypeError("Network request timed out"))},0)},H.onabort=function(){setTimeout(function(){j(new o.DOMException("Aborted","AbortError"))},0)};function Ko(fe){try{return fe===""&&n.location.href?n.location.href:fe}catch{return fe}}if(H.open(X.method,Ko(X.url),!0),X.credentials==="include"?H.withCredentials=!0:X.credentials==="omit"&&(H.withCredentials=!1),"responseType"in H&&(a.blob?H.responseType="blob":a.arrayBuffer&&(H.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof y||n.Headers&&x.headers instanceof n.Headers)){var la=[];Object.getOwnPropertyNames(x.headers).forEach(function(fe){la.push(u(fe)),H.setRequestHeader(fe,p(x.headers[fe]))}),X.headers.forEach(function(fe,At){la.indexOf(At)===-1&&H.setRequestHeader(At,fe)})}else X.headers.forEach(function(fe,At){H.setRequestHeader(At,fe)});X.signal&&(X.signal.addEventListener("abort",Vr),H.onreadystatechange=function(){H.readyState===4&&X.signal.removeEventListener("abort",Vr)}),H.send(typeof X._bodyInit>"u"?null:X._bodyInit)})}return pe.polyfill=!0,n.fetch||(n.fetch=pe,n.Headers=y,n.Request=W,n.Response=xe),o.Headers=y,o.Request=W,o.Response=xe,o.fetch=pe,o}({})})(Io);Io.fetch.ponyfill=!0;delete Io.fetch.polyfill;var yr=Lo.fetch?Lo:Io;Et=yr.fetch;Et.default=yr.fetch;Et.fetch=yr.fetch;Et.Headers=yr.Headers;Et.Request=yr.Request;Et.Response=yr.Response;kc.exports=Et});var fl=Rt((kS,pl)=>{pl.exports=ftGlobals.litRepeat});var Tl=b(L());var Fe=b(G()),jr=b(oe());function Ue(e,t,o){return e?t(e):o?.(e)}var Ke=b(L());var Bs=b(G()),P=b(L());var _i=b(L());var Or=b(G()),It=b(oe()),Ii=b(L());var Ea=b(L());var Oa=b(G()),he=b(oe()),Ca=b(zt()),gr=b(L());var va=b(G()),ne=b(L()),ya=ne.FtCssVariableFactory.extend("--ft-ripple-color","",ne.designSystemVariables.colorContent),E={color:ya,backgroundColor:ne.FtCssVariableFactory.extend("--ft-ripple-background-color","",ya),opacityContentOnSurfacePressed:ne.FtCssVariableFactory.external(ne.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ne.FtCssVariableFactory.external(ne.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ne.FtCssVariableFactory.external(ne.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ne.FtCssVariableFactory.external(ne.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ne.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ma=ne.FtCssVariableFactory.extend("--ft-ripple-color","",ne.designSystemVariables.colorPrimary),ga={color:ma,backgroundColor:ne.FtCssVariableFactory.extend("--ft-ripple-background-color","",ma)},ba=ne.FtCssVariableFactory.extend("--ft-ripple-color","",ne.designSystemVariables.colorSecondary),xa={color:ba,backgroundColor:ne.FtCssVariableFactory.extend("--ft-ripple-background-color","",ba)},Sa=va.css`
|
|
3
3
|
:host {
|
|
4
4
|
display: contents;
|
|
5
5
|
}
|
|
@@ -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=(...d)=>u=>{d.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=d=>{["Enter"," "].includes(d.key)&&o("keyup")(d)},c={passive:!0};t.addEventListener("mouseover",this.startHover,c),t.addEventListener("mousemove",this.moveRipple,c),t.addEventListener("mouseleave",this.endHover,c),t.addEventListener("mousedown",n,c),t.addEventListener("touchstart",a,c),t.addEventListener("touchmove",this.moveRipple,c),t.addEventListener("keydown",i,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",i,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,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}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()}};V.elementDefinitions={};V.styles=Sa;Ce([(0,he.property)({type:Boolean})],V.prototype,"primary",void 0);Ce([(0,he.property)({type:Boolean})],V.prototype,"secondary",void 0);Ce([(0,he.property)({type:Boolean})],V.prototype,"unbounded",void 0);Ce([(0,he.property)({type:Boolean})],V.prototype,"activated",void 0);Ce([(0,he.property)({type:Boolean})],V.prototype,"selected",void 0);Ce([(0,he.property)({type:Boolean})],V.prototype,"disabled",void 0);Ce([(0,he.state)()],V.prototype,"hovered",void 0);Ce([(0,he.state)()],V.prototype,"focused",void 0);Ce([(0,he.state)()],V.prototype,"pressed",void 0);Ce([(0,he.state)()],V.prototype,"rippling",void 0);Ce([(0,he.state)()],V.prototype,"originX",void 0);Ce([(0,he.state)()],V.prototype,"originY",void 0);Ce([(0,he.query)(".ft-ripple")],V.prototype,"ripple",void 0);Ce([(0,he.query)(".ft-ripple--effect")],V.prototype,"rippleEffect",void 0);(0,Ea.customElement)("ft-ripple")(V);var
|
|
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=(...d)=>u=>{d.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=d=>{["Enter"," "].includes(d.key)&&o("keyup")(d)},c={passive:!0};t.addEventListener("mouseover",this.startHover,c),t.addEventListener("mousemove",this.moveRipple,c),t.addEventListener("mouseleave",this.endHover,c),t.addEventListener("mousedown",n,c),t.addEventListener("touchstart",a,c),t.addEventListener("touchmove",this.moveRipple,c),t.addEventListener("keydown",i,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",i,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,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}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()}};V.elementDefinitions={};V.styles=Sa;Ce([(0,he.property)({type:Boolean})],V.prototype,"primary",void 0);Ce([(0,he.property)({type:Boolean})],V.prototype,"secondary",void 0);Ce([(0,he.property)({type:Boolean})],V.prototype,"unbounded",void 0);Ce([(0,he.property)({type:Boolean})],V.prototype,"activated",void 0);Ce([(0,he.property)({type:Boolean})],V.prototype,"selected",void 0);Ce([(0,he.property)({type:Boolean})],V.prototype,"disabled",void 0);Ce([(0,he.state)()],V.prototype,"hovered",void 0);Ce([(0,he.state)()],V.prototype,"focused",void 0);Ce([(0,he.state)()],V.prototype,"pressed",void 0);Ce([(0,he.state)()],V.prototype,"rippling",void 0);Ce([(0,he.state)()],V.prototype,"originX",void 0);Ce([(0,he.state)()],V.prototype,"originY",void 0);Ce([(0,he.query)(".ft-ripple")],V.prototype,"ripple",void 0);Ce([(0,he.query)(".ft-ripple--effect")],V.prototype,"rippleEffect",void 0);(0,Ea.customElement)("ft-ripple")(V);var Ni=b(L());var en=globalThis,Kr=en.trustedTypes,wa=Kr?Kr.createPolicy("lit-html",{createHTML:e=>e}):void 0,Ia="$lit$",ut=`lit$${Math.random().toFixed(9).slice(2)}$`,Pa="?"+ut,Bl=`<${Pa}>`,Lt=document,Zr=()=>Lt.createComment(""),xr=e=>e===null||typeof e!="object"&&typeof e!="function",tn=Array.isArray,$l=e=>tn(e)||typeof e?.[Symbol.iterator]=="function",Zo=`[
|
|
126
126
|
\f\r]`,br=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Aa=/-->/g,Ra=/>/g,Nt=RegExp(`>|${Zo}(?:([^\\s"'>=/]+)(${Zo}*=${Zo}*(?:[^
|
|
127
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Na=/'/g,Ta=/"/g,_a=/^(?:script|style|textarea|title)$/i,rn=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),ka=rn(1),Da=rn(2),Ba=rn(3),vr=Symbol.for("lit-noChange"),de=Symbol.for("lit-nothing"),La=new WeakMap,Tt=Lt.createTreeWalker(Lt,129);function $a(e,t){if(!tn(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return wa!==void 0?wa.createHTML(t):t}var $l=(e,t)=>{let o=e.length-1,n=[],a,i=t===2?"<svg>":t===3?"<math>":"",c=br;for(let d=0;d<o;d++){let u=e[d],p,m,y=-1,g=0;for(;g<u.length&&(c.lastIndex=g,m=c.exec(u),m!==null);)g=c.lastIndex,c===br?m[1]==="!--"?c=Aa:m[1]!==void 0?c=Ra:m[2]!==void 0?(_a.test(m[2])&&(a=RegExp("</"+m[2],"g")),c=Nt):m[3]!==void 0&&(c=Nt):c===Nt?m[0]===">"?(c=a??br,y=-1):m[1]===void 0?y=-2:(y=c.lastIndex-m[2].length,p=m[1],c=m[3]===void 0?Nt:m[3]==='"'?Ta:Na):c===Ta||c===Na?c=Nt:c===Aa||c===Ra?c=br:(c=Nt,a=void 0);let S=c===Nt&&e[d+1].startsWith("/>")?" ":"";i+=c===br?u+Dl:y>=0?(n.push(p),u.slice(0,y)+Ia+u.slice(y)+ut+S):u+ut+(y===-2?d:S)}return[$a(e,i+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Sr=class e{constructor({strings:t,_$litType$:o},n){let a;this.parts=[];let i=0,c=0,d=t.length-1,u=this.parts,[p,m]=$l(t,o);if(this.el=e.createElement(p,n),Tt.currentNode=this.el.content,o===2||o===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(a=Tt.nextNode())!==null&&u.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let y of a.getAttributeNames())if(y.endsWith(Ia)){let g=m[c++],S=a.getAttribute(y).split(ut),v=/([.?@])?(.*)/.exec(g);u.push({type:1,index:i,name:v[2],strings:S,ctor:v[1]==="."?Yo:v[1]==="?"?Xo:v[1]==="@"?Qo:jt}),a.removeAttribute(y)}else y.startsWith(ut)&&(u.push({type:6,index:i}),a.removeAttribute(y));if(_a.test(a.tagName)){let y=a.textContent.split(ut),g=y.length-1;if(g>0){a.textContent=Kr?Kr.emptyScript:"";for(let S=0;S<g;S++)a.append(y[S],Zr()),Tt.nextNode(),u.push({type:2,index:++i});a.append(y[g],Zr())}}}else if(a.nodeType===8)if(a.data===Pa)u.push({type:2,index:i});else{let y=-1;for(;(y=a.data.indexOf(ut,y+1))!==-1;)u.push({type:7,index:i}),y+=ut.length-1}i++}}static createElement(t,o){let n=Lt.createElement("template");return n.innerHTML=t,n}};function Gt(e,t,o=e,n){if(t===vr)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=xr(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(t=Gt(e,a._$AS(e,t.values),a,n)),t}var qo=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??Lt).importNode(o,!0);Tt.currentNode=a;let i=Tt.nextNode(),c=0,d=0,u=n[0];for(;u!==void 0;){if(c===u.index){let p;u.type===2?p=new qr(i,i.nextSibling,this,t):u.type===1?p=new u.ctor(i,u.name,u.strings,this,t):u.type===6&&(p=new Jo(i,this,t)),this._$AV.push(p),u=n[++d]}c!==u?.index&&(i=Tt.nextNode(),c++)}return Tt.currentNode=Lt,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++}},qr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=de,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=Gt(this,t,o),xr(t)?t===de||t==null||t===""?(this._$AH!==de&&this._$AR(),this._$AH=de):t!==this._$AH&&t!==vr&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Bl(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!==de&&xr(this._$AH)?this._$AA.nextSibling.data=t:this.T(Lt.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=Sr.createElement($a(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new qo(a,this),c=i.u(this.options);i.p(o),this.T(c),this._$AH=i}}_$AC(t){let o=La.get(t.strings);return o===void 0&&La.set(t.strings,o=new Sr(t)),o}k(t){tn(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of t)a===o.length?o.push(n=new e(this.O(Zr()),this.O(Zr()),this,this.options)):n=o[a],n._$AI(i),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))}},jt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,i){this.type=1,this._$AH=de,this._$AN=void 0,this.element=t,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=de}_$AI(t,o=this,n,a){let i=this.strings,c=!1;if(i===void 0)t=Gt(this,t,o,0),c=!xr(t)||t!==this._$AH&&t!==vr,c&&(this._$AH=t);else{let d=t,u,p;for(t=i[0],u=0;u<i.length-1;u++)p=Gt(this,d[n+u],o,u),p===vr&&(p=this._$AH[u]),c||=!xr(p)||p!==this._$AH[u],p===de?t=de:t!==de&&(t+=(p??"")+i[u+1]),this._$AH[u]=p}c&&!a&&this.j(t)}j(t){t===de?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Yo=class extends jt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===de?void 0:t}},Xo=class extends jt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==de)}},Qo=class extends jt{constructor(t,o,n,a,i){super(t,o,n,a,i),this.type=5}_$AI(t,o=this){if((t=Gt(this,t,o,0)??de)===vr)return;let n=this._$AH,a=t===de&&n!==de||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==de&&(n===de||a);a&&this.element.removeEventListener(this.name,this,n),i&&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)}},Jo=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){Gt(this,t)}};var Fl=en.litHtmlPolyfillSupport;Fl?.(Sr,qr),(en.litHtmlVersions??=[]).push("3.3.0");var Ua=Symbol.for(""),Ul=e=>{if(e?.r===Ua)return e?._$litStatic$},on=e=>({_$litStatic$:e,r:Ua});var Fa=new Map,nn=e=>(t,...o)=>{let n=o.length,a,i,c=[],d=[],u,p=0,m=!1;for(;p<n;){for(u=t[p];p<n&&(i=o[p],(a=Ul(i))!==void 0);)u+=a+t[++p],m=!0;p!==n&&d.push(i),c.push(u),p++}if(p===n&&c.push(t[n]),m){let y=c.join("$$lit$$");(t=Fa.get(y))===void 0&&(c.raw=c,Fa.set(y,t=c)),o=d}return e(t,...o)},an=nn(ka),Cu=nn(Da),Eu=nn(Ba);var sn=b(oe()),Ai=b(L());var Me;(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"})(Me||(Me={}));var ke=b(G()),A=b(L());var tt=b(G(),1),pt=e=>typeof e=="string"?(0,tt.unsafeCSS)(e):e,r=class{static create(t,o,n,a){let i=d=>pt(d??a),c=tt.css`var(${pt(t)}, ${i(a)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=a,c.defaultCssValue=i,c.get=d=>tt.css`var(${pt(t)}, ${i(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(t,o,n,a){let i=d=>n.get(d??a),c=tt.css`var(${pt(t)}, ${i(a)})`;return c.name=t,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=i,c.get=d=>tt.css`var(${pt(t)}, ${i(d)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(t,o){let n=i=>t.fallbackVariable?t.fallbackVariable.get(i??t.defaultValue):pt(i??t.lastResortDefaultValue()),a=tt.css`var(${pt(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.get=i=>tt.css`var(${pt(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};var s={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-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("--ft-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("--ft-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("--ft-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("--ft-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("--ft-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("--ft-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("--ft-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("--ft-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)")},Ma={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},Wa={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ha={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},za={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ga={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ja={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Va={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ka={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Za={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ml={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},qa={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ya={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Xa={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Qa={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ja={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},ei={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ti={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ri={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},oi={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ni={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ai={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ii={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},si={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ci={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},li={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},di={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Yr={display:Ma,"title-1":Wa,"title-2":Ha,"title-3":za,"body-1-regular":Ga,"body-1-medium":ja,"body-1-semibold":Va,"body-2-regular":Ka,"body-2-medium":Za,"body-2-medium-underline":Ml,"body-2-semibold":qa,"label-1-medium":Ya,"label-1-semibold":Xa,"label-1-bold":Qa,"label-2-medium":Ja,"label-2-semibold":ei,"label-2-bold":ti,"caption-1-medium":ri,"caption-1-semibold":oi,"caption-1-bold":ni,"caption-2-medium":ai,"caption-2-semibold":ii,"caption-2-bold":si,"caption-3-medium":ci,"caption-3-semibold":li,"caption-3-bold":di};var l={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
128
|
-
Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",s.colorGray200)};var f={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:r.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",s.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",s.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",s.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",s.spacing2),smallGap:r.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",s.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",s.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",s.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",l.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",l.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",l.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",l.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",s.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",s.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",s.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",l.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",l.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",l.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",l.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",s.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",s.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",s.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",s.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",l.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",l.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",l.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",s.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",s.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",s.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",s.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",l.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",l.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",l.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",s.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",s.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",s.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",s.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",l.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",l.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",l.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",s.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",s.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",s.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",s.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",l.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",l.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",l.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",s.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",s.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",s.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",s.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",l.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",l.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",l.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",s.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",s.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",s.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",s.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",l.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",l.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",l.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",s.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",s.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",s.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",s.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",l.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",s.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",s.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",s.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",s.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",l.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",l.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",l.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",l.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",s.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",s.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",s.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",s.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",l.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",l.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",l.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",l.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",s.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",s.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",s.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",s.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",l.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",l.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",l.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",l.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",s.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",s.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",s.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",s.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",l.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",l.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",l.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",l.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",s.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",s.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",s.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",s.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",l.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",l.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",l.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",l.contentErrorPrimary)};var Hu={iconSize:r.extend("--ft-checkbox-icon-size","",s.iconSize2),boxSize:r.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ft-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ft-checkbox-color","",l.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",l.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",l.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",l.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ft-checkbox-horizontal-gap","",s.spacing3),leftPadding:r.extend("--ft-checkbox-left-padding","",s.spacing2)};var Ku={headerRowBorderWidth:r.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ft-table-header-row-background-color","",l.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ft-table-header-row-border-color","",l.borderGlobalPrimary),headerRowColor:r.extend("--ft-table-header-row-color","",l.contentGlobalPrimary),dataRowBorderWidth:r.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ft-table-data-row-background-color","",l.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ft-table-data-row-border-color","",l.borderGlobalSubtle),dataRowColor:r.extend("--ft-table-data-row-color","",l.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ft-table-data-row-default-hover-background-color","",s.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",s.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-default-background-color","",s.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ft-table-data-row-selectable-selected-default-border-color","",s.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-hover-background-color","",s.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ft-table-data-row-selectable-selected-hover-border-color","",s.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ft-table-data-row-selectable-selected-color","",l.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ft-table-data-row-clickable-hover-background-color","",s.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ft-table-data-row-clickable-focus-border-color","",l.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ft-table-data-row-clickable-focus-background-color","",s.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ft-table-data-row-clickable-active-background-color","",s.colorGray40),headerCellHorizontalGap:r.extend("--ft-table-header-cell-horizontal-gap","",s.spacing1),headerCellVerticalPadding:r.extend("--ft-table-header-cell-vertical-padding","",s.spacing2),headerCellHorizontalPadding:r.extend("--ft-table-header-cell-horizontal-padding","",s.spacing3),dataCellVerticalPadding:r.extend("--ft-table-data-cell-vertical-padding","",s.spacing2),dataCellHorizontalPadding:r.extend("--ft-table-data-cell-horizontal-padding","",s.spacing3),dataCellVerticalGap:r.extend("--ft-table-data-cell-vertical-gap","",s.spacing1)};var Qu={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",s.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",s.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",l.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",s.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",l.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",l.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",l.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",l.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",s.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",s.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",s.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",l.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",s.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",l.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",l.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",l.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",l.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",l.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",s.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",s.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",s.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",s.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",s.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",s.iconSize2)};var D={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:r.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:r.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",l.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",l.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",l.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",l.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",l.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",l.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",l.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",l.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",l.borderErrorSubtle)};var sp={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",s.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",l.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",l.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",l.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",l.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",l.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",s.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",l.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",l.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",l.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",l.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",l.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",l.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",l.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",l.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",l.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",l.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",s.colorBrand100)};var pp={iconSize:r.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",l.borderInfoSubtle)};var gp={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:r.extend("--ft-badge-color","",l.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",l.contentActionPrimary)};var Op={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",s.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",l.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",l.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",l.contentGlobalSubtle)};var Rp={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",s.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",s.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",s.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",s.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",l.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",l.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",s.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",s.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",s.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",s.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",s.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",s.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",s.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",s.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",s.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",s.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",s.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",s.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",s.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",s.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",s.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",s.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",l.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var Pp={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",s.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",s.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",s.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",l.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",s.spacing4)};var Bp={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",s.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",s.spacing6)};var Wp={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",s.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",s.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",s.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:r.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",s.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",l.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",l.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",l.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:r.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",s.borderRadiusM)};var Vp={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:r.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",l.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",l.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",l.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",l.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",l.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",l.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",s.colorGray700)};var Xp={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ft-tabs-off-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",l.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",l.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity24),onColor:r.extend("--ft-tabs-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",l.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",l.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",l.borderActionFocusRing)};var rf={largeFieldHorizontalPadding:r.extend("--ft-text-input-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:r.extend("--ft-text-input-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:r.extend("--ft-text-input-large-field-vertical-gap","",s.spacing05),largeFieldHeight:r.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ft-text-input-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:r.extend("--ft-text-input-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:r.extend("--ft-text-input-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:r.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ft-text-input-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",s.borderRadiusS),backgroundColor:r.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",l.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",l.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",l.contentErrorIconOnly),warningBorderColor:r.extend("--ft-text-input-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-text-input-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-text-input-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var cf={backgroundColor:r.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",l.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",l.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",s.borderRadiusS)};var ff={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",l.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",l.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",l.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",l.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",s.shadowElevation02)};var bf={largeFieldHorizontalPadding:r.extend("--ft-combobox-single-select-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:r.extend("--ft-combobox-single-select-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:r.extend("--ft-combobox-single-select-large-field-vertical-gap","",s.spacing05),largeFieldHeight:r.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ft-combobox-single-select-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:r.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:r.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:r.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ft-combobox-single-select-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusS),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",l.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",l.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",l.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",l.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var Cf={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",l.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",l.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",l.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusS)};var Nf={backgroundColor:r.extend("--ft-popover-background-color","",l.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",s.spacing6),titleColor:r.extend("--ft-popover-title-color","",l.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",l.contentGlobalSecondary),gap:r.extend("--ft-popover-gap","",s.spacing2),borderRadius:r.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",s.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ft-popover-content-section-vertical-gap","",s.spacing2),multiSectionVerticalGap:r.extend("--ft-popover-multi-section-vertical-gap","",s.spacing6)};var _f={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",l.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:r.extend("--ft-collapsible-color","",l.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",l.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",l.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",l.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",s.iconSize3)};var Ff={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:r.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",l.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",l.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ft-switch-off-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:r.extend("--ft-switch-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",l.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",l.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var Hf={color1Light:r.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",s.colorRed40),color5Base:r.extend("--ft-chart-5-base","",s.colorRed60),color6Light:r.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",s.colorGray50),color10Base:r.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",s.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",s.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",s.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",s.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",s.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",s.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",s.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",s.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",s.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",s.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",s.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",s.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",s.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",s.colorCyan200)};var Vf={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",s.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",s.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",s.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",s.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",s.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",s.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",s.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",s.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",s.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",s.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",s.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",s.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",s.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",s.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",s.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",s.colorBrown0)};var Xf={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:r.extend("--ft-notice-gap","",s.spacing2),iconSize:r.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",l.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",l.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",l.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",l.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",l.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",l.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",l.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",l.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",l.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",l.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",l.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",l.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ft-notice-dense-gap","",s.spacing1),denseIconSize:r.extend("--ft-notice-dense-icon-size","",s.iconSize2),denseBorderWidth:r.create("--ft-notice-dense-border-width","","SIZE","0")};var rh={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",l.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",l.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",l.contentActionPrimary),color:r.extend("--ft-toggle-color","",l.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",l.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",s.spacing3)};var sh={color:r.extend("--ft-radio-color","",l.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",l.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",l.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",l.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",l.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",s.spacing3)};var ph={iconSize:r.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",s.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",l.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",l.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",l.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",l.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",l.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",s.spacing8)};var gh={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:r.extend("--ft-tooltip-color","",l.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",l.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:r.extend("--ft-tooltip-shadow","",s.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",s.spacing05)};var Oh={verticalPadding:r.extend("--ft-reorderable-list-vertical-padding","",s.spacing4),gap:r.extend("--ft-reorderable-list-gap","",s.spacing1),borderRadius:r.extend("--ft-reorderable-list-border-radius","",s.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",s.spacing6),reorderableItemTitleColor:r.extend("--ft-reorderable-list-reorderable-item-title-color","",l.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",s.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",s.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",s.spacing2),reorderableItemUsersCountColor:r.extend("--ft-reorderable-list-reorderable-item-users-count-color","",l.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",s.spacing6),reorderableItemBackgroundColor:r.extend("--ft-reorderable-list-reorderable-item-background-color","",l.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",s.spacing1),reorderableItemWarningMessageColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",l.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",l.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ft-reorderable-list-reorderable-item-grip-color","",l.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",s.opacity48),boxShadow:r.extend("--ft-reorderable-list-box-shadow","",s.shadowElevation01),borderWidth:r.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ft-reorderable-list-reorderable-items-gap","",s.spacing2),leftPadding:r.extend("--ft-reorderable-list-left-padding","",s.spacing2),rightPadding:r.extend("--ft-reorderable-list-right-padding","",s.spacing6),borderColor:r.extend("--ft-reorderable-list-border-color","",l.borderGlobalPrimary),backgroundColor:r.extend("--ft-reorderable-list-background-color","",l.backgroundGlobalOnSurfaceDark)};var Rh={nodeHeight:r.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ft-tree-list-node-parent-label-margin-left","",s.spacing2),nodeParentLabelMarginRight:r.extend("--ft-tree-list-node-parent-label-margin-right","",s.spacing2),nodeRootPaddingLeft:r.extend("--ft-tree-list-node-root-padding-left","",s.spacing3),nodeChildPaddingLeft:r.extend("--ft-tree-list-node-child-padding-left","",s.spacing5),nodeLeafPaddingLeft:r.extend("--ft-tree-list-node-leaf-padding-left","",s.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ft-tree-list-node-unselected-default-border-color","",l.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ft-tree-list-node-unselected-icon-color","",l.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ft-tree-list-node-unselected-label-color","",l.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ft-tree-list-node-unselected-counter-color","",l.contentInfoPrimary),nodeHoverBorderColor:r.extend("--ft-tree-list-node-hover-border-color","",l.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ft-tree-list-node-focus-focus-ring-color","",l.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ft-tree-list-node-selected-default-border-color","",l.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ft-tree-list-node-selected-icon-color","",l.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ft-tree-list-node-selected-label-color","",l.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ft-tree-list-node-selected-counter-color","",l.contentInfoPrimary),nodeSelectedBackgroundColor:r.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ft-tree-list-node-descendant-of-selected-label-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",l.contentInfoPrimary),nodeDescendantOfSelectedBackgroundColor:r.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ft-tree-list-header-section-padding-left","",s.spacing3),headerSectionPaddingRight:r.extend("--ft-tree-list-header-section-padding-right","",s.spacing3),headerSectionHorizontalGap:r.extend("--ft-tree-list-header-section-horizontal-gap","",s.spacing2),headerSectionMarginBottom:r.extend("--ft-tree-list-header-section-margin-bottom","",s.spacing2),headerSectionColor:r.extend("--ft-tree-list-header-section-color","",l.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ft-tree-list-header-section-counter-color","",l.contentInfoPrimary),listContainerBorderWidth:r.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ft-tree-list-list-container-background-color","",l.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ft-tree-list-list-container-border-color","",l.borderGlobalSubtle),loadMorePaddingLeft:r.extend("--ft-tree-list-load-more-padding-left","",s.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ft-tree-list-load-more-unselected-default-border-color","",l.borderGlobalSubtle),loadMoreIconColor:r.extend("--ft-tree-list-load-more-icon-color","",l.contentActionPrimary),loadMoreLabelColor:r.extend("--ft-tree-list-load-more-label-color","",l.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ft-tree-list-load-more-hover-border-color","",s.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ft-tree-list-load-more-active-border-color","",s.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",l.borderGlobalPrimary)};var Xr;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Xr||(Xr={}));var ve;(function(e){e.large="large",e.medium="medium",e.small="small"})(ve||(ve={}));var Qr=b(G());function ui(e){let t=Yr[e];return Qr.css`
|
|
127
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Na=/'/g,Ta=/"/g,_a=/^(?:script|style|textarea|title)$/i,rn=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),ka=rn(1),Da=rn(2),Ba=rn(3),vr=Symbol.for("lit-noChange"),de=Symbol.for("lit-nothing"),La=new WeakMap,Tt=Lt.createTreeWalker(Lt,129);function $a(e,t){if(!tn(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return wa!==void 0?wa.createHTML(t):t}var Fl=(e,t)=>{let o=e.length-1,n=[],a,i=t===2?"<svg>":t===3?"<math>":"",c=br;for(let d=0;d<o;d++){let u=e[d],p,m,y=-1,g=0;for(;g<u.length&&(c.lastIndex=g,m=c.exec(u),m!==null);)g=c.lastIndex,c===br?m[1]==="!--"?c=Aa:m[1]!==void 0?c=Ra:m[2]!==void 0?(_a.test(m[2])&&(a=RegExp("</"+m[2],"g")),c=Nt):m[3]!==void 0&&(c=Nt):c===Nt?m[0]===">"?(c=a??br,y=-1):m[1]===void 0?y=-2:(y=c.lastIndex-m[2].length,p=m[1],c=m[3]===void 0?Nt:m[3]==='"'?Ta:Na):c===Ta||c===Na?c=Nt:c===Aa||c===Ra?c=br:(c=Nt,a=void 0);let S=c===Nt&&e[d+1].startsWith("/>")?" ":"";i+=c===br?u+Bl:y>=0?(n.push(p),u.slice(0,y)+Ia+u.slice(y)+ut+S):u+ut+(y===-2?d:S)}return[$a(e,i+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Sr=class e{constructor({strings:t,_$litType$:o},n){let a;this.parts=[];let i=0,c=0,d=t.length-1,u=this.parts,[p,m]=Fl(t,o);if(this.el=e.createElement(p,n),Tt.currentNode=this.el.content,o===2||o===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(a=Tt.nextNode())!==null&&u.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let y of a.getAttributeNames())if(y.endsWith(Ia)){let g=m[c++],S=a.getAttribute(y).split(ut),v=/([.?@])?(.*)/.exec(g);u.push({type:1,index:i,name:v[2],strings:S,ctor:v[1]==="."?Yo:v[1]==="?"?Xo:v[1]==="@"?Qo:jt}),a.removeAttribute(y)}else y.startsWith(ut)&&(u.push({type:6,index:i}),a.removeAttribute(y));if(_a.test(a.tagName)){let y=a.textContent.split(ut),g=y.length-1;if(g>0){a.textContent=Kr?Kr.emptyScript:"";for(let S=0;S<g;S++)a.append(y[S],Zr()),Tt.nextNode(),u.push({type:2,index:++i});a.append(y[g],Zr())}}}else if(a.nodeType===8)if(a.data===Pa)u.push({type:2,index:i});else{let y=-1;for(;(y=a.data.indexOf(ut,y+1))!==-1;)u.push({type:7,index:i}),y+=ut.length-1}i++}}static createElement(t,o){let n=Lt.createElement("template");return n.innerHTML=t,n}};function Gt(e,t,o=e,n){if(t===vr)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=xr(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(t=Gt(e,a._$AS(e,t.values),a,n)),t}var qo=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??Lt).importNode(o,!0);Tt.currentNode=a;let i=Tt.nextNode(),c=0,d=0,u=n[0];for(;u!==void 0;){if(c===u.index){let p;u.type===2?p=new qr(i,i.nextSibling,this,t):u.type===1?p=new u.ctor(i,u.name,u.strings,this,t):u.type===6&&(p=new Jo(i,this,t)),this._$AV.push(p),u=n[++d]}c!==u?.index&&(i=Tt.nextNode(),c++)}return Tt.currentNode=Lt,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++}},qr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=de,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=Gt(this,t,o),xr(t)?t===de||t==null||t===""?(this._$AH!==de&&this._$AR(),this._$AH=de):t!==this._$AH&&t!==vr&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):$l(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!==de&&xr(this._$AH)?this._$AA.nextSibling.data=t:this.T(Lt.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=Sr.createElement($a(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new qo(a,this),c=i.u(this.options);i.p(o),this.T(c),this._$AH=i}}_$AC(t){let o=La.get(t.strings);return o===void 0&&La.set(t.strings,o=new Sr(t)),o}k(t){tn(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of t)a===o.length?o.push(n=new e(this.O(Zr()),this.O(Zr()),this,this.options)):n=o[a],n._$AI(i),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))}},jt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,i){this.type=1,this._$AH=de,this._$AN=void 0,this.element=t,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=de}_$AI(t,o=this,n,a){let i=this.strings,c=!1;if(i===void 0)t=Gt(this,t,o,0),c=!xr(t)||t!==this._$AH&&t!==vr,c&&(this._$AH=t);else{let d=t,u,p;for(t=i[0],u=0;u<i.length-1;u++)p=Gt(this,d[n+u],o,u),p===vr&&(p=this._$AH[u]),c||=!xr(p)||p!==this._$AH[u],p===de?t=de:t!==de&&(t+=(p??"")+i[u+1]),this._$AH[u]=p}c&&!a&&this.j(t)}j(t){t===de?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Yo=class extends jt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===de?void 0:t}},Xo=class extends jt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==de)}},Qo=class extends jt{constructor(t,o,n,a,i){super(t,o,n,a,i),this.type=5}_$AI(t,o=this){if((t=Gt(this,t,o,0)??de)===vr)return;let n=this._$AH,a=t===de&&n!==de||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==de&&(n===de||a);a&&this.element.removeEventListener(this.name,this,n),i&&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)}},Jo=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){Gt(this,t)}};var Ul=en.litHtmlPolyfillSupport;Ul?.(Sr,qr),(en.litHtmlVersions??=[]).push("3.3.0");var Ua=Symbol.for(""),Ml=e=>{if(e?.r===Ua)return e?._$litStatic$},on=e=>({_$litStatic$:e,r:Ua});var Fa=new Map,nn=e=>(t,...o)=>{let n=o.length,a,i,c=[],d=[],u,p=0,m=!1;for(;p<n;){for(u=t[p];p<n&&(i=o[p],(a=Ml(i))!==void 0);)u+=a+t[++p],m=!0;p!==n&&d.push(i),c.push(u),p++}if(p===n&&c.push(t[n]),m){let y=c.join("$$lit$$");(t=Fa.get(y))===void 0&&(c.raw=c,Fa.set(y,t=c)),o=d}return e(t,...o)},an=nn(ka),wu=nn(Da),Au=nn(Ba);var sn=b(oe()),Ri=b(L());var Me;(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"})(Me||(Me={}));var ke=b(G()),A=b(L());var tt=b(G(),1),pt=e=>typeof e=="string"?(0,tt.unsafeCSS)(e):e,r=class{static create(t,o,n,a){let i=d=>pt(d??a),c=tt.css`var(${pt(t)}, ${i(a)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=a,c.defaultCssValue=i,c.set=d=>Ma(c,d??i(a)),c.get=d=>tt.css`var(${pt(t)}, ${i(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(t,o,n,a){let i=d=>n.get(d??a),c=tt.css`var(${pt(t)}, ${i(a)})`;return c.name=t,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=i,c.set=d=>Ma(c,d??i(a)),c.get=d=>tt.css`var(${pt(t)}, ${i(d)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(t,o){let n=i=>t.defaultCssValue(i),a=tt.css`var(${pt(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=i=>t.set(i),a.get=i=>tt.css`var(${pt(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Ma(e,t){return pt(`${e.name}: ${t}`)}var s={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-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("--ft-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("--ft-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("--ft-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("--ft-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("--ft-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("--ft-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("--ft-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("--ft-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)")},Wa={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},Ha={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},za={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ga={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ja={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Va={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ka={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Za={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},qa={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Wl={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ya={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Xa={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Qa={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Ja={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},ei={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},ti={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ri={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},oi={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},ni={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ai={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ii={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},si={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ci={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},li={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},di={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},ui={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Yr={display:Wa,"title-1":Ha,"title-2":za,"title-3":Ga,"body-1-regular":ja,"body-1-medium":Va,"body-1-semibold":Ka,"body-2-regular":Za,"body-2-medium":qa,"body-2-medium-underline":Wl,"body-2-semibold":Ya,"label-1-medium":Xa,"label-1-semibold":Qa,"label-1-bold":Ja,"label-2-medium":ei,"label-2-semibold":ti,"label-2-bold":ri,"caption-1-medium":oi,"caption-1-semibold":ni,"caption-1-bold":ai,"caption-2-medium":ii,"caption-2-semibold":si,"caption-2-bold":ci,"caption-3-medium":li,"caption-3-semibold":di,"caption-3-bold":ui};var l={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
128
|
+
Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",s.colorGray200)};var f={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:r.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",s.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",s.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",s.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",s.spacing2),smallGap:r.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",s.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",s.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",s.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",l.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",l.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",l.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",l.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",s.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",s.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",s.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",l.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",l.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",l.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",l.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",s.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",s.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",s.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",s.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",l.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",l.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",l.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",s.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",s.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",s.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",s.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",l.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",l.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",l.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",s.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",s.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",s.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",s.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",l.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",l.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",l.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",s.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",s.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",s.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",s.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",l.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",l.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",l.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",s.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",s.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",s.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",s.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",l.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",l.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",l.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",s.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",s.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",s.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",s.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",l.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",l.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",l.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",s.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",s.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",s.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",s.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",l.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",s.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",s.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",s.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",s.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",l.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",l.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",l.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",l.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",s.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",s.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",s.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",s.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",l.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",l.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",l.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",l.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",s.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",s.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",s.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",s.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",l.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",l.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",l.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",l.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",s.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",s.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",s.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",s.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",l.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",l.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",l.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",l.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",s.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",s.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",s.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",s.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",l.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",l.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",l.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",l.contentErrorPrimary)};var Gu={iconSize:r.extend("--ft-checkbox-icon-size","",s.iconSize2),boxSize:r.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ft-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ft-checkbox-color","",l.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",l.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",l.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",l.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ft-checkbox-horizontal-gap","",s.spacing3),leftPadding:r.extend("--ft-checkbox-left-padding","",s.spacing2)};var qu={headerRowBorderWidth:r.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ft-table-header-row-background-color","",l.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ft-table-header-row-border-color","",l.borderGlobalPrimary),headerRowColor:r.extend("--ft-table-header-row-color","",l.contentGlobalPrimary),dataRowBorderWidth:r.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ft-table-data-row-background-color","",l.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ft-table-data-row-border-color","",l.borderGlobalSubtle),dataRowColor:r.extend("--ft-table-data-row-color","",l.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ft-table-data-row-default-hover-background-color","",s.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",s.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-default-background-color","",s.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ft-table-data-row-selectable-selected-default-border-color","",s.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-hover-background-color","",s.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ft-table-data-row-selectable-selected-hover-border-color","",s.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ft-table-data-row-selectable-selected-color","",l.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ft-table-data-row-clickable-hover-background-color","",s.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ft-table-data-row-clickable-focus-border-color","",l.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ft-table-data-row-clickable-focus-background-color","",s.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ft-table-data-row-clickable-active-background-color","",s.colorGray40),headerCellHorizontalGap:r.extend("--ft-table-header-cell-horizontal-gap","",s.spacing1),headerCellVerticalPadding:r.extend("--ft-table-header-cell-vertical-padding","",s.spacing2),headerCellHorizontalPadding:r.extend("--ft-table-header-cell-horizontal-padding","",s.spacing3),dataCellVerticalPadding:r.extend("--ft-table-data-cell-vertical-padding","",s.spacing2),dataCellHorizontalPadding:r.extend("--ft-table-data-cell-horizontal-padding","",s.spacing3),dataCellVerticalGap:r.extend("--ft-table-data-cell-vertical-gap","",s.spacing1)};var ep={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",s.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",s.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",l.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",s.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",l.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",l.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",l.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",l.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",s.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",s.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",s.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",l.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",s.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",l.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",l.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",l.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",l.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",l.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",s.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",s.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",s.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",s.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",s.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",s.iconSize2)};var D={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:r.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:r.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",l.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",l.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",l.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",l.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",l.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",l.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",l.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",l.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",l.borderErrorSubtle)};var lp={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",s.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",l.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",l.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",l.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",l.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",l.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",s.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",l.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",l.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",l.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",l.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",l.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",l.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",l.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",l.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",l.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",l.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",s.colorBrand100)};var hp={iconSize:r.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",l.borderInfoSubtle)};var xp={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:r.extend("--ft-badge-color","",l.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",l.contentActionPrimary)};var Ep={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",s.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",l.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",l.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",l.contentGlobalSubtle)};var Tp={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",s.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",s.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",s.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",s.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",l.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",l.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",s.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",s.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",s.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",s.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",s.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",s.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",s.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",s.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",s.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",s.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",s.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",s.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",s.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",s.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",s.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",s.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",l.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var kp={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",s.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",s.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",s.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",l.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",s.spacing4)};var Fp={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",s.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",s.spacing6)};var zp={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",s.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",s.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",s.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:r.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",s.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",l.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",l.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",l.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:r.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",s.borderRadiusM)};var Zp={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:r.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",l.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",l.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",l.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",l.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",l.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",l.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",s.colorGray700)};var Jp={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ft-tabs-off-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",l.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",l.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity24),onColor:r.extend("--ft-tabs-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",l.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",l.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",l.borderActionFocusRing)};var nf={largeFieldHorizontalPadding:r.extend("--ft-text-input-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:r.extend("--ft-text-input-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:r.extend("--ft-text-input-large-field-vertical-gap","",s.spacing05),largeFieldHeight:r.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ft-text-input-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:r.extend("--ft-text-input-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:r.extend("--ft-text-input-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:r.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ft-text-input-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",s.borderRadiusS),backgroundColor:r.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",l.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",l.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",l.contentErrorIconOnly),warningBorderColor:r.extend("--ft-text-input-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-text-input-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-text-input-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var df={backgroundColor:r.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",l.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",l.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",s.borderRadiusS)};var yf={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",l.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",l.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",l.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",l.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",s.shadowElevation02)};var vf={largeFieldHorizontalPadding:r.extend("--ft-combobox-single-select-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:r.extend("--ft-combobox-single-select-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:r.extend("--ft-combobox-single-select-large-field-vertical-gap","",s.spacing05),largeFieldHeight:r.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ft-combobox-single-select-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:r.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:r.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:r.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ft-combobox-single-select-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusS),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",l.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",l.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",l.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",l.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var wf={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",l.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",l.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",l.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusS)};var Lf={backgroundColor:r.extend("--ft-popover-background-color","",l.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",s.spacing6),titleColor:r.extend("--ft-popover-title-color","",l.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",l.contentGlobalSecondary),gap:r.extend("--ft-popover-gap","",s.spacing2),borderRadius:r.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",s.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ft-popover-content-section-vertical-gap","",s.spacing2),multiSectionVerticalGap:r.extend("--ft-popover-multi-section-vertical-gap","",s.spacing6)};var Df={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",l.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:r.extend("--ft-collapsible-color","",l.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",l.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",l.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",l.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",s.iconSize3)};var Mf={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:r.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",l.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",l.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ft-switch-off-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:r.extend("--ft-switch-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",l.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",l.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var Gf={color1Light:r.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",s.colorRed40),color5Base:r.extend("--ft-chart-5-base","",s.colorRed60),color6Light:r.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",s.colorGray50),color10Base:r.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",s.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",s.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",s.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",s.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",s.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",s.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",s.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",s.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",s.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",s.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",s.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",s.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",s.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",s.colorCyan200)};var Zf={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",s.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",s.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",s.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",s.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",s.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",s.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",s.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",s.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",s.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",s.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",s.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",s.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",s.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",s.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",s.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",s.colorBrown0)};var Jf={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:r.extend("--ft-notice-gap","",s.spacing2),iconSize:r.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",l.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",l.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",l.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",l.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",l.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",l.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",l.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",l.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",l.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",l.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",l.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",l.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ft-notice-dense-gap","",s.spacing1),denseIconSize:r.extend("--ft-notice-dense-icon-size","",s.iconSize2),denseBorderWidth:r.create("--ft-notice-dense-border-width","","SIZE","0")};var nh={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",l.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",l.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",l.contentActionPrimary),color:r.extend("--ft-toggle-color","",l.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",l.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",s.spacing3)};var lh={color:r.extend("--ft-radio-color","",l.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",l.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",l.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",l.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",l.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",s.spacing3)};var hh={iconSize:r.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",s.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",l.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",l.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",l.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",l.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",l.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",s.spacing8)};var xh={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:r.extend("--ft-tooltip-color","",l.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",l.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:r.extend("--ft-tooltip-shadow","",s.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",s.spacing05)};var Eh={verticalPadding:r.extend("--ft-reorderable-list-vertical-padding","",s.spacing4),gap:r.extend("--ft-reorderable-list-gap","",s.spacing1),borderRadius:r.extend("--ft-reorderable-list-border-radius","",s.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",s.spacing6),reorderableItemTitleColor:r.extend("--ft-reorderable-list-reorderable-item-title-color","",l.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",s.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",s.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",s.spacing2),reorderableItemUsersCountColor:r.extend("--ft-reorderable-list-reorderable-item-users-count-color","",l.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",s.spacing6),reorderableItemBackgroundColor:r.extend("--ft-reorderable-list-reorderable-item-background-color","",l.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",s.spacing1),reorderableItemWarningMessageColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",l.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",l.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ft-reorderable-list-reorderable-item-grip-color","",l.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",s.opacity48),boxShadow:r.extend("--ft-reorderable-list-box-shadow","",s.shadowElevation01),borderWidth:r.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ft-reorderable-list-reorderable-items-gap","",s.spacing2),leftPadding:r.extend("--ft-reorderable-list-left-padding","",s.spacing2),rightPadding:r.extend("--ft-reorderable-list-right-padding","",s.spacing6),borderColor:r.extend("--ft-reorderable-list-border-color","",l.borderGlobalPrimary),backgroundColor:r.extend("--ft-reorderable-list-background-color","",l.backgroundGlobalOnSurfaceDark)};var Th={nodeHeight:r.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ft-tree-list-node-parent-label-margin-left","",s.spacing2),nodeParentLabelMarginRight:r.extend("--ft-tree-list-node-parent-label-margin-right","",s.spacing2),nodeRootPaddingLeft:r.extend("--ft-tree-list-node-root-padding-left","",s.spacing3),nodeChildPaddingLeft:r.extend("--ft-tree-list-node-child-padding-left","",s.spacing5),nodeLeafPaddingLeft:r.extend("--ft-tree-list-node-leaf-padding-left","",s.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ft-tree-list-node-unselected-default-border-color","",l.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ft-tree-list-node-unselected-icon-color","",l.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ft-tree-list-node-unselected-label-color","",l.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ft-tree-list-node-unselected-counter-color","",l.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ft-tree-list-node-hover-border-color","",l.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ft-tree-list-node-focus-focus-ring-color","",l.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ft-tree-list-node-selected-default-border-color","",l.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ft-tree-list-node-selected-icon-color","",l.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ft-tree-list-node-selected-label-color","",l.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ft-tree-list-node-selected-counter-color","",l.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ft-tree-list-node-descendant-of-selected-label-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ft-tree-list-header-section-padding-left","",s.spacing3),headerSectionPaddingRight:r.extend("--ft-tree-list-header-section-padding-right","",s.spacing3),headerSectionHorizontalGap:r.extend("--ft-tree-list-header-section-horizontal-gap","",s.spacing2),headerSectionMarginBottom:r.extend("--ft-tree-list-header-section-margin-bottom","",s.spacing2),headerSectionColor:r.extend("--ft-tree-list-header-section-color","",l.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ft-tree-list-header-section-counter-color","",l.contentGlobalSecondary),listContainerBorderWidth:r.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ft-tree-list-list-container-background-color","",l.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ft-tree-list-list-container-border-color","",l.borderGlobalSubtle),loadMorePaddingLeft:r.extend("--ft-tree-list-load-more-padding-left","",s.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ft-tree-list-load-more-unselected-default-border-color","",l.borderGlobalSubtle),loadMoreIconColor:r.extend("--ft-tree-list-load-more-icon-color","",l.contentActionPrimary),loadMoreLabelColor:r.extend("--ft-tree-list-load-more-label-color","",l.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ft-tree-list-load-more-hover-border-color","",s.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ft-tree-list-load-more-active-border-color","",s.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",l.borderGlobalPrimary)};var Xr;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Xr||(Xr={}));var ve;(function(e){e.large="large",e.medium="medium",e.small="small"})(ve||(ve={}));var Qr=b(G());function pi(e){let t=Yr[e];return Qr.css`
|
|
129
129
|
.ft-typography--${(0,Qr.unsafeCSS)(e)} {
|
|
130
130
|
font-family: ${t.fontFamily};
|
|
131
131
|
font-size: ${t.fontSize};
|
|
@@ -134,7 +134,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
134
134
|
line-height: ${t.lineHeight};
|
|
135
135
|
text-transform: ${t.textCase};
|
|
136
136
|
}
|
|
137
|
-
`}var
|
|
137
|
+
`}var fi=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.titleFont),ot=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.contentFont),I={fontFamily:ot,fontSize:A.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:A.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:A.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:A.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:A.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Vt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-font-family","",fi),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-font-size","",I.fontSize,"20px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",I.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",I.letterSpacing,"0.15px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-line-height","",I.lineHeight,"1.2"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",I.textTransform,"inherit")},rt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",fi),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",I.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",I.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",I.letterSpacing,"0.105px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",I.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",I.textTransform,"inherit")},Kt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",I.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",I.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",I.letterSpacing,"0.144px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",I.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",I.textTransform,"inherit")},Zt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",I.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",I.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",I.letterSpacing,"0.098px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",I.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",I.textTransform,"inherit")},qt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",I.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",I.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",I.letterSpacing,"0.496px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",I.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",I.textTransform,"inherit")},_e={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",I.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",I.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",I.letterSpacing,"0.252px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",I.lineHeight,"1.4"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",I.textTransform,"inherit")},Yt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",I.fontSize,"12px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",I.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",I.letterSpacing,"0.396px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",I.lineHeight,"1.33"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",I.textTransform,"inherit")},Xt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",I.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",I.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",I.letterSpacing,"0.33px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",I.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",I.textTransform,"inherit")},Qt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",I.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",I.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",I.letterSpacing,"1.5px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",I.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",I.textTransform,"uppercase")},Ye={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-button-font-size","",I.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",I.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",I.letterSpacing,"1.246px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-button-line-height","",I.lineHeight,"1.15"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",I.textTransform,"uppercase")},hi=ke.css`
|
|
138
138
|
.ft-typography--title {
|
|
139
139
|
font-family: ${Vt.fontFamily};
|
|
140
140
|
font-size: ${Vt.fontSize};
|
|
@@ -143,7 +143,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
143
143
|
line-height: ${Vt.lineHeight};
|
|
144
144
|
text-transform: ${Vt.textTransform};
|
|
145
145
|
}
|
|
146
|
-
`,
|
|
146
|
+
`,yi=ke.css`
|
|
147
147
|
.ft-typography--title-dense {
|
|
148
148
|
font-family: ${rt.fontFamily};
|
|
149
149
|
font-size: ${rt.fontSize};
|
|
@@ -152,7 +152,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
152
152
|
line-height: ${rt.lineHeight};
|
|
153
153
|
text-transform: ${rt.textTransform};
|
|
154
154
|
}
|
|
155
|
-
`,
|
|
155
|
+
`,mi=ke.css`
|
|
156
156
|
.ft-typography--subtitle1 {
|
|
157
157
|
font-family: ${Kt.fontFamily};
|
|
158
158
|
font-size: ${Kt.fontSize};
|
|
@@ -161,7 +161,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
161
161
|
line-height: ${Kt.lineHeight};
|
|
162
162
|
text-transform: ${Kt.textTransform};
|
|
163
163
|
}
|
|
164
|
-
`,
|
|
164
|
+
`,gi=ke.css`
|
|
165
165
|
.ft-typography--subtitle2 {
|
|
166
166
|
font-family: ${Zt.fontFamily};
|
|
167
167
|
font-size: ${Zt.fontSize};
|
|
@@ -171,7 +171,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
171
171
|
text-transform: ${Zt.textTransform};
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
`,
|
|
174
|
+
`,bi=ke.css`
|
|
175
175
|
.ft-typography--body1 {
|
|
176
176
|
font-family: ${qt.fontFamily};
|
|
177
177
|
font-size: ${qt.fontSize};
|
|
@@ -180,7 +180,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
180
180
|
line-height: ${qt.lineHeight};
|
|
181
181
|
text-transform: ${qt.textTransform};
|
|
182
182
|
}
|
|
183
|
-
`,
|
|
183
|
+
`,xi=ke.css`
|
|
184
184
|
.ft-typography--body2 {
|
|
185
185
|
font-family: ${_e.fontFamily};
|
|
186
186
|
font-size: ${_e.fontSize};
|
|
@@ -189,7 +189,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
189
189
|
line-height: ${_e.lineHeight};
|
|
190
190
|
text-transform: ${_e.textTransform};
|
|
191
191
|
}
|
|
192
|
-
`,
|
|
192
|
+
`,vi=ke.css`
|
|
193
193
|
.ft-typography--caption {
|
|
194
194
|
font-family: ${Yt.fontFamily};
|
|
195
195
|
font-size: ${Yt.fontSize};
|
|
@@ -198,7 +198,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
198
198
|
line-height: ${Yt.lineHeight};
|
|
199
199
|
text-transform: ${Yt.textTransform};
|
|
200
200
|
}
|
|
201
|
-
`,
|
|
201
|
+
`,Si=ke.css`
|
|
202
202
|
.ft-typography--breadcrumb {
|
|
203
203
|
font-family: ${Xt.fontFamily};
|
|
204
204
|
font-size: ${Xt.fontSize};
|
|
@@ -207,7 +207,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
207
207
|
line-height: ${Xt.lineHeight};
|
|
208
208
|
text-transform: ${Xt.textTransform};
|
|
209
209
|
}
|
|
210
|
-
`,
|
|
210
|
+
`,Oi=ke.css`
|
|
211
211
|
.ft-typography--overline {
|
|
212
212
|
font-family: ${Qt.fontFamily};
|
|
213
213
|
font-size: ${Qt.fontSize};
|
|
@@ -216,7 +216,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
216
216
|
line-height: ${Qt.lineHeight};
|
|
217
217
|
text-transform: ${Qt.textTransform};
|
|
218
218
|
}
|
|
219
|
-
`,
|
|
219
|
+
`,Ci=ke.css`
|
|
220
220
|
.ft-typography--button {
|
|
221
221
|
font-family: ${Ye.fontFamily};
|
|
222
222
|
font-size: ${Ye.fontSize};
|
|
@@ -225,11 +225,11 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
225
225
|
line-height: ${Ye.lineHeight};
|
|
226
226
|
text-transform: ${Ye.textTransform};
|
|
227
227
|
}
|
|
228
|
-
`,
|
|
228
|
+
`,Ei=ke.css`
|
|
229
229
|
.ft-typography {
|
|
230
230
|
vertical-align: inherit;
|
|
231
231
|
}
|
|
232
|
-
`,
|
|
232
|
+
`,wi=[Object.keys(Yr).map(e=>pi(e))];var Ai=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ae=class extends Ri.FtLitElement{constructor(){super(...arguments),this.variant=Me.body1}render(){return this.element?an`
|
|
233
233
|
<${on(this.element)}
|
|
234
234
|
part="text"
|
|
235
235
|
class="ft-typography ft-typography--${this.variant}">
|
|
@@ -237,7 +237,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
237
237
|
</${on(this.element)}>
|
|
238
238
|
`:an`
|
|
239
239
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
240
|
-
`}};ae.styles=[
|
|
240
|
+
`}};ae.styles=[hi,yi,mi,gi,bi,xi,vi,Si,Oi,Ci,Ei,...wi];Ai([(0,sn.property)()],ae.prototype,"element",void 0);Ai([(0,sn.property)()],ae.prototype,"variant",void 0);(0,Ni.customElement)("ft-typography")(ae);var Ti=b(G()),z=b(L());var M={padding:z.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:z.FtCssVariableFactory.extend("--ft-card-border-radius","",z.designSystemVariables.borderRadiusM),borderStyle:z.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:z.FtCssVariableFactory.extend("--ft-card-border-color","",z.designSystemVariables.colorOutline),hoverBorderColor:z.FtCssVariableFactory.extend("--ft-card-hover-border-color","",z.designSystemVariables.colorPrimary),outlineStyle:z.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:z.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:z.FtCssVariableFactory.extend("--ft-card-outline-color","",z.designSystemVariables.colorPrimary),selectedOutlineStyle:z.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:z.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:z.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",z.designSystemVariables.colorPrimary),selectedBorderRadius:z.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",z.designSystemVariables.borderRadiusM),colorSurface:z.FtCssVariableFactory.extend("--ft-card-background-color","",z.designSystemVariables.colorSurface),colorOnSurfaceMedium:z.FtCssVariableFactory.extend("--ft-card-content-color","",z.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:z.FtCssVariableFactory.extend("--ft-card-title-color","",z.designSystemVariables.colorOnSurfaceHigh),elevation02:z.FtCssVariableFactory.extend("--ft-card-elevation","",z.designSystemVariables.elevation02),elevation04:z.FtCssVariableFactory.extend("--ft-card-selected-elevation","",z.designSystemVariables.elevation04)},Li=Ti.css`
|
|
241
241
|
:host {
|
|
242
242
|
display: block;
|
|
243
243
|
}
|
|
@@ -326,8 +326,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
326
326
|
#action {
|
|
327
327
|
grid-area: actions;
|
|
328
328
|
}
|
|
329
|
-
`;var
|
|
330
|
-
<div id="container" part="container" class=${(0,
|
|
329
|
+
`;var Pi=b(zt()),Jt=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Ee=class extends Ii.FtLitElement{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1,this.noContent=!1,this.oneLineHeader=!1}render(){let t={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader,"no-content":this.noContent,"one-line-header":this.oneLineHeader};return Or.html`
|
|
330
|
+
<div id="container" part="container" class=${(0,Pi.classMap)(t)}>
|
|
331
331
|
${this.clickable?Or.html`
|
|
332
332
|
<ft-ripple primary ?selected=${this.selected}></ft-ripple>
|
|
333
333
|
`:Or.nothing}
|
|
@@ -344,7 +344,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
344
344
|
</ft-typography>
|
|
345
345
|
</div>
|
|
346
346
|
</div>
|
|
347
|
-
`}};Ee.elementDefinitions={"ft-ripple":V,"ft-typography":ae};Ee.styles=
|
|
347
|
+
`}};Ee.elementDefinitions={"ft-ripple":V,"ft-typography":ae};Ee.styles=Li;Jt([(0,It.property)()],Ee.prototype,"title",void 0);Jt([(0,It.property)({type:Boolean})],Ee.prototype,"clickable",void 0);Jt([(0,It.property)({type:Boolean})],Ee.prototype,"selected",void 0);Jt([(0,It.property)({type:Boolean})],Ee.prototype,"noHeader",void 0);Jt([(0,It.property)({type:Boolean})],Ee.prototype,"noContent",void 0);Jt([(0,It.property)({type:Boolean})],Ee.prototype,"oneLineHeader",void 0);(0,_i.customElement)("ft-card")(Ee);var En=b(L());var lo=b(G()),me=b(oe()),Ps=b(zt()),ir=b(L());var Mi=b(L());var Cr=b(G()),ft=b(oe()),Fi=b(L()),Ui=b(Di());var er;(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=""})(er||(er={}));var w;(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=""})(w||(w={}));var hm=new Map([...["abw"].map(e=>[e,w.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,w.AUDIO]),...["avi"].map(e=>[e,w.AVI]),...["chm","xhs"].map(e=>[e,w.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,w.CODE]),...["csv"].map(e=>[e,w.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,w.DITA]),...["epub"].map(e=>[e,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,w.EXCEL]),...["flac"].map(e=>[e,w.FLAC]),...["gif"].map(e=>[e,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,w.GZIP]),...["html","htm","xhtml"].map(e=>[e,w.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,w.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,w.JPEG]),...["json"].map(e=>[e,w.JSON]),...["m4a","m4p"].map(e=>[e,w.M4A]),...["mov","qt"].map(e=>[e,w.MOV]),...["mp3"].map(e=>[e,w.MP3]),...["mp4","m4v"].map(e=>[e,w.MP4]),...["ogg","oga"].map(e=>[e,w.OGG]),...["pdf","ps"].map(e=>[e,w.PDF]),...["png"].map(e=>[e,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,w.POWERPOINT]),...["rar"].map(e=>[e,w.RAR]),...["stp"].map(e=>[e,w.STP]),...["txt","rtf","md","mdown"].map(e=>[e,w.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,w.VIDEO]),...["wav"].map(e=>[e,w.WAV]),...["wma"].map(e=>[e,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,w.WORD]),...["xml","xsl","rdf"].map(e=>[e,w.XML]),...["yaml","yml","x-yaml"].map(e=>[e,w.YAML]),...["zip"].map(e=>[e,w.ZIP])]);var ym={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var Bi=b(G()),We=b(L()),te={size:We.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:We.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",We.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:We.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",We.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:We.FtCssVariableFactory.extend("--ft-icon-material-font-family","",We.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:We.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},$i=[Bi.css`
|
|
348
348
|
:host, i.ft-icon {
|
|
349
349
|
display: inline-flex;
|
|
350
350
|
align-items: center;
|
|
@@ -392,12 +392,12 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
392
392
|
.ft-icon--material {
|
|
393
393
|
font-family: ${te.materialFontFamily}, "Material Icons", sans-serif;
|
|
394
394
|
}
|
|
395
|
-
`,We.noTextSelect];var De;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(De||(De={}));var Er=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ie=class extends
|
|
395
|
+
`,We.noTextSelect];var De;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(De||(De={}));var Er=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ie=class extends Fi.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Cr.nothing}render(){let t=this.variant&&Object.values(De).includes(this.variant)?this.variant:De.fluid_topics,o=t!==De.material||!!this.value;return Cr.html`
|
|
396
396
|
<i class="ft-icon ft-icon--${t} ft-no-text-select" part="icon icon-${t}">
|
|
397
|
-
${(0,
|
|
397
|
+
${(0,Ui.unsafeHTML)(this.resolvedIcon)}
|
|
398
398
|
<slot ?hidden=${o}></slot>
|
|
399
399
|
</i>
|
|
400
|
-
`}get textContent(){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.textContent;switch(this.variant){case De.file_format:this.resolvedIcon=(t=w[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case De.material:this.resolvedIcon=this.value||Cr.nothing;break;default:this.resolvedIcon=(o=er[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};ie.elementDefinitions={};ie.styles
|
|
400
|
+
`}get textContent(){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.textContent;switch(this.variant){case De.file_format:this.resolvedIcon=(t=w[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case De.material:this.resolvedIcon=this.value||Cr.nothing;break;default:this.resolvedIcon=(o=er[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};ie.elementDefinitions={};ie.styles=$i;Er([(0,ft.property)()],ie.prototype,"variant",void 0);Er([(0,ft.property)()],ie.prototype,"value",void 0);Er([(0,ft.property)({reflect:!0,attribute:"aria-hidden"})],ie.prototype,"ariaHidden",void 0);Er([(0,ft.state)()],ie.prototype,"resolvedIcon",void 0);Er([(0,ft.query)("slot")],ie.prototype,"slottedContent",void 0);(0,Mi.customElement)("ft-icon")(ie);var co=b(G()),F=b(L());var Sn=b(L());var Ir=b(oe()),ws=b(L());var ji=b(G()),$=b(L());var Wi=b(G()),wr=b(L()),Z={color:wr.FtCssVariableFactory.extend("--ft-loader-color","",wr.designSystemVariables.colorPrimary),size:wr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Hi=Wi.css`
|
|
401
401
|
:host {
|
|
402
402
|
line-height: 0;
|
|
403
403
|
}
|
|
@@ -466,7 +466,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
466
466
|
transform: translate(calc(0.35 * ${Z.size}), 0);
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
`;var
|
|
469
|
+
`;var zi=$.FtCssVariableFactory.extend("--ft-button-color","",$.designSystemVariables.colorPrimary),K={backgroundColor:$.FtCssVariableFactory.extend("--ft-button-background-color","",$.designSystemVariables.colorSurface),borderRadius:$.FtCssVariableFactory.extend("--ft-button-border-radius","",$.designSystemVariables.borderRadiusL),color:zi,fontSize:$.FtCssVariableFactory.extend("--ft-button-font-size","",Ye.fontSize),iconSize:$.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:$.FtCssVariableFactory.extend("--ft-button-ripple-color","",zi),verticalPadding:$.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:$.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:$.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:$.FtCssVariableFactory.external($.designSystemVariables.colorOpacityDisabled,"Design system")},Gi=$.FtCssVariableFactory.extend("--ft-button-primary-color","",$.FtCssVariableFactory.extend("--ft-button-color","",$.designSystemVariables.colorOnPrimary)),cn={backgroundColor:$.FtCssVariableFactory.extend("--ft-button-primary-background-color","",$.FtCssVariableFactory.extend("--ft-button-background-color","",$.designSystemVariables.colorPrimary)),color:Gi,rippleColor:$.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Gi)},Xe={borderRadius:$.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",$.FtCssVariableFactory.extend("--ft-button-border-radius","",$.designSystemVariables.borderRadiusM)),verticalPadding:$.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:$.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:$.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Vi=[ji.css`
|
|
470
470
|
:host {
|
|
471
471
|
display: inline-block;
|
|
472
472
|
max-width: 100%;
|
|
@@ -603,7 +603,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
603
603
|
${(0,$.setVariable)(Z.size,K.iconSize)};
|
|
604
604
|
${(0,$.setVariable)(Z.color,"var(--ft-button-internal-color)")};
|
|
605
605
|
}
|
|
606
|
-
`,$.noTextSelect];var mt=b(L());var
|
|
606
|
+
`,$.noTextSelect];var mt=b(L());var Ss=b(L());var vs=b(G()),se=b(oe()),Lr=b(L());var Ki=b(G()),nt=b(L()),tr={distance:nt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:nt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:nt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:nt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:nt.FtCssVariableFactory.external(nt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:nt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Zi=Ki.css`
|
|
607
607
|
.ft-tooltip--container {
|
|
608
608
|
display: block;
|
|
609
609
|
}
|
|
@@ -632,7 +632,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
632
632
|
position: relative;
|
|
633
633
|
word-break: break-word;
|
|
634
634
|
}
|
|
635
|
-
`;var qi=["top","right","bottom","left"],Zi=["start","end"],dn=qi.reduce((e,t)=>e.concat(t,t+"-"+Zi[0],t+"-"+Zi[1]),[]),Yi=Math.min,Xi=Math.max;var Wl={left:"right",right:"left",bottom:"top",top:"bottom"},Hl={start:"end",end:"start"};function un(e,t,o){return Xi(e,Yi(t,o))}function Jr(e,t){return typeof e=="function"?e(t):e}function rr(e){return e.split("-")[0]}function ht(e){return e.split("-")[1]}function pn(e){return e==="x"?"y":"x"}function fn(e){return e==="y"?"height":"width"}function eo(e){return["top","bottom"].includes(rr(e))?"y":"x"}function hn(e){return pn(eo(e))}function Qi(e,t,o){o===void 0&&(o=!1);let n=ht(e),a=hn(e),i=fn(a),c=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(c=ln(c)),[c,ln(c)]}function Ji(e){return e.replace(/start|end/g,t=>Hl[t])}function ln(e){return e.replace(/left|right|bottom|top/g,t=>Wl[t])}function zl(e){return{top:0,right:0,bottom:0,left:0,...e}}function es(e){return typeof e!="number"?zl(e):{top:e,right:e,bottom:e,left:e}}function Pt(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 ts(e,t,o){let{reference:n,floating:a}=e,i=eo(t),c=hn(t),d=fn(c),u=rr(t),p=i==="y",m=n.x+n.width/2-a.width/2,y=n.y+n.height/2-a.height/2,g=n[d]/2-a[d]/2,S;switch(u){case"top":S={x:m,y:n.y-a.height};break;case"bottom":S={x:m,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y};break;case"left":S={x:n.x-a.width,y};break;default:S={x:n.x,y:n.y}}switch(ht(t)){case"start":S[c]-=g*(o&&p?-1:1);break;case"end":S[c]+=g*(o&&p?-1:1);break}return S}var rs=async(e,t,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:c}=o,d=i.filter(Boolean),u=await(c.isRTL==null?void 0:c.isRTL(t)),p=await c.getElementRects({reference:e,floating:t,strategy:a}),{x:m,y}=ts(p,n,u),g=n,S={},v=0;for(let O=0;O<d.length;O++){let{name:T,fn:R}=d[O],{x:N,y:B,data:U,reset:W}=await R({x:m,y,initialPlacement:n,placement:g,strategy:a,middlewareData:S,rects:p,platform:c,elements:{reference:e,floating:t}});m=N??m,y=B??y,S={...S,[T]:{...S[T],...U}},W&&v<=50&&(v++,typeof W=="object"&&(W.placement&&(g=W.placement),W.rects&&(p=W.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:a}):W.rects),{x:m,y}=ts(p,g,u)),O=-1)}return{x:m,y,placement:g,strategy:a,middlewareData:S}};async function yn(e,t){var o;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:c,elements:d,strategy:u}=e,{boundary:p="clippingAncestors",rootBoundary:m="viewport",elementContext:y="floating",altBoundary:g=!1,padding:S=0}=Jr(t,e),v=es(S),T=d[g?y==="floating"?"reference":"floating":y],R=Pt(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(T)))==null||o?T:T.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(d.floating)),boundary:p,rootBoundary:m,strategy:u})),N=y==="floating"?{x:n,y:a,width:c.floating.width,height:c.floating.height}:c.reference,B=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.floating)),U=await(i.isElement==null?void 0:i.isElement(B))?await(i.getScale==null?void 0:i.getScale(B))||{x:1,y:1}:{x:1,y:1},W=Pt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:N,offsetParent:B,strategy:u}):N);return{top:(R.top-W.top+v.top)/U.y,bottom:(W.bottom-R.bottom+v.bottom)/U.y,left:(R.left-W.left+v.left)/U.x,right:(W.right-R.right+v.right)/U.x}}function Gl(e,t,o){return(e?[...o.filter(a=>ht(a)===e),...o.filter(a=>ht(a)!==e)]:o.filter(a=>rr(a)===a)).filter(a=>e?ht(a)===e||(t?Ji(a)!==a:!1):!0)}var mn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,a;let{rects:i,middlewareData:c,placement:d,platform:u,elements:p}=t,{crossAxis:m=!1,alignment:y,allowedPlacements:g=dn,autoAlignment:S=!0,...v}=Jr(e,t),O=y!==void 0||g===dn?Gl(y||null,S,g):g,T=await yn(t,v),R=((o=c.autoPlacement)==null?void 0:o.index)||0,N=O[R];if(N==null)return{};let B=Qi(N,i,await(u.isRTL==null?void 0:u.isRTL(p.floating)));if(d!==N)return{reset:{placement:O[0]}};let U=[T[rr(N)],T[B[0]],T[B[1]]],W=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:U}],Oe=O[R+1];if(Oe)return{data:{index:R+1,overflows:W},reset:{placement:Oe}};let Ze=W.map(pe=>{let h=ht(pe.placement);return[pe.placement,h&&m?pe.overflows.slice(0,2).reduce((x,_)=>x+_,0):pe.overflows[0],pe.overflows]}).sort((pe,h)=>pe[1]-h[1]),qe=((a=Ze.filter(pe=>pe[2].slice(0,ht(pe[0])?2:3).every(h=>h<=0))[0])==null?void 0:a[0])||Ze[0][0];return qe!==d?{data:{index:R+1,overflows:W},reset:{placement:qe}}:{}}}};var gn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:a}=t,{mainAxis:i=!0,crossAxis:c=!1,limiter:d={fn:T=>{let{x:R,y:N}=T;return{x:R,y:N}}},...u}=Jr(e,t),p={x:o,y:n},m=await yn(t,u),y=eo(rr(a)),g=pn(y),S=p[g],v=p[y];if(i){let T=g==="y"?"top":"left",R=g==="y"?"bottom":"right",N=S+m[T],B=S-m[R];S=un(N,S,B)}if(c){let T=y==="y"?"top":"left",R=y==="y"?"bottom":"right",N=v+m[T],B=v-m[R];v=un(N,v,B)}let O=d.fn({...t,[g]:S,[y]:v});return{...O,data:{x:O.x-o,y:O.y-n,enabled:{[g]:i,[y]:c}}}}}};var bn=Math.min,or=Math.max,Ar=Math.round;var at=e=>({x:e,y:e});function it(e){return ns(e)?(e.nodeName||"").toLowerCase():"#document"}function we(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function st(e){var t;return(t=(ns(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ns(e){return e instanceof Node||e instanceof we(e).Node}function Qe(e){return e instanceof Element||e instanceof we(e).Element}function He(e){return e instanceof HTMLElement||e instanceof we(e).HTMLElement}function os(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof we(e).ShadowRoot}function nr(e){let{overflow:t,overflowX:o,overflowY:n,display:a}=Te(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(a)}function as(e){return["table","td","th"].includes(it(e))}function ro(e){let t=oo(),o=Te(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 is(e){let t=_t(e);for(;He(t)&&!Rr(t);){if(ro(t))return t;t=_t(t)}return null}function oo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Rr(e){return["html","body","#document"].includes(it(e))}function Te(e){return we(e).getComputedStyle(e)}function Nr(e){return Qe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function _t(e){if(it(e)==="html")return e;let t=e.assignedSlot||e.parentNode||os(e)&&e.host||st(e);return os(t)?t.host:t}function ss(e){let t=_t(e);return Rr(t)?e.ownerDocument?e.ownerDocument.body:e.body:He(t)&&nr(t)?t:ss(t)}function to(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=ss(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),c=we(a);return i?t.concat(c,c.visualViewport||[],nr(a)?a:[],c.frameElement&&o?to(c.frameElement):[]):t.concat(a,to(a,[],o))}function ds(e){let t=Te(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=He(e),i=a?e.offsetWidth:o,c=a?e.offsetHeight:n,d=Ar(o)!==i||Ar(n)!==c;return d&&(o=i,n=c),{width:o,height:n,$:d}}function us(e){return Qe(e)?e:e.contextElement}function ar(e){let t=us(e);if(!He(t))return at(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:i}=ds(t),c=(i?Ar(o.width):o.width)/n,d=(i?Ar(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}var Kl=at(0);function ps(e){let t=we(e);return!oo()||!t.visualViewport?Kl:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Zl(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==we(e)?!1:t}function Tr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),i=us(e),c=at(1);t&&(n?Qe(n)&&(c=ar(n)):c=ar(e));let d=Zl(i,o,n)?ps(i):at(0),u=(a.left+d.x)/c.x,p=(a.top+d.y)/c.y,m=a.width/c.x,y=a.height/c.y;if(i){let g=we(i),S=n&&Qe(n)?we(n):n,v=g.frameElement;for(;v&&n&&S!==g;){let O=ar(v),T=v.getBoundingClientRect(),R=Te(v),N=T.left+(v.clientLeft+parseFloat(R.paddingLeft))*O.x,B=T.top+(v.clientTop+parseFloat(R.paddingTop))*O.y;u*=O.x,p*=O.y,m*=O.x,y*=O.y,u+=N,p+=B,v=we(v).frameElement}}return Pt({width:m,height:y,x:u,y:p})}function ql(e){let{rect:t,offsetParent:o,strategy:n}=e,a=He(o),i=st(o);if(o===i)return t;let c={scrollLeft:0,scrollTop:0},d=at(1),u=at(0);if((a||!a&&n!=="fixed")&&((it(o)!=="body"||nr(i))&&(c=Nr(o)),He(o))){let p=Tr(o);d=ar(o),u.x=p.x+o.clientLeft,u.y=p.y+o.clientTop}return{width:t.width*d.x,height:t.height*d.y,x:t.x*d.x-c.scrollLeft*d.x+u.x,y:t.y*d.y-c.scrollTop*d.y+u.y}}function Yl(e){return Array.from(e.getClientRects())}function fs(e){return Tr(st(e)).left+Nr(e).scrollLeft}function Xl(e){let t=st(e),o=Nr(e),n=e.ownerDocument.body,a=or(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=or(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+fs(e),d=-o.scrollTop;return Te(n).direction==="rtl"&&(c+=or(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:c,y:d}}function Ql(e,t){let o=we(e),n=st(e),a=o.visualViewport,i=n.clientWidth,c=n.clientHeight,d=0,u=0;if(a){i=a.width,c=a.height;let p=oo();(!p||p&&t==="fixed")&&(d=a.offsetLeft,u=a.offsetTop)}return{width:i,height:c,x:d,y:u}}function Jl(e,t){let o=Tr(e,!0,t==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,i=He(e)?ar(e):at(1),c=e.clientWidth*i.x,d=e.clientHeight*i.y,u=a*i.x,p=n*i.y;return{width:c,height:d,x:u,y:p}}function cs(e,t,o){let n;if(t==="viewport")n=Ql(e,o);else if(t==="document")n=Xl(st(e));else if(Qe(t))n=Jl(t,o);else{let a=ps(e);n={...t,x:t.x-a.x,y:t.y-a.y}}return Pt(n)}function hs(e,t){let o=_t(e);return o===t||!Qe(o)||Rr(o)?!1:Te(o).position==="fixed"||hs(o,t)}function ed(e,t){let o=t.get(e);if(o)return o;let n=to(e,[],!1).filter(d=>Qe(d)&&it(d)!=="body"),a=null,i=Te(e).position==="fixed",c=i?_t(e):e;for(;Qe(c)&&!Rr(c);){let d=Te(c),u=ro(c);!u&&d.position==="fixed"&&(a=null),(i?!u&&!a:!u&&d.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||nr(c)&&!u&&hs(e,c))?n=n.filter(m=>m!==c):a=d,c=_t(c)}return t.set(e,n),n}function td(e){let{element:t,boundary:o,rootBoundary:n,strategy:a}=e,c=[...o==="clippingAncestors"?ed(t,this._c):[].concat(o),n],d=c[0],u=c.reduce((p,m)=>{let y=cs(t,m,a);return p.top=or(y.top,p.top),p.right=bn(y.right,p.right),p.bottom=bn(y.bottom,p.bottom),p.left=or(y.left,p.left),p},cs(t,d,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function rd(e){return ds(e)}function od(e,t,o){let n=He(t),a=st(t),i=o==="fixed",c=Tr(e,!0,i,t),d={scrollLeft:0,scrollTop:0},u=at(0);if(n||!n&&!i)if((it(t)!=="body"||nr(a))&&(d=Nr(t)),n){let p=Tr(t,!0,i,t);u.x=p.x+t.clientLeft,u.y=p.y+t.clientTop}else a&&(u.x=fs(a));return{x:c.left+d.scrollLeft-u.x,y:c.top+d.scrollTop-u.y,width:c.width,height:c.height}}function ls(e,t){return!He(e)||Te(e).position==="fixed"?null:t?t(e):e.offsetParent}function ys(e,t){let o=we(e);if(!He(e))return o;let n=ls(e,t);for(;n&&as(n)&&Te(n).position==="static";)n=ls(n,t);return n&&(it(n)==="html"||it(n)==="body"&&Te(n).position==="static"&&!ro(n))?o:n||is(e)||o}var nd=async function(e){let{reference:t,floating:o,strategy:n}=e,a=this.getOffsetParent||ys,i=this.getDimensions;return{reference:od(t,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function ad(e){return Te(e).direction==="rtl"}var no={convertOffsetParentRelativeRectToViewportRelativeRect:ql,getDocumentElement:st,getClippingRect:td,getOffsetParent:ys,getElementRects:nd,getClientRects:Yl,getDimensions:rd,getScale:ar,isElement:Qe,isRTL:ad};var ms=(e,t,o)=>{let n=new Map,a={platform:no,...o},i={...a.platform,_c:n};return rs(e,t,{...a,platform:i})};function gs(e){return id(e)}function xn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function id(e){for(let t=e;t;t=xn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=xn(e);t;t=xn(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 bs(e,t,o){return ms(e,t,{platform:{...no,getOffsetParent:n=>no.getOffsetParent(n,gs)},middleware:[gn({crossAxis:!0}),mn({allowedPlacements:[o]})]})}var Ae=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Q=class extends Lr.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Lr.Debouncer,this.revealDebouncer=new Lr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return xs.html`
|
|
635
|
+
`;var Yi=["top","right","bottom","left"],qi=["start","end"],dn=Yi.reduce((e,t)=>e.concat(t,t+"-"+qi[0],t+"-"+qi[1]),[]),Xi=Math.min,Qi=Math.max;var Hl={left:"right",right:"left",bottom:"top",top:"bottom"},zl={start:"end",end:"start"};function un(e,t,o){return Qi(e,Xi(t,o))}function Jr(e,t){return typeof e=="function"?e(t):e}function rr(e){return e.split("-")[0]}function ht(e){return e.split("-")[1]}function pn(e){return e==="x"?"y":"x"}function fn(e){return e==="y"?"height":"width"}function eo(e){return["top","bottom"].includes(rr(e))?"y":"x"}function hn(e){return pn(eo(e))}function Ji(e,t,o){o===void 0&&(o=!1);let n=ht(e),a=hn(e),i=fn(a),c=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(c=ln(c)),[c,ln(c)]}function es(e){return e.replace(/start|end/g,t=>zl[t])}function ln(e){return e.replace(/left|right|bottom|top/g,t=>Hl[t])}function Gl(e){return{top:0,right:0,bottom:0,left:0,...e}}function ts(e){return typeof e!="number"?Gl(e):{top:e,right:e,bottom:e,left:e}}function Pt(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 rs(e,t,o){let{reference:n,floating:a}=e,i=eo(t),c=hn(t),d=fn(c),u=rr(t),p=i==="y",m=n.x+n.width/2-a.width/2,y=n.y+n.height/2-a.height/2,g=n[d]/2-a[d]/2,S;switch(u){case"top":S={x:m,y:n.y-a.height};break;case"bottom":S={x:m,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y};break;case"left":S={x:n.x-a.width,y};break;default:S={x:n.x,y:n.y}}switch(ht(t)){case"start":S[c]-=g*(o&&p?-1:1);break;case"end":S[c]+=g*(o&&p?-1:1);break}return S}var os=async(e,t,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:c}=o,d=i.filter(Boolean),u=await(c.isRTL==null?void 0:c.isRTL(t)),p=await c.getElementRects({reference:e,floating:t,strategy:a}),{x:m,y}=rs(p,n,u),g=n,S={},v=0;for(let C=0;C<d.length;C++){let{name:T,fn:R}=d[C],{x:N,y:B,data:U,reset:W}=await R({x:m,y,initialPlacement:n,placement:g,strategy:a,middlewareData:S,rects:p,platform:c,elements:{reference:e,floating:t}});m=N??m,y=B??y,S={...S,[T]:{...S[T],...U}},W&&v<=50&&(v++,typeof W=="object"&&(W.placement&&(g=W.placement),W.rects&&(p=W.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:a}):W.rects),{x:m,y}=rs(p,g,u)),C=-1)}return{x:m,y,placement:g,strategy:a,middlewareData:S}};async function yn(e,t){var o;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:c,elements:d,strategy:u}=e,{boundary:p="clippingAncestors",rootBoundary:m="viewport",elementContext:y="floating",altBoundary:g=!1,padding:S=0}=Jr(t,e),v=ts(S),T=d[g?y==="floating"?"reference":"floating":y],R=Pt(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(T)))==null||o?T:T.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(d.floating)),boundary:p,rootBoundary:m,strategy:u})),N=y==="floating"?{x:n,y:a,width:c.floating.width,height:c.floating.height}:c.reference,B=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.floating)),U=await(i.isElement==null?void 0:i.isElement(B))?await(i.getScale==null?void 0:i.getScale(B))||{x:1,y:1}:{x:1,y:1},W=Pt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:N,offsetParent:B,strategy:u}):N);return{top:(R.top-W.top+v.top)/U.y,bottom:(W.bottom-R.bottom+v.bottom)/U.y,left:(R.left-W.left+v.left)/U.x,right:(W.right-R.right+v.right)/U.x}}function jl(e,t,o){return(e?[...o.filter(a=>ht(a)===e),...o.filter(a=>ht(a)!==e)]:o.filter(a=>rr(a)===a)).filter(a=>e?ht(a)===e||(t?es(a)!==a:!1):!0)}var mn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,a;let{rects:i,middlewareData:c,placement:d,platform:u,elements:p}=t,{crossAxis:m=!1,alignment:y,allowedPlacements:g=dn,autoAlignment:S=!0,...v}=Jr(e,t),C=y!==void 0||g===dn?jl(y||null,S,g):g,T=await yn(t,v),R=((o=c.autoPlacement)==null?void 0:o.index)||0,N=C[R];if(N==null)return{};let B=Ji(N,i,await(u.isRTL==null?void 0:u.isRTL(p.floating)));if(d!==N)return{reset:{placement:C[0]}};let U=[T[rr(N)],T[B[0]],T[B[1]]],W=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:U}],Oe=C[R+1];if(Oe)return{data:{index:R+1,overflows:W},reset:{placement:Oe}};let Ze=W.map(pe=>{let h=ht(pe.placement);return[pe.placement,h&&m?pe.overflows.slice(0,2).reduce((x,_)=>x+_,0):pe.overflows[0],pe.overflows]}).sort((pe,h)=>pe[1]-h[1]),qe=((a=Ze.filter(pe=>pe[2].slice(0,ht(pe[0])?2:3).every(h=>h<=0))[0])==null?void 0:a[0])||Ze[0][0];return qe!==d?{data:{index:R+1,overflows:W},reset:{placement:qe}}:{}}}};var gn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:a}=t,{mainAxis:i=!0,crossAxis:c=!1,limiter:d={fn:T=>{let{x:R,y:N}=T;return{x:R,y:N}}},...u}=Jr(e,t),p={x:o,y:n},m=await yn(t,u),y=eo(rr(a)),g=pn(y),S=p[g],v=p[y];if(i){let T=g==="y"?"top":"left",R=g==="y"?"bottom":"right",N=S+m[T],B=S-m[R];S=un(N,S,B)}if(c){let T=y==="y"?"top":"left",R=y==="y"?"bottom":"right",N=v+m[T],B=v-m[R];v=un(N,v,B)}let C=d.fn({...t,[g]:S,[y]:v});return{...C,data:{x:C.x-o,y:C.y-n,enabled:{[g]:i,[y]:c}}}}}};var bn=Math.min,or=Math.max,Ar=Math.round;var at=e=>({x:e,y:e});function it(e){return as(e)?(e.nodeName||"").toLowerCase():"#document"}function we(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function st(e){var t;return(t=(as(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function as(e){return e instanceof Node||e instanceof we(e).Node}function Qe(e){return e instanceof Element||e instanceof we(e).Element}function He(e){return e instanceof HTMLElement||e instanceof we(e).HTMLElement}function ns(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof we(e).ShadowRoot}function nr(e){let{overflow:t,overflowX:o,overflowY:n,display:a}=Te(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(a)}function is(e){return["table","td","th"].includes(it(e))}function ro(e){let t=oo(),o=Te(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 ss(e){let t=_t(e);for(;He(t)&&!Rr(t);){if(ro(t))return t;t=_t(t)}return null}function oo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Rr(e){return["html","body","#document"].includes(it(e))}function Te(e){return we(e).getComputedStyle(e)}function Nr(e){return Qe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function _t(e){if(it(e)==="html")return e;let t=e.assignedSlot||e.parentNode||ns(e)&&e.host||st(e);return ns(t)?t.host:t}function cs(e){let t=_t(e);return Rr(t)?e.ownerDocument?e.ownerDocument.body:e.body:He(t)&&nr(t)?t:cs(t)}function to(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=cs(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),c=we(a);return i?t.concat(c,c.visualViewport||[],nr(a)?a:[],c.frameElement&&o?to(c.frameElement):[]):t.concat(a,to(a,[],o))}function us(e){let t=Te(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=He(e),i=a?e.offsetWidth:o,c=a?e.offsetHeight:n,d=Ar(o)!==i||Ar(n)!==c;return d&&(o=i,n=c),{width:o,height:n,$:d}}function ps(e){return Qe(e)?e:e.contextElement}function ar(e){let t=ps(e);if(!He(t))return at(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:i}=us(t),c=(i?Ar(o.width):o.width)/n,d=(i?Ar(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}var Zl=at(0);function fs(e){let t=we(e);return!oo()||!t.visualViewport?Zl:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ql(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==we(e)?!1:t}function Tr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),i=ps(e),c=at(1);t&&(n?Qe(n)&&(c=ar(n)):c=ar(e));let d=ql(i,o,n)?fs(i):at(0),u=(a.left+d.x)/c.x,p=(a.top+d.y)/c.y,m=a.width/c.x,y=a.height/c.y;if(i){let g=we(i),S=n&&Qe(n)?we(n):n,v=g.frameElement;for(;v&&n&&S!==g;){let C=ar(v),T=v.getBoundingClientRect(),R=Te(v),N=T.left+(v.clientLeft+parseFloat(R.paddingLeft))*C.x,B=T.top+(v.clientTop+parseFloat(R.paddingTop))*C.y;u*=C.x,p*=C.y,m*=C.x,y*=C.y,u+=N,p+=B,v=we(v).frameElement}}return Pt({width:m,height:y,x:u,y:p})}function Yl(e){let{rect:t,offsetParent:o,strategy:n}=e,a=He(o),i=st(o);if(o===i)return t;let c={scrollLeft:0,scrollTop:0},d=at(1),u=at(0);if((a||!a&&n!=="fixed")&&((it(o)!=="body"||nr(i))&&(c=Nr(o)),He(o))){let p=Tr(o);d=ar(o),u.x=p.x+o.clientLeft,u.y=p.y+o.clientTop}return{width:t.width*d.x,height:t.height*d.y,x:t.x*d.x-c.scrollLeft*d.x+u.x,y:t.y*d.y-c.scrollTop*d.y+u.y}}function Xl(e){return Array.from(e.getClientRects())}function hs(e){return Tr(st(e)).left+Nr(e).scrollLeft}function Ql(e){let t=st(e),o=Nr(e),n=e.ownerDocument.body,a=or(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=or(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+hs(e),d=-o.scrollTop;return Te(n).direction==="rtl"&&(c+=or(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:c,y:d}}function Jl(e,t){let o=we(e),n=st(e),a=o.visualViewport,i=n.clientWidth,c=n.clientHeight,d=0,u=0;if(a){i=a.width,c=a.height;let p=oo();(!p||p&&t==="fixed")&&(d=a.offsetLeft,u=a.offsetTop)}return{width:i,height:c,x:d,y:u}}function ed(e,t){let o=Tr(e,!0,t==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,i=He(e)?ar(e):at(1),c=e.clientWidth*i.x,d=e.clientHeight*i.y,u=a*i.x,p=n*i.y;return{width:c,height:d,x:u,y:p}}function ls(e,t,o){let n;if(t==="viewport")n=Jl(e,o);else if(t==="document")n=Ql(st(e));else if(Qe(t))n=ed(t,o);else{let a=fs(e);n={...t,x:t.x-a.x,y:t.y-a.y}}return Pt(n)}function ys(e,t){let o=_t(e);return o===t||!Qe(o)||Rr(o)?!1:Te(o).position==="fixed"||ys(o,t)}function td(e,t){let o=t.get(e);if(o)return o;let n=to(e,[],!1).filter(d=>Qe(d)&&it(d)!=="body"),a=null,i=Te(e).position==="fixed",c=i?_t(e):e;for(;Qe(c)&&!Rr(c);){let d=Te(c),u=ro(c);!u&&d.position==="fixed"&&(a=null),(i?!u&&!a:!u&&d.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||nr(c)&&!u&&ys(e,c))?n=n.filter(m=>m!==c):a=d,c=_t(c)}return t.set(e,n),n}function rd(e){let{element:t,boundary:o,rootBoundary:n,strategy:a}=e,c=[...o==="clippingAncestors"?td(t,this._c):[].concat(o),n],d=c[0],u=c.reduce((p,m)=>{let y=ls(t,m,a);return p.top=or(y.top,p.top),p.right=bn(y.right,p.right),p.bottom=bn(y.bottom,p.bottom),p.left=or(y.left,p.left),p},ls(t,d,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function od(e){return us(e)}function nd(e,t,o){let n=He(t),a=st(t),i=o==="fixed",c=Tr(e,!0,i,t),d={scrollLeft:0,scrollTop:0},u=at(0);if(n||!n&&!i)if((it(t)!=="body"||nr(a))&&(d=Nr(t)),n){let p=Tr(t,!0,i,t);u.x=p.x+t.clientLeft,u.y=p.y+t.clientTop}else a&&(u.x=hs(a));return{x:c.left+d.scrollLeft-u.x,y:c.top+d.scrollTop-u.y,width:c.width,height:c.height}}function ds(e,t){return!He(e)||Te(e).position==="fixed"?null:t?t(e):e.offsetParent}function ms(e,t){let o=we(e);if(!He(e))return o;let n=ds(e,t);for(;n&&is(n)&&Te(n).position==="static";)n=ds(n,t);return n&&(it(n)==="html"||it(n)==="body"&&Te(n).position==="static"&&!ro(n))?o:n||ss(e)||o}var ad=async function(e){let{reference:t,floating:o,strategy:n}=e,a=this.getOffsetParent||ms,i=this.getDimensions;return{reference:nd(t,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function id(e){return Te(e).direction==="rtl"}var no={convertOffsetParentRelativeRectToViewportRelativeRect:Yl,getDocumentElement:st,getClippingRect:rd,getOffsetParent:ms,getElementRects:ad,getClientRects:Xl,getDimensions:od,getScale:ar,isElement:Qe,isRTL:id};var gs=(e,t,o)=>{let n=new Map,a={platform:no,...o},i={...a.platform,_c:n};return os(e,t,{...a,platform:i})};function bs(e){return sd(e)}function xn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function sd(e){for(let t=e;t;t=xn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=xn(e);t;t=xn(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 xs(e,t,o){return gs(e,t,{platform:{...no,getOffsetParent:n=>no.getOffsetParent(n,bs)},middleware:[gn({crossAxis:!0}),mn({allowedPlacements:[o]})]})}var Ae=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Q=class extends Lr.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Lr.Debouncer,this.revealDebouncer=new Lr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return vs.html`
|
|
636
636
|
<div part="container"
|
|
637
637
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
638
638
|
@mouseenter=${this.onHover}
|
|
@@ -650,14 +650,14 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
650
650
|
</div>
|
|
651
651
|
</div>
|
|
652
652
|
</div>
|
|
653
|
-
`}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()}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=t,await this.show(o),this.text=a,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!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="",
|
|
653
|
+
`}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()}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=t,await this.show(o),this.text=a,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!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="",xs(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 var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}};Q.elementDefinitions={"ft-typography":ae};Q.styles=Zi;Ae([(0,se.property)()],Q.prototype,"text",void 0);Ae([(0,se.property)({type:Boolean})],Q.prototype,"manual",void 0);Ae([(0,se.property)({type:Boolean})],Q.prototype,"inline",void 0);Ae([(0,se.property)({type:Number})],Q.prototype,"delay",void 0);Ae([(0,se.property)()],Q.prototype,"position",void 0);Ae([(0,se.queryAssignedNodes)()],Q.prototype,"slotNodes",void 0);Ae([(0,se.query)(".ft-tooltip--container")],Q.prototype,"container",void 0);Ae([(0,se.query)(".ft-tooltip")],Q.prototype,"tooltip",void 0);Ae([(0,se.query)(".ft-tooltip--content")],Q.prototype,"tooltipContent",void 0);Ae([(0,se.state)()],Q.prototype,"visible",void 0);Ae([(0,se.eventOptions)({passive:!0})],Q.prototype,"onTouch",null);Ae([(0,se.eventOptions)({passive:!0})],Q.prototype,"onHover",null);Ae([(0,se.eventOptions)({passive:!0})],Q.prototype,"onOut",null);Ae([(0,se.eventOptions)({passive:!0})],Q.prototype,"onClick",null);(0,Ss.customElement)("ft-tooltip")(Q);var Es=b(L());var Os=b(G()),Cs=b(L());var kt=class extends Cs.FtLitElement{render(){return Os.html`
|
|
654
654
|
<div class="ft-loader">
|
|
655
655
|
<div></div>
|
|
656
656
|
<div></div>
|
|
657
657
|
<div></div>
|
|
658
658
|
<div></div>
|
|
659
659
|
</div>
|
|
660
|
-
`}};kt.styles=
|
|
660
|
+
`}};kt.styles=Hi;(0,Es.customElement)("ft-loader")(kt);var yt=b(G()),vn=b(zt()),ce=b(oe()),ye=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},q=class extends(0,mt.toFtFormComponent)(mt.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var t,o,n;let a=yt.html`
|
|
661
661
|
<ft-ripple part="ripple"
|
|
662
662
|
?disabled=${this.isDisabled()}
|
|
663
663
|
?activated=${this.activated}
|
|
@@ -697,7 +697,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
697
697
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
698
698
|
`:yt.html`
|
|
699
699
|
<slot part="icon" name="icon"></slot>
|
|
700
|
-
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}focusWithoutTooltip(){var t;this.setTooltipManual(!0),(t=this.button)===null||t===void 0||t.focus(),this.setTooltipManual(!1)}showTemporaryTooltip(t,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(t,o)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,mt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};q.elementDefinitions={"ft-ripple":V,"ft-tooltip":Q,"ft-typography":ae,"ft-icon":ie,"ft-loader":kt};ye([(0,ce.property)()],q.prototype,"href",void 0);ye([(0,ce.property)()],q.prototype,"target",void 0);ye([(0,ce.property)()],q.prototype,"type",void 0);ye([(0,ce.property)({type:Boolean})],q.prototype,"disabled",void 0);ye([(0,ce.property)()],q.prototype,"label",void 0);ye([(0,ce.property)()],q.prototype,"icon",void 0);ye([(0,ce.property)()],q.prototype,"iconVariant",void 0);ye([(0,ce.property)({type:Boolean})],q.prototype,"trailingIcon",void 0);ye([(0,ce.property)({type:Boolean})],q.prototype,"loading",void 0);ye([(0,ce.property)({attribute:"aria-label"})],q.prototype,"ariaLabel",void 0);ye([(0,ce.property)()],q.prototype,"tooltipPosition",void 0);ye([(0,ce.property)({type:Boolean})],q.prototype,"hideTooltip",void 0);ye([(0,ce.property)({type:Boolean})],q.prototype,"forceTooltip",void 0);ye([(0,ce.property)({type:Boolean})],q.prototype,"activated",void 0);ye([(0,ce.query)(".ft-button")],q.prototype,"button",void 0);ye([(0,ce.query)(".ft-button--label slot")],q.prototype,"slottedContent",void 0);ye([(0,ce.query)("[part=tooltip]")],q.prototype,"tooltip",void 0);var ao=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Le=class extends q{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};Le.styles=[
|
|
700
|
+
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}focusWithoutTooltip(){var t;this.setTooltipManual(!0),(t=this.button)===null||t===void 0||t.focus(),this.setTooltipManual(!1)}showTemporaryTooltip(t,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(t,o)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,mt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};q.elementDefinitions={"ft-ripple":V,"ft-tooltip":Q,"ft-typography":ae,"ft-icon":ie,"ft-loader":kt};ye([(0,ce.property)()],q.prototype,"href",void 0);ye([(0,ce.property)()],q.prototype,"target",void 0);ye([(0,ce.property)()],q.prototype,"type",void 0);ye([(0,ce.property)({type:Boolean})],q.prototype,"disabled",void 0);ye([(0,ce.property)()],q.prototype,"label",void 0);ye([(0,ce.property)()],q.prototype,"icon",void 0);ye([(0,ce.property)()],q.prototype,"iconVariant",void 0);ye([(0,ce.property)({type:Boolean})],q.prototype,"trailingIcon",void 0);ye([(0,ce.property)({type:Boolean})],q.prototype,"loading",void 0);ye([(0,ce.property)({attribute:"aria-label"})],q.prototype,"ariaLabel",void 0);ye([(0,ce.property)()],q.prototype,"tooltipPosition",void 0);ye([(0,ce.property)({type:Boolean})],q.prototype,"hideTooltip",void 0);ye([(0,ce.property)({type:Boolean})],q.prototype,"forceTooltip",void 0);ye([(0,ce.property)({type:Boolean})],q.prototype,"activated",void 0);ye([(0,ce.query)(".ft-button")],q.prototype,"button",void 0);ye([(0,ce.query)(".ft-button--label slot")],q.prototype,"slottedContent",void 0);ye([(0,ce.query)("[part=tooltip]")],q.prototype,"tooltip",void 0);var ao=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Le=class extends q{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};Le.styles=[ws.safariEllipsisFix,Vi];ao([(0,Ir.property)({type:Boolean})],Le.prototype,"primary",void 0);ao([(0,Ir.property)({type:Boolean})],Le.prototype,"outlined",void 0);ao([(0,Ir.property)({type:Boolean})],Le.prototype,"dense",void 0);ao([(0,Ir.property)({type:Boolean})],Le.prototype,"round",void 0);var Pr=b(oe());var so=b(L());var As=b(G()),O=b(L());var cd={...f,iconOnlyScale:O.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},Rs=[As.css`
|
|
701
701
|
:host {
|
|
702
702
|
display: inline-block;
|
|
703
703
|
max-width: 100%;
|
|
@@ -779,16 +779,20 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
779
779
|
border-radius: 50%;
|
|
780
780
|
}
|
|
781
781
|
|
|
782
|
+
.ft-button.ft-button--icon-only ft-icon {
|
|
783
|
+
transform: scale(${cd.iconOnlyScale});
|
|
784
|
+
}
|
|
785
|
+
|
|
782
786
|
/** Brand Primary styles **/
|
|
783
787
|
|
|
784
788
|
.ftds--family-brand.ft-button--primary {
|
|
785
|
-
${(0,
|
|
789
|
+
${(0,O.setVariable)(Z.color,f.primaryBrandIconColor)};
|
|
786
790
|
|
|
787
|
-
${(0,
|
|
788
|
-
${(0,
|
|
789
|
-
${(0,
|
|
790
|
-
${(0,
|
|
791
|
-
${(0,
|
|
791
|
+
${(0,O.setVariable)(E.color,f.primaryBrandStateLayerColor)};
|
|
792
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.primaryBrandHoverStateLayerOpacity)};
|
|
793
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.primaryBrandFocusStateLayerOpacity)};
|
|
794
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.primaryBrandActiveStateLayerOpacity)};
|
|
795
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.primaryBrandActiveStateLayerOpacity)};
|
|
792
796
|
|
|
793
797
|
background-color: ${f.primaryBrandBackgroundColor};
|
|
794
798
|
color: ${f.primaryBrandColor};
|
|
@@ -806,13 +810,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
806
810
|
/** Brand Secondary styles **/
|
|
807
811
|
|
|
808
812
|
.ftds--family-brand.ft-button--secondary {
|
|
809
|
-
${(0,
|
|
813
|
+
${(0,O.setVariable)(Z.color,f.secondaryBrandIconColor)};
|
|
810
814
|
|
|
811
|
-
${(0,
|
|
812
|
-
${(0,
|
|
813
|
-
${(0,
|
|
814
|
-
${(0,
|
|
815
|
-
${(0,
|
|
815
|
+
${(0,O.setVariable)(E.color,f.secondaryBrandStateLayerColor)};
|
|
816
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryBrandHoverStateLayerOpacity)};
|
|
817
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryBrandFocusStateLayerOpacity)};
|
|
818
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryBrandActiveStateLayerOpacity)};
|
|
819
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryBrandActiveStateLayerOpacity)};
|
|
816
820
|
|
|
817
821
|
background-color: ${f.secondaryBrandBackgroundColor};
|
|
818
822
|
color: ${f.secondaryBrandColor};
|
|
@@ -831,13 +835,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
831
835
|
/** Brand Tertiary styles **/
|
|
832
836
|
|
|
833
837
|
.ftds--family-brand.ft-button--tertiary {
|
|
834
|
-
${(0,
|
|
838
|
+
${(0,O.setVariable)(Z.color,f.tertiaryBrandIconColor)};
|
|
835
839
|
|
|
836
|
-
${(0,
|
|
837
|
-
${(0,
|
|
838
|
-
${(0,
|
|
839
|
-
${(0,
|
|
840
|
-
${(0,
|
|
840
|
+
${(0,O.setVariable)(E.color,f.tertiaryBrandStateLayerColor)};
|
|
841
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryBrandHoverStateLayerOpacity)};
|
|
842
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryBrandFocusStateLayerOpacity)};
|
|
843
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryBrandActiveStateLayerOpacity)};
|
|
844
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryBrandActiveStateLayerOpacity)};
|
|
841
845
|
|
|
842
846
|
background-color: ${f.tertiaryBrandBackgroundColor};
|
|
843
847
|
color: ${f.tertiaryBrandColor};
|
|
@@ -855,13 +859,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
855
859
|
/** Neutral Secondary styles **/
|
|
856
860
|
|
|
857
861
|
.ftds--family-neutral.ft-button--secondary {
|
|
858
|
-
${(0,
|
|
862
|
+
${(0,O.setVariable)(Z.color,f.secondaryNeutralIconColor)};
|
|
859
863
|
|
|
860
|
-
${(0,
|
|
861
|
-
${(0,
|
|
862
|
-
${(0,
|
|
863
|
-
${(0,
|
|
864
|
-
${(0,
|
|
864
|
+
${(0,O.setVariable)(E.backgroundColor,f.secondaryNeutralStateLayerColor)};
|
|
865
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryNeutralHoverStateLayerOpacity)};
|
|
866
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryNeutralFocusStateLayerOpacity)};
|
|
867
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryNeutralActiveStateLayerOpacity)};
|
|
868
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryNeutralActiveStateLayerOpacity)};
|
|
865
869
|
|
|
866
870
|
background-color: ${f.secondaryNeutralBackgroundColor};
|
|
867
871
|
color: ${f.secondaryNeutralColor};
|
|
@@ -880,13 +884,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
880
884
|
/** Neutral Tertiary styles **/
|
|
881
885
|
|
|
882
886
|
.ftds--family-neutral.ft-button--tertiary {
|
|
883
|
-
${(0,
|
|
887
|
+
${(0,O.setVariable)(Z.color,f.tertiaryNeutralIconColor)};
|
|
884
888
|
|
|
885
|
-
${(0,
|
|
886
|
-
${(0,
|
|
887
|
-
${(0,
|
|
888
|
-
${(0,
|
|
889
|
-
${(0,
|
|
889
|
+
${(0,O.setVariable)(E.backgroundColor,f.tertiaryNeutralStateLayerColor)};
|
|
890
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryNeutralHoverStateLayerOpacity)};
|
|
891
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryNeutralFocusStateLayerOpacity)};
|
|
892
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryNeutralActiveStateLayerOpacity)};
|
|
893
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryNeutralActiveStateLayerOpacity)};
|
|
890
894
|
|
|
891
895
|
background-color: ${f.tertiaryNeutralBackgroundColor};
|
|
892
896
|
color: ${f.tertiaryNeutralColor};
|
|
@@ -904,13 +908,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
904
908
|
/** Info Secondary styles **/
|
|
905
909
|
|
|
906
910
|
.ftds--family-info.ft-button--secondary {
|
|
907
|
-
${(0,
|
|
911
|
+
${(0,O.setVariable)(Z.color,f.secondaryInfoIconColor)};
|
|
908
912
|
|
|
909
|
-
${(0,
|
|
910
|
-
${(0,
|
|
911
|
-
${(0,
|
|
912
|
-
${(0,
|
|
913
|
-
${(0,
|
|
913
|
+
${(0,O.setVariable)(E.backgroundColor,f.secondaryInfoStateLayerColor)};
|
|
914
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryInfoHoverStateLayerOpacity)};
|
|
915
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryInfoFocusStateLayerOpacity)};
|
|
916
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryInfoActiveStateLayerOpacity)};
|
|
917
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryInfoActiveStateLayerOpacity)};
|
|
914
918
|
|
|
915
919
|
background-color: ${f.secondaryInfoBackgroundColor};
|
|
916
920
|
color: ${f.secondaryInfoColor};
|
|
@@ -929,13 +933,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
929
933
|
/** Info Tertiary styles **/
|
|
930
934
|
|
|
931
935
|
.ftds--family-info.ft-button--tertiary {
|
|
932
|
-
${(0,
|
|
936
|
+
${(0,O.setVariable)(Z.color,f.tertiaryInfoIconColor)};
|
|
933
937
|
|
|
934
|
-
${(0,
|
|
935
|
-
${(0,
|
|
936
|
-
${(0,
|
|
937
|
-
${(0,
|
|
938
|
-
${(0,
|
|
938
|
+
${(0,O.setVariable)(E.backgroundColor,f.tertiaryInfoStateLayerColor)};
|
|
939
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryInfoHoverStateLayerOpacity)};
|
|
940
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryInfoFocusStateLayerOpacity)};
|
|
941
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryInfoActiveStateLayerOpacity)};
|
|
942
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryInfoActiveStateLayerOpacity)};
|
|
939
943
|
|
|
940
944
|
background-color: ${f.tertiaryInfoBackgroundColor};
|
|
941
945
|
color: ${f.tertiaryInfoColor};
|
|
@@ -953,13 +957,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
953
957
|
/** Success Secondary styles **/
|
|
954
958
|
|
|
955
959
|
.ftds--family-success.ft-button--secondary {
|
|
956
|
-
${(0,
|
|
960
|
+
${(0,O.setVariable)(Z.color,f.secondarySuccessIconColor)};
|
|
957
961
|
|
|
958
|
-
${(0,
|
|
959
|
-
${(0,
|
|
960
|
-
${(0,
|
|
961
|
-
${(0,
|
|
962
|
-
${(0,
|
|
962
|
+
${(0,O.setVariable)(E.backgroundColor,f.secondarySuccessStateLayerColor)};
|
|
963
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.secondarySuccessHoverStateLayerOpacity)};
|
|
964
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.secondarySuccessFocusStateLayerOpacity)};
|
|
965
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.secondarySuccessActiveStateLayerOpacity)};
|
|
966
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.secondarySuccessActiveStateLayerOpacity)};
|
|
963
967
|
|
|
964
968
|
background-color: ${f.secondarySuccessBackgroundColor};
|
|
965
969
|
color: ${f.secondarySuccessColor};
|
|
@@ -978,13 +982,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
978
982
|
/** Success Tertiary styles **/
|
|
979
983
|
|
|
980
984
|
.ftds--family-success.ft-button--tertiary {
|
|
981
|
-
${(0,
|
|
985
|
+
${(0,O.setVariable)(Z.color,f.tertiarySuccessIconColor)};
|
|
982
986
|
|
|
983
|
-
${(0,
|
|
984
|
-
${(0,
|
|
985
|
-
${(0,
|
|
986
|
-
${(0,
|
|
987
|
-
${(0,
|
|
987
|
+
${(0,O.setVariable)(E.backgroundColor,f.tertiarySuccessStateLayerColor)};
|
|
988
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.tertiarySuccessHoverStateLayerOpacity)};
|
|
989
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiarySuccessFocusStateLayerOpacity)};
|
|
990
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiarySuccessActiveStateLayerOpacity)};
|
|
991
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.tertiarySuccessActiveStateLayerOpacity)};
|
|
988
992
|
|
|
989
993
|
background-color: ${f.tertiarySuccessBackgroundColor};
|
|
990
994
|
color: ${f.tertiarySuccessColor};
|
|
@@ -1002,13 +1006,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1002
1006
|
/** Warning Secondary styles **/
|
|
1003
1007
|
|
|
1004
1008
|
.ftds--family-warning.ft-button--secondary {
|
|
1005
|
-
${(0,
|
|
1009
|
+
${(0,O.setVariable)(Z.color,f.secondaryWarningIconColor)};
|
|
1006
1010
|
|
|
1007
|
-
${(0,
|
|
1008
|
-
${(0,
|
|
1009
|
-
${(0,
|
|
1010
|
-
${(0,
|
|
1011
|
-
${(0,
|
|
1011
|
+
${(0,O.setVariable)(E.backgroundColor,f.secondaryWarningStateLayerColor)};
|
|
1012
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryWarningHoverStateLayerOpacity)};
|
|
1013
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryWarningFocusStateLayerOpacity)};
|
|
1014
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryWarningActiveStateLayerOpacity)};
|
|
1015
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryWarningActiveStateLayerOpacity)};
|
|
1012
1016
|
|
|
1013
1017
|
background-color: ${f.secondaryWarningBackgroundColor};
|
|
1014
1018
|
color: ${f.secondaryWarningColor};
|
|
@@ -1027,13 +1031,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1027
1031
|
/** Warning Tertiary styles **/
|
|
1028
1032
|
|
|
1029
1033
|
.ftds--family-warning.ft-button--tertiary {
|
|
1030
|
-
${(0,
|
|
1034
|
+
${(0,O.setVariable)(Z.color,f.tertiaryWarningIconColor)};
|
|
1031
1035
|
|
|
1032
|
-
${(0,
|
|
1033
|
-
${(0,
|
|
1034
|
-
${(0,
|
|
1035
|
-
${(0,
|
|
1036
|
-
${(0,
|
|
1036
|
+
${(0,O.setVariable)(E.backgroundColor,f.tertiaryWarningStateLayerColor)};
|
|
1037
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryWarningHoverStateLayerOpacity)};
|
|
1038
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryWarningFocusStateLayerOpacity)};
|
|
1039
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryWarningActiveStateLayerOpacity)};
|
|
1040
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryWarningActiveStateLayerOpacity)};
|
|
1037
1041
|
|
|
1038
1042
|
background-color: ${f.tertiaryWarningBackgroundColor};
|
|
1039
1043
|
color: ${f.tertiaryWarningColor};
|
|
@@ -1051,13 +1055,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1051
1055
|
/** Error Secondary styles **/
|
|
1052
1056
|
|
|
1053
1057
|
.ftds--family-error.ft-button--secondary {
|
|
1054
|
-
${(0,
|
|
1058
|
+
${(0,O.setVariable)(Z.color,f.secondaryErrorIconColor)};
|
|
1055
1059
|
|
|
1056
|
-
${(0,
|
|
1057
|
-
${(0,
|
|
1058
|
-
${(0,
|
|
1059
|
-
${(0,
|
|
1060
|
-
${(0,
|
|
1060
|
+
${(0,O.setVariable)(E.backgroundColor,f.secondaryErrorStateLayerColor)};
|
|
1061
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryErrorHoverStateLayerOpacity)};
|
|
1062
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryErrorFocusStateLayerOpacity)};
|
|
1063
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryErrorActiveStateLayerOpacity)};
|
|
1064
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryErrorActiveStateLayerOpacity)};
|
|
1061
1065
|
|
|
1062
1066
|
background-color: ${f.secondaryErrorBackgroundColor};
|
|
1063
1067
|
color: ${f.secondaryErrorColor};
|
|
@@ -1076,13 +1080,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1076
1080
|
/** Error Tertiary styles **/
|
|
1077
1081
|
|
|
1078
1082
|
.ftds--family-error.ft-button--tertiary {
|
|
1079
|
-
${(0,
|
|
1083
|
+
${(0,O.setVariable)(Z.color,f.tertiaryErrorIconColor)};
|
|
1080
1084
|
|
|
1081
|
-
${(0,
|
|
1082
|
-
${(0,
|
|
1083
|
-
${(0,
|
|
1084
|
-
${(0,
|
|
1085
|
-
${(0,
|
|
1085
|
+
${(0,O.setVariable)(E.backgroundColor,f.tertiaryErrorStateLayerColor)};
|
|
1086
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryErrorHoverStateLayerOpacity)};
|
|
1087
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryErrorFocusStateLayerOpacity)};
|
|
1088
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryErrorActiveStateLayerOpacity)};
|
|
1089
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryErrorActiveStateLayerOpacity)};
|
|
1086
1090
|
|
|
1087
1091
|
background-color: ${f.tertiaryErrorBackgroundColor};
|
|
1088
1092
|
color: ${f.tertiaryErrorColor};
|
|
@@ -1100,8 +1104,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1100
1104
|
/** Large styles **/
|
|
1101
1105
|
|
|
1102
1106
|
.ftds--size-large {
|
|
1103
|
-
${(0,
|
|
1104
|
-
${(0,
|
|
1107
|
+
${(0,O.setVariable)(te.size,f.largeIconSize)};
|
|
1108
|
+
${(0,O.setVariable)(Z.size,f.largeIconSize)};
|
|
1105
1109
|
|
|
1106
1110
|
height: ${f.largeHeight};
|
|
1107
1111
|
padding: 0 ${f.largeHorizontalPadding};
|
|
@@ -1122,8 +1126,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1122
1126
|
/** Small styles **/
|
|
1123
1127
|
|
|
1124
1128
|
.ftds--size-medium {
|
|
1125
|
-
${(0,
|
|
1126
|
-
${(0,
|
|
1129
|
+
${(0,O.setVariable)(te.size,f.mediumIconSize)};
|
|
1130
|
+
${(0,O.setVariable)(Z.size,f.mediumIconSize)};
|
|
1127
1131
|
|
|
1128
1132
|
height: ${f.mediumHeight};
|
|
1129
1133
|
padding: 0 ${f.mediumHorizontalPadding};
|
|
@@ -1145,8 +1149,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1145
1149
|
/** Small styles **/
|
|
1146
1150
|
|
|
1147
1151
|
.ftds--size-small {
|
|
1148
|
-
${(0,
|
|
1149
|
-
${(0,
|
|
1152
|
+
${(0,O.setVariable)(te.size,f.smallIconSize)};
|
|
1153
|
+
${(0,O.setVariable)(Z.size,f.smallIconSize)};
|
|
1150
1154
|
|
|
1151
1155
|
height: ${f.smallHeight};
|
|
1152
1156
|
padding: 0 ${f.smallHorizontalPadding};
|
|
@@ -1163,7 +1167,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1163
1167
|
.ftds--size-small.ft-button--icon-only {
|
|
1164
1168
|
width: ${f.smallIconOnlyWidth};
|
|
1165
1169
|
}
|
|
1166
|
-
`,
|
|
1170
|
+
`,O.noTextSelect];var io=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ze=class extends(0,so.toFtdsBase)(q){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Xr.brand,this.iconVariant=De.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case ve.large:return Me.body2medium;case ve.medium:return Me.caption1medium;case ve.small:return Me.caption2medium}}};ze.styles=[so.safariEllipsisFix,Rs];io([(0,Pr.property)({type:Boolean})],ze.prototype,"primary",void 0);io([(0,Pr.property)({type:Boolean})],ze.prototype,"secondary",void 0);io([(0,Pr.property)({type:Boolean})],ze.prototype,"tertiary",void 0);io([(0,Pr.property)({type:Boolean})],ze.prototype,"round",void 0);(0,Sn.customElement)("ft-button")(Le);(0,Sn.customElement)("ftds-button")(ze);var Ns=F.FtCssVariableFactory.extend("--ft-chip-color","",F.designSystemVariables.colorOnSurface),Se={backgroundColor:F.FtCssVariableFactory.extend("--ft-chip-background-color","",F.designSystemVariables.colorSurface),color:Ns,fontSize:F.FtCssVariableFactory.extend("--ft-chip-font-size","",_e.fontSize),fontWeight:F.FtCssVariableFactory.extend("--ft-chip-font-weight","",_e.fontWeight),iconSize:F.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:F.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:F.FtCssVariableFactory.extend("--ft-chip-ripple-color","",Ns),horizontalPadding:F.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:F.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:F.FtCssVariableFactory.extend("--ft-chip-border-color","",F.designSystemVariables.colorOutline),opacityDisabled:F.FtCssVariableFactory.external(F.designSystemVariables.colorOpacityDisabled,"Design system")},Ts=F.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",F.FtCssVariableFactory.extend("--ft-chip-color","",F.designSystemVariables.colorOnPrimary)),On={backgroundColor:F.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",F.FtCssVariableFactory.extend("--ft-chip-background-color","",F.designSystemVariables.colorPrimary)),color:Ts,rippleColor:F.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Ts)},Ls={horizontalPadding:F.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:F.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Is=[F.noTextSelect,co.css`
|
|
1167
1171
|
:host {
|
|
1168
1172
|
display: inline-block;
|
|
1169
1173
|
max-width: 100%;
|
|
@@ -1203,8 +1207,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1203
1207
|
|
|
1204
1208
|
.ft-chip--dense {
|
|
1205
1209
|
--ft-chip-internal-icon-padding: 3px;
|
|
1206
|
-
--ft-chip-internal-vertical-padding: ${
|
|
1207
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
1210
|
+
--ft-chip-internal-vertical-padding: ${Ls.verticalPadding};
|
|
1211
|
+
--ft-chip-internal-horizontal-padding: ${Ls.horizontalPadding};
|
|
1208
1212
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
1209
1213
|
}
|
|
1210
1214
|
|
|
@@ -1304,7 +1308,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1304
1308
|
order: -1;
|
|
1305
1309
|
}
|
|
1306
1310
|
`];var Re=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},uo=class extends CustomEvent{constructor(){super("icon-click")}},J=class extends ir.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.hideIconTooltip=!1,this.icon=void 0,this.trailingIcon=!1}render(){let t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":ir.isSafari};return lo.html`
|
|
1307
|
-
<div class="${(0,
|
|
1311
|
+
<div class="${(0,Ps.classMap)(t)}"
|
|
1308
1312
|
aria-label="${this.getLabel()}"
|
|
1309
1313
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
1310
1314
|
@keyup=${this.onKeyUp}
|
|
@@ -1330,7 +1334,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1330
1334
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
1331
1335
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
1332
1336
|
</div>
|
|
1333
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new uo))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new uo))}getLabel(){return this.label||this.textContent}get textContent(){return(0,ir.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};J.elementDefinitions={"ft-ripple":V,"ft-typography":ae,"ft-icon":ie,"ft-button":Le};J.styles=
|
|
1337
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new uo))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new uo))}getLabel(){return this.label||this.textContent}get textContent(){return(0,ir.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};J.elementDefinitions={"ft-ripple":V,"ft-typography":ae,"ft-icon":ie,"ft-button":Le};J.styles=Is;Re([(0,me.property)({type:Boolean})],J.prototype,"highlighted",void 0);Re([(0,me.property)({type:Boolean})],J.prototype,"removable",void 0);Re([(0,me.property)({type:Boolean})],J.prototype,"disabled",void 0);Re([(0,me.property)({type:Boolean})],J.prototype,"clickable",void 0);Re([(0,me.property)({type:Boolean})],J.prototype,"iconClickable",void 0);Re([(0,me.property)({type:Boolean})],J.prototype,"dense",void 0);Re([(0,me.property)({type:Boolean})],J.prototype,"multiLine",void 0);Re([(0,me.property)()],J.prototype,"label",void 0);Re([(0,me.property)()],J.prototype,"iconLabel",void 0);Re([(0,me.property)({type:Boolean})],J.prototype,"hideIconTooltip",void 0);Re([(0,me.property)()],J.prototype,"icon",void 0);Re([(0,me.property)()],J.prototype,"iconVariant",void 0);Re([(0,me.property)({type:Boolean})],J.prototype,"trailingIcon",void 0);Re([(0,me.query)("ft-typography slot")],J.prototype,"slottedContent",void 0);var gt=b(G()),bt=b(oe()),Ds=b(zt()),fo=b(L());var _s=b(G());var po=b(L());var ks=[_s.css`
|
|
1334
1338
|
:host {
|
|
1335
1339
|
display: inline-block;
|
|
1336
1340
|
max-width: 100%;
|
|
@@ -1498,7 +1502,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1498
1502
|
color: ${D.errorIconColor};
|
|
1499
1503
|
}
|
|
1500
1504
|
`];var sr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Cn=class extends CustomEvent{constructor(){super("remove")}},Be=class extends fo.FtdsBase{constructor(){super(...arguments),this.withAction=!1,this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let t={"ftds-chip":!0,"ftds-chip--with-action":this.removable||this.withAction,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return gt.html`
|
|
1501
|
-
<div class="${(0,
|
|
1505
|
+
<div class="${(0,Ds.classMap)(t)}"
|
|
1502
1506
|
aria-label="${this.getLabel()}"
|
|
1503
1507
|
part="chip">
|
|
1504
1508
|
${this.renderIcon()}
|
|
@@ -1523,7 +1527,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1523
1527
|
></ftds-button>
|
|
1524
1528
|
`:this.withAction?gt.html`
|
|
1525
1529
|
<slot name="action"></slot>
|
|
1526
|
-
`:gt.nothing}resolveButtonSize(){switch(this.size){case ve.large:return ve.medium;case ve.medium:case ve.small:return ve.small}}getLabel(){return this.label||this.textContent}get textContent(){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:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Cn)}typographyVariant(){switch(this.size){case ve.large:return Me.body2medium;case ve.medium:case ve.small:return Me.caption1medium}}};Be.elementDefinitions={"ft-typography":ae,"ft-icon":ie,"ftds-button":ze};Be.styles=
|
|
1530
|
+
`:gt.nothing}resolveButtonSize(){switch(this.size){case ve.large:return ve.medium;case ve.medium:case ve.small:return ve.small}}getLabel(){return this.label||this.textContent}get textContent(){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:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Cn)}typographyVariant(){switch(this.size){case ve.large:return Me.body2medium;case ve.medium:case ve.small:return Me.caption1medium}}};Be.elementDefinitions={"ft-typography":ae,"ft-icon":ie,"ftds-button":ze};Be.styles=ks;sr([(0,bt.property)({type:Boolean})],Be.prototype,"withAction",void 0);sr([(0,bt.property)({type:Boolean})],Be.prototype,"removable",void 0);sr([(0,bt.property)()],Be.prototype,"removeButtonLabel",void 0);sr([(0,bt.property)()],Be.prototype,"label",void 0);sr([(0,bt.property)()],Be.prototype,"icon",void 0);sr([(0,bt.query)("ft-typography slot")],Be.prototype,"slottedContent",void 0);(0,En.customElement)("ft-chip")(J);(0,En.customElement)("ftds-chip")(Be);var wn,An,Rn,Nn,ue={color:P.FtCssVariableFactory.extend("--ft-search-saved-searches-color","",P.designSystemVariables.colorOnSurface),activeButtonTextColor:P.FtCssVariableFactory.extend("--ft-search-saved-searches-active-button-text-color","",P.designSystemVariables.colorPrimary),activeSearchBackgroundColor:P.FtCssVariableFactory.extend("--ft-search-saved-searches-active-search-background-color","",P.designSystemVariables.colorContent),activeSearchBorderStyle:P.FtCssVariableFactory.create("--ft-search-saved-searches-active-search-border-style","","BORDER-STYLE",(wn=M.selectedOutlineStyle.lastResortDefaultValue())!==null&&wn!==void 0?wn:"solid"),activeSearchBorderColor:P.FtCssVariableFactory.extend("--ft-search-saved-searches-active-search-border-color","",P.designSystemVariables.colorPrimary),activeSearchBorderWidth:P.FtCssVariableFactory.create("--ft-search-saved-searches-active-search-border-width","","SIZE",(An=M.selectedOutlineWidth.lastResortDefaultValue())!==null&&An!==void 0?An:"2px"),activeSearchBorderRadius:P.FtCssVariableFactory.extend("--ft-search-saved-searches-active-search-border-radius","",P.designSystemVariables.borderRadiusM),inactiveButtonTextColor:P.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-button-text-color","",P.designSystemVariables.colorPrimary),inactiveButtonBackgroundColor:P.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-button-background-color","",P.designSystemVariables.colorSurface),inactiveSearchBackgroundColor:P.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-search-background-color","",P.designSystemVariables.colorContent),inactiveSearchBorderStyle:P.FtCssVariableFactory.create("--ft-search-saved-searches-inactive-search-border-style","","BORDER-STYLE",(Rn=M.outlineStyle.lastResortDefaultValue())!==null&&Rn!==void 0?Rn:"solid"),inactiveSearchBorderColor:P.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-search-border-color","",P.designSystemVariables.colorPrimary),inactiveSearchBorderWidth:P.FtCssVariableFactory.create("--ft-search-saved-searches-inactive-search-border-width","","SIZE",(Nn=M.outlineWidth.lastResortDefaultValue())!==null&&Nn!==void 0?Nn:"0"),inactiveSearchBorderRadius:P.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-search-border-radius","",P.designSystemVariables.borderRadiusM),chipBackgroundColor:P.FtCssVariableFactory.extend("--ft-search-saved-searches-chip-background-color","",P.designSystemVariables.colorSurface),cardTitleFontSize:P.FtCssVariableFactory.create("--ft-search-saved-searches-card-title-font-size","","SIZE","16px"),cardTitleFontWeight:P.FtCssVariableFactory.create("--ft-search-saved-searches-card-title-font-weight","","SIZE","600")},$s=Bs.css`
|
|
1527
1531
|
[part="container"] {
|
|
1528
1532
|
display: flex;
|
|
1529
1533
|
flex-direction: column;
|
|
@@ -1587,17 +1591,17 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1587
1591
|
text-decoration: none;
|
|
1588
1592
|
color: inherit;
|
|
1589
1593
|
}
|
|
1590
|
-
`;var
|
|
1591
|
-
`;var yo=b(L()),
|
|
1594
|
+
`;var ul=b(L());var Ws=b(G()),Ne=b(oe()),Ge=b(L());var Fs=b(G());var Us=Fs.css`
|
|
1595
|
+
`;var yo=b(L()),ld="ft-app-info",ho=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};ho.eventName="authentication-change";var dd={session:(e,t)=>{(0,yo.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>k.dispatchEvent(new ho(t.payload)),0))}},k=yo.FtReduxStore.get({name:ld,reducers:dd,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],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}});var Je=b(L());var Tn=b(L());var Dt=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=k.getState(),a=t??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let a=k.subscribe(()=>{n=e.get(t),n&&(a(),o(n))})}})}};var _r=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Dt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Dt.await()}};var ct=class extends _r{constructor(t=!0,o){var n;super(o);let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new Tn.CacheRegistry,this.cache=t?a.commonCache:new Tn.CacheRegistry}clearCache(){this.cache.clearAll()}};var Ms,ud=Symbol("clearAfterUnitTest"),mo=class extends ct{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ms]=()=>{this.defaultMessages={},this.cache=new Je.CacheRegistry,this.listeners={}},this.currentUiLocale=k.getState().uiLocale,k.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=k.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,Je.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 i=t.toLowerCase(),c=this.resolveContext(i);return new Je.ParametrizedLabelResolver((a=this.defaultMessages[i])!==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))}catch(a){!(a instanceof Je.CanceledPromiseError)&&o&&console.error(a)}return o&&await this.notify(t),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(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(o=>(0,Je.delay)(0).then(()=>o()).catch(()=>null)))}};Ms=ud;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends mo{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends mo{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var cr=window.FluidTopicsI18nService,go=window.FluidTopicsCustomI18nService;var ge=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ee=class extends Ge.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",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=()=>Dt.get(),this.messageContexts=[],this.cache=new Ge.CacheRegistry,this.cleanSessionDebouncer=new Ge.Debouncer}render(){return Ws.html`
|
|
1592
1596
|
<slot></slot>
|
|
1593
|
-
`}update(t){var o,n,a,i,c;super.update(t),t.has("baseUrl")&&(k.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&k.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&k.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&k.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&k.actions.noCustom(this.noCustom),t.has("editorMode")&&k.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&k.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&k.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(d=>cr.addContext(d)),t.has("openExternalDocumentInNewTab")&&k.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&k.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&k.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(k.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),k.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),k.actions.searchInAllLanguagesAllowed((c=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&c!==void 0?c:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}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())}};ee.elementDefinitions={};ee.styles=Fs;ge([(0,Ne.property)()],ee.prototype,"baseUrl",void 0);ge([(0,Ne.property)()],ee.prototype,"apiIntegrationIdentifier",void 0);ge([(0,Ne.property)()],ee.prototype,"uiLocale",void 0);ge([(0,Ge.jsonProperty)(null)],ee.prototype,"availableUiLocales",void 0);ge([(0,Ge.jsonProperty)(null)],ee.prototype,"metadataConfiguration",void 0);ge([(0,Ne.property)({type:Boolean})],ee.prototype,"editorMode",void 0);ge([(0,Ne.property)({type:Boolean})],ee.prototype,"noCustom",void 0);ge([(0,Ne.property)({type:Boolean})],ee.prototype,"openExternalDocumentInNewTab",void 0);ge([(0,Ne.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],ee.prototype,"noCustomComponent",void 0);ge([(0,Ne.property)({type:Boolean})],ee.prototype,"withManualResources",void 0);ge([(0,Ne.property)({type:Boolean})],ee.prototype,"navigatorOnline",void 0);ge([(0,Ne.property)({type:Boolean})],ee.prototype,"forcedOffline",void 0);ge([(0,Ne.property)({type:Object})],ee.prototype,"apiProvider",void 0);ge([(0,Ge.jsonProperty)([])],ee.prototype,"messageContexts",void 0);ge([(0,Ge.jsonProperty)(void 0)],ee.prototype,"session",void 0);ge([(0,Ne.state)()],ee.prototype,"localesConfiguration",void 0);var Yd=b(oe());function dd(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,a;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!bo(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(!bo(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 i=c=>Object.keys(c).filter(d=>c[d]!=null);if(a=i(e),o=a.length,o!==i(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(!bo(e[c],t[c]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function bo(e,t){try{return dd(e,t)}catch{return!1}}function xo(e,t){return!bo(e,t)}var ud=b(oe(),1);var vo=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 lr=b(oe(),1);var Ws=b(oe(),1);function Hs(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,Ws.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:xo,...t??{}})}var So=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,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(d){a(d);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Gs=b(G(),1);var Oo=globalThis,pd=Oo.ShadowRoot&&(Oo.ShadyCSS===void 0||Oo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,tx=Symbol();var zs=(e,t)=>{if(pd)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=Oo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var Co=class extends Gs.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return zs(n,t.elementStyles),n}};function js(e,t,...o){var n;let a=e.querySelector(t);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var kr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},qs,Vs=Symbol("constructorPrototype"),Ks=Symbol("constructorName"),Ys=Symbol("exportpartsDebouncer"),Zs=Symbol("dynamicDependenciesLoaded"),lt=class extends Co{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[qs]=new So(5),this[Ks]=this.constructor.name,this[Vs]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ks]&&Object.setPrototypeOf(this,this[Vs])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let t=this.constructor;t[Zs]||(t[Zs]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];o=js(this.shadowRoot,...i)}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(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}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[Ys].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var o,n,a,i,c,d;let u=g=>g!=null&&g.trim().length>0,p=t.filter(u).map(g=>g.trim());if(p.length===0){this.removeAttribute("exportparts");return}let m=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],v=(d=(c=g.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(O=>O.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...S,...v).filter(u).map(O=>O.trim()).forEach(O=>m.add(O))}if(m.size===0){this.removeAttribute("exportparts");return}let y=[...m.values()].flatMap(g=>p.map(S=>`${g}:${S}--${g}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};qs=Ys;kr([(0,lr.property)()],lt.prototype,"exportpartsPrefix",void 0);kr([Hs([])],lt.prototype,"exportpartsPrefixes",void 0);kr([(0,lr.property)()],lt.prototype,"customStylesheet",void 0);kr([(0,lr.property)()],lt.prototype,"elementToFocus",void 0);kr([(0,lr.state)()],lt.prototype,"useAdoptedStyleSheets",void 0);function Dr(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Xs,Qs,Js,Br=Symbol("internalReduxEventsUnsubscribers"),xt=Symbol("internalStoresUnsubscribers"),Bt=Symbol("internalStores"),$r=class extends lt{constructor(){super(...arguments),this[Xs]=new Map,this[Qs]=new Map,this[Js]=new Map}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Bt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Bt].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Bt].get(t)}addStore(t,o){var n;o=(n=o??(Dr(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[Bt].set(o,t),this.subscribeToStore(o,t),this.updateFromStores()}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[Bt].delete(o)}setupStores(){this.unsubscribeFromStores(),this[Bt].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(t.store);a&&(t.store?this[xt].has(t.store):this[xt].size>0)&&(this[o]=t.selector(a.getState(),this))}})}subscribeToStore(t,o){var n;this[xt].set(t,o.subscribe(()=>this.updateFromStores())),this[Br].set(t,[]),Dr(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let c=d=>this[i](d);o.addEventListener(a.eventName,c),this[Br].get(t).push(()=>o.removeEventListener(a.eventName,c))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[xt].forEach((t,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(t){var o;this[xt].has(t)&&this[xt].get(t)(),this[xt].delete(t),(o=this[Br].get(t))===null||o===void 0||o.forEach(n=>n()),this[Br].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Xs=xt,Qs=Bt,Js=Br;$r.reduxProperties=new Map;$r.reduxReactiveProperties=new Set;$r.reduxEventListeners=new Map;function $e(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,i;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 dt(e){return!!e&&!!e[Y]}function je(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)===vd}(e)||Array.isArray(e)||!!e[ic]||!!(!((t=e.constructor)===null||t===void 0)&&t[ic])||Fn(e)||Un(e))}function $t(e,t,o){o===void 0&&(o=!1),pr(e)===0?(o?Object.keys:ur)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function pr(e){var t=e[Y];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Fn(e)?2:Un(e)?3:0}function dr(e,t){return pr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function fd(e,t){return pr(e)===2?e.get(t):e[t]}function sc(e,t,o){var n=pr(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function cc(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Fn(e){return bd&&e instanceof Map}function Un(e){return xd&&e instanceof Set}function vt(e){return e.o||e.t}function Mn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=uc(e);delete t[Y];for(var o=ur(t),n=0;n<o.length;n++){var a=o[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Wn(e,t){return t===void 0&&(t=!1),Hn(e)||dt(e)||!je(e)||(pr(e)>1&&(e.set=e.add=e.clear=e.delete=hd),Object.freeze(e),t&&$t(e,function(o,n){return Wn(n,!0)},!0)),e}function hd(){$e(2)}function Hn(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function et(e){var t=$n[e];return t||$e(18,e),t}function yd(e,t){$n[e]||($n[e]=t)}function kn(){return Ur}function Ln(e,t){t&&(et("Patches"),e.u=[],e.s=[],e.v=t)}function Eo(e){Dn(e),e.p.forEach(md),e.p=null}function Dn(e){e===Ur&&(Ur=e.l)}function ec(e){return Ur={p:[],l:Ur,h:e,m:!0,_:0}}function md(e){var t=e[Y];t.i===0||t.i===1?t.j():t.g=!0}function In(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||et("ES5").S(t,e,n),n?(o[Y].P&&(Eo(t),$e(4)),je(e)&&(e=wo(t,e),t.l||Ao(t,e)),t.u&&et("Patches").M(o[Y].t,e,t.u,t.s)):e=wo(t,o,[]),Eo(t),t.u&&t.v(t.u,t.s),e!==dc?e:void 0}function wo(e,t,o){if(Hn(t))return t;var n=t[Y];if(!n)return $t(t,function(d,u){return tc(e,n,t,d,u,o)},!0),t;if(n.A!==e)return t;if(!n.P)return Ao(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Mn(n.k):n.o,i=a,c=!1;n.i===3&&(i=new Set(a),a.clear(),c=!0),$t(i,function(d,u){return tc(e,n,a,d,u,o,c)}),Ao(e,a,!1),o&&e.u&&et("Patches").N(n,o,e.u,e.s)}return n.o}function tc(e,t,o,n,a,i,c){if(dt(a)){var d=wo(e,a,i&&t&&t.i!==3&&!dr(t.R,n)?i.concat(n):void 0);if(sc(o,n,d),!dt(d))return;e.m=!1}else c&&o.add(a);if(je(a)&&!Hn(a)){if(!e.h.D&&e._<1)return;wo(e,a),t&&t.A.l||Ao(e,a)}}function Ao(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Wn(t,o)}function Pn(e,t){var o=e[Y];return(o?vt(o):e)[t]}function rc(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 St(e){e.P||(e.P=!0,e.l&&St(e.l))}function _n(e){e.o||(e.o=Mn(e.t))}function Bn(e,t,o){var n=Fn(t)?et("MapSet").F(t,o):Un(t)?et("MapSet").T(t,o):e.O?function(a,i){var c=Array.isArray(a),d={i:c?1:0,A:i?i.A:kn(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},u=d,p=Mr;c&&(u=[d],p=Fr);var m=Proxy.revocable(u,p),y=m.revoke,g=m.proxy;return d.k=g,d.j=y,g}(t,o):et("ES5").J(t,o);return(o?o.A:kn()).p.push(n),n}function gd(e){return dt(e)||$e(22,e),function t(o){if(!je(o))return o;var n,a=o[Y],i=pr(o);if(a){if(!a.P&&(a.i<4||!et("ES5").K(a)))return a.t;a.I=!0,n=oc(o,i),a.I=!1}else n=oc(o,i);return $t(n,function(c,d){a&&fd(a.t,c)===d||sc(n,c,t(d))}),i===3?new Set(n):n}(e)}function oc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Mn(e)}function lc(){function e(c,d){var u=i[c];return u?u.enumerable=d:i[c]=u={configurable:!0,enumerable:d,get:function(){var p=this[Y];return Mr.get(p,c)},set:function(p){var m=this[Y];Mr.set(m,c,p)}},u}function t(c){for(var d=c.length-1;d>=0;d--){var u=c[d][Y];if(!u.P)switch(u.i){case 5:n(u)&&St(u);break;case 4:o(u)&&St(u)}}}function o(c){for(var d=c.t,u=c.k,p=ur(u),m=p.length-1;m>=0;m--){var y=p[m];if(y!==Y){var g=d[y];if(g===void 0&&!dr(d,y))return!0;var S=u[y],v=S&&S[Y];if(v?v.t!==g:!cc(S,g))return!0}}var O=!!d[Y];return p.length!==ur(d).length+(O?0:1)}function n(c){var d=c.k;if(d.length!==c.t.length)return!0;var u=Object.getOwnPropertyDescriptor(d,d.length-1);if(u&&!u.get)return!0;for(var p=0;p<d.length;p++)if(!d.hasOwnProperty(p))return!0;return!1}function a(c){c.g&&$e(3,JSON.stringify(vt(c)))}var i={};yd("ES5",{J:function(c,d){var u=Array.isArray(c),p=function(y,g){if(y){for(var S=Array(g.length),v=0;v<g.length;v++)Object.defineProperty(S,""+v,e(v,!0));return S}var O=uc(g);delete O[Y];for(var T=ur(O),R=0;R<T.length;R++){var N=T[R];O[N]=e(N,y||!!O[N].enumerable)}return Object.create(Object.getPrototypeOf(g),O)}(u,c),m={i:u?5:4,A:d?d.A:kn(),P:!1,I:!1,R:{},l:d,t:c,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,Y,{value:m,writable:!0}),p},S:function(c,d,u){u?dt(d)&&d[Y].A===c&&t(c.p):(c.u&&function p(m){if(m&&typeof m=="object"){var y=m[Y];if(y){var g=y.t,S=y.k,v=y.R,O=y.i;if(O===4)$t(S,function(U){U!==Y&&(g[U]!==void 0||dr(g,U)?v[U]||p(S[U]):(v[U]=!0,St(y)))}),$t(g,function(U){S[U]!==void 0||dr(S,U)||(v[U]=!1,St(y))});else if(O===5){if(n(y)&&(St(y),v.length=!0),S.length<g.length)for(var T=S.length;T<g.length;T++)v[T]=!1;else for(var R=g.length;R<S.length;R++)v[R]=!0;for(var N=Math.min(S.length,g.length),B=0;B<N;B++)S.hasOwnProperty(B)||(v[B]=!0),v[B]===void 0&&p(S[B])}}}}(c.p[0]),t(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var nc,Ur,zn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",bd=typeof Map<"u",xd=typeof Set<"u",ac=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",dc=zn?Symbol.for("immer-nothing"):((nc={})["immer-nothing"]=!0,nc),ic=zn?Symbol.for("immer-draftable"):"__$immer_draftable",Y=zn?Symbol.for("immer-state"):"__$immer_state";var vd=""+Object.prototype.constructor,ur=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,uc=Object.getOwnPropertyDescriptors||function(e){var t={};return ur(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},$n={},Mr={get:function(e,t){if(t===Y)return e;var o=vt(e);if(!dr(o,t))return function(a,i,c){var d,u=rc(i,c);return u?"value"in u?u.value:(d=u.get)===null||d===void 0?void 0:d.call(a.k):void 0}(e,o,t);var n=o[t];return e.I||!je(n)?n:n===Pn(e.t,t)?(_n(e),e.o[t]=Bn(e.A.h,n,e)):n},has:function(e,t){return t in vt(e)},ownKeys:function(e){return Reflect.ownKeys(vt(e))},set:function(e,t,o){var n=rc(vt(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=Pn(vt(e),t),i=a?.[Y];if(i&&i.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(cc(o,a)&&(o!==void 0||dr(e.t,t)))return!0;_n(e),St(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 Pn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,_n(e),St(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=vt(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){$e(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){$e(12)}},Fr={};$t(Mr,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 Mr.set.call(this,e[0],t,o,e[0])};var Sd=function(){function e(o){var n=this;this.O=ac,this.D=!0,this.produce=function(a,i,c){if(typeof a=="function"&&typeof i!="function"){var d=i;i=a;var u=n;return function(O){var T=this;O===void 0&&(O=d);for(var R=arguments.length,N=Array(R>1?R-1:0),B=1;B<R;B++)N[B-1]=arguments[B];return u.produce(O,function(U){var W;return(W=i).call.apply(W,[T,U].concat(N))})}}var p;if(typeof i!="function"&&$e(6),c!==void 0&&typeof c!="function"&&$e(7),je(a)){var m=ec(n),y=Bn(n,a,void 0),g=!0;try{p=i(y),g=!1}finally{g?Eo(m):Dn(m)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(O){return Ln(m,c),In(O,m)},function(O){throw Eo(m),O}):(Ln(m,c),In(p,m))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===dc&&(p=void 0),n.D&&Wn(p,!0),c){var S=[],v=[];et("Patches").M(a,p,S,v),c(S,v)}return p}$e(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(p){for(var m=arguments.length,y=Array(m>1?m-1:0),g=1;g<m;g++)y[g-1]=arguments[g];return n.produceWithPatches(p,function(S){return a.apply(void 0,[S].concat(y))})};var c,d,u=n.produce(a,i,function(p,m){c=p,d=m});return typeof Promise<"u"&&u instanceof Promise?u.then(function(p){return[p,c,d]}):[u,c,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){je(o)||$e(8),dt(o)&&(o=gd(o));var n=ec(this),a=Bn(this,o,void 0);return a[Y].C=!0,Dn(n),a},t.finishDraft=function(o,n){var a=o&&o[Y],i=a.A;return Ln(i,n),In(void 0,i)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!ac&&$e(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var c=et("Patches").$;return dt(o)?c(o,n):this.produce(o,function(d){return c(d,n)})},e}(),Ie=new Sd,Od=Ie.produce,yx=Ie.produceWithPatches.bind(Ie),mx=Ie.setAutoFreeze.bind(Ie),gx=Ie.setUseProxies.bind(Ie),bx=Ie.applyPatches.bind(Ie),xx=Ie.createDraft.bind(Ie),vx=Ie.finishDraft.bind(Ie),Ro=Od;function Ft(e){"@babel/helpers - typeof";return Ft=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},Ft(e)}function pc(e,t){if(Ft(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(Ft(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fc(e){var t=pc(e,"string");return Ft(t)=="symbol"?t:t+""}function hc(e,t,o){return(t=fc(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function yc(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 Gn(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?yc(Object(o),!0).forEach(function(n){hc(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):yc(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function be(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 mc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),jn=function(){return Math.random().toString(36).substring(7).split("").join(".")},No={INIT:"@@redux/INIT"+jn(),REPLACE:"@@redux/REPLACE"+jn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+jn()}};function Cd(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 Vn(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(be(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(be(1));return o(Vn)(e,t)}if(typeof e!="function")throw new Error(be(2));var a=e,i=t,c=[],d=c,u=!1;function p(){d===c&&(d=c.slice())}function m(){if(u)throw new Error(be(3));return i}function y(O){if(typeof O!="function")throw new Error(be(4));if(u)throw new Error(be(5));var T=!0;return p(),d.push(O),function(){if(T){if(u)throw new Error(be(6));T=!1,p();var N=d.indexOf(O);d.splice(N,1),c=null}}}function g(O){if(!Cd(O))throw new Error(be(7));if(typeof O.type>"u")throw new Error(be(8));if(u)throw new Error(be(9));try{u=!0,i=a(i,O)}finally{u=!1}for(var T=c=d,R=0;R<T.length;R++){var N=T[R];N()}return O}function S(O){if(typeof O!="function")throw new Error(be(10));a=O,g({type:No.REPLACE})}function v(){var O,T=y;return O={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(be(11));function B(){N.next&&N.next(m())}B();var U=T(B);return{unsubscribe:U}}},O[mc]=function(){return this},O}return g({type:No.INIT}),n={dispatch:g,subscribe:y,getState:m,replaceReducer:S},n[mc]=v,n}function Ed(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:No.INIT});if(typeof n>"u")throw new Error(be(12));if(typeof o(void 0,{type:No.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(be(13))})}function gc(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 i=Object.keys(o),c,d;try{Ed(o)}catch(u){d=u}return function(p,m){if(p===void 0&&(p={}),d)throw d;if(0)var y;for(var g=!1,S={},v=0;v<i.length;v++){var O=i[v],T=o[O],R=p[O],N=T(R,m);if(typeof N>"u"){var B=m&&m.type;throw new Error(be(14))}S[O]=N,g=g||N!==R}return g=g||i.length!==Object.keys(p).length,g?S:p}}function fr(){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 bc(){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),i=function(){throw new Error(be(15))},c={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},d=t.map(function(u){return u(c)});return i=fr.apply(void 0,d)(a.dispatch),Gn(Gn({},a),{},{dispatch:i})}}}function xc(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(c){return function(d){return typeof d=="function"?d(a,i,e):c(d)}}};return t}var vc=xc();vc.withExtraArgument=xc;var Kn=vc;var wc=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},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)}}(),wd=function(e,t){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,c;return c={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function d(p){return function(m){return u([p,m])}}function u(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=p[0]&2?a.return:p[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,p[1])).done)return i;switch(a=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=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(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){o.label=p[1];break}if(p[0]===6&&o.label<i[1]){o.label=i[1],i=p;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(p);break}i[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(m){p=[6,m],a=0}finally{n=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},hr=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},Ad=Object.defineProperty,Rd=Object.defineProperties,Nd=Object.getOwnPropertyDescriptors,Sc=Object.getOwnPropertySymbols,Td=Object.prototype.hasOwnProperty,Ld=Object.prototype.propertyIsEnumerable,Oc=function(e,t,o){return t in e?Ad(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},Ot=function(e,t){for(var o in t||(t={}))Td.call(t,o)&&Oc(e,o,t[o]);if(Sc)for(var n=0,a=Sc(t);n<a.length;n++){var o=a[n];Ld.call(t,o)&&Oc(e,o,t[o])}return e},Zn=function(e,t){return Rd(e,Nd(t))},Id=function(e,t,o){return new Promise(function(n,a){var i=function(u){try{d(o.next(u))}catch(p){a(p)}},c=function(u){try{d(o.throw(u))}catch(p){a(p)}},d=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(i,c)};d((o=o.apply(e,t)).next())})};var Pd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?fr:fr.apply(null,arguments)},Fx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function _d(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 kd=function(e){wc(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,hr([void 0],o[0].concat(this)))):new(t.bind.apply(t,hr([void 0],o.concat(this))))},t}(Array),Dd=function(e){wc(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,hr([void 0],o[0].concat(this)))):new(t.bind.apply(t,hr([void 0],o.concat(this))))},t}(Array);function Xn(e){return je(e)?Ro(e,function(){}):e}function Bd(e){return typeof e=="boolean"}function $d(){return function(t){return Fd(t)}}function Fd(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,c=i===void 0?!0:i,d=new kd;if(o&&(Bd(o)?d.push(Kn):d.push(Kn.withExtraArgument(o.extraArgument))),0){if(a)var u;if(c)var p}return d}var qn=!0;function Ac(e){var t=$d(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,c=i===void 0?t():i,d=o.devTools,u=d===void 0?!0:d,p=o.preloadedState,m=p===void 0?void 0:p,y=o.enhancers,g=y===void 0?void 0:y,S;if(typeof a=="function")S=a;else if(_d(a))S=gc(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 v=c;if(typeof v=="function"&&(v=v(t),!qn&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!qn&&v.some(function(U){return typeof U!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=bc.apply(void 0,v),T=fr;u&&(T=Pd(Ot({trace:!qn},typeof u=="object"&&u)));var R=new Dd(O),N=R;Array.isArray(g)?N=hr([O],g):typeof g=="function"&&(N=g(R));var B=T.apply(void 0,N);return Vn(S,m,B)}function Ct(e,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Ot(Ot({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.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 Rc(e){var t={},o=[],n,a={addCase:function(i,c){var d=typeof i=="string"?i:i.type;if(d in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[d]=c,a},addMatcher:function(i,c){return o.push({matcher:i,reducer:c}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,o,n]}function Ud(e){return typeof e=="function"}function Md(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?Rc(t):[t,o,n],i=a[0],c=a[1],d=a[2],u;if(Ud(e))u=function(){return Xn(e())};else{var p=Xn(e);u=function(){return p}}function m(y,g){y===void 0&&(y=u());var S=hr([i[g.type]],c.filter(function(v){var O=v.matcher;return O(g)}).map(function(v){var O=v.reducer;return O}));return S.filter(function(v){return!!v}).length===0&&(S=[d]),S.reduce(function(v,O){if(O)if(dt(v)){var T=v,R=O(T,g);return R===void 0?v:R}else{if(je(v))return Ro(v,function(N){return O(N,g)});var R=O(v,g);if(R===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return v},y)}return m.getInitialState=u,m}function Wd(e,t){return e+"/"+t}function Nc(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:Xn(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},c={},d={};a.forEach(function(m){var y=n[m],g=Wd(t,m),S,v;"reducer"in y?(S=y.reducer,v=y.prepare):S=y,i[m]=S,c[g]=S,d[m]=v?Ct(g,v):Ct(g)});function u(){var m=typeof e.extraReducers=="function"?Rc(e.extraReducers):[e.extraReducers],y=m[0],g=y===void 0?{}:y,S=m[1],v=S===void 0?[]:S,O=m[2],T=O===void 0?void 0:O,R=Ot(Ot({},g),c);return Md(o,function(N){for(var B in R)N.addCase(B,R[B]);for(var U=0,W=v;U<W.length;U++){var Oe=W[U];N.addMatcher(Oe.matcher,Oe.reducer)}T&&N.addDefaultCase(T)})}var p;return{name:t,reducer:function(m,y){return p||(p=u()),p(m,y)},actions:d,caseReducers:i,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var Hd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",zd=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Hd[Math.random()*64|0];return t},Gd=["name","message","stack","code"],Yn=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Cc=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),jd=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Gd;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},Hx=function(){function e(t,o,n){var a=Ct(t+"/fulfilled",function(m,y,g,S){return{payload:m,meta:Zn(Ot({},S||{}),{arg:g,requestId:y,requestStatus:"fulfilled"})}}),i=Ct(t+"/pending",function(m,y,g){return{payload:void 0,meta:Zn(Ot({},g||{}),{arg:y,requestId:m,requestStatus:"pending"})}}),c=Ct(t+"/rejected",function(m,y,g,S,v){return{payload:S,error:(n&&n.serializeError||jd)(m||"Rejected"),meta:Zn(Ot({},v||{}),{arg:g,requestId:y,rejectedWithValue:!!S,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),d=!1,u=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function p(m){return function(y,g,S){var v=n?.idGenerator?n.idGenerator(m):zd(),O=new u,T,R=!1;function N(U){T=U,O.abort()}var B=function(){return Id(this,null,function(){var U,W,Oe,Ze,xe,qe,pe;return wd(this,function(h){switch(h.label){case 0:return h.trys.push([0,4,,5]),Ze=(U=n?.condition)==null?void 0:U.call(n,m,{getState:g,extra:S}),Kd(Ze)?[4,Ze]:[3,2];case 1:Ze=h.sent(),h.label=2;case 2:if(Ze===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,xe=new Promise(function(x,_){return O.signal.addEventListener("abort",function(){return _({name:"AbortError",message:T||"Aborted"})})}),y(i(v,m,(W=n?.getPendingMeta)==null?void 0:W.call(n,{requestId:v,arg:m},{getState:g,extra:S}))),[4,Promise.race([xe,Promise.resolve(o(m,{dispatch:y,getState:g,extra:S,requestId:v,signal:O.signal,abort:N,rejectWithValue:function(x,_){return new Yn(x,_)},fulfillWithValue:function(x,_){return new Cc(x,_)}})).then(function(x){if(x instanceof Yn)throw x;return x instanceof Cc?a(x.payload,v,m,x.meta):a(x,v,m)})])];case 3:return Oe=h.sent(),[3,5];case 4:return qe=h.sent(),Oe=qe instanceof Yn?c(null,v,m,qe.payload,qe.meta):c(qe,v,m),[3,5];case 5:return pe=n&&!n.dispatchConditionRejection&&c.match(Oe)&&Oe.meta.condition,pe||y(Oe),[2,Oe]}})})}();return Object.assign(B,{abort:N,requestId:v,arg:m,unwrap:function(){return B.then(Vd)}})}}return Object.assign(p,{pending:i,rejected:c,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Vd(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Kd(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Tc="listener",Lc="completed",Ic="cancelled",zx="task-"+Ic,Gx="task-"+Lc,jx=Tc+"-"+Ic,Vx=Tc+"-"+Lc;var Qn="listenerMiddleware";var Kx=Ct(Qn+"/add"),Zx=Ct(Qn+"/removeAll"),qx=Ct(Qn+"/remove");var Ec,Yx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Ec||(Ec=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Zd=function(e){return function(t){setTimeout(t,e)}},Xx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Zd(10);lc();function qd(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)}}}var To=class extends qd(Object){};window.ftReduxStores||(window.ftReduxStores={});var Pc=class e extends To{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(Dr(i))return i;if(a==null)return;let c=Nc({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),d=Ac({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,d,a.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new vo;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,c,d)=>{let u=c,p=i[u];return p?(...m)=>{let y=p(...m.map(a));return this.reduxStore.dispatch(y),y}:m=>{this.setState({[u]:a(m)})}}}),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 Do=b(L());var Qd=b(kc(),1);var Dc;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Dc||(Dc={}));var Bc;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Bc||(Bc={}));var $c;(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.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})($c||($c={}));var Fc;(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.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})(Fc||(Fc={}));var Uc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Uc||(Uc={}));var Mc;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Mc||(Mc={}));var Wc;(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.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",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.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",e.GEN_AI__RATE="GEN_AI__RATE",e.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",e.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_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__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"})(Wc||(Wc={}));var Hc;(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"})(Hc||(Hc={}));var zc;(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"})(zc||(zc={}));var Gc;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Gc||(Gc={}));var jc;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(jc||(jc={}));var Vc;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Vc||(Vc={}));var Kc;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Kc||(Kc={}));var Zc;(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"})(Zc||(Zc={}));var qc;(function(e){e.ASC="ASC",e.DESC="DESC"})(qc||(qc={}));var Yc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Yc||(Yc={}));var Wr;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Wr||(Wr={}));var Xc;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Xc||(Xc={}));var Qc;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Qc||(Qc={}));var Jc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Jc||(Jc={}));var mr;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(mr||(mr={}));var el;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(el||(el={}));var Hr;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Hr||(Hr={}));var re;(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.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(re||(re={}));var tl;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(tl||(tl={}));var rl;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(rl||(rl={}));var ol;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(ol||(ol={}));var nl;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(nl||(nl={}));var Xd={[re.PERSONAL_BOOK_SHARE_USER]:[re.PERSONAL_BOOK_USER],[re.HTML_EXPORT_USER]:[re.PERSONAL_BOOK_USER],[re.PDF_EXPORT_USER]:[re.PERSONAL_BOOK_USER],[re.KHUB_ADMIN]:[re.CONTENT_PUBLISHER],[re.ADMIN]:[re.KHUB_ADMIN,re.USERS_ADMIN,re.PORTAL_ADMIN],[re.GENERATIVE_AI_EXPORT_USER]:[re.GENERATIVE_AI_USER]};function al(e,t){return e===t||(Xd[e]??[]).some(o=>al(o,t))}function Po(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=>al(n,t))}var _o=class extends ct{async listMySearches(){let{session:t}=k.getState();return Po(t,re.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var ko=class extends ct{async listMyBookmarks(){let t=k.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var Jd="ft-user-assets",Ut=Do.FtReduxStore.get({name:Jd,initialState:{savedSearches:void 0,bookmarks:void 0}}),Jn=class{constructor(){this.currentSession=k.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ko,this.savedSearchesService=new _o,k.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=k.getState();(0,Do.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ut.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ut.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Ut.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}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;Ut.actions.bookmarks(o)}}},ea=new Jn;var ta=class{addCommand(t,o=!1){k.commands.add(t,o)}consumeCommand(t){return k.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new ta;var il=b(L()),ra=class{highlightHtml(t,o,n){(0,il.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new ra;var sl=b(L());var oa=class{isDate(t){var o,n,a,i;return(i=(a=((n=(o=k.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,o){var n,a,i;return sl.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:k.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new oa;var cl=b(L());var Mt=class{static get(t,o){var n,a,i,c;let d=k.getState(),{lang:u,region:p}=(a=(n=d.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new cl.SearchPlaceConverter(d.baseUrl,(c=(i=window.FluidTopicsClientConfiguration)===null||i===void 0?void 0:i.predefinedSorts)!==null&&c!==void 0?c:{},t??20,d.searchInAllLanguagesAllowed,o??`${u}-${p}`)}};var na=class{urlToSearchRequest(t){return Mt.get().parse(t)}searchRequestToUrl(t){return Mt.get().serialize(t)}};window.FluidTopicsUrlService=new na;var wt=b(L());var Wt=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Wt.eventName="change";var aa=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))}},ll=new aa;var Bo=class e extends wt.WithEventBus{static build(){return new e(window.history,ll,()=>window.location,!1)}constructor(t,o,n,a){var i,c;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(c=(i=t.state)===null||i===void 0?void 0:i.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,wt.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Wt(this.currentItem())),0)}installProxies(){let t=o=>(n,a,[i,c,d])=>{let u=o(),p={...u===this.currentIndex?this.currentState:void 0,...i,index:u,href:typeof d=="string"?d:(d??this.windowLocation()).href};n.apply(a,[p,c,d]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(Wt.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Wt.eventName,t)}currentItem(){return(0,wt.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,wt.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,wt.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,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,n);)this.hasState(i)&&(a=i),i++;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,i=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Bo.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)});(0,dl.customElement)("ft-app-context")(ee);var Rl=b(pl());var yl=b(L()),ml=b(oe());var $o=b(L());var fl=b(L());var ia=class e extends Event{constructor(){super(e.eventName)}};ia.eventName="search-context-clear-all-filters";var eu=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ca=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},hl=Symbol("registerInterval"),sa=Symbol("registerAttempts"),tu=40;function ru(e){class t extends e{setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[sa]=0,this[hl]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[sa]>tu?window.clearInterval(this[hl]):(this[sa]++,this.dispatchEvent(new ca))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return eu([(0,ml.state)()],t.prototype,"stateManager",void 0),t}var Fo=class extends ru(yl.FtLitElementRedux){};var wl=b(L());var zo=b(G()),Go=b(oe()),jo=b(L());var gl=b(G());var bl=gl.css`
|
|
1594
|
-
`;var Wo=b(L());var
|
|
1597
|
+
`}update(t){var o,n,a,i,c;super.update(t),t.has("baseUrl")&&(k.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&k.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&k.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&k.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&k.actions.noCustom(this.noCustom),t.has("editorMode")&&k.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&k.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&k.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(d=>cr.addContext(d)),t.has("openExternalDocumentInNewTab")&&k.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&k.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&k.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(k.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),k.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),k.actions.searchInAllLanguagesAllowed((c=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&c!==void 0?c:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}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())}};ee.elementDefinitions={};ee.styles=Us;ge([(0,Ne.property)()],ee.prototype,"baseUrl",void 0);ge([(0,Ne.property)()],ee.prototype,"apiIntegrationIdentifier",void 0);ge([(0,Ne.property)()],ee.prototype,"uiLocale",void 0);ge([(0,Ge.jsonProperty)(null)],ee.prototype,"availableUiLocales",void 0);ge([(0,Ge.jsonProperty)(null)],ee.prototype,"metadataConfiguration",void 0);ge([(0,Ne.property)({type:Boolean})],ee.prototype,"editorMode",void 0);ge([(0,Ne.property)({type:Boolean})],ee.prototype,"noCustom",void 0);ge([(0,Ne.property)({type:Boolean})],ee.prototype,"openExternalDocumentInNewTab",void 0);ge([(0,Ne.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],ee.prototype,"noCustomComponent",void 0);ge([(0,Ne.property)({type:Boolean})],ee.prototype,"withManualResources",void 0);ge([(0,Ne.property)({type:Boolean})],ee.prototype,"navigatorOnline",void 0);ge([(0,Ne.property)({type:Boolean})],ee.prototype,"forcedOffline",void 0);ge([(0,Ne.property)({type:Object})],ee.prototype,"apiProvider",void 0);ge([(0,Ge.jsonProperty)([])],ee.prototype,"messageContexts",void 0);ge([(0,Ge.jsonProperty)(void 0)],ee.prototype,"session",void 0);ge([(0,Ne.state)()],ee.prototype,"localesConfiguration",void 0);var Qd=b(oe());function pd(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,a;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!bo(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(!bo(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 i=c=>Object.keys(c).filter(d=>c[d]!=null);if(a=i(e),o=a.length,o!==i(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(!bo(e[c],t[c]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function bo(e,t){try{return pd(e,t)}catch{return!1}}function xo(e,t){return!bo(e,t)}var fd=b(oe(),1);var vo=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 lr=b(oe(),1);var Hs=b(oe(),1);function zs(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,Hs.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:xo,...t??{}})}var So=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,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(d){a(d);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var js=b(G(),1);var Oo=globalThis,hd=Oo.ShadowRoot&&(Oo.ShadyCSS===void 0||Oo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,rx=Symbol();var Gs=(e,t)=>{if(hd)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=Oo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var Co=class extends js.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Gs(n,t.elementStyles),n}};function Vs(e,t,...o){var n;let a=e.querySelector(t);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var kr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Ys,Ks=Symbol("constructorPrototype"),Zs=Symbol("constructorName"),Xs=Symbol("exportpartsDebouncer"),qs=Symbol("dynamicDependenciesLoaded"),lt=class extends Co{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ys]=new So(5),this[Zs]=this.constructor.name,this[Ks]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Zs]&&Object.setPrototypeOf(this,this[Ks])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let t=this.constructor;t[qs]||(t[qs]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];o=Vs(this.shadowRoot,...i)}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(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}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[Xs].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var o,n,a,i,c,d;let u=g=>g!=null&&g.trim().length>0,p=t.filter(u).map(g=>g.trim());if(p.length===0){this.removeAttribute("exportparts");return}let m=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],v=(d=(c=g.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(C=>C.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...S,...v).filter(u).map(C=>C.trim()).forEach(C=>m.add(C))}if(m.size===0){this.removeAttribute("exportparts");return}let y=[...m.values()].flatMap(g=>p.map(S=>`${g}:${S}--${g}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};Ys=Xs;kr([(0,lr.property)()],lt.prototype,"exportpartsPrefix",void 0);kr([zs([])],lt.prototype,"exportpartsPrefixes",void 0);kr([(0,lr.property)()],lt.prototype,"customStylesheet",void 0);kr([(0,lr.property)()],lt.prototype,"elementToFocus",void 0);kr([(0,lr.state)()],lt.prototype,"useAdoptedStyleSheets",void 0);function Dr(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Qs,Js,ec,Br=Symbol("internalReduxEventsUnsubscribers"),xt=Symbol("internalStoresUnsubscribers"),Bt=Symbol("internalStores"),$r=class extends lt{constructor(){super(...arguments),this[Qs]=new Map,this[Js]=new Map,this[ec]=new Map}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Bt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Bt].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Bt].get(t)}addStore(t,o){var n;o=(n=o??(Dr(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[Bt].set(o,t),this.subscribeToStore(o,t),this.updateFromStores()}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[Bt].delete(o)}setupStores(){this.unsubscribeFromStores(),this[Bt].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(t.store);a&&(t.store?this[xt].has(t.store):this[xt].size>0)&&(this[o]=t.selector(a.getState(),this))}})}subscribeToStore(t,o){var n;this[xt].set(t,o.subscribe(()=>this.updateFromStores())),this[Br].set(t,[]),Dr(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let c=d=>this[i](d);o.addEventListener(a.eventName,c),this[Br].get(t).push(()=>o.removeEventListener(a.eventName,c))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[xt].forEach((t,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(t){var o;this[xt].has(t)&&this[xt].get(t)(),this[xt].delete(t),(o=this[Br].get(t))===null||o===void 0||o.forEach(n=>n()),this[Br].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Qs=xt,Js=Bt,ec=Br;$r.reduxProperties=new Map;$r.reduxReactiveProperties=new Set;$r.reduxEventListeners=new Map;function $e(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,i;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 dt(e){return!!e&&!!e[Y]}function je(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)===Od}(e)||Array.isArray(e)||!!e[sc]||!!(!((t=e.constructor)===null||t===void 0)&&t[sc])||Fn(e)||Un(e))}function $t(e,t,o){o===void 0&&(o=!1),pr(e)===0?(o?Object.keys:ur)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function pr(e){var t=e[Y];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Fn(e)?2:Un(e)?3:0}function dr(e,t){return pr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function yd(e,t){return pr(e)===2?e.get(t):e[t]}function cc(e,t,o){var n=pr(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function lc(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Fn(e){return vd&&e instanceof Map}function Un(e){return Sd&&e instanceof Set}function vt(e){return e.o||e.t}function Mn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=pc(e);delete t[Y];for(var o=ur(t),n=0;n<o.length;n++){var a=o[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Wn(e,t){return t===void 0&&(t=!1),Hn(e)||dt(e)||!je(e)||(pr(e)>1&&(e.set=e.add=e.clear=e.delete=md),Object.freeze(e),t&&$t(e,function(o,n){return Wn(n,!0)},!0)),e}function md(){$e(2)}function Hn(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function et(e){var t=$n[e];return t||$e(18,e),t}function gd(e,t){$n[e]||($n[e]=t)}function kn(){return Ur}function Ln(e,t){t&&(et("Patches"),e.u=[],e.s=[],e.v=t)}function Eo(e){Dn(e),e.p.forEach(bd),e.p=null}function Dn(e){e===Ur&&(Ur=e.l)}function tc(e){return Ur={p:[],l:Ur,h:e,m:!0,_:0}}function bd(e){var t=e[Y];t.i===0||t.i===1?t.j():t.g=!0}function In(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||et("ES5").S(t,e,n),n?(o[Y].P&&(Eo(t),$e(4)),je(e)&&(e=wo(t,e),t.l||Ao(t,e)),t.u&&et("Patches").M(o[Y].t,e,t.u,t.s)):e=wo(t,o,[]),Eo(t),t.u&&t.v(t.u,t.s),e!==uc?e:void 0}function wo(e,t,o){if(Hn(t))return t;var n=t[Y];if(!n)return $t(t,function(d,u){return rc(e,n,t,d,u,o)},!0),t;if(n.A!==e)return t;if(!n.P)return Ao(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Mn(n.k):n.o,i=a,c=!1;n.i===3&&(i=new Set(a),a.clear(),c=!0),$t(i,function(d,u){return rc(e,n,a,d,u,o,c)}),Ao(e,a,!1),o&&e.u&&et("Patches").N(n,o,e.u,e.s)}return n.o}function rc(e,t,o,n,a,i,c){if(dt(a)){var d=wo(e,a,i&&t&&t.i!==3&&!dr(t.R,n)?i.concat(n):void 0);if(cc(o,n,d),!dt(d))return;e.m=!1}else c&&o.add(a);if(je(a)&&!Hn(a)){if(!e.h.D&&e._<1)return;wo(e,a),t&&t.A.l||Ao(e,a)}}function Ao(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Wn(t,o)}function Pn(e,t){var o=e[Y];return(o?vt(o):e)[t]}function oc(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 St(e){e.P||(e.P=!0,e.l&&St(e.l))}function _n(e){e.o||(e.o=Mn(e.t))}function Bn(e,t,o){var n=Fn(t)?et("MapSet").F(t,o):Un(t)?et("MapSet").T(t,o):e.O?function(a,i){var c=Array.isArray(a),d={i:c?1:0,A:i?i.A:kn(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},u=d,p=Mr;c&&(u=[d],p=Fr);var m=Proxy.revocable(u,p),y=m.revoke,g=m.proxy;return d.k=g,d.j=y,g}(t,o):et("ES5").J(t,o);return(o?o.A:kn()).p.push(n),n}function xd(e){return dt(e)||$e(22,e),function t(o){if(!je(o))return o;var n,a=o[Y],i=pr(o);if(a){if(!a.P&&(a.i<4||!et("ES5").K(a)))return a.t;a.I=!0,n=nc(o,i),a.I=!1}else n=nc(o,i);return $t(n,function(c,d){a&&yd(a.t,c)===d||cc(n,c,t(d))}),i===3?new Set(n):n}(e)}function nc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Mn(e)}function dc(){function e(c,d){var u=i[c];return u?u.enumerable=d:i[c]=u={configurable:!0,enumerable:d,get:function(){var p=this[Y];return Mr.get(p,c)},set:function(p){var m=this[Y];Mr.set(m,c,p)}},u}function t(c){for(var d=c.length-1;d>=0;d--){var u=c[d][Y];if(!u.P)switch(u.i){case 5:n(u)&&St(u);break;case 4:o(u)&&St(u)}}}function o(c){for(var d=c.t,u=c.k,p=ur(u),m=p.length-1;m>=0;m--){var y=p[m];if(y!==Y){var g=d[y];if(g===void 0&&!dr(d,y))return!0;var S=u[y],v=S&&S[Y];if(v?v.t!==g:!lc(S,g))return!0}}var C=!!d[Y];return p.length!==ur(d).length+(C?0:1)}function n(c){var d=c.k;if(d.length!==c.t.length)return!0;var u=Object.getOwnPropertyDescriptor(d,d.length-1);if(u&&!u.get)return!0;for(var p=0;p<d.length;p++)if(!d.hasOwnProperty(p))return!0;return!1}function a(c){c.g&&$e(3,JSON.stringify(vt(c)))}var i={};gd("ES5",{J:function(c,d){var u=Array.isArray(c),p=function(y,g){if(y){for(var S=Array(g.length),v=0;v<g.length;v++)Object.defineProperty(S,""+v,e(v,!0));return S}var C=pc(g);delete C[Y];for(var T=ur(C),R=0;R<T.length;R++){var N=T[R];C[N]=e(N,y||!!C[N].enumerable)}return Object.create(Object.getPrototypeOf(g),C)}(u,c),m={i:u?5:4,A:d?d.A:kn(),P:!1,I:!1,R:{},l:d,t:c,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,Y,{value:m,writable:!0}),p},S:function(c,d,u){u?dt(d)&&d[Y].A===c&&t(c.p):(c.u&&function p(m){if(m&&typeof m=="object"){var y=m[Y];if(y){var g=y.t,S=y.k,v=y.R,C=y.i;if(C===4)$t(S,function(U){U!==Y&&(g[U]!==void 0||dr(g,U)?v[U]||p(S[U]):(v[U]=!0,St(y)))}),$t(g,function(U){S[U]!==void 0||dr(S,U)||(v[U]=!1,St(y))});else if(C===5){if(n(y)&&(St(y),v.length=!0),S.length<g.length)for(var T=S.length;T<g.length;T++)v[T]=!1;else for(var R=g.length;R<S.length;R++)v[R]=!0;for(var N=Math.min(S.length,g.length),B=0;B<N;B++)S.hasOwnProperty(B)||(v[B]=!0),v[B]===void 0&&p(S[B])}}}}(c.p[0]),t(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var ac,Ur,zn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",vd=typeof Map<"u",Sd=typeof Set<"u",ic=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",uc=zn?Symbol.for("immer-nothing"):((ac={})["immer-nothing"]=!0,ac),sc=zn?Symbol.for("immer-draftable"):"__$immer_draftable",Y=zn?Symbol.for("immer-state"):"__$immer_state";var Od=""+Object.prototype.constructor,ur=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,pc=Object.getOwnPropertyDescriptors||function(e){var t={};return ur(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},$n={},Mr={get:function(e,t){if(t===Y)return e;var o=vt(e);if(!dr(o,t))return function(a,i,c){var d,u=oc(i,c);return u?"value"in u?u.value:(d=u.get)===null||d===void 0?void 0:d.call(a.k):void 0}(e,o,t);var n=o[t];return e.I||!je(n)?n:n===Pn(e.t,t)?(_n(e),e.o[t]=Bn(e.A.h,n,e)):n},has:function(e,t){return t in vt(e)},ownKeys:function(e){return Reflect.ownKeys(vt(e))},set:function(e,t,o){var n=oc(vt(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=Pn(vt(e),t),i=a?.[Y];if(i&&i.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(lc(o,a)&&(o!==void 0||dr(e.t,t)))return!0;_n(e),St(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 Pn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,_n(e),St(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=vt(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){$e(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){$e(12)}},Fr={};$t(Mr,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 Mr.set.call(this,e[0],t,o,e[0])};var Cd=function(){function e(o){var n=this;this.O=ic,this.D=!0,this.produce=function(a,i,c){if(typeof a=="function"&&typeof i!="function"){var d=i;i=a;var u=n;return function(C){var T=this;C===void 0&&(C=d);for(var R=arguments.length,N=Array(R>1?R-1:0),B=1;B<R;B++)N[B-1]=arguments[B];return u.produce(C,function(U){var W;return(W=i).call.apply(W,[T,U].concat(N))})}}var p;if(typeof i!="function"&&$e(6),c!==void 0&&typeof c!="function"&&$e(7),je(a)){var m=tc(n),y=Bn(n,a,void 0),g=!0;try{p=i(y),g=!1}finally{g?Eo(m):Dn(m)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(C){return Ln(m,c),In(C,m)},function(C){throw Eo(m),C}):(Ln(m,c),In(p,m))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===uc&&(p=void 0),n.D&&Wn(p,!0),c){var S=[],v=[];et("Patches").M(a,p,S,v),c(S,v)}return p}$e(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(p){for(var m=arguments.length,y=Array(m>1?m-1:0),g=1;g<m;g++)y[g-1]=arguments[g];return n.produceWithPatches(p,function(S){return a.apply(void 0,[S].concat(y))})};var c,d,u=n.produce(a,i,function(p,m){c=p,d=m});return typeof Promise<"u"&&u instanceof Promise?u.then(function(p){return[p,c,d]}):[u,c,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){je(o)||$e(8),dt(o)&&(o=xd(o));var n=tc(this),a=Bn(this,o,void 0);return a[Y].C=!0,Dn(n),a},t.finishDraft=function(o,n){var a=o&&o[Y],i=a.A;return Ln(i,n),In(void 0,i)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!ic&&$e(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var c=et("Patches").$;return dt(o)?c(o,n):this.produce(o,function(d){return c(d,n)})},e}(),Ie=new Cd,Ed=Ie.produce,mx=Ie.produceWithPatches.bind(Ie),gx=Ie.setAutoFreeze.bind(Ie),bx=Ie.setUseProxies.bind(Ie),xx=Ie.applyPatches.bind(Ie),vx=Ie.createDraft.bind(Ie),Sx=Ie.finishDraft.bind(Ie),Ro=Ed;function Ft(e){"@babel/helpers - typeof";return Ft=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},Ft(e)}function fc(e,t){if(Ft(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(Ft(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function hc(e){var t=fc(e,"string");return Ft(t)=="symbol"?t:t+""}function yc(e,t,o){return(t=hc(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function mc(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 Gn(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?mc(Object(o),!0).forEach(function(n){yc(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):mc(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function be(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 gc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),jn=function(){return Math.random().toString(36).substring(7).split("").join(".")},No={INIT:"@@redux/INIT"+jn(),REPLACE:"@@redux/REPLACE"+jn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+jn()}};function wd(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 Vn(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(be(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(be(1));return o(Vn)(e,t)}if(typeof e!="function")throw new Error(be(2));var a=e,i=t,c=[],d=c,u=!1;function p(){d===c&&(d=c.slice())}function m(){if(u)throw new Error(be(3));return i}function y(C){if(typeof C!="function")throw new Error(be(4));if(u)throw new Error(be(5));var T=!0;return p(),d.push(C),function(){if(T){if(u)throw new Error(be(6));T=!1,p();var N=d.indexOf(C);d.splice(N,1),c=null}}}function g(C){if(!wd(C))throw new Error(be(7));if(typeof C.type>"u")throw new Error(be(8));if(u)throw new Error(be(9));try{u=!0,i=a(i,C)}finally{u=!1}for(var T=c=d,R=0;R<T.length;R++){var N=T[R];N()}return C}function S(C){if(typeof C!="function")throw new Error(be(10));a=C,g({type:No.REPLACE})}function v(){var C,T=y;return C={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(be(11));function B(){N.next&&N.next(m())}B();var U=T(B);return{unsubscribe:U}}},C[gc]=function(){return this},C}return g({type:No.INIT}),n={dispatch:g,subscribe:y,getState:m,replaceReducer:S},n[gc]=v,n}function Ad(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:No.INIT});if(typeof n>"u")throw new Error(be(12));if(typeof o(void 0,{type:No.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(be(13))})}function bc(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 i=Object.keys(o),c,d;try{Ad(o)}catch(u){d=u}return function(p,m){if(p===void 0&&(p={}),d)throw d;if(0)var y;for(var g=!1,S={},v=0;v<i.length;v++){var C=i[v],T=o[C],R=p[C],N=T(R,m);if(typeof N>"u"){var B=m&&m.type;throw new Error(be(14))}S[C]=N,g=g||N!==R}return g=g||i.length!==Object.keys(p).length,g?S:p}}function fr(){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 xc(){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),i=function(){throw new Error(be(15))},c={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},d=t.map(function(u){return u(c)});return i=fr.apply(void 0,d)(a.dispatch),Gn(Gn({},a),{},{dispatch:i})}}}function vc(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(c){return function(d){return typeof d=="function"?d(a,i,e):c(d)}}};return t}var Sc=vc();Sc.withExtraArgument=vc;var Kn=Sc;var Ac=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},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)}}(),Rd=function(e,t){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,c;return c={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function d(p){return function(m){return u([p,m])}}function u(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=p[0]&2?a.return:p[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,p[1])).done)return i;switch(a=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=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(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){o.label=p[1];break}if(p[0]===6&&o.label<i[1]){o.label=i[1],i=p;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(p);break}i[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(m){p=[6,m],a=0}finally{n=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},hr=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},Nd=Object.defineProperty,Td=Object.defineProperties,Ld=Object.getOwnPropertyDescriptors,Oc=Object.getOwnPropertySymbols,Id=Object.prototype.hasOwnProperty,Pd=Object.prototype.propertyIsEnumerable,Cc=function(e,t,o){return t in e?Nd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},Ot=function(e,t){for(var o in t||(t={}))Id.call(t,o)&&Cc(e,o,t[o]);if(Oc)for(var n=0,a=Oc(t);n<a.length;n++){var o=a[n];Pd.call(t,o)&&Cc(e,o,t[o])}return e},Zn=function(e,t){return Td(e,Ld(t))},_d=function(e,t,o){return new Promise(function(n,a){var i=function(u){try{d(o.next(u))}catch(p){a(p)}},c=function(u){try{d(o.throw(u))}catch(p){a(p)}},d=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(i,c)};d((o=o.apply(e,t)).next())})};var kd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?fr:fr.apply(null,arguments)},Ux=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Dd(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 Bd=function(e){Ac(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,hr([void 0],o[0].concat(this)))):new(t.bind.apply(t,hr([void 0],o.concat(this))))},t}(Array),$d=function(e){Ac(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,hr([void 0],o[0].concat(this)))):new(t.bind.apply(t,hr([void 0],o.concat(this))))},t}(Array);function Xn(e){return je(e)?Ro(e,function(){}):e}function Fd(e){return typeof e=="boolean"}function Ud(){return function(t){return Md(t)}}function Md(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,c=i===void 0?!0:i,d=new Bd;if(o&&(Fd(o)?d.push(Kn):d.push(Kn.withExtraArgument(o.extraArgument))),0){if(a)var u;if(c)var p}return d}var qn=!0;function Rc(e){var t=Ud(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,c=i===void 0?t():i,d=o.devTools,u=d===void 0?!0:d,p=o.preloadedState,m=p===void 0?void 0:p,y=o.enhancers,g=y===void 0?void 0:y,S;if(typeof a=="function")S=a;else if(Dd(a))S=bc(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 v=c;if(typeof v=="function"&&(v=v(t),!qn&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!qn&&v.some(function(U){return typeof U!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=xc.apply(void 0,v),T=fr;u&&(T=kd(Ot({trace:!qn},typeof u=="object"&&u)));var R=new $d(C),N=R;Array.isArray(g)?N=hr([C],g):typeof g=="function"&&(N=g(R));var B=T.apply(void 0,N);return Vn(S,m,B)}function Ct(e,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Ot(Ot({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.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 Nc(e){var t={},o=[],n,a={addCase:function(i,c){var d=typeof i=="string"?i:i.type;if(d in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[d]=c,a},addMatcher:function(i,c){return o.push({matcher:i,reducer:c}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,o,n]}function Wd(e){return typeof e=="function"}function Hd(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?Nc(t):[t,o,n],i=a[0],c=a[1],d=a[2],u;if(Wd(e))u=function(){return Xn(e())};else{var p=Xn(e);u=function(){return p}}function m(y,g){y===void 0&&(y=u());var S=hr([i[g.type]],c.filter(function(v){var C=v.matcher;return C(g)}).map(function(v){var C=v.reducer;return C}));return S.filter(function(v){return!!v}).length===0&&(S=[d]),S.reduce(function(v,C){if(C)if(dt(v)){var T=v,R=C(T,g);return R===void 0?v:R}else{if(je(v))return Ro(v,function(N){return C(N,g)});var R=C(v,g);if(R===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return v},y)}return m.getInitialState=u,m}function zd(e,t){return e+"/"+t}function Tc(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:Xn(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},c={},d={};a.forEach(function(m){var y=n[m],g=zd(t,m),S,v;"reducer"in y?(S=y.reducer,v=y.prepare):S=y,i[m]=S,c[g]=S,d[m]=v?Ct(g,v):Ct(g)});function u(){var m=typeof e.extraReducers=="function"?Nc(e.extraReducers):[e.extraReducers],y=m[0],g=y===void 0?{}:y,S=m[1],v=S===void 0?[]:S,C=m[2],T=C===void 0?void 0:C,R=Ot(Ot({},g),c);return Hd(o,function(N){for(var B in R)N.addCase(B,R[B]);for(var U=0,W=v;U<W.length;U++){var Oe=W[U];N.addMatcher(Oe.matcher,Oe.reducer)}T&&N.addDefaultCase(T)})}var p;return{name:t,reducer:function(m,y){return p||(p=u()),p(m,y)},actions:d,caseReducers:i,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var Gd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",jd=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Gd[Math.random()*64|0];return t},Vd=["name","message","stack","code"],Yn=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Ec=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Kd=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Vd;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},zx=function(){function e(t,o,n){var a=Ct(t+"/fulfilled",function(m,y,g,S){return{payload:m,meta:Zn(Ot({},S||{}),{arg:g,requestId:y,requestStatus:"fulfilled"})}}),i=Ct(t+"/pending",function(m,y,g){return{payload:void 0,meta:Zn(Ot({},g||{}),{arg:y,requestId:m,requestStatus:"pending"})}}),c=Ct(t+"/rejected",function(m,y,g,S,v){return{payload:S,error:(n&&n.serializeError||Kd)(m||"Rejected"),meta:Zn(Ot({},v||{}),{arg:g,requestId:y,rejectedWithValue:!!S,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),d=!1,u=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function p(m){return function(y,g,S){var v=n?.idGenerator?n.idGenerator(m):jd(),C=new u,T,R=!1;function N(U){T=U,C.abort()}var B=function(){return _d(this,null,function(){var U,W,Oe,Ze,xe,qe,pe;return Rd(this,function(h){switch(h.label){case 0:return h.trys.push([0,4,,5]),Ze=(U=n?.condition)==null?void 0:U.call(n,m,{getState:g,extra:S}),qd(Ze)?[4,Ze]:[3,2];case 1:Ze=h.sent(),h.label=2;case 2:if(Ze===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,xe=new Promise(function(x,_){return C.signal.addEventListener("abort",function(){return _({name:"AbortError",message:T||"Aborted"})})}),y(i(v,m,(W=n?.getPendingMeta)==null?void 0:W.call(n,{requestId:v,arg:m},{getState:g,extra:S}))),[4,Promise.race([xe,Promise.resolve(o(m,{dispatch:y,getState:g,extra:S,requestId:v,signal:C.signal,abort:N,rejectWithValue:function(x,_){return new Yn(x,_)},fulfillWithValue:function(x,_){return new Ec(x,_)}})).then(function(x){if(x instanceof Yn)throw x;return x instanceof Ec?a(x.payload,v,m,x.meta):a(x,v,m)})])];case 3:return Oe=h.sent(),[3,5];case 4:return qe=h.sent(),Oe=qe instanceof Yn?c(null,v,m,qe.payload,qe.meta):c(qe,v,m),[3,5];case 5:return pe=n&&!n.dispatchConditionRejection&&c.match(Oe)&&Oe.meta.condition,pe||y(Oe),[2,Oe]}})})}();return Object.assign(B,{abort:N,requestId:v,arg:m,unwrap:function(){return B.then(Zd)}})}}return Object.assign(p,{pending:i,rejected:c,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Zd(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function qd(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Lc="listener",Ic="completed",Pc="cancelled",Gx="task-"+Pc,jx="task-"+Ic,Vx=Lc+"-"+Pc,Kx=Lc+"-"+Ic;var Qn="listenerMiddleware";var Zx=Ct(Qn+"/add"),qx=Ct(Qn+"/removeAll"),Yx=Ct(Qn+"/remove");var wc,Xx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(wc||(wc=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Yd=function(e){return function(t){setTimeout(t,e)}},Qx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Yd(10);dc();function Xd(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)}}}var To=class extends Xd(Object){};window.ftReduxStores||(window.ftReduxStores={});var _c=class e extends To{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(Dr(i))return i;if(a==null)return;let c=Tc({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),d=Rc({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,d,a.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new vo;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,c,d)=>{let u=c,p=i[u];return p?(...m)=>{let y=p(...m.map(a));return this.reduxStore.dispatch(y),y}:m=>{this.setState({[u]:a(m)})}}}),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 Do=b(L());var eu=b(Dc(),1);var Bc;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Bc||(Bc={}));var $c;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})($c||($c={}));var Fc;(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.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})(Fc||(Fc={}));var Uc;(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.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})(Uc||(Uc={}));var Mc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Mc||(Mc={}));var Wc;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Wc||(Wc={}));var Hc;(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.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",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.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",e.GEN_AI__RATE="GEN_AI__RATE",e.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",e.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_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__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"})(Hc||(Hc={}));var zc;(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"})(zc||(zc={}));var Gc;(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"})(Gc||(Gc={}));var jc;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(jc||(jc={}));var Vc;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Vc||(Vc={}));var Kc;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Kc||(Kc={}));var Zc;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Zc||(Zc={}));var qc;(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"})(qc||(qc={}));var Yc;(function(e){e.ASC="ASC",e.DESC="DESC"})(Yc||(Yc={}));var Xc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Xc||(Xc={}));var Wr;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Wr||(Wr={}));var Qc;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Qc||(Qc={}));var Jc;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Jc||(Jc={}));var el;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(el||(el={}));var mr;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(mr||(mr={}));var tl;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(tl||(tl={}));var Hr;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Hr||(Hr={}));var re;(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.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(re||(re={}));var rl;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(rl||(rl={}));var ol;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(ol||(ol={}));var nl;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(nl||(nl={}));var al;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(al||(al={}));var Jd={[re.PERSONAL_BOOK_SHARE_USER]:[re.PERSONAL_BOOK_USER],[re.HTML_EXPORT_USER]:[re.PERSONAL_BOOK_USER],[re.PDF_EXPORT_USER]:[re.PERSONAL_BOOK_USER],[re.KHUB_ADMIN]:[re.CONTENT_PUBLISHER],[re.ADMIN]:[re.KHUB_ADMIN,re.USERS_ADMIN,re.PORTAL_ADMIN],[re.GENERATIVE_AI_EXPORT_USER]:[re.GENERATIVE_AI_USER]};function il(e,t){return e===t||(Jd[e]??[]).some(o=>il(o,t))}function Po(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=>il(n,t))}var _o=class extends ct{async listMySearches(){let{session:t}=k.getState();return Po(t,re.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var ko=class extends ct{async listMyBookmarks(){let t=k.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var tu="ft-user-assets",Ut=Do.FtReduxStore.get({name:tu,initialState:{savedSearches:void 0,bookmarks:void 0}}),Jn=class{constructor(){this.currentSession=k.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ko,this.savedSearchesService=new _o,k.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=k.getState();(0,Do.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ut.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ut.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Ut.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}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;Ut.actions.bookmarks(o)}}},ea=new Jn;var ta=class{addCommand(t,o=!1){k.commands.add(t,o)}consumeCommand(t){return k.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new ta;var sl=b(L()),ra=class{highlightHtml(t,o,n){(0,sl.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new ra;var cl=b(L());var oa=class{isDate(t){var o,n,a,i;return(i=(a=((n=(o=k.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,o){var n,a,i;return cl.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:k.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new oa;var ll=b(L());var Mt=class{static get(t,o){var n,a,i,c;let d=k.getState(),{lang:u,region:p}=(a=(n=d.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new ll.SearchPlaceConverter(d.baseUrl,(c=(i=window.FluidTopicsClientConfiguration)===null||i===void 0?void 0:i.predefinedSorts)!==null&&c!==void 0?c:{},t??20,d.searchInAllLanguagesAllowed,o??`${u}-${p}`)}};var na=class{urlToSearchRequest(t){return Mt.get().parse(t)}searchRequestToUrl(t){return Mt.get().serialize(t)}};window.FluidTopicsUrlService=new na;var wt=b(L());var Wt=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Wt.eventName="change";var aa=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))}},dl=new aa;var Bo=class e extends wt.WithEventBus{static build(){return new e(window.history,dl,()=>window.location,!1)}constructor(t,o,n,a){var i,c;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(c=(i=t.state)===null||i===void 0?void 0:i.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,wt.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Wt(this.currentItem())),0)}installProxies(){let t=o=>(n,a,[i,c,d])=>{let u=o(),p={...u===this.currentIndex?this.currentState:void 0,...i,index:u,href:typeof d=="string"?d:(d??this.windowLocation()).href};n.apply(a,[p,c,d]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(Wt.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Wt.eventName,t)}currentItem(){return(0,wt.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,wt.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,wt.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,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,n);)this.hasState(i)&&(a=i),i++;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,i=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Bo.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)});(0,ul.customElement)("ft-app-context")(ee);var Nl=b(fl());var ml=b(L()),gl=b(oe());var $o=b(L());var hl=b(L());var ia=class e extends Event{constructor(){super(e.eventName)}};ia.eventName="search-context-clear-all-filters";var ru=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ca=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},yl=Symbol("registerInterval"),sa=Symbol("registerAttempts"),ou=40;function nu(e){class t extends e{setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[sa]=0,this[yl]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[sa]>ou?window.clearInterval(this[yl]):(this[sa]++,this.dispatchEvent(new ca))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return ru([(0,gl.state)()],t.prototype,"stateManager",void 0),t}var Fo=class extends nu(ml.FtLitElementRedux){};var Al=b(L());var zo=b(G()),Go=b(oe()),jo=b(L());var bl=b(G());var xl=bl.css`
|
|
1598
|
+
`;var Wo=b(L());var El=b(oe());var au=b(L());function vl(e){return e.match(/^[\w-]+\.[\w-]+$/)}var iu=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Sl=Symbol("i18nAttributes"),Ol=Symbol("i18nListAttributes"),wl=Symbol("i18nProperties"),Uo=Symbol("i18nContexts"),zr=Symbol("i18nUnsubs");function Ho(e){var t,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[o]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?go:cr}i18n(i){var c;this.hasI18nContext(i.context)||this.addI18nContext(i.context,void 0,i.custom);let d=(c=i.args)!==null&&c!==void 0?c:i.argsProvider?i.argsProvider(this):[];return this.getI18nService(i.custom).resolveMessage(i.context,i.key,...d)}customI18n(i,c){if(vl(i)){let[d,u]=i.split(".");return this.i18n({custom:!0,context:d,key:u,...c})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((c,d,u)=>i.has(d)||typeof c.argsProvider=="function"),this.updateI18nProperties(c=>typeof c.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((c,d,u)=>{var p;return((p=u?.context)===null||p===void 0?void 0:p.toLowerCase())===i}),this.updateI18nProperties(c=>c.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var c,d;let u=this,p=(m,y,g)=>g?.context&&g.key&&i(m,y,g)?{...g,message:this.i18n({context:g.context,key:g.key,...m})}:g;(c=this[Sl])===null||c===void 0||c.forEach((m,y)=>u[y]=p(m,y,u[y])),(d=this[Ol])===null||d===void 0||d.forEach((m,y)=>{var g;return u[y]=(g=u[y])===null||g===void 0?void 0:g.map(S=>p(m,y,S))})}updateI18nProperties(i){var c;(c=this[wl])===null||c===void 0||c.forEach((d,u)=>{i(d,u)&&(this[u]=this.i18n(d))})}addI18nMessages(i,c,d){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,c,d)}addI18nContext(i,c,d){let u=(typeof i=="string"?i:i.name).toLowerCase();d=typeof i=="string"?d:i.custom,this[Uo].set(u,{isCustomContext:d}),this[zr].has(u)||this[zr].set(u,this.getI18nService(d).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(d).prepareContext(u,c)}hasI18nContext(i){return this[Uo].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Uo].forEach((i,c)=>this.addI18nContext(c,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[zr].forEach(i=>i()),this[zr].clear()}}return t=Uo,o=zr,iu([(0,El.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var Cl=class extends Ho(Wo.FtLitElement){},Mo=class extends Ho(Wo.FtLitElementRedux){};var Gr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Ve=class extends Mo{constructor(){super(),this.editorMode=!1,this.addStore(k)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":zo.nothing:zo.html`
|
|
1595
1599
|
<span class="ft-i18n">
|
|
1596
1600
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
1597
1601
|
</span>
|
|
1598
|
-
`}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Ve.elementDefinitions={};Ve.styles=
|
|
1602
|
+
`}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Ve.elementDefinitions={};Ve.styles=xl;Gr([(0,jo.redux)()],Ve.prototype,"editorMode",void 0);Gr([(0,Go.property)()],Ve.prototype,"context",void 0);Gr([(0,Go.property)()],Ve.prototype,"key",void 0);Gr([(0,jo.jsonProperty)([])],Ve.prototype,"args",void 0);Gr([(0,Go.property)()],Ve.prototype,"defaultMessage",void 0);var Vo=class e{static build(t){return new e(t)}static buildCustom(t){return new e(t,!0)}static fromGwt(t){return new e(t)}get service(){return this.custom?go:cr}constructor(t,o=!1){this.name=t,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return c=>({context:this.name,key:i,custom:this.custom,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)})}};(0,Al.customElement)("ft-i18n")(Ve);var le=Vo.build("savedSearchesComponent"),Rl={keywords:"Keywords",language:"Language",sort:"Sort",period:"Period",relevance:"Relevance",lastUpdate:"Last update",lastWeek:"Less than one week",lastMonth:"Less than one month",lastYear:"Less than one year",customPeriod:"Custom period",search:"Search",in:"In",titles:"Titles",resultsType:"Results type",documentsOnly:"Documents only",groupLabel:"Saved searches"};var Ht=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Pe=class extends Ho(Fo){constructor(){super(),this.showDescription=!1,this.showSearchFilters=!1,this.showSearchButton=!1,this.showAlertStatus=!1,this.requiredRole=re.SAVED_SEARCH_USER,this.addStore(k),this.addStore(Ut),this.addI18nContext(le,Rl)}render(){let t=Mt.get();return Ue(this.userHasRights&&!this.isEmpty,()=>{var o;return Fe.html`
|
|
1599
1603
|
<div part="container" role="group" aria-label="${le.messages.groupLabel()}">
|
|
1600
|
-
${(0,
|
|
1604
|
+
${(0,Nl.repeat)((o=this.savedSearches)!==null&&o!==void 0?o:[],n=>n.id,n=>{let a=this.toFtSearchRequest(n.searchRequest);return a===void 0?Fe.nothing:Fe.html`
|
|
1601
1605
|
<a href="${t?.serialize(a)}"
|
|
1602
1606
|
@click="${i=>this.onLinkClick(i,a)}"
|
|
1603
1607
|
aria-current="${this.isSelected(n.searchRequest)}">
|
|
@@ -1632,7 +1636,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1632
1636
|
<ft-chip dense part="chip">
|
|
1633
1637
|
<span part="metadata-label">${t}</span>
|
|
1634
1638
|
<span part="metadata-values">${Array.isArray(o)?o.join(", "):o}</span>
|
|
1635
|
-
</ft-chip>`}renderUnknownFilter(t){return t.valueFilter?this.renderValueFilter(t.label,t.valueFilter):t.dateFilter?this.renderDateFilter(t.dateFilter):t.rangeFilter?this.renderRangeFilter():Fe.nothing}renderValueFilter(t,o){return this.renderMetadata(t,o.values)}renderDateFilter(t){return this.renderMetadata(le.messages.period(),this.mapDateFilterType(t.type))}renderRangeFilter(){return this.renderMetadata(le.messages.period(),le.messages.customPeriod())}mapSortKey(t){switch(t){case"afs:relevance":return le.messages.relevance();case"ft:lastEdition":return le.messages.lastUpdate();default:return t}}mapDateFilterType(t){switch(t){case mr.LAST_WEEK:return le.messages.lastWeek();case mr.LAST_MONTH:return le.messages.lastMonth();case mr.LAST_YEAR:return le.messages.lastYear();default:return"--"}}get userHasRights(){return Po(this.user,this.requiredRole)}get isEmpty(){var t;return((t=this.savedSearches)!==null&&t!==void 0?t:[]).length==0}isSelected(t){var o,n,a,i,c;return this.request!=null&&(0,Ke.deepEqual)(this.request.query,t.query)&&this.areFtMetadataFiltersEqual([...this.request.metadataFilters],[...(o=t.metadataFilters)!==null&&o!==void 0?o:[]].map(this.toMetadataFilter))&&(0,Ke.deepEqual)([...this.request.sort].map(this.mapFtSearchSortCriterion),[...t.sort].map(this.mapFtSearchSortCriterion))&&(0,Ke.deepEqual)(this.request.contentLocale,t.contentLocale)&&(0,Ke.deepEqual)((n=this.request.virtualField)!==null&&n!==void 0?n:"EVERYWHERE",(a=t.virtualField)!==null&&a!==void 0?a:"EVERYWHERE")&&(0,Ke.deepEqual)((i=this.request.scope)!==null&&i!==void 0?i:"DEFAULT",(c=t.scope)!==null&&c!==void 0?c:"DEFAULT")}areFtMetadataFiltersEqual(t,o){if(!(0,Ke.deepEqual)(t.map(a=>a.key).sort(),o.map(a=>a.key).sort()))return!1;let n=(a,i)=>a.key===i.key&&this.compareUnknownFilter(a,i);for(let a of t)if(!o.find(c=>n(a,c)))return!1;return!0}compareUnknownFilter(t,o){return t.valueFilter&&o.valueFilter?this.compareValueFilter(t.valueFilter,o.valueFilter):t.dateFilter&&o.dateFilter?this.compareDateFilter(t.dateFilter,o.dateFilter):t.rangeFilter&&o.rangeFilter?this.compareRangeFilter(t.rangeFilter,o.rangeFilter):!1}compareValueFilter(t,o){return t.negative===o.negative&&t.values.length===o.values.length&&t.values.every(n=>o.values.includes(n))}compareDateFilter(t,o){return t.type===o.type}compareRangeFilter(t,o){return t.from===o.from&&t.to===o.to}mapFtSearchSortCriterion(t){return{...t}}toFtSearchRequest(t){var o,n;return this.request==null?void 0:{...this.request,query:t.query,metadataFilters:(n=(o=t.metadataFilters)===null||o===void 0?void 0:o.map(this.toMetadataFilter))!==null&&n!==void 0?n:[],sort:t.sort,contentLocale:t.contentLocale,virtualField:t.virtualField,scope:t.scope}}toMetadataFilter(t){return{key:t.key,valueFilter:t.valueFilter,dateFilter:t.dateFilter,rangeFilter:t.rangeFilter}}connectedCallback(){super.connectedCallback(),ea.reloadMySearches()}onLinkClick(t,o){var n;!t.ctrlKey&&!t.metaKey&&(t.stopPropagation(),t.preventDefault(),(n=this.stateManager)===null||n===void 0||n.setRequest(o),this.click())}update(t){super.update(t),(t.has("user")||t.has("savedSearches"))&&this.savedSearches==null&&ea.reloadMySearches()}};Pe.styles
|
|
1639
|
+
</ft-chip>`}renderUnknownFilter(t){return t.valueFilter?this.renderValueFilter(t.label,t.valueFilter):t.dateFilter?this.renderDateFilter(t.dateFilter):t.rangeFilter?this.renderRangeFilter():Fe.nothing}renderValueFilter(t,o){return this.renderMetadata(t,o.values)}renderDateFilter(t){return this.renderMetadata(le.messages.period(),this.mapDateFilterType(t.type))}renderRangeFilter(){return this.renderMetadata(le.messages.period(),le.messages.customPeriod())}mapSortKey(t){switch(t){case"afs:relevance":return le.messages.relevance();case"ft:lastEdition":return le.messages.lastUpdate();default:return t}}mapDateFilterType(t){switch(t){case mr.LAST_WEEK:return le.messages.lastWeek();case mr.LAST_MONTH:return le.messages.lastMonth();case mr.LAST_YEAR:return le.messages.lastYear();default:return"--"}}get userHasRights(){return Po(this.user,this.requiredRole)}get isEmpty(){var t;return((t=this.savedSearches)!==null&&t!==void 0?t:[]).length==0}isSelected(t){var o,n,a,i,c;return this.request!=null&&(0,Ke.deepEqual)(this.request.query,t.query)&&this.areFtMetadataFiltersEqual([...this.request.metadataFilters],[...(o=t.metadataFilters)!==null&&o!==void 0?o:[]].map(this.toMetadataFilter))&&(0,Ke.deepEqual)([...this.request.sort].map(this.mapFtSearchSortCriterion),[...t.sort].map(this.mapFtSearchSortCriterion))&&(0,Ke.deepEqual)(this.request.contentLocale,t.contentLocale)&&(0,Ke.deepEqual)((n=this.request.virtualField)!==null&&n!==void 0?n:"EVERYWHERE",(a=t.virtualField)!==null&&a!==void 0?a:"EVERYWHERE")&&(0,Ke.deepEqual)((i=this.request.scope)!==null&&i!==void 0?i:"DEFAULT",(c=t.scope)!==null&&c!==void 0?c:"DEFAULT")}areFtMetadataFiltersEqual(t,o){if(!(0,Ke.deepEqual)(t.map(a=>a.key).sort(),o.map(a=>a.key).sort()))return!1;let n=(a,i)=>a.key===i.key&&this.compareUnknownFilter(a,i);for(let a of t)if(!o.find(c=>n(a,c)))return!1;return!0}compareUnknownFilter(t,o){return t.valueFilter&&o.valueFilter?this.compareValueFilter(t.valueFilter,o.valueFilter):t.dateFilter&&o.dateFilter?this.compareDateFilter(t.dateFilter,o.dateFilter):t.rangeFilter&&o.rangeFilter?this.compareRangeFilter(t.rangeFilter,o.rangeFilter):!1}compareValueFilter(t,o){return t.negative===o.negative&&t.values.length===o.values.length&&t.values.every(n=>o.values.includes(n))}compareDateFilter(t,o){return t.type===o.type}compareRangeFilter(t,o){return t.from===o.from&&t.to===o.to}mapFtSearchSortCriterion(t){return{...t}}toFtSearchRequest(t){var o,n;return this.request==null?void 0:{...this.request,query:t.query,metadataFilters:(n=(o=t.metadataFilters)===null||o===void 0?void 0:o.map(this.toMetadataFilter))!==null&&n!==void 0?n:[],sort:t.sort,contentLocale:t.contentLocale,virtualField:t.virtualField,scope:t.scope}}toMetadataFilter(t){return{key:t.key,valueFilter:t.valueFilter,dateFilter:t.dateFilter,rangeFilter:t.rangeFilter}}connectedCallback(){super.connectedCallback(),ea.reloadMySearches()}onLinkClick(t,o){var n;!t.ctrlKey&&!t.metaKey&&(t.stopPropagation(),t.preventDefault(),(n=this.stateManager)===null||n===void 0||n.setRequest(o),this.click())}update(t){super.update(t),(t.has("user")||t.has("savedSearches"))&&this.savedSearches==null&&ea.reloadMySearches()}};Pe.styles=$s;Pe.elementDefinitions={"ft-typography":ae,"ft-icon":ie,"ft-card":Ee,"ft-chip":J,"ft-button":Le};Ht([(0,jr.property)({type:Boolean})],Pe.prototype,"showDescription",void 0);Ht([(0,jr.property)({type:Boolean})],Pe.prototype,"showSearchFilters",void 0);Ht([(0,jr.property)({type:Boolean})],Pe.prototype,"showSearchButton",void 0);Ht([(0,jr.property)({type:Boolean})],Pe.prototype,"showAlertStatus",void 0);Ht([(0,Ke.redux)({store:Ut.name})],Pe.prototype,"savedSearches",void 0);Ht([(0,Ke.redux)({store:k.name,selector:e=>{var t;return(t=e.session)===null||t===void 0?void 0:t.profile}})],Pe.prototype,"user",void 0);Ht([(0,Ke.redux)({store:"search"})],Pe.prototype,"request",void 0);(0,Tl.customElement)("ft-search-saved-searches")(Pe);})();
|
|
1636
1640
|
/*! Bundled license information:
|
|
1637
1641
|
|
|
1638
1642
|
lit-html/directives/when.js:
|