@fluid-topics/ft-search-selected-facets 1.1.37 → 1.1.38
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.
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
.ft-search-selected-facets--container > * {
|
|
9
9
|
min-width: 0;
|
|
10
10
|
}
|
|
11
|
-
`,c={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload}};var p,f,h,d,u,g,y,b,m,v,x,O,w,S,N,$,C,k;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function f(t){var e=new FileReader,o=p(e);return e.readAsArrayBuffer(t),o}function h(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;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?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t,e,o,i=c(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,o=p(e),e.readAsText(t),o;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),i=0;i<e.length;i++)o[i]=String.fromCharCode(e[i]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=a(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,e){var o,i,r=(e=e||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),u.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function y(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),i=o.shift().replace(/\+/g," "),r=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(r))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},d.call(g.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,i){return new Promise((function(r,n){var a=new g(t,i);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),i=o.shift().trim();if(i){var r=o.join(":").trim();e.append(i,r)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new b(i,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=l,t.Request=g,t.Response=b),e.Headers=l,e.Request=g,e.Response=b,e.fetch=v,Object.defineProperty(e,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(p||(p={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(f||(f={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(h||(h={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(d||(d={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(u||(u={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(g||(g={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(y||(y={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(b||(b={})),function(t){t.ASC="ASC",t.DESC="DESC"}(m||(m={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(v||(v={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(x||(x={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(O||(O={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(w||(w={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(S||(S={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(N||(N={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}($||($={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(C||(C={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(k||(k={})),C.PERSONAL_BOOK_SHARE_USER,C.PERSONAL_BOOK_USER,C.HTML_EXPORT_USER,C.PERSONAL_BOOK_USER,C.PDF_EXPORT_USER,C.PERSONAL_BOOK_USER,C.KHUB_ADMIN,C.CONTENT_PUBLISHER,C.ADMIN,C.KHUB_ADMIN,C.USERS_ADMIN,C.PORTAL_ADMIN,C.DEVELOPER,C.BETA_USER,C.DEBUG_USER;const I=o.css`
|
|
12
|
-
`,E=e.FtReduxStore.get({name:"ft-app-info",reducers:{},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}});class R{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=E.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static get(t){var e;return null!=t?R.build(t):null!==(e=R.API)&&void 0!==e?e:R.API=R.build()}static await(t){return new Promise((e=>{let o=R.get(t);if(o)e(o);else{const i=E.subscribe((()=>{o=R.get(t),o&&(i(),e(o))}))}}))}}var
|
|
11
|
+
`,c={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload}};var p,f,h,d,u,g,y,b,m,v,x,O,S,w,N,$,C,k;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function f(t){var e=new FileReader,o=p(e);return e.readAsArrayBuffer(t),o}function h(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;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?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t,e,o,i=c(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,o=p(e),e.readAsText(t),o;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),i=0;i<e.length;i++)o[i]=String.fromCharCode(e[i]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=a(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,e){var o,i,r=(e=e||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),u.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function y(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),i=o.shift().replace(/\+/g," "),r=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(r))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},d.call(g.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,i){return new Promise((function(r,n){var a=new g(t,i);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),i=o.shift().trim();if(i){var r=o.join(":").trim();e.append(i,r)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new b(i,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=l,t.Request=g,t.Response=b),e.Headers=l,e.Request=g,e.Response=b,e.fetch=v,Object.defineProperty(e,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(p||(p={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(f||(f={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(h||(h={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(d||(d={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(u||(u={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(g||(g={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(y||(y={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(b||(b={})),function(t){t.ASC="ASC",t.DESC="DESC"}(m||(m={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(v||(v={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(x||(x={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(O||(O={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(S||(S={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(w||(w={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(N||(N={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}($||($={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(C||(C={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(k||(k={})),C.PERSONAL_BOOK_SHARE_USER,C.PERSONAL_BOOK_USER,C.HTML_EXPORT_USER,C.PERSONAL_BOOK_USER,C.PDF_EXPORT_USER,C.PERSONAL_BOOK_USER,C.KHUB_ADMIN,C.CONTENT_PUBLISHER,C.ADMIN,C.KHUB_ADMIN,C.USERS_ADMIN,C.PORTAL_ADMIN,C.DEVELOPER,C.BETA_USER,C.DEBUG_USER;const I=o.css`
|
|
12
|
+
`,E=e.FtReduxStore.get({name:"ft-app-info",reducers:{},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}});class R{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=E.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static get(t){var e;return null!=t?R.build(t):null!==(e=R.API)&&void 0!==e?e:R.API=R.build()}static await(t){return new Promise((e=>{let o=R.get(t);if(o)e(o);else{const i=E.subscribe((()=>{o=R.get(t),o&&(i(),e(o))}))}}))}}class U{constructor(t=!0,o){var i;this.overrideApi=o;let r=this.constructor;r.commonCache=null!==(i=r.commonCache)&&void 0!==i?i:new e.CacheRegistry,this.cache=t?r.commonCache:new e.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:R.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:R.await()}clearCache(){this.cache.clearAll()}}var L;const W=Symbol("clearAfterUnitTest");class z extends U{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[L]=()=>{this.defaultMessages={},this.cache=new e.CacheRegistry,this.listeners={}},this.currentUiLocale=E.getState().uiLocale,E.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=E.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var i;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...o};e.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...i){var r,n,a;t=t.toLowerCase(),this.fetchContext(t);const s=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new e.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},s).resolve(o,...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(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>e.delay(0).then((()=>t())).catch((()=>null)))))}}L=W,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends z{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends z{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const D=window.FluidTopicsI18nService,A=window.FluidTopicsCustomI18nService;var K=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class B extends e.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>R.get(),this.cache=new e.CacheRegistry,this.cleanSessionDebouncer=new e.Debouncer}render(){return o.html`
|
|
13
13
|
<slot></slot>
|
|
14
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(E.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&E.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&E.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&E.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&E.actions.noCustom(this.noCustom),t.has("editorMode")&&E.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&E.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&E.actions.session(this.session),t.has("availableUiLocales")&&E.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>z.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const 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()))}}K.elementDefinitions={},K.styles=I,A([r.property()],K.prototype,"baseUrl",void 0),A([r.property()],K.prototype,"apiIntegrationIdentifier",void 0),A([r.property()],K.prototype,"uiLocale",void 0),A([e.jsonProperty(null)],K.prototype,"availableUiLocales",void 0),A([e.jsonProperty(null)],K.prototype,"metadataConfiguration",void 0),A([r.property({type:Boolean})],K.prototype,"editorMode",void 0),A([r.property({type:Boolean})],K.prototype,"noCustom",void 0),A([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],K.prototype,"noCustomComponent",void 0),A([r.property({type:Boolean})],K.prototype,"withManualResources",void 0),A([e.jsonProperty([])],K.prototype,"messageContexts",void 0),A([e.jsonProperty(void 0)],K.prototype,"session",void 0),A([r.property({type:Object})],K.prototype,"apiProvider",void 0);class B{async listMySearches(){var t;return(null===(t=E.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await R.await()).listMySearches(E.getState().session.profile.userId):[]}}const Z=new e.CacheRegistry;class F{async listMyBookmarks(){return Z.get("bookmarks",(async()=>(await R.await()).listMyBookmarks(E.getState().session.profile.userId)))}clearCache(){Z.clear("bookmarks")}}const T=e.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const H=new class{constructor(){this.currentSession=E.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new F,E.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=E.getState();e.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){T.actions.savedSearches(void 0)}clearMyBookmarks(){T.actions.bookmarks(void 0)}async reloadMySearches(){const t=new B,e=await t.listMySearches();T.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;T.actions.bookmarks(e)}}};e.customElement("ft-app-context")(K);class P{static async build(){return new P(await R.await())}constructor(t){this.api=t,this.cache=new e.CacheRegistry,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")}}const j=t=>t.request.virtualField===x.TITLE_ONLY&&t.request.scope===$.DOCUMENTS;class M extends Event{constructor(){super(M.eventName)}}M.eventName="search-context-clear-all-filters";class _{static build(t){return new _((t=>e.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:c}))(t.trim()||"context"),P.build)}constructor(t,o){this.store=t,this.serviceProvider=o,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new e.Debouncer(100),this.suggestDebouncer=new e.Debouncer(300)}async initService(){return this.service=await this.serviceProvider(),this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}async awaitService(){return e.waitFor((()=>this.service))}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let e=this.store.getState().locales,o=this.store.getState().request.contentLocale;if(t!=o){if(e){const i=t=>e.some((e=>e.lang==t));i(t)||(t=i(o)?o:e[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){const e=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(e),this.store.actions.setPageNumber(1),e.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(x.TITLE_ONLY),this.store.actions.setRequestScope($.DOCUMENTS)):(this.store.actions.setRequestVirtualField(x.EVERYWHERE),this.store.actions.setRequestScope($.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return j(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new M)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,e){let o=this.facetIds.filter((e=>e!=t));e&&o.push(e),this.facetIds=o,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let e=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(e)}setFilter(t,e){let o=this.store.getState().request.filters,i={key:t,values:e,negative:!1},r=[...o.filter((e=>e.key!==t)),i];this.setFilters(r)}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}async launchSearch(){return await this.awaitService(),this.searchDebouncer.run((()=>this.fetchSearchData()))}async launchSuggest(){await this.awaitService(),this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,o;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel();let i=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&0==i.query.length)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=e.cancelable(this.service.launchSearch(i));const t=await this.cancelableSearch;if(t.paging.currentPage<=1)this.store.actions.setResults(t.results),this.store.actions.setFacets(t.facets),this.store.actions.setSpellcheck(t.spellcheck);else{let e=(null!==(o=this.store.getState().results)&&void 0!==o?o:[]).concat(t.results);this.store.actions.setResults(e)}this.store.actions.setPaging(t.paging)}}catch(t){t instanceof e.CanceledPromiseError||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{const o=this.store.getState(),i=o.request,r={input:o.liveQuery,filters:i.filters,sort:i.sort,contentLocale:i.contentLocale,scope:i.scope};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=e.cancelable(this.service.launchSuggest(r));let n=await this.cancelableSuggest;this.store.actions.setSuggestResults(n.suggestions)}catch(t){t instanceof e.CanceledPromiseError||!this.errorHandler||this.errorHandler(t)}}clear(){this.store.clear()}}var G=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class V extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const q=Symbol("registerInterval");class Y extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[q]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[q]):this.dispatchEvent(new V)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=q,G([r.state()],o.prototype,"stateManager",void 0),o}(e.FtLitElementRedux)){}const Q=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorContent),X={color:Q,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color","",Q),opacityContentOnSurfacePressed:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:e.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},J=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorPrimary),tt=J,et=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",J),ot=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorSecondary),it=ot,rt=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",ot),nt=o.css`
|
|
14
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(E.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&E.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&E.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&E.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&E.actions.noCustom(this.noCustom),t.has("editorMode")&&E.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&E.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&E.actions.session(this.session),t.has("availableUiLocales")&&E.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>D.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const 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()))}}B.elementDefinitions={},B.styles=I,K([r.property()],B.prototype,"baseUrl",void 0),K([r.property()],B.prototype,"apiIntegrationIdentifier",void 0),K([r.property()],B.prototype,"uiLocale",void 0),K([e.jsonProperty(null)],B.prototype,"availableUiLocales",void 0),K([e.jsonProperty(null)],B.prototype,"metadataConfiguration",void 0),K([r.property({type:Boolean})],B.prototype,"editorMode",void 0),K([r.property({type:Boolean})],B.prototype,"noCustom",void 0),K([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],B.prototype,"noCustomComponent",void 0),K([r.property({type:Boolean})],B.prototype,"withManualResources",void 0),K([e.jsonProperty([])],B.prototype,"messageContexts",void 0),K([e.jsonProperty(void 0)],B.prototype,"session",void 0),K([r.property({type:Object})],B.prototype,"apiProvider",void 0);class Z extends U{async listMySearches(){let t=E.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class F extends U{async listMyBookmarks(){let t=E.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const T=e.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const H=new class{constructor(){this.currentSession=E.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new F,this.savedSearchesService=new Z,E.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=E.getState();e.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),T.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),T.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();T.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){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;T.actions.bookmarks(e)}}};e.customElement("ft-app-context")(B);class P extends U{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")}}const j=t=>t.request.virtualField===x.TITLE_ONLY&&t.request.scope===$.DOCUMENTS;class M extends Event{constructor(){super(M.eventName)}}M.eventName="search-context-clear-all-filters";class _{static build(t,o){return new _((t=>e.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:c}))(t.trim()||"context"),o)}constructor(t,o){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new e.Debouncer(100),this.suggestDebouncer=new e.Debouncer(300),this.service=null!=o?o:new P}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 e=this.store.getState().locales,o=this.store.getState().request.contentLocale;if(t!=o){if(e){const i=t=>e.some((e=>e.lang==t));i(t)||(t=i(o)?o:e[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){const e=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(e),this.store.actions.setPageNumber(1),e.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(x.TITLE_ONLY),this.store.actions.setRequestScope($.DOCUMENTS)):(this.store.actions.setRequestVirtualField(x.EVERYWHERE),this.store.actions.setRequestScope($.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return j(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new M)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,e){let o=this.facetIds.filter((e=>e!=t));e&&o.push(e),this.facetIds=o,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let e=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(e)}setFilter(t,e){let o=this.store.getState().request.filters,i={key:t,values:e,negative:!1},r=[...o.filter((e=>e.key!==t)),i];this.setFilters(r)}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}launchSearch(){return this.searchDebouncer.run((()=>this.fetchSearchData()))}launchSuggest(){return this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,o;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel();let i=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&0==i.query.length)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=e.cancelable(this.service.launchSearch(i));const t=await this.cancelableSearch;if(t.paging.currentPage<=1)this.store.actions.setResults(t.results),this.store.actions.setFacets(t.facets),this.store.actions.setSpellcheck(t.spellcheck);else{let e=(null!==(o=this.store.getState().results)&&void 0!==o?o:[]).concat(t.results);this.store.actions.setResults(e)}this.store.actions.setPaging(t.paging)}}catch(t){t instanceof e.CanceledPromiseError||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{const o=this.store.getState(),i=o.request,r={input:o.liveQuery,filters:i.filters,sort:i.sort,contentLocale:i.contentLocale,scope:i.scope};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=e.cancelable(this.service.launchSuggest(r));let n=await this.cancelableSuggest;this.store.actions.setSuggestResults(n.suggestions)}catch(t){t instanceof e.CanceledPromiseError||!this.errorHandler||this.errorHandler(t)}}clear(){this.store.clear()}}var G=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class V extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const q=Symbol("registerInterval");class Y extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[q]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[q]):this.dispatchEvent(new V)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=q,G([r.state()],o.prototype,"stateManager",void 0),o}(e.FtLitElementRedux)){}const Q=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorContent),X={color:Q,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color","",Q),opacityContentOnSurfacePressed:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:e.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},J=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorPrimary),tt=J,et=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",J),ot=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorSecondary),it=ot,rt=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",ot),nt=o.css`
|
|
15
15
|
:host {
|
|
16
16
|
display: contents;
|
|
17
17
|
}
|
|
@@ -140,13 +140,13 @@
|
|
|
140
140
|
* Copyright 2017 Google LLC
|
|
141
141
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
142
142
|
*/
|
|
143
|
-
const lt=globalThis,ct=lt.trustedTypes,pt=ct?ct.createPolicy("lit-html",{createHTML:t=>t}):void 0,ft="$lit$",ht=`lit$${(Math.random()+"").slice(9)}$`,dt="?"+ht,ut=`<${dt}>`,gt=document,yt=()=>gt.createComment(""),bt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,mt=Array.isArray,vt="[ \t\n\f\r]",xt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ot=/-->/g,
|
|
143
|
+
const lt=globalThis,ct=lt.trustedTypes,pt=ct?ct.createPolicy("lit-html",{createHTML:t=>t}):void 0,ft="$lit$",ht=`lit$${(Math.random()+"").slice(9)}$`,dt="?"+ht,ut=`<${dt}>`,gt=document,yt=()=>gt.createComment(""),bt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,mt=Array.isArray,vt="[ \t\n\f\r]",xt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ot=/-->/g,St=/>/g,wt=RegExp(`>|${vt}(?:([^\\s"'>=/]+)(${vt}*=${vt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Nt=/'/g,$t=/"/g,Ct=/^(?:script|style|textarea|title)$/i,kt=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),It=Symbol.for("lit-noChange"),Et=Symbol.for("lit-nothing"),Rt=new WeakMap,Ut=gt.createTreeWalker(gt,129);function Lt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==pt?pt.createHTML(e):e}const Wt=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=xt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,l=a.exec(o),null!==l);)p=a.lastIndex,a===xt?"!--"===l[1]?a=Ot:void 0!==l[1]?a=St:void 0!==l[2]?(Ct.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=wt):void 0!==l[3]&&(a=wt):a===wt?">"===l[0]?(a=r??xt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?wt:'"'===l[3]?$t:Nt):a===$t||a===Nt?a=wt:a===Ot||a===St?a=xt:(a=wt,r=void 0);const f=a===wt&&t[e+1].startsWith("/>")?" ":"";n+=a===xt?o+ut:c>=0?(i.push(s),o.slice(0,c)+ft+o.slice(c)+ht+f):o+ht+(-2===c?e:f)}return[Lt(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class zt{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=Wt(t,e);if(this.el=zt.createElement(l,o),Ut.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=Ut.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(ft)){const e=c[n++],o=i.getAttribute(t).split(ht),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?Zt:"?"===a[1]?Ft:"@"===a[1]?Tt:Bt}),i.removeAttribute(t)}else t.startsWith(ht)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(Ct.test(i.tagName)){const t=i.textContent.split(ht),e=t.length-1;if(e>0){i.textContent=ct?ct.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],yt()),Ut.nextNode(),s.push({type:2,index:++r});i.append(t[e],yt())}}}else if(8===i.nodeType)if(i.data===dt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(ht,t+1));)s.push({type:7,index:r}),t+=ht.length-1}r++}}static createElement(t,e){const o=gt.createElement("template");return o.innerHTML=t,o}}function Dt(t,e,o=t,i){if(e===It)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=bt(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=Dt(t,r._$AS(t,e.values),r,i)),e}class At{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??gt).importNode(e,!0);Ut.currentNode=i;let r=Ut.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new Kt(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new Ht(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=Ut.nextNode(),n++)}return Ut.currentNode=gt,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}class Kt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=Et,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Dt(this,t,e),bt(t)?t===Et||null==t||""===t?(this._$AH!==Et&&this._$AR(),this._$AH=Et):t!==this._$AH&&t!==It&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>mt(t)||"function"==typeof t?.[Symbol.iterator])(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!==Et&&bt(this._$AH)?this._$AA.nextSibling.data=t:this.$(gt.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=zt.createElement(Lt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new At(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=Rt.get(t.strings);return void 0===e&&Rt.set(t.strings,e=new zt(t)),e}T(t){mt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new Kt(this.k(yt()),this.k(yt()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Bt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=Et,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=Et}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=Dt(this,t,e,0),n=!bt(t)||t!==this._$AH&&t!==It,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=Dt(this,i[o+a],e,a),s===It&&(s=this._$AH[a]),n||=!bt(s)||s!==this._$AH[a],s===Et?t=Et:t!==Et&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===Et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Zt extends Bt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Et?void 0:t}}class Ft extends Bt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Et)}}class Tt extends Bt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=Dt(this,t,e,0)??Et)===It)return;const o=this._$AH,i=t===Et&&o!==Et||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==Et&&(o===Et||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Ht{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){Dt(this,t)}}const Pt=lt.litHtmlPolyfillSupport;Pt?.(zt,Kt),(lt.litHtmlVersions??=[]).push("3.1.0");
|
|
144
144
|
/**
|
|
145
145
|
* @license
|
|
146
146
|
* Copyright 2020 Google LLC
|
|
147
147
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
148
148
|
*/
|
|
149
|
-
const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$litStatic$:t,r:jt}),Gt=new Map,Vt=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=Mt(n));)l+=r+e[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),p){const t=a.join("$$lit$$");void 0===(e=Gt.get(t))&&(a.raw=a,Gt.set(t,e=a)),o=s}return t(e,...o)})(kt);var qt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(qt||(qt={}));const Yt=t=>"string"==typeof t?o.unsafeCSS(t):t;class Qt{static create(t,e,i,r){const n=t=>Yt(null!=t?t:r),a=o.css`var(${Yt(t)}, ${n(r)})`;return a.name=t,a.description=e,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=e=>o.css`var(${Yt(t)}, ${n(e)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,e,i,r){const n=t=>i.get(null!=t?t:r),a=o.css`var(${Yt(t)}, ${n(r)})`;return a.name=t,a.description=e,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=e=>o.css`var(${Yt(t)}, ${n(e)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,e){const i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Yt(null!=e?e:t.lastResortDefaultValue()),r=o.css`var(${Yt(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=i,r.get=e=>o.css`var(${Yt(t.name)}, ${i(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Xt={colorWhite:Qt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Qt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Qt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Qt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Qt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Qt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Qt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Qt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Qt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Qt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Qt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Qt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Qt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Qt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Qt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Qt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Qt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Qt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Qt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Qt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Qt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Qt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Qt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Qt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Qt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Qt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Qt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Qt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Qt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Qt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Qt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Qt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Qt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Qt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Qt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Qt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Qt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Qt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Qt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Qt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Qt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Qt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Qt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Qt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Qt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Qt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Qt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Qt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Qt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Qt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Qt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Qt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Qt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Qt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Qt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Qt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Qt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Qt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Qt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Qt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Qt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Qt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Qt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Qt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Qt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Qt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Qt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Qt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Qt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Qt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Qt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Qt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Qt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Qt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Qt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Qt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Qt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Qt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Qt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Qt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Qt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Qt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Qt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Qt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Qt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Qt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Qt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Qt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Qt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Qt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Qt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Qt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Qt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Qt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Qt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Qt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Qt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Qt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Qt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Qt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Qt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Qt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Qt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Qt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Qt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Qt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Qt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Qt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Qt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Qt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Qt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Qt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Qt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Qt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Qt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Qt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Qt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Qt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Qt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Qt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Qt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Qt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Qt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Qt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Qt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Qt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Qt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Qt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Qt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Qt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Qt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Qt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Qt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Qt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Qt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Qt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Qt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Qt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Qt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Qt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Qt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Qt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Qt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Qt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Qt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Qt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Qt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Qt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Qt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Qt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Qt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Qt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Qt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Qt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Qt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Qt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Qt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Qt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Qt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Qt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Qt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Qt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Qt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Qt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Qt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Qt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Qt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Qt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Qt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Qt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Qt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Qt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Qt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Qt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Qt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Qt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Qt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Qt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Qt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Qt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Qt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Qt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Qt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Qt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Qt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Qt.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Qt.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:Qt.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:Qt.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:Qt.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:Qt.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:Qt.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:Qt.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:Qt.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:Qt.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)")},Jt={display:{fontFamily:Qt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Qt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Qt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Qt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Qt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Qt.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Qt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Qt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Qt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Qt.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Qt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Qt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Qt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Qt.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Qt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Qt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Qt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Qt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Qt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Qt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Qt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Qt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Qt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Qt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Qt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Qt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Qt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Qt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Qt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Qt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Qt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Qt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Qt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Qt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Qt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Qt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Qt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Qt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Qt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Qt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Qt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Qt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Qt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Qt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Qt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Qt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Qt.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Qt.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Qt.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Qt.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Qt.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Qt.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Qt.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},te={backgroundActionPrimary:Qt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Xt.colorBrand0),backgroundErrorPrimary:Qt.extend("--ft-background-error-primary","Used as background of error components.",Xt.colorRed0),backgroundErrorSubtle:Qt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Xt.colorRed10),backgroundInfoPrimary:Qt.extend("--ft-background-info-primary","Used as background of information components.",Xt.colorCyan200),backgroundInfoSubtle:Qt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Xt.colorCyan10),backgroundWarningPrimary:Qt.extend("--ft-background-warning-primary","Used as background of warning components.",Xt.colorOrange300),backgroundWarningSubtle:Qt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Xt.colorOrange10),backgroundSuccessPrimary:Qt.extend("--ft-background-success-primary","Used as background of success components.",Xt.colorGreen200),backgroundSuccessSubtle:Qt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Xt.colorGreen10),backgroundGlobalSurface:Qt.extend("--ft-background-global-surface","Used as app background.",Xt.colorWhite),backgroundGlobalOnSurface:Qt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Xt.colorGray10),backgroundGlobalOnSurfaceDark:Qt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Xt.colorGray30),contentActionPrimary:Qt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Xt.colorBrand0),contentWarningPrimary:Qt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Xt.colorOrange300),contentWarningIconOnly:Qt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Xt.colorOrange0),contentErrorPrimary:Qt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Xt.colorRed0),contentErrorIconOnly:Qt.extend("--ft-content-error-icon-only","Used on error status icons alone",Xt.colorRed0),contentInfoPrimary:Qt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Xt.colorCyan200),contentInfoIconOnly:Qt.extend("--ft-content-info-icon-only","Used on info status icons alone",Xt.colorCyan0),contentSuccessPrimary:Qt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Xt.colorGreen200),contentSuccessIconOnly:Qt.extend("--ft-content-success-icon-only","Used on success status icons alone",Xt.colorGreen0),contentGlobalPrimary:Qt.extend("--ft-content-global-primary","Used for main content on the page.",Xt.colorGray500),contentGlobalSecondary:Qt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Xt.colorGray200),contentGlobalSubtle:Qt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Xt.colorGray0),contentGlobalOnColor:Qt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Xt.colorWhite),borderActionPrimary:Qt.extend("--ft-border-action-primary","Used as border for primary action components.",Xt.colorBrand0),borderActionFocusRing:Qt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Xt.colorCyan0),borderWarningPrimary:Qt.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Xt.colorOrange300),borderWarningSubtle:Qt.extend("--ft-border-warning-subtle","Used as border for warning components.",Xt.colorOrange30),borderSuccessPrimary:Qt.extend("--ft-border-success-primary","Used as border for success buttons.",Xt.colorGreen200),borderSuccessSubtle:Qt.extend("--ft-border-success-subtle","Used as border for success components.",Xt.colorGreen30),borderErrorPrimary:Qt.extend("--ft-border-error-primary","Used as border for text fields in error states.",Xt.colorRed0),borderErrorSubtle:Qt.extend("--ft-border-error-subtle","Used as border for error components.",Xt.colorRed30),borderInfoPrimary:Qt.extend("--ft-border-info-primary","Used as border for buttons in info color.",Xt.colorCyan200),borderInfoSubtle:Qt.extend("--ft-border-info-subtle","Used as border for information components.",Xt.colorCyan30),borderGlobalPrimary:Qt.extend("--ft-border-global-primary","Used as border for element like input.",Xt.colorGray50),borderGlobalSubtle:Qt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Xt.colorGray30),borderInputPrimary:Qt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Xt.colorGray80)},ee={largeHeight:Qt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Qt.extend("--ft-button-large-horizontal-padding","",Xt.spacing4),largeGap:Qt.extend("--ft-button-large-gap","",Xt.spacing2),largeBorderRadius:Qt.extend("--ft-button-large-border-radius","",Xt.borderRadiusS),largeIconSize:Qt.extend("--ft-button-large-icon-size","",Xt.iconSize3),largeBorderWidth:Qt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Qt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Qt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Qt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Qt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Qt.extend("--ft-button-small-horizontal-padding","",Xt.spacing3),smallGap:Qt.extend("--ft-button-small-gap","",Xt.spacing2),smallBorderRadius:Qt.extend("--ft-button-small-border-radius","",Xt.borderRadiusS),smallIconSize:Qt.extend("--ft-button-small-icon-size","",Xt.iconSize2),smallBorderWidth:Qt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Qt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Qt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Qt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Qt.extend("--ft-button-primary-background-color","",te.backgroundActionPrimary),primaryColor:Qt.extend("--ft-button-primary-color","",te.contentGlobalOnColor),primaryIconColor:Qt.extend("--ft-button-primary-icon-color","",te.contentGlobalOnColor),primaryStateLayerColor:Qt.extend("--ft-button-primary-state-layer-color","",te.contentGlobalOnColor),primaryStateLayerOpacityHover:Qt.extend("--ft-button-primary-state-layer-opacity-hover","",Xt.opacity16),primaryStateLayerOpacityFocus:Qt.extend("--ft-button-primary-state-layer-opacity-focus","",Xt.opacity16),primaryStateLayerOpacityActive:Qt.extend("--ft-button-primary-state-layer-opacity-active","",Xt.opacity24),primaryComponentOpacityDisabled:Qt.extend("--ft-button-primary-component-opacity-disabled","",Xt.opacity40),focusFocusRingColor:Qt.extend("--ft-button-focus-focus-ring-color","",te.borderActionFocusRing),tertiaryBackgroundColor:Qt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Qt.extend("--ft-button-tertiary-color","",te.contentActionPrimary),tertiaryIconColor:Qt.extend("--ft-button-tertiary-icon-color","",te.contentActionPrimary),tertiaryStateLayerColor:Qt.extend("--ft-button-tertiary-state-layer-color","",te.contentActionPrimary),tertiaryStateLayerOpacityHover:Qt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Xt.opacity8),tertiaryStateLayerOpacityFocus:Qt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Xt.opacity8),tertiaryStateLayerOpacityActive:Qt.extend("--ft-button-tertiary-state-layer-opacity-active","",Xt.opacity16),tertiaryComponentOpacityDisabled:Qt.extend("--ft-button-tertiary-component-opacity-disabled","",Xt.opacity40),secondaryBackgroundColor:Qt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Qt.extend("--ft-button-secondary-color","",te.contentActionPrimary),secondaryIconColor:Qt.extend("--ft-button-secondary-icon-color","",te.contentActionPrimary),secondaryStateLayerColor:Qt.extend("--ft-button-secondary-state-layer-color","",te.contentActionPrimary),secondaryStateLayerOpacityHover:Qt.extend("--ft-button-secondary-state-layer-opacity-hover","",Xt.opacity8),secondaryStateLayerOpacityFocus:Qt.extend("--ft-button-secondary-state-layer-opacity-focus","",Xt.opacity8),secondaryStateLayerOpacityActive:Qt.extend("--ft-button-secondary-state-layer-opacity-active","",Xt.opacity16),secondaryComponentOpacityDisabled:Qt.extend("--ft-button-secondary-component-opacity-disabled","",Xt.opacity40),secondaryBorderColor:Qt.extend("--ft-button-secondary-border-color","",te.borderActionPrimary),neutralBackgroundColor:Qt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Qt.extend("--ft-button-neutral-icon-color","",te.contentGlobalSecondary),neutralColor:Qt.extend("--ft-button-neutral-color","",te.contentGlobalSecondary),neutralStateLayerColor:Qt.extend("--ft-button-neutral-state-layer-color","",te.contentGlobalSecondary),neutralStateLayerOpacityHover:Qt.extend("--ft-button-neutral-state-layer-opacity-hover","",Xt.opacity8),neutralStateLayerOpacityFocus:Qt.extend("--ft-button-neutral-state-layer-opacity-focus","",Xt.opacity8),neutralStateLayerOpacityActive:Qt.extend("--ft-button-neutral-state-layer-opacity-active","",Xt.opacity16),neutralComponentOpacityDisabled:Qt.extend("--ft-button-neutral-component-opacity-disabled","",Xt.opacity40)};Qt.extend("--ft-floating-menu-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-floating-menu-vertical-padding","",Xt.spacing4),Qt.extend("--ft-floating-menu-off-icon-color","",te.contentGlobalPrimary),Qt.extend("--ft-floating-menu-off-color","",te.contentGlobalPrimary),Qt.extend("--ft-floating-menu-on-color","",te.contentActionPrimary),Qt.extend("--ft-floating-menu-on-icon-color","",te.contentActionPrimary),Qt.extend("--ft-floating-menu-on-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-floating-menu-gap","",Xt.spacing3),Qt.extend("--ft-floating-menu-focus-focus-ring-color","",te.borderActionFocusRing),Qt.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Qt.extend("--ft-floating-menu-state-layer-opacity-hover","",Xt.opacity8),Qt.extend("--ft-floating-menu-state-layer-opacity-active","",Xt.opacity16),Qt.extend("--ft-floating-menu-state-layer-opacity-focus","",Xt.opacity8),Qt.extend("--ft-floating-menu-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-floating-menu-icon-size","",Xt.iconSize3),Qt.extend("--ft-floating-menu-background-color","",te.backgroundGlobalOnSurface),Qt.extend("--ft-tabs-top-left-border-radius","",Xt.borderRadiusS),Qt.extend("--ft-tabs-top-right-border-radius","",Xt.borderRadiusS),Qt.extend("--ft-tabs-label-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-tabs-label-vertical-padding","",Xt.spacing3),Qt.extend("--ft-tabs-label-gap","",Xt.spacing1),Qt.extend("--ft-tabs-icon-horizontal-padding","",Xt.spacing1),Qt.extend("--ft-tabs-icon-vertical-padding","",Xt.spacing4),Qt.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-tabs-focus-focus-ring-color","",te.borderActionFocusRing),Qt.extend("--ft-tabs-off-state-layer-opacity-hover","",Xt.opacity8),Qt.extend("--ft-tabs-off-state-layer-opacity-focus","",Xt.opacity8),Qt.extend("--ft-tabs-off-state-layer-opacity-active","",Xt.opacity16),Qt.extend("--ft-tabs-off-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-tabs-off-color","",te.contentGlobalSubtle),Qt.extend("--ft-tabs-off-state-layer-color","",te.contentGlobalSubtle),Qt.extend("--ft-tabs-on-state-layer-opacity-hover","",Xt.opacity8),Qt.extend("--ft-tabs-on-state-layer-opacity-focus","",Xt.opacity8),Qt.extend("--ft-tabs-on-state-layer-opacity-active","",Xt.opacity16),Qt.extend("--ft-tabs-on-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-tabs-on-color","",te.contentActionPrimary),Qt.extend("--ft-tabs-on-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-collapsible-state-layer-opacity-hover","",Xt.opacity8),Qt.extend("--ft-collapsible-state-layer-opacity-focus","",Xt.opacity8),Qt.extend("--ft-collapsible-state-layer-opacity-active","",Xt.opacity16),Qt.extend("--ft-collapsible-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-collapsible-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-collapsible-vertical-padding","",Xt.spacing3),Qt.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Qt.extend("--ft-collapsible-focus-focus-ring-color","",te.borderActionFocusRing),Qt.extend("--ft-collapsible-color","",te.contentGlobalPrimary),Qt.extend("--ft-collapsible-state-layer-color","",te.contentGlobalPrimary),Qt.extend("--ft-collapsible-background-color","",te.backgroundGlobalOnSurface),Qt.extend("--ft-collapsible-border-color","",te.borderGlobalSubtle),Qt.extend("--ft-collapsible-icon-size","",Xt.iconSize3),Qt.extend("--ft-switch-group-horizontal-padding","",Xt.spacing1),Qt.extend("--ft-switch-group-vertical-padding","",Xt.spacing1),Qt.extend("--ft-switch-group-gap","",Xt.spacing1),Qt.extend("--ft-switch-group-background-color","",te.backgroundGlobalSurface),Qt.extend("--ft-switch-group-border-color","",te.borderGlobalSubtle),Qt.create("--ft-switch-group-border-radius","","SIZE","6px"),Qt.extend("--ft-switch-label-horizontal-padding","",Xt.spacing2),Qt.extend("--ft-switch-label-vertical-padding","",Xt.spacing1),Qt.extend("--ft-switch-icon-horizontal-padding","",Xt.spacing1),Qt.extend("--ft-switch-icon-vertical-padding","",Xt.spacing1),Qt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-switch-focus-focus-ring-color","",te.borderActionFocusRing),Qt.extend("--ft-switch-option-border-radius","",Xt.borderRadiusS),Qt.extend("--ft-switch-off-state-layer-opacity-hover","",Xt.opacity8),Qt.extend("--ft-switch-off-state-layer-opacity-focus","",Xt.opacity8),Qt.extend("--ft-switch-off-state-layer-opacity-active","",Xt.opacity16),Qt.extend("--ft-switch-off-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-switch-off-color","",te.contentGlobalSubtle),Qt.extend("--ft-switch-off-state-layer-color","",te.contentGlobalSubtle),Qt.extend("--ft-switch-on-state-layer-opacity-hover","",Xt.opacity8),Qt.extend("--ft-switch-on-state-layer-opacity-focus","",Xt.opacity8),Qt.extend("--ft-switch-on-state-layer-opacity-active","",Xt.opacity16),Qt.extend("--ft-switch-on-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-switch-on-color","",te.contentActionPrimary),Qt.extend("--ft-switch-on-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-chart-1-light","for area color charts",Xt.colorBrand40),Qt.extend("--ft-chart-1-base","for line charts",Xt.colorBrand0),Qt.extend("--ft-chart-2-light","for area color charts",Xt.colorYellow60),Qt.extend("--ft-chart-2-base","for line charts",Xt.colorYellow100),Qt.extend("--ft-chart-3-light","",Xt.colorUltramarine40),Qt.extend("--ft-chart-3-base","",Xt.colorUltramarine70),Qt.extend("--ft-chart-4-light","",Xt.colorCyan50),Qt.extend("--ft-chart-4-base","",Xt.colorCyan100),Qt.extend("--ft-chart-5-light","",Xt.colorRed40),Qt.extend("--ft-chart-5-base","",Xt.colorRed60),Qt.extend("--ft-chart-6-light","",Xt.colorGreen40),Qt.extend("--ft-chart-6-base","",Xt.colorGreen70),Qt.extend("--ft-chart-7-light","",Xt.colorOrange70),Qt.extend("--ft-chart-7-base","",Xt.colorOrange100),Qt.extend("--ft-chart-8-light","",Xt.colorAvocado70),Qt.extend("--ft-chart-8-base","",Xt.colorAvocado200),Qt.extend("--ft-chart-9-light","",Xt.colorBrown50),Qt.extend("--ft-chart-9-base","",Xt.colorBrown200),Qt.extend("--ft-chart-10-light","",Xt.colorGray50),Qt.extend("--ft-chart-10-base","",Xt.colorGray80),Qt.extend("--ft-chart-monochrome-10","",Xt.colorBrand10),Qt.extend("--ft-chart-monochrome-20","",Xt.colorBrand20),Qt.extend("--ft-chart-monochrome-30","",Xt.colorBrand40),Qt.extend("--ft-chart-monochrome-40","",Xt.colorBrand60),Qt.extend("--ft-chart-monochrome-50","",Xt.colorBrand0),Qt.extend("--ft-chart-monochrome-60","",Xt.colorBrand200),Qt.extend("--ft-chip-large-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-chip-large-vertical-padding","",Xt.spacing2),Qt.extend("--ft-chip-large-gap","",Xt.spacing1),Qt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Qt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-chip-large-border-radius","",Xt.borderRadiusPill),Qt.create("--ft-chip-large-border-width","","SIZE","1px"),Qt.extend("--ft-chip-large-icon-size","",Xt.iconSize3),Qt.extend("--ft-chip-medium-horizontal-padding","",Xt.spacing3),Qt.extend("--ft-chip-medium-vertical-padding","",Xt.spacing1),Qt.extend("--ft-chip-medium-gap","",Xt.spacing1),Qt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Qt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-chip-medium-border-radius","",Xt.borderRadiusPill),Qt.create("--ft-chip-medium-border-width","","SIZE","1px"),Qt.extend("--ft-chip-medium-icon-size","",Xt.iconSize2),Qt.extend("--ft-chip-small-horizontal-padding","",Xt.spacing2),Qt.extend("--ft-chip-small-vertical-padding","",Xt.spacing05),Qt.extend("--ft-chip-small-gap","",Xt.spacing1),Qt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Qt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-chip-small-border-radius","",Xt.borderRadiusPill),Qt.create("--ft-chip-small-border-width","","SIZE","1px"),Qt.extend("--ft-chip-small-icon-size","",Xt.iconSize1),Qt.extend("--ft-chip-neutral-background-color","",te.backgroundGlobalOnSurface),Qt.extend("--ft-chip-neutral-color","",te.contentGlobalPrimary),Qt.extend("--ft-chip-neutral-border-color","",te.borderGlobalSubtle),Qt.extend("--ft-chip-info-background-color","",te.backgroundInfoSubtle),Qt.extend("--ft-chip-info-color","",te.contentInfoPrimary),Qt.extend("--ft-chip-info-border-color","",te.borderInfoSubtle),Qt.extend("--ft-chip-success-background-color","",te.backgroundSuccessSubtle),Qt.extend("--ft-chip-success-color","",te.contentSuccessPrimary),Qt.extend("--ft-chip-success-border-color","",te.borderSuccessSubtle),Qt.extend("--ft-chip-warning-background-color","",te.backgroundWarningSubtle),Qt.extend("--ft-chip-warning-color","",te.contentWarningPrimary),Qt.extend("--ft-chip-warning-border-color","",te.borderWarningSubtle),Qt.extend("--ft-chip-error-background-color","",te.backgroundErrorSubtle),Qt.extend("--ft-chip-error-color","",te.contentErrorPrimary),Qt.extend("--ft-chip-error-border-color","",te.borderErrorSubtle),Qt.create("--ft-notice-border-width","","SIZE","1px"),Qt.extend("--ft-notice-horizontal-padding","",Xt.spacing2),Qt.extend("--ft-notice-vertical-padding","",Xt.spacing1),Qt.extend("--ft-notice-border-radius","",Xt.borderRadiusS),Qt.extend("--ft-notice-gap","",Xt.spacing2),Qt.extend("--ft-notice-icon-size","",Xt.iconSize3),Qt.extend("--ft-notice-info-background-color","",te.backgroundInfoSubtle),Qt.extend("--ft-notice-info-border-color","",te.borderInfoSubtle),Qt.extend("--ft-notice-info-color","",te.contentInfoPrimary),Qt.extend("--ft-notice-warning-background-color","",te.backgroundWarningSubtle),Qt.extend("--ft-notice-warning-border-color","",te.borderWarningSubtle),Qt.extend("--ft-notice-warning-color","",te.contentWarningPrimary),Qt.extend("--ft-checkbox-label-color","",te.contentGlobalPrimary),Qt.extend("--ft-checkbox-checked-background-color","",te.contentActionPrimary),Qt.extend("--ft-checkbox-checked-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-checkbox-checked-color","",te.contentGlobalOnColor),Qt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-checkbox-checked-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-checkbox-unchecked-border-color","",Xt.colorGray80),Qt.extend("--ft-checkbox-unchecked-state-layer-color","",Xt.colorGray80),Qt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-checkbox-focus-focus-ring-color","",te.borderActionFocusRing),Qt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Qt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-checkbox-gap","",Xt.spacing3),Qt.extend("--ft-toggle-off-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-toggle-off-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-toggle-off-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-toggle-off-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-toggle-off-background-color","",te.contentGlobalSubtle),Qt.extend("--ft-toggle-off-icon-color","",te.contentGlobalSubtle),Qt.extend("--ft-toggle-off-state-layer-color","",te.contentGlobalSubtle),Qt.extend("--ft-toggle-on-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-toggle-on-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-toggle-on-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-toggle-on-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-toggle-on-background-color","",te.contentActionPrimary),Qt.extend("--ft-toggle-on-icon-color","",te.contentActionPrimary),Qt.extend("--ft-toggle-on-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-toggle-label-color","",te.contentGlobalPrimary),Qt.extend("--ft-toggle-focus-focus-ring-color","",te.borderActionFocusRing),Qt.extend("--ft-toggle-gap","",Xt.spacing3),Qt.extend("--ft-radio-label-color","",te.contentGlobalPrimary),Qt.extend("--ft-radio-selected-color","",te.contentActionPrimary),Qt.extend("--ft-radio-selected-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-radio-selected-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-radio-selected-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-radio-selected-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-radio-selected-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-radio-unselected-state-layer-color","",Xt.colorGray80),Qt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-radio-unselected-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-radio-unselected-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-radio-focus-focus-ring-color","",te.borderActionFocusRing),Qt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Qt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-radio-gap","",Xt.spacing3),Qt.extend("--ft-notification-icon-size","",Xt.iconSize4),Qt.extend("--ft-notification-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-notification-vertical-padding","",Xt.spacing4),Qt.extend("--ft-notification-info-background-color","",te.backgroundInfoSubtle),Qt.extend("--ft-notification-info-color","",te.contentInfoPrimary),Qt.extend("--ft-notification-info-border-color","",te.borderInfoSubtle),Qt.extend("--ft-notification-success-background-color","",te.backgroundSuccessSubtle),Qt.extend("--ft-notification-success-color","",te.contentSuccessPrimary),Qt.extend("--ft-notification-success-border-color","",te.borderSuccessSubtle),Qt.extend("--ft-notification-warning-background-color","",te.backgroundWarningSubtle),Qt.extend("--ft-notification-warning-color","",te.contentWarningPrimary),Qt.extend("--ft-notification-warning-border-color","",te.borderWarningSubtle),Qt.extend("--ft-notification-error-background-color","",te.backgroundErrorSubtle),Qt.extend("--ft-notification-error-color","",te.contentErrorPrimary),Qt.extend("--ft-notification-error-border-color","",te.borderErrorSubtle),Qt.extend("--ft-notification-border-radius","",Xt.borderRadiusPill),Qt.create("--ft-notification-border-width","","SIZE","1px"),Qt.extend("--ft-notification-gap-leading","",Xt.spacing2),Qt.extend("--ft-notification-gap-trailing","",Xt.spacing8),Qt.extend("--ft-tooltip-horizontal-padding","",Xt.spacing2),Qt.extend("--ft-tooltip-vertical-padding","",Xt.spacing2),Qt.extend("--ft-tooltip-border-radius","",Xt.borderRadiusS),Qt.extend("--ft-tooltip-label","",te.contentGlobalOnColor),Qt.extend("--ft-tooltip-background","",te.contentGlobalPrimary),Qt.extend("--ft-tooltip-background-opacity","",Xt.opacity80),Qt.extend("--ft-tooltip-shadow","",Xt.shadowElevation03);const oe=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.titleFont),ie=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.contentFont),re={fontFamily:ie,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ne=e.FtCssVariableFactory.extend("--ft-typography-title-font-family","",oe),ae=e.FtCssVariableFactory.extend("--ft-typography-title-font-size","",re.fontSize,"20px"),se=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",re.fontWeight,"normal"),le=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",re.letterSpacing,"0.15px"),ce=e.FtCssVariableFactory.extend("--ft-typography-title-line-height","",re.lineHeight,"1.2"),pe=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",re.textTransform,"inherit"),fe=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",oe),he=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",re.fontSize,"14px"),de=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",re.fontWeight,"normal"),ue=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",re.letterSpacing,"0.105px"),ge=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",re.lineHeight,"1.7"),ye=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",re.textTransform,"inherit"),be=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ie),me=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",re.fontSize,"16px"),ve=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",re.fontWeight,"600"),xe=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",re.letterSpacing,"0.144px"),Oe=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",re.lineHeight,"1.5"),we=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",re.textTransform,"inherit"),Se=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ie),Ne=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",re.fontSize,"14px"),$e=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",re.fontWeight,"normal"),Ce=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",re.letterSpacing,"0.098px"),ke=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",re.lineHeight,"1.7"),Ie=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",re.textTransform,"inherit"),Ee=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ie),Re=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",re.fontSize,"16px"),Ue=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",re.fontWeight,"normal"),Le=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",re.letterSpacing,"0.496px"),We=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",re.lineHeight,"1.5"),ze=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",re.textTransform,"inherit"),De={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ie),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",re.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",re.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",re.letterSpacing,"0.252px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",re.lineHeight,"1.4"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",re.textTransform,"inherit")},Ae=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ie),Ke=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",re.fontSize,"12px"),Be=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",re.fontWeight,"normal"),Ze=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",re.letterSpacing,"0.396px"),Fe=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",re.lineHeight,"1.33"),Te=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",re.textTransform,"inherit"),He=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ie),Pe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",re.fontSize,"10px"),je=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",re.fontWeight,"normal"),Me=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",re.letterSpacing,"0.33px"),_e=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",re.lineHeight,"1.6"),Ge=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",re.textTransform,"inherit"),Ve=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ie),qe=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",re.fontSize,"10px"),Ye=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",re.fontWeight,"normal"),Qe=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",re.letterSpacing,"1.5px"),Xe=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",re.lineHeight,"1.6"),Je=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",re.textTransform,"uppercase"),to={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ie),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size","",re.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",re.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",re.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height","",re.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",re.textTransform,"uppercase")},eo=o.css`
|
|
149
|
+
const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$litStatic$:t,r:jt}),Gt=new Map,Vt=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=Mt(n));)l+=r+e[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),p){const t=a.join("$$lit$$");void 0===(e=Gt.get(t))&&(a.raw=a,Gt.set(t,e=a)),o=s}return t(e,...o)})(kt);var qt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(qt||(qt={}));const Yt=t=>"string"==typeof t?o.unsafeCSS(t):t;class Qt{static create(t,e,i,r){const n=t=>Yt(null!=t?t:r),a=o.css`var(${Yt(t)}, ${n(r)})`;return a.name=t,a.description=e,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=e=>o.css`var(${Yt(t)}, ${n(e)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,e,i,r){const n=t=>i.get(null!=t?t:r),a=o.css`var(${Yt(t)}, ${n(r)})`;return a.name=t,a.description=e,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=e=>o.css`var(${Yt(t)}, ${n(e)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,e){const i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Yt(null!=e?e:t.lastResortDefaultValue()),r=o.css`var(${Yt(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=i,r.get=e=>o.css`var(${Yt(t.name)}, ${i(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Xt={colorWhite:Qt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Qt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Qt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Qt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Qt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Qt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Qt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Qt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Qt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Qt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Qt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Qt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Qt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Qt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Qt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Qt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Qt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Qt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Qt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Qt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Qt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Qt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Qt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Qt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Qt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Qt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Qt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Qt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Qt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Qt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Qt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Qt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Qt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Qt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Qt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Qt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Qt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Qt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Qt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Qt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Qt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Qt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Qt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Qt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Qt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Qt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Qt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Qt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Qt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Qt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Qt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Qt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Qt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Qt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Qt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Qt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Qt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Qt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Qt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Qt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Qt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Qt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Qt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Qt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Qt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Qt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Qt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Qt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Qt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Qt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Qt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Qt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Qt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Qt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Qt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Qt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Qt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Qt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Qt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Qt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Qt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Qt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Qt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Qt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Qt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Qt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Qt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Qt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Qt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Qt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Qt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Qt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Qt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Qt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Qt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Qt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Qt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Qt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Qt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Qt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Qt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Qt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Qt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Qt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Qt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Qt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Qt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Qt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Qt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Qt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Qt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Qt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Qt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Qt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Qt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Qt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Qt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Qt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Qt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Qt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Qt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Qt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Qt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Qt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Qt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Qt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Qt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Qt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Qt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Qt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Qt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Qt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Qt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Qt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Qt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Qt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Qt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Qt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Qt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Qt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Qt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Qt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Qt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Qt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Qt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Qt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Qt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Qt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Qt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Qt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Qt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Qt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Qt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Qt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Qt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Qt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Qt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Qt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Qt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Qt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Qt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Qt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Qt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Qt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Qt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Qt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Qt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Qt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Qt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Qt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Qt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Qt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Qt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Qt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Qt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Qt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Qt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Qt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Qt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Qt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Qt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Qt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Qt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Qt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Qt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Qt.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Qt.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:Qt.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:Qt.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:Qt.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:Qt.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:Qt.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:Qt.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:Qt.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:Qt.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)")},Jt={display:{fontFamily:Qt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Qt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Qt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Qt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Qt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Qt.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Qt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Qt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Qt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Qt.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Qt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Qt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Qt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Qt.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Qt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Qt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Qt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Qt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Qt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Qt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Qt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Qt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Qt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Qt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Qt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Qt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Qt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Qt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Qt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Qt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Qt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Qt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Qt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Qt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Qt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Qt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Qt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Qt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Qt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Qt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Qt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Qt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Qt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Qt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Qt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Qt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Qt.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Qt.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Qt.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Qt.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Qt.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Qt.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Qt.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},te={backgroundActionPrimary:Qt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Xt.colorBrand0),backgroundErrorPrimary:Qt.extend("--ft-background-error-primary","Used as background of error components.",Xt.colorRed0),backgroundErrorSubtle:Qt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Xt.colorRed10),backgroundInfoPrimary:Qt.extend("--ft-background-info-primary","Used as background of information components.",Xt.colorCyan200),backgroundInfoSubtle:Qt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Xt.colorCyan10),backgroundWarningPrimary:Qt.extend("--ft-background-warning-primary","Used as background of warning components.",Xt.colorOrange300),backgroundWarningSubtle:Qt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Xt.colorOrange10),backgroundSuccessPrimary:Qt.extend("--ft-background-success-primary","Used as background of success components.",Xt.colorGreen200),backgroundSuccessSubtle:Qt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Xt.colorGreen10),backgroundGlobalSurface:Qt.extend("--ft-background-global-surface","Used as app background.",Xt.colorWhite),backgroundGlobalOnSurface:Qt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Xt.colorGray10),backgroundGlobalOnSurfaceDark:Qt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Xt.colorGray30),contentActionPrimary:Qt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Xt.colorBrand0),contentWarningPrimary:Qt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Xt.colorOrange300),contentWarningIconOnly:Qt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Xt.colorOrange0),contentErrorPrimary:Qt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Xt.colorRed0),contentErrorIconOnly:Qt.extend("--ft-content-error-icon-only","Used on error status icons alone",Xt.colorRed0),contentInfoPrimary:Qt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Xt.colorCyan200),contentInfoIconOnly:Qt.extend("--ft-content-info-icon-only","Used on info status icons alone",Xt.colorCyan0),contentSuccessPrimary:Qt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Xt.colorGreen200),contentSuccessIconOnly:Qt.extend("--ft-content-success-icon-only","Used on success status icons alone",Xt.colorGreen0),contentGlobalPrimary:Qt.extend("--ft-content-global-primary","Used for main content on the page.",Xt.colorGray500),contentGlobalSecondary:Qt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Xt.colorGray200),contentGlobalSubtle:Qt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Xt.colorGray0),contentGlobalOnColor:Qt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Xt.colorWhite),borderActionPrimary:Qt.extend("--ft-border-action-primary","Used as border for primary action components.",Xt.colorBrand0),borderActionFocusRing:Qt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Xt.colorCyan0),borderWarningPrimary:Qt.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Xt.colorOrange300),borderWarningSubtle:Qt.extend("--ft-border-warning-subtle","Used as border for warning components.",Xt.colorOrange30),borderSuccessPrimary:Qt.extend("--ft-border-success-primary","Used as border for success buttons.",Xt.colorGreen200),borderSuccessSubtle:Qt.extend("--ft-border-success-subtle","Used as border for success components.",Xt.colorGreen30),borderErrorPrimary:Qt.extend("--ft-border-error-primary","Used as border for text fields in error states.",Xt.colorRed0),borderErrorSubtle:Qt.extend("--ft-border-error-subtle","Used as border for error components.",Xt.colorRed30),borderInfoPrimary:Qt.extend("--ft-border-info-primary","Used as border for buttons in info color.",Xt.colorCyan200),borderInfoSubtle:Qt.extend("--ft-border-info-subtle","Used as border for information components.",Xt.colorCyan30),borderGlobalPrimary:Qt.extend("--ft-border-global-primary","Used as border for element like input.",Xt.colorGray50),borderGlobalSubtle:Qt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Xt.colorGray30),borderInputPrimary:Qt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Xt.colorGray80)},ee={largeHeight:Qt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Qt.extend("--ft-button-large-horizontal-padding","",Xt.spacing4),largeGap:Qt.extend("--ft-button-large-gap","",Xt.spacing2),largeBorderRadius:Qt.extend("--ft-button-large-border-radius","",Xt.borderRadiusS),largeIconSize:Qt.extend("--ft-button-large-icon-size","",Xt.iconSize3),largeBorderWidth:Qt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Qt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Qt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Qt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Qt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Qt.extend("--ft-button-small-horizontal-padding","",Xt.spacing3),smallGap:Qt.extend("--ft-button-small-gap","",Xt.spacing2),smallBorderRadius:Qt.extend("--ft-button-small-border-radius","",Xt.borderRadiusS),smallIconSize:Qt.extend("--ft-button-small-icon-size","",Xt.iconSize2),smallBorderWidth:Qt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Qt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Qt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Qt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Qt.extend("--ft-button-primary-background-color","",te.backgroundActionPrimary),primaryColor:Qt.extend("--ft-button-primary-color","",te.contentGlobalOnColor),primaryIconColor:Qt.extend("--ft-button-primary-icon-color","",te.contentGlobalOnColor),primaryStateLayerColor:Qt.extend("--ft-button-primary-state-layer-color","",te.contentGlobalOnColor),primaryStateLayerOpacityHover:Qt.extend("--ft-button-primary-state-layer-opacity-hover","",Xt.opacity16),primaryStateLayerOpacityFocus:Qt.extend("--ft-button-primary-state-layer-opacity-focus","",Xt.opacity16),primaryStateLayerOpacityActive:Qt.extend("--ft-button-primary-state-layer-opacity-active","",Xt.opacity24),primaryComponentOpacityDisabled:Qt.extend("--ft-button-primary-component-opacity-disabled","",Xt.opacity40),focusFocusRingColor:Qt.extend("--ft-button-focus-focus-ring-color","",te.borderActionFocusRing),tertiaryBackgroundColor:Qt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Qt.extend("--ft-button-tertiary-color","",te.contentActionPrimary),tertiaryIconColor:Qt.extend("--ft-button-tertiary-icon-color","",te.contentActionPrimary),tertiaryStateLayerColor:Qt.extend("--ft-button-tertiary-state-layer-color","",te.contentActionPrimary),tertiaryStateLayerOpacityHover:Qt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Xt.opacity8),tertiaryStateLayerOpacityFocus:Qt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Xt.opacity8),tertiaryStateLayerOpacityActive:Qt.extend("--ft-button-tertiary-state-layer-opacity-active","",Xt.opacity16),tertiaryComponentOpacityDisabled:Qt.extend("--ft-button-tertiary-component-opacity-disabled","",Xt.opacity40),secondaryBackgroundColor:Qt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Qt.extend("--ft-button-secondary-color","",te.contentActionPrimary),secondaryIconColor:Qt.extend("--ft-button-secondary-icon-color","",te.contentActionPrimary),secondaryStateLayerColor:Qt.extend("--ft-button-secondary-state-layer-color","",te.contentActionPrimary),secondaryStateLayerOpacityHover:Qt.extend("--ft-button-secondary-state-layer-opacity-hover","",Xt.opacity8),secondaryStateLayerOpacityFocus:Qt.extend("--ft-button-secondary-state-layer-opacity-focus","",Xt.opacity8),secondaryStateLayerOpacityActive:Qt.extend("--ft-button-secondary-state-layer-opacity-active","",Xt.opacity16),secondaryComponentOpacityDisabled:Qt.extend("--ft-button-secondary-component-opacity-disabled","",Xt.opacity40),secondaryBorderColor:Qt.extend("--ft-button-secondary-border-color","",te.borderActionPrimary),neutralBackgroundColor:Qt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Qt.extend("--ft-button-neutral-icon-color","",te.contentGlobalSecondary),neutralColor:Qt.extend("--ft-button-neutral-color","",te.contentGlobalSecondary),neutralStateLayerColor:Qt.extend("--ft-button-neutral-state-layer-color","",te.contentGlobalSecondary),neutralStateLayerOpacityHover:Qt.extend("--ft-button-neutral-state-layer-opacity-hover","",Xt.opacity8),neutralStateLayerOpacityFocus:Qt.extend("--ft-button-neutral-state-layer-opacity-focus","",Xt.opacity8),neutralStateLayerOpacityActive:Qt.extend("--ft-button-neutral-state-layer-opacity-active","",Xt.opacity16),neutralComponentOpacityDisabled:Qt.extend("--ft-button-neutral-component-opacity-disabled","",Xt.opacity40)};Qt.extend("--ft-floating-menu-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-floating-menu-vertical-padding","",Xt.spacing4),Qt.extend("--ft-floating-menu-off-icon-color","",te.contentGlobalPrimary),Qt.extend("--ft-floating-menu-off-color","",te.contentGlobalPrimary),Qt.extend("--ft-floating-menu-on-color","",te.contentActionPrimary),Qt.extend("--ft-floating-menu-on-icon-color","",te.contentActionPrimary),Qt.extend("--ft-floating-menu-on-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-floating-menu-gap","",Xt.spacing3),Qt.extend("--ft-floating-menu-focus-focus-ring-color","",te.borderActionFocusRing),Qt.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Qt.extend("--ft-floating-menu-state-layer-opacity-hover","",Xt.opacity8),Qt.extend("--ft-floating-menu-state-layer-opacity-active","",Xt.opacity16),Qt.extend("--ft-floating-menu-state-layer-opacity-focus","",Xt.opacity8),Qt.extend("--ft-floating-menu-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-floating-menu-icon-size","",Xt.iconSize3),Qt.extend("--ft-floating-menu-background-color","",te.backgroundGlobalOnSurface),Qt.extend("--ft-tabs-top-left-border-radius","",Xt.borderRadiusS),Qt.extend("--ft-tabs-top-right-border-radius","",Xt.borderRadiusS),Qt.extend("--ft-tabs-label-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-tabs-label-vertical-padding","",Xt.spacing3),Qt.extend("--ft-tabs-label-gap","",Xt.spacing1),Qt.extend("--ft-tabs-icon-horizontal-padding","",Xt.spacing1),Qt.extend("--ft-tabs-icon-vertical-padding","",Xt.spacing4),Qt.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-tabs-focus-focus-ring-color","",te.borderActionFocusRing),Qt.extend("--ft-tabs-off-state-layer-opacity-hover","",Xt.opacity8),Qt.extend("--ft-tabs-off-state-layer-opacity-focus","",Xt.opacity8),Qt.extend("--ft-tabs-off-state-layer-opacity-active","",Xt.opacity16),Qt.extend("--ft-tabs-off-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-tabs-off-color","",te.contentGlobalSubtle),Qt.extend("--ft-tabs-off-state-layer-color","",te.contentGlobalSubtle),Qt.extend("--ft-tabs-on-state-layer-opacity-hover","",Xt.opacity8),Qt.extend("--ft-tabs-on-state-layer-opacity-focus","",Xt.opacity8),Qt.extend("--ft-tabs-on-state-layer-opacity-active","",Xt.opacity16),Qt.extend("--ft-tabs-on-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-tabs-on-color","",te.contentActionPrimary),Qt.extend("--ft-tabs-on-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-collapsible-state-layer-opacity-hover","",Xt.opacity8),Qt.extend("--ft-collapsible-state-layer-opacity-focus","",Xt.opacity8),Qt.extend("--ft-collapsible-state-layer-opacity-active","",Xt.opacity16),Qt.extend("--ft-collapsible-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-collapsible-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-collapsible-vertical-padding","",Xt.spacing3),Qt.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Qt.extend("--ft-collapsible-focus-focus-ring-color","",te.borderActionFocusRing),Qt.extend("--ft-collapsible-color","",te.contentGlobalPrimary),Qt.extend("--ft-collapsible-state-layer-color","",te.contentGlobalPrimary),Qt.extend("--ft-collapsible-background-color","",te.backgroundGlobalOnSurface),Qt.extend("--ft-collapsible-border-color","",te.borderGlobalSubtle),Qt.extend("--ft-collapsible-icon-size","",Xt.iconSize3),Qt.extend("--ft-switch-group-horizontal-padding","",Xt.spacing1),Qt.extend("--ft-switch-group-vertical-padding","",Xt.spacing1),Qt.extend("--ft-switch-group-gap","",Xt.spacing1),Qt.extend("--ft-switch-group-background-color","",te.backgroundGlobalSurface),Qt.extend("--ft-switch-group-border-color","",te.borderGlobalSubtle),Qt.create("--ft-switch-group-border-radius","","SIZE","6px"),Qt.extend("--ft-switch-label-horizontal-padding","",Xt.spacing2),Qt.extend("--ft-switch-label-vertical-padding","",Xt.spacing1),Qt.extend("--ft-switch-icon-horizontal-padding","",Xt.spacing1),Qt.extend("--ft-switch-icon-vertical-padding","",Xt.spacing1),Qt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-switch-focus-focus-ring-color","",te.borderActionFocusRing),Qt.extend("--ft-switch-option-border-radius","",Xt.borderRadiusS),Qt.extend("--ft-switch-off-state-layer-opacity-hover","",Xt.opacity8),Qt.extend("--ft-switch-off-state-layer-opacity-focus","",Xt.opacity8),Qt.extend("--ft-switch-off-state-layer-opacity-active","",Xt.opacity16),Qt.extend("--ft-switch-off-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-switch-off-color","",te.contentGlobalSubtle),Qt.extend("--ft-switch-off-state-layer-color","",te.contentGlobalSubtle),Qt.extend("--ft-switch-on-state-layer-opacity-hover","",Xt.opacity8),Qt.extend("--ft-switch-on-state-layer-opacity-focus","",Xt.opacity8),Qt.extend("--ft-switch-on-state-layer-opacity-active","",Xt.opacity16),Qt.extend("--ft-switch-on-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-switch-on-color","",te.contentActionPrimary),Qt.extend("--ft-switch-on-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-chart-1-light","for area color charts",Xt.colorBrand40),Qt.extend("--ft-chart-1-base","for line charts",Xt.colorBrand0),Qt.extend("--ft-chart-2-light","for area color charts",Xt.colorYellow60),Qt.extend("--ft-chart-2-base","for line charts",Xt.colorYellow100),Qt.extend("--ft-chart-3-light","",Xt.colorUltramarine40),Qt.extend("--ft-chart-3-base","",Xt.colorUltramarine70),Qt.extend("--ft-chart-4-light","",Xt.colorCyan50),Qt.extend("--ft-chart-4-base","",Xt.colorCyan100),Qt.extend("--ft-chart-5-light","",Xt.colorRed40),Qt.extend("--ft-chart-5-base","",Xt.colorRed60),Qt.extend("--ft-chart-6-light","",Xt.colorGreen40),Qt.extend("--ft-chart-6-base","",Xt.colorGreen70),Qt.extend("--ft-chart-7-light","",Xt.colorOrange70),Qt.extend("--ft-chart-7-base","",Xt.colorOrange100),Qt.extend("--ft-chart-8-light","",Xt.colorAvocado70),Qt.extend("--ft-chart-8-base","",Xt.colorAvocado200),Qt.extend("--ft-chart-9-light","",Xt.colorBrown50),Qt.extend("--ft-chart-9-base","",Xt.colorBrown200),Qt.extend("--ft-chart-10-light","",Xt.colorGray50),Qt.extend("--ft-chart-10-base","",Xt.colorGray80),Qt.extend("--ft-chart-monochrome-10","",Xt.colorBrand10),Qt.extend("--ft-chart-monochrome-20","",Xt.colorBrand20),Qt.extend("--ft-chart-monochrome-30","",Xt.colorBrand40),Qt.extend("--ft-chart-monochrome-40","",Xt.colorBrand60),Qt.extend("--ft-chart-monochrome-50","",Xt.colorBrand0),Qt.extend("--ft-chart-monochrome-60","",Xt.colorBrand200),Qt.extend("--ft-chip-large-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-chip-large-vertical-padding","",Xt.spacing2),Qt.extend("--ft-chip-large-gap","",Xt.spacing1),Qt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Qt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-chip-large-border-radius","",Xt.borderRadiusPill),Qt.create("--ft-chip-large-border-width","","SIZE","1px"),Qt.extend("--ft-chip-large-icon-size","",Xt.iconSize3),Qt.extend("--ft-chip-medium-horizontal-padding","",Xt.spacing3),Qt.extend("--ft-chip-medium-vertical-padding","",Xt.spacing1),Qt.extend("--ft-chip-medium-gap","",Xt.spacing1),Qt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Qt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-chip-medium-border-radius","",Xt.borderRadiusPill),Qt.create("--ft-chip-medium-border-width","","SIZE","1px"),Qt.extend("--ft-chip-medium-icon-size","",Xt.iconSize2),Qt.extend("--ft-chip-small-horizontal-padding","",Xt.spacing2),Qt.extend("--ft-chip-small-vertical-padding","",Xt.spacing05),Qt.extend("--ft-chip-small-gap","",Xt.spacing1),Qt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Qt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-chip-small-border-radius","",Xt.borderRadiusPill),Qt.create("--ft-chip-small-border-width","","SIZE","1px"),Qt.extend("--ft-chip-small-icon-size","",Xt.iconSize1),Qt.extend("--ft-chip-neutral-background-color","",te.backgroundGlobalOnSurface),Qt.extend("--ft-chip-neutral-color","",te.contentGlobalPrimary),Qt.extend("--ft-chip-neutral-border-color","",te.borderGlobalSubtle),Qt.extend("--ft-chip-info-background-color","",te.backgroundInfoSubtle),Qt.extend("--ft-chip-info-color","",te.contentInfoPrimary),Qt.extend("--ft-chip-info-border-color","",te.borderInfoSubtle),Qt.extend("--ft-chip-success-background-color","",te.backgroundSuccessSubtle),Qt.extend("--ft-chip-success-color","",te.contentSuccessPrimary),Qt.extend("--ft-chip-success-border-color","",te.borderSuccessSubtle),Qt.extend("--ft-chip-warning-background-color","",te.backgroundWarningSubtle),Qt.extend("--ft-chip-warning-color","",te.contentWarningPrimary),Qt.extend("--ft-chip-warning-border-color","",te.borderWarningSubtle),Qt.extend("--ft-chip-error-background-color","",te.backgroundErrorSubtle),Qt.extend("--ft-chip-error-color","",te.contentErrorPrimary),Qt.extend("--ft-chip-error-border-color","",te.borderErrorSubtle),Qt.create("--ft-notice-border-width","","SIZE","1px"),Qt.extend("--ft-notice-horizontal-padding","",Xt.spacing2),Qt.extend("--ft-notice-vertical-padding","",Xt.spacing1),Qt.extend("--ft-notice-border-radius","",Xt.borderRadiusS),Qt.extend("--ft-notice-gap","",Xt.spacing2),Qt.extend("--ft-notice-icon-size","",Xt.iconSize3),Qt.extend("--ft-notice-info-background-color","",te.backgroundInfoSubtle),Qt.extend("--ft-notice-info-border-color","",te.borderInfoSubtle),Qt.extend("--ft-notice-info-color","",te.contentInfoPrimary),Qt.extend("--ft-notice-warning-background-color","",te.backgroundWarningSubtle),Qt.extend("--ft-notice-warning-border-color","",te.borderWarningSubtle),Qt.extend("--ft-notice-warning-color","",te.contentWarningPrimary),Qt.extend("--ft-checkbox-label-color","",te.contentGlobalPrimary),Qt.extend("--ft-checkbox-checked-background-color","",te.contentActionPrimary),Qt.extend("--ft-checkbox-checked-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-checkbox-checked-color","",te.contentGlobalOnColor),Qt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-checkbox-checked-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-checkbox-unchecked-border-color","",Xt.colorGray80),Qt.extend("--ft-checkbox-unchecked-state-layer-color","",Xt.colorGray80),Qt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-checkbox-focus-focus-ring-color","",te.borderActionFocusRing),Qt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Qt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-checkbox-gap","",Xt.spacing3),Qt.extend("--ft-toggle-off-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-toggle-off-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-toggle-off-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-toggle-off-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-toggle-off-background-color","",te.contentGlobalSubtle),Qt.extend("--ft-toggle-off-icon-color","",te.contentGlobalSubtle),Qt.extend("--ft-toggle-off-state-layer-color","",te.contentGlobalSubtle),Qt.extend("--ft-toggle-on-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-toggle-on-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-toggle-on-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-toggle-on-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-toggle-on-background-color","",te.contentActionPrimary),Qt.extend("--ft-toggle-on-icon-color","",te.contentActionPrimary),Qt.extend("--ft-toggle-on-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-toggle-label-color","",te.contentGlobalPrimary),Qt.extend("--ft-toggle-focus-focus-ring-color","",te.borderActionFocusRing),Qt.extend("--ft-toggle-gap","",Xt.spacing3),Qt.extend("--ft-radio-label-color","",te.contentGlobalPrimary),Qt.extend("--ft-radio-selected-color","",te.contentActionPrimary),Qt.extend("--ft-radio-selected-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-radio-selected-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-radio-selected-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-radio-selected-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-radio-selected-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-radio-unselected-state-layer-color","",Xt.colorGray80),Qt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-radio-unselected-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-radio-unselected-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-radio-focus-focus-ring-color","",te.borderActionFocusRing),Qt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Qt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-radio-gap","",Xt.spacing3),Qt.extend("--ft-notification-icon-size","",Xt.iconSize4),Qt.extend("--ft-notification-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-notification-vertical-padding","",Xt.spacing4),Qt.extend("--ft-notification-info-background-color","",te.backgroundInfoSubtle),Qt.extend("--ft-notification-info-color","",te.contentInfoPrimary),Qt.extend("--ft-notification-info-border-color","",te.borderInfoSubtle),Qt.extend("--ft-notification-success-background-color","",te.backgroundSuccessSubtle),Qt.extend("--ft-notification-success-color","",te.contentSuccessPrimary),Qt.extend("--ft-notification-success-border-color","",te.borderSuccessSubtle),Qt.extend("--ft-notification-warning-background-color","",te.backgroundWarningSubtle),Qt.extend("--ft-notification-warning-color","",te.contentWarningPrimary),Qt.extend("--ft-notification-warning-border-color","",te.borderWarningSubtle),Qt.extend("--ft-notification-error-background-color","",te.backgroundErrorSubtle),Qt.extend("--ft-notification-error-color","",te.contentErrorPrimary),Qt.extend("--ft-notification-error-border-color","",te.borderErrorSubtle),Qt.extend("--ft-notification-border-radius","",Xt.borderRadiusPill),Qt.create("--ft-notification-border-width","","SIZE","1px"),Qt.extend("--ft-notification-gap-leading","",Xt.spacing2),Qt.extend("--ft-notification-gap-trailing","",Xt.spacing8),Qt.extend("--ft-tooltip-horizontal-padding","",Xt.spacing2),Qt.extend("--ft-tooltip-vertical-padding","",Xt.spacing2),Qt.extend("--ft-tooltip-border-radius","",Xt.borderRadiusS),Qt.extend("--ft-tooltip-label","",te.contentGlobalOnColor),Qt.extend("--ft-tooltip-background","",te.contentGlobalPrimary),Qt.extend("--ft-tooltip-background-opacity","",Xt.opacity80),Qt.extend("--ft-tooltip-shadow","",Xt.shadowElevation03);const oe=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.titleFont),ie=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.contentFont),re={fontFamily:ie,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ne=e.FtCssVariableFactory.extend("--ft-typography-title-font-family","",oe),ae=e.FtCssVariableFactory.extend("--ft-typography-title-font-size","",re.fontSize,"20px"),se=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",re.fontWeight,"normal"),le=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",re.letterSpacing,"0.15px"),ce=e.FtCssVariableFactory.extend("--ft-typography-title-line-height","",re.lineHeight,"1.2"),pe=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",re.textTransform,"inherit"),fe=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",oe),he=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",re.fontSize,"14px"),de=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",re.fontWeight,"normal"),ue=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",re.letterSpacing,"0.105px"),ge=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",re.lineHeight,"1.7"),ye=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",re.textTransform,"inherit"),be=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ie),me=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",re.fontSize,"16px"),ve=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",re.fontWeight,"600"),xe=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",re.letterSpacing,"0.144px"),Oe=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",re.lineHeight,"1.5"),Se=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",re.textTransform,"inherit"),we=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ie),Ne=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",re.fontSize,"14px"),$e=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",re.fontWeight,"normal"),Ce=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",re.letterSpacing,"0.098px"),ke=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",re.lineHeight,"1.7"),Ie=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",re.textTransform,"inherit"),Ee=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ie),Re=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",re.fontSize,"16px"),Ue=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",re.fontWeight,"normal"),Le=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",re.letterSpacing,"0.496px"),We=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",re.lineHeight,"1.5"),ze=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",re.textTransform,"inherit"),De={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ie),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",re.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",re.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",re.letterSpacing,"0.252px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",re.lineHeight,"1.4"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",re.textTransform,"inherit")},Ae=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ie),Ke=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",re.fontSize,"12px"),Be=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",re.fontWeight,"normal"),Ze=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",re.letterSpacing,"0.396px"),Fe=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",re.lineHeight,"1.33"),Te=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",re.textTransform,"inherit"),He=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ie),Pe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",re.fontSize,"10px"),je=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",re.fontWeight,"normal"),Me=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",re.letterSpacing,"0.33px"),_e=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",re.lineHeight,"1.6"),Ge=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",re.textTransform,"inherit"),Ve=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ie),qe=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",re.fontSize,"10px"),Ye=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",re.fontWeight,"normal"),Qe=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",re.letterSpacing,"1.5px"),Xe=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",re.lineHeight,"1.6"),Je=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",re.textTransform,"uppercase"),to={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ie),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size","",re.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",re.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",re.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height","",re.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",re.textTransform,"uppercase")},eo=o.css`
|
|
150
150
|
.ft-typography--title {
|
|
151
151
|
font-family: ${ne};
|
|
152
152
|
font-size: ${ae};
|
|
@@ -171,11 +171,11 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
171
171
|
font-weight: ${ve};
|
|
172
172
|
letter-spacing: ${xe};
|
|
173
173
|
line-height: ${Oe};
|
|
174
|
-
text-transform: ${
|
|
174
|
+
text-transform: ${Se};
|
|
175
175
|
}
|
|
176
176
|
`,ro=o.css`
|
|
177
177
|
.ft-typography--subtitle2 {
|
|
178
|
-
font-family: ${
|
|
178
|
+
font-family: ${we};
|
|
179
179
|
font-size: ${Ne};
|
|
180
180
|
font-weight: ${$e};
|
|
181
181
|
letter-spacing: ${Ce};
|
|
@@ -305,12 +305,12 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
305
305
|
.ft-icon--material {
|
|
306
306
|
font-family: ${mo.materialFontFamily}, "Material Icons", sans-serif;
|
|
307
307
|
}
|
|
308
|
-
`;var xo;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(xo||(xo={}));var Oo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class
|
|
308
|
+
`;var xo;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(xo||(xo={}));var Oo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class So extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=o.nothing}render(){const t=this.variant&&Object.values(xo).includes(this.variant)?this.variant:xo.fluid_topics,e=t!==xo.material||!!this.value;return o.html`
|
|
309
309
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
310
310
|
${a.unsafeHTML(this.resolvedIcon)}
|
|
311
311
|
<slot ?hidden=${e}></slot>
|
|
312
312
|
</i>
|
|
313
|
-
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case xo.file_format:this.resolvedIcon=null!==(t=go[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case xo.material:this.resolvedIcon=this.value||o.nothing;break;default:this.resolvedIcon=null!==(e=uo[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}
|
|
313
|
+
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case xo.file_format:this.resolvedIcon=null!==(t=go[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case xo.material:this.resolvedIcon=this.value||o.nothing;break;default:this.resolvedIcon=null!==(e=uo[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}So.elementDefinitions={},So.styles=vo,Oo([r.property()],So.prototype,"variant",void 0),Oo([r.property()],So.prototype,"value",void 0),Oo([r.state()],So.prototype,"resolvedIcon",void 0),Oo([r.query("slot")],So.prototype,"slottedContent",void 0),e.customElement("ft-icon")(So);const wo={color:e.FtCssVariableFactory.extend("--ft-loader-color","",e.designSystemVariables.colorPrimary),size:e.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},No=o.css`
|
|
314
314
|
:host {
|
|
315
315
|
line-height: 0;
|
|
316
316
|
}
|
|
@@ -319,8 +319,8 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
319
319
|
display: inline-block;
|
|
320
320
|
position: relative;
|
|
321
321
|
|
|
322
|
-
width: ${
|
|
323
|
-
height: ${
|
|
322
|
+
width: ${wo.size};
|
|
323
|
+
height: ${wo.size};
|
|
324
324
|
}
|
|
325
325
|
|
|
326
326
|
.ft-loader div {
|
|
@@ -329,7 +329,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
329
329
|
width: 25%;
|
|
330
330
|
height: 25%;
|
|
331
331
|
border-radius: 50%;
|
|
332
|
-
background: ${
|
|
332
|
+
background: ${wo.color};
|
|
333
333
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
334
334
|
}
|
|
335
335
|
|
|
@@ -376,7 +376,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
376
376
|
transform: translate(0, 0);
|
|
377
377
|
}
|
|
378
378
|
100% {
|
|
379
|
-
transform: translate(calc(0.35 * ${
|
|
379
|
+
transform: translate(calc(0.35 * ${wo.size}), 0);
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
`,$o=e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorPrimary),Co={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorSurface),borderRadius:e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusL),color:$o,fontSize:e.FtCssVariableFactory.extend("--ft-button-font-size","",to.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:e.FtCssVariableFactory.extend("--ft-button-ripple-color","",$o),verticalPadding:e.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:e.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:e.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},ko=e.FtCssVariableFactory.extend("--ft-button-primary-color","",e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorOnPrimary)),Io={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-primary-background-color","",e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorPrimary)),color:ko,rippleColor:e.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",ko)},Eo=e.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusM)),Ro=e.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Uo=e.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Lo=e.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Wo=[o.css`
|
|
@@ -513,8 +513,8 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
513
513
|
}
|
|
514
514
|
|
|
515
515
|
ft-loader {
|
|
516
|
-
${e.setVariable(
|
|
517
|
-
${e.setVariable(
|
|
516
|
+
${e.setVariable(wo.size,Co.iconSize)};
|
|
517
|
+
${e.setVariable(wo.color,"var(--ft-button-internal-color)")};
|
|
518
518
|
}
|
|
519
519
|
`,e.noTextSelect],zo=e.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Do=e.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Ao=e.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Ko=e.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Bo=e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),Zo=e.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Fo=o.css`
|
|
520
520
|
.ft-tooltip--container {
|
|
@@ -545,7 +545,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
545
545
|
position: relative;
|
|
546
546
|
word-break: break-word;
|
|
547
547
|
}
|
|
548
|
-
`,To=["start","end"],Ho=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+To[0],e+"-"+To[1])),[]),Po=Math.min,jo=Math.max,Mo=Math.round,_o=t=>({x:t,y:t}),Go={left:"right",right:"left",bottom:"top",top:"bottom"},Vo={start:"end",end:"start"};function qo(t,e,o){return jo(t,Po(e,o))}function Yo(t,e){return"function"==typeof t?t(e):t}function Qo(t){return t.split("-")[0]}function Xo(t){return t.split("-")[1]}function Jo(t){return"x"===t?"y":"x"}function ti(t){return"y"===t?"height":"width"}function ei(t){return["top","bottom"].includes(Qo(t))?"y":"x"}function oi(t){return Jo(ei(t))}function ii(t){return t.replace(/left|right|bottom|top/g,(t=>Go[t]))}function ri(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ni(t,e,o){let{reference:i,floating:r}=t;const n=ei(e),a=oi(e),s=ti(a),l=Qo(e),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(Xo(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function ai(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Yo(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),g=s[h?"floating"===f?"reference":"floating":f],y=ri(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(g)))||o?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=ri(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(y.top-x.top+u.top)/v.y,bottom:(x.bottom-y.bottom+u.bottom)/v.y,left:(y.left-x.left+u.left)/v.x,right:(x.right-y.right+u.right)/v.x}}function si(t,e,o){return(t?[...o.filter((e=>Xo(e)===t)),...o.filter((e=>Xo(e)!==t))]:o.filter((t=>Qo(t)===t))).filter((o=>!t||(Xo(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Vo[t]))}(o)!==o)))}const li=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Ho,autoAlignment:d=!0,...u}=Yo(t,e),g=void 0!==f||h===Ho?si(f||null,d,h):h,y=await ai(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const i=Xo(t),r=oi(t),n=ti(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=ii(a)),[a,ii(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:g[0]}};const x=[y[Qo(m)],y[v[0]],y[v[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Xo(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,Xo(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||S[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function ci(t){return hi(t)?(t.nodeName||"").toLowerCase():"#document"}function pi(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function fi(t){var e;return null==(e=(hi(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function hi(t){return t instanceof Node||t instanceof pi(t).Node}function di(t){return t instanceof Element||t instanceof pi(t).Element}function ui(t){return t instanceof HTMLElement||t instanceof pi(t).HTMLElement}function gi(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof pi(t).ShadowRoot)}function yi(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Oi(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function bi(t){return["table","td","th"].includes(ci(t))}function mi(t){const e=vi(),o=Oi(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function vi(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function xi(t){return["html","body","#document"].includes(ci(t))}function Oi(t){return pi(t).getComputedStyle(t)}function wi(t){return di(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Si(t){if("html"===ci(t))return t;const e=t.assignedSlot||t.parentNode||gi(t)&&t.host||fi(t);return gi(e)?e.host:e}function Ni(t){const e=Si(t);return xi(e)?t.ownerDocument?t.ownerDocument.body:t.body:ui(e)&&yi(e)?e:Ni(e)}function $i(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Ni(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=pi(r);return n?e.concat(a,a.visualViewport||[],yi(r)?r:[],a.frameElement&&o?$i(a.frameElement):[]):e.concat(r,$i(r,[],o))}function Ci(t){const e=Oi(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=ui(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Mo(o)!==n||Mo(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function ki(t){return di(t)?t:t.contextElement}function Ii(t){const e=ki(t);if(!ui(e))return _o(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Ci(e);let a=(n?Mo(o.width):o.width)/i,s=(n?Mo(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Ei=_o(0);function Ri(t){const e=pi(t);return vi()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Ei}function Ui(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=ki(t);let a=_o(1);e&&(i?di(i)&&(a=Ii(i)):a=Ii(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==pi(t))&&e}(n,o,i)?Ri(n):_o(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=pi(n),e=i&&di(i)?pi(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Ii(o),e=o.getBoundingClientRect(),i=Oi(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,o=pi(o).frameElement}}return ri({width:p,height:f,x:l,y:c})}function Li(t){return Ui(fi(t)).left+wi(t).scrollLeft}function Wi(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=pi(t),i=fi(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=vi();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=fi(t),o=wi(t),i=t.ownerDocument.body,r=jo(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=jo(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Li(t);const s=-o.scrollTop;return"rtl"===Oi(i).direction&&(a+=jo(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(fi(t));else if(di(e))i=function(t,e){const o=Ui(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=ui(t)?Ii(t):_o(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Ri(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return ri(i)}function zi(t,e){const o=Si(t);return!(o===e||!di(o)||xi(o))&&("fixed"===Oi(o).position||zi(o,e))}function Di(t,e,o){const i=ui(e),r=fi(e),n="fixed"===o,a=Ui(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=_o(0);if(i||!i&&!n)if(("body"!==ci(e)||yi(r))&&(s=wi(e)),i){const t=Ui(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Li(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Ai(t,e){return ui(t)&&"fixed"!==Oi(t).position?e?e(t):t.offsetParent:null}function Ki(t,e){const o=pi(t);if(!ui(t))return o;let i=Ai(t,e);for(;i&&bi(i)&&"static"===Oi(i).position;)i=Ai(i,e);return i&&("html"===ci(i)||"body"===ci(i)&&"static"===Oi(i).position&&!mi(i))?o:i||function(t){let e=Si(t);for(;ui(e)&&!xi(e);){if(mi(e))return e;e=Si(e)}return null}(t)||o}const Bi={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=ui(o),n=fi(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=_o(1);const l=_o(0);if((r||!r&&"fixed"!==i)&&(("body"!==ci(o)||yi(n))&&(a=wi(o)),ui(o))){const t=Ui(o);s=Ii(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:fi,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n="clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=$i(t,[],!1).filter((t=>di(t)&&"body"!==ci(t))),r=null;const n="fixed"===Oi(t).position;let a=n?Si(t):t;for(;di(a)&&!xi(a);){const e=Oi(a),o=mi(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||yi(a)&&!o&&zi(t,a))?i=i.filter((t=>t!==a)):r=e,a=Si(a)}return e.set(t,i),i}(e,this._c):[].concat(o),a=[...n,i],s=a[0],l=a.reduce(((t,o)=>{const i=Wi(e,o,r);return t.top=jo(i.top,t.top),t.right=Po(i.right,t.right),t.bottom=Po(i.bottom,t.bottom),t.left=jo(i.left,t.left),t}),Wi(e,s,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ki,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Ki,n=this.getDimensions;return{reference:Di(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ci(t)},getScale:Ii,isElement:di,isRTL:function(t){return"rtl"===Oi(t).direction}},Zi=(t,e,o)=>{const i=new Map,r={platform:Bi,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=ni(c,i,l),h=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:g}=s[o],{x:y,y:b,data:m,reset:v}=await g({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=y?y:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:p,y:f}=ni(c,h,l))),o=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function Fi(t){return function(t){for(let e=t;e;e=Ti(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Ti(t);e;e=Ti(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Ti(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Hi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Pi extends e.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 e.Debouncer,this.revealDebouncer=new e.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return o.html`
|
|
548
|
+
`,To=["start","end"],Ho=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+To[0],e+"-"+To[1])),[]),Po=Math.min,jo=Math.max,Mo=Math.round,_o=t=>({x:t,y:t}),Go={left:"right",right:"left",bottom:"top",top:"bottom"},Vo={start:"end",end:"start"};function qo(t,e,o){return jo(t,Po(e,o))}function Yo(t,e){return"function"==typeof t?t(e):t}function Qo(t){return t.split("-")[0]}function Xo(t){return t.split("-")[1]}function Jo(t){return"x"===t?"y":"x"}function ti(t){return"y"===t?"height":"width"}function ei(t){return["top","bottom"].includes(Qo(t))?"y":"x"}function oi(t){return Jo(ei(t))}function ii(t){return t.replace(/left|right|bottom|top/g,(t=>Go[t]))}function ri(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ni(t,e,o){let{reference:i,floating:r}=t;const n=ei(e),a=oi(e),s=ti(a),l=Qo(e),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(Xo(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function ai(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Yo(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),g=s[h?"floating"===f?"reference":"floating":f],y=ri(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(g)))||o?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=ri(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(y.top-x.top+u.top)/v.y,bottom:(x.bottom-y.bottom+u.bottom)/v.y,left:(y.left-x.left+u.left)/v.x,right:(x.right-y.right+u.right)/v.x}}function si(t,e,o){return(t?[...o.filter((e=>Xo(e)===t)),...o.filter((e=>Xo(e)!==t))]:o.filter((t=>Qo(t)===t))).filter((o=>!t||(Xo(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Vo[t]))}(o)!==o)))}const li=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Ho,autoAlignment:d=!0,...u}=Yo(t,e),g=void 0!==f||h===Ho?si(f||null,d,h):h,y=await ai(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const i=Xo(t),r=oi(t),n=ti(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=ii(a)),[a,ii(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:g[0]}};const x=[y[Qo(m)],y[v[0]],y[v[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],S=g[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const w=O.map((t=>{const e=Xo(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=w.filter((t=>t[2].slice(0,Xo(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||w[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function ci(t){return hi(t)?(t.nodeName||"").toLowerCase():"#document"}function pi(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function fi(t){var e;return null==(e=(hi(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function hi(t){return t instanceof Node||t instanceof pi(t).Node}function di(t){return t instanceof Element||t instanceof pi(t).Element}function ui(t){return t instanceof HTMLElement||t instanceof pi(t).HTMLElement}function gi(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof pi(t).ShadowRoot)}function yi(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Oi(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function bi(t){return["table","td","th"].includes(ci(t))}function mi(t){const e=vi(),o=Oi(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function vi(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function xi(t){return["html","body","#document"].includes(ci(t))}function Oi(t){return pi(t).getComputedStyle(t)}function Si(t){return di(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function wi(t){if("html"===ci(t))return t;const e=t.assignedSlot||t.parentNode||gi(t)&&t.host||fi(t);return gi(e)?e.host:e}function Ni(t){const e=wi(t);return xi(e)?t.ownerDocument?t.ownerDocument.body:t.body:ui(e)&&yi(e)?e:Ni(e)}function $i(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Ni(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=pi(r);return n?e.concat(a,a.visualViewport||[],yi(r)?r:[],a.frameElement&&o?$i(a.frameElement):[]):e.concat(r,$i(r,[],o))}function Ci(t){const e=Oi(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=ui(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Mo(o)!==n||Mo(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function ki(t){return di(t)?t:t.contextElement}function Ii(t){const e=ki(t);if(!ui(e))return _o(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Ci(e);let a=(n?Mo(o.width):o.width)/i,s=(n?Mo(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Ei=_o(0);function Ri(t){const e=pi(t);return vi()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Ei}function Ui(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=ki(t);let a=_o(1);e&&(i?di(i)&&(a=Ii(i)):a=Ii(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==pi(t))&&e}(n,o,i)?Ri(n):_o(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=pi(n),e=i&&di(i)?pi(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Ii(o),e=o.getBoundingClientRect(),i=Oi(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,o=pi(o).frameElement}}return ri({width:p,height:f,x:l,y:c})}function Li(t){return Ui(fi(t)).left+Si(t).scrollLeft}function Wi(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=pi(t),i=fi(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=vi();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=fi(t),o=Si(t),i=t.ownerDocument.body,r=jo(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=jo(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Li(t);const s=-o.scrollTop;return"rtl"===Oi(i).direction&&(a+=jo(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(fi(t));else if(di(e))i=function(t,e){const o=Ui(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=ui(t)?Ii(t):_o(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Ri(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return ri(i)}function zi(t,e){const o=wi(t);return!(o===e||!di(o)||xi(o))&&("fixed"===Oi(o).position||zi(o,e))}function Di(t,e,o){const i=ui(e),r=fi(e),n="fixed"===o,a=Ui(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=_o(0);if(i||!i&&!n)if(("body"!==ci(e)||yi(r))&&(s=Si(e)),i){const t=Ui(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Li(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Ai(t,e){return ui(t)&&"fixed"!==Oi(t).position?e?e(t):t.offsetParent:null}function Ki(t,e){const o=pi(t);if(!ui(t))return o;let i=Ai(t,e);for(;i&&bi(i)&&"static"===Oi(i).position;)i=Ai(i,e);return i&&("html"===ci(i)||"body"===ci(i)&&"static"===Oi(i).position&&!mi(i))?o:i||function(t){let e=wi(t);for(;ui(e)&&!xi(e);){if(mi(e))return e;e=wi(e)}return null}(t)||o}const Bi={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=ui(o),n=fi(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=_o(1);const l=_o(0);if((r||!r&&"fixed"!==i)&&(("body"!==ci(o)||yi(n))&&(a=Si(o)),ui(o))){const t=Ui(o);s=Ii(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:fi,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=$i(t,[],!1).filter((t=>di(t)&&"body"!==ci(t))),r=null;const n="fixed"===Oi(t).position;let a=n?wi(t):t;for(;di(a)&&!xi(a);){const e=Oi(a),o=mi(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||yi(a)&&!o&&zi(t,a))?i=i.filter((t=>t!==a)):r=e,a=wi(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=Wi(e,o,r);return t.top=jo(i.top,t.top),t.right=Po(i.right,t.right),t.bottom=Po(i.bottom,t.bottom),t.left=jo(i.left,t.left),t}),Wi(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Ki,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Ki,n=this.getDimensions;return{reference:Di(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ci(t)},getScale:Ii,isElement:di,isRTL:function(t){return"rtl"===Oi(t).direction}},Zi=(t,e,o)=>{const i=new Map,r={platform:Bi,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=ni(c,i,l),h=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:g}=s[o],{x:y,y:b,data:m,reset:v}=await g({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=y?y:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:p,y:f}=ni(c,h,l))),o=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function Fi(t){return function(t){for(let e=t;e;e=Ti(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Ti(t);e;e=Ti(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Ti(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Hi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Pi extends e.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 e.Debouncer,this.revealDebouncer=new e.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return o.html`
|
|
549
549
|
<div part="container"
|
|
550
550
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
551
551
|
@mouseenter=${this.onHover}
|
|
@@ -593,7 +593,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
593
593
|
</ft-tooltip>
|
|
594
594
|
`:t}resolveIcon(){return this.loading?o.html`
|
|
595
595
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?o.html`
|
|
596
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:o.nothing}focus(){var t;null===(t=this.button)||void 0===t||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((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}_i.elementDefinitions={"ft-ripple":st,"ft-tooltip":Pi,"ft-typography":bo,"ft-icon":
|
|
596
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:o.nothing}focus(){var t;null===(t=this.button)||void 0===t||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((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}_i.elementDefinitions={"ft-ripple":st,"ft-tooltip":Pi,"ft-typography":bo,"ft-icon":So,"ft-loader":ji},Mi([r.property({type:String,reflect:!0})],_i.prototype,"role",void 0),Mi([r.property()],_i.prototype,"type",void 0),Mi([r.property({type:Boolean})],_i.prototype,"disabled",void 0),Mi([r.property()],_i.prototype,"label",void 0),Mi([r.property()],_i.prototype,"icon",void 0),Mi([r.property()],_i.prototype,"iconVariant",void 0),Mi([r.property({type:Boolean})],_i.prototype,"trailingIcon",void 0),Mi([r.property({type:Boolean})],_i.prototype,"loading",void 0),Mi([r.property()],_i.prototype,"tooltipPosition",void 0),Mi([r.property({type:Boolean})],_i.prototype,"hideTooltip",void 0),Mi([r.property({type:Boolean})],_i.prototype,"forceTooltip",void 0),Mi([r.query(".ft-button")],_i.prototype,"button",void 0),Mi([r.query(".ft-button--label slot")],_i.prototype,"slottedContent",void 0);var Gi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Vi extends _i{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"}}Vi.styles=[e.safariEllipsisFix,Wo],Gi([r.property({type:Boolean})],Vi.prototype,"primary",void 0),Gi([r.property({type:Boolean})],Vi.prototype,"outlined",void 0),Gi([r.property({type:Boolean})],Vi.prototype,"dense",void 0),Gi([r.property({type:Boolean})],Vi.prototype,"round",void 0);const qi=[o.css`
|
|
597
597
|
:host {
|
|
598
598
|
display: inline-block;
|
|
599
599
|
max-width: 100%;
|
|
@@ -672,7 +672,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
672
672
|
/** Primary styles **/
|
|
673
673
|
|
|
674
674
|
.ft-button--primary {
|
|
675
|
-
${e.setVariable(
|
|
675
|
+
${e.setVariable(wo.color,ee.primaryIconColor)};
|
|
676
676
|
|
|
677
677
|
${e.setVariable(X.color,ee.primaryStateLayerColor)};
|
|
678
678
|
${e.setVariable(X.opacityContentOnSurfaceHover,ee.primaryStateLayerOpacityHover)};
|
|
@@ -696,7 +696,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
696
696
|
/** Secondary styles **/
|
|
697
697
|
|
|
698
698
|
.ft-button--secondary {
|
|
699
|
-
${e.setVariable(
|
|
699
|
+
${e.setVariable(wo.color,ee.secondaryIconColor)};
|
|
700
700
|
|
|
701
701
|
${e.setVariable(X.color,ee.secondaryStateLayerColor)};
|
|
702
702
|
${e.setVariable(X.opacityContentOnSurfaceHover,ee.secondaryStateLayerOpacityHover)};
|
|
@@ -721,7 +721,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
721
721
|
/** Tertiary styles **/
|
|
722
722
|
|
|
723
723
|
.ft-button--tertiary {
|
|
724
|
-
${e.setVariable(
|
|
724
|
+
${e.setVariable(wo.color,ee.tertiaryIconColor)};
|
|
725
725
|
|
|
726
726
|
${e.setVariable(X.color,ee.tertiaryStateLayerColor)};
|
|
727
727
|
${e.setVariable(X.opacityContentOnSurfaceHover,ee.tertiaryStateLayerOpacityHover)};
|
|
@@ -745,7 +745,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
745
745
|
/** Neutral styles **/
|
|
746
746
|
|
|
747
747
|
.ft-button--neutral {
|
|
748
|
-
${e.setVariable(
|
|
748
|
+
${e.setVariable(wo.color,ee.neutralIconColor)};
|
|
749
749
|
|
|
750
750
|
${e.setVariable(X.backgroundColor,ee.neutralStateLayerColor)};
|
|
751
751
|
${e.setVariable(X.opacityContentOnSurfaceHover,ee.neutralStateLayerOpacityHover)};
|
|
@@ -770,7 +770,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
770
770
|
|
|
771
771
|
.ft-button--large {
|
|
772
772
|
${e.setVariable(mo.size,ee.largeIconSize)};
|
|
773
|
-
${e.setVariable(
|
|
773
|
+
${e.setVariable(wo.size,ee.largeIconSize)};
|
|
774
774
|
|
|
775
775
|
height: ${ee.largeHeight};
|
|
776
776
|
padding: 0 ${ee.largeHorizontalPadding};
|
|
@@ -793,7 +793,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
793
793
|
|
|
794
794
|
.ft-button--small {
|
|
795
795
|
${e.setVariable(mo.size,ee.smallIconSize)};
|
|
796
|
-
${e.setVariable(
|
|
796
|
+
${e.setVariable(wo.size,ee.smallIconSize)};
|
|
797
797
|
|
|
798
798
|
height: ${ee.smallHeight};
|
|
799
799
|
padding: 0 ${ee.smallHorizontalPadding};
|
|
@@ -971,15 +971,15 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
971
971
|
<div class="ft-chip--icon-container ft-no-text-select">
|
|
972
972
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
|
|
973
973
|
</div>
|
|
974
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new ar))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new ar))}getLabel(){return this.label||this.textContent}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}sr.elementDefinitions={"ft-ripple":st,"ft-typography":bo,"ft-icon":
|
|
975
|
-
`;var cr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const pr=Symbol("i18nAttributes"),fr=Symbol("i18nProperties"),hr=Symbol("i18nUnsubs");function dr(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?D
|
|
974
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new ar))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new ar))}getLabel(){return this.label||this.textContent}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}sr.elementDefinitions={"ft-ripple":st,"ft-typography":bo,"ft-icon":So,"ft-button":Vi},sr.styles=rr,nr([r.property({type:Boolean})],sr.prototype,"highlighted",void 0),nr([r.property({type:Boolean})],sr.prototype,"removable",void 0),nr([r.property({type:Boolean})],sr.prototype,"disabled",void 0),nr([r.property({type:Boolean})],sr.prototype,"clickable",void 0),nr([r.property({type:Boolean})],sr.prototype,"iconClickable",void 0),nr([r.property({type:Boolean})],sr.prototype,"dense",void 0),nr([r.property({type:Boolean})],sr.prototype,"multiLine",void 0),nr([r.property()],sr.prototype,"label",void 0),nr([r.property()],sr.prototype,"iconLabel",void 0),nr([r.property()],sr.prototype,"icon",void 0),nr([r.property()],sr.prototype,"iconVariant",void 0),nr([r.property({type:Boolean})],sr.prototype,"trailingIcon",void 0),nr([r.query("ft-typography slot")],sr.prototype,"slottedContent",void 0),e.customElement("ft-chip")(sr);const lr=o.css`
|
|
975
|
+
`;var cr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const pr=Symbol("i18nAttributes"),fr=Symbol("i18nProperties"),hr=Symbol("i18nUnsubs");function dr(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?A:D}i18n(t,e,...o){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var e,o;null===(e=this[pr])||void 0===e||e.forEach(((e,o)=>{var i;const r=this.getI18nAttributeValue(o);(null===(i=null==r?void 0:r.context)||void 0===i?void 0:i.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(o,r,e)})),null===(o=this[fr])||void 0===o||o.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,e,o){this[t]={...e,message:this.i18n({context:e.context,key:e.key,...o})}}update(t){var e,o;super.update(t),null===(e=this[pr])||void 0===e||e.forEach(((e,o)=>{const i=this.getI18nAttributeValue(o);(null==i?void 0:i.context)&&i.key&&(t.has(o)||null!=e.argsProvider)&&(t.has(o)&&this.addI18nContext(i.context),this.updateI18nAttributeMessage(o,i,e))})),null===(o=this[fr])||void 0===o||o.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,e,o,i;super.connectedCallback(),new Set([...null!==(e=null===(t=this[fr])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(i=null===(o=this[pr])||void 0===o?void 0:o.keys())&&void 0!==i?i:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[hr].has(t)||this[hr].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages("string"==typeof t?t:t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[hr].forEach((t=>t())),this[hr].clear()}}return e=hr,cr([r.property({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class ur extends(dr(e.FtLitElement)){}class gr extends(dr(e.FtLitElementRedux)){}var yr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class br extends gr{constructor(){super(),this.editorMode=!1,this.addStore(E)}render(){return this.key&&this.context?o.html`
|
|
976
976
|
<span class="ft-i18n">
|
|
977
977
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
978
978
|
</span>
|
|
979
|
-
`:this.editorMode?"Select a context and a label key.":o.nothing}update(t){var e;super.update(t),["context","key","defaultMessage"].some((e=>t.has(e)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}br.elementDefinitions={},br.styles=lr,yr([e.redux()],br.prototype,"editorMode",void 0),yr([r.property()],br.prototype,"context",void 0),yr([r.property()],br.prototype,"key",void 0),yr([e.jsonProperty([])],br.prototype,"args",void 0),yr([r.property()],br.prototype,"defaultMessage",void 0);class mr{static build(t){return new mr(t)}static fromGwt(t){return new mr(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>
|
|
980
|
-
`;var xr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Or extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class
|
|
979
|
+
`:this.editorMode?"Select a context and a label key.":o.nothing}update(t){var e;super.update(t),["context","key","defaultMessage"].some((e=>t.has(e)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}br.elementDefinitions={},br.styles=lr,yr([e.redux()],br.prototype,"editorMode",void 0),yr([r.property()],br.prototype,"context",void 0),yr([r.property()],br.prototype,"key",void 0),yr([e.jsonProperty([])],br.prototype,"args",void 0),yr([r.property()],br.prototype,"defaultMessage",void 0);class mr{static build(t){return new mr(t)}static fromGwt(t){return new mr(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>D.resolveMessage(this.name,e,...t)})}}e.customElement("ft-i18n")(br);const vr=o.css`
|
|
980
|
+
`;var xr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Or extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class Sr extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class wr extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class Nr extends e.FtLitElementRedux{get stateManager(){if(null==this._stateManager){const t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=_.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0"),t),this._stateManager.errorHandler=t=>this.handleLoadError(t),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(E)}render(){return o.html`
|
|
981
981
|
<slot @register-ft-search-component=${this.registerComponent}></slot>
|
|
982
|
-
`}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&void 0!==this.searchInDocumentTitlesOnly&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&void 0!==this.scope&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&void 0!==this.ignoreEmptyQuery&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),t.has("openExternalDocumentInNewTab")&&void 0!==this.openExternalDocumentInNewTab&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab)}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
|
|
982
|
+
`}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&void 0!==this.searchInDocumentTitlesOnly&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&void 0!==this.scope&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&void 0!==this.ignoreEmptyQuery&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),t.has("openExternalDocumentInNewTab")&&void 0!==this.openExternalDocumentInNewTab&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab)}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 Sr(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new wr(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();const e=t.composedPath()[0];this.register(e)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new Or(t))}reloadSavedSearches(){H.clearMySearches()}clear(){this.stateManager.clear()}}Nr.elementDefinitions={},Nr.styles=vr,xr([r.property()],Nr.prototype,"query",void 0),xr([r.property()],Nr.prototype,"contentLocale",void 0),xr([r.property({type:Number})],Nr.prototype,"pageSize",void 0),xr([r.property({type:Boolean})],Nr.prototype,"searchInDocumentTitlesOnly",void 0),xr([r.property()],Nr.prototype,"scope",void 0),xr([r.property({type:Boolean})],Nr.prototype,"ignoreEmptyQuery",void 0),xr([r.property({type:Boolean})],Nr.prototype,"openExternalDocumentInNewTab",void 0),xr([e.jsonProperty([])],Nr.prototype,"filters",void 0),xr([e.jsonProperty([])],Nr.prototype,"sort",void 0),xr([e.redux({store:"search"})],Nr.prototype,"request",void 0),xr([e.redux({store:"search"})],Nr.prototype,"paging",void 0),xr([e.redux({store:"search",selector:t=>t.spellcheck})],Nr.prototype,"autocorrect",void 0),xr([e.redux({store:E.name})],Nr.prototype,"session",void 0),xr([r.property({attribute:!1})],Nr.prototype,"searchServiceProvider",void 0),e.customElement("ft-search-context")(Nr);const $r=o.css`
|
|
983
983
|
`,Cr=e.FtCssVariableFactory.extend("--ft-checkbox-text-color","",e.designSystemVariables.colorOnSurfaceHigh),kr=e.FtCssVariableFactory.extend("--ft-checkbox-font-size","",re.fontSize),Ir=e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),Er=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnPrimary,"Design system"),Rr=e.FtCssVariableFactory.extend("--ft-checkbox-border-color","",e.designSystemVariables.colorOnSurfaceMedium),Ur=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),Lr=o.css`
|
|
984
984
|
* {
|
|
985
985
|
box-sizing: border-box;
|
|
@@ -1327,7 +1327,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1327
1327
|
@change=${t=>t.stopPropagation()}>
|
|
1328
1328
|
${t.renderOption?t.renderOption:t.label}
|
|
1329
1329
|
</ft-radio>
|
|
1330
|
-
`}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}qr.elementDefinitions={"ft-button":Vi,"ft-ripple":st,"ft-typography":bo,"ft-checkbox":zr,"ft-icon":
|
|
1330
|
+
`}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}qr.elementDefinitions={"ft-button":Vi,"ft-ripple":st,"ft-typography":bo,"ft-checkbox":zr,"ft-icon":So,"ft-radio":Hr},qr.styles=Gr,Vr([r.property({type:String})],qr.prototype,"filterId",void 0),Vr([r.property({type:Object})],qr.prototype,"parent",void 0),Vr([r.property({type:Array})],qr.prototype,"options",void 0),Vr([r.property({type:Boolean})],qr.prototype,"multivalued",void 0),Vr([r.property({type:Boolean})],qr.prototype,"disabled",void 0),Vr([r.property({type:Boolean})],qr.prototype,"hideSelectedOptions",void 0),Vr([r.property({type:Boolean})],qr.prototype,"preventNavigation",void 0),Vr([r.property({type:String})],qr.prototype,"filter",void 0),Vr([r.property({type:String})],qr.prototype,"moreValuesButtonLabel",void 0),Vr([r.property({type:String})],qr.prototype,"noValuesLabel",void 0),Vr([r.property({type:Number})],qr.prototype,"displayedValuesLimit",void 0),Vr([r.query(".ft-filter-level--container")],qr.prototype,"container",void 0),Vr([r.state()],qr.prototype,"displayedPages",void 0);const Yr={buttonsColor:e.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",e.designSystemVariables.colorPrimary),buttonsZIndex:e.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:e.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system")},Qr=o.css`
|
|
1331
1331
|
.ft-snap-scroll {
|
|
1332
1332
|
box-sizing: border-box;
|
|
1333
1333
|
position: relative;
|
|
@@ -1671,7 +1671,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1671
1671
|
multivalued
|
|
1672
1672
|
@change=${this.onSelected}
|
|
1673
1673
|
></ft-filter>
|
|
1674
|
-
`}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}xn.elementDefinitions={"ft-filter":un},xn.styles=$r,vn([e.redux({selector:j})],xn.prototype,"searchInDocumentTitlesOnly",void 0),vn([r.query("ft-filter")],xn.prototype,"filter",void 0),e.customElement("ft-search-type")(xn);var On=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class
|
|
1674
|
+
`}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}xn.elementDefinitions={"ft-filter":un},xn.styles=$r,vn([e.redux({selector:j})],xn.prototype,"searchInDocumentTitlesOnly",void 0),vn([r.query("ft-filter")],xn.prototype,"filter",void 0),e.customElement("ft-search-type")(xn);var On=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Sn extends(dr(Y)){get hasSomethingToDisplay(){var t;return this.searchInDocumentTitlesOnly||(null===(t=this.facets)||void 0===t?void 0:t.some((t=>this.getSelectedValues(t).length>0)))}constructor(){super(),this.addI18nContext(bn,mn)}render(){return this.hasSomethingToDisplay?o.html`
|
|
1675
1675
|
<div class="ft-search-selected-facets--container">
|
|
1676
1676
|
${i.repeat(this.facets||[],(t=>t.key),(t=>{const e=this.getSelectedValues(t);return i.repeat(e,(e=>t.key+"-"+e),(o=>this.renderFacet(t.key,t.label,e,o)))}))}
|
|
1677
1677
|
${this.renderSearchInDocumentTitlesOnly()}
|
|
@@ -1699,4 +1699,4 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1699
1699
|
${bn.messages.documentTitlesOnly()}
|
|
1700
1700
|
</ft-chip>
|
|
1701
1701
|
</ft-tooltip>
|
|
1702
|
-
`:o.nothing}}
|
|
1702
|
+
`:o.nothing}}Sn.elementDefinitions={"ft-chip":sr,"ft-tooltip":Pi},Sn.styles=l,On([e.redux({store:"search"})],Sn.prototype,"facets",void 0),On([e.redux({store:"search",selector:j})],Sn.prototype,"searchInDocumentTitlesOnly",void 0),e.customElement("ft-search-selected-facets")(Sn),t.FtSearchSelectedFacets=Sn,t.FtSearchSelectedFacetsCssVariables=s,t.styles=l}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
|