@fluid-topics/ft-search-selected-facets 1.1.79 → 1.1.81
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,17 +1,17 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
1
|
+
"use strict";(()=>{var cl=Object.create;var ui=Object.defineProperty;var pl=Object.getOwnPropertyDescriptor;var dl=Object.getOwnPropertyNames;var fl=Object.getPrototypeOf,hl=Object.prototype.hasOwnProperty;var Ne=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports);var ul=(o,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of dl(t))!hl.call(o,n)&&n!==r&&ui(o,n,{get:()=>t[n],enumerable:!(i=pl(t,n))||i.enumerable});return o};var f=(o,t,r)=>(r=o!=null?cl(fl(o)):{},ul(t||!o||!o.__esModule?ui(r,"default",{value:o,enumerable:!0}):r,o));var x=Ne((Yl,mi)=>{mi.exports=ftGlobals.wcUtils});var C=Ne((Xl,yi)=>{yi.exports=ftGlobals.lit});var Rr=Ne((Ql,gi)=>{gi.exports=ftGlobals.litRepeat});var W=Ne((tc,Si)=>{Si.exports=ftGlobals.litDecorators});var Ai=Ne(Ei=>{(function(o){var t=function(r){var i={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function n(d){return d&&DataView.prototype.isPrototypeOf(d)}if(i.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(d){return d&&a.indexOf(Object.prototype.toString.call(d))>-1};function c(d){if(typeof d!="string"&&(d=String(d)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(d))throw new TypeError("Invalid character in header field name");return d.toLowerCase()}function h(d){return typeof d!="string"&&(d=String(d)),d}function u(d){var m={next:function(){var E=d.shift();return{done:E===void 0,value:E}}};return i.iterable&&(m[Symbol.iterator]=function(){return m}),m}function b(d){this.map={},d instanceof b?d.forEach(function(m,E){this.append(E,m)},this):Array.isArray(d)?d.forEach(function(m){this.append(m[0],m[1])},this):d&&Object.getOwnPropertyNames(d).forEach(function(m){this.append(m,d[m])},this)}b.prototype.append=function(d,m){d=c(d),m=h(m);var E=this.map[d];this.map[d]=E?E+", "+m:m},b.prototype.delete=function(d){delete this.map[c(d)]},b.prototype.get=function(d){return d=c(d),this.has(d)?this.map[d]:null},b.prototype.has=function(d){return this.map.hasOwnProperty(c(d))},b.prototype.set=function(d,m){this.map[c(d)]=h(m)},b.prototype.forEach=function(d,m){for(var E in this.map)this.map.hasOwnProperty(E)&&d.call(m,this.map[E],E,this)},b.prototype.keys=function(){var d=[];return this.forEach(function(m,E){d.push(E)}),u(d)},b.prototype.values=function(){var d=[];return this.forEach(function(m){d.push(m)}),u(d)},b.prototype.entries=function(){var d=[];return this.forEach(function(m,E){d.push([E,m])}),u(d)},i.iterable&&(b.prototype[Symbol.iterator]=b.prototype.entries);function S(d){if(d.bodyUsed)return Promise.reject(new TypeError("Already read"));d.bodyUsed=!0}function L(d){return new Promise(function(m,E){d.onload=function(){m(d.result)},d.onerror=function(){E(d.error)}})}function w(d){var m=new FileReader,E=L(m);return m.readAsArrayBuffer(d),E}function P(d){var m=new FileReader,E=L(m);return m.readAsText(d),E}function G(d){for(var m=new Uint8Array(d),E=new Array(m.length),rt=0;rt<m.length;rt++)E[rt]=String.fromCharCode(m[rt]);return E.join("")}function K(d){if(d.slice)return d.slice(0);var m=new Uint8Array(d.byteLength);return m.set(new Uint8Array(d)),m.buffer}function M(){return this.bodyUsed=!1,this._initBody=function(d){this._bodyInit=d,d?typeof d=="string"?this._bodyText=d:i.blob&&Blob.prototype.isPrototypeOf(d)?this._bodyBlob=d:i.formData&&FormData.prototype.isPrototypeOf(d)?this._bodyFormData=d:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)?this._bodyText=d.toString():i.arrayBuffer&&i.blob&&n(d)?(this._bodyArrayBuffer=K(d.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(d)||l(d))?this._bodyArrayBuffer=K(d):this._bodyText=d=Object.prototype.toString.call(d):this._bodyText="",this.headers.get("content-type")||(typeof d=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var d=S(this);if(d)return d;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(){return this._bodyArrayBuffer?S(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(w)}),this.text=function(){var d=S(this);if(d)return d;if(this._bodyBlob)return P(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(G(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(ot)}),this.json=function(){return this.text().then(JSON.parse)},this}var Z=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function lt(d){var m=d.toUpperCase();return Z.indexOf(m)>-1?m:d}function ht(d,m){m=m||{};var E=m.body;if(d instanceof ht){if(d.bodyUsed)throw new TypeError("Already read");this.url=d.url,this.credentials=d.credentials,m.headers||(this.headers=new b(d.headers)),this.method=d.method,this.mode=d.mode,this.signal=d.signal,!E&&d._bodyInit!=null&&(E=d._bodyInit,d.bodyUsed=!0)}else this.url=String(d);if(this.credentials=m.credentials||this.credentials||"same-origin",(m.headers||!this.headers)&&(this.headers=new b(m.headers)),this.method=lt(m.method||this.method||"GET"),this.mode=m.mode||this.mode||null,this.signal=m.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&E)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(E)}ht.prototype.clone=function(){return new ht(this,{body:this._bodyInit})};function ot(d){var m=new FormData;return d.trim().split("&").forEach(function(E){if(E){var rt=E.split("="),ct=rt.shift().replace(/\+/g," "),D=rt.join("=").replace(/\+/g," ");m.append(decodeURIComponent(ct),decodeURIComponent(D))}}),m}function Fo(d){var m=new b,E=d.replace(/\r?\n[\t ]+/g," ");return E.split(/\r?\n/).forEach(function(rt){var ct=rt.split(":"),D=ct.shift().trim();if(D){var zo=ct.join(":").trim();m.append(D,zo)}}),m}M.call(ht.prototype);function Lt(d,m){m||(m={}),this.type="default",this.status=m.status===void 0?200:m.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in m?m.statusText:"OK",this.headers=new b(m.headers),this.url=m.url||"",this._initBody(d)}M.call(Lt.prototype),Lt.prototype.clone=function(){return new Lt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},Lt.error=function(){var d=new Lt(null,{status:0,statusText:""});return d.type="error",d};var hi=[301,302,303,307,308];Lt.redirect=function(d,m){if(hi.indexOf(m)===-1)throw new RangeError("Invalid status code");return new Lt(null,{status:m,headers:{location:d}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(m,E){this.message=m,this.name=E;var rt=Error(m);this.stack=rt.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Ve(d,m){return new Promise(function(E,rt){var ct=new ht(d,m);if(ct.signal&&ct.signal.aborted)return rt(new r.DOMException("Aborted","AbortError"));var D=new XMLHttpRequest;function zo(){D.abort()}D.onload=function(){var go={status:D.status,statusText:D.statusText,headers:Fo(D.getAllResponseHeaders()||"")};go.url="responseURL"in D?D.responseURL:go.headers.get("X-Request-URL");var wr="response"in D?D.response:D.responseText;E(new Lt(wr,go))},D.onerror=function(){rt(new TypeError("Network request failed"))},D.ontimeout=function(){rt(new TypeError("Network request failed"))},D.onabort=function(){rt(new r.DOMException("Aborted","AbortError"))},D.open(ct.method,ct.url,!0),ct.credentials==="include"?D.withCredentials=!0:ct.credentials==="omit"&&(D.withCredentials=!1),"responseType"in D&&i.blob&&(D.responseType="blob"),ct.headers.forEach(function(go,wr){D.setRequestHeader(wr,go)}),ct.signal&&(ct.signal.addEventListener("abort",zo),D.onreadystatechange=function(){D.readyState===4&&ct.signal.removeEventListener("abort",zo)}),D.send(typeof ct._bodyInit>"u"?null:ct._bodyInit)})}return Ve.polyfill=!0,o.fetch||(o.fetch=Ve,o.Headers=b,o.Request=ht,o.Response=Lt),r.Headers=b,r.Request=ht,r.Response=Lt,r.fetch=Ve,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:Ei)});var Te=Ne((bp,Qi)=>{Qi.exports=ftGlobals.litClassMap});var ga=Ne((vu,ya)=>{ya.exports=ftGlobals.litUnsafeHTML});var ll=f(x());var ue=f(C()),di=f(Rr()),yo=f(x());var bi=f(C()),xi=f(x()),ml={spacing:xi.FtCssVariableFactory.create("--ft-search-selected-facets-spacing","","SIZE","8px")},vi=bi.css`
|
|
2
2
|
.ft-search-selected-facets--container {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-wrap: wrap;
|
|
5
|
-
gap: ${
|
|
5
|
+
gap: ${ml.spacing};
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.ft-search-selected-facets--container > * {
|
|
9
9
|
min-width: 0;
|
|
10
10
|
}
|
|
11
|
-
`;var Yi=f(x()),Xi=f(W());var oe=f(x());var Oi=f(x()),
|
|
12
|
-
`;var Hi=f(x()),
|
|
11
|
+
`;var Yi=f(x()),Xi=f(W());var oe=f(x());var Oi=f(x()),yl={setRequest:(o,t)=>{o.request=t.payload},setRequestQuery:(o,t)=>{o.request.query=t.payload},setRequestContentLocale:(o,t)=>{o.request.contentLocale=t.payload},setPageSize:(o,t)=>{o.request.paging.perPage=t.payload},setPageNumber:(o,t)=>{o.request.paging.page=t.payload},setRequestSort:(o,t)=>{o.request.sort=t.payload},setRequestFilters:(o,t)=>{o.request.filters=t.payload},setRequestFacets:(o,t)=>{o.request.facets=t.payload},setRequestVirtualField:(o,t)=>{o.request.virtualField=t.payload},setRequestScope:(o,t)=>{o.request.scope=t.payload},setRequestClusterSortCriterion:(o,t)=>{o.request.clusterSortCriterions=t.payload},setResults:(o,t)=>{o.results=t.payload},setFacets:(o,t)=>{o.facets=t.payload},setSpellcheck:(o,t)=>{o.spellcheck=t.payload},setLocales:(o,t)=>{o.locales=t.payload},setPaging:(o,t)=>{o.paging=t.payload},setLiveQuery:(o,t)=>{o.liveQuery=t.payload},setSuggestResults:(o,t)=>{o.suggestResults=t.payload},setRequestPeriodFilter:(o,t)=>{o.request.periodFilter=t.payload}},Ci=o=>Oi.FtReduxStore.get({name:"ft-search-"+o,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:yl});var dc=f(Ai(),1);var wi;(function(o){o.black="black",o.green="green",o.blue="blue",o.purple="purple",o.red="red",o.orange="orange",o.yellow="yellow"})(wi||(wi={}));var Ri;(function(o){o.OFFICIAL="OFFICIAL",o.PERSONAL="PERSONAL",o.SHARED="SHARED"})(Ri||(Ri={}));var Ni;(function(o){o.THIRD_PARTY="THIRD_PARTY",o.OFF_THE_GRID="OFF_THE_GRID",o.CONTENT_PACKAGER="CONTENT_PACKAGER",o.PAGES="PAGES",o.DESIGNED_READER="DESIGNED_READER"})(Ni||(Ni={}));var Li;(function(o){o.HOMEPAGE="HOMEPAGE",o.CUSTOM="CUSTOM",o.HEADER="HEADER",o.READER="READER",o.TOPIC_TEMPLATE="TOPIC_TEMPLATE",o.SEARCH="SEARCH",o.SEARCH_RESULT="SEARCH_RESULT"})(Li||(Li={}));var Ti;(function(o){o.CLASSIC="CLASSIC",o.CUSTOM="CUSTOM",o.DESIGNER="DESIGNER"})(Ti||(Ti={}));var Ii;(function(o){o.AND="AND",o.OR="OR",o.MONOVALUED="MONOVALUED"})(Ii||(Ii={}));var Pi;(function(o){o.NONE="NONE",o.ALPHABET="ALPHABET",o.VERSION="VERSION"})(Pi||(Pi={}));var ki;(function(o){o.STARS="STARS",o.LIKE="LIKE",o.DICHOTOMOUS="DICHOTOMOUS",o.NO_RATING="NO_RATING"})(ki||(ki={}));var Mo;(function(o){o.LAST_WEEK="LAST_WEEK",o.LAST_MONTH="LAST_MONTH",o.LAST_QUARTER="LAST_QUARTER",o.LAST_YEAR="LAST_YEAR",o.CUSTOM="CUSTOM"})(Mo||(Mo={}));var $i;(function(o){o.ASC="ASC",o.DESC="DESC"})($i||($i={}));var _i;(function(o){o.ALPHA="ALPHA",o.NATURAL="NATURAL"})(_i||(_i={}));var Ge;(function(o){o.EVERYWHERE="EVERYWHERE",o.TITLE_ONLY="TITLE_ONLY",o.NONE="NONE"})(Ge||(Ge={}));var Di;(function(o){o.ARTICLE="ARTICLE",o.BOOK="BOOK",o.SHARED_BOOK="SHARED_BOOK"})(Di||(Di={}));var Bi;(function(o){o.FLUIDTOPICS="FLUIDTOPICS",o.EXTERNAL="EXTERNAL"})(Bi||(Bi={}));var Ui;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC",o.PERSONAL_BOOK="PERSONAL_BOOK",o.SHARED_BOOK="SHARED_BOOK"})(Ui||(Ui={}));var Fi;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC"})(Fi||(Fi={}));var Ke;(function(o){o.DEFAULT="DEFAULT",o.DOCUMENTS="DOCUMENTS",o.ALL_TOPICS="ALL_TOPICS"})(Ke||(Ke={}));var it;(function(o){o.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",o.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",o.HTML_EXPORT_USER="HTML_EXPORT_USER",o.PDF_EXPORT_USER="PDF_EXPORT_USER",o.SAVED_SEARCH_USER="SAVED_SEARCH_USER",o.COLLECTION_USER="COLLECTION_USER",o.OFFLINE_USER="OFFLINE_USER",o.ANALYTICS_USER="ANALYTICS_USER",o.BETA_USER="BETA_USER",o.DEBUG_USER="DEBUG_USER",o.PRINT_USER="PRINT_USER",o.RATING_USER="RATING_USER",o.FEEDBACK_USER="FEEDBACK_USER",o.GENERATIVE_AI_USER="GENERATIVE_AI_USER",o.CONTENT_PUBLISHER="CONTENT_PUBLISHER",o.KHUB_ADMIN="KHUB_ADMIN",o.USERS_ADMIN="USERS_ADMIN",o.PORTAL_ADMIN="PORTAL_ADMIN",o.ADMIN="ADMIN",o.DEVELOPER="DEVELOPER"})(it||(it={}));var zi;(function(o){o.VALID="VALID",o.INVALID="INVALID"})(zi||(zi={}));var sc={[it.PERSONAL_BOOK_SHARE_USER]:[it.PERSONAL_BOOK_USER],[it.HTML_EXPORT_USER]:[it.PERSONAL_BOOK_USER],[it.PDF_EXPORT_USER]:[it.PERSONAL_BOOK_USER],[it.KHUB_ADMIN]:[it.CONTENT_PUBLISHER],[it.ADMIN]:[it.KHUB_ADMIN,it.USERS_ADMIN,it.PORTAL_ADMIN],[it.DEVELOPER]:[it.BETA_USER,it.DEBUG_USER]};var qi=f(x());var Ki=f(C()),Bt=f(W()),Mt=f(x());var Mi=f(C());var Wi=Mi.css`
|
|
12
|
+
`;var Hi=f(x()),gl="ft-app-info",bl={},R=Hi.FtReduxStore.get({name:gl,reducers:bl,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var ye=f(x());var Nr=f(x());var Le=class o{static get(t){let{baseUrl:r,apiIntegrationIdentifier:i}=R.getState(),n=t??i;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(t){return new Promise(r=>{let i=o.get(t);if(i)r(i);else{let n=R.subscribe(()=>{i=o.get(t),i&&(n(),r(i))})}})}};var Yt=class{constructor(t=!0,r){var i;this.overrideApi=r;let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new Nr.CacheRegistry,this.cache=t?n.commonCache:new Nr.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Le.get()}get awaitApi(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Le.await()}clearCache(){this.cache.clearAll()}};var Vi,xl=Symbol("clearAfterUnitTest"),Wo=class extends Yt{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Vi]=()=>{this.defaultMessages={},this.cache=new ye.CacheRegistry,this.listeners={}},this.currentUiLocale=R.getState().uiLocale,R.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=R.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var i;if(t=t.toLowerCase(),Object.keys(r).length>0){let n={...(i=this.defaultMessages[t])!==null&&i!==void 0?i:{},...r};(0,ye.deepEqual)(this.defaultMessages[t],n)||(this.defaultMessages[t]=n,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,r,...i){var n,a,l;t=t.toLowerCase(),this.fetchContext(t);let c=(a=(n=this.cache.getNow(t))===null||n===void 0?void 0:n.messages)!==null&&a!==void 0?a:{};return new ye.ParametrizedLabelResolver((l=this.defaultMessages[t])!==null&&l!==void 0?l:{},c).resolve(r,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(r){console.error(r)}}subscribe(t,r){var i;return t=t.toLowerCase(),this.listeners[t]=(i=this.listeners[t])!==null&&i!==void 0?i:new Set,this.listeners[t].add(r),()=>{var n;return(n=this.listeners[t])===null||n===void 0?void 0:n.delete(r)}}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(r=>(0,ye.delay)(0).then(()=>r()).catch(()=>null)))}};Vi=xl;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Wo{constructor(){super(async(o,t)=>(await this.awaitApi).getFluidTopicsMessageContext(o,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Wo{constructor(){super(async(o,t)=>(await this.awaitApi).getCustomMessageContext(o,t))}});var Ze=window.FluidTopicsI18nService,Gi=window.FluidTopicsCustomI18nService;var yt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},j=class extends Mt.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=()=>Le.get(),this.messageContexts=[],this.cache=new Mt.CacheRegistry,this.cleanSessionDebouncer=new Mt.Debouncer}render(){return Ki.html`
|
|
13
13
|
<slot></slot>
|
|
14
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(R.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&R.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&R.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&R.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&R.actions.noCustom(this.noCustom),t.has("editorMode")&&R.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&R.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&R.actions.session(this.session),t.has("availableUiLocales")&&R.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Ze.addContext(r)),t.has("openExternalDocumentInNewTab")&&R.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&R.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&R.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}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 updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};j.elementDefinitions={};j.styles=Wi;yt([(0,Bt.property)()],j.prototype,"baseUrl",void 0);yt([(0,Bt.property)()],j.prototype,"apiIntegrationIdentifier",void 0);yt([(0,Bt.property)()],j.prototype,"uiLocale",void 0);yt([(0,Mt.jsonProperty)(null)],j.prototype,"availableUiLocales",void 0);yt([(0,Mt.jsonProperty)(null)],j.prototype,"metadataConfiguration",void 0);yt([(0,Bt.property)({type:Boolean})],j.prototype,"editorMode",void 0);yt([(0,Bt.property)({type:Boolean})],j.prototype,"noCustom",void 0);yt([(0,Bt.property)({type:Boolean})],j.prototype,"openExternalDocumentInNewTab",void 0);yt([(0,Bt.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],j.prototype,"noCustomComponent",void 0);yt([(0,Bt.property)({type:Boolean})],j.prototype,"withManualResources",void 0);yt([(0,Bt.property)({type:Boolean})],j.prototype,"navigatorOnline",void 0);yt([(0,Bt.property)({type:Boolean})],j.prototype,"forcedOffline",void 0);yt([(0,Bt.property)({type:Object})],j.prototype,"apiProvider",void 0);yt([(0,Mt.jsonProperty)([])],j.prototype,"messageContexts",void 0);yt([(0,Mt.jsonProperty)(void 0)],j.prototype,"session",void 0);var Ko=f(x());var Ho=class extends Yt{async listMySearches(){let t=R.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Vo=class extends Yt{async listMyBookmarks(){let t=R.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var bl="ft-user-assets",Go=Ko.FtReduxStore.get({name:bl,initialState:{savedSearches:void 0,bookmarks:void 0}}),Lr=class{constructor(){this.currentSession=R.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Vo,this.savedSearchesService=new Ho,R.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=R.getState();(0,Ko.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Go.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Go.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Go.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 r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Go.actions.bookmarks(r)}}},Zi=new Lr;var Tr=class{addCommand(t,r=!1){R.commands.add(t,r)}consumeCommand(t){return R.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Tr;var ji=f(x()),Ir=class{highlightHtml(t,r){(0,ji.highlightHtml)(t,r)}};window.FluidTopicsHighlightHtmlService=new Ir;(0,qi.customElement)("ft-app-context")(j);var Zo=class extends Yt{constructor(){super(),this.cache.registerFinal("available-locales",()=>this.api.getAvailableSearchLocales())}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}};var xo=o=>o.request.virtualField===Ge.TITLE_ONLY&&o.request.scope===Ke.DOCUMENTS,jo=class o extends Event{constructor(){super(o.eventName)}};jo.eventName="search-context-clear-all-filters";var bo=class o{static build(t,r){return new o(Ci(t.trim()||"context"),r)}constructor(t,r){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new oe.Debouncer(100),this.suggestDebouncer=new oe.Debouncer(300),this.service=r??new Zo}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let r=this.store.getState().locales,i=this.store.getState().request.contentLocale;if(t!=i){if(r){let n=a=>r.some(s=>s.lang==a);n(t)||(t=n(i)?i:r[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){let r=t.filter(i=>i.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(i=>{this.facetIds.includes(i.key)||(this.facetIds=[...this.facetIds,i.key])}),this.launchSearch()}setClusterSortCriterion(t){this.store.actions.setRequestClusterSortCriterion(t),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(Ge.TITLE_ONLY),this.store.actions.setRequestScope(Ke.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Ge.EVERYWHERE),this.store.actions.setRequestScope(Ke.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return xo(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new jo)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,r){let i=this.facetIds.filter(n=>n!=t);r&&i.push(r),this.facetIds=i,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(t=>t.id)}set facetIds(t){let i=[...new Set(t)].map(n=>({id:n}));this.store.actions.setRequestFacets(i)}setFilter(t,r){let i=this.store.getState().request.filters,n={key:t,values:r,negative:!1},a=[...i.filter(s=>s.key!==t),n];this.setFilters(a)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}setOpenExternalDocumentInNewTab(t){this.openExternalDocumentInNewTab=t}setPeriodFilter(t){this.store.actions.setRequestPeriodFilter(t),this.store.actions.setPageNumber(1),this.launchSearch()}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var t,r;try{(t=this.cancelableSearch)===null||t===void 0||t.cancel();let i=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&i.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=(0,oe.cancelable)(this.service.launchSearch(i));let n=await this.cancelableSearch;if(n.paging.currentPage<=1)this.store.actions.setResults(n.results),this.store.actions.setFacets(n.facets),this.store.actions.setSpellcheck(n.spellcheck);else{let a=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(n.results);this.store.actions.setResults(a)}this.store.actions.setPaging(n.paging)}}catch(i){!(i instanceof oe.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(i)}}async fetchSuggestData(){var t;try{let r=this.store.getState(),i=r.request,n={input:r.liveQuery,filters:i.filters,sort:i.sort,contentLocale:i.contentLocale,scope:i.scope};(t=this.cancelableSuggest)===null||t===void 0||t.cancel(),this.cancelableSuggest=(0,oe.cancelable)(this.service.launchSuggest(n));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof oe.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}};var xl=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Pr=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},kr=Symbol("registerInterval");function vl(o){var t;class r extends o{constructor(){super(...arguments),this[t]=0}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[kr]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[kr]):this.dispatchEvent(new Pr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=kr,xl([(0,Xi.state)()],r.prototype,"stateManager",void 0),r}var ge=class extends vl(Yi.FtLitElementRedux){};var hs=f(x());var dr=f(C()),bt=f(W()),fs=f(Te()),hr=f(x());var cn=f(x());var sn=f(C()),pt=f(W()),ln=f(Te()),vo=f(x());var nn=f(C()),Q=f(x()),Ji=Q.FtCssVariableFactory.extend("--ft-ripple-color","",Q.designSystemVariables.colorContent),T={color:Ji,backgroundColor:Q.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ji),opacityContentOnSurfacePressed:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Q.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},tn=Q.FtCssVariableFactory.extend("--ft-ripple-color","",Q.designSystemVariables.colorPrimary),en={color:tn,backgroundColor:Q.FtCssVariableFactory.extend("--ft-ripple-background-color","",tn)},on=Q.FtCssVariableFactory.extend("--ft-ripple-color","",Q.designSystemVariables.colorSecondary),rn={color:on,backgroundColor:Q.FtCssVariableFactory.extend("--ft-ripple-background-color","",on)},an=nn.css`
|
|
14
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(R.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&R.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&R.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&R.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&R.actions.noCustom(this.noCustom),t.has("editorMode")&&R.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&R.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&R.actions.session(this.session),t.has("availableUiLocales")&&R.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Ze.addContext(r)),t.has("openExternalDocumentInNewTab")&&R.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&R.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&R.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}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 updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};j.elementDefinitions={};j.styles=Wi;yt([(0,Bt.property)()],j.prototype,"baseUrl",void 0);yt([(0,Bt.property)()],j.prototype,"apiIntegrationIdentifier",void 0);yt([(0,Bt.property)()],j.prototype,"uiLocale",void 0);yt([(0,Mt.jsonProperty)(null)],j.prototype,"availableUiLocales",void 0);yt([(0,Mt.jsonProperty)(null)],j.prototype,"metadataConfiguration",void 0);yt([(0,Bt.property)({type:Boolean})],j.prototype,"editorMode",void 0);yt([(0,Bt.property)({type:Boolean})],j.prototype,"noCustom",void 0);yt([(0,Bt.property)({type:Boolean})],j.prototype,"openExternalDocumentInNewTab",void 0);yt([(0,Bt.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],j.prototype,"noCustomComponent",void 0);yt([(0,Bt.property)({type:Boolean})],j.prototype,"withManualResources",void 0);yt([(0,Bt.property)({type:Boolean})],j.prototype,"navigatorOnline",void 0);yt([(0,Bt.property)({type:Boolean})],j.prototype,"forcedOffline",void 0);yt([(0,Bt.property)({type:Object})],j.prototype,"apiProvider",void 0);yt([(0,Mt.jsonProperty)([])],j.prototype,"messageContexts",void 0);yt([(0,Mt.jsonProperty)(void 0)],j.prototype,"session",void 0);var Ko=f(x());var Ho=class extends Yt{async listMySearches(){let t=R.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Vo=class extends Yt{async listMyBookmarks(){let t=R.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var vl="ft-user-assets",Go=Ko.FtReduxStore.get({name:vl,initialState:{savedSearches:void 0,bookmarks:void 0}}),Lr=class{constructor(){this.currentSession=R.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Vo,this.savedSearchesService=new Ho,R.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=R.getState();(0,Ko.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Go.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Go.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Go.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 r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Go.actions.bookmarks(r)}}},Zi=new Lr;var Tr=class{addCommand(t,r=!1){R.commands.add(t,r)}consumeCommand(t){return R.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Tr;var ji=f(x()),Ir=class{highlightHtml(t,r){(0,ji.highlightHtml)(t,r)}};window.FluidTopicsHighlightHtmlService=new Ir;(0,qi.customElement)("ft-app-context")(j);var Zo=class extends Yt{constructor(){super(),this.cache.registerFinal("available-locales",()=>this.api.getAvailableSearchLocales())}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}};var xo=o=>o.request.virtualField===Ge.TITLE_ONLY&&o.request.scope===Ke.DOCUMENTS,jo=class o extends Event{constructor(){super(o.eventName)}};jo.eventName="search-context-clear-all-filters";var bo=class o{static build(t,r){return new o(Ci(t.trim()||"context"),r)}constructor(t,r){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new oe.Debouncer(100),this.suggestDebouncer=new oe.Debouncer(300),this.service=r??new Zo}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let r=this.store.getState().locales,i=this.store.getState().request.contentLocale;if(t!=i){if(r){let n=a=>r.some(l=>l.lang==a);n(t)||(t=n(i)?i:r[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){let r=t.filter(i=>i.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(i=>{this.facetIds.includes(i.key)||(this.facetIds=[...this.facetIds,i.key])}),this.launchSearch()}setClusterSortCriterion(t){this.store.actions.setRequestClusterSortCriterion(t),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(Ge.TITLE_ONLY),this.store.actions.setRequestScope(Ke.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Ge.EVERYWHERE),this.store.actions.setRequestScope(Ke.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return xo(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new jo)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,r){let i=this.facetIds.filter(n=>n!=t);r&&i.push(r),this.facetIds=i,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(t=>t.id)}set facetIds(t){let i=[...new Set(t)].map(n=>({id:n}));this.store.actions.setRequestFacets(i)}setFilter(t,r){let i=this.store.getState().request.filters,n={key:t,values:r,negative:!1},a=[...i.filter(l=>l.key!==t),n];this.setFilters(a)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}setOpenExternalDocumentInNewTab(t){this.openExternalDocumentInNewTab=t}setPeriodFilter(t){this.store.actions.setRequestPeriodFilter(t),this.store.actions.setPageNumber(1),this.launchSearch()}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var t,r;try{(t=this.cancelableSearch)===null||t===void 0||t.cancel();let i=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&i.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=(0,oe.cancelable)(this.service.launchSearch(i));let n=await this.cancelableSearch;if(n.paging.currentPage<=1)this.store.actions.setResults(n.results),this.store.actions.setFacets(n.facets),this.store.actions.setSpellcheck(n.spellcheck);else{let a=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(n.results);this.store.actions.setResults(a)}this.store.actions.setPaging(n.paging)}}catch(i){!(i instanceof oe.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(i)}}async fetchSuggestData(){var t;try{let r=this.store.getState(),i=r.request,n={input:r.liveQuery,filters:i.filters,sort:i.sort,contentLocale:i.contentLocale,scope:i.scope};(t=this.cancelableSuggest)===null||t===void 0||t.cancel(),this.cancelableSuggest=(0,oe.cancelable)(this.service.launchSuggest(n));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof oe.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}};var Sl=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},kr=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Pr=Symbol("registerInterval");function Ol(o){var t;class r extends o{constructor(){super(...arguments),this[t]=0}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[Pr]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Pr]):this.dispatchEvent(new kr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=Pr,Sl([(0,Xi.state)()],r.prototype,"stateManager",void 0),r}var ge=class extends Ol(Yi.FtLitElementRedux){};var ms=f(x());var dr=f(C()),bt=f(W()),us=f(Te()),hr=f(x());var cn=f(x());var sn=f(C()),pt=f(W()),ln=f(Te()),vo=f(x());var nn=f(C()),Q=f(x()),Ji=Q.FtCssVariableFactory.extend("--ft-ripple-color","",Q.designSystemVariables.colorContent),T={color:Ji,backgroundColor:Q.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ji),opacityContentOnSurfacePressed:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Q.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},tn=Q.FtCssVariableFactory.extend("--ft-ripple-color","",Q.designSystemVariables.colorPrimary),en={color:tn,backgroundColor:Q.FtCssVariableFactory.extend("--ft-ripple-background-color","",tn)},on=Q.FtCssVariableFactory.extend("--ft-ripple-color","",Q.designSystemVariables.colorSecondary),rn={color:on,backgroundColor:Q.FtCssVariableFactory.extend("--ft-ripple-background-color","",on)},an=nn.css`
|
|
15
15
|
:host {
|
|
16
16
|
display: contents;
|
|
17
17
|
}
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
opacity: ${T.opacityContentOnSurfacePressed};
|
|
124
124
|
transform: translate(-50%, -50%) scale(1);
|
|
125
125
|
}
|
|
126
|
-
`;var St=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,
|
|
126
|
+
`;var St=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},$=class extends vo.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new vo.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new vo.Debouncer(10),this.moveRipple=t=>{var r,i;let{x:n,y:a}=this.getCoordinates(t),l=(i=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-l.x:l.width/2),this.originY=Math.round(a!=null?a-l.y:l.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return sn.html`
|
|
127
127
|
<style>
|
|
128
128
|
.ft-ripple .ft-ripple--effect {
|
|
129
129
|
left: ${this.originX}px;
|
|
@@ -134,10 +134,10 @@
|
|
|
134
134
|
<div class="ft-ripple--background"></div>
|
|
135
135
|
<div class="ft-ripple--effect"></div>
|
|
136
136
|
</div>
|
|
137
|
-
`}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 r,i;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.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,r;let i=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}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 r=(...c)=>h=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(h)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},
|
|
137
|
+
`}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 r,i;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.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,r;let i=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}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 r=(...c)=>h=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(h)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},l={passive:!0};t.addEventListener("mouseover",this.startHover,l),t.addEventListener("mousemove",this.moveRipple,l),t.addEventListener("mouseleave",this.endHover,l),t.addEventListener("mousedown",i,l),t.addEventListener("touchstart",n,l),t.addEventListener("touchmove",this.moveRipple,l),t.addEventListener("keydown",a,l),t.addEventListener("focus",this.startFocus,l),t.addEventListener("blur",this.endFocus,l),t.addEventListener("focusin",this.startFocus,l),t.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,l),t.removeEventListener("mousemove",this.moveRipple,l),t.removeEventListener("mouseleave",this.endHover,l),t.removeEventListener("mousedown",i,l),t.removeEventListener("touchstart",n,l),t.removeEventListener("touchmove",this.moveRipple,l),t.removeEventListener("keydown",a,l),t.removeEventListener("focus",this.startFocus,l),t.removeEventListener("blur",this.endFocus,l),t.removeEventListener("focusin",this.startFocus,l),t.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,i=t,n,a;return r.x!=null?{x:n,y:a}=r:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};$.elementDefinitions={};$.styles=an;St([(0,pt.property)({type:Boolean})],$.prototype,"primary",void 0);St([(0,pt.property)({type:Boolean})],$.prototype,"secondary",void 0);St([(0,pt.property)({type:Boolean})],$.prototype,"unbounded",void 0);St([(0,pt.property)({type:Boolean})],$.prototype,"activated",void 0);St([(0,pt.property)({type:Boolean})],$.prototype,"selected",void 0);St([(0,pt.property)({type:Boolean})],$.prototype,"disabled",void 0);St([(0,pt.state)()],$.prototype,"hovered",void 0);St([(0,pt.state)()],$.prototype,"focused",void 0);St([(0,pt.state)()],$.prototype,"pressed",void 0);St([(0,pt.state)()],$.prototype,"rippling",void 0);St([(0,pt.state)()],$.prototype,"originX",void 0);St([(0,pt.state)()],$.prototype,"originY",void 0);St([(0,pt.query)(".ft-ripple")],$.prototype,"ripple",void 0);St([(0,pt.query)(".ft-ripple--effect")],$.prototype,"rippleEffect",void 0);(0,cn.customElement)("ft-ripple")($);var ma=f(x());var zr=globalThis,qo=zr.trustedTypes,pn=qo?qo.createPolicy("lit-html",{createHTML:o=>o}):void 0,yn="$lit$",be=`lit$${(Math.random()+"").slice(9)}$`,gn="?"+be,Cl=`<${gn}>`,ke=document,Yo=()=>ke.createComment(""),Oo=o=>o===null||typeof o!="object"&&typeof o!="function",bn=Array.isArray,El=o=>bn(o)||typeof o?.[Symbol.iterator]=="function",$r=`[
|
|
138
138
|
\f\r]`,So=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,dn=/-->/g,fn=/>/g,Ie=RegExp(`>|${$r}(?:([^\\s"'>=/]+)(${$r}*=${$r}*(?:[^
|
|
139
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),hn=/'/g,un=/"/g,xn=/^(?:script|style|textarea|title)$/i,vn=o=>(t,...r)=>({_$litType$:o,strings:t,values:r}),Sn=vn(1),On=vn(2),Co=Symbol.for("lit-noChange"),nt=Symbol.for("lit-nothing"),mn=new WeakMap,ke=Pe.createTreeWalker(Pe,129);function Cn(o,t){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return pn!==void 0?pn.createHTML(t):t}var Cl=(o,t)=>{let r=o.length-1,i=[],n,a=t===2?"<svg>":"",s=So;for(let c=0;c<r;c++){let h=o[c],u,b,S=-1,L=0;for(;L<h.length&&(s.lastIndex=L,b=s.exec(h),b!==null);)L=s.lastIndex,s===So?b[1]==="!--"?s=dn:b[1]!==void 0?s=fn:b[2]!==void 0?(xn.test(b[2])&&(n=RegExp("</"+b[2],"g")),s=Ie):b[3]!==void 0&&(s=Ie):s===Ie?b[0]===">"?(s=n??So,S=-1):b[1]===void 0?S=-2:(S=s.lastIndex-b[2].length,u=b[1],s=b[3]===void 0?Ie:b[3]==='"'?un:hn):s===un||s===hn?s=Ie:s===dn||s===fn?s=So:(s=Ie,n=void 0);let w=s===Ie&&o[c+1].startsWith("/>")?" ":"";a+=s===So?h+Sl:S>=0?(i.push(u),h.slice(0,S)+yn+h.slice(S)+be+w):h+be+(S===-2?c:w)}return[Cn(o,a+(o[r]||"<?>")+(t===2?"</svg>":"")),i]},Eo=class o{constructor({strings:t,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,c=t.length-1,h=this.parts,[u,b]=Cl(t,r);if(this.el=o.createElement(u,i),ke.currentNode=this.el.content,r===2){let S=this.el.content.firstChild;S.replaceWith(...S.childNodes)}for(;(n=ke.nextNode())!==null&&h.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let S of n.getAttributeNames())if(S.endsWith(yn)){let L=b[s++],w=n.getAttribute(S).split(be),k=/([.?@])?(.*)/.exec(L);h.push({type:1,index:a,name:k[2],strings:w,ctor:k[1]==="."?Dr:k[1]==="?"?Br:k[1]==="@"?Ur:qe}),n.removeAttribute(S)}else S.startsWith(be)&&(h.push({type:6,index:a}),n.removeAttribute(S));if(xn.test(n.tagName)){let S=n.textContent.split(be),L=S.length-1;if(L>0){n.textContent=qo?qo.emptyScript:"";for(let w=0;w<L;w++)n.append(S[w],Yo()),ke.nextNode(),h.push({type:2,index:++a});n.append(S[L],Yo())}}}else if(n.nodeType===8)if(n.data===gn)h.push({type:2,index:a});else{let S=-1;for(;(S=n.data.indexOf(be,S+1))!==-1;)h.push({type:7,index:a}),S+=be.length-1}a++}}static createElement(t,r){let i=Pe.createElement("template");return i.innerHTML=t,i}};function je(o,t,r=o,i){if(t===Co)return t;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=Oo(t)?void 0:t._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(o),n._$AT(o,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(t=je(o,n._$AS(o,t.values),n,i)),t}var _r=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:i}=this._$AD,n=(t?.creationScope??Pe).importNode(r,!0);ke.currentNode=n;let a=ke.nextNode(),s=0,c=0,h=i[0];for(;h!==void 0;){if(s===h.index){let u;h.type===2?u=new Xo(a,a.nextSibling,this,t):h.type===1?u=new h.ctor(a,h.name,h.strings,this,t):h.type===6&&(u=new Fr(a,this,t)),this._$AV.push(u),h=i[++c]}s!==h?.index&&(a=ke.nextNode(),s++)}return ke.currentNode=Pe,n}p(t){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,r),r+=i.strings.length-2):i._$AI(t[r])),r++}},Xo=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,i,n){this.type=2,this._$AH=nt,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=je(this,t,r),Oo(t)?t===nt||t==null||t===""?(this._$AH!==nt&&this._$AR(),this._$AH=nt):t!==this._$AH&&t!==Co&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Ol(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==nt&&Oo(this._$AH)?this._$AA.nextSibling.data=t:this.$(Pe.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:i}=t,n=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=Eo.createElement(Cn(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new _r(n,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(t){let r=mn.get(t.strings);return r===void 0&&mn.set(t.strings,r=new Eo(t)),r}T(t){bn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of t)n===r.length?r.push(i=new o(this.k(Yo()),this.k(Yo()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let i=t.nextSibling;t.remove(),t=i}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},qe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,i,n,a){this.type=1,this._$AH=nt,this._$AN=void 0,this.element=t,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=nt}_$AI(t,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)t=je(this,t,r,0),s=!Oo(t)||t!==this._$AH&&t!==Co,s&&(this._$AH=t);else{let c=t,h,u;for(t=a[0],h=0;h<a.length-1;h++)u=je(this,c[i+h],r,h),u===Co&&(u=this._$AH[h]),s||=!Oo(u)||u!==this._$AH[h],u===nt?t=nt:t!==nt&&(t+=(u??"")+a[h+1]),this._$AH[h]=u}s&&!n&&this.O(t)}O(t){t===nt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Dr=class extends qe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===nt?void 0:t}},Br=class extends qe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==nt)}},Ur=class extends qe{constructor(t,r,i,n,a){super(t,r,i,n,a),this.type=5}_$AI(t,r=this){if((t=je(this,t,r,0)??nt)===Co)return;let i=this._$AH,n=t===nt&&i!==nt||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,a=t!==nt&&(i===nt||n);n&&this.element.removeEventListener(this.name,this,i),a&&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)}},Fr=class{constructor(t,r,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){je(this,t)}};var El=zr.litHtmlPolyfillSupport;El?.(Eo,Xo),(zr.litHtmlVersions??=[]).push("3.1.0");var An=Symbol.for(""),Al=o=>{if(o?.r===An)return o?._$litStatic$},Mr=o=>({_$litStatic$:o,r:An});var En=new Map,wn=o=>(t,...r)=>{let i=r.length,n,a,s=[],c=[],h,u=0,b=!1;for(;u<i;){for(h=t[u];u<i&&(a=r[u],(n=Al(a))!==void 0);)h+=n+t[++u],b=!0;u!==i&&c.push(a),s.push(h),u++}if(u===i&&s.push(t[i]),b){let S=s.join("$$lit$$");(t=En.get(S))===void 0&&(s.raw=s,En.set(S,t=s)),r=c}return o(t,...r)},Wr=wn(Sn),Rp=wn(On);var Hr=f(W()),fa=f(x());var $e;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})($e||($e={}));var Ut=f(C()),g=f(x());var re=f(C(),1),xe=o=>typeof o=="string"?(0,re.unsafeCSS)(o):o,e=class{static create(t,r,i,n){let a=c=>xe(c??n),s=re.css`var(${xe(t)}, ${a(n)})`;return s.name=t,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=c=>re.css`var(${xe(t)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(t,r,i,n){let a=c=>i.get(c??n),s=re.css`var(${xe(t)}, ${a(n)})`;return s.name=t,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=c=>re.css`var(${xe(t)}, ${a(c)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(t,r){let i=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):xe(a??t.lastResortDefaultValue()),n=re.css`var(${xe(t.name)}, ${i(t.defaultValue)})`;return n.name=t.name,n.category=t.category,n.fallbackVariable=t.fallbackVariable,n.defaultValue=t.defaultValue,n.context=r,n.defaultCssValue=i,n.get=a=>re.css`var(${xe(t.name)}, ${i(a)})`,n.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>t.lastResortDefaultValue(),n}};var l={colorWhite:e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:e.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:e.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:e.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:e.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:e.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:e.create("--ft-opacity-0","","NUMBER","0"),opacity8:e.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:e.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:e.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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)")},Rn={fontFamily:e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-display-textCase","","UNKNOWN","none")},Nn={fontFamily:e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ln={fontFamily:e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Tn={fontFamily:e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},In={fontFamily:e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},kn={fontFamily:e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Pn={fontFamily:e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},$n={fontFamily:e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},_n={fontFamily:e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},wl={fontFamily:e.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:e.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:e.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Dn={fontFamily:e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Bn={fontFamily:e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Un={fontFamily:e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Fn={fontFamily:e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},zn={fontFamily:e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Mn={fontFamily:e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Wn={fontFamily:e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Hn={fontFamily:e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Vn={fontFamily:e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Gn={fontFamily:e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Kn={fontFamily:e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Zn={fontFamily:e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},jn={fontFamily:e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},qn={fontFamily:e.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Yn={fontFamily:e.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Xn={fontFamily:e.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Qo={display:Rn,"title-1":Nn,"title-2":Ln,"title-3":Tn,"body-1-regular":In,"body-1-medium":kn,"body-1-semibold":Pn,"body-2-regular":$n,"body-2-medium":_n,"body-2-medium-underline":wl,"body-2-semibold":Dn,"label-1-medium":Bn,"label-1-semibold":Un,"label-1-bold":Fn,"label-2-medium":zn,"label-2-semibold":Mn,"label-2-bold":Wn,"caption-1-medium":Hn,"caption-1-semibold":Vn,"caption-1-bold":Gn,"caption-2-medium":Kn,"caption-2-semibold":Zn,"caption-2-bold":jn,"caption-3-medium":qn,"caption-3-semibold":Yn,"caption-3-bold":Xn};var p={backgroundActionPrimary:e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:e.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:e.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:e.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:e.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:e.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:e.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:e.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:e.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:e.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
140
|
-
Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:e.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:e.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:e.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:e.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:e.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:e.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:e.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:e.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:e.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:e.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:e.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var v={largeHeight:e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:e.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:e.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:e.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:e.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:e.extend("--ft-button-small-horizontal-padding","",l.spacing3),smallGap:e.extend("--ft-button-small-gap","",l.spacing2),smallBorderRadius:e.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:e.extend("--ft-button-small-icon-size","",l.iconSize2),smallBorderWidth:e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:e.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:e.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:e.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:e.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:e.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:e.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:e.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:e.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:e.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:e.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:e.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:e.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:e.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:e.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:e.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:e.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:e.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:e.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:e.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:e.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:e.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:e.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:e.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:e.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:e.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:e.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:e.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:e.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:e.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:e.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:e.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:e.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:e.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:e.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var Gp={focusOpacity:e.extend("--ft-link-focus-opacity","",l.opacity80),focusFocusRingColor:e.extend("--ft-link-focus-focus-ring-color","",p.borderActionFocusRing),brandColor:e.extend("--ft-link-brand-color","",p.contentActionPrimary),infoColor:e.extend("--ft-link-info-color","",p.contentInfoPrimary)};var Yp={iconSize:e.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:e.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-banner-horizontal-padding","",l.spacing6),verticalPadding:e.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:e.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:e.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:e.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:e.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:e.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var ed={horizontalPadding:e.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:e.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:e.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:e.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:e.extend("--ft-badge-background-color","",p.contentActionPrimary)};var ad={horizontalGap:e.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:e.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:e.extend("--ft-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:e.extend("--ft-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:e.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var dd={horizontalPadding:e.extend("--ft-page-header-horizontal-padding","",l.spacing12),horizontalGap:e.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:e.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:e.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:e.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:e.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:e.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:e.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:e.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:e.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var yd={smallContainerWidth:e.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:e.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:e.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:e.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:e.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:e.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:e.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:e.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:e.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:e.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:e.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:e.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:e.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:e.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:e.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:e.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:e.extend("--ft-modal-border-radius","",l.borderRadiusM)};var Sd={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:e.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:e.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:e.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:e.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:e.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:e.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:e.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:e.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:e.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:e.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:e.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var wd={fieldHorizontalPadding:e.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:e.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:e.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:e.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:e.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:e.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:e.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:e.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:e.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:e.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:e.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Id={backgroundColor:e.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:e.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:e.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:e.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:e.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:e.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:e.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:e.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var Dd={height:e.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:e.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:e.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:e.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:e.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:e.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:e.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface)};var Md={fieldHorizontalPadding:e.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:e.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:e.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:e.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:e.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:e.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:e.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:e.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:e.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:e.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:e.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var Kd={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:e.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:e.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:e.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:e.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:e.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:e.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:e.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:e.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:e.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:e.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var Xd={backgroundColor:e.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:e.extend("--ft-popover-vertical-padding","",l.spacing6),iconColor:e.extend("--ft-popover-icon-color","",p.contentGlobalSecondary),iconSize:e.extend("--ft-popover-icon-size","",l.iconSize2),titleColor:e.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:e.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:e.extend("--ft-popover-gap","",l.spacing3),borderRadius:e.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:e.extend("--ft-popover-shadow","",l.shadowElevation02)};var of={topLeftBorderRadius:e.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:e.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:e.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:e.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:e.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:e.extend("--ft-tabs-vertical-gap","",l.spacing1),offHoverStateLayerOpacity:e.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:e.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:e.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:e.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:e.extend("--ft-tabs-on-disabled-component-opacity","",l.opacity40),onColor:e.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:e.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:e.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:e.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:e.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var lf={hoverStateLayerOpacity:e.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:e.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:e.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:e.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:e.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:e.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:e.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",l.iconSize3)};var hf={groupHorizontalPadding:e.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:e.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:e.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:e.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:e.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:e.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:e.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:e.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:e.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:e.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:e.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:e.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:e.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:e.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:e.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:e.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:e.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var gf={color1Light:e.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:e.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:e.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:e.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:e.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:e.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:e.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:e.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:e.extend("--ft-chart-5-light","",l.colorRed40),color5Base:e.extend("--ft-chart-5-base","",l.colorRed60),color6Light:e.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:e.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:e.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:e.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:e.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:e.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:e.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:e.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:e.extend("--ft-chart-10-light","",l.colorGray50),color10Base:e.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:e.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:e.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:e.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:e.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:e.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:e.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var Of={largeHorizontalPadding:e.extend("--ft-chip-large-horizontal-padding","",l.spacing4),largeVerticalPadding:e.extend("--ft-chip-large-vertical-padding","",l.spacing2),largeGap:e.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.extend("--ft-chip-large-border-radius","",l.borderRadiusPill),largeBorderWidth:e.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumHorizontalPadding:e.extend("--ft-chip-medium-horizontal-padding","",l.spacing3),mediumVerticalPadding:e.extend("--ft-chip-medium-vertical-padding","",l.spacing1),mediumGap:e.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.extend("--ft-chip-medium-border-radius","",l.borderRadiusPill),mediumBorderWidth:e.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallHorizontalPadding:e.extend("--ft-chip-small-horizontal-padding","",l.spacing2),smallVerticalPadding:e.extend("--ft-chip-small-vertical-padding","",l.spacing05),smallGap:e.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.extend("--ft-chip-small-border-radius","",l.borderRadiusPill),smallBorderWidth:e.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:e.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var Rf={borderWidth:e.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:e.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:e.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:e.extend("--ft-notice-gap","",l.spacing2),iconSize:e.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:e.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var kf={color:e.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:e.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:e.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:e.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:e.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:e.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:e.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-checkbox-gap","",l.spacing3)};var Bf={offHoverStateLayerOpacity:e.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:e.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:e.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:e.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:e.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:e.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:e.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:e.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:e.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:e.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",l.spacing3)};var Wf={color:e.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:e.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:e.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:e.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:e.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:e.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:e.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-radio-gap","",l.spacing3)};var Zf={iconSize:e.extend("--ft-notification-icon-size","",l.iconSize4),horizontalPadding:e.extend("--ft-notification-horizontal-padding","",l.spacing4),verticalPadding:e.extend("--ft-notification-vertical-padding","",l.spacing4),infoBackgroundColor:e.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:e.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:e.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:e.extend("--ft-notification-trailing-gap","",l.spacing8)};var Qf={horizontalPadding:e.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:e.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:e.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:e.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:e.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:e.extend("--ft-tooltip-shadow","",l.shadowElevation03),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ft-tooltip-gap","",l.spacing05)};var Jo=f(C());function Qn(o){let t=Qo[o];return Jo.css`
|
|
139
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),hn=/'/g,un=/"/g,xn=/^(?:script|style|textarea|title)$/i,vn=o=>(t,...r)=>({_$litType$:o,strings:t,values:r}),Sn=vn(1),On=vn(2),Co=Symbol.for("lit-noChange"),nt=Symbol.for("lit-nothing"),mn=new WeakMap,Pe=ke.createTreeWalker(ke,129);function Cn(o,t){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return pn!==void 0?pn.createHTML(t):t}var Al=(o,t)=>{let r=o.length-1,i=[],n,a=t===2?"<svg>":"",l=So;for(let c=0;c<r;c++){let h=o[c],u,b,S=-1,L=0;for(;L<h.length&&(l.lastIndex=L,b=l.exec(h),b!==null);)L=l.lastIndex,l===So?b[1]==="!--"?l=dn:b[1]!==void 0?l=fn:b[2]!==void 0?(xn.test(b[2])&&(n=RegExp("</"+b[2],"g")),l=Ie):b[3]!==void 0&&(l=Ie):l===Ie?b[0]===">"?(l=n??So,S=-1):b[1]===void 0?S=-2:(S=l.lastIndex-b[2].length,u=b[1],l=b[3]===void 0?Ie:b[3]==='"'?un:hn):l===un||l===hn?l=Ie:l===dn||l===fn?l=So:(l=Ie,n=void 0);let w=l===Ie&&o[c+1].startsWith("/>")?" ":"";a+=l===So?h+Cl:S>=0?(i.push(u),h.slice(0,S)+yn+h.slice(S)+be+w):h+be+(S===-2?c:w)}return[Cn(o,a+(o[r]||"<?>")+(t===2?"</svg>":"")),i]},Eo=class o{constructor({strings:t,_$litType$:r},i){let n;this.parts=[];let a=0,l=0,c=t.length-1,h=this.parts,[u,b]=Al(t,r);if(this.el=o.createElement(u,i),Pe.currentNode=this.el.content,r===2){let S=this.el.content.firstChild;S.replaceWith(...S.childNodes)}for(;(n=Pe.nextNode())!==null&&h.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let S of n.getAttributeNames())if(S.endsWith(yn)){let L=b[l++],w=n.getAttribute(S).split(be),P=/([.?@])?(.*)/.exec(L);h.push({type:1,index:a,name:P[2],strings:w,ctor:P[1]==="."?Dr:P[1]==="?"?Br:P[1]==="@"?Ur:qe}),n.removeAttribute(S)}else S.startsWith(be)&&(h.push({type:6,index:a}),n.removeAttribute(S));if(xn.test(n.tagName)){let S=n.textContent.split(be),L=S.length-1;if(L>0){n.textContent=qo?qo.emptyScript:"";for(let w=0;w<L;w++)n.append(S[w],Yo()),Pe.nextNode(),h.push({type:2,index:++a});n.append(S[L],Yo())}}}else if(n.nodeType===8)if(n.data===gn)h.push({type:2,index:a});else{let S=-1;for(;(S=n.data.indexOf(be,S+1))!==-1;)h.push({type:7,index:a}),S+=be.length-1}a++}}static createElement(t,r){let i=ke.createElement("template");return i.innerHTML=t,i}};function je(o,t,r=o,i){if(t===Co)return t;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=Oo(t)?void 0:t._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(o),n._$AT(o,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(t=je(o,n._$AS(o,t.values),n,i)),t}var _r=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:i}=this._$AD,n=(t?.creationScope??ke).importNode(r,!0);Pe.currentNode=n;let a=Pe.nextNode(),l=0,c=0,h=i[0];for(;h!==void 0;){if(l===h.index){let u;h.type===2?u=new Xo(a,a.nextSibling,this,t):h.type===1?u=new h.ctor(a,h.name,h.strings,this,t):h.type===6&&(u=new Fr(a,this,t)),this._$AV.push(u),h=i[++c]}l!==h?.index&&(a=Pe.nextNode(),l++)}return Pe.currentNode=ke,n}p(t){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,r),r+=i.strings.length-2):i._$AI(t[r])),r++}},Xo=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,i,n){this.type=2,this._$AH=nt,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=je(this,t,r),Oo(t)?t===nt||t==null||t===""?(this._$AH!==nt&&this._$AR(),this._$AH=nt):t!==this._$AH&&t!==Co&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):El(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==nt&&Oo(this._$AH)?this._$AA.nextSibling.data=t:this.$(ke.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:i}=t,n=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=Eo.createElement(Cn(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new _r(n,this),l=a.u(this.options);a.p(r),this.$(l),this._$AH=a}}_$AC(t){let r=mn.get(t.strings);return r===void 0&&mn.set(t.strings,r=new Eo(t)),r}T(t){bn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of t)n===r.length?r.push(i=new o(this.k(Yo()),this.k(Yo()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let i=t.nextSibling;t.remove(),t=i}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},qe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,i,n,a){this.type=1,this._$AH=nt,this._$AN=void 0,this.element=t,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=nt}_$AI(t,r=this,i,n){let a=this.strings,l=!1;if(a===void 0)t=je(this,t,r,0),l=!Oo(t)||t!==this._$AH&&t!==Co,l&&(this._$AH=t);else{let c=t,h,u;for(t=a[0],h=0;h<a.length-1;h++)u=je(this,c[i+h],r,h),u===Co&&(u=this._$AH[h]),l||=!Oo(u)||u!==this._$AH[h],u===nt?t=nt:t!==nt&&(t+=(u??"")+a[h+1]),this._$AH[h]=u}l&&!n&&this.O(t)}O(t){t===nt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Dr=class extends qe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===nt?void 0:t}},Br=class extends qe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==nt)}},Ur=class extends qe{constructor(t,r,i,n,a){super(t,r,i,n,a),this.type=5}_$AI(t,r=this){if((t=je(this,t,r,0)??nt)===Co)return;let i=this._$AH,n=t===nt&&i!==nt||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,a=t!==nt&&(i===nt||n);n&&this.element.removeEventListener(this.name,this,i),a&&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)}},Fr=class{constructor(t,r,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){je(this,t)}};var wl=zr.litHtmlPolyfillSupport;wl?.(Eo,Xo),(zr.litHtmlVersions??=[]).push("3.1.0");var An=Symbol.for(""),Rl=o=>{if(o?.r===An)return o?._$litStatic$},Mr=o=>({_$litStatic$:o,r:An});var En=new Map,wn=o=>(t,...r)=>{let i=r.length,n,a,l=[],c=[],h,u=0,b=!1;for(;u<i;){for(h=t[u];u<i&&(a=r[u],(n=Rl(a))!==void 0);)h+=n+t[++u],b=!0;u!==i&&c.push(a),l.push(h),u++}if(u===i&&l.push(t[i]),b){let S=l.join("$$lit$$");(t=En.get(S))===void 0&&(l.raw=l,En.set(S,t=l)),r=c}return o(t,...r)},Wr=wn(Sn),Lp=wn(On);var Hr=f(W()),ua=f(x());var $e;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})($e||($e={}));var Ut=f(C()),g=f(x());var re=f(C(),1),xe=o=>typeof o=="string"?(0,re.unsafeCSS)(o):o,e=class{static create(t,r,i,n){let a=c=>xe(c??n),l=re.css`var(${xe(t)}, ${a(n)})`;return l.name=t,l.description=r,l.category=i,l.defaultValue=n,l.defaultCssValue=a,l.get=c=>re.css`var(${xe(t)}, ${a(c)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>n,l}static extend(t,r,i,n){let a=c=>i.get(c??n),l=re.css`var(${xe(t)}, ${a(n)})`;return l.name=t,l.description=r,l.category=i.category,l.fallbackVariable=i,l.defaultValue=n,l.defaultCssValue=a,l.get=c=>re.css`var(${xe(t)}, ${a(c)})`,l.breadcrumb=()=>[i.name,...i.breadcrumb()],l.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),l}static external(t,r){let i=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):xe(a??t.lastResortDefaultValue()),n=re.css`var(${xe(t.name)}, ${i(t.defaultValue)})`;return n.name=t.name,n.category=t.category,n.fallbackVariable=t.fallbackVariable,n.defaultValue=t.defaultValue,n.context=r,n.defaultCssValue=i,n.get=a=>re.css`var(${xe(t.name)}, ${i(a)})`,n.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>t.lastResortDefaultValue(),n}};var s={colorWhite:e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:e.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:e.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:e.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:e.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:e.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:e.create("--ft-opacity-0","","NUMBER","0"),opacity8:e.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:e.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:e.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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)")},Rn={fontFamily:e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-display-textCase","","UNKNOWN","none")},Nn={fontFamily:e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ln={fontFamily:e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Tn={fontFamily:e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},In={fontFamily:e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Pn={fontFamily:e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},kn={fontFamily:e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},$n={fontFamily:e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},_n={fontFamily:e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Nl={fontFamily:e.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:e.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:e.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Dn={fontFamily:e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Bn={fontFamily:e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Un={fontFamily:e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Fn={fontFamily:e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},zn={fontFamily:e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Mn={fontFamily:e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Wn={fontFamily:e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Hn={fontFamily:e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Vn={fontFamily:e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Gn={fontFamily:e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Kn={fontFamily:e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Zn={fontFamily:e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},jn={fontFamily:e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},qn={fontFamily:e.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Yn={fontFamily:e.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Xn={fontFamily:e.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Qo={display:Rn,"title-1":Nn,"title-2":Ln,"title-3":Tn,"body-1-regular":In,"body-1-medium":Pn,"body-1-semibold":kn,"body-2-regular":$n,"body-2-medium":_n,"body-2-medium-underline":Nl,"body-2-semibold":Dn,"label-1-medium":Bn,"label-1-semibold":Un,"label-1-bold":Fn,"label-2-medium":zn,"label-2-semibold":Mn,"label-2-bold":Wn,"caption-1-medium":Hn,"caption-1-semibold":Vn,"caption-1-bold":Gn,"caption-2-medium":Kn,"caption-2-semibold":Zn,"caption-2-bold":jn,"caption-3-medium":qn,"caption-3-semibold":Yn,"caption-3-bold":Xn};var p={backgroundActionPrimary:e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:e.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:e.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:e.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:e.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:e.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:e.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:e.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:e.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:e.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
140
|
+
Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:e.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:e.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:e.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:e.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:e.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:e.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:e.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:e.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:e.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:e.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:e.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80)};var v={largeHeight:e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:e.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:e.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:e.extend("--ft-button-large-icon-size","",s.iconSize3),largeBorderWidth:e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:e.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:e.extend("--ft-button-medium-horizontal-padding","",s.spacing3),mediumGap:e.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:e.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:e.extend("--ft-button-medium-icon-size","",s.iconSize2),mediumBorderWidth:e.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:e.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:e.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:e.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ft-button-small-horizontal-padding","",s.spacing2),smallGap:e.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:e.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:e.extend("--ft-button-small-icon-size","",s.iconSize1),smallBorderWidth:e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:e.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:e.extend("--ft-button-x-small-icon-size","",s.iconSize1),xSmallFocusOutlineOffset:e.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:e.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:e.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:e.extend("--ft-button-round-border-radius","",s.borderRadiusPill),primaryBackgroundColor:e.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:e.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:e.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:e.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:e.extend("--ft-button-primary-hover-state-layer-opacity","",s.opacity16),primaryFocusStateLayerOpacity:e.extend("--ft-button-primary-focus-state-layer-opacity","",s.opacity16),primaryActiveStateLayerOpacity:e.extend("--ft-button-primary-active-state-layer-opacity","",s.opacity24),primaryDisabledComponentOpacity:e.extend("--ft-button-primary-disabled-component-opacity","",s.opacity40),focusFocusRingColor:e.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:e.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:e.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:e.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:e.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:e.extend("--ft-button-tertiary-hover-state-layer-opacity","",s.opacity8),tertiaryFocusStateLayerOpacity:e.extend("--ft-button-tertiary-focus-state-layer-opacity","",s.opacity8),tertiaryActiveStateLayerOpacity:e.extend("--ft-button-tertiary-active-state-layer-opacity","",s.opacity16),tertiaryDisabledComponentOpacity:e.extend("--ft-button-tertiary-disabled-component-opacity","",s.opacity40),secondaryBackgroundColor:e.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:e.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:e.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:e.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:e.extend("--ft-button-secondary-hover-state-layer-opacity","",s.opacity8),secondaryFocusStateLayerOpacity:e.extend("--ft-button-secondary-focus-state-layer-opacity","",s.opacity8),secondaryActiveStateLayerOpacity:e.extend("--ft-button-secondary-active-state-layer-opacity","",s.opacity16),secondaryDisabledComponentOpacity:e.extend("--ft-button-secondary-disabled-component-opacity","",s.opacity40),secondaryBorderColor:e.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:e.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:e.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:e.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:e.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:e.extend("--ft-button-neutral-hover-state-layer-opacity","",s.opacity8),neutralFocusStateLayerOpacity:e.extend("--ft-button-neutral-focus-state-layer-opacity","",s.opacity8),neutralActiveStateLayerOpacity:e.extend("--ft-button-neutral-active-state-layer-opacity","",s.opacity16),neutralDisabledComponentOpacity:e.extend("--ft-button-neutral-disabled-component-opacity","",s.opacity40)};var Zp={largeMinHeight:e.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:e.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:e.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.extend("--ft-chip-large-border-radius","",s.borderRadiusPill),largeBorderWidth:e.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumMinHeight:e.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:e.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:e.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.extend("--ft-chip-medium-border-radius","",s.borderRadiusPill),mediumBorderWidth:e.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallMinHeight:e.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:e.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:e.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.extend("--ft-chip-small-border-radius","",s.borderRadiusPill),smallBorderWidth:e.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:e.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var Qp={focusOpacity:e.extend("--ft-link-focus-opacity","",s.opacity80),focusFocusRingColor:e.extend("--ft-link-focus-focus-ring-color","",p.borderActionFocusRing),brandColor:e.extend("--ft-link-brand-color","",p.contentActionPrimary),infoColor:e.extend("--ft-link-info-color","",p.contentInfoPrimary)};var rd={iconSize:e.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:e.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:e.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:e.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:e.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:e.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:e.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:e.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:e.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:e.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var ld={horizontalPadding:e.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:e.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:e.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:e.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:e.extend("--ft-badge-background-color","",p.contentActionPrimary)};var hd={horizontalGap:e.extend("--ft-breadcrumb-horizontal-gap","",s.spacing1),verticalGap:e.extend("--ft-breadcrumb-vertical-gap","",s.spacing2),currentColor:e.extend("--ft-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:e.extend("--ft-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:e.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var bd={horizontalPadding:e.extend("--ft-page-header-horizontal-padding","",s.spacing12),horizontalGap:e.extend("--ft-page-header-horizontal-gap","",s.spacing4),verticalGap:e.extend("--ft-page-header-vertical-gap","",s.spacing2),classicVerticalPadding:e.extend("--ft-page-header-classic-vertical-padding","",s.spacing6),multilineVerticalPadding:e.extend("--ft-page-header-multiline-vertical-padding","",s.spacing4),inlineVerticalPadding:e.extend("--ft-page-header-inline-vertical-padding","",s.spacing2),backgroundColor:e.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:e.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:e.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:e.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var Cd={smallContainerWidth:e.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:e.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:e.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:e.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:e.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:e.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:e.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:e.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:e.extend("--ft-modal-body-vertical-gap","",s.spacing6),containerMargin:e.extend("--ft-modal-container-margin","",s.spacing3),headerBackgroundColor:e.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:e.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:e.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:e.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:e.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottom:e.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:e.extend("--ft-modal-border-radius","",s.borderRadiusM)};var Nd={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:e.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:e.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:e.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:e.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:e.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:e.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:e.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:e.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing4),buttonsBarVerticalPadding:e.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:e.extend("--ft-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:e.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ft-drawer-overlay-background-color","",s.colorGray700)};var kd={fieldHorizontalPadding:e.extend("--ft-text-input-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-text-input-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-text-input-field-vertical-gap","",s.spacing05),fieldIconSize:e.extend("--ft-text-input-field-icon-size","",s.iconSize3),fieldHeight:e.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:e.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:e.extend("--ft-text-input-border-radius","",s.borderRadiusM),backgroundColor:e.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:e.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:e.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var Ud={backgroundColor:e.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:e.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:e.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:e.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:e.extend("--ft-text-area-border-radius","",s.borderRadiusM)};var Hd={height:e.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:e.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:e.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:e.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:e.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:e.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:e.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface)};var jd={fieldHorizontalPadding:e.extend("--ft-combobox-single-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-single-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-combobox-single-select-field-vertical-gap","",s.spacing05),fieldIconSize:e.extend("--ft-combobox-single-select-field-icon-size","",s.iconSize3),fieldHeight:e.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:e.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:e.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:e.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:e.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusM),backgroundColor:e.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:e.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var Jd={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:e.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:e.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:e.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:e.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:e.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:e.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:e.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:e.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusM)};var nf={backgroundColor:e.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:e.extend("--ft-popover-vertical-padding","",s.spacing6),titleColor:e.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:e.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:e.extend("--ft-popover-gap","",s.spacing3),borderRadius:e.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:e.extend("--ft-popover-shadow","",s.shadowElevation02)};var pf={topLeftBorderRadius:e.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:e.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:e.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:e.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:e.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:e.extend("--ft-tabs-vertical-gap","",s.spacing1),offHoverStateLayerOpacity:e.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:e.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:e.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:e.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:e.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity8),onDefaultStateLayerOpacity:e.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity0),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity16),onColor:e.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:e.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:e.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:e.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:e.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var mf={hoverStateLayerOpacity:e.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:e.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:e.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:e.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:e.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:e.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:e.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",s.iconSize3)};var vf={groupHorizontalPadding:e.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:e.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:e.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:e.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:e.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:e.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:e.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:e.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:e.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:e.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:e.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:e.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:e.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:e.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:e.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:e.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:e.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var Ef={color1Light:e.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:e.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:e.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:e.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:e.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:e.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:e.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:e.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:e.extend("--ft-chart-5-light","",s.colorRed40),color5Base:e.extend("--ft-chart-5-base","",s.colorRed60),color6Light:e.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:e.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:e.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:e.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:e.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:e.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:e.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:e.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:e.extend("--ft-chart-10-light","",s.colorGray50),color10Base:e.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:e.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:e.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:e.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:e.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:e.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:e.extend("--ft-chart-monochrome-60","",s.colorBrand200)};var Lf={borderWidth:e.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:e.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:e.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:e.extend("--ft-notice-gap","",s.spacing2),iconSize:e.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:e.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var $f={color:e.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:e.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:e.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:e.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:e.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:e.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:e.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-checkbox-gap","",s.spacing3)};var Ff={offHoverStateLayerOpacity:e.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:e.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:e.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:e.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:e.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:e.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:e.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:e.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:e.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:e.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",s.spacing3)};var Vf={color:e.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:e.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:e.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:e.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:e.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:e.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:e.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-radio-gap","",s.spacing3)};var qf={iconSize:e.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:e.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:e.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:e.extend("--ft-notification-vertical-padding","",s.spacing3),infoBackgroundColor:e.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:e.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:e.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:e.extend("--ft-notification-trailing-gap","",s.spacing8)};var th={horizontalPadding:e.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:e.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:e.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:e.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:e.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:e.extend("--ft-tooltip-shadow","",s.shadowElevation03),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ft-tooltip-gap","",s.spacing05)};var Qn;(function(o){o.brand="brand",o.neutral="neutral",o.info="info",o.success="success",o.warning="warning",o.error="error"})(Qn||(Qn={}));var Jn;(function(o){o.large="large",o.medium="medium",o.small="small"})(Jn||(Jn={}));var Jo=f(C());function ta(o){let t=Qo[o];return Jo.css`
|
|
141
141
|
.ft-typography--${(0,Jo.unsafeCSS)(o)} {
|
|
142
142
|
font-family: ${t.fontFamily};
|
|
143
143
|
font-size: ${t.fontSize};
|
|
@@ -146,7 +146,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
146
146
|
line-height: ${t.lineHeight};
|
|
147
147
|
text-transform: ${t.textCase};
|
|
148
148
|
}
|
|
149
|
-
`}var
|
|
149
|
+
`}var ea=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.titleFont),ie=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.contentFont),O={fontFamily:ie,fontSize:g.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:g.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:g.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:g.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:g.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ye={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ea),fontSize:g.FtCssVariableFactory.extend("--ft-typography-title-font-size","",O.fontSize,"20px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",O.letterSpacing,"0.15px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-title-line-height","",O.lineHeight,"1.2"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",O.textTransform,"inherit")},Xe={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ea),fontSize:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",O.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",O.letterSpacing,"0.105px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",O.lineHeight,"1.7"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",O.textTransform,"inherit")},Qe={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",O.fontSize,"16px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",O.fontWeight,"600"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",O.letterSpacing,"0.144px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",O.lineHeight,"1.5"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",O.textTransform,"inherit")},Je={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",O.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",O.letterSpacing,"0.098px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",O.lineHeight,"1.7"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",O.textTransform,"inherit")},to={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",O.fontSize,"16px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",O.letterSpacing,"0.496px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",O.lineHeight,"1.5"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",O.textTransform,"inherit")},dt={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",O.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",O.letterSpacing,"0.252px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",O.lineHeight,"1.4"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",O.textTransform,"inherit")},eo={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",O.fontSize,"12px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",O.letterSpacing,"0.396px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",O.lineHeight,"1.33"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",O.textTransform,"inherit")},oo={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",O.fontSize,"10px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",O.letterSpacing,"0.33px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",O.lineHeight,"1.6"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",O.textTransform,"inherit")},ro={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",O.fontSize,"10px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",O.letterSpacing,"1.5px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",O.lineHeight,"1.6"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",O.textTransform,"uppercase")},Xt={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-button-font-size","",O.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",O.fontWeight,"600"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",O.letterSpacing,"1.246px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-button-line-height","",O.lineHeight,"1.15"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",O.textTransform,"uppercase")},oa=Ut.css`
|
|
150
150
|
.ft-typography--title {
|
|
151
151
|
font-family: ${Ye.fontFamily};
|
|
152
152
|
font-size: ${Ye.fontSize};
|
|
@@ -155,7 +155,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
155
155
|
line-height: ${Ye.lineHeight};
|
|
156
156
|
text-transform: ${Ye.textTransform};
|
|
157
157
|
}
|
|
158
|
-
`,
|
|
158
|
+
`,ra=Ut.css`
|
|
159
159
|
.ft-typography--title-dense {
|
|
160
160
|
font-family: ${Xe.fontFamily};
|
|
161
161
|
font-size: ${Xe.fontSize};
|
|
@@ -164,7 +164,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
164
164
|
line-height: ${Xe.lineHeight};
|
|
165
165
|
text-transform: ${Xe.textTransform};
|
|
166
166
|
}
|
|
167
|
-
`,
|
|
167
|
+
`,ia=Ut.css`
|
|
168
168
|
.ft-typography--subtitle1 {
|
|
169
169
|
font-family: ${Qe.fontFamily};
|
|
170
170
|
font-size: ${Qe.fontSize};
|
|
@@ -173,7 +173,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
173
173
|
line-height: ${Qe.lineHeight};
|
|
174
174
|
text-transform: ${Qe.textTransform};
|
|
175
175
|
}
|
|
176
|
-
`,
|
|
176
|
+
`,na=Ut.css`
|
|
177
177
|
.ft-typography--subtitle2 {
|
|
178
178
|
font-family: ${Je.fontFamily};
|
|
179
179
|
font-size: ${Je.fontSize};
|
|
@@ -183,7 +183,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
183
183
|
text-transform: ${Je.textTransform};
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
`,
|
|
186
|
+
`,aa=Ut.css`
|
|
187
187
|
.ft-typography--body1 {
|
|
188
188
|
font-family: ${to.fontFamily};
|
|
189
189
|
font-size: ${to.fontSize};
|
|
@@ -192,7 +192,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
192
192
|
line-height: ${to.lineHeight};
|
|
193
193
|
text-transform: ${to.textTransform};
|
|
194
194
|
}
|
|
195
|
-
`,
|
|
195
|
+
`,sa=Ut.css`
|
|
196
196
|
.ft-typography--body2 {
|
|
197
197
|
font-family: ${dt.fontFamily};
|
|
198
198
|
font-size: ${dt.fontSize};
|
|
@@ -210,7 +210,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
210
210
|
line-height: ${eo.lineHeight};
|
|
211
211
|
text-transform: ${eo.textTransform};
|
|
212
212
|
}
|
|
213
|
-
`,
|
|
213
|
+
`,la=Ut.css`
|
|
214
214
|
.ft-typography--breadcrumb {
|
|
215
215
|
font-family: ${oo.fontFamily};
|
|
216
216
|
font-size: ${oo.fontSize};
|
|
@@ -219,7 +219,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
219
219
|
line-height: ${oo.lineHeight};
|
|
220
220
|
text-transform: ${oo.textTransform};
|
|
221
221
|
}
|
|
222
|
-
`,
|
|
222
|
+
`,ca=Ut.css`
|
|
223
223
|
.ft-typography--overline {
|
|
224
224
|
font-family: ${ro.fontFamily};
|
|
225
225
|
font-size: ${ro.fontSize};
|
|
@@ -228,7 +228,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
228
228
|
line-height: ${ro.lineHeight};
|
|
229
229
|
text-transform: ${ro.textTransform};
|
|
230
230
|
}
|
|
231
|
-
`,
|
|
231
|
+
`,pa=Ut.css`
|
|
232
232
|
.ft-typography--button {
|
|
233
233
|
font-family: ${Xt.fontFamily};
|
|
234
234
|
font-size: ${Xt.fontSize};
|
|
@@ -237,11 +237,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
237
237
|
line-height: ${Xt.lineHeight};
|
|
238
238
|
text-transform: ${Xt.textTransform};
|
|
239
239
|
}
|
|
240
|
-
`,
|
|
240
|
+
`,da=Ut.css`
|
|
241
241
|
.ft-typography {
|
|
242
242
|
vertical-align: inherit;
|
|
243
243
|
}
|
|
244
|
-
`,
|
|
244
|
+
`,fa=[Object.keys(Qo).map(o=>ta(o))];var ha=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},H=class extends ua.FtLitElement{constructor(){super(...arguments),this.variant=$e.body1}render(){return this.element?Wr`
|
|
245
245
|
<${Mr(this.element)}
|
|
246
246
|
part="text"
|
|
247
247
|
class="ft-typography ft-typography--${this.variant}">
|
|
@@ -249,7 +249,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
249
249
|
</${Mr(this.element)}>
|
|
250
250
|
`:Wr`
|
|
251
251
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
252
|
-
`}};H.styles=[
|
|
252
|
+
`}};H.styles=[oa,ra,ia,na,aa,sa,tr,la,ca,pa,da,...fa];ha([(0,Hr.property)()],H.prototype,"element",void 0);ha([(0,Hr.property)()],H.prototype,"variant",void 0);(0,ma.customElement)("ft-typography")(H);var Oa=f(x());var Ao=f(C()),_e=f(W()),va=f(x()),Sa=f(ga());var er;(function(o){o.ADD_TO_PBK="",o.ALERT="",o.ADD_ALERT="",o.BACK_TO_SEARCH="",o.ADD_BOOKMARK="",o.BOOKMARK="",o.BOOKS="",o.MENU="",o.DOWNLOAD="",o.EDIT="",o.FEEDBACK="",o.HOME="",o.MODIFY_PBK="",o.SCHEDULED="",o.SEARCH="",o.EXPORT="",o.TOC="",o.WRITE_UGC="",o.TRASH="",o.USER="",o.EXTLINK="",o.CALENDAR="",o.OFFLINE="",o.BOOK="",o.DOWNLOAD_PLAIN="",o.CHECK="",o.STAR_PLAIN="",o.TOPICS="",o.DISC="",o.CIRCLE="",o.SHARED="",o.SORT_UNSORTED="",o.SORT_UP="",o.SORT_DOWN="",o.WORKING="",o.CLOSE="",o.ZOOM_OUT="",o.ZOOM_IN="",o.ZOOM_REALSIZE="",o.ZOOM_FULLSCREEN="",o.ADMIN_RESTRICTED="",o.ADMIN="",o.ADMIN_KHUB="",o.ADMIN_THEME="",o.ADMIN_USERS="",o.WARNING="",o.CONTEXT="",o.SEARCH_HOME="",o.STEPS="",o.ICON_EXPAND="",o.ICON_COLLAPSE="",o.INFO="",o.MINUS_PLAIN="",o.PLUS_PLAIN="",o.FACET_HAS_DESCENDANT="",o.TRIANGLE_BOTTOM="",o.TRIANGLE_LEFT="",o.TRIANGLE_RIGHT="",o.TRIANGLE_TOP="",o.THIN_ARROW="",o.SIGN_IN="",o.LOGOUT="",o.TRANSLATE="",o.CLOSE_PLAIN="",o.CHECK_PLAIN="",o.ARTICLE="",o.COLUMNS="",o.ANALYTICS="",o.COLLECTIONS="",o.ARROW_DOWN="",o.ARROW_LEFT="",o.ARROW_RIGHT="",o.ARROW_UP="",o.SEARCH_IN_PUBLICATION="",o.COPY_TO_CLIPBOARD="",o.SHARED_PBK="",o.ATTACHMENTS="",o.STRIPE_ARROW_LEFT="",o.STRIPE_ARROW_RIGHT="",o.FILTERS="",o.DOT="",o.MINUS="",o.PLUS="",o.MAILS_AND_NOTIFICATIONS="",o.SAVE="",o.LOCKER="",o.ADMIN_INTEGRATION="",o.SYNC="",o.TAG="",o.BOOK_PLAIN="",o.UPLOAD="",o.ONLINE="",o.TAG_PLAIN="",o.ACCOUNT_SETTINGS="",o.PRINT="",o.DEFAULT_ROLES="",o.SHORTCUT_MENU="",o.RELATIVES_PLAIN="",o.RELATIVES="",o.PAUSE="",o.PLAY="",o.ADMIN_PORTAL="",o.STAR="",o.THUMBS_DOWN="",o.THUMBS_DOWN_PLAIN="",o.THUMBS_UP="",o.THUMBS_UP_PLAIN="",o.FEEDBACK_PLAIN="",o.RATE_PLAIN="",o.RATE="",o.OFFLINE_SETTINGS="",o.MY_COLLECTIONS="",o.THIN_ARROW_LEFT="",o.THIN_ARROW_RIGHT="",o.RESET="",o.MY_LIBRARY="",o.UNSTRUCTURED_DOC="",o.CONTEXTUAL="",o.THIN_ARROW_UP="",o.ARROW_RIGHT_TO_LINE="",o.DESKTOP="",o.TABLET_LANDSCAPE="",o.TABLET_PORTRAIT="",o.MOBILE_LANDSCAPE="",o.MOBILE_PORTRAIT="",o.DIAGRAM_SUNBURST="",o.DIAGRAM_SANKEY="",o.COMMENT_QUESTION="",o.COMMENT_QUESTION_PLAIN="",o.MESSAGE_BOT="",o.CHART_SIMPLE="",o.BARS_PROGRESS="",o.BOOK_OPEN_GEAR="",o.BOOK_OPEN_GEAR_SLASH="",o.LINE_CHART="",o.STACKED_CHART="",o.CHART_BAR_STACKED="",o.CHART_BAR_GROUPED="",o.EYE_SLASH="",o.X_MARK="",o.EXPAND_WIDE="",o.PIP="",o.PIP_WIDE="",o.LIFE_RING="",o.GLOBE="",o.PIGGY_BANK="",o.EXTLINK_LIGHT="",o.CLONE="",o.CLONE_LINK_SIMPLE="",o.CHART_BAR_NORMALIZED="",o.CONSUMER="",o.OCTAGON_XMARK="",o.HOURGLASS_HALF="",o.CLOCK="",o.CLOCK_THREE="",o.CALENDAR_DAY="",o.COMPUTER_MOUSE_MAGNIFYING_GLASS="",o.WAND_MAGIC_SPARKLES="",o.PAPER_PLANE="",o.CIRCLE_STOP="",o.ARROW_ROTATE_RIGHT="",o.ARROWS_ROTATE="",o.ALIGN_RIGHT="",o.FORMAT_CLEAR="",o.ALIGN_CENTER="",o.ALIGN_LEFT="",o.PALETTE="",o.BOLD="",o.ITALIC="",o.UNDERLINE="",o.STRIKETHROUGH="",o.LINK_SIMPLE_SLASH="",o.LINK_SIMPLE="",o.EYE="",o.SHARE="󨃱"})(er||(er={}));var y;(function(o){o.UNKNOWN="",o.ABW="",o.AUDIO="",o.AVI="",o.CHM="",o.CODE="",o.CSV="",o.DITA="",o.EPUB="",o.EXCEL="",o.FLAC="",o.GIF="",o.GZIP="",o.HTML="",o.IMAGE="",o.JPEG="",o.JSON="",o.M4A="",o.MOV="",o.MP3="",o.MP4="",o.OGG="",o.PDF="",o.PNG="",o.POWERPOINT="",o.RAR="",o.STP="",o.TEXT="",o.VIDEO="",o.WAV="",o.WMA="",o.WORD="",o.XML="",o.YAML="",o.ZIP=""})(y||(y={}));var Su=new Map([...["abw"].map(o=>[o,y.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(o=>[o,y.AUDIO]),...["avi"].map(o=>[o,y.AVI]),...["chm","xhs"].map(o=>[o,y.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(o=>[o,y.CODE]),...["csv"].map(o=>[o,y.CSV]),...["dita","ditamap","ditaval"].map(o=>[o,y.DITA]),...["epub"].map(o=>[o,y.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(o=>[o,y.EXCEL]),...["flac"].map(o=>[o,y.FLAC]),...["gif"].map(o=>[o,y.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(o=>[o,y.GZIP]),...["html","htm","xhtml"].map(o=>[o,y.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(o=>[o,y.IMAGE]),...["jpeg","jpg","jpe"].map(o=>[o,y.JPEG]),...["json"].map(o=>[o,y.JSON]),...["m4a","m4p"].map(o=>[o,y.M4A]),...["mov","qt"].map(o=>[o,y.MOV]),...["mp3"].map(o=>[o,y.MP3]),...["mp4","m4v"].map(o=>[o,y.MP4]),...["ogg","oga"].map(o=>[o,y.OGG]),...["pdf","ps"].map(o=>[o,y.PDF]),...["png"].map(o=>[o,y.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(o=>[o,y.POWERPOINT]),...["rar"].map(o=>[o,y.RAR]),...["stp"].map(o=>[o,y.STP]),...["txt","rtf","md","mdown"].map(o=>[o,y.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(o=>[o,y.VIDEO]),...["wav"].map(o=>[o,y.WAV]),...["wma"].map(o=>[o,y.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(o=>[o,y.WORD]),...["xml","xsl","rdf"].map(o=>[o,y.XML]),...["yaml","yml","x-yaml"].map(o=>[o,y.YAML]),...["zip"].map(o=>[o,y.ZIP])]);var Ou={[y.ABW]:"#91ABC6",[y.AUDIO]:"#1795E3",[y.AVI]:"#E63324",[y.CHM]:"#71C3EB",[y.CODE]:"#71C3EB",[y.CSV]:"#1F7345",[y.DITA]:"#71C3EB",[y.EPUB]:"#85B926",[y.EXCEL]:"#1F7345",[y.FLAC]:"#1795E3",[y.GIF]:"#59B031",[y.GZIP]:"#F8AB36",[y.HTML]:"#71C3EB",[y.IMAGE]:"#59B031",[y.JPEG]:"#59B031",[y.JSON]:"#71C3EB",[y.M4A]:"#1795E3",[y.MOV]:"#E63324",[y.MP3]:"#1795E3",[y.MP4]:"#E63324",[y.OGG]:"#1795E3",[y.PDF]:"#E44948",[y.PNG]:"#59B031",[y.POWERPOINT]:"#B54A2B",[y.RAR]:"#F8AB36",[y.STP]:"#3764B1",[y.TEXT]:"#3162AB",[y.UNKNOWN]:"#999999",[y.VIDEO]:"#E63324",[y.WAV]:"#1795E3",[y.WMA]:"#1795E3",[y.WORD]:"#3162AB",[y.XML]:"#71C3EB",[y.YAML]:"#71C3EB",[y.ZIP]:"#F8AB36"};var ba=f(C()),ne=f(x()),ut={size:ne.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ne.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",ne.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ne.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",ne.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ne.FtCssVariableFactory.extend("--ft-icon-material-font-family","",ne.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ne.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},xa=ba.css`
|
|
253
253
|
:host, i.ft-icon {
|
|
254
254
|
display: inline-flex;
|
|
255
255
|
align-items: center;
|
|
@@ -297,12 +297,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
297
297
|
.ft-icon--material {
|
|
298
298
|
font-family: ${ut.materialFontFamily}, "Material Icons", sans-serif;
|
|
299
299
|
}
|
|
300
|
-
`;var ve;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(ve||(ve={}));var or=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,
|
|
300
|
+
`;var ve;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(ve||(ve={}));var or=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},mt=class extends va.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Ao.nothing}render(){let t=this.variant&&Object.values(ve).includes(this.variant)?this.variant:ve.fluid_topics,r=t!==ve.material||!!this.value;return Ao.html`
|
|
301
301
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
302
|
-
${(0,
|
|
302
|
+
${(0,Sa.unsafeHTML)(this.resolvedIcon)}
|
|
303
303
|
<slot ?hidden=${r}></slot>
|
|
304
304
|
</i>
|
|
305
|
-
`}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let i=this.value||this.textContent;switch(this.variant){case ve.file_format:this.resolvedIcon=(t=y[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break;case ve.material:this.resolvedIcon=this.value||Ao.nothing;break;default:this.resolvedIcon=(r=er[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};mt.elementDefinitions={};mt.styles=
|
|
305
|
+
`}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let i=this.value||this.textContent;switch(this.variant){case ve.file_format:this.resolvedIcon=(t=y[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break;case ve.material:this.resolvedIcon=this.value||Ao.nothing;break;default:this.resolvedIcon=(r=er[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};mt.elementDefinitions={};mt.styles=xa;or([(0,_e.property)()],mt.prototype,"variant",void 0);or([(0,_e.property)()],mt.prototype,"value",void 0);or([(0,_e.state)()],mt.prototype,"resolvedIcon",void 0);or([(0,_e.query)("slot")],mt.prototype,"slottedContent",void 0);(0,Oa.customElement)("ft-icon")(mt);var pr=f(C()),N=f(x());var ei=f(x());var ko=f(W()),as=f(x());var Ra=f(C()),A=f(x());var Ca=f(C()),wo=f(x()),Ot={color:wo.FtCssVariableFactory.extend("--ft-loader-color","",wo.designSystemVariables.colorPrimary),size:wo.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Ea=Ca.css`
|
|
306
306
|
:host {
|
|
307
307
|
line-height: 0;
|
|
308
308
|
}
|
|
@@ -371,7 +371,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
371
371
|
transform: translate(calc(0.35 * ${Ot.size}), 0);
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
|
-
`;var
|
|
374
|
+
`;var Aa=A.FtCssVariableFactory.extend("--ft-button-color","",A.designSystemVariables.colorPrimary),_={backgroundColor:A.FtCssVariableFactory.extend("--ft-button-background-color","",A.designSystemVariables.colorSurface),borderRadius:A.FtCssVariableFactory.extend("--ft-button-border-radius","",A.designSystemVariables.borderRadiusL),color:Aa,fontSize:A.FtCssVariableFactory.extend("--ft-button-font-size","",Xt.fontSize),iconSize:A.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:A.FtCssVariableFactory.extend("--ft-button-ripple-color","",Aa),verticalPadding:A.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:A.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:A.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:A.FtCssVariableFactory.external(A.designSystemVariables.colorOpacityDisabled,"Design system")},wa=A.FtCssVariableFactory.extend("--ft-button-primary-color","",A.FtCssVariableFactory.extend("--ft-button-color","",A.designSystemVariables.colorOnPrimary)),Vr={backgroundColor:A.FtCssVariableFactory.extend("--ft-button-primary-background-color","",A.FtCssVariableFactory.extend("--ft-button-background-color","",A.designSystemVariables.colorPrimary)),color:wa,rippleColor:A.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",wa)},Qt={borderRadius:A.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",A.FtCssVariableFactory.extend("--ft-button-border-radius","",A.designSystemVariables.borderRadiusM)),verticalPadding:A.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:A.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:A.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Na=[Ra.css`
|
|
375
375
|
:host {
|
|
376
376
|
display: inline-block;
|
|
377
377
|
max-width: 100%;
|
|
@@ -507,7 +507,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
507
507
|
${(0,A.setVariable)(Ot.size,_.iconSize)};
|
|
508
508
|
${(0,A.setVariable)(Ot.color,"var(--ft-button-internal-color)")};
|
|
509
509
|
}
|
|
510
|
-
`,A.noTextSelect];var co=f(x());var
|
|
510
|
+
`,A.noTextSelect];var co=f(x());var es=f(x());var ts=f(C()),tt=f(W()),Po=f(x());var La=f(C()),ae=f(x()),io={distance:ae.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:ae.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:ae.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:ae.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:ae.FtCssVariableFactory.external(ae.designSystemVariables.borderRadiusS,"Design system"),maxWidth:ae.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Ta=La.css`
|
|
511
511
|
.ft-tooltip--container {
|
|
512
512
|
display: block;
|
|
513
513
|
}
|
|
@@ -536,7 +536,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
536
536
|
position: relative;
|
|
537
537
|
word-break: break-word;
|
|
538
538
|
}
|
|
539
|
-
`;var Ta=["top","right","bottom","left"],La=["start","end"],Kr=Ta.reduce((o,t)=>o.concat(t,t+"-"+La[0],t+"-"+La[1]),[]),Ro=Math.min,Se=Math.max,No=Math.round;var se=o=>({x:o,y:o}),Rl={left:"right",right:"left",bottom:"top",top:"bottom"},Nl={start:"end",end:"start"};function Zr(o,t,r){return Se(o,Ro(t,r))}function rr(o,t){return typeof o=="function"?o(t):o}function no(o){return o.split("-")[0]}function Oe(o){return o.split("-")[1]}function jr(o){return o==="x"?"y":"x"}function qr(o){return o==="y"?"height":"width"}function ir(o){return["top","bottom"].includes(no(o))?"y":"x"}function Yr(o){return jr(ir(o))}function Ia(o,t,r){r===void 0&&(r=!1);let i=Oe(o),n=Yr(o),a=qr(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Gr(s)),[s,Gr(s)]}function ka(o){return o.replace(/start|end/g,t=>Nl[t])}function Gr(o){return o.replace(/left|right|bottom|top/g,t=>Rl[t])}function Ll(o){return{top:0,right:0,bottom:0,left:0,...o}}function Pa(o){return typeof o!="number"?Ll(o):{top:o,right:o,bottom:o,left:o}}function De(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function $a(o,t,r){let{reference:i,floating:n}=o,a=ir(t),s=Yr(t),c=qr(s),h=no(t),u=a==="y",b=i.x+i.width/2-n.width/2,S=i.y+i.height/2-n.height/2,L=i[c]/2-n[c]/2,w;switch(h){case"top":w={x:b,y:i.y-n.height};break;case"bottom":w={x:b,y:i.y+i.height};break;case"right":w={x:i.x+i.width,y:S};break;case"left":w={x:i.x-n.width,y:S};break;default:w={x:i.x,y:i.y}}switch(Oe(t)){case"start":w[s]-=L*(r&&u?-1:1);break;case"end":w[s]+=L*(r&&u?-1:1);break}return w}var _a=async(o,t,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),h=await(s.isRTL==null?void 0:s.isRTL(t)),u=await s.getElementRects({reference:o,floating:t,strategy:n}),{x:b,y:S}=$a(u,i,h),L=i,w={},k=0;for(let G=0;G<c.length;G++){let{name:K,fn:M}=c[G],{x:Z,y:lt,data:ht,reset:ot}=await M({x:b,y:S,initialPlacement:i,placement:L,strategy:n,middlewareData:w,rects:u,platform:s,elements:{reference:o,floating:t}});if(b=Z??b,S=lt??S,w={...w,[K]:{...w[K],...ht}},ot&&k<=50){k++,typeof ot=="object"&&(ot.placement&&(L=ot.placement),ot.rects&&(u=ot.rects===!0?await s.getElementRects({reference:o,floating:t,strategy:n}):ot.rects),{x:b,y:S}=$a(u,L,h)),G=-1;continue}}return{x:b,y:S,placement:L,strategy:n,middlewareData:w}};async function Xr(o,t){var r;t===void 0&&(t={});let{x:i,y:n,platform:a,rects:s,elements:c,strategy:h}=o,{boundary:u="clippingAncestors",rootBoundary:b="viewport",elementContext:S="floating",altBoundary:L=!1,padding:w=0}=rr(t,o),k=Pa(w),K=c[L?S==="floating"?"reference":"floating":S],M=De(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(K)))==null||r?K:K.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:u,rootBoundary:b,strategy:h})),Z=S==="floating"?{...s.floating,x:i,y:n}:s.reference,lt=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),ht=await(a.isElement==null?void 0:a.isElement(lt))?await(a.getScale==null?void 0:a.getScale(lt))||{x:1,y:1}:{x:1,y:1},ot=De(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:Z,offsetParent:lt,strategy:h}):Z);return{top:(M.top-ot.top+k.top)/ht.y,bottom:(ot.bottom-M.bottom+k.bottom)/ht.y,left:(M.left-ot.left+k.left)/ht.x,right:(ot.right-M.right+k.right)/ht.x}}function Tl(o,t,r){return(o?[...r.filter(n=>Oe(n)===o),...r.filter(n=>Oe(n)!==o)]:r.filter(n=>no(n)===n)).filter(n=>o?Oe(n)===o||(t?ka(n)!==n:!1):!0)}var Qr=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(t){var r,i,n;let{rects:a,middlewareData:s,placement:c,platform:h,elements:u}=t,{crossAxis:b=!1,alignment:S,allowedPlacements:L=Kr,autoAlignment:w=!0,...k}=rr(o,t),G=S!==void 0||L===Kr?Tl(S||null,w,L):L,K=await Xr(t,k),M=((r=s.autoPlacement)==null?void 0:r.index)||0,Z=G[M];if(Z==null)return{};let lt=Ia(Z,a,await(h.isRTL==null?void 0:h.isRTL(u.floating)));if(c!==Z)return{reset:{placement:G[0]}};let ht=[K[no(Z)],K[lt[0]],K[lt[1]]],ot=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:Z,overflows:ht}],Fo=G[M+1];if(Fo)return{data:{index:M+1,overflows:ot},reset:{placement:Fo}};let Lt=ot.map(d=>{let m=Oe(d.placement);return[d.placement,m&&b?d.overflows.slice(0,2).reduce((E,rt)=>E+rt,0):d.overflows[0],d.overflows]}).sort((d,m)=>d[1]-m[1]),Ve=((n=Lt.filter(d=>d[2].slice(0,Oe(d[0])?2:3).every(m=>m<=0))[0])==null?void 0:n[0])||Lt[0][0];return Ve!==c?{data:{index:M+1,overflows:ot},reset:{placement:Ve}}:{}}}};var Jr=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(t){let{x:r,y:i,placement:n}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:K=>{let{x:M,y:Z}=K;return{x:M,y:Z}}},...h}=rr(o,t),u={x:r,y:i},b=await Xr(t,h),S=ir(no(n)),L=jr(S),w=u[L],k=u[S];if(a){let K=L==="y"?"top":"left",M=L==="y"?"bottom":"right",Z=w+b[K],lt=w-b[M];w=Zr(Z,w,lt)}if(s){let K=S==="y"?"top":"left",M=S==="y"?"bottom":"right",Z=k+b[K],lt=k-b[M];k=Zr(Z,k,lt)}let G=c.fn({...t,[L]:w,[S]:k});return{...G,data:{x:G.x-r,y:G.y-i}}}}};function le(o){return Ba(o)?(o.nodeName||"").toLowerCase():"#document"}function Ct(o){var t;return(o==null||(t=o.ownerDocument)==null?void 0:t.defaultView)||window}function ce(o){var t;return(t=(Ba(o)?o.ownerDocument:o.document)||window.document)==null?void 0:t.documentElement}function Ba(o){return o instanceof Node||o instanceof Ct(o).Node}function Jt(o){return o instanceof Element||o instanceof Ct(o).Element}function Wt(o){return o instanceof HTMLElement||o instanceof Ct(o).HTMLElement}function Da(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof Ct(o).ShadowRoot}function ao(o){let{overflow:t,overflowX:r,overflowY:i,display:n}=Tt(o);return/auto|scroll|overlay|hidden|clip/.test(t+i+r)&&!["inline","contents"].includes(n)}function Ua(o){return["table","td","th"].includes(le(o))}function ar(o){let t=sr(),r=Tt(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function Fa(o){let t=Be(o);for(;Wt(t)&&!Lo(t);){if(ar(t))return t;t=Be(t)}return null}function sr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Lo(o){return["html","body","#document"].includes(le(o))}function Tt(o){return Ct(o).getComputedStyle(o)}function To(o){return Jt(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Be(o){if(le(o)==="html")return o;let t=o.assignedSlot||o.parentNode||Da(o)&&o.host||ce(o);return Da(t)?t.host:t}function za(o){let t=Be(o);return Lo(t)?o.ownerDocument?o.ownerDocument.body:o.body:Wt(t)&&ao(t)?t:za(t)}function nr(o,t,r){var i;t===void 0&&(t=[]),r===void 0&&(r=!0);let n=za(o),a=n===((i=o.ownerDocument)==null?void 0:i.body),s=Ct(n);return a?t.concat(s,s.visualViewport||[],ao(n)?n:[],s.frameElement&&r?nr(s.frameElement):[]):t.concat(n,nr(n,[],r))}function Ha(o){let t=Tt(o),r=parseFloat(t.width)||0,i=parseFloat(t.height)||0,n=Wt(o),a=n?o.offsetWidth:r,s=n?o.offsetHeight:i,c=No(r)!==a||No(i)!==s;return c&&(r=a,i=s),{width:r,height:i,$:c}}function Va(o){return Jt(o)?o:o.contextElement}function so(o){let t=Va(o);if(!Wt(t))return se(1);let r=t.getBoundingClientRect(),{width:i,height:n,$:a}=Ha(t),s=(a?No(r.width):r.width)/i,c=(a?No(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Il=se(0);function Ga(o){let t=Ct(o);return!sr()||!t.visualViewport?Il:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function kl(o,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ct(o)?!1:t}function Io(o,t,r,i){t===void 0&&(t=!1),r===void 0&&(r=!1);let n=o.getBoundingClientRect(),a=Va(o),s=se(1);t&&(i?Jt(i)&&(s=so(i)):s=so(o));let c=kl(a,r,i)?Ga(a):se(0),h=(n.left+c.x)/s.x,u=(n.top+c.y)/s.y,b=n.width/s.x,S=n.height/s.y;if(a){let L=Ct(a),w=i&&Jt(i)?Ct(i):i,k=L.frameElement;for(;k&&i&&w!==L;){let G=so(k),K=k.getBoundingClientRect(),M=Tt(k),Z=K.left+(k.clientLeft+parseFloat(M.paddingLeft))*G.x,lt=K.top+(k.clientTop+parseFloat(M.paddingTop))*G.y;h*=G.x,u*=G.y,b*=G.x,S*=G.y,h+=Z,u+=lt,k=Ct(k).frameElement}}return De({width:b,height:S,x:h,y:u})}function Pl(o){let{rect:t,offsetParent:r,strategy:i}=o,n=Wt(r),a=ce(r);if(r===a)return t;let s={scrollLeft:0,scrollTop:0},c=se(1),h=se(0);if((n||!n&&i!=="fixed")&&((le(r)!=="body"||ao(a))&&(s=To(r)),Wt(r))){let u=Io(r);c=so(r),h.x=u.x+r.clientLeft,h.y=u.y+r.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-s.scrollLeft*c.x+h.x,y:t.y*c.y-s.scrollTop*c.y+h.y}}function $l(o){return Array.from(o.getClientRects())}function Ka(o){return Io(ce(o)).left+To(o).scrollLeft}function _l(o){let t=ce(o),r=To(o),i=o.ownerDocument.body,n=Se(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=Se(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+Ka(o),c=-r.scrollTop;return Tt(i).direction==="rtl"&&(s+=Se(t.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:c}}function Dl(o,t){let r=Ct(o),i=ce(o),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,c=0,h=0;if(n){a=n.width,s=n.height;let u=sr();(!u||u&&t==="fixed")&&(c=n.offsetLeft,h=n.offsetTop)}return{width:a,height:s,x:c,y:h}}function Bl(o,t){let r=Io(o,!0,t==="fixed"),i=r.top+o.clientTop,n=r.left+o.clientLeft,a=Wt(o)?so(o):se(1),s=o.clientWidth*a.x,c=o.clientHeight*a.y,h=n*a.x,u=i*a.y;return{width:s,height:c,x:h,y:u}}function Ma(o,t,r){let i;if(t==="viewport")i=Dl(o,r);else if(t==="document")i=_l(ce(o));else if(Jt(t))i=Bl(t,r);else{let n=Ga(o);i={...t,x:t.x-n.x,y:t.y-n.y}}return De(i)}function Za(o,t){let r=Be(o);return r===t||!Jt(r)||Lo(r)?!1:Tt(r).position==="fixed"||Za(r,t)}function Ul(o,t){let r=t.get(o);if(r)return r;let i=nr(o,[],!1).filter(c=>Jt(c)&&le(c)!=="body"),n=null,a=Tt(o).position==="fixed",s=a?Be(o):o;for(;Jt(s)&&!Lo(s);){let c=Tt(s),h=ar(s);!h&&c.position==="fixed"&&(n=null),(a?!h&&!n:!h&&c.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||ao(s)&&!h&&Za(o,s))?i=i.filter(b=>b!==s):n=c,s=Be(s)}return t.set(o,i),i}function Fl(o){let{element:t,boundary:r,rootBoundary:i,strategy:n}=o,s=[...r==="clippingAncestors"?Ul(t,this._c):[].concat(r),i],c=s[0],h=s.reduce((u,b)=>{let S=Ma(t,b,n);return u.top=Se(S.top,u.top),u.right=Ro(S.right,u.right),u.bottom=Ro(S.bottom,u.bottom),u.left=Se(S.left,u.left),u},Ma(t,c,n));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function zl(o){return Ha(o)}function Ml(o,t,r){let i=Wt(t),n=ce(t),a=r==="fixed",s=Io(o,!0,a,t),c={scrollLeft:0,scrollTop:0},h=se(0);if(i||!i&&!a)if((le(t)!=="body"||ao(n))&&(c=To(t)),i){let u=Io(t,!0,a,t);h.x=u.x+t.clientLeft,h.y=u.y+t.clientTop}else n&&(h.x=Ka(n));return{x:s.left+c.scrollLeft-h.x,y:s.top+c.scrollTop-h.y,width:s.width,height:s.height}}function Wa(o,t){return!Wt(o)||Tt(o).position==="fixed"?null:t?t(o):o.offsetParent}function ja(o,t){let r=Ct(o);if(!Wt(o))return r;let i=Wa(o,t);for(;i&&Ua(i)&&Tt(i).position==="static";)i=Wa(i,t);return i&&(le(i)==="html"||le(i)==="body"&&Tt(i).position==="static"&&!ar(i))?r:i||Fa(o)||r}var Wl=async function(o){let{reference:t,floating:r,strategy:i}=o,n=this.getOffsetParent||ja,a=this.getDimensions;return{reference:Ml(t,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function Hl(o){return Tt(o).direction==="rtl"}var lr={convertOffsetParentRelativeRectToViewportRelativeRect:Pl,getDocumentElement:ce,getClippingRect:Fl,getOffsetParent:ja,getElementRects:Wl,getClientRects:$l,getDimensions:zl,getScale:so,isElement:Jt,isRTL:Hl};var qa=(o,t,r)=>{let i=new Map,n={platform:lr,...r},a={...n.platform,_c:i};return _a(o,t,{...n,platform:a})};function Ya(o){return Vl(o)}function ti(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Vl(o){for(let t=o;t;t=ti(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=ti(o);t;t=ti(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Xa(o,t,r){return qa(o,t,{platform:{...lr,getOffsetParent:i=>lr.getOffsetParent(i,Ya)},middleware:[Jr({crossAxis:!0}),Qr({allowedPlacements:[r]})]})}var Et=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},U=class extends ko.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 ko.Debouncer,this.revealDebouncer=new ko.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Qa.html`
|
|
539
|
+
`;var Pa=["top","right","bottom","left"],Ia=["start","end"],Kr=Pa.reduce((o,t)=>o.concat(t,t+"-"+Ia[0],t+"-"+Ia[1]),[]),Ro=Math.min,Se=Math.max,No=Math.round;var se=o=>({x:o,y:o}),Ll={left:"right",right:"left",bottom:"top",top:"bottom"},Tl={start:"end",end:"start"};function Zr(o,t,r){return Se(o,Ro(t,r))}function rr(o,t){return typeof o=="function"?o(t):o}function no(o){return o.split("-")[0]}function Oe(o){return o.split("-")[1]}function jr(o){return o==="x"?"y":"x"}function qr(o){return o==="y"?"height":"width"}function ir(o){return["top","bottom"].includes(no(o))?"y":"x"}function Yr(o){return jr(ir(o))}function ka(o,t,r){r===void 0&&(r=!1);let i=Oe(o),n=Yr(o),a=qr(n),l=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(l=Gr(l)),[l,Gr(l)]}function $a(o){return o.replace(/start|end/g,t=>Tl[t])}function Gr(o){return o.replace(/left|right|bottom|top/g,t=>Ll[t])}function Il(o){return{top:0,right:0,bottom:0,left:0,...o}}function _a(o){return typeof o!="number"?Il(o):{top:o,right:o,bottom:o,left:o}}function De(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function Da(o,t,r){let{reference:i,floating:n}=o,a=ir(t),l=Yr(t),c=qr(l),h=no(t),u=a==="y",b=i.x+i.width/2-n.width/2,S=i.y+i.height/2-n.height/2,L=i[c]/2-n[c]/2,w;switch(h){case"top":w={x:b,y:i.y-n.height};break;case"bottom":w={x:b,y:i.y+i.height};break;case"right":w={x:i.x+i.width,y:S};break;case"left":w={x:i.x-n.width,y:S};break;default:w={x:i.x,y:i.y}}switch(Oe(t)){case"start":w[l]-=L*(r&&u?-1:1);break;case"end":w[l]+=L*(r&&u?-1:1);break}return w}var Ba=async(o,t,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:l}=r,c=a.filter(Boolean),h=await(l.isRTL==null?void 0:l.isRTL(t)),u=await l.getElementRects({reference:o,floating:t,strategy:n}),{x:b,y:S}=Da(u,i,h),L=i,w={},P=0;for(let G=0;G<c.length;G++){let{name:K,fn:M}=c[G],{x:Z,y:lt,data:ht,reset:ot}=await M({x:b,y:S,initialPlacement:i,placement:L,strategy:n,middlewareData:w,rects:u,platform:l,elements:{reference:o,floating:t}});if(b=Z??b,S=lt??S,w={...w,[K]:{...w[K],...ht}},ot&&P<=50){P++,typeof ot=="object"&&(ot.placement&&(L=ot.placement),ot.rects&&(u=ot.rects===!0?await l.getElementRects({reference:o,floating:t,strategy:n}):ot.rects),{x:b,y:S}=Da(u,L,h)),G=-1;continue}}return{x:b,y:S,placement:L,strategy:n,middlewareData:w}};async function Xr(o,t){var r;t===void 0&&(t={});let{x:i,y:n,platform:a,rects:l,elements:c,strategy:h}=o,{boundary:u="clippingAncestors",rootBoundary:b="viewport",elementContext:S="floating",altBoundary:L=!1,padding:w=0}=rr(t,o),P=_a(w),K=c[L?S==="floating"?"reference":"floating":S],M=De(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(K)))==null||r?K:K.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:u,rootBoundary:b,strategy:h})),Z=S==="floating"?{...l.floating,x:i,y:n}:l.reference,lt=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),ht=await(a.isElement==null?void 0:a.isElement(lt))?await(a.getScale==null?void 0:a.getScale(lt))||{x:1,y:1}:{x:1,y:1},ot=De(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:Z,offsetParent:lt,strategy:h}):Z);return{top:(M.top-ot.top+P.top)/ht.y,bottom:(ot.bottom-M.bottom+P.bottom)/ht.y,left:(M.left-ot.left+P.left)/ht.x,right:(ot.right-M.right+P.right)/ht.x}}function Pl(o,t,r){return(o?[...r.filter(n=>Oe(n)===o),...r.filter(n=>Oe(n)!==o)]:r.filter(n=>no(n)===n)).filter(n=>o?Oe(n)===o||(t?$a(n)!==n:!1):!0)}var Qr=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(t){var r,i,n;let{rects:a,middlewareData:l,placement:c,platform:h,elements:u}=t,{crossAxis:b=!1,alignment:S,allowedPlacements:L=Kr,autoAlignment:w=!0,...P}=rr(o,t),G=S!==void 0||L===Kr?Pl(S||null,w,L):L,K=await Xr(t,P),M=((r=l.autoPlacement)==null?void 0:r.index)||0,Z=G[M];if(Z==null)return{};let lt=ka(Z,a,await(h.isRTL==null?void 0:h.isRTL(u.floating)));if(c!==Z)return{reset:{placement:G[0]}};let ht=[K[no(Z)],K[lt[0]],K[lt[1]]],ot=[...((i=l.autoPlacement)==null?void 0:i.overflows)||[],{placement:Z,overflows:ht}],Fo=G[M+1];if(Fo)return{data:{index:M+1,overflows:ot},reset:{placement:Fo}};let Lt=ot.map(d=>{let m=Oe(d.placement);return[d.placement,m&&b?d.overflows.slice(0,2).reduce((E,rt)=>E+rt,0):d.overflows[0],d.overflows]}).sort((d,m)=>d[1]-m[1]),Ve=((n=Lt.filter(d=>d[2].slice(0,Oe(d[0])?2:3).every(m=>m<=0))[0])==null?void 0:n[0])||Lt[0][0];return Ve!==c?{data:{index:M+1,overflows:ot},reset:{placement:Ve}}:{}}}};var Jr=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(t){let{x:r,y:i,placement:n}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:c={fn:K=>{let{x:M,y:Z}=K;return{x:M,y:Z}}},...h}=rr(o,t),u={x:r,y:i},b=await Xr(t,h),S=ir(no(n)),L=jr(S),w=u[L],P=u[S];if(a){let K=L==="y"?"top":"left",M=L==="y"?"bottom":"right",Z=w+b[K],lt=w-b[M];w=Zr(Z,w,lt)}if(l){let K=S==="y"?"top":"left",M=S==="y"?"bottom":"right",Z=P+b[K],lt=P-b[M];P=Zr(Z,P,lt)}let G=c.fn({...t,[L]:w,[S]:P});return{...G,data:{x:G.x-r,y:G.y-i}}}}};function le(o){return Fa(o)?(o.nodeName||"").toLowerCase():"#document"}function Ct(o){var t;return(o==null||(t=o.ownerDocument)==null?void 0:t.defaultView)||window}function ce(o){var t;return(t=(Fa(o)?o.ownerDocument:o.document)||window.document)==null?void 0:t.documentElement}function Fa(o){return o instanceof Node||o instanceof Ct(o).Node}function Jt(o){return o instanceof Element||o instanceof Ct(o).Element}function Wt(o){return o instanceof HTMLElement||o instanceof Ct(o).HTMLElement}function Ua(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof Ct(o).ShadowRoot}function ao(o){let{overflow:t,overflowX:r,overflowY:i,display:n}=Tt(o);return/auto|scroll|overlay|hidden|clip/.test(t+i+r)&&!["inline","contents"].includes(n)}function za(o){return["table","td","th"].includes(le(o))}function ar(o){let t=sr(),r=Tt(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function Ma(o){let t=Be(o);for(;Wt(t)&&!Lo(t);){if(ar(t))return t;t=Be(t)}return null}function sr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Lo(o){return["html","body","#document"].includes(le(o))}function Tt(o){return Ct(o).getComputedStyle(o)}function To(o){return Jt(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Be(o){if(le(o)==="html")return o;let t=o.assignedSlot||o.parentNode||Ua(o)&&o.host||ce(o);return Ua(t)?t.host:t}function Wa(o){let t=Be(o);return Lo(t)?o.ownerDocument?o.ownerDocument.body:o.body:Wt(t)&&ao(t)?t:Wa(t)}function nr(o,t,r){var i;t===void 0&&(t=[]),r===void 0&&(r=!0);let n=Wa(o),a=n===((i=o.ownerDocument)==null?void 0:i.body),l=Ct(n);return a?t.concat(l,l.visualViewport||[],ao(n)?n:[],l.frameElement&&r?nr(l.frameElement):[]):t.concat(n,nr(n,[],r))}function Ga(o){let t=Tt(o),r=parseFloat(t.width)||0,i=parseFloat(t.height)||0,n=Wt(o),a=n?o.offsetWidth:r,l=n?o.offsetHeight:i,c=No(r)!==a||No(i)!==l;return c&&(r=a,i=l),{width:r,height:i,$:c}}function Ka(o){return Jt(o)?o:o.contextElement}function so(o){let t=Ka(o);if(!Wt(t))return se(1);let r=t.getBoundingClientRect(),{width:i,height:n,$:a}=Ga(t),l=(a?No(r.width):r.width)/i,c=(a?No(r.height):r.height)/n;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}var kl=se(0);function Za(o){let t=Ct(o);return!sr()||!t.visualViewport?kl:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function $l(o,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ct(o)?!1:t}function Io(o,t,r,i){t===void 0&&(t=!1),r===void 0&&(r=!1);let n=o.getBoundingClientRect(),a=Ka(o),l=se(1);t&&(i?Jt(i)&&(l=so(i)):l=so(o));let c=$l(a,r,i)?Za(a):se(0),h=(n.left+c.x)/l.x,u=(n.top+c.y)/l.y,b=n.width/l.x,S=n.height/l.y;if(a){let L=Ct(a),w=i&&Jt(i)?Ct(i):i,P=L.frameElement;for(;P&&i&&w!==L;){let G=so(P),K=P.getBoundingClientRect(),M=Tt(P),Z=K.left+(P.clientLeft+parseFloat(M.paddingLeft))*G.x,lt=K.top+(P.clientTop+parseFloat(M.paddingTop))*G.y;h*=G.x,u*=G.y,b*=G.x,S*=G.y,h+=Z,u+=lt,P=Ct(P).frameElement}}return De({width:b,height:S,x:h,y:u})}function _l(o){let{rect:t,offsetParent:r,strategy:i}=o,n=Wt(r),a=ce(r);if(r===a)return t;let l={scrollLeft:0,scrollTop:0},c=se(1),h=se(0);if((n||!n&&i!=="fixed")&&((le(r)!=="body"||ao(a))&&(l=To(r)),Wt(r))){let u=Io(r);c=so(r),h.x=u.x+r.clientLeft,h.y=u.y+r.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-l.scrollLeft*c.x+h.x,y:t.y*c.y-l.scrollTop*c.y+h.y}}function Dl(o){return Array.from(o.getClientRects())}function ja(o){return Io(ce(o)).left+To(o).scrollLeft}function Bl(o){let t=ce(o),r=To(o),i=o.ownerDocument.body,n=Se(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=Se(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),l=-r.scrollLeft+ja(o),c=-r.scrollTop;return Tt(i).direction==="rtl"&&(l+=Se(t.clientWidth,i.clientWidth)-n),{width:n,height:a,x:l,y:c}}function Ul(o,t){let r=Ct(o),i=ce(o),n=r.visualViewport,a=i.clientWidth,l=i.clientHeight,c=0,h=0;if(n){a=n.width,l=n.height;let u=sr();(!u||u&&t==="fixed")&&(c=n.offsetLeft,h=n.offsetTop)}return{width:a,height:l,x:c,y:h}}function Fl(o,t){let r=Io(o,!0,t==="fixed"),i=r.top+o.clientTop,n=r.left+o.clientLeft,a=Wt(o)?so(o):se(1),l=o.clientWidth*a.x,c=o.clientHeight*a.y,h=n*a.x,u=i*a.y;return{width:l,height:c,x:h,y:u}}function Ha(o,t,r){let i;if(t==="viewport")i=Ul(o,r);else if(t==="document")i=Bl(ce(o));else if(Jt(t))i=Fl(t,r);else{let n=Za(o);i={...t,x:t.x-n.x,y:t.y-n.y}}return De(i)}function qa(o,t){let r=Be(o);return r===t||!Jt(r)||Lo(r)?!1:Tt(r).position==="fixed"||qa(r,t)}function zl(o,t){let r=t.get(o);if(r)return r;let i=nr(o,[],!1).filter(c=>Jt(c)&&le(c)!=="body"),n=null,a=Tt(o).position==="fixed",l=a?Be(o):o;for(;Jt(l)&&!Lo(l);){let c=Tt(l),h=ar(l);!h&&c.position==="fixed"&&(n=null),(a?!h&&!n:!h&&c.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||ao(l)&&!h&&qa(o,l))?i=i.filter(b=>b!==l):n=c,l=Be(l)}return t.set(o,i),i}function Ml(o){let{element:t,boundary:r,rootBoundary:i,strategy:n}=o,l=[...r==="clippingAncestors"?zl(t,this._c):[].concat(r),i],c=l[0],h=l.reduce((u,b)=>{let S=Ha(t,b,n);return u.top=Se(S.top,u.top),u.right=Ro(S.right,u.right),u.bottom=Ro(S.bottom,u.bottom),u.left=Se(S.left,u.left),u},Ha(t,c,n));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function Wl(o){return Ga(o)}function Hl(o,t,r){let i=Wt(t),n=ce(t),a=r==="fixed",l=Io(o,!0,a,t),c={scrollLeft:0,scrollTop:0},h=se(0);if(i||!i&&!a)if((le(t)!=="body"||ao(n))&&(c=To(t)),i){let u=Io(t,!0,a,t);h.x=u.x+t.clientLeft,h.y=u.y+t.clientTop}else n&&(h.x=ja(n));return{x:l.left+c.scrollLeft-h.x,y:l.top+c.scrollTop-h.y,width:l.width,height:l.height}}function Va(o,t){return!Wt(o)||Tt(o).position==="fixed"?null:t?t(o):o.offsetParent}function Ya(o,t){let r=Ct(o);if(!Wt(o))return r;let i=Va(o,t);for(;i&&za(i)&&Tt(i).position==="static";)i=Va(i,t);return i&&(le(i)==="html"||le(i)==="body"&&Tt(i).position==="static"&&!ar(i))?r:i||Ma(o)||r}var Vl=async function(o){let{reference:t,floating:r,strategy:i}=o,n=this.getOffsetParent||Ya,a=this.getDimensions;return{reference:Hl(t,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function Gl(o){return Tt(o).direction==="rtl"}var lr={convertOffsetParentRelativeRectToViewportRelativeRect:_l,getDocumentElement:ce,getClippingRect:Ml,getOffsetParent:Ya,getElementRects:Vl,getClientRects:Dl,getDimensions:Wl,getScale:so,isElement:Jt,isRTL:Gl};var Xa=(o,t,r)=>{let i=new Map,n={platform:lr,...r},a={...n.platform,_c:i};return Ba(o,t,{...n,platform:a})};function Qa(o){return Kl(o)}function ti(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Kl(o){for(let t=o;t;t=ti(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=ti(o);t;t=ti(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Ja(o,t,r){return Xa(o,t,{platform:{...lr,getOffsetParent:i=>lr.getOffsetParent(i,Qa)},middleware:[Jr({crossAxis:!0}),Qr({allowedPlacements:[r]})]})}var Et=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},U=class extends Po.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 Po.Debouncer,this.revealDebouncer=new Po.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ts.html`
|
|
540
540
|
<div part="container"
|
|
541
541
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
542
542
|
@mouseenter=${this.onHover}
|
|
@@ -554,16 +554,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
554
554
|
</div>
|
|
555
555
|
</div>
|
|
556
556
|
</div>
|
|
557
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.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="",
|
|
557
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.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="",Ja(this.slottedElement,this.tooltip,this.position).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${r}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,r){return Math.max(t,Math.min(0,-r))}};U.elementDefinitions={"ft-typography":H};U.styles=Ta;Et([(0,tt.property)()],U.prototype,"text",void 0);Et([(0,tt.property)({type:Boolean})],U.prototype,"manual",void 0);Et([(0,tt.property)({type:Boolean})],U.prototype,"inline",void 0);Et([(0,tt.property)({type:Number})],U.prototype,"delay",void 0);Et([(0,tt.property)()],U.prototype,"position",void 0);Et([(0,tt.queryAssignedNodes)()],U.prototype,"slotNodes",void 0);Et([(0,tt.query)(".ft-tooltip--container")],U.prototype,"container",void 0);Et([(0,tt.query)(".ft-tooltip")],U.prototype,"tooltip",void 0);Et([(0,tt.query)(".ft-tooltip--content")],U.prototype,"tooltipContent",void 0);Et([(0,tt.state)()],U.prototype,"visible",void 0);Et([(0,tt.eventOptions)({passive:!0})],U.prototype,"onTouch",null);Et([(0,tt.eventOptions)({passive:!0})],U.prototype,"onHover",null);Et([(0,tt.eventOptions)({passive:!0})],U.prototype,"onOut",null);Et([(0,tt.eventOptions)({passive:!0})],U.prototype,"onClick",null);(0,es.customElement)("ft-tooltip")(U);var is=f(x());var os=f(C()),rs=f(x());var Ue=class extends rs.FtLitElement{render(){return os.html`
|
|
558
558
|
<div class="ft-loader">
|
|
559
559
|
<div></div>
|
|
560
560
|
<div></div>
|
|
561
561
|
<div></div>
|
|
562
562
|
<div></div>
|
|
563
563
|
</div>
|
|
564
|
-
`}};Ue.styles=
|
|
564
|
+
`}};Ue.styles=Ea;(0,is.customElement)("ft-loader")(Ue);var lo=f(C()),ns=f(Te()),gt=f(W()),It=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},J=class extends(0,co.toFtFormComponent)(co.FtLitElement,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(lo.html`
|
|
565
565
|
<button part="button"
|
|
566
|
-
class="${(0,
|
|
566
|
+
class="${(0,ns.classMap)(this.buttonClasses)}"
|
|
567
567
|
aria-label="${this.getLabel()}"
|
|
568
568
|
?disabled=${this.isDisabled()}>
|
|
569
569
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
@@ -587,7 +587,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
587
587
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
588
588
|
`:lo.html`
|
|
589
589
|
<slot part="icon" name="icon"></slot>
|
|
590
|
-
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(r=>this.unslotText(r)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};J.elementDefinitions={"ft-ripple":$,"ft-tooltip":U,"ft-typography":H,"ft-icon":mt,"ft-loader":Ue};It([(0,gt.property)({type:String,reflect:!0})],J.prototype,"role",void 0);It([(0,gt.property)()],J.prototype,"type",void 0);It([(0,gt.property)({type:Boolean})],J.prototype,"disabled",void 0);It([(0,gt.property)()],J.prototype,"label",void 0);It([(0,gt.property)()],J.prototype,"icon",void 0);It([(0,gt.property)()],J.prototype,"iconVariant",void 0);It([(0,gt.property)({type:Boolean})],J.prototype,"trailingIcon",void 0);It([(0,gt.property)({type:Boolean})],J.prototype,"loading",void 0);It([(0,gt.property)()],J.prototype,"tooltipPosition",void 0);It([(0,gt.property)({type:Boolean})],J.prototype,"hideTooltip",void 0);It([(0,gt.property)({type:Boolean})],J.prototype,"forceTooltip",void 0);It([(0,gt.query)(".ft-button")],J.prototype,"button",void 0);It([(0,gt.query)(".ft-button--label slot")],J.prototype,"slottedContent",void 0);var cr=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,
|
|
590
|
+
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(r=>this.unslotText(r)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};J.elementDefinitions={"ft-ripple":$,"ft-tooltip":U,"ft-typography":H,"ft-icon":mt,"ft-loader":Ue};It([(0,gt.property)({type:String,reflect:!0})],J.prototype,"role",void 0);It([(0,gt.property)()],J.prototype,"type",void 0);It([(0,gt.property)({type:Boolean})],J.prototype,"disabled",void 0);It([(0,gt.property)()],J.prototype,"label",void 0);It([(0,gt.property)()],J.prototype,"icon",void 0);It([(0,gt.property)()],J.prototype,"iconVariant",void 0);It([(0,gt.property)({type:Boolean})],J.prototype,"trailingIcon",void 0);It([(0,gt.property)({type:Boolean})],J.prototype,"loading",void 0);It([(0,gt.property)()],J.prototype,"tooltipPosition",void 0);It([(0,gt.property)({type:Boolean})],J.prototype,"hideTooltip",void 0);It([(0,gt.property)({type:Boolean})],J.prototype,"forceTooltip",void 0);It([(0,gt.query)(".ft-button")],J.prototype,"button",void 0);It([(0,gt.query)(".ft-button--label slot")],J.prototype,"slottedContent",void 0);var cr=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},ft=class extends J{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"}};ft.styles=[as.safariEllipsisFix,Na];cr([(0,ko.property)({type:Boolean})],ft.prototype,"primary",void 0);cr([(0,ko.property)({type:Boolean})],ft.prototype,"outlined",void 0);cr([(0,ko.property)({type:Boolean})],ft.prototype,"dense",void 0);cr([(0,ko.property)({type:Boolean})],ft.prototype,"round",void 0);var po=f(W());var cs=f(x());var ss=f(C()),k=f(x());var ls=[ss.css`
|
|
591
591
|
:host {
|
|
592
592
|
display: inline-block;
|
|
593
593
|
max-width: 100%;
|
|
@@ -666,13 +666,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
666
666
|
/** Primary styles **/
|
|
667
667
|
|
|
668
668
|
.ft-button--primary {
|
|
669
|
-
${(0,
|
|
669
|
+
${(0,k.setVariable)(Ot.color,v.primaryIconColor)};
|
|
670
670
|
|
|
671
|
-
${(0,
|
|
672
|
-
${(0,
|
|
673
|
-
${(0,
|
|
674
|
-
${(0,
|
|
675
|
-
${(0,
|
|
671
|
+
${(0,k.setVariable)(T.color,v.primaryStateLayerColor)};
|
|
672
|
+
${(0,k.setVariable)(T.opacityContentOnSurfaceHover,v.primaryHoverStateLayerOpacity)};
|
|
673
|
+
${(0,k.setVariable)(T.opacityContentOnSurfaceFocused,v.primaryFocusStateLayerOpacity)};
|
|
674
|
+
${(0,k.setVariable)(T.opacityContentOnSurfaceSelected,v.primaryActiveStateLayerOpacity)};
|
|
675
|
+
${(0,k.setVariable)(T.opacityContentOnSurfacePressed,v.primaryActiveStateLayerOpacity)};
|
|
676
676
|
|
|
677
677
|
background-color: ${v.primaryBackgroundColor};
|
|
678
678
|
color: ${v.primaryColor};
|
|
@@ -690,13 +690,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
690
690
|
/** Secondary styles **/
|
|
691
691
|
|
|
692
692
|
.ft-button--secondary {
|
|
693
|
-
${(0,
|
|
693
|
+
${(0,k.setVariable)(Ot.color,v.secondaryIconColor)};
|
|
694
694
|
|
|
695
|
-
${(0,
|
|
696
|
-
${(0,
|
|
697
|
-
${(0,
|
|
698
|
-
${(0,
|
|
699
|
-
${(0,
|
|
695
|
+
${(0,k.setVariable)(T.color,v.secondaryStateLayerColor)};
|
|
696
|
+
${(0,k.setVariable)(T.opacityContentOnSurfaceHover,v.secondaryHoverStateLayerOpacity)};
|
|
697
|
+
${(0,k.setVariable)(T.opacityContentOnSurfaceFocused,v.secondaryFocusStateLayerOpacity)};
|
|
698
|
+
${(0,k.setVariable)(T.opacityContentOnSurfaceSelected,v.secondaryActiveStateLayerOpacity)};
|
|
699
|
+
${(0,k.setVariable)(T.opacityContentOnSurfacePressed,v.secondaryActiveStateLayerOpacity)};
|
|
700
700
|
|
|
701
701
|
background-color: ${v.secondaryBackgroundColor};
|
|
702
702
|
color: ${v.secondaryColor};
|
|
@@ -715,13 +715,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
715
715
|
/** Tertiary styles **/
|
|
716
716
|
|
|
717
717
|
.ft-button--tertiary {
|
|
718
|
-
${(0,
|
|
718
|
+
${(0,k.setVariable)(Ot.color,v.tertiaryIconColor)};
|
|
719
719
|
|
|
720
|
-
${(0,
|
|
721
|
-
${(0,
|
|
722
|
-
${(0,
|
|
723
|
-
${(0,
|
|
724
|
-
${(0,
|
|
720
|
+
${(0,k.setVariable)(T.color,v.tertiaryStateLayerColor)};
|
|
721
|
+
${(0,k.setVariable)(T.opacityContentOnSurfaceHover,v.tertiaryHoverStateLayerOpacity)};
|
|
722
|
+
${(0,k.setVariable)(T.opacityContentOnSurfaceFocused,v.tertiaryFocusStateLayerOpacity)};
|
|
723
|
+
${(0,k.setVariable)(T.opacityContentOnSurfaceSelected,v.tertiaryActiveStateLayerOpacity)};
|
|
724
|
+
${(0,k.setVariable)(T.opacityContentOnSurfacePressed,v.tertiaryActiveStateLayerOpacity)};
|
|
725
725
|
|
|
726
726
|
background-color: ${v.tertiaryBackgroundColor};
|
|
727
727
|
color: ${v.tertiaryColor};
|
|
@@ -739,13 +739,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
739
739
|
/** Neutral styles **/
|
|
740
740
|
|
|
741
741
|
.ft-button--neutral {
|
|
742
|
-
${(0,
|
|
742
|
+
${(0,k.setVariable)(Ot.color,v.neutralIconColor)};
|
|
743
743
|
|
|
744
|
-
${(0,
|
|
745
|
-
${(0,
|
|
746
|
-
${(0,
|
|
747
|
-
${(0,
|
|
748
|
-
${(0,
|
|
744
|
+
${(0,k.setVariable)(T.backgroundColor,v.neutralStateLayerColor)};
|
|
745
|
+
${(0,k.setVariable)(T.opacityContentOnSurfaceHover,v.neutralHoverStateLayerOpacity)};
|
|
746
|
+
${(0,k.setVariable)(T.opacityContentOnSurfaceFocused,v.neutralFocusStateLayerOpacity)};
|
|
747
|
+
${(0,k.setVariable)(T.opacityContentOnSurfaceSelected,v.neutralActiveStateLayerOpacity)};
|
|
748
|
+
${(0,k.setVariable)(T.opacityContentOnSurfacePressed,v.neutralActiveStateLayerOpacity)};
|
|
749
749
|
|
|
750
750
|
background-color: ${v.neutralBackgroundColor};
|
|
751
751
|
color: ${v.neutralColor};
|
|
@@ -763,8 +763,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
763
763
|
/** Large styles **/
|
|
764
764
|
|
|
765
765
|
.ft-button--large {
|
|
766
|
-
${(0,
|
|
767
|
-
${(0,
|
|
766
|
+
${(0,k.setVariable)(ut.size,v.largeIconSize)};
|
|
767
|
+
${(0,k.setVariable)(Ot.size,v.largeIconSize)};
|
|
768
768
|
|
|
769
769
|
height: ${v.largeHeight};
|
|
770
770
|
padding: 0 ${v.largeHorizontalPadding};
|
|
@@ -786,8 +786,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
786
786
|
/** Small styles **/
|
|
787
787
|
|
|
788
788
|
.ft-button--small {
|
|
789
|
-
${(0,
|
|
790
|
-
${(0,
|
|
789
|
+
${(0,k.setVariable)(ut.size,v.smallIconSize)};
|
|
790
|
+
${(0,k.setVariable)(Ot.size,v.smallIconSize)};
|
|
791
791
|
|
|
792
792
|
height: ${v.smallHeight};
|
|
793
793
|
padding: 0 ${v.smallHorizontalPadding};
|
|
@@ -805,7 +805,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
805
805
|
width: ${v.smallIconOnlyWidth};
|
|
806
806
|
padding: unset;
|
|
807
807
|
}
|
|
808
|
-
`,
|
|
808
|
+
`,k.noTextSelect];var $o=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},te=class extends J{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}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&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"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}}get typographyVariant(){return this.small?$e.caption1medium:$e.body2medium}};te.styles=[cs.safariEllipsisFix,ls];$o([(0,po.property)({type:Boolean})],te.prototype,"primary",void 0);$o([(0,po.property)({type:Boolean})],te.prototype,"secondary",void 0);$o([(0,po.property)({type:Boolean})],te.prototype,"tertiary",void 0);$o([(0,po.property)({type:Boolean})],te.prototype,"neutral",void 0);$o([(0,po.property)({type:Boolean})],te.prototype,"small",void 0);(0,ei.customElement)("ft-button")(ft);(0,ei.customElement)("ftds-button")(te);var ps=N.FtCssVariableFactory.extend("--ft-chip-color","",N.designSystemVariables.colorOnSurface),Ft={backgroundColor:N.FtCssVariableFactory.extend("--ft-chip-background-color","",N.designSystemVariables.colorSurface),color:ps,fontSize:N.FtCssVariableFactory.extend("--ft-chip-font-size","",dt.fontSize),iconSize:N.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:N.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:N.FtCssVariableFactory.extend("--ft-chip-ripple-color","",ps),horizontalPadding:N.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:N.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:N.FtCssVariableFactory.external(N.designSystemVariables.colorOutline,"Design system"),opacityDisabled:N.FtCssVariableFactory.external(N.designSystemVariables.colorOpacityDisabled,"Design system")},ds=N.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",N.FtCssVariableFactory.extend("--ft-chip-color","",N.designSystemVariables.colorOnPrimary)),oi={backgroundColor:N.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",N.FtCssVariableFactory.extend("--ft-chip-background-color","",N.designSystemVariables.colorPrimary)),color:ds,rippleColor:N.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",ds)},fs={horizontalPadding:N.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:N.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},hs=[N.noTextSelect,pr.css`
|
|
809
809
|
:host {
|
|
810
810
|
display: inline-block;
|
|
811
811
|
max-width: 100%;
|
|
@@ -844,8 +844,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
844
844
|
|
|
845
845
|
.ft-chip--dense {
|
|
846
846
|
--ft-chip-internal-icon-padding: 3px;
|
|
847
|
-
--ft-chip-internal-vertical-padding: ${
|
|
848
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
847
|
+
--ft-chip-internal-vertical-padding: ${fs.verticalPadding};
|
|
848
|
+
--ft-chip-internal-horizontal-padding: ${fs.horizontalPadding};
|
|
849
849
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
850
850
|
}
|
|
851
851
|
|
|
@@ -942,8 +942,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
942
942
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
943
943
|
order: -1;
|
|
944
944
|
}
|
|
945
|
-
`];var
|
|
946
|
-
<div class="${(0,
|
|
945
|
+
`];var Pt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},fr=class extends CustomEvent{constructor(){super("icon-click")}},q=class extends hr.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.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":hr.isSafari};return dr.html`
|
|
946
|
+
<div class="${(0,us.classMap)(t)}"
|
|
947
947
|
aria-label="${this.getLabel()}"
|
|
948
948
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
949
949
|
@keyup=${this.onKeyUp}
|
|
@@ -967,16 +967,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
967
967
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
968
968
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
969
969
|
</div>
|
|
970
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new fr))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new fr))}getLabel(){return this.label||this.textContent}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};q.elementDefinitions={"ft-ripple":$,"ft-typography":H,"ft-icon":mt,"ft-button":ft};q.styles=
|
|
971
|
-
`;var yr=f(x());var
|
|
970
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new fr))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new fr))}getLabel(){return this.label||this.textContent}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};q.elementDefinitions={"ft-ripple":$,"ft-typography":H,"ft-icon":mt,"ft-button":ft};q.styles=hs;Pt([(0,bt.property)({type:Boolean})],q.prototype,"highlighted",void 0);Pt([(0,bt.property)({type:Boolean})],q.prototype,"removable",void 0);Pt([(0,bt.property)({type:Boolean})],q.prototype,"disabled",void 0);Pt([(0,bt.property)({type:Boolean})],q.prototype,"clickable",void 0);Pt([(0,bt.property)({type:Boolean})],q.prototype,"iconClickable",void 0);Pt([(0,bt.property)({type:Boolean})],q.prototype,"dense",void 0);Pt([(0,bt.property)({type:Boolean})],q.prototype,"multiLine",void 0);Pt([(0,bt.property)()],q.prototype,"label",void 0);Pt([(0,bt.property)()],q.prototype,"iconLabel",void 0);Pt([(0,bt.property)()],q.prototype,"icon",void 0);Pt([(0,bt.property)()],q.prototype,"iconVariant",void 0);Pt([(0,bt.property)({type:Boolean})],q.prototype,"trailingIcon",void 0);Pt([(0,bt.query)("ft-typography slot")],q.prototype,"slottedContent",void 0);(0,ms.customElement)("ft-chip")(q);var vs=f(x());var gr=f(C()),br=f(W()),xr=f(x());var ys=f(C());var gs=ys.css`
|
|
971
|
+
`;var yr=f(x());var xs=f(W()),Zl=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},ri=Symbol("i18nAttributes"),ur=Symbol("i18nProperties"),_o=Symbol("i18nUnsubs");function Ce(o){var t;class r extends o{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?Gi:Ze}i18n(n,a,...l){var c;if(typeof n=="string")return this.i18nService.resolveMessage(n,a,...l);let h=(c=n.args)!==null&&c!==void 0?c:n.argsProvider?n.argsProvider(this):[];return this.i18nService.resolveMessage(n.context,n.key,...h)}onI18nUpdate(n){var a,l;(a=this[ri])===null||a===void 0||a.forEach((c,h)=>{var u;let b=this.getI18nAttributeValue(h);((u=b?.context)===null||u===void 0?void 0:u.toLowerCase())===n.toLowerCase()&&this.updateI18nAttributeMessage(h,b,c)}),(l=this[ur])===null||l===void 0||l.forEach((c,h)=>{c.context.toLowerCase()===n.toLowerCase()&&(this[h]=this.i18n(c))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(n,a,l){this[n]={...a,message:this.i18n({context:a.context,key:a.key,...l})}}update(n){var a,l;super.update(n),(a=this[ri])===null||a===void 0||a.forEach((c,h)=>{let u=this.getI18nAttributeValue(h);u?.context&&u.key&&(n.has(h)||c.argsProvider!=null)&&(n.has(h)&&this.addI18nContext(u.context),this.updateI18nAttributeMessage(h,u,c))}),(l=this[ur])===null||l===void 0||l.forEach((c,h)=>{c.argsProvider!=null&&(this[h]=this.i18n(c))})}getI18nAttributeValue(n){return this[n]}connectedCallback(){var n,a,l,c;super.connectedCallback(),new Set([...(a=(n=this[ur])===null||n===void 0?void 0:n.values())!==null&&a!==void 0?a:[],...[...(c=(l=this[ri])===null||l===void 0?void 0:l.keys())!==null&&c!==void 0?c:[]].map(h=>this.getI18nAttributeValue(h))].map(h=>h?.context)).forEach(h=>h&&this.addI18nMessages(h))}addI18nMessages(n,a){n=n.toLowerCase(),this[_o].has(n)||this[_o].set(n,this.i18nService.subscribe(n,()=>this.onI18nUpdate(n))),this.i18nService.prepareContext(n,a??{})}addI18nContext(n,a){this.addI18nMessages(typeof n=="string"?n:n.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[_o].forEach(n=>n()),this[_o].clear()}}return t=_o,Zl([(0,xs.property)({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var bs=class extends Ce(yr.FtLitElement){},mr=class extends Ce(yr.FtLitElementRedux){};var Do=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Ht=class extends mr{constructor(){super(),this.editorMode=!1,this.addStore(R)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":gr.nothing:gr.html`
|
|
972
972
|
<span class="ft-i18n">
|
|
973
973
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
974
974
|
</span>
|
|
975
|
-
`}update(t){var r;super.update(t),["context","key","defaultMessage"].some(i=>t.has(i))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Ht.elementDefinitions={};Ht.styles=
|
|
976
|
-
`;var xt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,
|
|
975
|
+
`}update(t){var r;super.update(t),["context","key","defaultMessage"].some(i=>t.has(i))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Ht.elementDefinitions={};Ht.styles=gs;Do([(0,xr.redux)()],Ht.prototype,"editorMode",void 0);Do([(0,br.property)()],Ht.prototype,"context",void 0);Do([(0,br.property)()],Ht.prototype,"key",void 0);Do([(0,xr.jsonProperty)([])],Ht.prototype,"args",void 0);Do([(0,br.property)()],Ht.prototype,"defaultMessage",void 0);var fo=class o{static build(t){return new o(t)}static fromGwt(t){return new o(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(r,i)=>{let n=i;return a=>({context:this.name,key:n,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,i)=>(...n)=>Ze.resolveMessage(this.name,i,...n)})}};(0,vs.customElement)("ft-i18n")(Ht);var Es=f(x());var Cs=f(C()),pe=f(W()),Vt=f(x());var Ss=f(C());var Os=Ss.css`
|
|
976
|
+
`;var xt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},ii=class extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}},ni=class extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}},ai=class extends CustomEvent{constructor(t,r,i){super("ft-search-results-change",{detail:{request:t,paging:r,spellcheck:i}})}},Y=class extends Vt.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=bo.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),t),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(R)}render(){return Cs.html`
|
|
977
977
|
<slot @register-ft-search-component=${this.registerComponent}></slot>
|
|
978
|
-
`}update(t){super.update(t),t.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),t.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),t.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),t.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("periodFilter")&&this.periodFilter!==void 0&&this.stateManager.setPeriodFilter(this.periodFilter)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new ni(this.request)),t.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new ai(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();let r=t.composedPath()[0];this.register(r)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new ii(t))}reloadSavedSearches(){Zi.clearMySearches()}clear(){this.stateManager.clear()}};Y.elementDefinitions={};Y.styles=
|
|
979
|
-
`;var pi=f(x());var Me=f(C()),B=f(W()),zt=f(x());var _t=f(C()),at=f(W()),
|
|
978
|
+
`}update(t){super.update(t),t.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),t.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),t.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),t.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("periodFilter")&&this.periodFilter!==void 0&&this.stateManager.setPeriodFilter(this.periodFilter)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new ni(this.request)),t.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new ai(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();let r=t.composedPath()[0];this.register(r)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new ii(t))}reloadSavedSearches(){Zi.clearMySearches()}clear(){this.stateManager.clear()}};Y.elementDefinitions={};Y.styles=Os;xt([(0,pe.property)()],Y.prototype,"query",void 0);xt([(0,pe.property)()],Y.prototype,"contentLocale",void 0);xt([(0,pe.property)({type:Number})],Y.prototype,"pageSize",void 0);xt([(0,pe.property)({type:Boolean})],Y.prototype,"searchInDocumentTitlesOnly",void 0);xt([(0,pe.property)()],Y.prototype,"periodFilter",void 0);xt([(0,pe.property)()],Y.prototype,"scope",void 0);xt([(0,pe.property)({type:Boolean})],Y.prototype,"ignoreEmptyQuery",void 0);xt([(0,Vt.redux)({store:R.name})],Y.prototype,"openExternalDocumentInNewTab",void 0);xt([(0,Vt.jsonProperty)([])],Y.prototype,"filters",void 0);xt([(0,Vt.jsonProperty)([])],Y.prototype,"sort",void 0);xt([(0,Vt.redux)({store:"search"})],Y.prototype,"request",void 0);xt([(0,Vt.redux)({store:"search"})],Y.prototype,"paging",void 0);xt([(0,Vt.redux)({store:"search",selector:o=>o.spellcheck})],Y.prototype,"autocorrect",void 0);xt([(0,Vt.redux)({store:R.name})],Y.prototype,"session",void 0);xt([(0,pe.property)({attribute:!1})],Y.prototype,"searchServiceProvider",void 0);(0,Es.customElement)("ft-search-context")(Y);var rl=f(x());var tl=f(C()),el=f(x());var As=f(C());var ws=As.css`
|
|
979
|
+
`;var pi=f(x());var Me=f(C()),B=f(W()),zt=f(x());var _t=f(C()),at=f(W()),Vs=f(Rr()),Or=f(x());var Ps=f(x());var Ls=f(C()),Ee=f(W()),Ts=f(x()),Is=f(Te());var kt=f(x()),Rs=f(C());var de={textColor:kt.FtCssVariableFactory.extend("--ft-checkbox-text-color","",kt.designSystemVariables.colorOnSurfaceHigh),fontSize:kt.FtCssVariableFactory.extend("--ft-checkbox-font-size","",O.fontSize),colorPrimary:kt.FtCssVariableFactory.external(kt.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:kt.FtCssVariableFactory.external(kt.designSystemVariables.colorOnPrimary,"Design system"),borderColor:kt.FtCssVariableFactory.extend("--ft-checkbox-border-color","",kt.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:kt.FtCssVariableFactory.external(kt.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Ns=Rs.css`
|
|
980
980
|
* {
|
|
981
981
|
box-sizing: border-box;
|
|
982
982
|
}
|
|
@@ -1054,8 +1054,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1054
1054
|
.ft-checkbox--indeterminate .ft-checkbox--checkmark {
|
|
1055
1055
|
opacity: 1;
|
|
1056
1056
|
}
|
|
1057
|
-
`;var ho=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,
|
|
1058
|
-
<label class="${(0,
|
|
1057
|
+
`;var ho=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},At=class extends Ts.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){let t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Ls.html`
|
|
1058
|
+
<label class="${(0,Is.classMap)(t)}" for="checkbox-input">
|
|
1059
1059
|
<div class="ft-checkbox--box-container">
|
|
1060
1060
|
<ft-ripple
|
|
1061
1061
|
?disabled=${this.disabled}
|
|
@@ -1081,7 +1081,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1081
1081
|
<slot></slot>
|
|
1082
1082
|
</ft-typography>
|
|
1083
1083
|
</label>
|
|
1084
|
-
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}};At.elementDefinitions={"ft-ripple":$,"ft-typography":H};At.styles=
|
|
1084
|
+
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}};At.elementDefinitions={"ft-ripple":$,"ft-typography":H};At.styles=Ns;ho([(0,Ee.property)()],At.prototype,"name",void 0);ho([(0,Ee.property)({type:Boolean,reflect:!0})],At.prototype,"checked",void 0);ho([(0,Ee.property)({type:Boolean})],At.prototype,"indeterminate",void 0);ho([(0,Ee.property)({type:Boolean})],At.prototype,"disabled",void 0);ho([(0,Ee.query)(".ft-checkbox")],At.prototype,"container",void 0);ho([(0,Ee.query)("ft-ripple")],At.prototype,"ripple",void 0);(0,Ps.customElement)("ft-checkbox")(At);var si=f(x());var _s=f(C()),Gt=f(W()),Ds=f(x()),Bs=f(Te());var ks=f(C()),$t=f(x()),Fe={textColor:$t.FtCssVariableFactory.extend("--ft-radio-text-color","",$t.designSystemVariables.colorOnSurfaceHigh),colorPrimary:$t.FtCssVariableFactory.external($t.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:$t.FtCssVariableFactory.external($t.designSystemVariables.colorOnPrimary,"Design system"),borderColor:$t.FtCssVariableFactory.extend("--ft-radio-border-color","",$t.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:$t.FtCssVariableFactory.external($t.designSystemVariables.colorOnSurfaceDisabled,"Design system")},$s=ks.css`
|
|
1085
1085
|
* {
|
|
1086
1086
|
box-sizing: border-box;
|
|
1087
1087
|
}
|
|
@@ -1169,8 +1169,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1169
1169
|
.ft-radio ft-typography {
|
|
1170
1170
|
padding-right: 2px;
|
|
1171
1171
|
}
|
|
1172
|
-
`;var fe=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,
|
|
1173
|
-
<div class="${(0,
|
|
1172
|
+
`;var fe=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},vr=class extends CustomEvent{constructor(t,r){super("change",{detail:{value:t,checked:r},bubbles:!0,composed:!0})}},et=class extends Ds.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return _s.html`
|
|
1173
|
+
<div class="${(0,Bs.classMap)(t)}">
|
|
1174
1174
|
<div class="ft-radio--box-container">
|
|
1175
1175
|
<ft-ripple
|
|
1176
1176
|
?disabled=${this.disabled}
|
|
@@ -1194,7 +1194,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1194
1194
|
</ft-typography>
|
|
1195
1195
|
</label>
|
|
1196
1196
|
</div>
|
|
1197
|
-
`}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new vr(this.value,this.checked))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new vr(this.value,this.checked))}setInputTabIndex(t){this.input&&(this.input.tabIndex=t)}focus(){var t;(t=this.input)===null||t===void 0||t.focus()}};et.elementDefinitions={"ft-ripple":$,"ft-typography":H};et.styles
|
|
1197
|
+
`}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new vr(this.value,this.checked))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new vr(this.value,this.checked))}setInputTabIndex(t){this.input&&(this.input.tabIndex=t)}focus(){var t;(t=this.input)===null||t===void 0||t.focus()}};et.elementDefinitions={"ft-ripple":$,"ft-typography":H};et.styles=$s;fe([(0,Gt.property)()],et.prototype,"value",void 0);fe([(0,Gt.property)()],et.prototype,"name",void 0);fe([(0,Gt.property)({type:Boolean,reflect:!0})],et.prototype,"checked",void 0);fe([(0,Gt.property)({attribute:"aria-checked",reflect:!0})],et.prototype,"ariaChecked",void 0);fe([(0,Gt.property)({type:Boolean})],et.prototype,"disabled",void 0);fe([(0,Gt.property)({reflect:!0,attribute:"role"})],et.prototype,"role",void 0);fe([(0,Gt.query)(".ft-radio")],et.prototype,"container",void 0);fe([(0,Gt.query)("ft-ripple")],et.prototype,"ripple",void 0);fe([(0,Gt.query)("input")],et.prototype,"input",void 0);var zs=f(x()),he=f(W()),Ms=f(C());var Us=f(C());var Fs=Us.css`
|
|
1198
1198
|
:host {
|
|
1199
1199
|
display: block;
|
|
1200
1200
|
}
|
|
@@ -1202,12 +1202,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1202
1202
|
:host(:focus-visible) {
|
|
1203
1203
|
outline: none;
|
|
1204
1204
|
}
|
|
1205
|
-
`;var uo=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,
|
|
1205
|
+
`;var uo=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},wt=class extends zs.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,setTimeout(()=>this.focusCurrentChecked(),100))},this.onFocusOut=t=>{!this.contains(t.relatedTarget)&&(this.tabIndex=0)}}render(){return Ms.html`
|
|
1206
1206
|
<slot @slotchange=${this.onSlotChange}
|
|
1207
1207
|
@change=${this.onChange}
|
|
1208
1208
|
@keydown=${this.onKeyDown}
|
|
1209
1209
|
></slot>
|
|
1210
|
-
`}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(t=>t.name=this.name)}contentAvailableCallback(t){super.contentAvailableCallback(t),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(t){t.stopPropagation(),this.radioButtons.forEach(r=>r.checked=t.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(t){let r=!1;switch(t.key){case"ArrowUp":case"ArrowLeft":{r=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(t.stopPropagation(),t.preventDefault())}resolveCurrentSelectedIndex(){let t=this.radioButtons.findIndex(r=>r.checked);t==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=t}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};wt.elementDefinitions={};wt.styles=
|
|
1210
|
+
`}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(t=>t.name=this.name)}contentAvailableCallback(t){super.contentAvailableCallback(t),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(t){t.stopPropagation(),this.radioButtons.forEach(r=>r.checked=t.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(t){let r=!1;switch(t.key){case"ArrowUp":case"ArrowLeft":{r=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(t.stopPropagation(),t.preventDefault())}resolveCurrentSelectedIndex(){let t=this.radioButtons.findIndex(r=>r.checked);t==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=t}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};wt.elementDefinitions={};wt.styles=Fs;uo([(0,he.property)()],wt.prototype,"name",void 0);uo([(0,he.property)({reflect:!0,attribute:"role"})],wt.prototype,"role",void 0);uo([(0,he.property)({reflect:!0})],wt.prototype,"tabIndex",void 0);uo([(0,he.property)({reflect:!0,attribute:"aria-labelledby"})],wt.prototype,"ariaLabelledBy",void 0);uo([(0,he.queryAssignedElements)()],wt.prototype,"radioButtons",void 0);uo([(0,he.state)()],wt.prototype,"currentSelectedIndex",void 0);(0,si.customElement)("ft-radio")(et);(0,si.customElement)("ft-radio-group")(wt);var Ws=f(C()),F=f(x());var Sr={borderRadiusM:F.FtCssVariableFactory.external(F.designSystemVariables.borderRadiusM,"Design system"),colorOutline:F.FtCssVariableFactory.external(F.designSystemVariables.colorOutline,"Design system"),colorOnSurface:F.FtCssVariableFactory.external(F.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:F.FtCssVariableFactory.external(F.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:F.FtCssVariableFactory.external(F.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:F.FtCssVariableFactory.external(F.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:F.FtCssVariableFactory.external(F.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:F.FtCssVariableFactory.external(dt.fontFamily,"Body2 typography"),fontSize:F.FtCssVariableFactory.external(dt.fontSize,"Body2 typography"),fontWeight:F.FtCssVariableFactory.external(dt.fontWeight,"Body2 typography"),letterSpacing:F.FtCssVariableFactory.external(dt.letterSpacing,"Body2 typography"),lineHeight:F.FtCssVariableFactory.external(dt.lineHeight,"Body2 typography"),textTransform:F.FtCssVariableFactory.external(dt.textTransform,"Body2 typography")},Hs=Ws.css`
|
|
1211
1211
|
.ft-filter-level--container {
|
|
1212
1212
|
display: flex;
|
|
1213
1213
|
flex-direction: column;
|
|
@@ -1273,7 +1273,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1273
1273
|
margin: 10px 0;
|
|
1274
1274
|
color: ${Sr.colorOnSurfaceMedium};
|
|
1275
1275
|
}
|
|
1276
|
-
`;var vt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,
|
|
1276
|
+
`;var vt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},X=class extends Or.FtLitElement{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return t!=null&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,r;return(r=(t=this.container)===null||t===void 0?void 0:t.scrollHeight)!==null&&r!==void 0?r:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter(i=>!i.selected)),this.filter&&(t=t.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let r=t.slice(0,this.limit);return _t.html`
|
|
1277
1277
|
<div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
|
|
1278
1278
|
${this.parent==null?null:_t.html`
|
|
1279
1279
|
<div tabindex="0"
|
|
@@ -1293,7 +1293,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1293
1293
|
${this.noValuesLabel}
|
|
1294
1294
|
</ft-typography>
|
|
1295
1295
|
`:_t.nothing}
|
|
1296
|
-
${(0,
|
|
1296
|
+
${(0,Vs.repeat)(r,i=>i.value,i=>{var n;return _t.html`
|
|
1297
1297
|
<div class="ft-filter-level--option" part="options" tabindex="-1">
|
|
1298
1298
|
${this.multivalued?this.buildMultiValuedOption(i):this.buildMonoValuedOption(i)}
|
|
1299
1299
|
${this.preventNavigation||i.selected||((n=i.subOptions)!==null&&n!==void 0?n:[]).length===0?_t.nothing:_t.html`
|
|
@@ -1339,7 +1339,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1339
1339
|
@change=${r=>this.optionsChanged(r,t)}>
|
|
1340
1340
|
${t.renderOption?t.renderOption:t.label}${this.displayCount?` (${t.count})`:""}
|
|
1341
1341
|
</ft-radio>
|
|
1342
|
-
`}onRadioKeyDown(t,r){t.stopPropagation(),(t.key===" "||t.key==="Enter")&&(t.preventDefault(),this.optionsChanged(t,r))}optionsChanged(t,r){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}};X.elementDefinitions={"ft-button":ft,"ft-ripple":$,"ft-typography":H,"ft-checkbox":At,"ft-icon":mt,"ft-radio":et};X.styles=
|
|
1342
|
+
`}onRadioKeyDown(t,r){t.stopPropagation(),(t.key===" "||t.key==="Enter")&&(t.preventDefault(),this.optionsChanged(t,r))}optionsChanged(t,r){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}};X.elementDefinitions={"ft-button":ft,"ft-ripple":$,"ft-typography":H,"ft-checkbox":At,"ft-icon":mt,"ft-radio":et};X.styles=Hs;vt([(0,at.property)({type:String})],X.prototype,"filterId",void 0);vt([(0,at.property)({type:Object})],X.prototype,"parent",void 0);vt([(0,at.property)({type:Array})],X.prototype,"options",void 0);vt([(0,at.property)({type:Boolean})],X.prototype,"multivalued",void 0);vt([(0,at.property)({type:Boolean})],X.prototype,"disabled",void 0);vt([(0,at.property)({type:Boolean})],X.prototype,"hideSelectedOptions",void 0);vt([(0,at.property)({type:Boolean})],X.prototype,"displayCount",void 0);vt([(0,at.property)({type:Boolean})],X.prototype,"preventNavigation",void 0);vt([(0,at.property)({type:String})],X.prototype,"filter",void 0);vt([(0,at.property)({type:String})],X.prototype,"moreValuesButtonLabel",void 0);vt([(0,at.property)({type:String})],X.prototype,"noValuesLabel",void 0);vt([(0,at.property)({type:Number})],X.prototype,"displayedValuesLimit",void 0);vt([(0,at.query)(".ft-filter-level--container")],X.prototype,"container",void 0);vt([(0,at.state)()],X.prototype,"radios",void 0);vt([(0,at.state)()],X.prototype,"displayedPages",void 0);var qs=f(x());var Zs=f(C()),Dt=f(W()),ze=f(x());var js=f(Te());var Gs=f(C()),Kt=f(x());var Ae={buttonsColor:Kt.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",Kt.designSystemVariables.colorPrimary),buttonsZIndex:Kt.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:Kt.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Kt.FtCssVariableFactory.external(Kt.designSystemVariables.colorSurface,"Design system")},Ks=Gs.css`
|
|
1343
1343
|
.ft-snap-scroll {
|
|
1344
1344
|
box-sizing: border-box;
|
|
1345
1345
|
position: relative;
|
|
@@ -1464,7 +1464,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1464
1464
|
.ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
|
|
1465
1465
|
background-color: ${Ae.colorSurface};
|
|
1466
1466
|
}
|
|
1467
|
-
`;var ee=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,
|
|
1467
|
+
`;var ee=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},li=class extends CustomEvent{constructor(t,r){super("current-element-change",{detail:{index:t,element:r}})}},st=class extends ze.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new ze.Debouncer(200),this.updateScrollDebouncer=new ze.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let r=this.elements[t];if(r){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>i)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let t=(0,js.classMap)({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":ze.isSafari}),r=this.controls&&this.withScroll;return Zs.html`
|
|
1468
1468
|
<div part="container" class="${t}">
|
|
1469
1469
|
<ft-button
|
|
1470
1470
|
class="ft-snap-scroll--previous"
|
|
@@ -1488,7 +1488,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1488
1488
|
@click=${this.next}
|
|
1489
1489
|
></ft-button>
|
|
1490
1490
|
</div>
|
|
1491
|
-
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new li(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(t!=null){let r=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var r,i;t&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,r;this.elements=(r=(t=this.contentSlot)===null||t===void 0?void 0:t.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let r=0;r<this.elements.length;r++)(t<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[t]))&&(t=r);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){let r=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-r)}};st.elementDefinitions={"ft-button":ft};st.styles=
|
|
1491
|
+
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new li(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(t!=null){let r=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var r,i;t&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,r;this.elements=(r=(t=this.contentSlot)===null||t===void 0?void 0:t.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let r=0;r<this.elements.length;r++)(t<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[t]))&&(t=r);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){let r=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-r)}};st.elementDefinitions={"ft-button":ft};st.styles=Ks;ee([(0,Dt.property)({type:Boolean})],st.prototype,"horizontal",void 0);ee([(0,Dt.property)({type:Boolean})],st.prototype,"hideScrollbar",void 0);ee([(0,Dt.property)({type:Boolean})],st.prototype,"controls",void 0);ee([(0,Dt.property)({type:Boolean})],st.prototype,"limitSize",void 0);ee([(0,Dt.state)()],st.prototype,"elements",void 0);ee([(0,Dt.state)()],st.prototype,"currentElement",void 0);ee([(0,Dt.state)()],st.prototype,"withScroll",void 0);ee([(0,Dt.state)()],st.prototype,"startReached",void 0);ee([(0,Dt.state)()],st.prototype,"endReached",void 0);ee([(0,Dt.query)(".ft-snap-scroll--content")],st.prototype,"contentSlot",void 0);(0,qs.customElement)("ft-snap-scroll")(st);var Ys=f(C()),V=f(x());var Rt={colorOutline:V.FtCssVariableFactory.external(V.designSystemVariables.colorOutline,"Design system"),colorOnSurface:V.FtCssVariableFactory.external(V.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:V.FtCssVariableFactory.external(V.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:V.FtCssVariableFactory.external(V.designSystemVariables.colorPrimary,"Design system"),colorSurface:V.FtCssVariableFactory.external(V.designSystemVariables.colorSurface,"Design system"),transitionDuration:V.FtCssVariableFactory.external(V.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:V.FtCssVariableFactory.external(V.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:V.FtCssVariableFactory.extend("--ft-filter-label-color","",V.designSystemVariables.colorOnSurface),labelFontSize:V.FtCssVariableFactory.extend("--ft-filter-label-font-size","",O.fontSize,"16px")},Xs=[tr,Ys.css`
|
|
1492
1492
|
:host {
|
|
1493
1493
|
display: flex;
|
|
1494
1494
|
max-height: 100%;
|
|
@@ -1603,7 +1603,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1603
1603
|
slot:not([name]) {
|
|
1604
1604
|
display: none;
|
|
1605
1605
|
}
|
|
1606
|
-
`];var z=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,
|
|
1606
|
+
`];var z=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},ci=class extends CustomEvent{constructor(t){super("change",{detail:t})}},I=class extends zt.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new zt.Debouncer(300),this.changeDebouncer=new zt.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,zt.flatDeep)(this.options,t=>{var r;return(r=t.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,zt.flatDeep)(this.options,t=>{var r;return t.selected?[]:(r=t.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(t=>t.selected).map(t=>t.value)}render(){let t=this.flatOptions.some(n=>n.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return Me.html`
|
|
1607
1607
|
<div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
|
|
1608
1608
|
part="container">
|
|
1609
1609
|
${!this.label&&!t?null:Me.html`
|
|
@@ -1639,7 +1639,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1639
1639
|
@slotchange=${this.updateOptionsFromSlot}
|
|
1640
1640
|
@option-change=${this.optionsChanged}></slot>
|
|
1641
1641
|
</div>
|
|
1642
|
-
`}update(t){if(super.update(t),t.has("options")){let r=new Set(this.flatOptions.map(i=>i.value));this.displayedLevels=this.displayedLevels.filter(i=>r.has(i)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var r,i,n,a,
|
|
1642
|
+
`}update(t){if(super.update(t),t.has("options")){let r=new Set(this.flatOptions.map(i=>i.value));this.displayedLevels=this.displayedLevels.filter(i=>r.has(i)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var r,i,n,a,l;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout(()=>{var c;(c=this.levelsContainer)===null||c===void 0||c.next(),this.slideIn=void 0},0),t.has("slideOut")&&this.slideOut&&((i=this.levelsContainer)===null||i===void 0||i.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(l=(a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||a===void 0?void 0:a.hasHiddenValues)!==null&&l!==void 0?l:!1}renderLevels(){let t=this.flatOptions,r=t.filter(a=>a.selected),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,n=i<0?"ft-filter--level-center":"ft-filter--level-left";return Me.html`
|
|
1643
1643
|
${this.raiseSelectedOptions&&r.length>0?Me.html`
|
|
1644
1644
|
<ft-filter-level
|
|
1645
1645
|
filterId="${this.id}"
|
|
@@ -1658,7 +1658,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1658
1658
|
class="ft-filter--levels"
|
|
1659
1659
|
@current-element-change=${a=>this.levelsScrollDebouncer.run(()=>{for(;a.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()})}>
|
|
1660
1660
|
${this.renderLevel(n,this.options)}
|
|
1661
|
-
${this.displayedLevels.map(a=>t.find(
|
|
1661
|
+
${this.displayedLevels.map(a=>t.find(l=>l.value===a)).map((a,l)=>{var c;let h=a?.value===this.slideIn||a?.value===this.slideOut?"ft-filter--level-right":l===i?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(h,(c=a?.subOptions)!==null&&c!==void 0?c:[],a)})}
|
|
1662
1662
|
</ft-snap-scroll>
|
|
1663
1663
|
`}renderLevel(t,r,i){return Me.html`
|
|
1664
1664
|
<ft-filter-level
|
|
@@ -1680,9 +1680,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1680
1680
|
.exportpartsPrefixes=${["values","available-values"]}
|
|
1681
1681
|
noValuesLabel="${this.noValuesLabel}"
|
|
1682
1682
|
></ft-filter-level>
|
|
1683
|
-
`}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach(t=>t.selected=!1),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var r;t.stopPropagation();let i=this.flatOptions.find(a=>a.value===t.detail.value);i.selected=!i.selected;let n=a=>{var
|
|
1683
|
+
`}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach(t=>t.selected=!1),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var r;t.stopPropagation();let i=this.flatOptions.find(a=>a.value===t.detail.value);i.selected=!i.selected;let n=a=>{var l;a!==i&&(a.selected=!1),(l=a.subOptions)===null||l===void 0||l.forEach(n)};this.multivalued?(r=i.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),(t=this.levels)===null||t===void 0||t.forEach(r=>r.requestUpdate())})}sendEventIfValuesChanged(){let t=this.selectedValues;(0,zt.deepEqual)(this.lastDispatchedValues,t)||(this.dispatchEvent(new ci(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var t,r;this.filter=(r=(t=this.filterInput)===null||t===void 0?void 0:t.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};I.elementDefinitions={"ft-button":ft,"ft-filter-level":X,"ft-snap-scroll":st,"ft-typography":H};I.styles=Xs;z([(0,B.property)({type:String})],I.prototype,"id",void 0);z([(0,B.property)({type:String})],I.prototype,"label",void 0);z([(0,B.property)({type:String})],I.prototype,"filterPlaceHolder",void 0);z([(0,B.property)({type:String})],I.prototype,"clearButtonLabel",void 0);z([(0,B.property)({type:String})],I.prototype,"moreValuesButtonLabel",void 0);z([(0,B.property)({type:String})],I.prototype,"noValuesLabel",void 0);z([(0,zt.jsonProperty)([])],I.prototype,"options",void 0);z([(0,B.property)({type:Boolean})],I.prototype,"multivalued",void 0);z([(0,B.property)({type:Boolean})],I.prototype,"disabled",void 0);z([(0,B.property)({type:Boolean})],I.prototype,"raiseSelectedOptions",void 0);z([(0,B.property)({type:Boolean})],I.prototype,"displayCount",void 0);z([(0,B.property)({type:Number})],I.prototype,"displayedValuesLimit",void 0);z([(0,B.property)({type:Boolean})],I.prototype,"hideClearButton",void 0);z([(0,B.query)(".ft-filter--slot")],I.prototype,"slotElement",void 0);z([(0,B.query)(".ft-filter--container")],I.prototype,"container",void 0);z([(0,B.query)(".ft-filter--values")],I.prototype,"valuesContainer",void 0);z([(0,B.query)(".ft-filter--levels")],I.prototype,"levelsContainer",void 0);z([(0,B.state)()],I.prototype,"lastLevelHasHiddenvalues",void 0);z([(0,B.query)(".ft-filter--filter input")],I.prototype,"filterInput",void 0);z([(0,B.queryAll)(".ft-filter--levels ft-filter-level")],I.prototype,"levels",void 0);z([(0,B.state)()],I.prototype,"withScroll",void 0);z([(0,B.state)()],I.prototype,"filter",void 0);z([(0,B.state)()],I.prototype,"slideIn",void 0);z([(0,B.state)()],I.prototype,"slideOut",void 0);var Cr=f(x()),We=f(W()),Qs=f(C()),mo=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Zt=class extends Cr.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Qs.html`
|
|
1684
1684
|
<slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
|
|
1685
|
-
`}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Zt.elementDefinitions={};mo([(0,We.property)({type:String})],Zt.prototype,"label",void 0);mo([(0,We.property)({type:Object,converter:o=>o})],Zt.prototype,"value",void 0);mo([(0,We.property)({type:Boolean,reflect:!0})],Zt.prototype,"selected",void 0);mo([(0,We.property)({type:Object})],Zt.prototype,"subOptions",void 0);mo([(0,Cr.jsonProperty)({})],Zt.prototype,"renderOption",void 0);mo([(0,We.query)(".ft-filter-option--slot")],Zt.prototype,"slotElement",void 0);(0,pi.customElement)("ft-filter")(I);(0,pi.customElement)("ft-filter-option")(Zt);var we=fo.build("designedSearchType"),Er={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var
|
|
1685
|
+
`}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Zt.elementDefinitions={};mo([(0,We.property)({type:String})],Zt.prototype,"label",void 0);mo([(0,We.property)({type:Object,converter:o=>o})],Zt.prototype,"value",void 0);mo([(0,We.property)({type:Boolean,reflect:!0})],Zt.prototype,"selected",void 0);mo([(0,We.property)({type:Object})],Zt.prototype,"subOptions",void 0);mo([(0,Cr.jsonProperty)({})],Zt.prototype,"renderOption",void 0);mo([(0,We.query)(".ft-filter-option--slot")],Zt.prototype,"slotElement",void 0);(0,pi.customElement)("ft-filter")(I);(0,pi.customElement)("ft-filter-option")(Zt);var we=fo.build("designedSearchType"),Er={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var ol=f(W());var Js=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Re=class extends Ce(ge){constructor(){super(),this.addI18nContext(we,Er)}render(){return tl.html`
|
|
1686
1686
|
<ft-filter
|
|
1687
1687
|
label=${we.messages.label()}
|
|
1688
1688
|
.options=${[{label:we.messages.documentTitlesOnly(),value:t=>{var r;return(r=this.stateManager)===null||r===void 0?void 0:r.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
|
|
@@ -1691,7 +1691,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1691
1691
|
multivalued
|
|
1692
1692
|
@change=${this.onSelected}
|
|
1693
1693
|
></ft-filter>
|
|
1694
|
-
`}onSelected(t){var r;(r=this.filter)===null||r===void 0||r.options.forEach(i=>i.value(i.selected))}};Re.elementDefinitions={"ft-filter":I};Re.styles=
|
|
1694
|
+
`}onSelected(t){var r;(r=this.filter)===null||r===void 0||r.options.forEach(i=>i.value(i.selected))}};Re.elementDefinitions={"ft-filter":I};Re.styles=ws;Js([(0,el.redux)({selector:xo})],Re.prototype,"searchInDocumentTitlesOnly",void 0);Js([(0,ol.query)("ft-filter")],Re.prototype,"filter",void 0);(0,rl.customElement)("ft-search-type")(Re);var sl=f(x());var jt=f(C());var il=f(C()),He=f(x());var jl={headerColor:He.FtCssVariableFactory.extend("--ft-search-period-filter-header-color","",He.designSystemVariables.colorOnSurface)},nl=il.css`
|
|
1695
1695
|
[part="container"] {
|
|
1696
1696
|
flex-grow: 1;
|
|
1697
1697
|
display: flex;
|
|
@@ -1716,7 +1716,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1716
1716
|
flex-shrink: 0;
|
|
1717
1717
|
padding: 0 10px;
|
|
1718
1718
|
margin-bottom: 8px;
|
|
1719
|
-
color: ${
|
|
1719
|
+
color: ${jl.headerColor};
|
|
1720
1720
|
}
|
|
1721
1721
|
|
|
1722
1722
|
[part="label"] {
|
|
@@ -1728,7 +1728,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1728
1728
|
${(0,He.setVariable)(O.fontWeight,"bold")};
|
|
1729
1729
|
}
|
|
1730
1730
|
|
|
1731
|
-
`;var
|
|
1731
|
+
`;var al=f(x());var Nt=fo.build("designedSearchPeriodFilter"),Ar={label:"Last update",anyTime:"Any time",LAST_WEEK:"Less than a week",LAST_MONTH:"Less than a month",LAST_QUARTER:"Less than a quarter",LAST_YEAR:"Less than a year",CUSTOM:"Custom period",customPeriod:"From {0} to {1}",period:"Period: {0}"};var Uo=f(W());var Bo=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},qt=class extends Ce(ge){constructor(){super(),this.addI18nContext(Nt,Ar)}render(){var t,r,i,n;return jt.html`<div part="container">
|
|
1732
1732
|
<div part="header">
|
|
1733
1733
|
<ft-typography variant="overline" part="label" id="label">
|
|
1734
1734
|
${Nt.messages.label()}
|
|
@@ -1741,17 +1741,17 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1741
1741
|
${this.lessThanAQuarter?jt.html`<ft-radio ?checked=${((i=this.periodFilter)===null||i===void 0?void 0:i.periodType)=="LAST_QUARTER"} value="LAST_QUARTER">${Nt.messages.LAST_QUARTER()}</ft-radio>`:jt.nothing}
|
|
1742
1742
|
${this.lessThanAYear?jt.html`<ft-radio ?checked=${((n=this.periodFilter)===null||n===void 0?void 0:n.periodType)=="LAST_YEAR"} value="LAST_YEAR">${Nt.messages.LAST_YEAR()}</ft-radio>`:jt.nothing}
|
|
1743
1743
|
</ft-radio-group>
|
|
1744
|
-
</div>`}setPeriodFilter(t){var r;let i=Mo[t.detail];(r=this.stateManager)===null||r===void 0||r.setPeriodFilter(i===void 0?void 0:{periodType:i})}};qt.elementDefinitions={"ft-radio-group":wt,"ft-radio":et,"ft-typography":H};qt.styles=
|
|
1744
|
+
</div>`}setPeriodFilter(t){var r;let i=Mo[t.detail];(r=this.stateManager)===null||r===void 0||r.setPeriodFilter(i===void 0?void 0:{periodType:i})}};qt.elementDefinitions={"ft-radio-group":wt,"ft-radio":et,"ft-typography":H};qt.styles=nl;Bo([(0,Uo.property)({type:Boolean})],qt.prototype,"lessThanAWeek",void 0);Bo([(0,Uo.property)({type:Boolean})],qt.prototype,"lessThanAMonth",void 0);Bo([(0,Uo.property)({type:Boolean})],qt.prototype,"lessThanAQuarter",void 0);Bo([(0,Uo.property)({type:Boolean})],qt.prototype,"lessThanAYear",void 0);Bo([(0,al.redux)({store:"search",selector:o=>o.request.periodFilter})],qt.prototype,"periodFilter",void 0);(0,sl.customElement)("ft-search-period-filter")(qt);var fi=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(a=(n<3?l(a):n>3?l(t,r,a):l(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},me=class extends Ce(ge){get hasSomethingToDisplay(){var t;return this.searchInDocumentTitlesOnly||((t=this.facets)===null||t===void 0?void 0:t.some(r=>this.getSelectedValues(r).length>0))||this.periodFilter&&this.periodFilter.periodType}constructor(){super(),this.addI18nContext(we,Er),this.addI18nContext(Nt,Ar)}render(){return this.hasSomethingToDisplay?ue.html`
|
|
1745
1745
|
<div class="ft-search-selected-facets--container">
|
|
1746
1746
|
${(0,di.repeat)(this.facets||[],t=>t.key,t=>{let r=this.getSelectedValues(t);return(0,di.repeat)(r,i=>t.key+"-"+i,i=>this.renderFacet(t.key,t.label,r,i))})}
|
|
1747
1747
|
${this.renderSearchInDocumentTitlesOnly()}
|
|
1748
1748
|
${this.renderPeriodFilter()}
|
|
1749
1749
|
</div>
|
|
1750
|
-
`:ue.nothing}renderFacet(t,r,i,n){let a=r+": "+this.getBreadcrumbFromValue(n),
|
|
1750
|
+
`:ue.nothing}renderFacet(t,r,i,n){let a=r+": "+this.getBreadcrumbFromValue(n),l=t.replace(":","-");return ue.html`
|
|
1751
1751
|
<ft-tooltip inline text="${a}"
|
|
1752
|
-
part="tooltips tooltip-${
|
|
1752
|
+
part="tooltips tooltip-${l}">
|
|
1753
1753
|
<ft-chip
|
|
1754
|
-
part="ft-search-selected-facets ft-search-selected-facet-${
|
|
1754
|
+
part="ft-search-selected-facets ft-search-selected-facet-${l}"
|
|
1755
1755
|
removable
|
|
1756
1756
|
label="${a}"
|
|
1757
1757
|
@icon-click=${()=>{var c;return(c=this.stateManager)===null||c===void 0?void 0:c.setFilter(t,i.filter(h=>h!==n))}}
|
|
@@ -1780,7 +1780,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1780
1780
|
${Nt.messages[this.periodFilter.periodType]()}
|
|
1781
1781
|
</ft-chip>
|
|
1782
1782
|
</ft-tooltip>
|
|
1783
|
-
`:ue.nothing}};me.elementDefinitions={"ft-chip":q,"ft-tooltip":U};me.styles=vi;fi([(0,yo.redux)({store:"search"})],me.prototype,"facets",void 0);fi([(0,yo.redux)({store:"search",selector:xo})],me.prototype,"searchInDocumentTitlesOnly",void 0);fi([(0,yo.redux)({store:"search",selector:o=>o.request.periodFilter})],me.prototype,"periodFilter",void 0);(0,
|
|
1783
|
+
`:ue.nothing}};me.elementDefinitions={"ft-chip":q,"ft-tooltip":U};me.styles=vi;fi([(0,yo.redux)({store:"search"})],me.prototype,"facets",void 0);fi([(0,yo.redux)({store:"search",selector:xo})],me.prototype,"searchInDocumentTitlesOnly",void 0);fi([(0,yo.redux)({store:"search",selector:o=>o.request.periodFilter})],me.prototype,"periodFilter",void 0);(0,ll.customElement)("ft-search-selected-facets")(me);})();
|
|
1784
1784
|
/*! Bundled license information:
|
|
1785
1785
|
|
|
1786
1786
|
lit-html/lit-html.js:
|