@fluid-topics/ft-text-input 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-text-input.light.js +1113 -253
- package/build/ft-text-input.min.js +1137 -264
- package/build/ftds-text-input.js +12 -8
- package/build/ftds-text-input.styles.js +2 -2
- package/package.json +10 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?M.substr(1,M.length):M}).forEach(function(M){var $=M.split(":"),B=$.shift().trim();if(B){var br=$.join(":").trim();try{m.append(B,br)}catch(po){console.warn("Response "+po.message)}}}),m}A.call(D.prototype);function ie(f,m){if(!(this instanceof ie))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(m||(m={}),this.type="default",this.status=m.status===void 0?200:m.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=m.statusText===void 0?"":""+m.statusText,this.headers=new h(m.headers),this.url=m.url||"",this._initBody(f)}A.call(ie.prototype),ie.prototype.clone=function(){return new ie(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},ie.error=function(){var f=new ie(null,{status:200,statusText:""});return f.ok=!1,f.status=0,f.type="error",f};var Ae=[301,302,303,307,308];ie.redirect=function(f,m){if(Ae.indexOf(m)===-1)throw new RangeError("Invalid status code");return new ie(null,{status:m,headers:{location:f}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(m,I){this.message=m,this.name=I;var M=Error(m);this.stack=M.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function X(f,m){return new Promise(function(I,M){var $=new D(f,m);if($.signal&&$.signal.aborted)return M(new o.DOMException("Aborted","AbortError"));var B=new XMLHttpRequest;function br(){B.abort()}B.onload=function(){var J={statusText:B.statusText,headers:we(B.getAllResponseHeaders()||"")};$.url.indexOf("file://")===0&&(B.status<200||B.status>599)?J.status=200:J.status=B.status,J.url="responseURL"in B?B.responseURL:J.headers.get("X-Request-URL");var nt="response"in B?B.response:B.responseText;setTimeout(function(){I(new ie(nt,J))},0)},B.onerror=function(){setTimeout(function(){M(new TypeError("Network request failed"))},0)},B.ontimeout=function(){setTimeout(function(){M(new TypeError("Network request timed out"))},0)},B.onabort=function(){setTimeout(function(){M(new o.DOMException("Aborted","AbortError"))},0)};function po(J){try{return J===""&&n.location.href?n.location.href:J}catch{return J}}if(B.open($.method,po($.url),!0),$.credentials==="include"?B.withCredentials=!0:$.credentials==="omit"&&(B.withCredentials=!1),"responseType"in B&&(a.blob?B.responseType="blob":a.arrayBuffer&&(B.responseType="arraybuffer")),m&&typeof m.headers=="object"&&!(m.headers instanceof h||n.Headers&&m.headers instanceof n.Headers)){var On=[];Object.getOwnPropertyNames(m.headers).forEach(function(J){On.push(u(J)),B.setRequestHeader(J,p(m.headers[J]))}),$.headers.forEach(function(J,nt){On.indexOf(nt)===-1&&B.setRequestHeader(nt,J)})}else $.headers.forEach(function(J,nt){B.setRequestHeader(nt,J)});$.signal&&($.signal.addEventListener("abort",br),B.onreadystatechange=function(){B.readyState===4&&$.signal.removeEventListener("abort",br)}),B.send(typeof $._bodyInit>"u"?null:$._bodyInit)})}return X.polyfill=!0,n.fetch||(n.fetch=X,n.Headers=h,n.Request=D,n.Response=ie),o.Headers=h,o.Request=D,o.Response=ie,o.fetch=X,o}({})})($r);$r.fetch.ponyfill=!0;delete $r.fetch.polyfill;var Ht=Fr.fetch?Fr:$r;tt=Ht.fetch;tt.default=Ht.fetch;tt.fetch=Ht.fetch;tt.Headers=Ht.Headers;tt.Request=Ht.Request;tt.Response=Ht.Response;Xi.exports=tt});var Ol=S(P());var vl=S(G()),Vt=S(te());var ye;(function(e){e.text="text",e.password="password",e.email="email",e.url="url",e.number="number",e.date="date",e.time="time"})(ye||(ye={}));var Jn=S(G());var _e=S(G(),1),je=e=>typeof e=="string"?(0,_e.unsafeCSS)(e):e,t=class{static create(r,o,n,a){let s=d=>je(d??a),l=_e.css`var(${je(r)}, ${s(a)})`;return l.name=r,l.description=o,l.category=n,l.defaultValue=a,l.defaultCssValue=s,l.get=d=>_e.css`var(${je(r)}, ${s(d)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>a,l}static extend(r,o,n,a){let s=d=>n.get(d??a),l=_e.css`var(${je(r)}, ${s(a)})`;return l.name=r,l.description=o,l.category=n.category,l.fallbackVariable=n,l.defaultValue=a,l.defaultCssValue=s,l.get=d=>_e.css`var(${je(r)}, ${s(d)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),l}static external(r,o){let n=s=>r.fallbackVariable?r.fallbackVariable.get(s??r.defaultValue):je(s??r.lastResortDefaultValue()),a=_e.css`var(${je(r.name)}, ${n(r.defaultValue)})`;return a.name=r.name,a.category=r.category,a.fallbackVariable=r.fallbackVariable,a.defaultValue=r.defaultValue,a.context=o,a.defaultCssValue=n,a.get=s=>_e.css`var(${je(r.name)}, ${n(s)})`,a.breadcrumb=()=>r.fallbackVariable?[r.fallbackVariable.name,...r.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>r.lastResortDefaultValue(),a}};var i={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:t.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:t.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:t.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Rn={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","1.2"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},Nn={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","1.2"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},In={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","1.2"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Tn={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","1.2"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ln={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},_n={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Pn={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},kn={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Re={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Il={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Dn={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Bn={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Un={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Mn={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},zn={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Hn={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Wn={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Fn={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},$n={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Gn={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},it={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},jn={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Kn={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Vn={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Zn={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},qn={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},xr={display:Rn,"title-1":Nn,"title-2":In,"title-3":Tn,"body-1-regular":Ln,"body-1-medium":_n,"body-1-semibold":Pn,"body-2-regular":kn,"body-2-medium":Re,"body-2-medium-underline":Il,"body-2-semibold":Dn,"label-1-medium":Bn,"label-1-semibold":Un,"label-1-bold":Mn,"label-2-medium":zn,"label-2-semibold":Hn,"label-2-bold":Wn,"caption-1-medium":Fn,"caption-1-semibold":$n,"caption-1-bold":Gn,"caption-2-medium":it,"caption-2-semibold":jn,"caption-2-bold":Kn,"caption-3-medium":Vn,"caption-3-semibold":Zn,"caption-3-bold":qn};var c={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",i.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",i.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",i.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",i.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",i.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",i.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",i.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",i.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",i.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",i.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",i.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",i.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",i.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",i.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",i.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",i.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",i.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",i.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
3
|
-
Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",i.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",i.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",i.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",i.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",i.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",i.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",i.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",i.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",i.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",i.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",i.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",i.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",i.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",i.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",i.colorGray80),borderNeutralPrimary:t.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",i.colorGray200)};var ud={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",i.spacing4),largeGap:t.extend("--ft-button-large-gap","",i.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",i.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",i.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",i.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",i.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",i.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",i.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",i.spacing2),smallGap:t.extend("--ft-button-small-gap","",i.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",i.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",i.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",i.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",i.borderRadiusPill),primaryBrandBackgroundColor:t.extend("--ft-button-primary-brand-background-color","",c.backgroundActionPrimary),primaryBrandColor:t.extend("--ft-button-primary-brand-color","",c.contentGlobalOnColor),primaryBrandIconColor:t.extend("--ft-button-primary-brand-icon-color","",c.contentGlobalOnColor),primaryBrandStateLayerColor:t.extend("--ft-button-primary-brand-state-layer-color","",c.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:t.extend("--ft-button-primary-brand-hover-state-layer-opacity","",i.opacity16),primaryBrandFocusStateLayerOpacity:t.extend("--ft-button-primary-brand-focus-state-layer-opacity","",i.opacity16),primaryBrandActiveStateLayerOpacity:t.extend("--ft-button-primary-brand-active-state-layer-opacity","",i.opacity24),primaryBrandDisabledComponentOpacity:t.extend("--ft-button-primary-brand-disabled-component-opacity","",i.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",c.borderActionFocusRing),tertiaryBrandBackgroundColor:t.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:t.extend("--ft-button-tertiary-brand-color","",c.contentActionPrimary),tertiaryBrandIconColor:t.extend("--ft-button-tertiary-brand-icon-color","",c.contentActionPrimary),tertiaryBrandStateLayerColor:t.extend("--ft-button-tertiary-brand-state-layer-color","",c.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:t.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",i.opacity8),tertiaryBrandFocusStateLayerOpacity:t.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",i.opacity8),tertiaryBrandActiveStateLayerOpacity:t.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",i.opacity16),tertiaryBrandDisabledComponentOpacity:t.extend("--ft-button-tertiary-brand-disabled-component-opacity","",i.opacity40),tertiaryInfoBackgroundColor:t.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:t.extend("--ft-button-tertiary-info-color","",c.contentInfoPrimary),tertiaryInfoIconColor:t.extend("--ft-button-tertiary-info-icon-color","",c.contentInfoPrimary),tertiaryInfoStateLayerColor:t.extend("--ft-button-tertiary-info-state-layer-color","",c.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:t.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",i.opacity8),tertiaryInfoHoverStateLayerOpacity:t.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",i.opacity8),tertiaryInfoActiveStateLayerOpacity:t.extend("--ft-button-tertiary-info-active-state-layer-opacity","",i.opacity16),tertiaryInfoDisabledComponentOpacity:t.extend("--ft-button-tertiary-info-disabled-component-opacity","",i.opacity40),tertiarySuccessBackgroundColor:t.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:t.extend("--ft-button-tertiary-success-color","",c.contentSuccessPrimary),tertiarySuccessIconColor:t.extend("--ft-button-tertiary-success-icon-color","",c.contentSuccessPrimary),tertiarySuccessStateLayerColor:t.extend("--ft-button-tertiary-success-state-layer-color","",c.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:t.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",i.opacity8),tertiarySuccessFocusStateLayerOpacity:t.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",i.opacity8),tertiarySuccessActiveStateLayerOpacity:t.extend("--ft-button-tertiary-success-active-state-layer-opacity","",i.opacity16),tertiarySuccessDisabledComponentOpacity:t.extend("--ft-button-tertiary-success-disabled-component-opacity","",i.opacity40),tertiaryWarningBackgroundColor:t.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:t.extend("--ft-button-tertiary-warning-color","",c.contentWarningPrimary),tertiaryWarningIconColor:t.extend("--ft-button-tertiary-warning-icon-color","",c.contentWarningPrimary),tertiaryWarningStateLayerColor:t.extend("--ft-button-tertiary-warning-state-layer-color","",c.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:t.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",i.opacity8),tertiaryWarningFocusStateLayerOpacity:t.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",i.opacity8),tertiaryWarningActiveStateLayerOpacity:t.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",i.opacity16),tertiaryWarningDisabledComponentOpacity:t.extend("--ft-button-tertiary-warning-disabled-component-opacity","",i.opacity40),tertiaryErrorBackgroundColor:t.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:t.extend("--ft-button-tertiary-error-color","",c.contentErrorPrimary),tertiaryErrorIconColor:t.extend("--ft-button-tertiary-error-icon-color","",c.contentErrorPrimary),tertiaryErrorStateLayerColor:t.extend("--ft-button-tertiary-error-state-layer-color","",c.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:t.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",i.opacity8),tertiaryErrorFocusStateLayerOpacity:t.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",i.opacity8),tertiaryErrorActiveStateLayerOpacity:t.extend("--ft-button-tertiary-error-active-state-layer-opacity","",i.opacity16),tertiaryErrorDisabledComponentOpacity:t.extend("--ft-button-tertiary-error-disabled-component-opacity","",i.opacity40),tertiaryNeutralBackgroundColor:t.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:t.extend("--ft-button-tertiary-neutral-icon-color","",c.contentGlobalSecondary),tertiaryNeutralColor:t.extend("--ft-button-tertiary-neutral-color","",c.contentGlobalSecondary),tertiaryNeutralStateLayerColor:t.extend("--ft-button-tertiary-neutral-state-layer-color","",c.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",i.opacity8),tertiaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",i.opacity8),tertiaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",i.opacity16),tertiaryNeutralDisabledComponentOpacity:t.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",i.opacity40),secondaryBrandBackgroundColor:t.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:t.extend("--ft-button-secondary-brand-color","",c.contentActionPrimary),secondaryBrandIconColor:t.extend("--ft-button-secondary-brand-icon-color","",c.contentActionPrimary),secondaryBrandStateLayerColor:t.extend("--ft-button-secondary-brand-state-layer-color","",c.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:t.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",i.opacity8),secondaryBrandFocusStateLayerOpacity:t.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",i.opacity8),secondaryBrandActiveStateLayerOpacity:t.extend("--ft-button-secondary-brand-active-state-layer-opacity","",i.opacity16),secondaryBrandDisabledComponentOpacity:t.extend("--ft-button-secondary-brand-disabled-component-opacity","",i.opacity40),secondaryBrandBorderColor:t.extend("--ft-button-secondary-brand-border-color","",c.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",i.opacity8),secondaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",i.opacity8),secondaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",i.opacity16),secondaryNeutralDisabledComponentOpacity:t.extend("--ft-button-secondary-neutral-disabled-component-opacity","",i.opacity40),secondaryNeutralBackgroundColor:t.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:t.extend("--ft-button-secondary-neutral-color","",c.contentGlobalSecondary),secondaryNeutralIconColor:t.extend("--ft-button-secondary-neutral-icon-color","",c.contentGlobalSecondary),secondaryNeutralStateLayerColor:t.extend("--ft-button-secondary-neutral-state-layer-color","",c.contentGlobalSecondary),secondaryNeutralBorderColor:t.extend("--ft-button-secondary-neutral-border-color","",c.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:t.extend("--ft-button-secondary-info-hover-state-layer-opacity","",i.opacity8),secondaryInfoFocusStateLayerOpacity:t.extend("--ft-button-secondary-info-focus-state-layer-opacity","",i.opacity8),secondaryInfoActiveStateLayerOpacity:t.extend("--ft-button-secondary-info-active-state-layer-opacity","",i.opacity16),secondaryInfoDisabledComponentOpacity:t.extend("--ft-button-secondary-info-disabled-component-opacity","",i.opacity40),secondaryInfoBackgroundColor:t.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:t.extend("--ft-button-secondary-info-border-color","",c.borderInfoPrimary),secondaryInfoColor:t.extend("--ft-button-secondary-info-color","",c.contentInfoPrimary),secondaryInfoIconColor:t.extend("--ft-button-secondary-info-icon-color","",c.contentInfoPrimary),secondaryInfoStateLayerColor:t.extend("--ft-button-secondary-info-state-layer-color","",c.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:t.extend("--ft-button-secondary-success-hover-state-layer-opacity","",i.opacity8),secondarySuccessFocusStateLayerOpacity:t.extend("--ft-button-secondary-success-focus-state-layer-opacity","",i.opacity8),secondarySuccessActiveStateLayerOpacity:t.extend("--ft-button-secondary-success-active-state-layer-opacity","",i.opacity16),secondarySuccessDisabledComponentOpacity:t.extend("--ft-button-secondary-success-disabled-component-opacity","",i.opacity40),secondarySuccessBackgroundColor:t.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:t.extend("--ft-button-secondary-success-border-color","",c.borderSuccessPrimary),secondarySuccessColor:t.extend("--ft-button-secondary-success-color","",c.contentSuccessPrimary),secondarySuccessIconColor:t.extend("--ft-button-secondary-success-icon-color","",c.contentSuccessPrimary),secondarySuccessStateLayerColor:t.extend("--ft-button-secondary-success-state-layer-color","",c.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:t.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",i.opacity8),secondaryWarningFocusStateLayerOpacity:t.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",i.opacity8),secondaryWarningActiveStateLayerOpacity:t.extend("--ft-button-secondary-warning-active-state-layer-opacity","",i.opacity16),secondaryWarningDisabledComponentOpacity:t.extend("--ft-button-secondary-warning-disabled-component-opacity","",i.opacity40),secondaryWarningBackgroundColor:t.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:t.extend("--ft-button-secondary-warning-border-color","",c.borderWarningPrimary),secondaryWarningColor:t.extend("--ft-button-secondary-warning-color","",c.contentWarningPrimary),secondaryWarningIconColor:t.extend("--ft-button-secondary-warning-icon-color","",c.contentWarningPrimary),secondaryWarningStateLayerColor:t.extend("--ft-button-secondary-warning-state-layer-color","",c.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:t.extend("--ft-button-secondary-error-hover-state-layer-opacity","",i.opacity8),secondaryErrorFocusStateLayerOpacity:t.extend("--ft-button-secondary-error-focus-state-layer-opacity","",i.opacity8),secondaryErrorActiveStateLayerOpacity:t.extend("--ft-button-secondary-error-active-state-layer-opacity","",i.opacity16),secondaryErrorDisabledComponentOpacity:t.extend("--ft-button-secondary-error-disabled-component-opacity","",i.opacity40),secondaryErrorBackgroundColor:t.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:t.extend("--ft-button-secondary-error-border-color","",c.contentErrorPrimary),secondaryErrorColor:t.extend("--ft-button-secondary-error-color","",c.contentErrorPrimary),secondaryErrorIconColor:t.extend("--ft-button-secondary-error-icon-color","",c.contentErrorPrimary),secondaryErrorStateLayerColor:t.extend("--ft-button-secondary-error-state-layer-color","",c.contentErrorPrimary)};var yd={iconSize:t.extend("--ft-checkbox-icon-size","",i.iconSize2),boxSize:t.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:t.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:t.create("--ft-checkbox-border-radius","","SIZE","1px"),color:t.extend("--ft-checkbox-color","",c.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",c.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",c.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",c.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",i.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",i.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",i.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",i.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",i.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",i.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",i.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",i.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",i.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",i.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:t.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:t.extend("--ft-checkbox-horizontal-gap","",i.spacing3),leftPadding:t.extend("--ft-checkbox-left-padding","",i.spacing2)};var Sd={headerRowBorderWidth:t.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:t.extend("--ft-table-header-row-background-color","",c.backgroundGlobalOnSurfaceDark),headerRowBorderColor:t.extend("--ft-table-header-row-border-color","",c.borderGlobalPrimary),headerRowColor:t.extend("--ft-table-header-row-color","",c.contentGlobalPrimary),dataRowBorderWidth:t.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:t.extend("--ft-table-data-row-background-color","",c.backgroundGlobalOnSurface),dataRowBorderColor:t.extend("--ft-table-data-row-border-color","",c.borderGlobalSubtle),dataRowColor:t.extend("--ft-table-data-row-color","",c.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:t.extend("--ft-table-data-row-default-hover-background-color","",i.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:t.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",i.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:t.extend("--ft-table-data-row-selectable-selected-default-background-color","",i.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:t.extend("--ft-table-data-row-selectable-selected-default-border-color","",i.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:t.extend("--ft-table-data-row-selectable-selected-hover-background-color","",i.colorBrand20),dataRowSelectableSelectedHoverBorderColor:t.extend("--ft-table-data-row-selectable-selected-hover-border-color","",i.colorBrand30),dataRowSelectableSelectedColor:t.extend("--ft-table-data-row-selectable-selected-color","",c.contentActionPrimary),dataRowClickableHoverBackgroundColor:t.extend("--ft-table-data-row-clickable-hover-background-color","",i.colorGray30),dataRowClickableFocusBorderColor:t.extend("--ft-table-data-row-clickable-focus-border-color","",c.borderActionFocusRing),dataRowClickableFocusBackgroundColor:t.extend("--ft-table-data-row-clickable-focus-background-color","",i.colorGray30),dataRowClickableActiveBackgroundColor:t.extend("--ft-table-data-row-clickable-active-background-color","",i.colorGray40),headerCellHorizontalGap:t.extend("--ft-table-header-cell-horizontal-gap","",i.spacing1),headerCellVerticalPadding:t.extend("--ft-table-header-cell-vertical-padding","",i.spacing2),headerCellHorizontalPadding:t.extend("--ft-table-header-cell-horizontal-padding","",i.spacing3),dataCellVerticalPadding:t.extend("--ft-table-data-cell-vertical-padding","",i.spacing2),dataCellHorizontalPadding:t.extend("--ft-table-data-cell-horizontal-padding","",i.spacing3),dataCellVerticalGap:t.extend("--ft-table-data-cell-vertical-gap","",i.spacing1)};var Ad={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",i.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",i.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",c.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",i.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",c.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",c.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",c.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",c.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",i.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",i.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",i.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",c.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",i.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",c.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",c.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",c.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",c.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",c.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",i.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",i.spacing1),largeBorderRadius:t.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-choice-large-icon-size","",i.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",i.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",i.spacing1),mediumBorderRadius:t.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-choice-medium-icon-size","",i.iconSize2)};var Ld={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",i.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",i.spacing1),largeGap:t.extend("--ft-chip-large-gap","",i.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",i.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",i.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",i.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",i.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",i.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",i.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",i.spacing05),smallGap:t.extend("--ft-chip-small-gap","",i.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",i.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",c.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",c.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",c.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",c.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",c.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",c.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",c.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",c.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",c.borderErrorSubtle)};var Bd={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",i.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",c.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",c.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",c.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",c.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",c.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",i.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",c.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",c.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",c.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",c.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",c.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",c.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",c.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",c.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",c.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",c.contentActionPrimary),neutralVisitedColor:t.extend("--ft-link-neutral-visited-color","",i.colorBrand100)};var Wd={iconSize:t.extend("--ft-banner-icon-size","",i.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",i.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",i.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",i.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",i.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",i.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",i.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",i.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",c.borderInfoSubtle)};var Kd={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",i.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",i.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",i.borderRadiusPill),color:t.extend("--ft-badge-color","",c.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",c.contentActionPrimary)};var Xd={horizontalGap:t.extend("--ft-title-breadcrumb-horizontal-gap","",i.spacing1),currentColor:t.extend("--ft-title-breadcrumb-current-color","",c.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-title-breadcrumb-previous-non-clickable-color","",c.contentGlobalSecondary),iconColor:t.extend("--ft-title-breadcrumb-icon-color","",c.contentGlobalSubtle)};var ru={parentHorizontalPadding:t.extend("--ft-page-header-parent-horizontal-padding","",i.spacing6),parentTopPadding:t.extend("--ft-page-header-parent-top-padding","",i.spacing4),parentBottomPadding:t.extend("--ft-page-header-parent-bottom-padding","",i.spacing6),parentHelpLeftMargin:t.extend("--ft-page-header-parent-help-left-margin","",i.spacing1),parentTitleColor:t.extend("--ft-page-header-parent-title-color","",c.contentGlobalPrimary),parentSubtitleColor:t.extend("--ft-page-header-parent-subtitle-color","",c.contentGlobalSecondary),parentChipLeftMargin:t.extend("--ft-page-header-parent-chip-left-margin","",i.spacing4),parentVerticalGap:t.extend("--ft-page-header-parent-vertical-gap","",i.spacing2),parentButtonsGroupHorizontalGap:t.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",i.spacing4),parentButtonsGroupVerticalGap:t.extend("--ft-page-header-parent-buttons-group-vertical-gap","",i.spacing4),parentChipsGroupHorizontalGap:t.extend("--ft-page-header-parent-chips-group-horizontal-gap","",i.spacing2),parentChipsGroupVerticalGap:t.extend("--ft-page-header-parent-chips-group-vertical-gap","",i.spacing2),childHorizontalPadding:t.extend("--ft-page-header-child-horizontal-padding","",i.spacing6),childTopPadding:t.extend("--ft-page-header-child-top-padding","",i.spacing2),childBottomPadding:t.extend("--ft-page-header-child-bottom-padding","",i.spacing2),childHelpLeftMargin:t.extend("--ft-page-header-child-help-left-margin","",i.spacing1),childChipLeftMargin:t.extend("--ft-page-header-child-chip-left-margin","",i.spacing4),childVerticalGap:t.extend("--ft-page-header-child-vertical-gap","",i.spacing2),childMinHeight:t.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:t.extend("--ft-page-header-child-buttons-group-horizontal-gap","",i.spacing4),childButtonsGroupVerticalGap:t.extend("--ft-page-header-child-buttons-group-vertical-gap","",i.spacing4),childChipsGroupHorizontalGap:t.extend("--ft-page-header-child-chips-group-horizontal-gap","",i.spacing2),childChipsGroupVerticalGap:t.extend("--ft-page-header-child-chips-group-vertical-gap","",i.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",i.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",c.borderGlobalSubtle),bottomBorderWidth:t.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var su={horizontalPadding:t.extend("--ft-page-footer-horizontal-padding","",i.spacing6),verticalPadding:t.extend("--ft-page-footer-vertical-padding","",i.spacing2),verticalGap:t.extend("--ft-page-footer-vertical-gap","",i.spacing2),minHeight:t.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:t.extend("--ft-page-footer-background-color","",i.colorWhite),topBorderColor:t.extend("--ft-page-footer-top-border-color","",c.borderGlobalSubtle),topBorderWidth:t.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:t.extend("--ft-page-footer-buttons-group-gap","",i.spacing4)};var uu={contentHorizontalPadding:t.extend("--ft-page-layout-content-horizontal-padding","",i.spacing6),contentVerticalPadding:t.extend("--ft-page-layout-content-vertical-padding","",i.spacing6)};var yu={smallContainerTargetWidth:t.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:t.extend("--ft-modal-small-container-margin","",i.spacing6),mediumContainerTargetWidth:t.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:t.extend("--ft-modal-medium-container-margin","",i.spacing6),largeContainerTargetWidth:t.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:t.extend("--ft-modal-large-container-margin","",i.spacing6),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",i.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",i.opacity40),shadow:t.extend("--ft-modal-shadow","",i.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",i.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",i.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",i.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",i.spacing6),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",c.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",c.contentGlobalPrimary),headerLeadingIconColor:t.extend("--ft-modal-header-leading-icon-color","",c.contentGlobalPrimary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",i.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",i.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",i.spacing6),headerGap:t.extend("--ft-modal-header-gap","",i.spacing2),headerBorderBottomWidth:t.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",i.borderRadiusM)};var Su={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",i.opacity40),shadow:t.extend("--ft-drawer-shadow","",i.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",i.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",i.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",i.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",i.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",c.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",c.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",i.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",i.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",c.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",c.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",c.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",i.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",i.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",i.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",i.colorGray700)};var Au={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",i.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",i.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",i.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",i.opacity40),offColor:t.extend("--ft-tabs-off-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",c.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",c.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",i.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",i.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",i.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",i.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",i.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",i.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",i.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",i.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",i.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",i.opacity24),onColor:t.extend("--ft-tabs-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",c.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",c.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",i.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",i.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",i.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",i.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",c.borderActionFocusRing)};var Tl={largeFieldHorizontalPadding:t.extend("--ft-text-input-large-field-horizontal-padding","",i.spacing4),largeFieldHorizontalGap:t.extend("--ft-text-input-large-field-horizontal-gap","",i.spacing3),largeFieldVerticalGap:t.extend("--ft-text-input-large-field-vertical-gap","",i.spacing05),largeFieldHeight:t.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:t.extend("--ft-text-input-large-field-icon-size","",i.iconSize3),mediumFieldHorizontalPadding:t.extend("--ft-text-input-medium-field-horizontal-padding","",i.spacing4),mediumFieldHorizontalGap:t.extend("--ft-text-input-medium-field-horizontal-gap","",i.spacing3),mediumFieldVerticalGap:t.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:t.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:t.extend("--ft-text-input-medium-field-icon-size","",i.iconSize3),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",i.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",i.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",i.borderRadiusS),backgroundColor:t.extend("--ft-text-input-background-color","",i.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",c.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",c.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",c.contentErrorIconOnly),warningBorderColor:t.extend("--ft-text-input-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-text-input-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-text-input-warning-helper-icon-color","",c.contentWarningIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",i.opacity40)};var Du={backgroundColor:t.extend("--ft-text-area-background-color","",i.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",c.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",c.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",i.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",i.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",i.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",i.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",i.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",i.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",i.borderRadiusS)};var Hu={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",i.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",c.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",c.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",c.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",i.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",i.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",i.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",i.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",i.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",i.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",c.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",i.shadowElevation02)};var ju={largeFieldHorizontalPadding:t.extend("--ft-combobox-single-select-large-field-horizontal-padding","",i.spacing4),largeFieldHorizontalGap:t.extend("--ft-combobox-single-select-large-field-horizontal-gap","",i.spacing3),largeFieldVerticalGap:t.extend("--ft-combobox-single-select-large-field-vertical-gap","",i.spacing05),largeFieldHeight:t.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:t.extend("--ft-combobox-single-select-large-field-icon-size","",i.iconSize3),mediumFieldHorizontalPadding:t.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",i.spacing4),mediumFieldHorizontalGap:t.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",i.spacing3),mediumFieldVerticalGap:t.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:t.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:t.extend("--ft-combobox-single-select-medium-field-icon-size","",i.iconSize3),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",i.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",i.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",i.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",i.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",i.borderRadiusS),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",i.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",c.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",c.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",c.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",c.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",i.opacity40)};var Yu={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",i.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",c.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",c.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",c.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",c.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",i.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",i.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",i.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",i.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",i.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",i.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",i.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",i.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",i.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",i.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",i.borderRadiusS)};var tp={backgroundColor:t.extend("--ft-popover-background-color","",c.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",i.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",i.spacing6),titleColor:t.extend("--ft-popover-title-color","",c.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",c.contentGlobalSecondary),gap:t.extend("--ft-popover-gap","",i.spacing2),borderRadius:t.extend("--ft-popover-border-radius","",i.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",i.shadowElevation02),maxWidth:t.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:t.extend("--ft-popover-content-section-vertical-gap","",i.spacing2),multiSectionVerticalGap:t.extend("--ft-popover-multi-section-vertical-gap","",i.spacing6)};var ip={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",i.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",i.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",c.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",i.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",i.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",i.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",i.spacing3),color:t.extend("--ft-collapsible-color","",c.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",c.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",c.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",c.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",i.iconSize3)};var up={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",i.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",i.spacing1),groupGap:t.extend("--ft-switch-group-gap","",i.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",c.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",c.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",i.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",i.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",i.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",i.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",i.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",i.opacity40),offColor:t.extend("--ft-switch-off-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",i.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",i.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",i.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",i.opacity40),onColor:t.extend("--ft-switch-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",c.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",i.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",i.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",c.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",i.borderRadiusS)};var gp={color1Light:t.extend("--ft-chart-1-light","for area color charts",i.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",i.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",i.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",i.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",i.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",i.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",i.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",i.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",i.colorRed40),color5Base:t.extend("--ft-chart-5-base","",i.colorRed60),color6Light:t.extend("--ft-chart-6-light","",i.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",i.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",i.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",i.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",i.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",i.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",i.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",i.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",i.colorGray50),color10Base:t.extend("--ft-chart-10-base","",i.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",i.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",i.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",i.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",i.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",i.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",i.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",i.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",i.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",i.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",i.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",i.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",i.opacity48),scatterplotDatapointInitialHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",i.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",i.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",i.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",i.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",i.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",i.colorGray70),scatterplotDatapointHoverHoverRingColor:t.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",i.colorCyan200)};var xp={color1IconColor:t.extend("--ft-page-designer-1-icon-color","for area color charts",i.colorCyan0),color1ToolbarColor:t.extend("--ft-page-designer-1-toolbar-color","for area color charts",i.colorCyan0),color2IconColor:t.extend("--ft-page-designer-2-icon-color","for area color charts",i.colorBrand0),color2ToolbarColor:t.extend("--ft-page-designer-2-toolbar-color","for area color charts",i.colorBrand0),color3IconColor:t.extend("--ft-page-designer-3-icon-color","for area color charts",i.colorYellow200),color3ToolbarColor:t.extend("--ft-page-designer-3-toolbar-color","for area color charts",i.colorYellow200),color4IconColor:t.extend("--ft-page-designer-4-icon-color","for area color charts",i.colorUltramarine50),color4ToolbarColor:t.extend("--ft-page-designer-4-toolbar-color","for area color charts",i.colorUltramarine50),color5IconColor:t.extend("--ft-page-designer-5-icon-color","for area color charts",i.colorGreen0),color5ToolbarColor:t.extend("--ft-page-designer-5-toolbar-color","for area color charts",i.colorGreen0),color6IconColor:t.extend("--ft-page-designer-6-icon-color","for area color charts",i.colorOrange0),color6ToolbarColor:t.extend("--ft-page-designer-6-toolbar-color","for area color charts",i.colorOrange0),color7IconColor:t.extend("--ft-page-designer-7-icon-color","for area color charts",i.colorAvocado200),color7ToolbarColor:t.extend("--ft-page-designer-7-toolbar-color","for area color charts",i.colorAvocado200),color8IconColor:t.extend("--ft-page-designer-8-icon-color","for area color charts",i.colorBrown0),color8ToolbarColor:t.extend("--ft-page-designer-8-toolbar-color","for area color charts",i.colorBrown0)};var Ep={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",i.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",i.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",i.borderRadiusS),gap:t.extend("--ft-notice-gap","",i.spacing2),iconSize:t.extend("--ft-notice-icon-size","",i.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",c.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",c.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",c.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",c.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",c.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",c.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",c.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",c.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",c.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",c.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",c.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",c.contentSuccessIconOnly),denseHorizontalPadding:t.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:t.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:t.extend("--ft-notice-dense-gap","",i.spacing1),denseIconSize:t.extend("--ft-notice-dense-icon-size","",i.iconSize2),denseBorderWidth:t.create("--ft-notice-dense-border-width","","SIZE","0")};var Ip={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",i.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",i.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",i.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",i.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",c.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",i.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",i.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",i.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",i.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",c.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",c.contentActionPrimary),color:t.extend("--ft-toggle-color","",c.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",c.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",i.spacing3)};var kp={color:t.extend("--ft-radio-color","",c.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",c.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",c.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",i.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",i.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",i.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",i.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",c.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",c.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",i.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",i.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",i.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",i.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",i.spacing3)};var zp={iconSize:t.extend("--ft-notification-icon-size","",i.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",i.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",i.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",i.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",c.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",c.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",c.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",c.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",c.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",i.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",i.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",i.spacing8)};var Gp={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",i.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",i.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",i.borderRadiusS),color:t.extend("--ft-tooltip-color","",c.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",c.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",i.opacity80),shadow:t.extend("--ft-tooltip-shadow","",i.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",i.spacing05)};var qp={verticalPadding:t.extend("--ft-reorderable-list-vertical-padding","",i.spacing4),gap:t.extend("--ft-reorderable-list-gap","",i.spacing1),borderRadius:t.extend("--ft-reorderable-list-border-radius","",i.borderRadiusM),reorderableItemTitleMarginRight:t.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",i.spacing6),reorderableItemTitleColor:t.extend("--ft-reorderable-list-reorderable-item-title-color","",c.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:t.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",i.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:t.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",i.spacing2),reorderableItemRightButtonsGroupHorizontalGap:t.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",i.spacing2),reorderableItemUsersCountColor:t.extend("--ft-reorderable-list-reorderable-item-users-count-color","",c.contentGlobalPrimary),reorderableItemUsersCountMarginRight:t.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",i.spacing6),reorderableItemBackgroundColor:t.extend("--ft-reorderable-list-reorderable-item-background-color","",c.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:t.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",i.spacing1),reorderableItemWarningMessageColor:t.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",c.contentWarningPrimary),reorderableItemWarningMessageIconColor:t.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",c.contentWarningIconOnly),reorderableItemGripColor:t.extend("--ft-reorderable-list-reorderable-item-grip-color","",c.contentGlobalSecondary),reorderableItemGripOpacity:t.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",i.opacity48),boxShadow:t.extend("--ft-reorderable-list-box-shadow","",i.shadowElevation01),borderWidth:t.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:t.extend("--ft-reorderable-list-reorderable-items-gap","",i.spacing2),leftPadding:t.extend("--ft-reorderable-list-left-padding","",i.spacing2),rightPadding:t.extend("--ft-reorderable-list-right-padding","",i.spacing6),borderColor:t.extend("--ft-reorderable-list-border-color","",c.borderGlobalPrimary),backgroundColor:t.extend("--ft-reorderable-list-background-color","",c.backgroundGlobalOnSurfaceDark)};var ef={nodeHeight:t.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:t.extend("--ft-tree-list-node-parent-label-margin-left","",i.spacing2),nodeParentLabelMarginRight:t.extend("--ft-tree-list-node-parent-label-margin-right","",i.spacing2),nodeRootPaddingLeft:t.extend("--ft-tree-list-node-root-padding-left","",i.spacing3),nodeChildPaddingLeft:t.extend("--ft-tree-list-node-child-padding-left","",i.spacing5),nodeLeafPaddingLeft:t.extend("--ft-tree-list-node-leaf-padding-left","",i.spacing6),nodeUnselectedDefaultBorderColor:t.extend("--ft-tree-list-node-unselected-default-border-color","",c.borderGlobalSubtle),nodeUnselectedIconColor:t.extend("--ft-tree-list-node-unselected-icon-color","",c.contentGlobalSecondary),nodeUnselectedLabelColor:t.extend("--ft-tree-list-node-unselected-label-color","",c.contentGlobalSecondary),nodeUnselectedCounterColor:t.extend("--ft-tree-list-node-unselected-counter-color","",c.contentInfoPrimary),nodeHoverBorderColor:t.extend("--ft-tree-list-node-hover-border-color","",c.borderActionPrimary),nodeFocusFocusRingColor:t.extend("--ft-tree-list-node-focus-focus-ring-color","",c.borderActionFocusRing),nodeFocusOutlineWidth:t.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:t.extend("--ft-tree-list-node-selected-default-border-color","",c.borderGlobalPrimary),nodeSelectedIconColor:t.extend("--ft-tree-list-node-selected-icon-color","",c.contentGlobalSecondary),nodeSelectedLabelColor:t.extend("--ft-tree-list-node-selected-label-color","",c.contentGlobalPrimary),nodeSelectedCounterColor:t.extend("--ft-tree-list-node-selected-counter-color","",c.contentInfoPrimary),nodeSelectedBackgroundColor:t.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:t.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",c.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:t.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",c.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:t.extend("--ft-tree-list-node-descendant-of-selected-label-color","",c.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:t.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",c.contentInfoPrimary),nodeDescendantOfSelectedBackgroundColor:t.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:t.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:t.extend("--ft-tree-list-header-section-padding-left","",i.spacing3),headerSectionPaddingRight:t.extend("--ft-tree-list-header-section-padding-right","",i.spacing3),headerSectionHorizontalGap:t.extend("--ft-tree-list-header-section-horizontal-gap","",i.spacing2),headerSectionMarginBottom:t.extend("--ft-tree-list-header-section-margin-bottom","",i.spacing2),headerSectionColor:t.extend("--ft-tree-list-header-section-color","",c.contentGlobalPrimary),headerSectionCounterColor:t.extend("--ft-tree-list-header-section-counter-color","",c.contentInfoPrimary),listContainerBorderWidth:t.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:t.extend("--ft-tree-list-list-container-background-color","",c.backgroundGlobalSurface),listContainerBorderColor:t.extend("--ft-tree-list-list-container-border-color","",c.borderGlobalSubtle),loadMorePaddingLeft:t.extend("--ft-tree-list-load-more-padding-left","",i.spacing6),loadMoreUnselectedDefaultBorderColor:t.extend("--ft-tree-list-load-more-unselected-default-border-color","",c.borderGlobalSubtle),loadMoreIconColor:t.extend("--ft-tree-list-load-more-icon-color","",c.contentActionPrimary),loadMoreLabelColor:t.extend("--ft-tree-list-load-more-label-color","",c.contentActionPrimary),loadMoreHoverBorderColor:t.extend("--ft-tree-list-load-more-hover-border-color","",i.colorBrand20),loadMoreHoverBackgroundColor:t.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:t.extend("--ft-tree-list-load-more-active-border-color","",i.colorBrand20),loadMoreActiveBackgroundColor:t.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:t.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:t.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:t.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",c.borderGlobalPrimary)};var Yn;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Yn||(Yn={}));var Xn;(function(e){e.large="large",e.medium="medium",e.small="small"})(Xn||(Xn={}));var Qn=Jn.css`
|
|
1
|
+
"use strict";(()=>{var Sc=Object.create;var ea=Object.defineProperty;var Oc=Object.getOwnPropertyDescriptor;var Cc=Object.getOwnPropertyNames;var Ec=Object.getPrototypeOf,wc=Object.prototype.hasOwnProperty;var Rt=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var Ac=(e,r,o,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of Cc(r))!wc.call(e,a)&&a!==o&&ea(e,a,{get:()=>r[a],enumerable:!(n=Oc(r,a))||n.enumerable});return e};var b=(e,r,o)=>(o=e!=null?Sc(Ec(e)):{},Ac(r||!e||!e.__esModule?ea(o,"default",{value:e,enumerable:!0}):o,e));var P=Rt((Xd,ta)=>{ta.exports=ftGlobals.wcUtils});var H=Rt((Jd,ra)=>{ra.exports=ftGlobals.lit});var ee=Rt((Qd,oa)=>{oa.exports=ftGlobals.litDecorators});var Nt=Rt((Gh,La)=>{La.exports=ftGlobals.litClassMap});var gi=Rt((om,mi)=>{mi.exports=ftGlobals.litUnsafeHTML});var Ai=Rt((Om,wi)=>{wi.exports=ftGlobals.litRepeat});var Is=Rt((St,Rs)=>{var go=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,bo=function(){function e(){this.fetch=!1,this.DOMException=go.DOMException}return e.prototype=go,new e}();(function(e){var r=function(o){var n=typeof e<"u"&&e||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function i(h){return h&&DataView.prototype.isPrototypeOf(h)}if(a.arrayBuffer)var l=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=ArrayBuffer.isView||function(h){return h&&l.indexOf(Object.prototype.toString.call(h))>-1};function p(h){if(typeof h!="string"&&(h=String(h)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(h)||h==="")throw new TypeError('Invalid character in header field name: "'+h+'"');return h.toLowerCase()}function u(h){return typeof h!="string"&&(h=String(h)),h}function m(h){var x={next:function(){var k=h.shift();return{done:k===void 0,value:k}}};return a.iterable&&(x[Symbol.iterator]=function(){return x}),x}function y(h){this.map={},h instanceof y?h.forEach(function(x,k){this.append(k,x)},this):Array.isArray(h)?h.forEach(function(x){if(x.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+x.length);this.append(x[0],x[1])},this):h&&Object.getOwnPropertyNames(h).forEach(function(x){this.append(x,h[x])},this)}y.prototype.append=function(h,x){h=p(h),x=u(x);var k=this.map[h];this.map[h]=k?k+", "+x:x},y.prototype.delete=function(h){delete this.map[p(h)]},y.prototype.get=function(h){return h=p(h),this.has(h)?this.map[h]:null},y.prototype.has=function(h){return this.map.hasOwnProperty(p(h))},y.prototype.set=function(h,x){this.map[p(h)]=u(x)},y.prototype.forEach=function(h,x){for(var k in this.map)this.map.hasOwnProperty(k)&&h.call(x,this.map[k],k,this)},y.prototype.keys=function(){var h=[];return this.forEach(function(x,k){h.push(k)}),m(h)},y.prototype.values=function(){var h=[];return this.forEach(function(x){h.push(x)}),m(h)},y.prototype.entries=function(){var h=[];return this.forEach(function(x,k){h.push([k,x])}),m(h)},a.iterable&&(y.prototype[Symbol.iterator]=y.prototype.entries);function g(h){if(!h._noBody){if(h.bodyUsed)return Promise.reject(new TypeError("Already read"));h.bodyUsed=!0}}function S(h){return new Promise(function(x,k){h.onload=function(){x(h.result)},h.onerror=function(){k(h.error)}})}function v(h){var x=new FileReader,k=S(x);return x.readAsArrayBuffer(h),k}function C(h){var x=new FileReader,k=S(x),W=/charset=([A-Za-z0-9_-]+)/.exec(h.type),Y=W?W[1]:"utf-8";return x.readAsText(h,Y),k}function L(h){for(var x=new Uint8Array(h),k=new Array(x.length),W=0;W<x.length;W++)k[W]=String.fromCharCode(x[W]);return k.join("")}function I(h){if(h.slice)return h.slice(0);var x=new Uint8Array(h.byteLength);return x.set(new Uint8Array(h)),x.buffer}function N(){return this.bodyUsed=!1,this._initBody=function(h){this.bodyUsed=this.bodyUsed,this._bodyInit=h,h?typeof h=="string"?this._bodyText=h:a.blob&&Blob.prototype.isPrototypeOf(h)?this._bodyBlob=h:a.formData&&FormData.prototype.isPrototypeOf(h)?this._bodyFormData=h:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(h)?this._bodyText=h.toString():a.arrayBuffer&&a.blob&&i(h)?(this._bodyArrayBuffer=I(h.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(h)||d(h))?this._bodyArrayBuffer=I(h):this._bodyText=h=Object.prototype.toString.call(h):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof h=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(h)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var h=g(this);if(h)return h;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var h=g(this);return h||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(a.blob)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var h=g(this);if(h)return h;if(this._bodyBlob)return C(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(L(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(ve)}),this.json=function(){return this.text().then(JSON.parse)},this}var B=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function M(h){var x=h.toUpperCase();return B.indexOf(x)>-1?x:h}function U(h,x){if(!(this instanceof U))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');x=x||{};var k=x.body;if(h instanceof U){if(h.bodyUsed)throw new TypeError("Already read");this.url=h.url,this.credentials=h.credentials,x.headers||(this.headers=new y(h.headers)),this.method=h.method,this.mode=h.mode,this.signal=h.signal,!k&&h._bodyInit!=null&&(k=h._bodyInit,h.bodyUsed=!0)}else this.url=String(h);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new y(x.headers)),this.method=M(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in n){var z=new AbortController;return z.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&k)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(k),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var W=/([?&])_=[^&]*/;if(W.test(this.url))this.url=this.url.replace(W,"$1_="+new Date().getTime());else{var Y=/\?/;this.url+=(Y.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}U.prototype.clone=function(){return new U(this,{body:this._bodyInit})};function ve(h){var x=new FormData;return h.trim().split("&").forEach(function(k){if(k){var W=k.split("="),Y=W.shift().replace(/\+/g," "),z=W.join("=").replace(/\+/g," ");x.append(decodeURIComponent(Y),decodeURIComponent(z))}}),x}function Fe(h){var x=new y,k=h.replace(/\r?\n[\t ]+/g," ");return k.split("\r").map(function(W){return W.indexOf(`
|
|
2
|
+
`)===0?W.substr(1,W.length):W}).forEach(function(W){var Y=W.split(":"),z=Y.shift().trim();if(z){var jr=Y.join(":").trim();try{x.append(z,jr)}catch(Ho){console.warn("Response "+Ho.message)}}}),x}N.call(U.prototype);function xe(h,x){if(!(this instanceof xe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new y(x.headers),this.url=x.url||"",this._initBody(h)}N.call(xe.prototype),xe.prototype.clone=function(){return new xe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},xe.error=function(){var h=new xe(null,{status:200,statusText:""});return h.ok=!1,h.status=0,h.type="error",h};var He=[301,302,303,307,308];xe.redirect=function(h,x){if(He.indexOf(x)===-1)throw new RangeError("Invalid status code");return new xe(null,{status:x,headers:{location:h}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,k){this.message=x,this.name=k;var W=Error(x);this.stack=W.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function de(h,x){return new Promise(function(k,W){var Y=new U(h,x);if(Y.signal&&Y.signal.aborted)return W(new o.DOMException("Aborted","AbortError"));var z=new XMLHttpRequest;function jr(){z.abort()}z.onload=function(){var pe={statusText:z.statusText,headers:Fe(z.getAllResponseHeaders()||"")};Y.url.indexOf("file://")===0&&(z.status<200||z.status>599)?pe.status=200:pe.status=z.status,pe.url="responseURL"in z?z.responseURL:pe.headers.get("X-Request-URL");var At="response"in z?z.response:z.responseText;setTimeout(function(){k(new xe(At,pe))},0)},z.onerror=function(){setTimeout(function(){W(new TypeError("Network request failed"))},0)},z.ontimeout=function(){setTimeout(function(){W(new TypeError("Network request timed out"))},0)},z.onabort=function(){setTimeout(function(){W(new o.DOMException("Aborted","AbortError"))},0)};function Ho(pe){try{return pe===""&&n.location.href?n.location.href:pe}catch{return pe}}if(z.open(Y.method,Ho(Y.url),!0),Y.credentials==="include"?z.withCredentials=!0:Y.credentials==="omit"&&(z.withCredentials=!1),"responseType"in z&&(a.blob?z.responseType="blob":a.arrayBuffer&&(z.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof y||n.Headers&&x.headers instanceof n.Headers)){var Qn=[];Object.getOwnPropertyNames(x.headers).forEach(function(pe){Qn.push(p(pe)),z.setRequestHeader(pe,u(x.headers[pe]))}),Y.headers.forEach(function(pe,At){Qn.indexOf(At)===-1&&z.setRequestHeader(At,pe)})}else Y.headers.forEach(function(pe,At){z.setRequestHeader(At,pe)});Y.signal&&(Y.signal.addEventListener("abort",jr),z.onreadystatechange=function(){z.readyState===4&&Y.signal.removeEventListener("abort",jr)}),z.send(typeof Y._bodyInit>"u"?null:Y._bodyInit)})}return de.polyfill=!0,n.fetch||(n.fetch=de,n.Headers=y,n.Request=U,n.Response=xe),o.Headers=y,o.Request=U,o.Response=xe,o.fetch=de,o}({})})(bo);bo.fetch.ponyfill=!0;delete bo.fetch.polyfill;var lr=go.fetch?go:bo;St=lr.fetch;St.default=lr.fetch;St.fetch=lr.fetch;St.Headers=lr.Headers;St.Request=lr.Request;St.Response=lr.Response;Rs.exports=St});var vc=b(P());var bc=b(H()),yr=b(ee());var _e;(function(e){e.text="text",e.password="password",e.email="email",e.url="url",e.number="number",e.date="date",e.time="time"})(_e||(_e={}));var Ia=b(H());var Xe=b(H(),1),ut=e=>typeof e=="string"?(0,Xe.unsafeCSS)(e):e,t=class{static create(r,o,n,a){let i=d=>ut(d??a),l=Xe.css`var(${ut(r)}, ${i(a)})`;return l.name=r,l.description=o,l.category=n,l.defaultValue=a,l.defaultCssValue=i,l.set=d=>na(l,d??i(a)),l.get=d=>Xe.css`var(${ut(r)}, ${i(d)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>a,l}static extend(r,o,n,a){let i=d=>n.get(d??a),l=Xe.css`var(${ut(r)}, ${i(a)})`;return l.name=r,l.description=o,l.category=n.category,l.fallbackVariable=n,l.defaultValue=a,l.defaultCssValue=i,l.set=d=>na(l,d??i(a)),l.get=d=>Xe.css`var(${ut(r)}, ${i(d)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),l}static external(r,o){let n=i=>r.defaultCssValue(i),a=Xe.css`var(${ut(r.name)}, ${n(r.defaultValue)})`;return a.name=r.name,a.category=r.category,a.fallbackVariable=r.fallbackVariable,a.defaultValue=r.defaultValue,a.context=o,a.defaultCssValue=n,a.set=i=>r.set(i),a.get=i=>Xe.css`var(${ut(r.name)}, ${n(i)})`,a.breadcrumb=()=>r.breadcrumb(),a.lastResortDefaultValue=()=>r.lastResortDefaultValue(),a}};function na(e,r){return ut(`${e.name}: ${r}`)}var s={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:t.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:t.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:t.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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)")},aa={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","1.2"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},ia={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","1.2"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},sa={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","1.2"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},la={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","1.2"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ca={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},da={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},pa={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},ua={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},We={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Rc={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},fa={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ha={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ya={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},ma={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},ga={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},ba={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},xa={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},va={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Sa={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Oa={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},It={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ca={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ea={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},wa={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Aa={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ra={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Vr={display:aa,"title-1":ia,"title-2":sa,"title-3":la,"body-1-regular":ca,"body-1-medium":da,"body-1-semibold":pa,"body-2-regular":ua,"body-2-medium":We,"body-2-medium-underline":Rc,"body-2-semibold":fa,"label-1-medium":ha,"label-1-semibold":ya,"label-1-bold":ma,"label-2-medium":ga,"label-2-semibold":ba,"label-2-bold":xa,"caption-1-medium":va,"caption-1-semibold":Sa,"caption-1-bold":Oa,"caption-2-medium":It,"caption-2-semibold":Ca,"caption-2-bold":Ea,"caption-3-medium":wa,"caption-3-semibold":Aa,"caption-3-bold":Ra};var c={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
3
|
+
Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80),borderNeutralPrimary:t.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",s.colorGray200)};var f={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:t.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",s.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",s.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",s.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",s.spacing2),smallGap:t.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",s.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",s.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",s.borderRadiusPill),primaryBrandBackgroundColor:t.extend("--ft-button-primary-brand-background-color","",c.backgroundActionPrimary),primaryBrandColor:t.extend("--ft-button-primary-brand-color","",c.contentGlobalOnColor),primaryBrandIconColor:t.extend("--ft-button-primary-brand-icon-color","",c.contentGlobalOnColor),primaryBrandStateLayerColor:t.extend("--ft-button-primary-brand-state-layer-color","",c.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:t.extend("--ft-button-primary-brand-hover-state-layer-opacity","",s.opacity16),primaryBrandFocusStateLayerOpacity:t.extend("--ft-button-primary-brand-focus-state-layer-opacity","",s.opacity16),primaryBrandActiveStateLayerOpacity:t.extend("--ft-button-primary-brand-active-state-layer-opacity","",s.opacity24),primaryBrandDisabledComponentOpacity:t.extend("--ft-button-primary-brand-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",c.borderActionFocusRing),tertiaryBrandBackgroundColor:t.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:t.extend("--ft-button-tertiary-brand-color","",c.contentActionPrimary),tertiaryBrandIconColor:t.extend("--ft-button-tertiary-brand-icon-color","",c.contentActionPrimary),tertiaryBrandStateLayerColor:t.extend("--ft-button-tertiary-brand-state-layer-color","",c.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:t.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",s.opacity8),tertiaryBrandFocusStateLayerOpacity:t.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",s.opacity8),tertiaryBrandActiveStateLayerOpacity:t.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",s.opacity16),tertiaryBrandDisabledComponentOpacity:t.extend("--ft-button-tertiary-brand-disabled-component-opacity","",s.opacity40),tertiaryInfoBackgroundColor:t.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:t.extend("--ft-button-tertiary-info-color","",c.contentInfoPrimary),tertiaryInfoIconColor:t.extend("--ft-button-tertiary-info-icon-color","",c.contentInfoPrimary),tertiaryInfoStateLayerColor:t.extend("--ft-button-tertiary-info-state-layer-color","",c.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:t.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",s.opacity8),tertiaryInfoHoverStateLayerOpacity:t.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",s.opacity8),tertiaryInfoActiveStateLayerOpacity:t.extend("--ft-button-tertiary-info-active-state-layer-opacity","",s.opacity16),tertiaryInfoDisabledComponentOpacity:t.extend("--ft-button-tertiary-info-disabled-component-opacity","",s.opacity40),tertiarySuccessBackgroundColor:t.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:t.extend("--ft-button-tertiary-success-color","",c.contentSuccessPrimary),tertiarySuccessIconColor:t.extend("--ft-button-tertiary-success-icon-color","",c.contentSuccessPrimary),tertiarySuccessStateLayerColor:t.extend("--ft-button-tertiary-success-state-layer-color","",c.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:t.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",s.opacity8),tertiarySuccessFocusStateLayerOpacity:t.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",s.opacity8),tertiarySuccessActiveStateLayerOpacity:t.extend("--ft-button-tertiary-success-active-state-layer-opacity","",s.opacity16),tertiarySuccessDisabledComponentOpacity:t.extend("--ft-button-tertiary-success-disabled-component-opacity","",s.opacity40),tertiaryWarningBackgroundColor:t.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:t.extend("--ft-button-tertiary-warning-color","",c.contentWarningPrimary),tertiaryWarningIconColor:t.extend("--ft-button-tertiary-warning-icon-color","",c.contentWarningPrimary),tertiaryWarningStateLayerColor:t.extend("--ft-button-tertiary-warning-state-layer-color","",c.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:t.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",s.opacity8),tertiaryWarningFocusStateLayerOpacity:t.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",s.opacity8),tertiaryWarningActiveStateLayerOpacity:t.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",s.opacity16),tertiaryWarningDisabledComponentOpacity:t.extend("--ft-button-tertiary-warning-disabled-component-opacity","",s.opacity40),tertiaryErrorBackgroundColor:t.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:t.extend("--ft-button-tertiary-error-color","",c.contentErrorPrimary),tertiaryErrorIconColor:t.extend("--ft-button-tertiary-error-icon-color","",c.contentErrorPrimary),tertiaryErrorStateLayerColor:t.extend("--ft-button-tertiary-error-state-layer-color","",c.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:t.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",s.opacity8),tertiaryErrorFocusStateLayerOpacity:t.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",s.opacity8),tertiaryErrorActiveStateLayerOpacity:t.extend("--ft-button-tertiary-error-active-state-layer-opacity","",s.opacity16),tertiaryErrorDisabledComponentOpacity:t.extend("--ft-button-tertiary-error-disabled-component-opacity","",s.opacity40),tertiaryNeutralBackgroundColor:t.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:t.extend("--ft-button-tertiary-neutral-icon-color","",c.contentGlobalSecondary),tertiaryNeutralColor:t.extend("--ft-button-tertiary-neutral-color","",c.contentGlobalSecondary),tertiaryNeutralStateLayerColor:t.extend("--ft-button-tertiary-neutral-state-layer-color","",c.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",s.opacity8),tertiaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",s.opacity8),tertiaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",s.opacity16),tertiaryNeutralDisabledComponentOpacity:t.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",s.opacity40),secondaryBrandBackgroundColor:t.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:t.extend("--ft-button-secondary-brand-color","",c.contentActionPrimary),secondaryBrandIconColor:t.extend("--ft-button-secondary-brand-icon-color","",c.contentActionPrimary),secondaryBrandStateLayerColor:t.extend("--ft-button-secondary-brand-state-layer-color","",c.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:t.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",s.opacity8),secondaryBrandFocusStateLayerOpacity:t.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",s.opacity8),secondaryBrandActiveStateLayerOpacity:t.extend("--ft-button-secondary-brand-active-state-layer-opacity","",s.opacity16),secondaryBrandDisabledComponentOpacity:t.extend("--ft-button-secondary-brand-disabled-component-opacity","",s.opacity40),secondaryBrandBorderColor:t.extend("--ft-button-secondary-brand-border-color","",c.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",s.opacity8),secondaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",s.opacity8),secondaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",s.opacity16),secondaryNeutralDisabledComponentOpacity:t.extend("--ft-button-secondary-neutral-disabled-component-opacity","",s.opacity40),secondaryNeutralBackgroundColor:t.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:t.extend("--ft-button-secondary-neutral-color","",c.contentGlobalSecondary),secondaryNeutralIconColor:t.extend("--ft-button-secondary-neutral-icon-color","",c.contentGlobalSecondary),secondaryNeutralStateLayerColor:t.extend("--ft-button-secondary-neutral-state-layer-color","",c.contentGlobalSecondary),secondaryNeutralBorderColor:t.extend("--ft-button-secondary-neutral-border-color","",c.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:t.extend("--ft-button-secondary-info-hover-state-layer-opacity","",s.opacity8),secondaryInfoFocusStateLayerOpacity:t.extend("--ft-button-secondary-info-focus-state-layer-opacity","",s.opacity8),secondaryInfoActiveStateLayerOpacity:t.extend("--ft-button-secondary-info-active-state-layer-opacity","",s.opacity16),secondaryInfoDisabledComponentOpacity:t.extend("--ft-button-secondary-info-disabled-component-opacity","",s.opacity40),secondaryInfoBackgroundColor:t.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:t.extend("--ft-button-secondary-info-border-color","",c.borderInfoPrimary),secondaryInfoColor:t.extend("--ft-button-secondary-info-color","",c.contentInfoPrimary),secondaryInfoIconColor:t.extend("--ft-button-secondary-info-icon-color","",c.contentInfoPrimary),secondaryInfoStateLayerColor:t.extend("--ft-button-secondary-info-state-layer-color","",c.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:t.extend("--ft-button-secondary-success-hover-state-layer-opacity","",s.opacity8),secondarySuccessFocusStateLayerOpacity:t.extend("--ft-button-secondary-success-focus-state-layer-opacity","",s.opacity8),secondarySuccessActiveStateLayerOpacity:t.extend("--ft-button-secondary-success-active-state-layer-opacity","",s.opacity16),secondarySuccessDisabledComponentOpacity:t.extend("--ft-button-secondary-success-disabled-component-opacity","",s.opacity40),secondarySuccessBackgroundColor:t.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:t.extend("--ft-button-secondary-success-border-color","",c.borderSuccessPrimary),secondarySuccessColor:t.extend("--ft-button-secondary-success-color","",c.contentSuccessPrimary),secondarySuccessIconColor:t.extend("--ft-button-secondary-success-icon-color","",c.contentSuccessPrimary),secondarySuccessStateLayerColor:t.extend("--ft-button-secondary-success-state-layer-color","",c.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:t.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",s.opacity8),secondaryWarningFocusStateLayerOpacity:t.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",s.opacity8),secondaryWarningActiveStateLayerOpacity:t.extend("--ft-button-secondary-warning-active-state-layer-opacity","",s.opacity16),secondaryWarningDisabledComponentOpacity:t.extend("--ft-button-secondary-warning-disabled-component-opacity","",s.opacity40),secondaryWarningBackgroundColor:t.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:t.extend("--ft-button-secondary-warning-border-color","",c.borderWarningPrimary),secondaryWarningColor:t.extend("--ft-button-secondary-warning-color","",c.contentWarningPrimary),secondaryWarningIconColor:t.extend("--ft-button-secondary-warning-icon-color","",c.contentWarningPrimary),secondaryWarningStateLayerColor:t.extend("--ft-button-secondary-warning-state-layer-color","",c.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:t.extend("--ft-button-secondary-error-hover-state-layer-opacity","",s.opacity8),secondaryErrorFocusStateLayerOpacity:t.extend("--ft-button-secondary-error-focus-state-layer-opacity","",s.opacity8),secondaryErrorActiveStateLayerOpacity:t.extend("--ft-button-secondary-error-active-state-layer-opacity","",s.opacity16),secondaryErrorDisabledComponentOpacity:t.extend("--ft-button-secondary-error-disabled-component-opacity","",s.opacity40),secondaryErrorBackgroundColor:t.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:t.extend("--ft-button-secondary-error-border-color","",c.contentErrorPrimary),secondaryErrorColor:t.extend("--ft-button-secondary-error-color","",c.contentErrorPrimary),secondaryErrorIconColor:t.extend("--ft-button-secondary-error-icon-color","",c.contentErrorPrimary),secondaryErrorStateLayerColor:t.extend("--ft-button-secondary-error-state-layer-color","",c.contentErrorPrimary)};var hp={iconSize:t.extend("--ft-checkbox-icon-size","",s.iconSize2),boxSize:t.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:t.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:t.create("--ft-checkbox-border-radius","","SIZE","1px"),color:t.extend("--ft-checkbox-color","",c.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",c.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",c.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",c.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:t.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:t.extend("--ft-checkbox-horizontal-gap","",s.spacing3),leftPadding:t.extend("--ft-checkbox-left-padding","",s.spacing2)};var xp={headerRowBorderWidth:t.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:t.extend("--ft-table-header-row-background-color","",c.backgroundGlobalOnSurfaceDark),headerRowBorderColor:t.extend("--ft-table-header-row-border-color","",c.borderGlobalPrimary),headerRowColor:t.extend("--ft-table-header-row-color","",c.contentGlobalPrimary),dataRowBorderWidth:t.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:t.extend("--ft-table-data-row-background-color","",c.backgroundGlobalOnSurface),dataRowBorderColor:t.extend("--ft-table-data-row-border-color","",c.borderGlobalSubtle),dataRowColor:t.extend("--ft-table-data-row-color","",c.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:t.extend("--ft-table-data-row-default-hover-background-color","",s.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:t.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",s.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:t.extend("--ft-table-data-row-selectable-selected-default-background-color","",s.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:t.extend("--ft-table-data-row-selectable-selected-default-border-color","",s.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:t.extend("--ft-table-data-row-selectable-selected-hover-background-color","",s.colorBrand20),dataRowSelectableSelectedHoverBorderColor:t.extend("--ft-table-data-row-selectable-selected-hover-border-color","",s.colorBrand30),dataRowSelectableSelectedColor:t.extend("--ft-table-data-row-selectable-selected-color","",c.contentActionPrimary),dataRowClickableHoverBackgroundColor:t.extend("--ft-table-data-row-clickable-hover-background-color","",s.colorGray30),dataRowClickableFocusBorderColor:t.extend("--ft-table-data-row-clickable-focus-border-color","",c.borderActionFocusRing),dataRowClickableFocusBackgroundColor:t.extend("--ft-table-data-row-clickable-focus-background-color","",s.colorGray30),dataRowClickableActiveBackgroundColor:t.extend("--ft-table-data-row-clickable-active-background-color","",s.colorGray40),headerCellHorizontalGap:t.extend("--ft-table-header-cell-horizontal-gap","",s.spacing1),headerCellVerticalPadding:t.extend("--ft-table-header-cell-vertical-padding","",s.spacing2),headerCellHorizontalPadding:t.extend("--ft-table-header-cell-horizontal-padding","",s.spacing3),dataCellVerticalPadding:t.extend("--ft-table-data-cell-vertical-padding","",s.spacing2),dataCellHorizontalPadding:t.extend("--ft-table-data-cell-horizontal-padding","",s.spacing3),dataCellVerticalGap:t.extend("--ft-table-data-cell-vertical-gap","",s.spacing1)};var Ep={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",s.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",s.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",c.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",s.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",c.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",c.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",c.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",c.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",s.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",s.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",s.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",c.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",s.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",c.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",c.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",c.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",c.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",c.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",s.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",s.spacing1),largeBorderRadius:t.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-choice-large-icon-size","",s.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",s.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",s.spacing1),mediumBorderRadius:t.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-choice-medium-icon-size","",s.iconSize2)};var Np={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:t.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:t.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",c.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",c.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",c.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",c.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",c.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",c.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",c.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",c.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",c.borderErrorSubtle)};var kp={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",s.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",c.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",c.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",c.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",c.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",c.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",s.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",c.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",c.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",c.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",c.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",c.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",c.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",c.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",c.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",c.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",c.contentActionPrimary),neutralVisitedColor:t.extend("--ft-link-neutral-visited-color","",s.colorBrand100)};var Up={iconSize:t.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",c.borderInfoSubtle)};var Gp={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:t.extend("--ft-badge-color","",c.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",c.contentActionPrimary)};var qp={horizontalGap:t.extend("--ft-title-breadcrumb-horizontal-gap","",s.spacing1),currentColor:t.extend("--ft-title-breadcrumb-current-color","",c.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-title-breadcrumb-previous-non-clickable-color","",c.contentGlobalSecondary),iconColor:t.extend("--ft-title-breadcrumb-icon-color","",c.contentGlobalSubtle)};var eu={parentHorizontalPadding:t.extend("--ft-page-header-parent-horizontal-padding","",s.spacing6),parentTopPadding:t.extend("--ft-page-header-parent-top-padding","",s.spacing4),parentBottomPadding:t.extend("--ft-page-header-parent-bottom-padding","",s.spacing6),parentHelpLeftMargin:t.extend("--ft-page-header-parent-help-left-margin","",s.spacing1),parentTitleColor:t.extend("--ft-page-header-parent-title-color","",c.contentGlobalPrimary),parentSubtitleColor:t.extend("--ft-page-header-parent-subtitle-color","",c.contentGlobalSecondary),parentChipLeftMargin:t.extend("--ft-page-header-parent-chip-left-margin","",s.spacing4),parentVerticalGap:t.extend("--ft-page-header-parent-vertical-gap","",s.spacing2),parentButtonsGroupHorizontalGap:t.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",s.spacing4),parentButtonsGroupVerticalGap:t.extend("--ft-page-header-parent-buttons-group-vertical-gap","",s.spacing4),parentChipsGroupHorizontalGap:t.extend("--ft-page-header-parent-chips-group-horizontal-gap","",s.spacing2),parentChipsGroupVerticalGap:t.extend("--ft-page-header-parent-chips-group-vertical-gap","",s.spacing2),childHorizontalPadding:t.extend("--ft-page-header-child-horizontal-padding","",s.spacing6),childTopPadding:t.extend("--ft-page-header-child-top-padding","",s.spacing2),childBottomPadding:t.extend("--ft-page-header-child-bottom-padding","",s.spacing2),childHelpLeftMargin:t.extend("--ft-page-header-child-help-left-margin","",s.spacing1),childChipLeftMargin:t.extend("--ft-page-header-child-chip-left-margin","",s.spacing4),childVerticalGap:t.extend("--ft-page-header-child-vertical-gap","",s.spacing2),childMinHeight:t.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:t.extend("--ft-page-header-child-buttons-group-horizontal-gap","",s.spacing4),childButtonsGroupVerticalGap:t.extend("--ft-page-header-child-buttons-group-vertical-gap","",s.spacing4),childChipsGroupHorizontalGap:t.extend("--ft-page-header-child-chips-group-horizontal-gap","",s.spacing2),childChipsGroupVerticalGap:t.extend("--ft-page-header-child-chips-group-vertical-gap","",s.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",c.borderGlobalSubtle),bottomBorderWidth:t.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var au={horizontalPadding:t.extend("--ft-page-footer-horizontal-padding","",s.spacing6),verticalPadding:t.extend("--ft-page-footer-vertical-padding","",s.spacing2),verticalGap:t.extend("--ft-page-footer-vertical-gap","",s.spacing2),minHeight:t.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:t.extend("--ft-page-footer-background-color","",s.colorWhite),topBorderColor:t.extend("--ft-page-footer-top-border-color","",c.borderGlobalSubtle),topBorderWidth:t.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:t.extend("--ft-page-footer-buttons-group-gap","",s.spacing4)};var cu={contentHorizontalPadding:t.extend("--ft-page-layout-content-horizontal-padding","",s.spacing6),contentVerticalPadding:t.extend("--ft-page-layout-content-vertical-padding","",s.spacing6)};var hu={smallContainerTargetWidth:t.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:t.extend("--ft-modal-small-container-margin","",s.spacing6),mediumContainerTargetWidth:t.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:t.extend("--ft-modal-medium-container-margin","",s.spacing6),largeContainerTargetWidth:t.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:t.extend("--ft-modal-large-container-margin","",s.spacing6),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:t.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",s.spacing6),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",c.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",c.contentGlobalPrimary),headerLeadingIconColor:t.extend("--ft-modal-header-leading-icon-color","",c.contentGlobalPrimary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:t.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottomWidth:t.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",s.borderRadiusM)};var xu={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:t.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",c.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",c.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",c.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",c.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",c.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",s.colorGray700)};var Eu={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:t.extend("--ft-tabs-off-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",c.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",c.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity24),onColor:t.extend("--ft-tabs-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",c.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",c.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",c.borderActionFocusRing)};var Ic={largeFieldHorizontalPadding:t.extend("--ft-text-input-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:t.extend("--ft-text-input-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:t.extend("--ft-text-input-large-field-vertical-gap","",s.spacing05),largeFieldHeight:t.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:t.extend("--ft-text-input-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:t.extend("--ft-text-input-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:t.extend("--ft-text-input-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:t.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:t.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:t.extend("--ft-text-input-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",s.borderRadiusS),backgroundColor:t.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",c.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",c.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",c.contentErrorIconOnly),warningBorderColor:t.extend("--ft-text-input-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-text-input-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-text-input-warning-helper-icon-color","",c.contentWarningIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var _u={backgroundColor:t.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",c.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",c.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",s.borderRadiusS)};var Mu={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",c.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",c.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",c.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",c.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",s.shadowElevation02)};var Wu={largeFieldHorizontalPadding:t.extend("--ft-combobox-single-select-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:t.extend("--ft-combobox-single-select-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:t.extend("--ft-combobox-single-select-large-field-vertical-gap","",s.spacing05),largeFieldHeight:t.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:t.extend("--ft-combobox-single-select-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:t.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:t.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:t.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:t.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:t.extend("--ft-combobox-single-select-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusS),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",c.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",c.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",c.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",c.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var Zu={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",c.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",c.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",c.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",c.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusS)};var Qu={backgroundColor:t.extend("--ft-popover-background-color","",c.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",s.spacing6),titleColor:t.extend("--ft-popover-title-color","",c.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",c.contentGlobalSecondary),gap:t.extend("--ft-popover-gap","",s.spacing2),borderRadius:t.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",s.shadowElevation02),maxWidth:t.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:t.extend("--ft-popover-content-section-vertical-gap","",s.spacing2),multiSectionVerticalGap:t.extend("--ft-popover-multi-section-vertical-gap","",s.spacing6)};var nf={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",c.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:t.extend("--ft-collapsible-color","",c.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",c.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",c.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",c.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",s.iconSize3)};var df={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:t.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",c.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",c.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:t.extend("--ft-switch-off-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:t.extend("--ft-switch-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",c.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",c.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var hf={color1Light:t.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",s.colorRed40),color5Base:t.extend("--ft-chart-5-base","",s.colorRed60),color6Light:t.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",s.colorGray50),color10Base:t.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",s.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",s.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",s.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",s.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",s.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",s.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",s.opacity48),scatterplotDatapointInitialHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",s.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",s.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",s.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",s.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",s.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",s.colorGray70),scatterplotDatapointHoverHoverRingColor:t.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",s.colorCyan200)};var bf={color1IconColor:t.extend("--ft-page-designer-1-icon-color","for area color charts",s.colorCyan0),color1ToolbarColor:t.extend("--ft-page-designer-1-toolbar-color","for area color charts",s.colorCyan0),color2IconColor:t.extend("--ft-page-designer-2-icon-color","for area color charts",s.colorBrand0),color2ToolbarColor:t.extend("--ft-page-designer-2-toolbar-color","for area color charts",s.colorBrand0),color3IconColor:t.extend("--ft-page-designer-3-icon-color","for area color charts",s.colorYellow200),color3ToolbarColor:t.extend("--ft-page-designer-3-toolbar-color","for area color charts",s.colorYellow200),color4IconColor:t.extend("--ft-page-designer-4-icon-color","for area color charts",s.colorUltramarine50),color4ToolbarColor:t.extend("--ft-page-designer-4-toolbar-color","for area color charts",s.colorUltramarine50),color5IconColor:t.extend("--ft-page-designer-5-icon-color","for area color charts",s.colorGreen0),color5ToolbarColor:t.extend("--ft-page-designer-5-toolbar-color","for area color charts",s.colorGreen0),color6IconColor:t.extend("--ft-page-designer-6-icon-color","for area color charts",s.colorOrange0),color6ToolbarColor:t.extend("--ft-page-designer-6-toolbar-color","for area color charts",s.colorOrange0),color7IconColor:t.extend("--ft-page-designer-7-icon-color","for area color charts",s.colorAvocado200),color7ToolbarColor:t.extend("--ft-page-designer-7-toolbar-color","for area color charts",s.colorAvocado200),color8IconColor:t.extend("--ft-page-designer-8-icon-color","for area color charts",s.colorBrown0),color8ToolbarColor:t.extend("--ft-page-designer-8-toolbar-color","for area color charts",s.colorBrown0)};var Cf={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:t.extend("--ft-notice-gap","",s.spacing2),iconSize:t.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",c.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",c.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",c.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",c.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",c.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",c.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",c.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",c.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",c.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",c.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",c.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",c.contentSuccessIconOnly),denseHorizontalPadding:t.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:t.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:t.extend("--ft-notice-dense-gap","",s.spacing1),denseIconSize:t.extend("--ft-notice-dense-icon-size","",s.iconSize2),denseBorderWidth:t.create("--ft-notice-dense-border-width","","SIZE","0")};var If={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",c.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",c.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",c.contentActionPrimary),color:t.extend("--ft-toggle-color","",c.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",c.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",s.spacing3)};var _f={color:t.extend("--ft-radio-color","",c.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",c.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",c.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",c.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",c.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",s.spacing3)};var Mf={iconSize:t.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",s.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",c.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",c.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",c.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",c.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",c.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",s.spacing8)};var Wf={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:t.extend("--ft-tooltip-color","",c.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",c.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:t.extend("--ft-tooltip-shadow","",s.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",s.spacing05)};var Zf={verticalPadding:t.extend("--ft-reorderable-list-vertical-padding","",s.spacing4),gap:t.extend("--ft-reorderable-list-gap","",s.spacing1),borderRadius:t.extend("--ft-reorderable-list-border-radius","",s.borderRadiusM),reorderableItemTitleMarginRight:t.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",s.spacing6),reorderableItemTitleColor:t.extend("--ft-reorderable-list-reorderable-item-title-color","",c.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:t.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",s.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:t.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",s.spacing2),reorderableItemRightButtonsGroupHorizontalGap:t.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",s.spacing2),reorderableItemUsersCountColor:t.extend("--ft-reorderable-list-reorderable-item-users-count-color","",c.contentGlobalPrimary),reorderableItemUsersCountMarginRight:t.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",s.spacing6),reorderableItemBackgroundColor:t.extend("--ft-reorderable-list-reorderable-item-background-color","",c.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:t.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",s.spacing1),reorderableItemWarningMessageColor:t.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",c.contentWarningPrimary),reorderableItemWarningMessageIconColor:t.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",c.contentWarningIconOnly),reorderableItemGripColor:t.extend("--ft-reorderable-list-reorderable-item-grip-color","",c.contentGlobalSecondary),reorderableItemGripOpacity:t.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",s.opacity48),boxShadow:t.extend("--ft-reorderable-list-box-shadow","",s.shadowElevation01),borderWidth:t.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:t.extend("--ft-reorderable-list-reorderable-items-gap","",s.spacing2),leftPadding:t.extend("--ft-reorderable-list-left-padding","",s.spacing2),rightPadding:t.extend("--ft-reorderable-list-right-padding","",s.spacing6),borderColor:t.extend("--ft-reorderable-list-border-color","",c.borderGlobalPrimary),backgroundColor:t.extend("--ft-reorderable-list-background-color","",c.backgroundGlobalOnSurfaceDark)};var Qf={nodeHeight:t.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:t.extend("--ft-tree-list-node-parent-label-margin-left","",s.spacing2),nodeParentLabelMarginRight:t.extend("--ft-tree-list-node-parent-label-margin-right","",s.spacing2),nodeRootPaddingLeft:t.extend("--ft-tree-list-node-root-padding-left","",s.spacing3),nodeChildPaddingLeft:t.extend("--ft-tree-list-node-child-padding-left","",s.spacing5),nodeLeafPaddingLeft:t.extend("--ft-tree-list-node-leaf-padding-left","",s.spacing6),nodeUnselectedDefaultBorderColor:t.extend("--ft-tree-list-node-unselected-default-border-color","",c.borderGlobalSubtle),nodeUnselectedIconColor:t.extend("--ft-tree-list-node-unselected-icon-color","",c.contentGlobalSecondary),nodeUnselectedLabelColor:t.extend("--ft-tree-list-node-unselected-label-color","",c.contentGlobalSecondary),nodeUnselectedCounterColor:t.extend("--ft-tree-list-node-unselected-counter-color","",c.contentGlobalSecondary),nodeHoverBorderColor:t.extend("--ft-tree-list-node-hover-border-color","",c.borderActionPrimary),nodeFocusFocusRingColor:t.extend("--ft-tree-list-node-focus-focus-ring-color","",c.borderActionFocusRing),nodeFocusOutlineWidth:t.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:t.extend("--ft-tree-list-node-selected-default-border-color","",c.borderGlobalPrimary),nodeSelectedIconColor:t.extend("--ft-tree-list-node-selected-icon-color","",c.contentGlobalSecondary),nodeSelectedLabelColor:t.extend("--ft-tree-list-node-selected-label-color","",c.contentGlobalPrimary),nodeSelectedCounterColor:t.extend("--ft-tree-list-node-selected-counter-color","",c.contentGlobalSecondary),nodeSelectedBackgroundColor:t.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:t.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",c.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:t.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",c.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:t.extend("--ft-tree-list-node-descendant-of-selected-label-color","",c.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:t.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",c.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:t.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:t.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:t.extend("--ft-tree-list-header-section-padding-left","",s.spacing3),headerSectionPaddingRight:t.extend("--ft-tree-list-header-section-padding-right","",s.spacing3),headerSectionHorizontalGap:t.extend("--ft-tree-list-header-section-horizontal-gap","",s.spacing2),headerSectionMarginBottom:t.extend("--ft-tree-list-header-section-margin-bottom","",s.spacing2),headerSectionColor:t.extend("--ft-tree-list-header-section-color","",c.contentGlobalPrimary),headerSectionCounterColor:t.extend("--ft-tree-list-header-section-counter-color","",c.contentGlobalSecondary),listContainerBorderWidth:t.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:t.extend("--ft-tree-list-list-container-background-color","",c.backgroundGlobalSurface),listContainerBorderColor:t.extend("--ft-tree-list-list-container-border-color","",c.borderGlobalSubtle),loadMorePaddingLeft:t.extend("--ft-tree-list-load-more-padding-left","",s.spacing6),loadMoreUnselectedDefaultBorderColor:t.extend("--ft-tree-list-load-more-unselected-default-border-color","",c.borderGlobalSubtle),loadMoreIconColor:t.extend("--ft-tree-list-load-more-icon-color","",c.contentActionPrimary),loadMoreLabelColor:t.extend("--ft-tree-list-load-more-label-color","",c.contentActionPrimary),loadMoreHoverBorderColor:t.extend("--ft-tree-list-load-more-hover-border-color","",s.colorBrand20),loadMoreHoverBackgroundColor:t.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:t.extend("--ft-tree-list-load-more-active-border-color","",s.colorBrand20),loadMoreActiveBackgroundColor:t.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:t.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:t.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:t.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",c.borderGlobalPrimary)};var Kr;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Kr||(Kr={}));var Wt;(function(e){e.large="large",e.medium="medium",e.small="small"})(Wt||(Wt={}));var Na=Ia.css`
|
|
4
4
|
|
|
5
5
|
ftds-base-input {
|
|
6
6
|
cursor: text;
|
|
@@ -24,7 +24,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
24
24
|
input[type="date"]::-webkit-inner-spin-button,
|
|
25
25
|
input[type="time"]::-webkit-inner-spin-button,
|
|
26
26
|
input[type="date"]::-webkit-calendar-picker-indicator,
|
|
27
|
-
input[type="time"]::-webkit-calendar-picker-indicator{
|
|
27
|
+
input[type="time"]::-webkit-calendar-picker-indicator {
|
|
28
28
|
display: none;
|
|
29
29
|
-webkit-appearance: none;
|
|
30
30
|
}
|
|
@@ -32,24 +32,24 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
input[type="date"], input[type="time"] {
|
|
35
|
-
font-family: ${
|
|
36
|
-
font-size: ${
|
|
37
|
-
font-weight: ${
|
|
35
|
+
font-family: ${We.fontFamily};
|
|
36
|
+
font-size: ${We.fontSize};
|
|
37
|
+
font-weight: ${We.fontWeight};
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
`;var
|
|
41
|
-
\f\r]`,
|
|
42
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),
|
|
43
|
-
<div class="${(0,
|
|
44
|
-
${
|
|
40
|
+
`;var xc=b(Nt());var qo=globalThis,Zr=qo.trustedTypes,Ta=Zr?Zr.createPolicy("lit-html",{createHTML:e=>e}):void 0,$a="$lit$",ft=`lit$${Math.random().toFixed(9).slice(2)}$`,Ma="?"+ft,Nc=`<${Ma}>`,Pt=document,qr=()=>Pt.createComment(""),gr=e=>e===null||typeof e!="object"&&typeof e!="function",Yo=Array.isArray,Lc=e=>Yo(e)||typeof e?.[Symbol.iterator]=="function",Wo=`[
|
|
41
|
+
\f\r]`,mr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Pa=/-->/g,_a=/>/g,Lt=RegExp(`>|${Wo}(?:([^\\s"'>=/]+)(${Wo}*=${Wo}*(?:[^
|
|
42
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),ka=/'/g,Da=/"/g,Ua=/^(?:script|style|textarea|title)$/i,Xo=e=>(r,...o)=>({_$litType$:e,strings:r,values:o}),za=Xo(1),Fa=Xo(2),Ha=Xo(3),br=Symbol.for("lit-noChange"),te=Symbol.for("lit-nothing"),Ba=new WeakMap,Tt=Pt.createTreeWalker(Pt,129);function Wa(e,r){if(!Yo(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ta!==void 0?Ta.createHTML(r):r}var Tc=(e,r)=>{let o=e.length-1,n=[],a,i=r===2?"<svg>":r===3?"<math>":"",l=mr;for(let d=0;d<o;d++){let p=e[d],u,m,y=-1,g=0;for(;g<p.length&&(l.lastIndex=g,m=l.exec(p),m!==null);)g=l.lastIndex,l===mr?m[1]==="!--"?l=Pa:m[1]!==void 0?l=_a:m[2]!==void 0?(Ua.test(m[2])&&(a=RegExp("</"+m[2],"g")),l=Lt):m[3]!==void 0&&(l=Lt):l===Lt?m[0]===">"?(l=a??mr,y=-1):m[1]===void 0?y=-2:(y=l.lastIndex-m[2].length,u=m[1],l=m[3]===void 0?Lt:m[3]==='"'?Da:ka):l===Da||l===ka?l=Lt:l===Pa||l===_a?l=mr:(l=Lt,a=void 0);let S=l===Lt&&e[d+1].startsWith("/>")?" ":"";i+=l===mr?p+Nc:y>=0?(n.push(u),p.slice(0,y)+$a+p.slice(y)+ft+S):p+ft+(y===-2?d:S)}return[Wa(e,i+(e[o]||"<?>")+(r===2?"</svg>":r===3?"</math>":"")),n]},xr=class e{constructor({strings:r,_$litType$:o},n){let a;this.parts=[];let i=0,l=0,d=r.length-1,p=this.parts,[u,m]=Tc(r,o);if(this.el=e.createElement(u,n),Tt.currentNode=this.el.content,o===2||o===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(a=Tt.nextNode())!==null&&p.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let y of a.getAttributeNames())if(y.endsWith($a)){let g=m[l++],S=a.getAttribute(y).split(ft),v=/([.?@])?(.*)/.exec(g);p.push({type:1,index:i,name:v[2],strings:S,ctor:v[1]==="."?jo:v[1]==="?"?Vo:v[1]==="@"?Ko:jt}),a.removeAttribute(y)}else y.startsWith(ft)&&(p.push({type:6,index:i}),a.removeAttribute(y));if(Ua.test(a.tagName)){let y=a.textContent.split(ft),g=y.length-1;if(g>0){a.textContent=Zr?Zr.emptyScript:"";for(let S=0;S<g;S++)a.append(y[S],qr()),Tt.nextNode(),p.push({type:2,index:++i});a.append(y[g],qr())}}}else if(a.nodeType===8)if(a.data===Ma)p.push({type:2,index:i});else{let y=-1;for(;(y=a.data.indexOf(ft,y+1))!==-1;)p.push({type:7,index:i}),y+=ft.length-1}i++}}static createElement(r,o){let n=Pt.createElement("template");return n.innerHTML=r,n}};function Gt(e,r,o=e,n){if(r===br)return r;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=gr(r)?void 0:r._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(r=Gt(e,a._$AS(e,r.values),a,n)),r}var Go=class{constructor(r,o){this._$AV=[],this._$AN=void 0,this._$AD=r,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(r){let{el:{content:o},parts:n}=this._$AD,a=(r?.creationScope??Pt).importNode(o,!0);Tt.currentNode=a;let i=Tt.nextNode(),l=0,d=0,p=n[0];for(;p!==void 0;){if(l===p.index){let u;p.type===2?u=new Yr(i,i.nextSibling,this,r):p.type===1?u=new p.ctor(i,p.name,p.strings,this,r):p.type===6&&(u=new Zo(i,this,r)),this._$AV.push(u),p=n[++d]}l!==p?.index&&(i=Tt.nextNode(),l++)}return Tt.currentNode=Pt,a}p(r){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(r,n,o),o+=n.strings.length-2):n._$AI(r[o])),o++}},Yr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(r,o,n,a){this.type=2,this._$AH=te,this._$AN=void 0,this._$AA=r,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let r=this._$AA.parentNode,o=this._$AM;return o!==void 0&&r?.nodeType===11&&(r=o.parentNode),r}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(r,o=this){r=Gt(this,r,o),gr(r)?r===te||r==null||r===""?(this._$AH!==te&&this._$AR(),this._$AH=te):r!==this._$AH&&r!==br&&this._(r):r._$litType$!==void 0?this.$(r):r.nodeType!==void 0?this.T(r):Lc(r)?this.k(r):this._(r)}O(r){return this._$AA.parentNode.insertBefore(r,this._$AB)}T(r){this._$AH!==r&&(this._$AR(),this._$AH=this.O(r))}_(r){this._$AH!==te&&gr(this._$AH)?this._$AA.nextSibling.data=r:this.T(Pt.createTextNode(r)),this._$AH=r}$(r){let{values:o,_$litType$:n}=r,a=typeof n=="number"?this._$AC(r):(n.el===void 0&&(n.el=xr.createElement(Wa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new Go(a,this),l=i.u(this.options);i.p(o),this.T(l),this._$AH=i}}_$AC(r){let o=Ba.get(r.strings);return o===void 0&&Ba.set(r.strings,o=new xr(r)),o}k(r){Yo(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of r)a===o.length?o.push(n=new e(this.O(qr()),this.O(qr()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(r=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);r&&r!==this._$AB;){let n=r.nextSibling;r.remove(),r=n}}setConnected(r){this._$AM===void 0&&(this._$Cv=r,this._$AP?.(r))}},jt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(r,o,n,a,i){this.type=1,this._$AH=te,this._$AN=void 0,this.element=r,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=te}_$AI(r,o=this,n,a){let i=this.strings,l=!1;if(i===void 0)r=Gt(this,r,o,0),l=!gr(r)||r!==this._$AH&&r!==br,l&&(this._$AH=r);else{let d=r,p,u;for(r=i[0],p=0;p<i.length-1;p++)u=Gt(this,d[n+p],o,p),u===br&&(u=this._$AH[p]),l||=!gr(u)||u!==this._$AH[p],u===te?r=te:r!==te&&(r+=(u??"")+i[p+1]),this._$AH[p]=u}l&&!a&&this.j(r)}j(r){r===te?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,r??"")}},jo=class extends jt{constructor(){super(...arguments),this.type=3}j(r){this.element[this.name]=r===te?void 0:r}},Vo=class extends jt{constructor(){super(...arguments),this.type=4}j(r){this.element.toggleAttribute(this.name,!!r&&r!==te)}},Ko=class extends jt{constructor(r,o,n,a,i){super(r,o,n,a,i),this.type=5}_$AI(r,o=this){if((r=Gt(this,r,o,0)??te)===br)return;let n=this._$AH,a=r===te&&n!==te||r.capture!==n.capture||r.once!==n.once||r.passive!==n.passive,i=r!==te&&(n===te||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,r),this._$AH=r}handleEvent(r){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,r):this._$AH.handleEvent(r)}},Zo=class{constructor(r,o,n){this.element=r,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(r){Gt(this,r)}};var Pc=qo.litHtmlPolyfillSupport;Pc?.(xr,Yr),(qo.litHtmlVersions??=[]).push("3.3.0");var vr=e=>e??te;var dt=b(P());var Jo=b(H()),Qo=b(ee());function _t(e,r,o){return e?r(e):o?.(e)}var ja=b(Nt()),Va=b(P()),Ga=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Je=class extends Va.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return Jo.html`
|
|
43
|
+
<div class="${(0,ja.classMap)(this.inputLabelClasses)}">
|
|
44
|
+
${_t(this.text,()=>Jo.html`
|
|
45
45
|
<div class="ft-input-label--text ft-typography--caption">
|
|
46
46
|
<label class="ft-input-label--floating-text">${this.text}</label>
|
|
47
47
|
<span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
|
|
48
48
|
</div>
|
|
49
49
|
`)}
|
|
50
50
|
</div>
|
|
51
|
-
`}};
|
|
52
|
-
.ft-typography--${(0,
|
|
51
|
+
`}};Je.elementDefinitions={};Ga([(0,Qo.property)({type:String})],Je.prototype,"text",void 0);Ga([(0,Qo.property)({type:Boolean})],Je.prototype,"raised",void 0);var yi=b(P());var li=b(H());var Le=b(H()),R=b(P());var Xr=b(H());function Ka(e){let r=Vr[e];return Xr.css`
|
|
52
|
+
.ft-typography--${(0,Xr.unsafeCSS)(e)} {
|
|
53
53
|
font-family: ${r.fontFamily};
|
|
54
54
|
font-size: ${r.fontSize};
|
|
55
55
|
font-weight: ${r.fontWeight};
|
|
@@ -57,120 +57,120 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
57
57
|
line-height: ${r.lineHeight};
|
|
58
58
|
text-transform: ${r.textCase};
|
|
59
59
|
}
|
|
60
|
-
`}var
|
|
60
|
+
`}var Za=R.FtCssVariableFactory.extend("--ft-typography-font-family","",R.designSystemVariables.titleFont),Qe=R.FtCssVariableFactory.extend("--ft-typography-font-family","",R.designSystemVariables.contentFont),T={fontFamily:Qe,fontSize:R.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:R.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:R.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:R.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:R.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Vt={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Za),fontSize:R.FtCssVariableFactory.extend("--ft-typography-title-font-size","",T.fontSize,"20px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",T.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",T.letterSpacing,"0.15px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-title-line-height","",T.lineHeight,"1.2"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",T.textTransform,"inherit")},Kt={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Za),fontSize:R.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",T.fontSize,"14px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",T.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",T.letterSpacing,"0.105px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",T.lineHeight,"1.7"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",T.textTransform,"inherit")},Zt={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Qe),fontSize:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",T.fontSize,"16px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",T.fontWeight,"600"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",T.letterSpacing,"0.144px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",T.lineHeight,"1.5"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",T.textTransform,"inherit")},qt={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Qe),fontSize:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",T.fontSize,"14px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",T.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",T.letterSpacing,"0.098px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",T.lineHeight,"1.7"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",T.textTransform,"inherit")},Yt={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Qe),fontSize:R.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",T.fontSize,"16px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",T.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",T.letterSpacing,"0.496px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",T.lineHeight,"1.5"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",T.textTransform,"inherit")},Xt={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Qe),fontSize:R.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",T.fontSize,"14px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",T.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",T.letterSpacing,"0.252px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",T.lineHeight,"1.4"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",T.textTransform,"inherit")},ye={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Qe),fontSize:R.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",T.fontSize,"12px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",T.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",T.letterSpacing,"0.396px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",T.lineHeight,"1.33"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",T.textTransform,"inherit")},Jt={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Qe),fontSize:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",T.fontSize,"10px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",T.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",T.letterSpacing,"0.33px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",T.lineHeight,"1.6"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",T.textTransform,"inherit")},Qt={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Qe),fontSize:R.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",T.fontSize,"10px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",T.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",T.letterSpacing,"1.5px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",T.lineHeight,"1.6"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",T.textTransform,"uppercase")},Ge={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Qe),fontSize:R.FtCssVariableFactory.extend("--ft-typography-button-font-size","",T.fontSize,"14px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",T.fontWeight,"600"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",T.letterSpacing,"1.246px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-button-line-height","",T.lineHeight,"1.15"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",T.textTransform,"uppercase")},qa=Le.css`
|
|
61
61
|
.ft-typography--title {
|
|
62
|
-
font-family: ${
|
|
63
|
-
font-size: ${
|
|
64
|
-
font-weight: ${
|
|
65
|
-
letter-spacing: ${
|
|
66
|
-
line-height: ${
|
|
67
|
-
text-transform: ${
|
|
68
|
-
}
|
|
69
|
-
`,
|
|
62
|
+
font-family: ${Vt.fontFamily};
|
|
63
|
+
font-size: ${Vt.fontSize};
|
|
64
|
+
font-weight: ${Vt.fontWeight};
|
|
65
|
+
letter-spacing: ${Vt.letterSpacing};
|
|
66
|
+
line-height: ${Vt.lineHeight};
|
|
67
|
+
text-transform: ${Vt.textTransform};
|
|
68
|
+
}
|
|
69
|
+
`,Ya=Le.css`
|
|
70
70
|
.ft-typography--title-dense {
|
|
71
|
-
font-family: ${
|
|
72
|
-
font-size: ${
|
|
73
|
-
font-weight: ${
|
|
74
|
-
letter-spacing: ${
|
|
75
|
-
line-height: ${
|
|
76
|
-
text-transform: ${
|
|
77
|
-
}
|
|
78
|
-
`,
|
|
71
|
+
font-family: ${Kt.fontFamily};
|
|
72
|
+
font-size: ${Kt.fontSize};
|
|
73
|
+
font-weight: ${Kt.fontWeight};
|
|
74
|
+
letter-spacing: ${Kt.letterSpacing};
|
|
75
|
+
line-height: ${Kt.lineHeight};
|
|
76
|
+
text-transform: ${Kt.textTransform};
|
|
77
|
+
}
|
|
78
|
+
`,Xa=Le.css`
|
|
79
79
|
.ft-typography--subtitle1 {
|
|
80
|
-
font-family: ${
|
|
81
|
-
font-size: ${
|
|
82
|
-
font-weight: ${
|
|
83
|
-
letter-spacing: ${
|
|
84
|
-
line-height: ${
|
|
85
|
-
text-transform: ${
|
|
86
|
-
}
|
|
87
|
-
`,
|
|
80
|
+
font-family: ${Zt.fontFamily};
|
|
81
|
+
font-size: ${Zt.fontSize};
|
|
82
|
+
font-weight: ${Zt.fontWeight};
|
|
83
|
+
letter-spacing: ${Zt.letterSpacing};
|
|
84
|
+
line-height: ${Zt.lineHeight};
|
|
85
|
+
text-transform: ${Zt.textTransform};
|
|
86
|
+
}
|
|
87
|
+
`,Ja=Le.css`
|
|
88
88
|
.ft-typography--subtitle2 {
|
|
89
|
-
font-family: ${
|
|
90
|
-
font-size: ${
|
|
91
|
-
font-weight: ${
|
|
92
|
-
letter-spacing: ${
|
|
93
|
-
line-height: ${
|
|
94
|
-
text-transform: ${
|
|
89
|
+
font-family: ${qt.fontFamily};
|
|
90
|
+
font-size: ${qt.fontSize};
|
|
91
|
+
font-weight: ${qt.fontWeight};
|
|
92
|
+
letter-spacing: ${qt.letterSpacing};
|
|
93
|
+
line-height: ${qt.lineHeight};
|
|
94
|
+
text-transform: ${qt.textTransform};
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
`,
|
|
97
|
+
`,Qa=Le.css`
|
|
98
98
|
.ft-typography--body1 {
|
|
99
|
-
font-family: ${
|
|
100
|
-
font-size: ${
|
|
101
|
-
font-weight: ${
|
|
102
|
-
letter-spacing: ${
|
|
103
|
-
line-height: ${
|
|
104
|
-
text-transform: ${
|
|
105
|
-
}
|
|
106
|
-
`,
|
|
99
|
+
font-family: ${Yt.fontFamily};
|
|
100
|
+
font-size: ${Yt.fontSize};
|
|
101
|
+
font-weight: ${Yt.fontWeight};
|
|
102
|
+
letter-spacing: ${Yt.letterSpacing};
|
|
103
|
+
line-height: ${Yt.lineHeight};
|
|
104
|
+
text-transform: ${Yt.textTransform};
|
|
105
|
+
}
|
|
106
|
+
`,ei=Le.css`
|
|
107
107
|
.ft-typography--body2 {
|
|
108
|
-
font-family: ${
|
|
109
|
-
font-size: ${
|
|
110
|
-
font-weight: ${
|
|
111
|
-
letter-spacing: ${
|
|
112
|
-
line-height: ${
|
|
113
|
-
text-transform: ${
|
|
114
|
-
}
|
|
115
|
-
`,
|
|
108
|
+
font-family: ${Xt.fontFamily};
|
|
109
|
+
font-size: ${Xt.fontSize};
|
|
110
|
+
font-weight: ${Xt.fontWeight};
|
|
111
|
+
letter-spacing: ${Xt.letterSpacing};
|
|
112
|
+
line-height: ${Xt.lineHeight};
|
|
113
|
+
text-transform: ${Xt.textTransform};
|
|
114
|
+
}
|
|
115
|
+
`,er=Le.css`
|
|
116
116
|
.ft-typography--caption {
|
|
117
|
-
font-family: ${
|
|
118
|
-
font-size: ${
|
|
119
|
-
font-weight: ${
|
|
120
|
-
letter-spacing: ${
|
|
121
|
-
line-height: ${
|
|
122
|
-
text-transform: ${
|
|
123
|
-
}
|
|
124
|
-
`,
|
|
117
|
+
font-family: ${ye.fontFamily};
|
|
118
|
+
font-size: ${ye.fontSize};
|
|
119
|
+
font-weight: ${ye.fontWeight};
|
|
120
|
+
letter-spacing: ${ye.letterSpacing};
|
|
121
|
+
line-height: ${ye.lineHeight};
|
|
122
|
+
text-transform: ${ye.textTransform};
|
|
123
|
+
}
|
|
124
|
+
`,ti=Le.css`
|
|
125
125
|
.ft-typography--breadcrumb {
|
|
126
|
-
font-family: ${
|
|
127
|
-
font-size: ${
|
|
128
|
-
font-weight: ${
|
|
129
|
-
letter-spacing: ${
|
|
130
|
-
line-height: ${
|
|
131
|
-
text-transform: ${
|
|
132
|
-
}
|
|
133
|
-
`,
|
|
126
|
+
font-family: ${Jt.fontFamily};
|
|
127
|
+
font-size: ${Jt.fontSize};
|
|
128
|
+
font-weight: ${Jt.fontWeight};
|
|
129
|
+
letter-spacing: ${Jt.letterSpacing};
|
|
130
|
+
line-height: ${Jt.lineHeight};
|
|
131
|
+
text-transform: ${Jt.textTransform};
|
|
132
|
+
}
|
|
133
|
+
`,ri=Le.css`
|
|
134
134
|
.ft-typography--overline {
|
|
135
|
-
font-family: ${
|
|
136
|
-
font-size: ${
|
|
137
|
-
font-weight: ${
|
|
138
|
-
letter-spacing: ${
|
|
139
|
-
line-height: ${
|
|
140
|
-
text-transform: ${
|
|
141
|
-
}
|
|
142
|
-
`,
|
|
135
|
+
font-family: ${Qt.fontFamily};
|
|
136
|
+
font-size: ${Qt.fontSize};
|
|
137
|
+
font-weight: ${Qt.fontWeight};
|
|
138
|
+
letter-spacing: ${Qt.letterSpacing};
|
|
139
|
+
line-height: ${Qt.lineHeight};
|
|
140
|
+
text-transform: ${Qt.textTransform};
|
|
141
|
+
}
|
|
142
|
+
`,oi=Le.css`
|
|
143
143
|
.ft-typography--button {
|
|
144
|
-
font-family: ${
|
|
145
|
-
font-size: ${
|
|
146
|
-
font-weight: ${
|
|
147
|
-
letter-spacing: ${
|
|
148
|
-
line-height: ${
|
|
149
|
-
text-transform: ${
|
|
150
|
-
}
|
|
151
|
-
`,
|
|
144
|
+
font-family: ${Ge.fontFamily};
|
|
145
|
+
font-size: ${Ge.fontSize};
|
|
146
|
+
font-weight: ${Ge.fontWeight};
|
|
147
|
+
letter-spacing: ${Ge.letterSpacing};
|
|
148
|
+
line-height: ${Ge.lineHeight};
|
|
149
|
+
text-transform: ${Ge.textTransform};
|
|
150
|
+
}
|
|
151
|
+
`,ni=Le.css`
|
|
152
152
|
.ft-typography {
|
|
153
153
|
vertical-align: inherit;
|
|
154
154
|
}
|
|
155
|
-
`,
|
|
155
|
+
`,ai=[Object.keys(Vr).map(e=>Ka(e))];var ii=b(H()),V=b(P());var F={fontSize:V.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:V.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:V.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:V.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:V.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:V.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:V.FtCssVariableFactory.extend("--ft-input-label-border-color","",V.designSystemVariables.colorOutline),textColor:V.FtCssVariableFactory.extend("--ft-input-label-text-color","",V.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:V.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",V.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:V.FtCssVariableFactory.extend("--ft-input-label-background-color","",V.designSystemVariables.colorSurface),borderRadius:V.FtCssVariableFactory.extend("--ft-input-label-border-radius","",V.designSystemVariables.borderRadiusS),colorError:V.FtCssVariableFactory.external(V.designSystemVariables.colorError,"Design system")},si=ii.css`
|
|
156
156
|
.ft-input-label {
|
|
157
157
|
position: absolute;
|
|
158
158
|
inset: 0;
|
|
159
159
|
display: flex;
|
|
160
|
-
background-color: ${
|
|
161
|
-
border-radius: ${
|
|
160
|
+
background-color: ${F.backgroundColor};
|
|
161
|
+
border-radius: ${F.borderRadius} ${F.borderRadius} 0 0;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
.ft-input-label--outlined {
|
|
165
|
-
border-radius: ${
|
|
165
|
+
border-radius: ${F.borderRadius};
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
.ft-input-label {
|
|
169
|
-
border-color: ${
|
|
169
|
+
border-color: ${F.borderColor};
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
.ft-input-label.ft-input-label--in-error {
|
|
173
|
-
border-color: ${
|
|
173
|
+
border-color: ${F.colorError}
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
.ft-input-label:before,
|
|
@@ -183,7 +183,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
.ft-input-label:before {
|
|
186
|
-
width: calc(${
|
|
186
|
+
width: calc(${F.horizontalSpacing} - 4px);
|
|
187
187
|
flex-shrink: 0;
|
|
188
188
|
}
|
|
189
189
|
|
|
@@ -199,20 +199,20 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
199
199
|
border-bottom-width: 1px;
|
|
200
200
|
border-bottom-style: solid;
|
|
201
201
|
border-color: inherit;
|
|
202
|
-
color: ${
|
|
202
|
+
color: ${F.textColor};
|
|
203
203
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
204
|
-
max-width: calc(${
|
|
204
|
+
max-width: calc(${F.labelMaxWidth} - 2 * (${F.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
205
205
|
text-overflow: ellipsis;
|
|
206
|
-
${(0,
|
|
207
|
-
${(0,
|
|
206
|
+
${(0,V.setVariable)(ye.fontSize,F.fontSize)};
|
|
207
|
+
${(0,V.setVariable)(ye.lineHeight,F.fontSize)};
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
.ft-input-label--in-error .ft-input-label--text {
|
|
211
|
-
color: ${
|
|
211
|
+
color: ${F.colorError}
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
.ft-input-label--disabled .ft-input-label--text {
|
|
215
|
-
color: ${
|
|
215
|
+
color: ${F.disabledTextColor};
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
.ft-input-label--hidden-text {
|
|
@@ -229,19 +229,19 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
229
229
|
overflow: hidden;
|
|
230
230
|
white-space: nowrap;
|
|
231
231
|
text-overflow: ellipsis;
|
|
232
|
-
padding: ${
|
|
233
|
-
margin: calc(${
|
|
232
|
+
padding: ${F.verticalSpacing} 4px;
|
|
233
|
+
margin: calc(${F.verticalSpacing} * -1) 0;
|
|
234
234
|
max-width: 100%;
|
|
235
235
|
box-sizing: border-box;
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
.ft-input-label--raised .ft-input-label--text {
|
|
239
|
-
${(0,
|
|
240
|
-
${(0,
|
|
239
|
+
${(0,V.setVariable)(ye.fontSize,F.raisedFontSize)};
|
|
240
|
+
${(0,V.setVariable)(ye.lineHeight,F.raisedFontSize)};
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
244
|
-
top: ${
|
|
244
|
+
top: ${F.verticalSpacing};
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
.ft-input-label--outlined .ft-input-label--text,
|
|
@@ -254,35 +254,35 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
254
254
|
.ft-input-label--outlined:before {
|
|
255
255
|
border-left-width: 1px;
|
|
256
256
|
border-left-style: solid;
|
|
257
|
-
border-radius: ${
|
|
257
|
+
border-radius: ${F.borderRadius} 0 0 ${F.borderRadius};
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
.ft-input-label--outlined:after {
|
|
261
261
|
border-right-width: 1px;
|
|
262
262
|
border-right-style: solid;
|
|
263
|
-
border-radius: 0 ${
|
|
263
|
+
border-radius: 0 ${F.borderRadius} ${F.borderRadius} 0;
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
267
267
|
padding: 2px 4px;
|
|
268
|
-
z-index: ${
|
|
269
|
-
background-color: ${
|
|
270
|
-
border-radius: ${
|
|
268
|
+
z-index: ${F.raisedZIndex};
|
|
269
|
+
background-color: ${F.backgroundColor};
|
|
270
|
+
border-radius: ${F.borderRadius};
|
|
271
271
|
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
272
272
|
}
|
|
273
273
|
|
|
274
274
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
275
275
|
border-top: none;
|
|
276
276
|
}
|
|
277
|
-
`;var
|
|
277
|
+
`;var re=b(P()),me={fontSize:re.FtCssVariableFactory.extend("--ft-input-label-font-size","",We.fontSize),fontSizeRaised:re.FtCssVariableFactory.extend("--ft-input-label-font-size-raised","",It.fontSize),lineHeight:re.FtCssVariableFactory.extend("--ft-input-label-line-height","",It.lineHeight),color:re.FtCssVariableFactory.extend("--ft-input-label-color","",re.semantic.contentGlobalSubtle),largeFieldHeight:re.FtCssVariableFactory.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:re.FtCssVariableFactory.extend("--ft-input-label-large-field-vertical-gap","",s.spacing05),largeFieldHorizontalPadding:re.FtCssVariableFactory.extend("--ft-input-label-large-field-horizontal-padding","",s.spacing4),mediumFieldHeight:re.FtCssVariableFactory.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:re.FtCssVariableFactory.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:re.FtCssVariableFactory.extend("--ft-input-label-medium-field-horizontal-padding","",s.spacing4),additionalPaddingLeft:re.FtCssVariableFactory.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:re.FtCssVariableFactory.create("--ft-input-label-additional-padding-right","","SIZE","0px")},ci=[li.css`
|
|
278
278
|
|
|
279
279
|
:root {
|
|
280
|
-
--field-height: ${
|
|
281
|
-
--field-vertical-gap: ${
|
|
282
|
-
--field-horizontal-padding: ${
|
|
280
|
+
--field-height: ${me.largeFieldHeight};
|
|
281
|
+
--field-vertical-gap: ${me.largeFieldVerticalGap};
|
|
282
|
+
--field-horizontal-padding: ${me.largeFieldHorizontalPadding};
|
|
283
283
|
|
|
284
|
-
--typo-caption-height: calc(${
|
|
285
|
-
--typo-body-height: calc(${
|
|
284
|
+
--typo-caption-height: calc(${It.lineHeight} * ${It.fontSize});
|
|
285
|
+
--typo-body-height: calc(${We.lineHeight} * ${We.fontSize});
|
|
286
286
|
--caption-label-and-value-combined-height: calc(var(--field-vertical-gap) + var(--typo-caption-height) + var(--typo-body-height));
|
|
287
287
|
--input-content-vertical-padding: calc((var(--field-height) - var(--caption-label-and-value-combined-height)) / 2);
|
|
288
288
|
}
|
|
@@ -297,15 +297,15 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
.ft-input-label.ftds--size-large {
|
|
300
|
-
--field-height: ${
|
|
301
|
-
--field-vertical-gap: ${
|
|
302
|
-
--field-horizontal-padding: ${
|
|
300
|
+
--field-height: ${me.largeFieldHeight};
|
|
301
|
+
--field-vertical-gap: ${me.largeFieldVerticalGap};
|
|
302
|
+
--field-horizontal-padding: ${me.largeFieldHorizontalPadding};
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
.ft-input-label.ftds--size-medium {
|
|
306
|
-
--field-height: ${
|
|
307
|
-
--field-vertical-gap: ${
|
|
308
|
-
--field-horizontal-padding: ${
|
|
306
|
+
--field-height: ${me.mediumFieldHeight};
|
|
307
|
+
--field-vertical-gap: ${me.mediumFieldVerticalGap};
|
|
308
|
+
--field-horizontal-padding: ${me.mediumFieldHorizontalPadding};
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
.ft-input-label--text {
|
|
@@ -316,8 +316,8 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
316
316
|
z-index: 10;
|
|
317
317
|
width: 100%;
|
|
318
318
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
319
|
-
${(0,
|
|
320
|
-
${(0,
|
|
319
|
+
${(0,re.setVariable)(ye.fontSize,me.fontSize)};
|
|
320
|
+
${(0,re.setVariable)(ye.lineHeight,me.lineHeight)};
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
.ft-input-label--hidden-text {
|
|
@@ -338,33 +338,33 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
338
338
|
white-space: nowrap;
|
|
339
339
|
text-overflow: ellipsis;
|
|
340
340
|
|
|
341
|
-
padding-top: ${
|
|
342
|
-
padding-bottom: ${
|
|
343
|
-
padding-left: calc(var(--field-horizontal-padding) + ${
|
|
344
|
-
padding-right: calc(var(--field-horizontal-padding) + ${
|
|
341
|
+
padding-top: ${F.verticalSpacing};
|
|
342
|
+
padding-bottom: ${F.verticalSpacing};
|
|
343
|
+
padding-left: calc(var(--field-horizontal-padding) + ${me.additionalPaddingLeft});
|
|
344
|
+
padding-right: calc(var(--field-horizontal-padding) + ${me.additionalPaddingRight});
|
|
345
345
|
|
|
346
|
-
margin: calc(${
|
|
347
|
-
color: ${
|
|
346
|
+
margin: calc(${F.verticalSpacing} * -1) 0;
|
|
347
|
+
color: ${me.color};
|
|
348
348
|
}
|
|
349
349
|
|
|
350
350
|
.ft-input-label--raised .ft-input-label--text {
|
|
351
|
-
${(0,
|
|
352
|
-
${(0,
|
|
351
|
+
${(0,re.setVariable)(ye.fontSize,me.fontSizeRaised)};
|
|
352
|
+
${(0,re.setVariable)(ye.lineHeight,me.lineHeight)};
|
|
353
353
|
}
|
|
354
354
|
|
|
355
355
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
356
356
|
top: var(--input-content-vertical-padding);
|
|
357
357
|
}
|
|
358
358
|
|
|
359
|
-
`];var
|
|
360
|
-
<${
|
|
359
|
+
`];var hi=b(P());var pi=Symbol.for(""),_c=e=>{if(e?.r===pi)return e?._$litStatic$},en=e=>({_$litStatic$:e,r:pi});var di=new Map,tn=e=>(r,...o)=>{let n=o.length,a,i,l=[],d=[],p,u=0,m=!1;for(;u<n;){for(p=r[u];u<n&&(i=o[u],(a=_c(i))!==void 0);)p+=a+r[++u],m=!0;u!==n&&d.push(i),l.push(p),u++}if(u===n&&l.push(r[n]),m){let y=l.join("$$lit$$");(r=di.get(y))===void 0&&(l.raw=l,di.set(y,r=l)),o=d}return e(r,...o)},rn=tn(za),My=tn(Fa),Uy=tn(Ha);var on=b(ee()),fi=b(P());var je;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(je||(je={}));var ui=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Ae=class extends fi.FtLitElement{constructor(){super(...arguments),this.variant=je.body1}render(){return this.element?rn`
|
|
360
|
+
<${en(this.element)}
|
|
361
361
|
part="text"
|
|
362
362
|
class="ft-typography ft-typography--${this.variant}">
|
|
363
363
|
<slot></slot>
|
|
364
|
-
</${
|
|
365
|
-
`:
|
|
364
|
+
</${en(this.element)}>
|
|
365
|
+
`:rn`
|
|
366
366
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
367
|
-
`}};
|
|
367
|
+
`}};Ae.styles=[qa,Ya,Xa,Ja,Qa,ei,er,ti,ri,oi,ni,...ai];ui([(0,on.property)()],Ae.prototype,"element",void 0);ui([(0,on.property)()],Ae.prototype,"variant",void 0);(0,hi.customElement)("ft-typography")(Ae);var et=class extends(0,yi.toFtdsBase)(Je){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};et.styles=[er,ci];var Ii=b(P());var Jr=b(H()),Er=b(ee()),tt=b(P());var Ci=b(H());var De=b(P());var Oi=b(P());var Sr=b(H()),ht=b(ee()),vi=b(P()),Si=b(gi());var Ve;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.CIRCLE_QUESTION="",e.GRIP_LINES_SOLID="",e.TRANSLATE_SPARKLE_SOLID="",e.CODE="",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",e.PAPER_PLANE_SLASH="",e.COMPRESS="",e.EXPAND="",e.ARROW_ROTATE_LEFT="",e.EYE="",e.SHARE="󨃱",e.MOBILE_SMALL="",e.SPARKLES="",e.HAND_SOLID="",e.CLOCK_SOLID="",e.CONTEXT_MENU_CURSOR=""})(Ve||(Ve={}));var A;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(A||(A={}));var nm=new Map([...["abw"].map(e=>[e,A.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,A.AUDIO]),...["avi"].map(e=>[e,A.AVI]),...["chm","xhs"].map(e=>[e,A.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,A.CODE]),...["csv"].map(e=>[e,A.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,A.DITA]),...["epub"].map(e=>[e,A.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,A.EXCEL]),...["flac"].map(e=>[e,A.FLAC]),...["gif"].map(e=>[e,A.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,A.GZIP]),...["html","htm","xhtml"].map(e=>[e,A.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,A.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,A.JPEG]),...["json"].map(e=>[e,A.JSON]),...["m4a","m4p"].map(e=>[e,A.M4A]),...["mov","qt"].map(e=>[e,A.MOV]),...["mp3"].map(e=>[e,A.MP3]),...["mp4","m4v"].map(e=>[e,A.MP4]),...["ogg","oga"].map(e=>[e,A.OGG]),...["pdf","ps"].map(e=>[e,A.PDF]),...["png"].map(e=>[e,A.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,A.POWERPOINT]),...["rar"].map(e=>[e,A.RAR]),...["stp"].map(e=>[e,A.STP]),...["txt","rtf","md","mdown"].map(e=>[e,A.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,A.VIDEO]),...["wav"].map(e=>[e,A.WAV]),...["wma"].map(e=>[e,A.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,A.WORD]),...["xml","xsl","rdf"].map(e=>[e,A.XML]),...["yaml","yml","x-yaml"].map(e=>[e,A.YAML]),...["zip"].map(e=>[e,A.ZIP])]);var am={[A.ABW]:"#91ABC6",[A.AUDIO]:"#1795E3",[A.AVI]:"#E63324",[A.CHM]:"#71C3EB",[A.CODE]:"#71C3EB",[A.CSV]:"#1F7345",[A.DITA]:"#71C3EB",[A.EPUB]:"#85B926",[A.EXCEL]:"#1F7345",[A.FLAC]:"#1795E3",[A.GIF]:"#59B031",[A.GZIP]:"#F8AB36",[A.HTML]:"#71C3EB",[A.IMAGE]:"#59B031",[A.JPEG]:"#59B031",[A.JSON]:"#71C3EB",[A.M4A]:"#1795E3",[A.MOV]:"#E63324",[A.MP3]:"#1795E3",[A.MP4]:"#E63324",[A.OGG]:"#1795E3",[A.PDF]:"#E44948",[A.PNG]:"#59B031",[A.POWERPOINT]:"#B54A2B",[A.RAR]:"#F8AB36",[A.STP]:"#3764B1",[A.TEXT]:"#3162AB",[A.UNKNOWN]:"#999999",[A.VIDEO]:"#E63324",[A.WAV]:"#1795E3",[A.WMA]:"#1795E3",[A.WORD]:"#3162AB",[A.XML]:"#71C3EB",[A.YAML]:"#71C3EB",[A.ZIP]:"#F8AB36"};var bi=b(H()),ke=b(P()),ue={size:ke.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ke.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",ke.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ke.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",ke.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ke.FtCssVariableFactory.extend("--ft-icon-material-font-family","",ke.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ke.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},xi=[bi.css`
|
|
368
368
|
:host, i.ft-icon {
|
|
369
369
|
display: inline-flex;
|
|
370
370
|
align-items: center;
|
|
@@ -373,14 +373,14 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
373
373
|
}
|
|
374
374
|
|
|
375
375
|
:host {
|
|
376
|
-
width: ${
|
|
377
|
-
height: ${
|
|
376
|
+
width: ${ue.size};
|
|
377
|
+
height: ${ue.size};
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
i.ft-icon {
|
|
381
381
|
width: 100%;
|
|
382
382
|
height: 100%;
|
|
383
|
-
font-size: ${
|
|
383
|
+
font-size: ${ue.size};
|
|
384
384
|
line-height: 1;
|
|
385
385
|
font-weight: normal;
|
|
386
386
|
text-transform: none;
|
|
@@ -391,33 +391,33 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
391
391
|
text-rendering: auto;
|
|
392
392
|
-webkit-font-smoothing: antialiased;
|
|
393
393
|
-moz-osx-font-smoothing: grayscale;
|
|
394
|
-
vertical-align: ${
|
|
394
|
+
vertical-align: ${ue.verticalAlign};
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
i.ft-icon.ft-icon--fluid-topics {
|
|
398
|
-
font-family: ${
|
|
398
|
+
font-family: ${ue.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
399
399
|
|
|
400
400
|
/* Ugly fix because font is broken */
|
|
401
|
-
font-size: calc(0.75 * ${
|
|
402
|
-
line-height: ${
|
|
401
|
+
font-size: calc(0.75 * ${ue.size});
|
|
402
|
+
line-height: ${ue.size};
|
|
403
403
|
position: relative;
|
|
404
404
|
top: -4%;
|
|
405
405
|
justify-content: center;
|
|
406
406
|
}
|
|
407
407
|
|
|
408
408
|
.ft-icon--file-format {
|
|
409
|
-
font-family: ${
|
|
409
|
+
font-family: ${ue.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
410
410
|
}
|
|
411
411
|
|
|
412
412
|
.ft-icon--material {
|
|
413
|
-
font-family: ${
|
|
413
|
+
font-family: ${ue.materialFontFamily}, "Material Icons", sans-serif;
|
|
414
414
|
}
|
|
415
|
-
`,
|
|
415
|
+
`,ke.noTextSelect];var Re;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Re||(Re={}));var Or=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},ne=class extends vi.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Sr.nothing}render(){let r=this.variant&&Object.values(Re).includes(this.variant)?this.variant:Re.fluid_topics,o=r!==Re.material||!!this.value;return Sr.html`
|
|
416
416
|
<i class="ft-icon ft-icon--${r} ft-no-text-select" part="icon icon-${r}">
|
|
417
|
-
${(0,
|
|
417
|
+
${(0,Si.unsafeHTML)(this.resolvedIcon)}
|
|
418
418
|
<slot ?hidden=${o}></slot>
|
|
419
419
|
</i>
|
|
420
|
-
`}get textContent(){var r,o;return(o=(r=this.slottedContent)===null||r===void 0?void 0:r.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(r){super.update(r),["value","variant"].some(o=>r.has(o))&&this.resolveIcon()}resolveIcon(){var r,o;let n=this.value||this.textContent;switch(this.variant){case
|
|
420
|
+
`}get textContent(){var r,o;return(o=(r=this.slottedContent)===null||r===void 0?void 0:r.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(r){super.update(r),["value","variant"].some(o=>r.has(o))&&this.resolveIcon()}resolveIcon(){var r,o;let n=this.value||this.textContent;switch(this.variant){case Re.file_format:this.resolvedIcon=(r=A[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break;case Re.material:this.resolvedIcon=this.value||Sr.nothing;break;default:this.resolvedIcon=(o=Ve[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(r){super.firstUpdated(r),setTimeout(()=>this.resolveIcon())}};ne.elementDefinitions={};ne.styles=xi;Or([(0,ht.property)()],ne.prototype,"variant",void 0);Or([(0,ht.property)()],ne.prototype,"value",void 0);Or([(0,ht.property)({reflect:!0,attribute:"aria-hidden"})],ne.prototype,"ariaHidden",void 0);Or([(0,ht.state)()],ne.prototype,"resolvedIcon",void 0);Or([(0,ht.query)("slot")],ne.prototype,"slottedContent",void 0);(0,Oi.customElement)("ft-icon")(ne);var Cr={color:De.FtCssVariableFactory.extend("--ftds-helper-text-color","",c.contentGlobalSubtle),errorColor:De.FtCssVariableFactory.extend("--ftds-helper-text-error-icon-color","",c.contentErrorPrimary),warningColor:De.FtCssVariableFactory.extend("--ftds-helper-text-warning-icon-color","",c.contentWarningPrimary),iconSize:De.FtCssVariableFactory.extend("--ftds-helper-text-icon-size","",De.foundation.iconSize2),iconHorizontalGap:De.FtCssVariableFactory.extend("--ftds-helper-text-icon-horizontal-gap","",De.foundation.spacing1)},Ei=Ci.css`
|
|
421
421
|
.ftds-input-helper-text {
|
|
422
422
|
box-sizing: border-box;
|
|
423
423
|
list-style-type: none;
|
|
@@ -430,19 +430,19 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
430
430
|
text-decoration: none;
|
|
431
431
|
display: flex;
|
|
432
432
|
align-items: baseline;
|
|
433
|
-
color: ${
|
|
433
|
+
color: ${Cr.color};
|
|
434
434
|
}
|
|
435
435
|
|
|
436
436
|
.ftds-input-helper-text--list-item.error {
|
|
437
|
-
color: ${
|
|
437
|
+
color: ${Cr.errorColor};
|
|
438
438
|
}
|
|
439
439
|
|
|
440
440
|
.ftds-input-helper-text--list-item.warning {
|
|
441
|
-
color: ${
|
|
441
|
+
color: ${Cr.warningColor};
|
|
442
442
|
}
|
|
443
443
|
|
|
444
444
|
.ftds-input-helper-text--list-item.hasIcon ft-typography {
|
|
445
|
-
padding-left: calc(${
|
|
445
|
+
padding-left: calc(${Cr.iconHorizontalGap} - 2px);
|
|
446
446
|
}
|
|
447
447
|
|
|
448
448
|
.ftds-input-helper-text--list-item.hasIcon {
|
|
@@ -450,29 +450,29 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
450
450
|
}
|
|
451
451
|
|
|
452
452
|
ft-icon {
|
|
453
|
-
${(0,
|
|
453
|
+
${(0,De.setVariable)(ue.size,Cr.iconSize)};
|
|
454
454
|
}
|
|
455
|
-
`;var
|
|
456
|
-
<ul class="ftds-input-helper-text"
|
|
457
|
-
${(0,
|
|
458
|
-
${(0,
|
|
459
|
-
${
|
|
455
|
+
`;var nn=b(Ai());var Ri=b(Nt());var Qr=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Se=class extends tt.FtLitElement{constructor(){super(...arguments),this.errorMessages=[],this.warningMessages=[],this.ariaHidden="true"}render(){return Jr.html`
|
|
456
|
+
<ul class="ftds-input-helper-text">
|
|
457
|
+
${(0,nn.repeat)(this.errorMessages,r=>this.renderMessage(r,tt.Status.error))}
|
|
458
|
+
${(0,nn.repeat)(this.warningMessages,r=>this.renderMessage(r,tt.Status.warning))}
|
|
459
|
+
${_t(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>this.renderMessage(this.helperText,tt.Status.default))}
|
|
460
460
|
</ul>
|
|
461
|
-
`}renderMessage(r,o){let n=this.toIconIdentifier(o),a={"ftds-input-helper-text--list-item":!0,hasIcon:!!n,[o]:!0};return
|
|
462
|
-
<li class="${(0,
|
|
463
|
-
${
|
|
461
|
+
`}renderMessage(r,o){let n=this.toIconIdentifier(o),a={"ftds-input-helper-text--list-item":!0,hasIcon:!!n,[o]:!0};return Jr.html`
|
|
462
|
+
<li class="${(0,Ri.classMap)(a)}">
|
|
463
|
+
${_t(n,()=>Jr.html`
|
|
464
464
|
<ft-icon class="icon" value="${n}" part="icon"></ft-icon>`)}
|
|
465
|
-
<ft-typography part="text" variant="${
|
|
465
|
+
<ft-typography part="text" variant="${je.caption1medium}">${r}</ft-typography>
|
|
466
466
|
</li>
|
|
467
|
-
`}toIconIdentifier(r){switch(r){case
|
|
468
|
-
`;var
|
|
469
|
-
`;var
|
|
467
|
+
`}toIconIdentifier(r){switch(r){case tt.Status.error:return Ve.OCTAGON_XMARK;case tt.Status.warning:return Ve.WARNING;case tt.Status.default:return}}};Se.elementDefinitions={"ft-typography":Ae,"ft-icon":ne};Se.styles=Ei;Qr([(0,Er.property)()],Se.prototype,"helperText",void 0);Qr([(0,Er.property)({type:Array})],Se.prototype,"errorMessages",void 0);Qr([(0,Er.property)({type:Array})],Se.prototype,"warningMessages",void 0);Qr([(0,Er.property)({reflect:!0,attribute:"aria-hidden"})],Se.prototype,"ariaHidden",void 0);(0,Ii.customElement)("ftds-input-helper-text")(Se);var yl=b(P());var Io=b(H()),No=b(ee()),Lo=b(P());var Ni=b(H());var Li=Ni.css`
|
|
468
|
+
`;var Ao=b(P());var ll=b(P());var ki=b(H()),Oe=b(ee()),Be=b(P());var Ti=b(H());var Pi=Ti.css`
|
|
469
|
+
`;var to=b(P()),kc="ft-app-info",eo=class e extends CustomEvent{constructor(r){super(e.eventName,{detail:r})}};eo.eventName="authentication-change";var Dc={session:(e,r)=>{(0,to.deepEqual)(e.session,r.payload)||(e.session=r.payload,setTimeout(()=>D.dispatchEvent(new eo(r.payload)),0))}},D=to.FtReduxStore.get({name:kc,reducers:Dc,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var Ke=b(P());var an=b(P());var kt=class e{static get(r){let{baseUrl:o,apiIntegrationIdentifier:n}=D.getState(),a=r??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(r){return new Promise(o=>{let n=e.get(r);if(n)o(n);else{let a=D.subscribe(()=>{n=e.get(r),n&&(a(),o(n))})}})}};var wr=class{constructor(r){this.overrideApi=r}get api(){var r;return(r=this.overrideApi)!==null&&r!==void 0?r:kt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):kt.await()}};var yt=class extends wr{constructor(r=!0,o){var n;super(o);let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new an.CacheRegistry,this.cache=r?a.commonCache:new an.CacheRegistry}clearCache(){this.cache.clearAll()}};var _i,Bc=Symbol("clearAfterUnitTest"),ro=class extends yt{constructor(r){super(),this.messageContextProvider=r,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[_i]=()=>{this.defaultMessages={},this.cache=new Ke.CacheRegistry,this.listeners={}},this.currentUiLocale=D.getState().uiLocale,D.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:r}=D.getState();this.currentUiLocale!==r&&(this.currentUiLocale=r,this.cache.clearAll(),this.notifyAll())}addContext(r){let o=r.name.toLowerCase();this.cache.setFinal(o,r),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(r,o){var n;if(r=r.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[r])!==null&&n!==void 0?n:{},...o};(0,Ke.deepEqual)(this.defaultMessages[r],a)||(this.defaultMessages[r]=a,await this.notify(r))}return this.fetchContext(r)}resolveContext(r){var o,n;return this.fetchContext(r),(n=(o=this.cache.getNow(r))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(r,o){let n=r.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(r,o,...n){var a;let i=r.toLowerCase(),l=this.resolveContext(i);return new Ke.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},l).resolve(o,...n)}async fetchContext(r){let o=!this.cache.has(r),n;try{n=await this.cache.get(r,()=>this.messageContextProvider(this.currentUiLocale,r))}catch(a){!(a instanceof Ke.CanceledPromiseError)&&o&&console.error(a)}return o&&await this.notify(r),n}subscribe(r,o){var n;return r=r.toLowerCase(),this.listeners[r]=(n=this.listeners[r])!==null&&n!==void 0?n:new Set,this.listeners[r].add(o),()=>{var a;return(a=this.listeners[r])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(r=>this.notify(r)))}async notify(r){this.listeners[r]!=null&&await Promise.all([...this.listeners[r].values()].map(o=>(0,Ke.delay)(0).then(()=>o()).catch(()=>null)))}};_i=Bc;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends ro{constructor(){super(async(e,r)=>(await this.awaitApi).getFluidTopicsMessageContext(e,r))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends ro{constructor(){super(async(e,r)=>(await this.awaitApi).getCustomMessageContext(e,r))}});var tr=window.FluidTopicsI18nService,oo=window.FluidTopicsCustomI18nService;var ge=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},X=class extends Be.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>kt.get(),this.messageContexts=[],this.cache=new Be.CacheRegistry,this.cleanSessionDebouncer=new Be.Debouncer}render(){return ki.html`
|
|
470
470
|
<slot></slot>
|
|
471
|
-
`}update(r){var o,n,a,s,l;super.update(r),r.has("baseUrl")&&(L.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),r.has("apiIntegrationIdentifier")&&L.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),r.has("uiLocale")&&L.actions.uiLocale(this.uiLocale),r.has("metadataConfiguration")&&L.actions.metadataConfiguration(this.metadataConfiguration),r.has("noCustom")&&L.actions.noCustom(this.noCustom),r.has("editorMode")&&L.actions.editorMode(this.editorMode),r.has("noCustomComponent")&&L.actions.noCustomComponent(this.noCustomComponent),r.has("session")&&L.actions.session(this.session),r.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(d=>Pt.addContext(d)),r.has("openExternalDocumentInNewTab")&&L.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),r.has("navigatorOnline")&&L.actions.navigatorOnline(this.navigatorOnline),r.has("forcedOffline")&&L.actions.forcedOffline(this.forcedOffline),r.has("localesConfiguration")&&(L.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),L.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),L.actions.searchInAllLanguagesAllowed((l=(s=this.localesConfiguration)===null||s===void 0?void 0:s.allLanguagesAllowed)!==null&&l!==void 0?l:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},r.idleTimeoutInMillis),r})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};j.elementDefinitions={};j.styles=ri;ne([(0,le.property)()],j.prototype,"baseUrl",void 0);ne([(0,le.property)()],j.prototype,"apiIntegrationIdentifier",void 0);ne([(0,le.property)()],j.prototype,"uiLocale",void 0);ne([(0,Se.jsonProperty)(null)],j.prototype,"availableUiLocales",void 0);ne([(0,Se.jsonProperty)(null)],j.prototype,"metadataConfiguration",void 0);ne([(0,le.property)({type:Boolean})],j.prototype,"editorMode",void 0);ne([(0,le.property)({type:Boolean})],j.prototype,"noCustom",void 0);ne([(0,le.property)({type:Boolean})],j.prototype,"openExternalDocumentInNewTab",void 0);ne([(0,le.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],j.prototype,"noCustomComponent",void 0);ne([(0,le.property)({type:Boolean})],j.prototype,"withManualResources",void 0);ne([(0,le.property)({type:Boolean})],j.prototype,"navigatorOnline",void 0);ne([(0,le.property)({type:Boolean})],j.prototype,"forcedOffline",void 0);ne([(0,le.property)({type:Object})],j.prototype,"apiProvider",void 0);ne([(0,Se.jsonProperty)([])],j.prototype,"messageContexts",void 0);ne([(0,Se.jsonProperty)(void 0)],j.prototype,"session",void 0);ne([(0,le.state)()],j.prototype,"localesConfiguration",void 0);var wc=S(te());function zl(e,r){if(e===r)return!0;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return!1;var o,n,a;if(Array.isArray(e)){if(o=e.length,o!=r.length)return!1;for(n=o;n--!==0;)if(!Tr(e[n],r[n]))return!1;return!0}if(e instanceof Map&&r instanceof Map){if(e.size!==r.size)return!1;for(n of e.entries())if(!r.has(n[0]))return!1;for(n of e.entries())if(!Tr(n[1],r.get(n[0])))return!1;return!0}if(e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(n of e.entries())if(!r.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();let s=l=>Object.keys(l).filter(d=>l[d]!=null);if(a=s(e),o=a.length,o!==s(r).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(r,a[n]))return!1;for(n=o;n--!==0;){let l=a[n];if(!Tr(e[l],r[l]))return!1}return!0}return e!==e&&r!==r||e==null&&r==null}function Tr(e,r){try{return zl(e,r)}catch{return!1}}function Lr(e,r){return!Tr(e,r)}var Hl=S(te(),1);var _r=class{constructor(){this.queue=[]}add(r,o=!1){o&&this.clear(r.type),this.queue.push(r)}consume(r){let o=this.queue.find(n=>n.type===r);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(r){typeof r=="string"?this.queue=this.queue.filter(o=>o.type!==r):this.queue=this.queue.filter(o=>!r.test(o.type))}};var kt=S(te(),1);var ai=S(te(),1);function ii(e,r){let o=()=>JSON.parse(JSON.stringify(e));return(0,ai.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Lr,...r??{}})}var Pr=class{constructor(r=0){this.timeout=r,this.callbacks=[]}run(r,o){return this.callbacks=[r],this.debounce(o)}queue(r,o){return this.callbacks.push(r),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(r){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),r??this.timeout),this.promise}async runCallbacks(){var r,o;let n=[...this.callbacks];this.callbacks=[];let a=(r=this.rejectPromise)!==null&&r!==void 0?r:()=>null,s=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(d){a(d);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var li=S(G(),1);var kr=globalThis,Wl=kr.ShadowRoot&&(kr.ShadyCSS===void 0||kr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,sy=Symbol();var si=(e,r)=>{if(Wl)e.adoptedStyleSheets=r.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of r){let n=document.createElement("style"),a=kr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var Dr=class extends li.LitElement{createRenderRoot(){let r=this.constructor;r.elementDefinitions&&!r.registry&&(r.registry=new CustomElementRegistry,Object.entries(r.elementDefinitions).forEach(([a,s])=>r.registry.define(a,s)));let o={...r.shadowRootOptions,customElements:r.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return si(n,r.elementStyles),n}};function ci(e,r,...o){var n;let a=e.querySelector(r);for(let s of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return a}var or=function(e,r,o,n){var a=arguments.length,s=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(s=(a<3?l(s):a>3?l(r,o,s):l(r,o))||s);return a>3&&s&&Object.defineProperty(r,o,s),s},fi,di=Symbol("constructorPrototype"),ui=Symbol("constructorName"),hi=Symbol("exportpartsDebouncer"),pi=Symbol("dynamicDependenciesLoaded"),Ue=class extends Dr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[fi]=new Pr(5),this[ui]=this.constructor.name,this[di]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ui]&&Object.setPrototypeOf(this,this[di])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let r=this.constructor;r[pi]||(r[pi]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(r){super.updated(r),this.updateComplete.then(()=>{this.contentAvailableCallback(r),this.focusElementToFocus(r),this.applyCustomStylesheet(r),this.scheduleExportpartsUpdate()})}contentAvailableCallback(r){}focusElementToFocus(r){if(r.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let s=[...a??[],n];o=ci(this.shadowRoot,...s)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(r){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(r.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}scheduleExportpartsUpdate(){var r,o,n;(!((r=this.exportpartsPrefix)===null||r===void 0)&&r.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[hi].run(()=>{var a,s;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(r){var o,n,a,s,l,d;let u=y=>y!=null&&y.trim().length>0,p=r.filter(u).map(y=>y.trim());if(p.length===0){this.removeAttribute("exportparts");return}let g=new Set;for(let y of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(s=(a=y.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&s!==void 0?s:[],b=(d=(l=y.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(v=>v.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...x,...b).filter(u).map(v=>v.trim()).forEach(v=>g.add(v))}if(g.size===0){this.removeAttribute("exportparts");return}let h=[...g.values()].flatMap(y=>p.map(x=>`${y}:${x}--${y}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};fi=hi;or([(0,kt.property)()],Ue.prototype,"exportpartsPrefix",void 0);or([ii([])],Ue.prototype,"exportpartsPrefixes",void 0);or([(0,kt.property)()],Ue.prototype,"customStylesheet",void 0);or([(0,kt.property)()],Ue.prototype,"elementToFocus",void 0);or([(0,kt.state)()],Ue.prototype,"useAdoptedStyleSheets",void 0);function nr(e){var r;return(r=e?.isFtReduxStore)!==null&&r!==void 0?r:!1}var gi,yi,mi,ar=Symbol("internalReduxEventsUnsubscribers"),Ye=Symbol("internalStoresUnsubscribers"),pt=Symbol("internalStores"),ir=class extends Ue{constructor(){super(...arguments),this[gi]=new Map,this[yi]=new Map,this[mi]=new Map}get reduxConstructor(){return this.constructor}update(r){super.update(r),[...this.reduxConstructor.reduxReactiveProperties].some(o=>r.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[pt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[pt].values()][0]}getStore(r){return r==null?this.getUnnamedStore():this[pt].get(r)}addStore(r,o){var n;o=(n=o??(nr(r)?r.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[pt].set(o,r),this.subscribeToStore(o,r),this.updateFromStores()}removeStore(r){let o=typeof r=="string"?r:r.name;this.unsubscribeFromStore(o),this[pt].delete(o)}setupStores(){this.unsubscribeFromStores(),this[pt].forEach((r,o)=>this.subscribeToStore(o,r)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((r,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(r.store);a&&(r.store?this[Ye].has(r.store):this[Ye].size>0)&&(this[o]=r.selector(a.getState(),this))}})}subscribeToStore(r,o){var n;this[Ye].set(r,o.subscribe(()=>this.updateFromStores())),this[ar].set(r,[]),nr(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,s)=>{if(typeof this[s]=="function"&&(!a.store||o.name===a.store)){let l=d=>this[s](d);o.addEventListener(a.eventName,l),this[ar].get(r).push(()=>o.removeEventListener(a.eventName,l))}})),this.onStoreAvailable(r)}unsubscribeFromStores(){this[Ye].forEach((r,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(r){var o;this[Ye].has(r)&&this[Ye].get(r)(),this[Ye].delete(r),(o=this[ar].get(r))===null||o===void 0||o.forEach(n=>n()),this[ar].delete(r)}onStoreAvailable(r){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};gi=Ye,yi=pt,mi=ar;ir.reduxProperties=new Map;ir.reduxReactiveProperties=new Set;ir.reduxEventListeners=new Map;function ge(e){for(var r=arguments.length,o=Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];if(0)var a,s;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Me(e){return!!e&&!!e[W]}function Oe(e){var r;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===ql}(e)||Array.isArray(e)||!!e[Ei]||!!(!((r=e.constructor)===null||r===void 0)&&r[Ei])||Ho(e)||Wo(e))}function ft(e,r,o){o===void 0&&(o=!1),Ut(e)===0?(o?Object.keys:Bt)(e).forEach(function(n){o&&typeof n=="symbol"||r(n,e[n],e)}):e.forEach(function(n,a){return r(a,n,e)})}function Ut(e){var r=e[W];return r?r.i>3?r.i-4:r.i:Array.isArray(e)?1:Ho(e)?2:Wo(e)?3:0}function Dt(e,r){return Ut(e)===2?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function Fl(e,r){return Ut(e)===2?e.get(r):e[r]}function wi(e,r,o){var n=Ut(e);n===2?e.set(r,o):n===3?e.add(o):e[r]=o}function Ai(e,r){return e===r?e!==0||1/e==1/r:e!=e&&r!=r}function Ho(e){return Vl&&e instanceof Map}function Wo(e){return Zl&&e instanceof Set}function Xe(e){return e.o||e.t}function Fo(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var r=Ii(e);delete r[W];for(var o=Bt(r),n=0;n<o.length;n++){var a=o[n],s=r[a];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(r[a]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),r)}function $o(e,r){return r===void 0&&(r=!1),Go(e)||Me(e)||!Oe(e)||(Ut(e)>1&&(e.set=e.add=e.clear=e.delete=$l),Object.freeze(e),r&&ft(e,function(o,n){return $o(n,!0)},!0)),e}function $l(){ge(2)}function Go(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Te(e){var r=zo[e];return r||ge(18,e),r}function Gl(e,r){zo[e]||(zo[e]=r)}function Bo(){return lr}function _o(e,r){r&&(Te("Patches"),e.u=[],e.s=[],e.v=r)}function Br(e){Uo(e),e.p.forEach(jl),e.p=null}function Uo(e){e===lr&&(lr=e.l)}function bi(e){return lr={p:[],l:lr,h:e,m:!0,_:0}}function jl(e){var r=e[W];r.i===0||r.i===1?r.j():r.g=!0}function Po(e,r){r._=r.p.length;var o=r.p[0],n=e!==void 0&&e!==o;return r.h.O||Te("ES5").S(r,e,n),n?(o[W].P&&(Br(r),ge(4)),Oe(e)&&(e=Ur(r,e),r.l||Mr(r,e)),r.u&&Te("Patches").M(o[W].t,e,r.u,r.s)):e=Ur(r,o,[]),Br(r),r.u&&r.v(r.u,r.s),e!==Ni?e:void 0}function Ur(e,r,o){if(Go(r))return r;var n=r[W];if(!n)return ft(r,function(d,u){return xi(e,n,r,d,u,o)},!0),r;if(n.A!==e)return r;if(!n.P)return Mr(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Fo(n.k):n.o,s=a,l=!1;n.i===3&&(s=new Set(a),a.clear(),l=!0),ft(s,function(d,u){return xi(e,n,a,d,u,o,l)}),Mr(e,a,!1),o&&e.u&&Te("Patches").N(n,o,e.u,e.s)}return n.o}function xi(e,r,o,n,a,s,l){if(Me(a)){var d=Ur(e,a,s&&r&&r.i!==3&&!Dt(r.R,n)?s.concat(n):void 0);if(wi(o,n,d),!Me(d))return;e.m=!1}else l&&o.add(a);if(Oe(a)&&!Go(a)){if(!e.h.D&&e._<1)return;Ur(e,a),r&&r.A.l||Mr(e,a)}}function Mr(e,r,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&$o(r,o)}function ko(e,r){var o=e[W];return(o?Xe(o):e)[r]}function vi(e,r){if(r in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,r);if(n)return n;o=Object.getPrototypeOf(o)}}function Je(e){e.P||(e.P=!0,e.l&&Je(e.l))}function Do(e){e.o||(e.o=Fo(e.t))}function Mo(e,r,o){var n=Ho(r)?Te("MapSet").F(r,o):Wo(r)?Te("MapSet").T(r,o):e.O?function(a,s){var l=Array.isArray(a),d={i:l?1:0,A:s?s.A:Bo(),P:!1,I:!1,R:{},l:s,t:a,k:null,o:null,j:null,C:!1},u=d,p=cr;l&&(u=[d],p=sr);var g=Proxy.revocable(u,p),h=g.revoke,y=g.proxy;return d.k=y,d.j=h,y}(r,o):Te("ES5").J(r,o);return(o?o.A:Bo()).p.push(n),n}function Kl(e){return Me(e)||ge(22,e),function r(o){if(!Oe(o))return o;var n,a=o[W],s=Ut(o);if(a){if(!a.P&&(a.i<4||!Te("ES5").K(a)))return a.t;a.I=!0,n=Si(o,s),a.I=!1}else n=Si(o,s);return ft(n,function(l,d){a&&Fl(a.t,l)===d||wi(n,l,r(d))}),s===3?new Set(n):n}(e)}function Si(e,r){switch(r){case 2:return new Map(e);case 3:return Array.from(e)}return Fo(e)}function Ri(){function e(l,d){var u=s[l];return u?u.enumerable=d:s[l]=u={configurable:!0,enumerable:d,get:function(){var p=this[W];return cr.get(p,l)},set:function(p){var g=this[W];cr.set(g,l,p)}},u}function r(l){for(var d=l.length-1;d>=0;d--){var u=l[d][W];if(!u.P)switch(u.i){case 5:n(u)&&Je(u);break;case 4:o(u)&&Je(u)}}}function o(l){for(var d=l.t,u=l.k,p=Bt(u),g=p.length-1;g>=0;g--){var h=p[g];if(h!==W){var y=d[h];if(y===void 0&&!Dt(d,h))return!0;var x=u[h],b=x&&x[W];if(b?b.t!==y:!Ai(x,y))return!0}}var v=!!d[W];return p.length!==Bt(d).length+(v?0:1)}function n(l){var d=l.k;if(d.length!==l.t.length)return!0;var u=Object.getOwnPropertyDescriptor(d,d.length-1);if(u&&!u.get)return!0;for(var p=0;p<d.length;p++)if(!d.hasOwnProperty(p))return!0;return!1}function a(l){l.g&&ge(3,JSON.stringify(Xe(l)))}var s={};Gl("ES5",{J:function(l,d){var u=Array.isArray(l),p=function(h,y){if(h){for(var x=Array(y.length),b=0;b<y.length;b++)Object.defineProperty(x,""+b,e(b,!0));return x}var v=Ii(y);delete v[W];for(var R=Bt(v),w=0;w<R.length;w++){var A=R[w];v[A]=e(A,h||!!v[A].enumerable)}return Object.create(Object.getPrototypeOf(y),v)}(u,l),g={i:u?5:4,A:d?d.A:Bo(),P:!1,I:!1,R:{},l:d,t:l,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,W,{value:g,writable:!0}),p},S:function(l,d,u){u?Me(d)&&d[W].A===l&&r(l.p):(l.u&&function p(g){if(g&&typeof g=="object"){var h=g[W];if(h){var y=h.t,x=h.k,b=h.R,v=h.i;if(v===4)ft(x,function(k){k!==W&&(y[k]!==void 0||Dt(y,k)?b[k]||p(x[k]):(b[k]=!0,Je(h)))}),ft(y,function(k){x[k]!==void 0||Dt(x,k)||(b[k]=!1,Je(h))});else if(v===5){if(n(h)&&(Je(h),b.length=!0),x.length<y.length)for(var R=x.length;R<y.length;R++)b[R]=!1;else for(var w=y.length;w<x.length;w++)b[w]=!0;for(var A=Math.min(x.length,y.length),_=0;_<A;_++)x.hasOwnProperty(_)||(b[_]=!0),b[_]===void 0&&p(x[_])}}}}(l.p[0]),r(l.p))},K:function(l){return l.i===4?o(l):n(l)}})}var Oi,lr,jo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Vl=typeof Map<"u",Zl=typeof Set<"u",Ci=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ni=jo?Symbol.for("immer-nothing"):((Oi={})["immer-nothing"]=!0,Oi),Ei=jo?Symbol.for("immer-draftable"):"__$immer_draftable",W=jo?Symbol.for("immer-state"):"__$immer_state";var ql=""+Object.prototype.constructor,Bt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Ii=Object.getOwnPropertyDescriptors||function(e){var r={};return Bt(e).forEach(function(o){r[o]=Object.getOwnPropertyDescriptor(e,o)}),r},zo={},cr={get:function(e,r){if(r===W)return e;var o=Xe(e);if(!Dt(o,r))return function(a,s,l){var d,u=vi(s,l);return u?"value"in u?u.value:(d=u.get)===null||d===void 0?void 0:d.call(a.k):void 0}(e,o,r);var n=o[r];return e.I||!Oe(n)?n:n===ko(e.t,r)?(Do(e),e.o[r]=Mo(e.A.h,n,e)):n},has:function(e,r){return r in Xe(e)},ownKeys:function(e){return Reflect.ownKeys(Xe(e))},set:function(e,r,o){var n=vi(Xe(e),r);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=ko(Xe(e),r),s=a?.[W];if(s&&s.t===o)return e.o[r]=o,e.R[r]=!1,!0;if(Ai(o,a)&&(o!==void 0||Dt(e.t,r)))return!0;Do(e),Je(e)}return e.o[r]===o&&(o!==void 0||r in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[r])||(e.o[r]=o,e.R[r]=!0),!0},deleteProperty:function(e,r){return ko(e.t,r)!==void 0||r in e.t?(e.R[r]=!1,Do(e),Je(e)):delete e.R[r],e.o&&delete e.o[r],!0},getOwnPropertyDescriptor:function(e,r){var o=Xe(e),n=Reflect.getOwnPropertyDescriptor(o,r);return n&&{writable:!0,configurable:e.i!==1||r!=="length",enumerable:n.enumerable,value:o[r]}},defineProperty:function(){ge(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ge(12)}},sr={};ft(cr,function(e,r){sr[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}}),sr.deleteProperty=function(e,r){return sr.set.call(this,e,r,void 0)},sr.set=function(e,r,o){return cr.set.call(this,e[0],r,o,e[0])};var Yl=function(){function e(o){var n=this;this.O=Ci,this.D=!0,this.produce=function(a,s,l){if(typeof a=="function"&&typeof s!="function"){var d=s;s=a;var u=n;return function(v){var R=this;v===void 0&&(v=d);for(var w=arguments.length,A=Array(w>1?w-1:0),_=1;_<w;_++)A[_-1]=arguments[_];return u.produce(v,function(k){var D;return(D=s).call.apply(D,[R,k].concat(A))})}}var p;if(typeof s!="function"&&ge(6),l!==void 0&&typeof l!="function"&&ge(7),Oe(a)){var g=bi(n),h=Mo(n,a,void 0),y=!0;try{p=s(h),y=!1}finally{y?Br(g):Uo(g)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(v){return _o(g,l),Po(v,g)},function(v){throw Br(g),v}):(_o(g,l),Po(p,g))}if(!a||typeof a!="object"){if((p=s(a))===void 0&&(p=a),p===Ni&&(p=void 0),n.D&&$o(p,!0),l){var x=[],b=[];Te("Patches").M(a,p,x,b),l(x,b)}return p}ge(21,a)},this.produceWithPatches=function(a,s){if(typeof a=="function")return function(p){for(var g=arguments.length,h=Array(g>1?g-1:0),y=1;y<g;y++)h[y-1]=arguments[y];return n.produceWithPatches(p,function(x){return a.apply(void 0,[x].concat(h))})};var l,d,u=n.produce(a,s,function(p,g){l=p,d=g});return typeof Promise<"u"&&u instanceof Promise?u.then(function(p){return[p,l,d]}):[u,l,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var r=e.prototype;return r.createDraft=function(o){Oe(o)||ge(8),Me(o)&&(o=Kl(o));var n=bi(this),a=Mo(this,o,void 0);return a[W].C=!0,Uo(n),a},r.finishDraft=function(o,n){var a=o&&o[W],s=a.A;return _o(s,n),Po(void 0,s)},r.setAutoFreeze=function(o){this.D=o},r.setUseProxies=function(o){o&&!Ci&&ge(20),this.O=o},r.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var s=n[a];if(s.path.length===0&&s.op==="replace"){o=s.value;break}}a>-1&&(n=n.slice(a+1));var l=Te("Patches").$;return Me(o)?l(o,n):this.produce(o,function(d){return l(d,n)})},e}(),pe=new Yl,Xl=pe.produce,Sy=pe.produceWithPatches.bind(pe),Oy=pe.setAutoFreeze.bind(pe),Cy=pe.setUseProxies.bind(pe),Ey=pe.applyPatches.bind(pe),wy=pe.createDraft.bind(pe),Ay=pe.finishDraft.bind(pe),zr=Xl;function ht(e){"@babel/helpers - typeof";return ht=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ht(e)}function Ti(e,r){if(ht(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,r||"default");if(ht(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function Li(e){var r=Ti(e,"string");return ht(r)=="symbol"?r:r+""}function _i(e,r,o){return(r=Li(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}function Pi(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function Ko(e){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{};r%2?Pi(Object(o),!0).forEach(function(n){_i(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Pi(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function ae(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var ki=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Vo=function(){return Math.random().toString(36).substring(7).split("").join(".")},Hr={INIT:"@@redux/INIT"+Vo(),REPLACE:"@@redux/REPLACE"+Vo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Vo()}};function Jl(e){if(typeof e!="object"||e===null)return!1;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r}function Zo(e,r,o){var n;if(typeof r=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(ae(0));if(typeof r=="function"&&typeof o>"u"&&(o=r,r=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(ae(1));return o(Zo)(e,r)}if(typeof e!="function")throw new Error(ae(2));var a=e,s=r,l=[],d=l,u=!1;function p(){d===l&&(d=l.slice())}function g(){if(u)throw new Error(ae(3));return s}function h(v){if(typeof v!="function")throw new Error(ae(4));if(u)throw new Error(ae(5));var R=!0;return p(),d.push(v),function(){if(R){if(u)throw new Error(ae(6));R=!1,p();var A=d.indexOf(v);d.splice(A,1),l=null}}}function y(v){if(!Jl(v))throw new Error(ae(7));if(typeof v.type>"u")throw new Error(ae(8));if(u)throw new Error(ae(9));try{u=!0,s=a(s,v)}finally{u=!1}for(var R=l=d,w=0;w<R.length;w++){var A=R[w];A()}return v}function x(v){if(typeof v!="function")throw new Error(ae(10));a=v,y({type:Hr.REPLACE})}function b(){var v,R=h;return v={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(ae(11));function _(){A.next&&A.next(g())}_();var k=R(_);return{unsubscribe:k}}},v[ki]=function(){return this},v}return y({type:Hr.INIT}),n={dispatch:y,subscribe:h,getState:g,replaceReducer:x},n[ki]=b,n}function Ql(e){Object.keys(e).forEach(function(r){var o=e[r],n=o(void 0,{type:Hr.INIT});if(typeof n>"u")throw new Error(ae(12));if(typeof o(void 0,{type:Hr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ae(13))})}function Di(e){for(var r=Object.keys(e),o={},n=0;n<r.length;n++){var a=r[n];typeof e[a]=="function"&&(o[a]=e[a])}var s=Object.keys(o),l,d;try{Ql(o)}catch(u){d=u}return function(p,g){if(p===void 0&&(p={}),d)throw d;if(0)var h;for(var y=!1,x={},b=0;b<s.length;b++){var v=s[b],R=o[v],w=p[v],A=R(w,g);if(typeof A>"u"){var _=g&&g.type;throw new Error(ae(14))}x[v]=A,y=y||A!==w}return y=y||s.length!==Object.keys(p).length,y?x:p}}function Mt(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return r.length===0?function(n){return n}:r.length===1?r[0]:r.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Bi(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),s=function(){throw new Error(ae(15))},l={getState:a.getState,dispatch:function(){return s.apply(void 0,arguments)}},d=r.map(function(u){return u(l)});return s=Mt.apply(void 0,d)(a.dispatch),Ko(Ko({},a),{},{dispatch:s})}}}function Ui(e){var r=function(n){var a=n.dispatch,s=n.getState;return function(l){return function(d){return typeof d=="function"?d(a,s,e):l(d)}}};return r}var Mi=Ui();Mi.withExtraArgument=Ui;var qo=Mi;var $i=function(){var e=function(r,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(n[s]=a[s])},e(r,o)};return function(r,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(r,o);function n(){this.constructor=r}r.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),ec=function(e,r){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,l;return l={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function d(p){return function(g){return u([p,g])}}function u(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(s=p[0]&2?a.return:p[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,p[1])).done)return s;switch(a=0,s&&(p=[p[0]&2,s.value]),p[0]){case 0:case 1:s=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,a=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(s=o.trys,!(s=s.length>0&&s[s.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!s||p[1]>s[0]&&p[1]<s[3])){o.label=p[1];break}if(p[0]===6&&o.label<s[1]){o.label=s[1],s=p;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(p);break}s[2]&&o.ops.pop(),o.trys.pop();continue}p=r.call(e,o)}catch(g){p=[6,g],a=0}finally{n=s=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},zt=function(e,r){for(var o=0,n=r.length,a=e.length;o<n;o++,a++)e[a]=r[o];return e},tc=Object.defineProperty,rc=Object.defineProperties,oc=Object.getOwnPropertyDescriptors,zi=Object.getOwnPropertySymbols,nc=Object.prototype.hasOwnProperty,ac=Object.prototype.propertyIsEnumerable,Hi=function(e,r,o){return r in e?tc(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o},Qe=function(e,r){for(var o in r||(r={}))nc.call(r,o)&&Hi(e,o,r[o]);if(zi)for(var n=0,a=zi(r);n<a.length;n++){var o=a[n];ac.call(r,o)&&Hi(e,o,r[o])}return e},Yo=function(e,r){return rc(e,oc(r))},ic=function(e,r,o){return new Promise(function(n,a){var s=function(u){try{d(o.next(u))}catch(p){a(p)}},l=function(u){try{d(o.throw(u))}catch(p){a(p)}},d=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(s,l)};d((o=o.apply(e,r)).next())})};var sc=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Mt:Mt.apply(null,arguments)},Gy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function lc(e){if(typeof e!="object"||e===null)return!1;var r=Object.getPrototypeOf(e);if(r===null)return!0;for(var o=r;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return r===o}var cc=function(e){$i(r,e);function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,r.prototype),a}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},r.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(r.bind.apply(r,zt([void 0],o[0].concat(this)))):new(r.bind.apply(r,zt([void 0],o.concat(this))))},r}(Array),dc=function(e){$i(r,e);function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,r.prototype),a}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},r.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(r.bind.apply(r,zt([void 0],o[0].concat(this)))):new(r.bind.apply(r,zt([void 0],o.concat(this))))},r}(Array);function Qo(e){return Oe(e)?zr(e,function(){}):e}function uc(e){return typeof e=="boolean"}function pc(){return function(r){return fc(r)}}function fc(e){e===void 0&&(e={});var r=e.thunk,o=r===void 0?!0:r,n=e.immutableCheck,a=n===void 0?!0:n,s=e.serializableCheck,l=s===void 0?!0:s,d=new cc;if(o&&(uc(o)?d.push(qo):d.push(qo.withExtraArgument(o.extraArgument))),0){if(a)var u;if(l)var p}return d}var Xo=!0;function Gi(e){var r=pc(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,s=o.middleware,l=s===void 0?r():s,d=o.devTools,u=d===void 0?!0:d,p=o.preloadedState,g=p===void 0?void 0:p,h=o.enhancers,y=h===void 0?void 0:h,x;if(typeof a=="function")x=a;else if(lc(a))x=Di(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=l;if(typeof b=="function"&&(b=b(r),!Xo&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Xo&&b.some(function(k){return typeof k!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Bi.apply(void 0,b),R=Mt;u&&(R=sc(Qe({trace:!Xo},typeof u=="object"&&u)));var w=new dc(v),A=w;Array.isArray(y)?A=zt([v],y):typeof y=="function"&&(A=y(w));var _=R.apply(void 0,A);return Zo(x,g,_)}function et(e,r){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(r){var s=r.apply(void 0,n);if(!s)throw new Error("prepareAction did not return an object");return Qe(Qe({type:e,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function ji(e){var r={},o=[],n,a={addCase:function(s,l){var d=typeof s=="string"?s:s.type;if(d in r)throw new Error("addCase cannot be called with two reducers for the same action type");return r[d]=l,a},addMatcher:function(s,l){return o.push({matcher:s,reducer:l}),a},addDefaultCase:function(s){return n=s,a}};return e(a),[r,o,n]}function hc(e){return typeof e=="function"}function gc(e,r,o,n){o===void 0&&(o=[]);var a=typeof r=="function"?ji(r):[r,o,n],s=a[0],l=a[1],d=a[2],u;if(hc(e))u=function(){return Qo(e())};else{var p=Qo(e);u=function(){return p}}function g(h,y){h===void 0&&(h=u());var x=zt([s[y.type]],l.filter(function(b){var v=b.matcher;return v(y)}).map(function(b){var v=b.reducer;return v}));return x.filter(function(b){return!!b}).length===0&&(x=[d]),x.reduce(function(b,v){if(v)if(Me(b)){var R=b,w=v(R,y);return w===void 0?b:w}else{if(Oe(b))return zr(b,function(A){return v(A,y)});var w=v(b,y);if(w===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return b},h)}return g.getInitialState=u,g}function yc(e,r){return e+"/"+r}function Ki(e){var r=e.name;if(!r)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Qo(e.initialState),n=e.reducers||{},a=Object.keys(n),s={},l={},d={};a.forEach(function(g){var h=n[g],y=yc(r,g),x,b;"reducer"in h?(x=h.reducer,b=h.prepare):x=h,s[g]=x,l[y]=x,d[g]=b?et(y,b):et(y)});function u(){var g=typeof e.extraReducers=="function"?ji(e.extraReducers):[e.extraReducers],h=g[0],y=h===void 0?{}:h,x=g[1],b=x===void 0?[]:x,v=g[2],R=v===void 0?void 0:v,w=Qe(Qe({},y),l);return gc(o,function(A){for(var _ in w)A.addCase(_,w[_]);for(var k=0,D=b;k<D.length;k++){var se=D[k];A.addMatcher(se.matcher,se.reducer)}R&&A.addDefaultCase(R)})}var p;return{name:r,reducer:function(g,h){return p||(p=u()),p(g,h)},actions:d,caseReducers:s,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var mc="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",bc=function(e){e===void 0&&(e=21);for(var r="",o=e;o--;)r+=mc[Math.random()*64|0];return r},xc=["name","message","stack","code"],Jo=function(){function e(r,o){this.payload=r,this.meta=o}return e}(),Wi=function(){function e(r,o){this.payload=r,this.meta=o}return e}(),vc=function(e){if(typeof e=="object"&&e!==null){for(var r={},o=0,n=xc;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(r[a]=e[a])}return r}return{message:String(e)}},Zy=function(){function e(r,o,n){var a=et(r+"/fulfilled",function(g,h,y,x){return{payload:g,meta:Yo(Qe({},x||{}),{arg:y,requestId:h,requestStatus:"fulfilled"})}}),s=et(r+"/pending",function(g,h,y){return{payload:void 0,meta:Yo(Qe({},y||{}),{arg:h,requestId:g,requestStatus:"pending"})}}),l=et(r+"/rejected",function(g,h,y,x,b){return{payload:x,error:(n&&n.serializeError||vc)(g||"Rejected"),meta:Yo(Qe({},b||{}),{arg:y,requestId:h,rejectedWithValue:!!x,requestStatus:"rejected",aborted:g?.name==="AbortError",condition:g?.name==="ConditionError"})}}),d=!1,u=typeof AbortController<"u"?AbortController:function(){function g(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return g.prototype.abort=function(){},g}();function p(g){return function(h,y,x){var b=n?.idGenerator?n.idGenerator(g):bc(),v=new u,R,w=!1;function A(k){R=k,v.abort()}var _=function(){return ic(this,null,function(){var k,D,se,we,ie,Ae,X;return ec(this,function(f){switch(f.label){case 0:return f.trys.push([0,4,,5]),we=(k=n?.condition)==null?void 0:k.call(n,g,{getState:y,extra:x}),Oc(we)?[4,we]:[3,2];case 1:we=f.sent(),f.label=2;case 2:if(we===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,ie=new Promise(function(m,I){return v.signal.addEventListener("abort",function(){return I({name:"AbortError",message:R||"Aborted"})})}),h(s(b,g,(D=n?.getPendingMeta)==null?void 0:D.call(n,{requestId:b,arg:g},{getState:y,extra:x}))),[4,Promise.race([ie,Promise.resolve(o(g,{dispatch:h,getState:y,extra:x,requestId:b,signal:v.signal,abort:A,rejectWithValue:function(m,I){return new Jo(m,I)},fulfillWithValue:function(m,I){return new Wi(m,I)}})).then(function(m){if(m instanceof Jo)throw m;return m instanceof Wi?a(m.payload,b,g,m.meta):a(m,b,g)})])];case 3:return se=f.sent(),[3,5];case 4:return Ae=f.sent(),se=Ae instanceof Jo?l(null,b,g,Ae.payload,Ae.meta):l(Ae,b,g),[3,5];case 5:return X=n&&!n.dispatchConditionRejection&&l.match(se)&&se.meta.condition,X||h(se),[2,se]}})})}();return Object.assign(_,{abort:A,requestId:b,arg:g,unwrap:function(){return _.then(Sc)}})}}return Object.assign(p,{pending:s,rejected:l,fulfilled:a,typePrefix:r})}return e.withTypes=function(){return e},e}();function Sc(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Oc(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Vi="listener",Zi="completed",qi="cancelled",qy="task-"+qi,Yy="task-"+Zi,Xy=Vi+"-"+qi,Jy=Vi+"-"+Zi;var en="listenerMiddleware";var Qy=et(en+"/add"),em=et(en+"/removeAll"),tm=et(en+"/remove");var Fi,rm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Fi||(Fi=Promise.resolve())).then(e).catch(function(r){return setTimeout(function(){throw r},0)})},Cc=function(e){return function(r){setTimeout(r,e)}},om=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Cc(10);Ri();function Ec(e,r){return class extends e{constructor(){super(...arguments),this.eventBus=r??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}var Wr=class extends Ec(Object){};window.ftReduxStores||(window.ftReduxStores={});var Yi=class e extends Wr{static get(r){var o;let n=typeof r=="string"?r:r.name,a=typeof r=="string"?void 0:r,s=window.ftReduxStores[n];if(nr(s))return s;if(a==null)return;let l=Ki({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),d=Gi({reducer:(u,p)=>p.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...u,...p.overwrites}:l.reducer(u,p)});return window.ftReduxStores[a.name]=new e(l,d,a.eventBus)}constructor(r,o,n){super(),this.reduxSlice=r,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new _r;let a=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,l,d)=>{let u=l,p=s[u];return p?(...g)=>{let h=p(...g.map(a));return this.reduxStore.dispatch(h),h}:g=>{this.setState({[u]:a(g)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(r){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(r).join("_"),overwrites:r})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(r){throw new Error("Not implemented yet.")}subscribe(r){return this.reduxStore.subscribe(r)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Vr=S(P());var Rc=S(Ji(),1);var Qi;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Qi||(Qi={}));var es;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(es||(es={}));var ts;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})(ts||(ts={}));var rs;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})(rs||(rs={}));var os;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(os||(os={}));var ns;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(ns||(ns={}));var as;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",e.GEN_AI__RATE="GEN_AI__RATE",e.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",e.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(as||(as={}));var is;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(is||(is={}));var ss;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(ss||(ss={}));var ls;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(ls||(ls={}));var cs;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(cs||(cs={}));var ds;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(ds||(ds={}));var us;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(us||(us={}));var ps;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(ps||(ps={}));var fs;(function(e){e.ASC="ASC",e.DESC="DESC"})(fs||(fs={}));var hs;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(hs||(hs={}));var gs;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(gs||(gs={}));var ys;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(ys||(ys={}));var ms;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(ms||(ms={}));var bs;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(bs||(bs={}));var xs;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(xs||(xs={}));var vs;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(vs||(vs={}));var Ss;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Ss||(Ss={}));var q;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(q||(q={}));var Os;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Os||(Os={}));var Cs;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Cs||(Cs={}));var Es;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Es||(Es={}));var ws;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(ws||(ws={}));var Ac={[q.PERSONAL_BOOK_SHARE_USER]:[q.PERSONAL_BOOK_USER],[q.HTML_EXPORT_USER]:[q.PERSONAL_BOOK_USER],[q.PDF_EXPORT_USER]:[q.PERSONAL_BOOK_USER],[q.KHUB_ADMIN]:[q.CONTENT_PUBLISHER],[q.ADMIN]:[q.KHUB_ADMIN,q.USERS_ADMIN,q.PORTAL_ADMIN],[q.GENERATIVE_AI_EXPORT_USER]:[q.GENERATIVE_AI_USER]};function As(e,r){return e===r||(Ac[e]??[]).some(o=>As(o,r))}function Rs(e,r){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(n=>As(n,r))}var Gr=class extends qe{async listMySearches(){let{session:r}=L.getState();return Rs(r,q.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(r.profile.userId),5*60*1e3):[]}};var jr=class extends qe{async listMyBookmarks(){let r=L.getState().session;return r?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(r.profile.userId),5*60*1e3):[]}};var Nc="ft-user-assets",Kr=Vr.FtReduxStore.get({name:Nc,initialState:{savedSearches:void 0,bookmarks:void 0}}),tn=class{constructor(){this.currentSession=L.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new jr,this.savedSearchesService=new Gr,L.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var r;let{session:o}=L.getState();(0,Vr.deepEqual)((r=this.currentSession)===null||r===void 0?void 0:r.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Kr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Kr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let r=await this.savedSearchesService.listMySearches();Kr.actions.savedSearches(r)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var r;if(this.bookmarksAreUsed){let o=!((r=this.currentSession)===null||r===void 0)&&r.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Kr.actions.bookmarks(o)}}},Qm=new tn;var rn=class{addCommand(r,o=!1){L.commands.add(r,o)}consumeCommand(r){return L.commands.consume(r)}};window.FluidTopicsAppInfoStoreService=new rn;var Ns=S(P()),on=class{highlightHtml(r,o,n){(0,Ns.highlightHtml)(r,o,n)}};window.FluidTopicsHighlightHtmlService=new on;var Is=S(P());var nn=class{isDate(r){var o,n,a,s;return(s=(a=((n=(o=L.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===r))===null||a===void 0?void 0:a.date)!==null&&s!==void 0?s:!1}format(r,o){var n,a,s;return Is.DateFormatter.format(r,(n=o?.locale)!==null&&n!==void 0?n:L.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(s=o?.withTime)!==null&&s!==void 0?s:!1)}};window.FluidTopicsDateService=new nn;var Ts=S(P());var dr=class{static get(r,o){var n,a,s,l;let d=L.getState(),{lang:u,region:p}=(a=(n=d.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new Ts.SearchPlaceConverter(d.baseUrl,(l=(s=window.FluidTopicsClientConfiguration)===null||s===void 0?void 0:s.predefinedSorts)!==null&&l!==void 0?l:{},r??20,d.searchInAllLanguagesAllowed,o??`${u}-${p}`)}};var an=class{urlToSearchRequest(r){return dr.get().parse(r)}searchRequestToUrl(r){return dr.get().serialize(r)}};window.FluidTopicsUrlService=new an;var rt=S(P());var gt=class e extends CustomEvent{constructor(r){super(e.eventName,{detail:{currentItem:r}})}};gt.eventName="change";var sn=class{itemName(r){return`fluid-topics-history-item-${r}`}get(r){let o=sessionStorage.getItem(this.itemName(r));return o?JSON.parse(o):void 0}set(r,o){sessionStorage.setItem(this.itemName(r),JSON.stringify(o))}},Ls=new sn;var Zr=class e extends rt.WithEventBus{static build(){return new e(window.history,Ls,()=>window.location,!1)}constructor(r,o,n,a){var s,l;super(),this.history=r,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=r.pushState,this.realReplaceState=r.replaceState,this.initialIndex=(l=(s=r.state)===null||s===void 0?void 0:s.index)!==null&&l!==void 0?l:r.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(r,o=!1){let n=o&&this.currentIndex===r.index-1;this.currentState={...this.buildCurrentState(),...r},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,rt.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new gt(this.currentItem())),0)}installProxies(){let r=o=>(n,a,[s,l,d])=>{let u=o(),p={...u===this.currentIndex?this.currentState:void 0,...s,index:u,href:typeof d=="string"?d:(d??this.windowLocation()).href};n.apply(a,[p,l,d]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:r(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:r(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",r=>this.setCurrentState(r.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(r){for(let o=this.history.length-1;o>=0;o--)r?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(r){var o;let n={...this.buildCurrentState(),...r,index:this.currentIndex,title:(o=r?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(r){this.addEventListener(gt.eventName,r)}removeHistoryChangeListener(r){this.removeEventListener(gt.eventName,r)}currentItem(){return(0,rt.deepCopy)(this.currentState)}back(){let r=this.previousDifferentMajorPosition();r>=0?this.history.go(r-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,rt.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let r=this.currentIndex>0?this.currentIndex-1:0;for(;r>0&&!this.isDifferentMajorState(r);)r--;return r}forward(){let r=this.nextMajorPosition();r&&r<this.states.length?this.history.go(r-this.currentIndex):this.history.forward()}forwardItem(){let r=this.nextMajorPosition();if(r)return(0,rt.deepCopy)(this.states[r])}nextMajorPosition(){let r=this.currentIndex;if(!(r>=this.states.length)){do r++;while(r<this.states.length&&!this.isDifferentMajorState(r));return this.getHigherPositionInTheSameState(r)}}getHigherPositionInTheSameState(r){var o;let n=(o=this.states[r])===null||o===void 0?void 0:o.majorStateId;if(!n)return r;let a=r,s=r+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(a=s),s++;return a}buildCurrentState(){var r,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(r=this.history.state)===null||r===void 0?void 0:r.title)!==null&&o!==void 0?o:document.title}}hasState(r){return this.states[r]!=null}isDifferentMajorState(r,o){var n;if(!this.hasState(r))return!1;let a=o??this.currentState.majorStateId,s=(n=this.states[r])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Zr.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});(0,_s.customElement)("ft-app-context")(j);var Us=S(te());var Ic=S(P());function Ps(e){return e.match(/^[\w-]+\.[\w-]+$/)}var Tc=function(e,r,o,n){var a=arguments.length,s=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(s=(a<3?l(s):a>3?l(r,o,s):l(r,o))||s);return a>3&&s&&Object.defineProperty(r,o,s),s},ks=Symbol("i18nAttributes"),Ds=Symbol("i18nListAttributes"),Ms=Symbol("i18nProperties"),qr=Symbol("i18nContexts"),ur=Symbol("i18nUnsubs");function Jr(e){var r,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[r]=new Map,this[o]=new Map}getI18nService(s){return s??this.useCustomMessageContexts?Ir:Pt}i18n(s){var l;this.hasI18nContext(s.context)||this.addI18nContext(s.context,void 0,s.custom);let d=(l=s.args)!==null&&l!==void 0?l:s.argsProvider?s.argsProvider(this):[];return this.getI18nService(s.custom).resolveMessage(s.context,s.key,...d)}customI18n(s,l){if(Ps(s)){let[d,u]=s.split(".");return this.i18n({custom:!0,context:d,key:u,...l})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((l,d,u)=>s.has(d)||typeof l.argsProvider=="function"),this.updateI18nProperties(l=>typeof l.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((l,d,u)=>{var p;return((p=u?.context)===null||p===void 0?void 0:p.toLowerCase())===s}),this.updateI18nProperties(l=>l.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var l,d;let u=this,p=(g,h,y)=>y?.context&&y.key&&s(g,h,y)?{...y,message:this.i18n({context:y.context,key:y.key,...g})}:y;(l=this[ks])===null||l===void 0||l.forEach((g,h)=>u[h]=p(g,h,u[h])),(d=this[Ds])===null||d===void 0||d.forEach((g,h)=>{var y;return u[h]=(y=u[h])===null||y===void 0?void 0:y.map(x=>p(g,h,x))})}updateI18nProperties(s){var l;(l=this[Ms])===null||l===void 0||l.forEach((d,u)=>{s(d,u)&&(this[u]=this.i18n(d))})}addI18nMessages(s,l,d){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,l,d)}addI18nContext(s,l,d){let u=(typeof s=="string"?s:s.name).toLowerCase();d=typeof s=="string"?d:s.custom,this[qr].set(u,{isCustomContext:d}),this[ur].has(u)||this[ur].set(u,this.getI18nService(d).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(d).prepareContext(u,l)}hasI18nContext(s){return this[qr].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[qr].forEach((s,l)=>this.addI18nContext(l,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[ur].forEach(s=>s()),this[ur].clear()}}return r=qr,o=ur,Tc([(0,Us.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var Bs=class extends Jr(Xr.FtLitElement){},Yr=class extends Jr(Xr.FtLitElementRedux){};var pr=function(e,r,o,n){var a=arguments.length,s=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(s=(a<3?l(s):a>3?l(r,o,s):l(r,o))||s);return a>3&&s&&Object.defineProperty(r,o,s),s},Ce=class extends Yr{constructor(){super(),this.editorMode=!1,this.addStore(L)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Qr.nothing:Qr.html`
|
|
471
|
+
`}update(r){var o,n,a,i,l;super.update(r),r.has("baseUrl")&&(D.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),r.has("apiIntegrationIdentifier")&&D.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),r.has("uiLocale")&&D.actions.uiLocale(this.uiLocale),r.has("metadataConfiguration")&&D.actions.metadataConfiguration(this.metadataConfiguration),r.has("noCustom")&&D.actions.noCustom(this.noCustom),r.has("editorMode")&&D.actions.editorMode(this.editorMode),r.has("noCustomComponent")&&D.actions.noCustomComponent(this.noCustomComponent),r.has("session")&&D.actions.session(this.session),r.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(d=>tr.addContext(d)),r.has("openExternalDocumentInNewTab")&&D.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),r.has("navigatorOnline")&&D.actions.navigatorOnline(this.navigatorOnline),r.has("forcedOffline")&&D.actions.forcedOffline(this.forcedOffline),r.has("localesConfiguration")&&(D.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),D.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),D.actions.searchInAllLanguagesAllowed((l=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&l!==void 0?l:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},r.idleTimeoutInMillis),r})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};X.elementDefinitions={};X.styles=Pi;ge([(0,Oe.property)()],X.prototype,"baseUrl",void 0);ge([(0,Oe.property)()],X.prototype,"apiIntegrationIdentifier",void 0);ge([(0,Oe.property)()],X.prototype,"uiLocale",void 0);ge([(0,Be.jsonProperty)(null)],X.prototype,"availableUiLocales",void 0);ge([(0,Be.jsonProperty)(null)],X.prototype,"metadataConfiguration",void 0);ge([(0,Oe.property)({type:Boolean})],X.prototype,"editorMode",void 0);ge([(0,Oe.property)({type:Boolean})],X.prototype,"noCustom",void 0);ge([(0,Oe.property)({type:Boolean})],X.prototype,"openExternalDocumentInNewTab",void 0);ge([(0,Oe.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],X.prototype,"noCustomComponent",void 0);ge([(0,Oe.property)({type:Boolean})],X.prototype,"withManualResources",void 0);ge([(0,Oe.property)({type:Boolean})],X.prototype,"navigatorOnline",void 0);ge([(0,Oe.property)({type:Boolean})],X.prototype,"forcedOffline",void 0);ge([(0,Oe.property)({type:Object})],X.prototype,"apiProvider",void 0);ge([(0,Be.jsonProperty)([])],X.prototype,"messageContexts",void 0);ge([(0,Be.jsonProperty)(void 0)],X.prototype,"session",void 0);ge([(0,Oe.state)()],X.prototype,"localesConfiguration",void 0);var Cd=b(ee());function $c(e,r){if(e===r)return!0;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return!1;var o,n,a;if(Array.isArray(e)){if(o=e.length,o!=r.length)return!1;for(n=o;n--!==0;)if(!no(e[n],r[n]))return!1;return!0}if(e instanceof Map&&r instanceof Map){if(e.size!==r.size)return!1;for(n of e.entries())if(!r.has(n[0]))return!1;for(n of e.entries())if(!no(n[1],r.get(n[0])))return!1;return!0}if(e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(n of e.entries())if(!r.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();let i=l=>Object.keys(l).filter(d=>l[d]!=null);if(a=i(e),o=a.length,o!==i(r).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(r,a[n]))return!1;for(n=o;n--!==0;){let l=a[n];if(!no(e[l],r[l]))return!1}return!0}return e!==e&&r!==r||e==null&&r==null}function no(e,r){try{return $c(e,r)}catch{return!1}}function ao(e,r){return!no(e,r)}var Mc=b(ee(),1);var io=class{constructor(){this.queue=[]}add(r,o=!1){o&&this.clear(r.type),this.queue.push(r)}consume(r){let o=this.queue.find(n=>n.type===r);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(r){typeof r=="string"?this.queue=this.queue.filter(o=>o.type!==r):this.queue=this.queue.filter(o=>!r.test(o.type))}};var rr=b(ee(),1);var Di=b(ee(),1);function Bi(e,r){let o=()=>JSON.parse(JSON.stringify(e));return(0,Di.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:ao,...r??{}})}var so=class{constructor(r=0){this.timeout=r,this.callbacks=[]}run(r,o){return this.callbacks=[r],this.debounce(o)}queue(r,o){return this.callbacks.push(r),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(r){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),r??this.timeout),this.promise}async runCallbacks(){var r,o;let n=[...this.callbacks];this.callbacks=[];let a=(r=this.rejectPromise)!==null&&r!==void 0?r:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(d){a(d);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Mi=b(H(),1);var lo=globalThis,Uc=lo.ShadowRoot&&(lo.ShadyCSS===void 0||lo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ag=Symbol();var $i=(e,r)=>{if(Uc)e.adoptedStyleSheets=r.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of r){let n=document.createElement("style"),a=lo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var co=class extends Mi.LitElement{createRenderRoot(){let r=this.constructor;r.elementDefinitions&&!r.registry&&(r.registry=new CustomElementRegistry,Object.entries(r.elementDefinitions).forEach(([a,i])=>r.registry.define(a,i)));let o={...r.shadowRootOptions,customElements:r.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return $i(n,r.elementStyles),n}};function Ui(e,r,...o){var n;let a=e.querySelector(r);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var Ar=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Wi,zi=Symbol("constructorPrototype"),Fi=Symbol("constructorName"),Gi=Symbol("exportpartsDebouncer"),Hi=Symbol("dynamicDependenciesLoaded"),rt=class extends co{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Wi]=new so(5),this[Fi]=this.constructor.name,this[zi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fi]&&Object.setPrototypeOf(this,this[zi])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let r=this.constructor;r[Hi]||(r[Hi]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(r){super.updated(r),this.updateComplete.then(()=>{this.contentAvailableCallback(r),this.focusElementToFocus(r),this.applyCustomStylesheet(r),this.scheduleExportpartsUpdate()})}contentAvailableCallback(r){}focusElementToFocus(r){if(r.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];o=Ui(this.shadowRoot,...i)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(r){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(r.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var r,o,n;(!((r=this.exportpartsPrefix)===null||r===void 0)&&r.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Gi].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(r){var o,n,a,i,l,d;let p=g=>g!=null&&g.trim().length>0,u=r.filter(p).map(g=>g.trim());if(u.length===0){this.removeAttribute("exportparts");return}let m=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],v=(d=(l=g.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(C=>C.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...S,...v).filter(p).map(C=>C.trim()).forEach(C=>m.add(C))}if(m.size===0){this.removeAttribute("exportparts");return}let y=[...m.values()].flatMap(g=>u.map(S=>`${g}:${S}--${g}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};Wi=Gi;Ar([(0,rr.property)()],rt.prototype,"exportpartsPrefix",void 0);Ar([Bi([])],rt.prototype,"exportpartsPrefixes",void 0);Ar([(0,rr.property)()],rt.prototype,"customStylesheet",void 0);Ar([(0,rr.property)()],rt.prototype,"elementToFocus",void 0);Ar([(0,rr.state)()],rt.prototype,"useAdoptedStyleSheets",void 0);function Rr(e){var r;return(r=e?.isFtReduxStore)!==null&&r!==void 0?r:!1}var ji,Vi,Ki,Ir=Symbol("internalReduxEventsUnsubscribers"),mt=Symbol("internalStoresUnsubscribers"),Dt=Symbol("internalStores"),Nr=class extends rt{constructor(){super(...arguments),this[ji]=new Map,this[Vi]=new Map,this[Ki]=new Map}get reduxConstructor(){return this.constructor}update(r){super.update(r),[...this.reduxConstructor.reduxReactiveProperties].some(o=>r.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Dt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Dt].values()][0]}getStore(r){return r==null?this.getUnnamedStore():this[Dt].get(r)}addStore(r,o){var n;o=(n=o??(Rr(r)?r.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[Dt].set(o,r),this.subscribeToStore(o,r),this.updateFromStores()}removeStore(r){let o=typeof r=="string"?r:r.name;this.unsubscribeFromStore(o),this[Dt].delete(o)}setupStores(){this.unsubscribeFromStores(),this[Dt].forEach((r,o)=>this.subscribeToStore(o,r)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((r,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(r.store);a&&(r.store?this[mt].has(r.store):this[mt].size>0)&&(this[o]=r.selector(a.getState(),this))}})}subscribeToStore(r,o){var n;this[mt].set(r,o.subscribe(()=>this.updateFromStores())),this[Ir].set(r,[]),Rr(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let l=d=>this[i](d);o.addEventListener(a.eventName,l),this[Ir].get(r).push(()=>o.removeEventListener(a.eventName,l))}})),this.onStoreAvailable(r)}unsubscribeFromStores(){this[mt].forEach((r,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(r){var o;this[mt].has(r)&&this[mt].get(r)(),this[mt].delete(r),(o=this[Ir].get(r))===null||o===void 0||o.forEach(n=>n()),this[Ir].delete(r)}onStoreAvailable(r){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};ji=mt,Vi=Dt,Ki=Ir;Nr.reduxProperties=new Map;Nr.reduxReactiveProperties=new Set;Nr.reduxEventListeners=new Map;function Te(e){for(var r=arguments.length,o=Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ot(e){return!!e&&!!e[K]}function $e(e){var r;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Kc}(e)||Array.isArray(e)||!!e[es]||!!(!((r=e.constructor)===null||r===void 0)&&r[es])||yn(e)||mn(e))}function Bt(e,r,o){o===void 0&&(o=!1),ar(e)===0?(o?Object.keys:nr)(e).forEach(function(n){o&&typeof n=="symbol"||r(n,e[n],e)}):e.forEach(function(n,a){return r(a,n,e)})}function ar(e){var r=e[K];return r?r.i>3?r.i-4:r.i:Array.isArray(e)?1:yn(e)?2:mn(e)?3:0}function or(e,r){return ar(e)===2?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function zc(e,r){return ar(e)===2?e.get(r):e[r]}function ts(e,r,o){var n=ar(e);n===2?e.set(r,o):n===3?e.add(o):e[r]=o}function rs(e,r){return e===r?e!==0||1/e==1/r:e!=e&&r!=r}function yn(e){return jc&&e instanceof Map}function mn(e){return Vc&&e instanceof Set}function gt(e){return e.o||e.t}function gn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var r=as(e);delete r[K];for(var o=nr(r),n=0;n<o.length;n++){var a=o[n],i=r[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(r[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),r)}function bn(e,r){return r===void 0&&(r=!1),xn(e)||ot(e)||!$e(e)||(ar(e)>1&&(e.set=e.add=e.clear=e.delete=Fc),Object.freeze(e),r&&Bt(e,function(o,n){return bn(n,!0)},!0)),e}function Fc(){Te(2)}function xn(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ze(e){var r=hn[e];return r||Te(18,e),r}function Hc(e,r){hn[e]||(hn[e]=r)}function pn(){return Tr}function sn(e,r){r&&(Ze("Patches"),e.u=[],e.s=[],e.v=r)}function po(e){un(e),e.p.forEach(Wc),e.p=null}function un(e){e===Tr&&(Tr=e.l)}function Zi(e){return Tr={p:[],l:Tr,h:e,m:!0,_:0}}function Wc(e){var r=e[K];r.i===0||r.i===1?r.j():r.g=!0}function ln(e,r){r._=r.p.length;var o=r.p[0],n=e!==void 0&&e!==o;return r.h.O||Ze("ES5").S(r,e,n),n?(o[K].P&&(po(r),Te(4)),$e(e)&&(e=uo(r,e),r.l||fo(r,e)),r.u&&Ze("Patches").M(o[K].t,e,r.u,r.s)):e=uo(r,o,[]),po(r),r.u&&r.v(r.u,r.s),e!==ns?e:void 0}function uo(e,r,o){if(xn(r))return r;var n=r[K];if(!n)return Bt(r,function(d,p){return qi(e,n,r,d,p,o)},!0),r;if(n.A!==e)return r;if(!n.P)return fo(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=gn(n.k):n.o,i=a,l=!1;n.i===3&&(i=new Set(a),a.clear(),l=!0),Bt(i,function(d,p){return qi(e,n,a,d,p,o,l)}),fo(e,a,!1),o&&e.u&&Ze("Patches").N(n,o,e.u,e.s)}return n.o}function qi(e,r,o,n,a,i,l){if(ot(a)){var d=uo(e,a,i&&r&&r.i!==3&&!or(r.R,n)?i.concat(n):void 0);if(ts(o,n,d),!ot(d))return;e.m=!1}else l&&o.add(a);if($e(a)&&!xn(a)){if(!e.h.D&&e._<1)return;uo(e,a),r&&r.A.l||fo(e,a)}}function fo(e,r,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&bn(r,o)}function cn(e,r){var o=e[K];return(o?gt(o):e)[r]}function Yi(e,r){if(r in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,r);if(n)return n;o=Object.getPrototypeOf(o)}}function bt(e){e.P||(e.P=!0,e.l&&bt(e.l))}function dn(e){e.o||(e.o=gn(e.t))}function fn(e,r,o){var n=yn(r)?Ze("MapSet").F(r,o):mn(r)?Ze("MapSet").T(r,o):e.O?function(a,i){var l=Array.isArray(a),d={i:l?1:0,A:i?i.A:pn(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=d,u=Pr;l&&(p=[d],u=Lr);var m=Proxy.revocable(p,u),y=m.revoke,g=m.proxy;return d.k=g,d.j=y,g}(r,o):Ze("ES5").J(r,o);return(o?o.A:pn()).p.push(n),n}function Gc(e){return ot(e)||Te(22,e),function r(o){if(!$e(o))return o;var n,a=o[K],i=ar(o);if(a){if(!a.P&&(a.i<4||!Ze("ES5").K(a)))return a.t;a.I=!0,n=Xi(o,i),a.I=!1}else n=Xi(o,i);return Bt(n,function(l,d){a&&zc(a.t,l)===d||ts(n,l,r(d))}),i===3?new Set(n):n}(e)}function Xi(e,r){switch(r){case 2:return new Map(e);case 3:return Array.from(e)}return gn(e)}function os(){function e(l,d){var p=i[l];return p?p.enumerable=d:i[l]=p={configurable:!0,enumerable:d,get:function(){var u=this[K];return Pr.get(u,l)},set:function(u){var m=this[K];Pr.set(m,l,u)}},p}function r(l){for(var d=l.length-1;d>=0;d--){var p=l[d][K];if(!p.P)switch(p.i){case 5:n(p)&&bt(p);break;case 4:o(p)&&bt(p)}}}function o(l){for(var d=l.t,p=l.k,u=nr(p),m=u.length-1;m>=0;m--){var y=u[m];if(y!==K){var g=d[y];if(g===void 0&&!or(d,y))return!0;var S=p[y],v=S&&S[K];if(v?v.t!==g:!rs(S,g))return!0}}var C=!!d[K];return u.length!==nr(d).length+(C?0:1)}function n(l){var d=l.k;if(d.length!==l.t.length)return!0;var p=Object.getOwnPropertyDescriptor(d,d.length-1);if(p&&!p.get)return!0;for(var u=0;u<d.length;u++)if(!d.hasOwnProperty(u))return!0;return!1}function a(l){l.g&&Te(3,JSON.stringify(gt(l)))}var i={};Hc("ES5",{J:function(l,d){var p=Array.isArray(l),u=function(y,g){if(y){for(var S=Array(g.length),v=0;v<g.length;v++)Object.defineProperty(S,""+v,e(v,!0));return S}var C=as(g);delete C[K];for(var L=nr(C),I=0;I<L.length;I++){var N=L[I];C[N]=e(N,y||!!C[N].enumerable)}return Object.create(Object.getPrototypeOf(g),C)}(p,l),m={i:p?5:4,A:d?d.A:pn(),P:!1,I:!1,R:{},l:d,t:l,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,K,{value:m,writable:!0}),u},S:function(l,d,p){p?ot(d)&&d[K].A===l&&r(l.p):(l.u&&function u(m){if(m&&typeof m=="object"){var y=m[K];if(y){var g=y.t,S=y.k,v=y.R,C=y.i;if(C===4)Bt(S,function(M){M!==K&&(g[M]!==void 0||or(g,M)?v[M]||u(S[M]):(v[M]=!0,bt(y)))}),Bt(g,function(M){S[M]!==void 0||or(S,M)||(v[M]=!1,bt(y))});else if(C===5){if(n(y)&&(bt(y),v.length=!0),S.length<g.length)for(var L=S.length;L<g.length;L++)v[L]=!1;else for(var I=g.length;I<S.length;I++)v[I]=!0;for(var N=Math.min(S.length,g.length),B=0;B<N;B++)S.hasOwnProperty(B)||(v[B]=!0),v[B]===void 0&&u(S[B])}}}}(l.p[0]),r(l.p))},K:function(l){return l.i===4?o(l):n(l)}})}var Ji,Tr,vn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",jc=typeof Map<"u",Vc=typeof Set<"u",Qi=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ns=vn?Symbol.for("immer-nothing"):((Ji={})["immer-nothing"]=!0,Ji),es=vn?Symbol.for("immer-draftable"):"__$immer_draftable",K=vn?Symbol.for("immer-state"):"__$immer_state";var Kc=""+Object.prototype.constructor,nr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,as=Object.getOwnPropertyDescriptors||function(e){var r={};return nr(e).forEach(function(o){r[o]=Object.getOwnPropertyDescriptor(e,o)}),r},hn={},Pr={get:function(e,r){if(r===K)return e;var o=gt(e);if(!or(o,r))return function(a,i,l){var d,p=Yi(i,l);return p?"value"in p?p.value:(d=p.get)===null||d===void 0?void 0:d.call(a.k):void 0}(e,o,r);var n=o[r];return e.I||!$e(n)?n:n===cn(e.t,r)?(dn(e),e.o[r]=fn(e.A.h,n,e)):n},has:function(e,r){return r in gt(e)},ownKeys:function(e){return Reflect.ownKeys(gt(e))},set:function(e,r,o){var n=Yi(gt(e),r);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=cn(gt(e),r),i=a?.[K];if(i&&i.t===o)return e.o[r]=o,e.R[r]=!1,!0;if(rs(o,a)&&(o!==void 0||or(e.t,r)))return!0;dn(e),bt(e)}return e.o[r]===o&&(o!==void 0||r in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[r])||(e.o[r]=o,e.R[r]=!0),!0},deleteProperty:function(e,r){return cn(e.t,r)!==void 0||r in e.t?(e.R[r]=!1,dn(e),bt(e)):delete e.R[r],e.o&&delete e.o[r],!0},getOwnPropertyDescriptor:function(e,r){var o=gt(e),n=Reflect.getOwnPropertyDescriptor(o,r);return n&&{writable:!0,configurable:e.i!==1||r!=="length",enumerable:n.enumerable,value:o[r]}},defineProperty:function(){Te(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Te(12)}},Lr={};Bt(Pr,function(e,r){Lr[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}}),Lr.deleteProperty=function(e,r){return Lr.set.call(this,e,r,void 0)},Lr.set=function(e,r,o){return Pr.set.call(this,e[0],r,o,e[0])};var Zc=function(){function e(o){var n=this;this.O=Qi,this.D=!0,this.produce=function(a,i,l){if(typeof a=="function"&&typeof i!="function"){var d=i;i=a;var p=n;return function(C){var L=this;C===void 0&&(C=d);for(var I=arguments.length,N=Array(I>1?I-1:0),B=1;B<I;B++)N[B-1]=arguments[B];return p.produce(C,function(M){var U;return(U=i).call.apply(U,[L,M].concat(N))})}}var u;if(typeof i!="function"&&Te(6),l!==void 0&&typeof l!="function"&&Te(7),$e(a)){var m=Zi(n),y=fn(n,a,void 0),g=!0;try{u=i(y),g=!1}finally{g?po(m):un(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(C){return sn(m,l),ln(C,m)},function(C){throw po(m),C}):(sn(m,l),ln(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===ns&&(u=void 0),n.D&&bn(u,!0),l){var S=[],v=[];Ze("Patches").M(a,u,S,v),l(S,v)}return u}Te(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var m=arguments.length,y=Array(m>1?m-1:0),g=1;g<m;g++)y[g-1]=arguments[g];return n.produceWithPatches(u,function(S){return a.apply(void 0,[S].concat(y))})};var l,d,p=n.produce(a,i,function(u,m){l=u,d=m});return typeof Promise<"u"&&p instanceof Promise?p.then(function(u){return[u,l,d]}):[p,l,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var r=e.prototype;return r.createDraft=function(o){$e(o)||Te(8),ot(o)&&(o=Gc(o));var n=Zi(this),a=fn(this,o,void 0);return a[K].C=!0,un(n),a},r.finishDraft=function(o,n){var a=o&&o[K],i=a.A;return sn(i,n),ln(void 0,i)},r.setAutoFreeze=function(o){this.D=o},r.setUseProxies=function(o){o&&!Qi&&Te(20),this.O=o},r.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var l=Ze("Patches").$;return ot(o)?l(o,n):this.produce(o,function(d){return l(d,n)})},e}(),Ie=new Zc,qc=Ie.produce,xg=Ie.produceWithPatches.bind(Ie),vg=Ie.setAutoFreeze.bind(Ie),Sg=Ie.setUseProxies.bind(Ie),Og=Ie.applyPatches.bind(Ie),Cg=Ie.createDraft.bind(Ie),Eg=Ie.finishDraft.bind(Ie),ho=qc;function $t(e){"@babel/helpers - typeof";return $t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},$t(e)}function is(e,r){if($t(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,r||"default");if($t(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function ss(e){var r=is(e,"string");return $t(r)=="symbol"?r:r+""}function ls(e,r,o){return(r=ss(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}function cs(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function Sn(e){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{};r%2?cs(Object(o),!0).forEach(function(n){ls(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):cs(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function be(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var ds=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),On=function(){return Math.random().toString(36).substring(7).split("").join(".")},yo={INIT:"@@redux/INIT"+On(),REPLACE:"@@redux/REPLACE"+On(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+On()}};function Yc(e){if(typeof e!="object"||e===null)return!1;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r}function Cn(e,r,o){var n;if(typeof r=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(be(0));if(typeof r=="function"&&typeof o>"u"&&(o=r,r=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(be(1));return o(Cn)(e,r)}if(typeof e!="function")throw new Error(be(2));var a=e,i=r,l=[],d=l,p=!1;function u(){d===l&&(d=l.slice())}function m(){if(p)throw new Error(be(3));return i}function y(C){if(typeof C!="function")throw new Error(be(4));if(p)throw new Error(be(5));var L=!0;return u(),d.push(C),function(){if(L){if(p)throw new Error(be(6));L=!1,u();var N=d.indexOf(C);d.splice(N,1),l=null}}}function g(C){if(!Yc(C))throw new Error(be(7));if(typeof C.type>"u")throw new Error(be(8));if(p)throw new Error(be(9));try{p=!0,i=a(i,C)}finally{p=!1}for(var L=l=d,I=0;I<L.length;I++){var N=L[I];N()}return C}function S(C){if(typeof C!="function")throw new Error(be(10));a=C,g({type:yo.REPLACE})}function v(){var C,L=y;return C={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(be(11));function B(){N.next&&N.next(m())}B();var M=L(B);return{unsubscribe:M}}},C[ds]=function(){return this},C}return g({type:yo.INIT}),n={dispatch:g,subscribe:y,getState:m,replaceReducer:S},n[ds]=v,n}function Xc(e){Object.keys(e).forEach(function(r){var o=e[r],n=o(void 0,{type:yo.INIT});if(typeof n>"u")throw new Error(be(12));if(typeof o(void 0,{type:yo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(be(13))})}function ps(e){for(var r=Object.keys(e),o={},n=0;n<r.length;n++){var a=r[n];typeof e[a]=="function"&&(o[a]=e[a])}var i=Object.keys(o),l,d;try{Xc(o)}catch(p){d=p}return function(u,m){if(u===void 0&&(u={}),d)throw d;if(0)var y;for(var g=!1,S={},v=0;v<i.length;v++){var C=i[v],L=o[C],I=u[C],N=L(I,m);if(typeof N>"u"){var B=m&&m.type;throw new Error(be(14))}S[C]=N,g=g||N!==I}return g=g||i.length!==Object.keys(u).length,g?S:u}}function ir(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return r.length===0?function(n){return n}:r.length===1?r[0]:r.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function us(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(be(15))},l={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},d=r.map(function(p){return p(l)});return i=ir.apply(void 0,d)(a.dispatch),Sn(Sn({},a),{},{dispatch:i})}}}function fs(e){var r=function(n){var a=n.dispatch,i=n.getState;return function(l){return function(d){return typeof d=="function"?d(a,i,e):l(d)}}};return r}var hs=fs();hs.withExtraArgument=fs;var En=hs;var xs=function(){var e=function(r,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(r,o)};return function(r,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(r,o);function n(){this.constructor=r}r.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Jc=function(e,r){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,l;return l={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function d(u){return function(m){return p([u,m])}}function p(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=r.call(e,o)}catch(m){u=[6,m],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},sr=function(e,r){for(var o=0,n=r.length,a=e.length;o<n;o++,a++)e[a]=r[o];return e},Qc=Object.defineProperty,ed=Object.defineProperties,td=Object.getOwnPropertyDescriptors,ys=Object.getOwnPropertySymbols,rd=Object.prototype.hasOwnProperty,od=Object.prototype.propertyIsEnumerable,ms=function(e,r,o){return r in e?Qc(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o},xt=function(e,r){for(var o in r||(r={}))rd.call(r,o)&&ms(e,o,r[o]);if(ys)for(var n=0,a=ys(r);n<a.length;n++){var o=a[n];od.call(r,o)&&ms(e,o,r[o])}return e},wn=function(e,r){return ed(e,td(r))},nd=function(e,r,o){return new Promise(function(n,a){var i=function(p){try{d(o.next(p))}catch(u){a(u)}},l=function(p){try{d(o.throw(p))}catch(u){a(u)}},d=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(i,l)};d((o=o.apply(e,r)).next())})};var ad=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ir:ir.apply(null,arguments)},Hg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function id(e){if(typeof e!="object"||e===null)return!1;var r=Object.getPrototypeOf(e);if(r===null)return!0;for(var o=r;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return r===o}var sd=function(e){xs(r,e);function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,r.prototype),a}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},r.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(r.bind.apply(r,sr([void 0],o[0].concat(this)))):new(r.bind.apply(r,sr([void 0],o.concat(this))))},r}(Array),ld=function(e){xs(r,e);function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,r.prototype),a}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},r.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(r.bind.apply(r,sr([void 0],o[0].concat(this)))):new(r.bind.apply(r,sr([void 0],o.concat(this))))},r}(Array);function In(e){return $e(e)?ho(e,function(){}):e}function cd(e){return typeof e=="boolean"}function dd(){return function(r){return pd(r)}}function pd(e){e===void 0&&(e={});var r=e.thunk,o=r===void 0?!0:r,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,l=i===void 0?!0:i,d=new sd;if(o&&(cd(o)?d.push(En):d.push(En.withExtraArgument(o.extraArgument))),0){if(a)var p;if(l)var u}return d}var An=!0;function vs(e){var r=dd(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,l=i===void 0?r():i,d=o.devTools,p=d===void 0?!0:d,u=o.preloadedState,m=u===void 0?void 0:u,y=o.enhancers,g=y===void 0?void 0:y,S;if(typeof a=="function")S=a;else if(id(a))S=ps(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=l;if(typeof v=="function"&&(v=v(r),!An&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!An&&v.some(function(M){return typeof M!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=us.apply(void 0,v),L=ir;p&&(L=ad(xt({trace:!An},typeof p=="object"&&p)));var I=new ld(C),N=I;Array.isArray(g)?N=sr([C],g):typeof g=="function"&&(N=g(I));var B=L.apply(void 0,N);return Cn(S,m,B)}function vt(e,r){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(r){var i=r.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return xt(xt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function Ss(e){var r={},o=[],n,a={addCase:function(i,l){var d=typeof i=="string"?i:i.type;if(d in r)throw new Error("addCase cannot be called with two reducers for the same action type");return r[d]=l,a},addMatcher:function(i,l){return o.push({matcher:i,reducer:l}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[r,o,n]}function ud(e){return typeof e=="function"}function fd(e,r,o,n){o===void 0&&(o=[]);var a=typeof r=="function"?Ss(r):[r,o,n],i=a[0],l=a[1],d=a[2],p;if(ud(e))p=function(){return In(e())};else{var u=In(e);p=function(){return u}}function m(y,g){y===void 0&&(y=p());var S=sr([i[g.type]],l.filter(function(v){var C=v.matcher;return C(g)}).map(function(v){var C=v.reducer;return C}));return S.filter(function(v){return!!v}).length===0&&(S=[d]),S.reduce(function(v,C){if(C)if(ot(v)){var L=v,I=C(L,g);return I===void 0?v:I}else{if($e(v))return ho(v,function(N){return C(N,g)});var I=C(v,g);if(I===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return I}return v},y)}return m.getInitialState=p,m}function hd(e,r){return e+"/"+r}function Os(e){var r=e.name;if(!r)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:In(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},l={},d={};a.forEach(function(m){var y=n[m],g=hd(r,m),S,v;"reducer"in y?(S=y.reducer,v=y.prepare):S=y,i[m]=S,l[g]=S,d[m]=v?vt(g,v):vt(g)});function p(){var m=typeof e.extraReducers=="function"?Ss(e.extraReducers):[e.extraReducers],y=m[0],g=y===void 0?{}:y,S=m[1],v=S===void 0?[]:S,C=m[2],L=C===void 0?void 0:C,I=xt(xt({},g),l);return fd(o,function(N){for(var B in I)N.addCase(B,I[B]);for(var M=0,U=v;M<U.length;M++){var ve=U[M];N.addMatcher(ve.matcher,ve.reducer)}L&&N.addDefaultCase(L)})}var u;return{name:r,reducer:function(m,y){return u||(u=p()),u(m,y)},actions:d,caseReducers:i,getInitialState:function(){return u||(u=p()),u.getInitialState()}}}var yd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",md=function(e){e===void 0&&(e=21);for(var r="",o=e;o--;)r+=yd[Math.random()*64|0];return r},gd=["name","message","stack","code"],Rn=function(){function e(r,o){this.payload=r,this.meta=o}return e}(),gs=function(){function e(r,o){this.payload=r,this.meta=o}return e}(),bd=function(e){if(typeof e=="object"&&e!==null){for(var r={},o=0,n=gd;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(r[a]=e[a])}return r}return{message:String(e)}},Vg=function(){function e(r,o,n){var a=vt(r+"/fulfilled",function(m,y,g,S){return{payload:m,meta:wn(xt({},S||{}),{arg:g,requestId:y,requestStatus:"fulfilled"})}}),i=vt(r+"/pending",function(m,y,g){return{payload:void 0,meta:wn(xt({},g||{}),{arg:y,requestId:m,requestStatus:"pending"})}}),l=vt(r+"/rejected",function(m,y,g,S,v){return{payload:S,error:(n&&n.serializeError||bd)(m||"Rejected"),meta:wn(xt({},v||{}),{arg:g,requestId:y,rejectedWithValue:!!S,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),d=!1,p=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function u(m){return function(y,g,S){var v=n?.idGenerator?n.idGenerator(m):md(),C=new p,L,I=!1;function N(M){L=M,C.abort()}var B=function(){return nd(this,null,function(){var M,U,ve,Fe,xe,He,de;return Jc(this,function(h){switch(h.label){case 0:return h.trys.push([0,4,,5]),Fe=(M=n?.condition)==null?void 0:M.call(n,m,{getState:g,extra:S}),vd(Fe)?[4,Fe]:[3,2];case 1:Fe=h.sent(),h.label=2;case 2:if(Fe===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,xe=new Promise(function(x,k){return C.signal.addEventListener("abort",function(){return k({name:"AbortError",message:L||"Aborted"})})}),y(i(v,m,(U=n?.getPendingMeta)==null?void 0:U.call(n,{requestId:v,arg:m},{getState:g,extra:S}))),[4,Promise.race([xe,Promise.resolve(o(m,{dispatch:y,getState:g,extra:S,requestId:v,signal:C.signal,abort:N,rejectWithValue:function(x,k){return new Rn(x,k)},fulfillWithValue:function(x,k){return new gs(x,k)}})).then(function(x){if(x instanceof Rn)throw x;return x instanceof gs?a(x.payload,v,m,x.meta):a(x,v,m)})])];case 3:return ve=h.sent(),[3,5];case 4:return He=h.sent(),ve=He instanceof Rn?l(null,v,m,He.payload,He.meta):l(He,v,m),[3,5];case 5:return de=n&&!n.dispatchConditionRejection&&l.match(ve)&&ve.meta.condition,de||y(ve),[2,ve]}})})}();return Object.assign(B,{abort:N,requestId:v,arg:m,unwrap:function(){return B.then(xd)}})}}return Object.assign(u,{pending:i,rejected:l,fulfilled:a,typePrefix:r})}return e.withTypes=function(){return e},e}();function xd(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function vd(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Cs="listener",Es="completed",ws="cancelled",Kg="task-"+ws,Zg="task-"+Es,qg=Cs+"-"+ws,Yg=Cs+"-"+Es;var Nn="listenerMiddleware";var Xg=vt(Nn+"/add"),Jg=vt(Nn+"/removeAll"),Qg=vt(Nn+"/remove");var bs,eb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(bs||(bs=Promise.resolve())).then(e).catch(function(r){return setTimeout(function(){throw r},0)})},Sd=function(e){return function(r){setTimeout(r,e)}},tb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Sd(10);os();function Od(e,r){return class extends e{constructor(){super(...arguments),this.eventBus=r??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}var mo=class extends Od(Object){};window.ftReduxStores||(window.ftReduxStores={});var As=class e extends mo{static get(r){var o;let n=typeof r=="string"?r:r.name,a=typeof r=="string"?void 0:r,i=window.ftReduxStores[n];if(Rr(i))return i;if(a==null)return;let l=Os({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),d=vs({reducer:(p,u)=>u.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...u.overwrites}:l.reducer(p,u)});return window.ftReduxStores[a.name]=new e(l,d,a.eventBus)}constructor(r,o,n){super(),this.reduxSlice=r,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new io;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,l,d)=>{let p=l,u=i[p];return u?(...m)=>{let y=u(...m.map(a));return this.reduxStore.dispatch(y),y}:m=>{this.setState({[p]:a(m)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(r){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(r).join("_"),overwrites:r})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(r){throw new Error("Not implemented yet.")}subscribe(r){return this.reduxStore.subscribe(r)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Oo=b(P());var wd=b(Is(),1);var Ns;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Ns||(Ns={}));var Ls;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Ls||(Ls={}));var Ts;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})(Ts||(Ts={}));var Ps;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})(Ps||(Ps={}));var _s;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(_s||(_s={}));var ks;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(ks||(ks={}));var Ds;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",e.GEN_AI__RATE="GEN_AI__RATE",e.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",e.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(Ds||(Ds={}));var Bs;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(Bs||(Bs={}));var $s;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})($s||($s={}));var Ms;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Ms||(Ms={}));var Us;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Us||(Us={}));var zs;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(zs||(zs={}));var Fs;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Fs||(Fs={}));var Hs;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Hs||(Hs={}));var Ws;(function(e){e.ASC="ASC",e.DESC="DESC"})(Ws||(Ws={}));var Gs;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Gs||(Gs={}));var js;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(js||(js={}));var Vs;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Vs||(Vs={}));var Ks;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Ks||(Ks={}));var Zs;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Zs||(Zs={}));var qs;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(qs||(qs={}));var Ys;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Ys||(Ys={}));var Xs;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Xs||(Xs={}));var ae;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(ae||(ae={}));var Js;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Js||(Js={}));var Qs;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Qs||(Qs={}));var el;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(el||(el={}));var tl;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(tl||(tl={}));var Ed={[ae.PERSONAL_BOOK_SHARE_USER]:[ae.PERSONAL_BOOK_USER],[ae.HTML_EXPORT_USER]:[ae.PERSONAL_BOOK_USER],[ae.PDF_EXPORT_USER]:[ae.PERSONAL_BOOK_USER],[ae.KHUB_ADMIN]:[ae.CONTENT_PUBLISHER],[ae.ADMIN]:[ae.KHUB_ADMIN,ae.USERS_ADMIN,ae.PORTAL_ADMIN],[ae.GENERATIVE_AI_EXPORT_USER]:[ae.GENERATIVE_AI_USER]};function rl(e,r){return e===r||(Ed[e]??[]).some(o=>rl(o,r))}function ol(e,r){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(n=>rl(n,r))}var xo=class extends yt{async listMySearches(){let{session:r}=D.getState();return ol(r,ae.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(r.profile.userId),5*60*1e3):[]}};var vo=class extends yt{async listMyBookmarks(){let r=D.getState().session;return r?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(r.profile.userId),5*60*1e3):[]}};var Ad="ft-user-assets",So=Oo.FtReduxStore.get({name:Ad,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ln=class{constructor(){this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new vo,this.savedSearchesService=new xo,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var r;let{session:o}=D.getState();(0,Oo.deepEqual)((r=this.currentSession)===null||r===void 0?void 0:r.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),So.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),So.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let r=await this.savedSearchesService.listMySearches();So.actions.savedSearches(r)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var r;if(this.bookmarksAreUsed){let o=!((r=this.currentSession)===null||r===void 0)&&r.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;So.actions.bookmarks(o)}}},Xb=new Ln;var Tn=class{addCommand(r,o=!1){D.commands.add(r,o)}consumeCommand(r){return D.commands.consume(r)}};window.FluidTopicsAppInfoStoreService=new Tn;var nl=b(P()),Pn=class{highlightHtml(r,o,n){(0,nl.highlightHtml)(r,o,n)}};window.FluidTopicsHighlightHtmlService=new Pn;var al=b(P());var _n=class{isDate(r){var o,n,a,i;return(i=(a=((n=(o=D.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===r))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(r,o){var n,a,i;return al.DateFormatter.format(r,(n=o?.locale)!==null&&n!==void 0?n:D.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new _n;var il=b(P());var _r=class{static get(r,o){var n,a,i,l;let d=D.getState(),{lang:p,region:u}=(a=(n=d.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new il.SearchPlaceConverter(d.baseUrl,(l=(i=window.FluidTopicsClientConfiguration)===null||i===void 0?void 0:i.predefinedSorts)!==null&&l!==void 0?l:{},r??20,d.searchInAllLanguagesAllowed,o??`${p}-${u}`)}};var kn=class{urlToSearchRequest(r){return _r.get().parse(r)}searchRequestToUrl(r){return _r.get().serialize(r)}};window.FluidTopicsUrlService=new kn;var Ot=b(P());var Mt=class e extends CustomEvent{constructor(r){super(e.eventName,{detail:{currentItem:r}})}};Mt.eventName="change";var Dn=class{itemName(r){return`fluid-topics-history-item-${r}`}get(r){let o=sessionStorage.getItem(this.itemName(r));return o?JSON.parse(o):void 0}set(r,o){sessionStorage.setItem(this.itemName(r),JSON.stringify(o))}},sl=new Dn;var Co=class e extends Ot.WithEventBus{static build(){return new e(window.history,sl,()=>window.location,!1)}constructor(r,o,n,a){var i,l;super(),this.history=r,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=r.pushState,this.realReplaceState=r.replaceState,this.initialIndex=(l=(i=r.state)===null||i===void 0?void 0:i.index)!==null&&l!==void 0?l:r.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(r,o=!1){let n=o&&this.currentIndex===r.index-1;this.currentState={...this.buildCurrentState(),...r},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,Ot.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Mt(this.currentItem())),0)}installProxies(){let r=o=>(n,a,[i,l,d])=>{let p=o(),u={...p===this.currentIndex?this.currentState:void 0,...i,index:p,href:typeof d=="string"?d:(d??this.windowLocation()).href};n.apply(a,[u,l,d]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:r(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:r(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",r=>this.setCurrentState(r.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(r){for(let o=this.history.length-1;o>=0;o--)r?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(r){var o;let n={...this.buildCurrentState(),...r,index:this.currentIndex,title:(o=r?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(r){this.addEventListener(Mt.eventName,r)}removeHistoryChangeListener(r){this.removeEventListener(Mt.eventName,r)}currentItem(){return(0,Ot.deepCopy)(this.currentState)}back(){let r=this.previousDifferentMajorPosition();r>=0?this.history.go(r-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,Ot.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let r=this.currentIndex>0?this.currentIndex-1:0;for(;r>0&&!this.isDifferentMajorState(r);)r--;return r}forward(){let r=this.nextMajorPosition();r&&r<this.states.length?this.history.go(r-this.currentIndex):this.history.forward()}forwardItem(){let r=this.nextMajorPosition();if(r)return(0,Ot.deepCopy)(this.states[r])}nextMajorPosition(){let r=this.currentIndex;if(!(r>=this.states.length)){do r++;while(r<this.states.length&&!this.isDifferentMajorState(r));return this.getHigherPositionInTheSameState(r)}}getHigherPositionInTheSameState(r){var o;let n=(o=this.states[r])===null||o===void 0?void 0:o.majorStateId;if(!n)return r;let a=r,i=r+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,n);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var r,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(r=this.history.state)===null||r===void 0?void 0:r.title)!==null&&o!==void 0?o:document.title}}hasState(r){return this.states[r]!=null}isDifferentMajorState(r,o){var n;if(!this.hasState(r))return!1;let a=o??this.currentState.majorStateId,i=(n=this.states[r])===null||n===void 0?void 0:n.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Co.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});(0,ll.customElement)("ft-app-context")(X);var fl=b(ee());var Rd=b(P());function cl(e){return e.match(/^[\w-]+\.[\w-]+$/)}var Id=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},dl=Symbol("i18nAttributes"),pl=Symbol("i18nListAttributes"),hl=Symbol("i18nProperties"),Eo=Symbol("i18nContexts"),kr=Symbol("i18nUnsubs");function Ro(e){var r,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[r]=new Map,this[o]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?oo:tr}i18n(i){var l;this.hasI18nContext(i.context)||this.addI18nContext(i.context,void 0,i.custom);let d=(l=i.args)!==null&&l!==void 0?l:i.argsProvider?i.argsProvider(this):[];return this.getI18nService(i.custom).resolveMessage(i.context,i.key,...d)}customI18n(i,l){if(cl(i)){let[d,p]=i.split(".");return this.i18n({custom:!0,context:d,key:p,...l})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((l,d,p)=>i.has(d)||typeof l.argsProvider=="function"),this.updateI18nProperties(l=>typeof l.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((l,d,p)=>{var u;return((u=p?.context)===null||u===void 0?void 0:u.toLowerCase())===i}),this.updateI18nProperties(l=>l.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var l,d;let p=this,u=(m,y,g)=>g?.context&&g.key&&i(m,y,g)?{...g,message:this.i18n({context:g.context,key:g.key,...m})}:g;(l=this[dl])===null||l===void 0||l.forEach((m,y)=>p[y]=u(m,y,p[y])),(d=this[pl])===null||d===void 0||d.forEach((m,y)=>{var g;return p[y]=(g=p[y])===null||g===void 0?void 0:g.map(S=>u(m,y,S))})}updateI18nProperties(i){var l;(l=this[hl])===null||l===void 0||l.forEach((d,p)=>{i(d,p)&&(this[p]=this.i18n(d))})}addI18nMessages(i,l,d){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,l,d)}addI18nContext(i,l,d){let p=(typeof i=="string"?i:i.name).toLowerCase();d=typeof i=="string"?d:i.custom,this[Eo].set(p,{isCustomContext:d}),this[kr].has(p)||this[kr].set(p,this.getI18nService(d).subscribe(p,()=>this.onI18nUpdate(p))),this.getI18nService(d).prepareContext(p,l)}hasI18nContext(i){return this[Eo].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Eo].forEach((i,l)=>this.addI18nContext(l,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[kr].forEach(i=>i()),this[kr].clear()}}return r=Eo,o=kr,Id([(0,fl.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var ul=class extends Ro(Ao.FtLitElement){},wo=class extends Ro(Ao.FtLitElementRedux){};var Dr=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Me=class extends wo{constructor(){super(),this.editorMode=!1,this.addStore(D)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Io.nothing:Io.html`
|
|
472
472
|
<span class="ft-i18n">
|
|
473
473
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
474
474
|
</span>
|
|
475
|
-
`}update(r){var o;super.update(r),["context","key","defaultMessage"].some(n=>r.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};
|
|
475
|
+
`}update(r){var o;super.update(r),["context","key","defaultMessage"].some(n=>r.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Me.elementDefinitions={};Me.styles=Li;Dr([(0,Lo.redux)()],Me.prototype,"editorMode",void 0);Dr([(0,No.property)()],Me.prototype,"context",void 0);Dr([(0,No.property)()],Me.prototype,"key",void 0);Dr([(0,Lo.jsonProperty)([])],Me.prototype,"args",void 0);Dr([(0,No.property)()],Me.prototype,"defaultMessage",void 0);var To=class e{static build(r){return new e(r)}static buildCustom(r){return new e(r,!0)}static fromGwt(r){return new e(r)}get service(){return this.custom?oo:tr}constructor(r,o=!1){this.name=r,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return l=>({context:this.name,key:i,custom:this.custom,args:typeof l=="function"?void 0:l,argsProvider:typeof l=="function"?l:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)})}};(0,yl.customElement)("ft-i18n")(Me);var cr=To.build("textInput"),ml={hidePassword:"Hide password",showPassword:"Show password",invalidEmail:"Invalid email format.",invalidUrl:"Invalid URL format."};var jl=b(P());var Gl=b(H()),ie=b(ee()),zr=b(P());var gl=b(H()),nt=b(P()),dr={distance:nt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:nt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:nt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:nt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:nt.FtCssVariableFactory.external(nt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:nt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},bl=gl.css`
|
|
476
476
|
.ft-tooltip--container {
|
|
477
477
|
display: block;
|
|
478
478
|
}
|
|
@@ -487,21 +487,21 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
487
487
|
box-sizing: border-box;
|
|
488
488
|
overflow: hidden;
|
|
489
489
|
width: max-content;
|
|
490
|
-
max-width: ${
|
|
490
|
+
max-width: ${dr.maxWidth};
|
|
491
491
|
text-align: center;
|
|
492
|
-
padding: ${
|
|
493
|
-
z-index: ${
|
|
492
|
+
padding: ${dr.distance};
|
|
493
|
+
z-index: ${dr.zIndex};
|
|
494
494
|
}
|
|
495
495
|
|
|
496
496
|
.ft-tooltip--content {
|
|
497
497
|
padding: 4px 8px;
|
|
498
|
-
border-radius: ${
|
|
499
|
-
background-color: ${
|
|
500
|
-
color: ${
|
|
498
|
+
border-radius: ${dr.borderRadiusS};
|
|
499
|
+
background-color: ${dr.backgroundColor};
|
|
500
|
+
color: ${dr.color};
|
|
501
501
|
position: relative;
|
|
502
502
|
word-break: break-word;
|
|
503
503
|
}
|
|
504
|
-
`;var Gs=["top","right","bottom","left"],$s=["start","end"],cn=Gs.reduce((e,r)=>e.concat(r,r+"-"+$s[0],r+"-"+$s[1]),[]),js=Math.min,Ks=Math.max;var Lc={left:"right",right:"left",bottom:"top",top:"bottom"},_c={start:"end",end:"start"};function dn(e,r,o){return Ks(e,js(r,o))}function oo(e,r){return typeof e=="function"?e(r):e}function $t(e){return e.split("-")[0]}function ot(e){return e.split("-")[1]}function un(e){return e==="x"?"y":"x"}function pn(e){return e==="y"?"height":"width"}function no(e){return["top","bottom"].includes($t(e))?"y":"x"}function fn(e){return un(no(e))}function Vs(e,r,o){o===void 0&&(o=!1);let n=ot(e),a=fn(e),s=pn(a),l=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return r.reference[s]>r.floating[s]&&(l=ln(l)),[l,ln(l)]}function Zs(e){return e.replace(/start|end/g,r=>_c[r])}function ln(e){return e.replace(/left|right|bottom|top/g,r=>Lc[r])}function Pc(e){return{top:0,right:0,bottom:0,left:0,...e}}function qs(e){return typeof e!="number"?Pc(e):{top:e,right:e,bottom:e,left:e}}function yt(e){let{x:r,y:o,width:n,height:a}=e;return{width:n,height:a,top:o,left:r,right:r+n,bottom:o+a,x:r,y:o}}function Ys(e,r,o){let{reference:n,floating:a}=e,s=no(r),l=fn(r),d=pn(l),u=$t(r),p=s==="y",g=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,y=n[d]/2-a[d]/2,x;switch(u){case"top":x={x:g,y:n.y-a.height};break;case"bottom":x={x:g,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:h};break;case"left":x={x:n.x-a.width,y:h};break;default:x={x:n.x,y:n.y}}switch(ot(r)){case"start":x[l]-=y*(o&&p?-1:1);break;case"end":x[l]+=y*(o&&p?-1:1);break}return x}var Xs=async(e,r,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:s=[],platform:l}=o,d=s.filter(Boolean),u=await(l.isRTL==null?void 0:l.isRTL(r)),p=await l.getElementRects({reference:e,floating:r,strategy:a}),{x:g,y:h}=Ys(p,n,u),y=n,x={},b=0;for(let v=0;v<d.length;v++){let{name:R,fn:w}=d[v],{x:A,y:_,data:k,reset:D}=await w({x:g,y:h,initialPlacement:n,placement:y,strategy:a,middlewareData:x,rects:p,platform:l,elements:{reference:e,floating:r}});g=A??g,h=_??h,x={...x,[R]:{...x[R],...k}},D&&b<=50&&(b++,typeof D=="object"&&(D.placement&&(y=D.placement),D.rects&&(p=D.rects===!0?await l.getElementRects({reference:e,floating:r,strategy:a}):D.rects),{x:g,y:h}=Ys(p,y,u)),v=-1)}return{x:g,y:h,placement:y,strategy:a,middlewareData:x}};async function hn(e,r){var o;r===void 0&&(r={});let{x:n,y:a,platform:s,rects:l,elements:d,strategy:u}=e,{boundary:p="clippingAncestors",rootBoundary:g="viewport",elementContext:h="floating",altBoundary:y=!1,padding:x=0}=oo(r,e),b=qs(x),R=d[y?h==="floating"?"reference":"floating":h],w=yt(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(R)))==null||o?R:R.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(d.floating)),boundary:p,rootBoundary:g,strategy:u})),A=h==="floating"?{x:n,y:a,width:l.floating.width,height:l.floating.height}:l.reference,_=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d.floating)),k=await(s.isElement==null?void 0:s.isElement(_))?await(s.getScale==null?void 0:s.getScale(_))||{x:1,y:1}:{x:1,y:1},D=yt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:A,offsetParent:_,strategy:u}):A);return{top:(w.top-D.top+b.top)/k.y,bottom:(D.bottom-w.bottom+b.bottom)/k.y,left:(w.left-D.left+b.left)/k.x,right:(D.right-w.right+b.right)/k.x}}function kc(e,r,o){return(e?[...o.filter(a=>ot(a)===e),...o.filter(a=>ot(a)!==e)]:o.filter(a=>$t(a)===a)).filter(a=>e?ot(a)===e||(r?Zs(a)!==a:!1):!0)}var gn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(r){var o,n,a;let{rects:s,middlewareData:l,placement:d,platform:u,elements:p}=r,{crossAxis:g=!1,alignment:h,allowedPlacements:y=cn,autoAlignment:x=!0,...b}=oo(e,r),v=h!==void 0||y===cn?kc(h||null,x,y):y,R=await hn(r,b),w=((o=l.autoPlacement)==null?void 0:o.index)||0,A=v[w];if(A==null)return{};let _=Vs(A,s,await(u.isRTL==null?void 0:u.isRTL(p.floating)));if(d!==A)return{reset:{placement:v[0]}};let k=[R[$t(A)],R[_[0]],R[_[1]]],D=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:k}],se=v[w+1];if(se)return{data:{index:w+1,overflows:D},reset:{placement:se}};let we=D.map(X=>{let f=ot(X.placement);return[X.placement,f&&g?X.overflows.slice(0,2).reduce((m,I)=>m+I,0):X.overflows[0],X.overflows]}).sort((X,f)=>X[1]-f[1]),Ae=((a=we.filter(X=>X[2].slice(0,ot(X[0])?2:3).every(f=>f<=0))[0])==null?void 0:a[0])||we[0][0];return Ae!==d?{data:{index:w+1,overflows:D},reset:{placement:Ae}}:{}}}};var yn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(r){let{x:o,y:n,placement:a}=r,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:R=>{let{x:w,y:A}=R;return{x:w,y:A}}},...u}=oo(e,r),p={x:o,y:n},g=await hn(r,u),h=no($t(a)),y=un(h),x=p[y],b=p[h];if(s){let R=y==="y"?"top":"left",w=y==="y"?"bottom":"right",A=x+g[R],_=x-g[w];x=dn(A,x,_)}if(l){let R=h==="y"?"top":"left",w=h==="y"?"bottom":"right",A=b+g[R],_=b-g[w];b=dn(A,b,_)}let v=d.fn({...r,[y]:x,[h]:b});return{...v,data:{x:v.x-o,y:v.y-n,enabled:{[y]:s,[h]:l}}}}}};var mn=Math.min,Gt=Math.max,fr=Math.round;var He=e=>({x:e,y:e});function We(e){return Qs(e)?(e.nodeName||"").toLowerCase():"#document"}function ce(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function Fe(e){var r;return(r=(Qs(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function Qs(e){return e instanceof Node||e instanceof ce(e).Node}function Le(e){return e instanceof Element||e instanceof ce(e).Element}function Ee(e){return e instanceof HTMLElement||e instanceof ce(e).HTMLElement}function Js(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ce(e).ShadowRoot}function jt(e){let{overflow:r,overflowX:o,overflowY:n,display:a}=fe(e);return/auto|scroll|overlay|hidden|clip/.test(r+n+o)&&!["inline","contents"].includes(a)}function el(e){return["table","td","th"].includes(We(e))}function io(e){let r=so(),o=fe(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!r&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!r&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function tl(e){let r=mt(e);for(;Ee(r)&&!hr(r);){if(io(r))return r;r=mt(r)}return null}function so(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function hr(e){return["html","body","#document"].includes(We(e))}function fe(e){return ce(e).getComputedStyle(e)}function gr(e){return Le(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function mt(e){if(We(e)==="html")return e;let r=e.assignedSlot||e.parentNode||Js(e)&&e.host||Fe(e);return Js(r)?r.host:r}function rl(e){let r=mt(e);return hr(r)?e.ownerDocument?e.ownerDocument.body:e.body:Ee(r)&&jt(r)?r:rl(r)}function ao(e,r,o){var n;r===void 0&&(r=[]),o===void 0&&(o=!0);let a=rl(e),s=a===((n=e.ownerDocument)==null?void 0:n.body),l=ce(a);return s?r.concat(l,l.visualViewport||[],jt(a)?a:[],l.frameElement&&o?ao(l.frameElement):[]):r.concat(a,ao(a,[],o))}function al(e){let r=fe(e),o=parseFloat(r.width)||0,n=parseFloat(r.height)||0,a=Ee(e),s=a?e.offsetWidth:o,l=a?e.offsetHeight:n,d=fr(o)!==s||fr(n)!==l;return d&&(o=s,n=l),{width:o,height:n,$:d}}function il(e){return Le(e)?e:e.contextElement}function Kt(e){let r=il(e);if(!Ee(r))return He(1);let o=r.getBoundingClientRect(),{width:n,height:a,$:s}=al(r),l=(s?fr(o.width):o.width)/n,d=(s?fr(o.height):o.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!d||!Number.isFinite(d))&&(d=1),{x:l,y:d}}var Uc=He(0);function sl(e){let r=ce(e);return!so()||!r.visualViewport?Uc:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function Mc(e,r,o){return r===void 0&&(r=!1),!o||r&&o!==ce(e)?!1:r}function yr(e,r,o,n){r===void 0&&(r=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),s=il(e),l=He(1);r&&(n?Le(n)&&(l=Kt(n)):l=Kt(e));let d=Mc(s,o,n)?sl(s):He(0),u=(a.left+d.x)/l.x,p=(a.top+d.y)/l.y,g=a.width/l.x,h=a.height/l.y;if(s){let y=ce(s),x=n&&Le(n)?ce(n):n,b=y.frameElement;for(;b&&n&&x!==y;){let v=Kt(b),R=b.getBoundingClientRect(),w=fe(b),A=R.left+(b.clientLeft+parseFloat(w.paddingLeft))*v.x,_=R.top+(b.clientTop+parseFloat(w.paddingTop))*v.y;u*=v.x,p*=v.y,g*=v.x,h*=v.y,u+=A,p+=_,b=ce(b).frameElement}}return yt({width:g,height:h,x:u,y:p})}function zc(e){let{rect:r,offsetParent:o,strategy:n}=e,a=Ee(o),s=Fe(o);if(o===s)return r;let l={scrollLeft:0,scrollTop:0},d=He(1),u=He(0);if((a||!a&&n!=="fixed")&&((We(o)!=="body"||jt(s))&&(l=gr(o)),Ee(o))){let p=yr(o);d=Kt(o),u.x=p.x+o.clientLeft,u.y=p.y+o.clientTop}return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-l.scrollLeft*d.x+u.x,y:r.y*d.y-l.scrollTop*d.y+u.y}}function Hc(e){return Array.from(e.getClientRects())}function ll(e){return yr(Fe(e)).left+gr(e).scrollLeft}function Wc(e){let r=Fe(e),o=gr(e),n=e.ownerDocument.body,a=Gt(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth),s=Gt(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight),l=-o.scrollLeft+ll(e),d=-o.scrollTop;return fe(n).direction==="rtl"&&(l+=Gt(r.clientWidth,n.clientWidth)-a),{width:a,height:s,x:l,y:d}}function Fc(e,r){let o=ce(e),n=Fe(e),a=o.visualViewport,s=n.clientWidth,l=n.clientHeight,d=0,u=0;if(a){s=a.width,l=a.height;let p=so();(!p||p&&r==="fixed")&&(d=a.offsetLeft,u=a.offsetTop)}return{width:s,height:l,x:d,y:u}}function $c(e,r){let o=yr(e,!0,r==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,s=Ee(e)?Kt(e):He(1),l=e.clientWidth*s.x,d=e.clientHeight*s.y,u=a*s.x,p=n*s.y;return{width:l,height:d,x:u,y:p}}function ol(e,r,o){let n;if(r==="viewport")n=Fc(e,o);else if(r==="document")n=Wc(Fe(e));else if(Le(r))n=$c(r,o);else{let a=sl(e);n={...r,x:r.x-a.x,y:r.y-a.y}}return yt(n)}function cl(e,r){let o=mt(e);return o===r||!Le(o)||hr(o)?!1:fe(o).position==="fixed"||cl(o,r)}function Gc(e,r){let o=r.get(e);if(o)return o;let n=ao(e,[],!1).filter(d=>Le(d)&&We(d)!=="body"),a=null,s=fe(e).position==="fixed",l=s?mt(e):e;for(;Le(l)&&!hr(l);){let d=fe(l),u=io(l);!u&&d.position==="fixed"&&(a=null),(s?!u&&!a:!u&&d.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||jt(l)&&!u&&cl(e,l))?n=n.filter(g=>g!==l):a=d,l=mt(l)}return r.set(e,n),n}function jc(e){let{element:r,boundary:o,rootBoundary:n,strategy:a}=e,l=[...o==="clippingAncestors"?Gc(r,this._c):[].concat(o),n],d=l[0],u=l.reduce((p,g)=>{let h=ol(r,g,a);return p.top=Gt(h.top,p.top),p.right=mn(h.right,p.right),p.bottom=mn(h.bottom,p.bottom),p.left=Gt(h.left,p.left),p},ol(r,d,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Kc(e){return al(e)}function Vc(e,r,o){let n=Ee(r),a=Fe(r),s=o==="fixed",l=yr(e,!0,s,r),d={scrollLeft:0,scrollTop:0},u=He(0);if(n||!n&&!s)if((We(r)!=="body"||jt(a))&&(d=gr(r)),n){let p=yr(r,!0,s,r);u.x=p.x+r.clientLeft,u.y=p.y+r.clientTop}else a&&(u.x=ll(a));return{x:l.left+d.scrollLeft-u.x,y:l.top+d.scrollTop-u.y,width:l.width,height:l.height}}function nl(e,r){return!Ee(e)||fe(e).position==="fixed"?null:r?r(e):e.offsetParent}function dl(e,r){let o=ce(e);if(!Ee(e))return o;let n=nl(e,r);for(;n&&el(n)&&fe(n).position==="static";)n=nl(n,r);return n&&(We(n)==="html"||We(n)==="body"&&fe(n).position==="static"&&!io(n))?o:n||tl(e)||o}var Zc=async function(e){let{reference:r,floating:o,strategy:n}=e,a=this.getOffsetParent||dl,s=this.getDimensions;return{reference:Vc(r,await a(o),n),floating:{x:0,y:0,...await s(o)}}};function qc(e){return fe(e).direction==="rtl"}var lo={convertOffsetParentRelativeRectToViewportRelativeRect:zc,getDocumentElement:Fe,getClippingRect:jc,getOffsetParent:dl,getElementRects:Zc,getClientRects:Hc,getDimensions:Kc,getScale:Kt,isElement:Le,isRTL:qc};var ul=(e,r,o)=>{let n=new Map,a={platform:lo,...o},s={...a.platform,_c:n};return Xs(e,r,{...a,platform:s})};function pl(e){return Yc(e)}function bn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Yc(e){for(let r=e;r;r=bn(r))if(r instanceof Element&&getComputedStyle(r).display==="none")return null;for(let r=bn(e);r;r=bn(r)){if(!(r instanceof Element))continue;let o=getComputedStyle(r);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||r.tagName==="BODY"))return r}return null}async function fl(e,r,o){return ul(e,r,{platform:{...lo,getOffsetParent:n=>lo.getOffsetParent(n,pl)},middleware:[yn({crossAxis:!0}),gn({allowedPlacements:[o]})]})}var de=function(e,r,o,n){var a=arguments.length,s=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(s=(a<3?l(s):a>3?l(r,o,s):l(r,o))||s);return a>3&&s&&Object.defineProperty(r,o,s),s},F=class extends mr.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 mr.Debouncer,this.revealDebouncer=new mr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return hl.html`
|
|
504
|
+
`;var vl=["top","right","bottom","left"],xl=["start","end"],$n=vl.reduce((e,r)=>e.concat(r,r+"-"+xl[0],r+"-"+xl[1]),[]),Sl=Math.min,Ol=Math.max;var Nd={left:"right",right:"left",bottom:"top",top:"bottom"},Ld={start:"end",end:"start"};function Mn(e,r,o){return Ol(e,Sl(r,o))}function Po(e,r){return typeof e=="function"?e(r):e}function pr(e){return e.split("-")[0]}function Ct(e){return e.split("-")[1]}function Un(e){return e==="x"?"y":"x"}function zn(e){return e==="y"?"height":"width"}function _o(e){return["top","bottom"].includes(pr(e))?"y":"x"}function Fn(e){return Un(_o(e))}function Cl(e,r,o){o===void 0&&(o=!1);let n=Ct(e),a=Fn(e),i=zn(a),l=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return r.reference[i]>r.floating[i]&&(l=Bn(l)),[l,Bn(l)]}function El(e){return e.replace(/start|end/g,r=>Ld[r])}function Bn(e){return e.replace(/left|right|bottom|top/g,r=>Nd[r])}function Td(e){return{top:0,right:0,bottom:0,left:0,...e}}function wl(e){return typeof e!="number"?Td(e):{top:e,right:e,bottom:e,left:e}}function Ut(e){let{x:r,y:o,width:n,height:a}=e;return{width:n,height:a,top:o,left:r,right:r+n,bottom:o+a,x:r,y:o}}function Al(e,r,o){let{reference:n,floating:a}=e,i=_o(r),l=Fn(r),d=zn(l),p=pr(r),u=i==="y",m=n.x+n.width/2-a.width/2,y=n.y+n.height/2-a.height/2,g=n[d]/2-a[d]/2,S;switch(p){case"top":S={x:m,y:n.y-a.height};break;case"bottom":S={x:m,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y};break;case"left":S={x:n.x-a.width,y};break;default:S={x:n.x,y:n.y}}switch(Ct(r)){case"start":S[l]-=g*(o&&u?-1:1);break;case"end":S[l]+=g*(o&&u?-1:1);break}return S}var Rl=async(e,r,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:l}=o,d=i.filter(Boolean),p=await(l.isRTL==null?void 0:l.isRTL(r)),u=await l.getElementRects({reference:e,floating:r,strategy:a}),{x:m,y}=Al(u,n,p),g=n,S={},v=0;for(let C=0;C<d.length;C++){let{name:L,fn:I}=d[C],{x:N,y:B,data:M,reset:U}=await I({x:m,y,initialPlacement:n,placement:g,strategy:a,middlewareData:S,rects:u,platform:l,elements:{reference:e,floating:r}});m=N??m,y=B??y,S={...S,[L]:{...S[L],...M}},U&&v<=50&&(v++,typeof U=="object"&&(U.placement&&(g=U.placement),U.rects&&(u=U.rects===!0?await l.getElementRects({reference:e,floating:r,strategy:a}):U.rects),{x:m,y}=Al(u,g,p)),C=-1)}return{x:m,y,placement:g,strategy:a,middlewareData:S}};async function Hn(e,r){var o;r===void 0&&(r={});let{x:n,y:a,platform:i,rects:l,elements:d,strategy:p}=e,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:y="floating",altBoundary:g=!1,padding:S=0}=Po(r,e),v=wl(S),L=d[g?y==="floating"?"reference":"floating":y],I=Ut(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(L)))==null||o?L:L.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(d.floating)),boundary:u,rootBoundary:m,strategy:p})),N=y==="floating"?{x:n,y:a,width:l.floating.width,height:l.floating.height}:l.reference,B=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.floating)),M=await(i.isElement==null?void 0:i.isElement(B))?await(i.getScale==null?void 0:i.getScale(B))||{x:1,y:1}:{x:1,y:1},U=Ut(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:N,offsetParent:B,strategy:p}):N);return{top:(I.top-U.top+v.top)/M.y,bottom:(U.bottom-I.bottom+v.bottom)/M.y,left:(I.left-U.left+v.left)/M.x,right:(U.right-I.right+v.right)/M.x}}function Pd(e,r,o){return(e?[...o.filter(a=>Ct(a)===e),...o.filter(a=>Ct(a)!==e)]:o.filter(a=>pr(a)===a)).filter(a=>e?Ct(a)===e||(r?El(a)!==a:!1):!0)}var Wn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(r){var o,n,a;let{rects:i,middlewareData:l,placement:d,platform:p,elements:u}=r,{crossAxis:m=!1,alignment:y,allowedPlacements:g=$n,autoAlignment:S=!0,...v}=Po(e,r),C=y!==void 0||g===$n?Pd(y||null,S,g):g,L=await Hn(r,v),I=((o=l.autoPlacement)==null?void 0:o.index)||0,N=C[I];if(N==null)return{};let B=Cl(N,i,await(p.isRTL==null?void 0:p.isRTL(u.floating)));if(d!==N)return{reset:{placement:C[0]}};let M=[L[pr(N)],L[B[0]],L[B[1]]],U=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:M}],ve=C[I+1];if(ve)return{data:{index:I+1,overflows:U},reset:{placement:ve}};let Fe=U.map(de=>{let h=Ct(de.placement);return[de.placement,h&&m?de.overflows.slice(0,2).reduce((x,k)=>x+k,0):de.overflows[0],de.overflows]}).sort((de,h)=>de[1]-h[1]),He=((a=Fe.filter(de=>de[2].slice(0,Ct(de[0])?2:3).every(h=>h<=0))[0])==null?void 0:a[0])||Fe[0][0];return He!==d?{data:{index:I+1,overflows:U},reset:{placement:He}}:{}}}};var Gn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(r){let{x:o,y:n,placement:a}=r,{mainAxis:i=!0,crossAxis:l=!1,limiter:d={fn:L=>{let{x:I,y:N}=L;return{x:I,y:N}}},...p}=Po(e,r),u={x:o,y:n},m=await Hn(r,p),y=_o(pr(a)),g=Un(y),S=u[g],v=u[y];if(i){let L=g==="y"?"top":"left",I=g==="y"?"bottom":"right",N=S+m[L],B=S-m[I];S=Mn(N,S,B)}if(l){let L=y==="y"?"top":"left",I=y==="y"?"bottom":"right",N=v+m[L],B=v-m[I];v=Mn(N,v,B)}let C=d.fn({...r,[g]:S,[y]:v});return{...C,data:{x:C.x-o,y:C.y-n,enabled:{[g]:i,[y]:l}}}}}};var jn=Math.min,ur=Math.max,Br=Math.round;var at=e=>({x:e,y:e});function it(e){return Nl(e)?(e.nodeName||"").toLowerCase():"#document"}function Ce(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function st(e){var r;return(r=(Nl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function Nl(e){return e instanceof Node||e instanceof Ce(e).Node}function qe(e){return e instanceof Element||e instanceof Ce(e).Element}function Ue(e){return e instanceof HTMLElement||e instanceof Ce(e).HTMLElement}function Il(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ce(e).ShadowRoot}function fr(e){let{overflow:r,overflowX:o,overflowY:n,display:a}=Ne(e);return/auto|scroll|overlay|hidden|clip/.test(r+n+o)&&!["inline","contents"].includes(a)}function Ll(e){return["table","td","th"].includes(it(e))}function Do(e){let r=Bo(),o=Ne(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!r&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!r&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function Tl(e){let r=zt(e);for(;Ue(r)&&!$r(r);){if(Do(r))return r;r=zt(r)}return null}function Bo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function $r(e){return["html","body","#document"].includes(it(e))}function Ne(e){return Ce(e).getComputedStyle(e)}function Mr(e){return qe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function zt(e){if(it(e)==="html")return e;let r=e.assignedSlot||e.parentNode||Il(e)&&e.host||st(e);return Il(r)?r.host:r}function Pl(e){let r=zt(e);return $r(r)?e.ownerDocument?e.ownerDocument.body:e.body:Ue(r)&&fr(r)?r:Pl(r)}function ko(e,r,o){var n;r===void 0&&(r=[]),o===void 0&&(o=!0);let a=Pl(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),l=Ce(a);return i?r.concat(l,l.visualViewport||[],fr(a)?a:[],l.frameElement&&o?ko(l.frameElement):[]):r.concat(a,ko(a,[],o))}function Dl(e){let r=Ne(e),o=parseFloat(r.width)||0,n=parseFloat(r.height)||0,a=Ue(e),i=a?e.offsetWidth:o,l=a?e.offsetHeight:n,d=Br(o)!==i||Br(n)!==l;return d&&(o=i,n=l),{width:o,height:n,$:d}}function Bl(e){return qe(e)?e:e.contextElement}function hr(e){let r=Bl(e);if(!Ue(r))return at(1);let o=r.getBoundingClientRect(),{width:n,height:a,$:i}=Dl(r),l=(i?Br(o.width):o.width)/n,d=(i?Br(o.height):o.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!d||!Number.isFinite(d))&&(d=1),{x:l,y:d}}var Dd=at(0);function $l(e){let r=Ce(e);return!Bo()||!r.visualViewport?Dd:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function Bd(e,r,o){return r===void 0&&(r=!1),!o||r&&o!==Ce(e)?!1:r}function Ur(e,r,o,n){r===void 0&&(r=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),i=Bl(e),l=at(1);r&&(n?qe(n)&&(l=hr(n)):l=hr(e));let d=Bd(i,o,n)?$l(i):at(0),p=(a.left+d.x)/l.x,u=(a.top+d.y)/l.y,m=a.width/l.x,y=a.height/l.y;if(i){let g=Ce(i),S=n&&qe(n)?Ce(n):n,v=g.frameElement;for(;v&&n&&S!==g;){let C=hr(v),L=v.getBoundingClientRect(),I=Ne(v),N=L.left+(v.clientLeft+parseFloat(I.paddingLeft))*C.x,B=L.top+(v.clientTop+parseFloat(I.paddingTop))*C.y;p*=C.x,u*=C.y,m*=C.x,y*=C.y,p+=N,u+=B,v=Ce(v).frameElement}}return Ut({width:m,height:y,x:p,y:u})}function $d(e){let{rect:r,offsetParent:o,strategy:n}=e,a=Ue(o),i=st(o);if(o===i)return r;let l={scrollLeft:0,scrollTop:0},d=at(1),p=at(0);if((a||!a&&n!=="fixed")&&((it(o)!=="body"||fr(i))&&(l=Mr(o)),Ue(o))){let u=Ur(o);d=hr(o),p.x=u.x+o.clientLeft,p.y=u.y+o.clientTop}return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-l.scrollLeft*d.x+p.x,y:r.y*d.y-l.scrollTop*d.y+p.y}}function Md(e){return Array.from(e.getClientRects())}function Ml(e){return Ur(st(e)).left+Mr(e).scrollLeft}function Ud(e){let r=st(e),o=Mr(e),n=e.ownerDocument.body,a=ur(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth),i=ur(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight),l=-o.scrollLeft+Ml(e),d=-o.scrollTop;return Ne(n).direction==="rtl"&&(l+=ur(r.clientWidth,n.clientWidth)-a),{width:a,height:i,x:l,y:d}}function zd(e,r){let o=Ce(e),n=st(e),a=o.visualViewport,i=n.clientWidth,l=n.clientHeight,d=0,p=0;if(a){i=a.width,l=a.height;let u=Bo();(!u||u&&r==="fixed")&&(d=a.offsetLeft,p=a.offsetTop)}return{width:i,height:l,x:d,y:p}}function Fd(e,r){let o=Ur(e,!0,r==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,i=Ue(e)?hr(e):at(1),l=e.clientWidth*i.x,d=e.clientHeight*i.y,p=a*i.x,u=n*i.y;return{width:l,height:d,x:p,y:u}}function _l(e,r,o){let n;if(r==="viewport")n=zd(e,o);else if(r==="document")n=Ud(st(e));else if(qe(r))n=Fd(r,o);else{let a=$l(e);n={...r,x:r.x-a.x,y:r.y-a.y}}return Ut(n)}function Ul(e,r){let o=zt(e);return o===r||!qe(o)||$r(o)?!1:Ne(o).position==="fixed"||Ul(o,r)}function Hd(e,r){let o=r.get(e);if(o)return o;let n=ko(e,[],!1).filter(d=>qe(d)&&it(d)!=="body"),a=null,i=Ne(e).position==="fixed",l=i?zt(e):e;for(;qe(l)&&!$r(l);){let d=Ne(l),p=Do(l);!p&&d.position==="fixed"&&(a=null),(i?!p&&!a:!p&&d.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||fr(l)&&!p&&Ul(e,l))?n=n.filter(m=>m!==l):a=d,l=zt(l)}return r.set(e,n),n}function Wd(e){let{element:r,boundary:o,rootBoundary:n,strategy:a}=e,l=[...o==="clippingAncestors"?Hd(r,this._c):[].concat(o),n],d=l[0],p=l.reduce((u,m)=>{let y=_l(r,m,a);return u.top=ur(y.top,u.top),u.right=jn(y.right,u.right),u.bottom=jn(y.bottom,u.bottom),u.left=ur(y.left,u.left),u},_l(r,d,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Gd(e){return Dl(e)}function jd(e,r,o){let n=Ue(r),a=st(r),i=o==="fixed",l=Ur(e,!0,i,r),d={scrollLeft:0,scrollTop:0},p=at(0);if(n||!n&&!i)if((it(r)!=="body"||fr(a))&&(d=Mr(r)),n){let u=Ur(r,!0,i,r);p.x=u.x+r.clientLeft,p.y=u.y+r.clientTop}else a&&(p.x=Ml(a));return{x:l.left+d.scrollLeft-p.x,y:l.top+d.scrollTop-p.y,width:l.width,height:l.height}}function kl(e,r){return!Ue(e)||Ne(e).position==="fixed"?null:r?r(e):e.offsetParent}function zl(e,r){let o=Ce(e);if(!Ue(e))return o;let n=kl(e,r);for(;n&&Ll(n)&&Ne(n).position==="static";)n=kl(n,r);return n&&(it(n)==="html"||it(n)==="body"&&Ne(n).position==="static"&&!Do(n))?o:n||Tl(e)||o}var Vd=async function(e){let{reference:r,floating:o,strategy:n}=e,a=this.getOffsetParent||zl,i=this.getDimensions;return{reference:jd(r,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function Kd(e){return Ne(e).direction==="rtl"}var $o={convertOffsetParentRelativeRectToViewportRelativeRect:$d,getDocumentElement:st,getClippingRect:Wd,getOffsetParent:zl,getElementRects:Vd,getClientRects:Md,getDimensions:Gd,getScale:hr,isElement:qe,isRTL:Kd};var Fl=(e,r,o)=>{let n=new Map,a={platform:$o,...o},i={...a.platform,_c:n};return Rl(e,r,{...a,platform:i})};function Hl(e){return Zd(e)}function Vn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Zd(e){for(let r=e;r;r=Vn(r))if(r instanceof Element&&getComputedStyle(r).display==="none")return null;for(let r=Vn(e);r;r=Vn(r)){if(!(r instanceof Element))continue;let o=getComputedStyle(r);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||r.tagName==="BODY"))return r}return null}async function Wl(e,r,o){return Fl(e,r,{platform:{...$o,getOffsetParent:n=>$o.getOffsetParent(n,Hl)},middleware:[Gn({crossAxis:!0}),Wn({allowedPlacements:[o]})]})}var Ee=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},j=class extends zr.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 zr.Debouncer,this.revealDebouncer=new zr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Gl.html`
|
|
505
505
|
<div part="container"
|
|
506
506
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
507
507
|
@mouseenter=${this.onHover}
|
|
@@ -519,7 +519,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
519
519
|
</div>
|
|
520
520
|
</div>
|
|
521
521
|
</div>
|
|
522
|
-
`}updated(r){r.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(r)}contentAvailableCallback(r){super.contentAvailableCallback(r),["visible","text"].some(o=>r.has(o))&&this.visible&&this.positionTooltip()}async show(r){this.visible=!0,r!=null&&await this.hideDebounce.run(()=>{this.hide()},r)}async showTemporaryText(r,o){let n=this.manual;this.manual=!0;let a=this.text;this.text=r,await this.show(o),this.text=a,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var r;return((r=this.slotNodes)!==null&&r!==void 0?r:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let r=this.tooltipContent.style;switch(r.transition="none",this.validPosition){case"top":r.top=this.tooltip.clientHeight+"px",r.left="0";break;case"bottom":r.top=-this.tooltip.clientHeight+"px",r.left="0";break;case"left":r.top="0",r.left=this.tooltip.clientWidth+"px";break;case"right":r.top="0",r.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",
|
|
522
|
+
`}updated(r){r.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(r)}contentAvailableCallback(r){super.contentAvailableCallback(r),["visible","text"].some(o=>r.has(o))&&this.visible&&this.positionTooltip()}async show(r){this.visible=!0,r!=null&&await this.hideDebounce.run(()=>{this.hide()},r)}async showTemporaryText(r,o){let n=this.manual;this.manual=!0;let a=this.text;this.text=r,await this.show(o),this.text=a,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var r;return((r=this.slotNodes)!==null&&r!==void 0?r:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let r=this.tooltipContent.style;switch(r.transition="none",this.validPosition){case"top":r.top=this.tooltip.clientHeight+"px",r.left="0";break;case"bottom":r.top=-this.tooltip.clientHeight+"px",r.left="0";break;case"left":r.top="0",r.left=this.tooltip.clientWidth+"px";break;case"right":r.top="0",r.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Wl(this.slottedElement,this.tooltip,this.position).then(({x:r,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${r}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(r,o){return Math.max(r,Math.min(0,-o))}};j.elementDefinitions={"ft-typography":Ae};j.styles=bl;Ee([(0,ie.property)()],j.prototype,"text",void 0);Ee([(0,ie.property)({type:Boolean})],j.prototype,"manual",void 0);Ee([(0,ie.property)({type:Boolean})],j.prototype,"inline",void 0);Ee([(0,ie.property)({type:Number})],j.prototype,"delay",void 0);Ee([(0,ie.property)()],j.prototype,"position",void 0);Ee([(0,ie.queryAssignedNodes)()],j.prototype,"slotNodes",void 0);Ee([(0,ie.query)(".ft-tooltip--container")],j.prototype,"container",void 0);Ee([(0,ie.query)(".ft-tooltip")],j.prototype,"tooltip",void 0);Ee([(0,ie.query)(".ft-tooltip--content")],j.prototype,"tooltipContent",void 0);Ee([(0,ie.state)()],j.prototype,"visible",void 0);Ee([(0,ie.eventOptions)({passive:!0})],j.prototype,"onTouch",null);Ee([(0,ie.eventOptions)({passive:!0})],j.prototype,"onHover",null);Ee([(0,ie.eventOptions)({passive:!0})],j.prototype,"onOut",null);Ee([(0,ie.eventOptions)({passive:!0})],j.prototype,"onClick",null);(0,jl.customElement)("ft-tooltip")(j);var gc=b(P());var Ht=b(H()),Q=b(ee()),mc=b(Nt());var Pe=b(P());var Vl=b(H()),w=b(P()),_={defaultInputFontSize:w.FtCssVariableFactory.create("--ftds-base-input-default-input-font-size","","SIZE",w.typographyBody2Medium.fontSize),defaultInputLineHeight:w.FtCssVariableFactory.create("--ftds-base-input-default-input-line-height","","NUMBER",w.typographyBody2Medium.lineHeight),labelColor:w.FtCssVariableFactory.create("--ftds-base-input-label-color","","COLOR",w.textInput.labelColor),largeFieldHeight:w.FtCssVariableFactory.create("--ftds-base-input-large-field-height","","SIZE",w.textInput.largeFieldHeight),largeFieldVerticalGap:w.FtCssVariableFactory.create("--ftds-base-input-large-field-vertical-gap","","SIZE",w.textInput.largeFieldVerticalGap),largeFieldHorizontalGap:w.FtCssVariableFactory.create("--ftds-base-input-large-field-horizontal-gap","","SIZE",w.textInput.largeFieldHorizontalGap),largeFieldHorizontalPadding:w.FtCssVariableFactory.create("--ftds-base-input-large-field-horizontal-padding","","SIZE",w.textInput.largeFieldHorizontalPadding),largeFieldIconSize:w.FtCssVariableFactory.create("--ftds-base-input-large-icon-size","","SIZE",w.textInput.largeFieldIconSize),mediumFieldHeight:w.FtCssVariableFactory.create("--ftds-base-input-medium-field-height","","SIZE",w.textInput.mediumFieldHeight),mediumFieldVerticalGap:w.FtCssVariableFactory.create("--ftds-base-input-medium-field-vertical-gap","","SIZE",w.textInput.mediumFieldVerticalGap),mediumFieldHorizontalGap:w.FtCssVariableFactory.create("--ftds-base-input-medium-field-horizontal-gap","","SIZE",w.textInput.mediumFieldHorizontalGap),mediumFieldHorizontalPadding:w.FtCssVariableFactory.create("--ftds-base-input-medium-field-horizontal-padding","","SIZE",w.textInput.mediumFieldHorizontalPadding),mediumFieldIconSize:w.FtCssVariableFactory.create("--ftds-base-input-medium-icon-size","","SIZE",w.textInput.mediumFieldIconSize),disabledComponentOpacity:w.FtCssVariableFactory.create("--ftds-base-input-disabled-component-opacity","","NUMBER",w.textInput.disabledComponentOpacity),defaultBorderWidth:w.FtCssVariableFactory.create("--ftds-base-input-default-border-width","","SIZE",w.textInput.defaultBorderWidth),defaultBorderColor:w.FtCssVariableFactory.create("--ftds-base-input-default-border-color","","COLOR",w.textInput.defaultBorderColor),errorBorderWidth:w.FtCssVariableFactory.create("--ftds-base-input-error-border-width","","SIZE",w.textInput.errorBorderWidth),errorBorderColor:w.FtCssVariableFactory.create("--ftds-base-input-error-border-color","","COLOR",w.textInput.errorBorderColor),warningBorderWidth:w.FtCssVariableFactory.create("--ftds-base-input-warning-border-width","","SIZE",w.textInput.warningBorderWidth),warningBorderColor:w.FtCssVariableFactory.create("--ftds-base-input-warning-border-color","","COLOR",w.textInput.warningBorderColor),borderRadius:w.FtCssVariableFactory.create("--ftds-base-input-border-radius","","COLOR",w.textInput.borderRadius),focusOutlineOffset:w.FtCssVariableFactory.create("--ftds-base-input-focus-outline-offset","","SIZE",w.textInput.focusOutlineOffset),focusOutlineWidth:w.FtCssVariableFactory.create("--ftds-base-input-focus-outline-width","","SIZE",w.textInput.focusOutlineWidth),focusFocusRingColor:w.FtCssVariableFactory.create("--ftds-base-input-focus-ring-color","","COLOR",w.textInput.focusFocusRingColor),appendIconColor:w.FtCssVariableFactory.create("--ftds-base-input-append-icon-color","","COLOR",w.textInput.trailingIconColor),prependIconColor:w.FtCssVariableFactory.create("--ftds-base-input-prepend-icon-color","","COLOR",w.textInput.trailingIconColor),appendIconScale:w.FtCssVariableFactory.create("--ftds-base-input-append-icon-scale","","NUMBER","1.5"),prependIconScale:w.FtCssVariableFactory.create("--ftds-base-input-prepend-icon-scale","","NUMBER","1.5"),helperHorizontalPadding:w.FtCssVariableFactory.create("--ftds-base-input-helper-horizontal-padding","","COLOR",w.textInput.helperHorizontalPadding),helperHorizontalGap:w.FtCssVariableFactory.create("--ftds-base-input-helper-horizontal-gap","","COLOR",w.textInput.helperHorizontalGap),helperIconSize:w.FtCssVariableFactory.create("--ftds-base-input-helper-icon-size","","COLOR",w.textInput.helperIconSize),helperIconHorizontalGap:w.FtCssVariableFactory.create("--ftds-base-input-helper-horizontal-gap","","COLOR",w.textInput.helperHorizontalGap),defaultHelperTextColor:w.FtCssVariableFactory.create("--ftds-base-input-helper-default-helper-text","","COLOR",w.textInput.defaultHelperTextColor),errorHelperIconColor:w.FtCssVariableFactory.create("--ftds-base-input-helper-error-helper-icon-color","","COLOR",w.textInput.errorHelperIconColor),warningHelperIconColor:w.FtCssVariableFactory.create("--ftds-base-input-helper-warning-helper-icon-color","","COLOR",w.textInput.warningHelperIconColor)},Kl=Vl.css`
|
|
523
523
|
|
|
524
524
|
*:focus {
|
|
525
525
|
outline: none;
|
|
@@ -538,8 +538,8 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
538
538
|
}
|
|
539
539
|
|
|
540
540
|
slot:not([name])::slotted(*) { /* all elements inside of the default slot, in which will be the actual input */
|
|
541
|
-
font-size: ${
|
|
542
|
-
line-height: ${
|
|
541
|
+
font-size: ${_.defaultInputFontSize};
|
|
542
|
+
line-height: ${_.defaultInputLineHeight};
|
|
543
543
|
}
|
|
544
544
|
|
|
545
545
|
.ftds-input {
|
|
@@ -548,41 +548,41 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
548
548
|
flex-direction: column;
|
|
549
549
|
align-items: stretch;
|
|
550
550
|
position: relative;
|
|
551
|
-
height: var(--field-height);
|
|
552
551
|
}
|
|
553
552
|
|
|
554
553
|
.ftds-input.ftds--size-large {
|
|
555
|
-
--field-height: ${
|
|
556
|
-
--field-vertical-gap: ${
|
|
557
|
-
--field-horizontal-gap: ${
|
|
558
|
-
--field-horizontal-padding: ${
|
|
559
|
-
--icon-size: ${
|
|
554
|
+
--field-height: ${_.largeFieldHeight};
|
|
555
|
+
--field-vertical-gap: ${_.largeFieldVerticalGap};
|
|
556
|
+
--field-horizontal-gap: ${_.largeFieldHorizontalGap};
|
|
557
|
+
--field-horizontal-padding: ${_.largeFieldHorizontalPadding};
|
|
558
|
+
--icon-size: ${_.largeFieldIconSize};
|
|
560
559
|
}
|
|
561
560
|
|
|
562
561
|
.ftds-input.ftds--size-medium {
|
|
563
|
-
--field-height: ${
|
|
564
|
-
--field-vertical-gap: ${
|
|
565
|
-
--field-horizontal-gap: ${
|
|
566
|
-
--field-horizontal-padding: ${
|
|
567
|
-
--icon-size: ${
|
|
562
|
+
--field-height: ${_.mediumFieldHeight};
|
|
563
|
+
--field-vertical-gap: ${_.mediumFieldVerticalGap};
|
|
564
|
+
--field-horizontal-gap: ${_.mediumFieldHorizontalGap};
|
|
565
|
+
--field-horizontal-padding: ${_.mediumFieldHorizontalPadding};
|
|
566
|
+
--icon-size: ${_.mediumFieldIconSize};
|
|
568
567
|
}
|
|
569
568
|
|
|
570
569
|
.ftds-input.disabled {
|
|
571
|
-
opacity: ${
|
|
570
|
+
opacity: ${_.disabledComponentOpacity};
|
|
572
571
|
}
|
|
573
572
|
|
|
574
573
|
.inside-structure {
|
|
575
574
|
width: 100%;
|
|
576
575
|
box-sizing: border-box;
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
border
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
--typo-
|
|
576
|
+
height: var(--field-height);
|
|
577
|
+
font-size: ${_.defaultInputFontSize};
|
|
578
|
+
line-height: ${_.defaultInputLineHeight};
|
|
579
|
+
border: ${_.defaultBorderWidth} solid ${_.defaultBorderColor};
|
|
580
|
+
border-radius: ${_.borderRadius};
|
|
581
|
+
--current-border-width: ${_.defaultBorderWidth};
|
|
582
|
+
outline-offset: calc(${_.focusOutlineOffset} - ${_.defaultBorderWidth});
|
|
583
|
+
|
|
584
|
+
--typo-caption-height: calc(${w.typographyCaption2Medium.lineHeight} * ${w.typographyCaption2Medium.fontSize});
|
|
585
|
+
--typo-body-height: calc(${_.defaultInputLineHeight} * ${_.defaultInputFontSize});
|
|
586
586
|
--caption-label-and-value-combined-height: calc(var(--field-vertical-gap) + var(--typo-caption-height) + var(--typo-body-height));
|
|
587
587
|
|
|
588
588
|
--input-content-vertical-padding: calc((var(--field-height) - var(--caption-label-and-value-combined-height)) / 2);
|
|
@@ -605,17 +605,17 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
605
605
|
}
|
|
606
606
|
|
|
607
607
|
.ftds-input.error .inside-structure {
|
|
608
|
-
border: ${
|
|
609
|
-
--current-border-width: ${
|
|
608
|
+
border: ${_.errorBorderWidth} solid ${_.errorBorderColor};
|
|
609
|
+
--current-border-width: ${_.errorBorderWidth};
|
|
610
610
|
}
|
|
611
611
|
|
|
612
612
|
.ftds-input.warning .inside-structure {
|
|
613
|
-
border: ${
|
|
614
|
-
--current-border-width: ${
|
|
613
|
+
border: ${_.warningBorderWidth} solid ${_.warningBorderColor};
|
|
614
|
+
--current-border-width: ${_.warningBorderWidth};
|
|
615
615
|
}
|
|
616
616
|
|
|
617
617
|
.ftds-input.focused .inside-structure {
|
|
618
|
-
outline: ${
|
|
618
|
+
outline: ${_.focusOutlineWidth} solid ${_.focusFocusRingColor};
|
|
619
619
|
}
|
|
620
620
|
|
|
621
621
|
.inside-structure .inside-structure--icon {
|
|
@@ -628,20 +628,28 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
628
628
|
|
|
629
629
|
.inside-structure .inside-structure--icon.append {
|
|
630
630
|
right: var(--field-horizontal-padding);
|
|
631
|
-
color: ${
|
|
631
|
+
color: ${_.appendIconColor};
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.inside-structure .inside-structure--icon.append ftds-button {
|
|
635
|
+
--ft-button-icon-only-scale: ${_.appendIconScale};
|
|
632
636
|
}
|
|
633
637
|
|
|
634
638
|
.inside-structure .inside-structure--icon.prepend {
|
|
635
639
|
left: var(--field-horizontal-padding);
|
|
636
|
-
color: ${
|
|
640
|
+
color: ${_.prependIconColor};
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
.inside-structure .inside-structure--icon.prepend ftds-button {
|
|
644
|
+
--ft-button-icon-only-scale: ${_.prependIconScale};
|
|
637
645
|
}
|
|
638
646
|
|
|
639
647
|
.inside-structure .inside-structure--icon.append button {
|
|
640
|
-
color: ${
|
|
648
|
+
color: ${_.appendIconColor};
|
|
641
649
|
}
|
|
642
650
|
|
|
643
651
|
.inside-structure .inside-structure--icon.prepend button {
|
|
644
|
-
color: ${
|
|
652
|
+
color: ${_.prependIconColor};
|
|
645
653
|
}
|
|
646
654
|
|
|
647
655
|
.inside-structure .inside-structure--icon button {
|
|
@@ -652,12 +660,12 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
652
660
|
}
|
|
653
661
|
|
|
654
662
|
.inside-structure .inside-structure--icon button:focus-visible {
|
|
655
|
-
outline: ${
|
|
656
|
-
border-radius: ${
|
|
663
|
+
outline: ${_.focusOutlineWidth} solid ${_.focusFocusRingColor};
|
|
664
|
+
border-radius: ${_.borderRadius};
|
|
657
665
|
}
|
|
658
666
|
|
|
659
667
|
ftds-input-label {
|
|
660
|
-
--ft-input-label-color: ${
|
|
668
|
+
--ft-input-label-color: ${_.labelColor};
|
|
661
669
|
}
|
|
662
670
|
|
|
663
671
|
.ftds-input.with-prepend-icon ftds-input-label {
|
|
@@ -669,26 +677,872 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
669
677
|
}
|
|
670
678
|
|
|
671
679
|
ftds-input-helper-text {
|
|
672
|
-
margin-top: ${
|
|
673
|
-
padding-left: ${
|
|
674
|
-
--ftds-helper-text-icon-size: ${
|
|
675
|
-
--ftds-helper-text-icon-horizontal-gap
|
|
676
|
-
--ftds-helper-text-color: ${
|
|
677
|
-
--ftds-helper-text-error-icon-color: ${
|
|
678
|
-
--ftds-helper-text-warning-icon-color: ${
|
|
680
|
+
margin-top: ${_.helperHorizontalGap};
|
|
681
|
+
padding-left: ${_.helperHorizontalPadding};
|
|
682
|
+
--ftds-helper-text-icon-size: ${_.helperIconSize};
|
|
683
|
+
--ftds-helper-text-icon-horizontal-gap: ${_.helperIconHorizontalGap};
|
|
684
|
+
--ftds-helper-text-color: ${_.defaultHelperTextColor};
|
|
685
|
+
--ftds-helper-text-error-icon-color: ${_.errorHelperIconColor};
|
|
686
|
+
--ftds-helper-text-warning-icon-color: ${_.warningHelperIconColor};
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
`;var Zn=b(P());var Mo=b(ee());var Kn=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},lt=class extends Je{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};lt.elementDefinitions={};lt.styles=[er,si];Kn([(0,Mo.property)({type:Boolean})],lt.prototype,"outlined",void 0);Kn([(0,Mo.property)({type:Boolean})],lt.prototype,"error",void 0);Kn([(0,Mo.property)({type:Boolean})],lt.prototype,"disabled",void 0);(0,Zn.customElement)("ft-input-label")(lt);(0,Zn.customElement)("ftds-input-label")(et);var Xn=b(P());var Wr=b(ee()),fc=b(P());var ac=b(H()),$=b(P());var Ql=b(H()),oe=b(P()),Zl=oe.FtCssVariableFactory.extend("--ft-ripple-color","",oe.designSystemVariables.colorContent),E={color:Zl,backgroundColor:oe.FtCssVariableFactory.extend("--ft-ripple-background-color","",Zl),opacityContentOnSurfacePressed:oe.FtCssVariableFactory.external(oe.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:oe.FtCssVariableFactory.external(oe.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:oe.FtCssVariableFactory.external(oe.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:oe.FtCssVariableFactory.external(oe.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:oe.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ql=oe.FtCssVariableFactory.extend("--ft-ripple-color","",oe.designSystemVariables.colorPrimary),Yl={color:ql,backgroundColor:oe.FtCssVariableFactory.extend("--ft-ripple-background-color","",ql)},Xl=oe.FtCssVariableFactory.extend("--ft-ripple-color","",oe.designSystemVariables.colorSecondary),Jl={color:Xl,backgroundColor:oe.FtCssVariableFactory.extend("--ft-ripple-background-color","",Xl)},ec=Ql.css`
|
|
690
|
+
:host {
|
|
691
|
+
display: contents;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
.ft-ripple {
|
|
695
|
+
position: absolute;
|
|
696
|
+
inset: 0;
|
|
697
|
+
pointer-events: none;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
701
|
+
overflow: hidden;
|
|
702
|
+
border-radius: ${E.borderRadius};
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
.ft-ripple .ft-ripple--background,
|
|
706
|
+
.ft-ripple .ft-ripple--effect {
|
|
707
|
+
position: absolute;
|
|
708
|
+
opacity: 0;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
.ft-ripple .ft-ripple--effect {
|
|
712
|
+
aspect-ratio: 1;
|
|
713
|
+
width: auto;
|
|
714
|
+
height: auto;
|
|
715
|
+
min-width: 170%;
|
|
716
|
+
min-height: 170%;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
.ft-ripple .ft-ripple--background{
|
|
720
|
+
width: 100%;
|
|
721
|
+
height: 100%;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
|
|
725
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
726
|
+
aspect-ratio: 1;
|
|
727
|
+
width: auto;
|
|
728
|
+
height: auto;
|
|
729
|
+
max-width: unset;
|
|
730
|
+
max-height: unset;
|
|
731
|
+
min-width: 100%;
|
|
732
|
+
min-height: 100%;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
.ft-ripple .ft-ripple--background {
|
|
736
|
+
background-color: ${E.backgroundColor};
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
.ft-ripple .ft-ripple--effect {
|
|
740
|
+
background-color: ${E.color};
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
744
|
+
background-color: ${Jl.backgroundColor};
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
748
|
+
background-color: ${Jl.color};
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
752
|
+
background-color: ${Yl.backgroundColor};
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
756
|
+
background-color: ${Yl.color};
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
.ft-ripple .ft-ripple--background {
|
|
760
|
+
top: 0;
|
|
761
|
+
left: 0;
|
|
762
|
+
transition: opacity 75ms linear;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.ft-ripple .ft-ripple--effect,
|
|
766
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
767
|
+
border-radius: 50%;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
.ft-ripple .ft-ripple--effect {
|
|
771
|
+
transform: translate(-50%, -50%) scale(0.15);
|
|
772
|
+
transition: transform 300ms ease, opacity 75ms linear;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
|
|
776
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
777
|
+
left: 50%;
|
|
778
|
+
top: 50%;
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
782
|
+
transform: translate(-50%, -50%);
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
786
|
+
opacity: ${E.opacityContentOnSurfaceHover};
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
790
|
+
opacity: ${E.opacityContentOnSurfaceSelected};
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
794
|
+
opacity: ${E.opacityContentOnSurfaceFocused};
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
798
|
+
opacity: ${E.opacityContentOnSurfacePressed};
|
|
799
|
+
transform: translate(-50%, -50%) scale(1);
|
|
800
|
+
}
|
|
801
|
+
`;var tc=b(H()),Fr=b(P()),Z={color:Fr.FtCssVariableFactory.extend("--ft-loader-color","",Fr.designSystemVariables.colorPrimary),size:Fr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},rc=tc.css`
|
|
802
|
+
:host {
|
|
803
|
+
line-height: 0;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
.ft-loader {
|
|
807
|
+
display: inline-block;
|
|
808
|
+
position: relative;
|
|
809
|
+
|
|
810
|
+
width: ${Z.size};
|
|
811
|
+
height: ${Z.size};
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
.ft-loader div {
|
|
815
|
+
position: absolute;
|
|
816
|
+
top: 37.5%;
|
|
817
|
+
width: 25%;
|
|
818
|
+
height: 25%;
|
|
819
|
+
border-radius: 50%;
|
|
820
|
+
background: ${Z.color};
|
|
821
|
+
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
.ft-loader div:nth-child(1) {
|
|
825
|
+
left: 2.5%;
|
|
826
|
+
animation: appear 0.6s infinite;
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
.ft-loader div:nth-child(2) {
|
|
830
|
+
left: 2.5%;
|
|
831
|
+
animation: move 0.6s infinite;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
.ft-loader div:nth-child(3) {
|
|
835
|
+
left: 37.5%;
|
|
836
|
+
animation: move 0.6s infinite;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
.ft-loader div:nth-child(4) {
|
|
840
|
+
left: 72.5%;
|
|
841
|
+
animation: disappear 0.6s infinite;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
@keyframes appear {
|
|
845
|
+
0% {
|
|
846
|
+
transform: scale(0);
|
|
847
|
+
}
|
|
848
|
+
100% {
|
|
849
|
+
transform: scale(1);
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
@keyframes disappear {
|
|
854
|
+
0% {
|
|
855
|
+
transform: scale(1);
|
|
856
|
+
}
|
|
857
|
+
100% {
|
|
858
|
+
transform: scale(0);
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
@keyframes move {
|
|
863
|
+
0% {
|
|
864
|
+
transform: translate(0, 0);
|
|
865
|
+
}
|
|
866
|
+
100% {
|
|
867
|
+
transform: translate(calc(0.35 * ${Z.size}), 0);
|
|
868
|
+
}
|
|
679
869
|
}
|
|
870
|
+
`;var oc=$.FtCssVariableFactory.extend("--ft-button-color","",$.designSystemVariables.colorPrimary),ce={backgroundColor:$.FtCssVariableFactory.extend("--ft-button-background-color","",$.designSystemVariables.colorSurface),borderRadius:$.FtCssVariableFactory.extend("--ft-button-border-radius","",$.designSystemVariables.borderRadiusL),color:oc,fontSize:$.FtCssVariableFactory.extend("--ft-button-font-size","",Ge.fontSize),iconSize:$.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:$.FtCssVariableFactory.extend("--ft-button-ripple-color","",oc),verticalPadding:$.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:$.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:$.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:$.FtCssVariableFactory.external($.designSystemVariables.colorOpacityDisabled,"Design system")},nc=$.FtCssVariableFactory.extend("--ft-button-primary-color","",$.FtCssVariableFactory.extend("--ft-button-color","",$.designSystemVariables.colorOnPrimary)),qn={backgroundColor:$.FtCssVariableFactory.extend("--ft-button-primary-background-color","",$.FtCssVariableFactory.extend("--ft-button-background-color","",$.designSystemVariables.colorPrimary)),color:nc,rippleColor:$.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",nc)},Ye={borderRadius:$.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",$.FtCssVariableFactory.extend("--ft-button-border-radius","",$.designSystemVariables.borderRadiusM)),verticalPadding:$.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:$.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:$.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},ic=[ac.css`
|
|
871
|
+
:host {
|
|
872
|
+
display: inline-block;
|
|
873
|
+
max-width: 100%;
|
|
874
|
+
pointer-events: none;
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
.ft-button {
|
|
878
|
+
box-shadow: 0px 0px 0px transparent;
|
|
879
|
+
border: 0px solid transparent;
|
|
880
|
+
text-shadow: 0px 0px 0px transparent;
|
|
881
|
+
font-size: ${ce.fontSize};
|
|
882
|
+
text-decoration: none;
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
.ft-button:hover {
|
|
886
|
+
box-shadow: 0px 0px 0px transparent;
|
|
887
|
+
border: 0px solid transparent;
|
|
888
|
+
text-shadow: 0px 0px 0px transparent;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
.ft-button:active {
|
|
892
|
+
outline: none;
|
|
893
|
+
border: none;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
.ft-button:focus {
|
|
897
|
+
outline: 0;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
.ft-button {
|
|
901
|
+
position: relative;
|
|
902
|
+
display: flex;
|
|
903
|
+
justify-content: center;
|
|
904
|
+
align-items: center;
|
|
905
|
+
width: 100%;
|
|
906
|
+
overflow: hidden;
|
|
907
|
+
box-sizing: border-box;
|
|
908
|
+
border: none;
|
|
909
|
+
pointer-events: auto;
|
|
910
|
+
|
|
911
|
+
--ft-button-internal-line-height: max(calc(${ce.fontSize} + 2px), ${ce.iconSize});
|
|
912
|
+
--ft-button-internal-color: ${ce.color};
|
|
913
|
+
${(0,$.setVariable)(ue.size,ce.iconSize)};
|
|
914
|
+
${(0,$.setVariable)(E.color,ce.rippleColor)};
|
|
915
|
+
|
|
916
|
+
border-radius: ${ce.borderRadius};
|
|
917
|
+
padding: ${ce.verticalPadding} ${ce.horizontalPadding};
|
|
918
|
+
background-color: ${ce.backgroundColor};
|
|
919
|
+
color: var(--ft-button-internal-color);
|
|
920
|
+
-webkit-mask-image: radial-gradient(white, black);
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
.ft-button.ft-button--outlined {
|
|
924
|
+
border: 1px solid var(--ft-button-internal-color);
|
|
925
|
+
padding: calc(${ce.verticalPadding} - 1px) calc(${ce.horizontalPadding} - 1px);
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
.ft-button.ft-button--dense {
|
|
929
|
+
padding: ${Ye.verticalPadding} ${Ye.horizontalPadding};
|
|
930
|
+
border-radius: ${Ye.borderRadius};
|
|
931
|
+
gap: ${Ye.iconPadding};
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
.ft-button.ft-button--dense.ft-button--outlined {
|
|
935
|
+
padding: calc(${Ye.verticalPadding} - 1px) calc(${Ye.horizontalPadding} - 1px);
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
.ft-button:not([disabled]):hover {
|
|
939
|
+
cursor: pointer;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
.ft-button--round {
|
|
943
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ce.verticalPadding});
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
.ft-button--round.ft-button--dense {
|
|
947
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ye.verticalPadding});
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
.ft-button[disabled] {
|
|
951
|
+
filter: grayscale(1);
|
|
952
|
+
opacity: ${ce.opacityDisabled};
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
.ft-button.ft-button--primary {
|
|
956
|
+
background-color: ${qn.backgroundColor};
|
|
957
|
+
--ft-button-internal-color: ${qn.color};
|
|
958
|
+
${(0,$.setVariable)(E.color,qn.rippleColor)};
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
.ft-button:focus {
|
|
962
|
+
outline: none;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
.ft-button--label {
|
|
966
|
+
position: relative;
|
|
967
|
+
overflow: hidden;
|
|
968
|
+
white-space: nowrap;
|
|
969
|
+
text-overflow: ellipsis;
|
|
970
|
+
display: block;
|
|
971
|
+
margin: 0 ${ce.iconPadding};
|
|
972
|
+
${(0,$.setVariable)(Ge.fontSize,"1em")};
|
|
973
|
+
${(0,$.setVariable)(Ge.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
.ft-button--dense .ft-button--label {
|
|
977
|
+
margin: 0 ${Ye.iconPadding};
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
.ft-button--label[hidden] {
|
|
981
|
+
display: none;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
[part="icon"] {
|
|
985
|
+
flex-shrink: 0;
|
|
986
|
+
position: relative;
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
.ft-button--label[hidden] + [part="icon"] {
|
|
990
|
+
margin: 0 calc(${ce.horizontalPadding} * -1);
|
|
991
|
+
padding: 0 ${ce.verticalPadding};
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
995
|
+
margin: 0 calc(${Ye.horizontalPadding} * -1);
|
|
996
|
+
padding: 0 ${Ye.verticalPadding};
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
1000
|
+
order: 2;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
ft-loader {
|
|
1004
|
+
${(0,$.setVariable)(Z.size,ce.iconSize)};
|
|
1005
|
+
${(0,$.setVariable)(Z.color,"var(--ft-button-internal-color)")};
|
|
1006
|
+
}
|
|
1007
|
+
`,$.noTextSelect];var wt=b(P());var cc=b(P());var sc=b(H()),fe=b(ee()),lc=b(Nt()),Hr=b(P());var we=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},J=class extends Hr.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Hr.Debouncer(1e3),this.onTransitionStart=r=>{r.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=r=>{r.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Hr.Debouncer(10),this.moveRipple=r=>{var o,n;let{x:a,y:i}=this.getCoordinates(r),l=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-l.x:l.width/2),this.originY=Math.round(i!=null?i-l.y:l.height/2)},this.startPress=r=>{this.moveRipple(r),this.pressed=!this.isIgnored(r)},this.endPress=()=>{this.pressed=!1},this.startHover=r=>{this.hovered=!this.isIgnored(r)},this.endHover=()=>{this.hovered=!1},this.startFocus=r=>{this.focused=this.isFocusVisible(r?.target)&&!this.isIgnored(r)},this.endFocus=()=>{this.focused=!1}}render(){let r={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return sc.html`
|
|
1008
|
+
<style>
|
|
1009
|
+
.ft-ripple .ft-ripple--effect {
|
|
1010
|
+
left: ${this.originX}px;
|
|
1011
|
+
top: ${this.originY}px;
|
|
1012
|
+
}
|
|
1013
|
+
</style>
|
|
1014
|
+
<div class="${(0,lc.classMap)(r)}">
|
|
1015
|
+
<div class="ft-ripple--background"></div>
|
|
1016
|
+
<div class="ft-ripple--effect"></div>
|
|
1017
|
+
</div>
|
|
1018
|
+
`}contentAvailableCallback(r){super.contentAvailableCallback(r),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(r){var o,n;super.update(r),r.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var r,o;let n=(r=this.shadowRoot)===null||r===void 0?void 0:r.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var r;!((r=this.target)===null||r===void 0)&&r.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(r){if(this.setupDebouncer.cancel(),this.target===r)return;this.onDisconnect&&this.onDisconnect(),this.target=r,r.setAttribute("data-is-ft-ripple-target","true");let o=(...d)=>p=>{d.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(p)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=d=>{["Enter"," "].includes(d.key)&&o("keyup")(d)},l={passive:!0};r.addEventListener("mouseover",this.startHover,l),r.addEventListener("mousemove",this.moveRipple,l),r.addEventListener("mouseleave",this.endHover,l),r.addEventListener("mousedown",n,l),r.addEventListener("touchstart",a,l),r.addEventListener("touchmove",this.moveRipple,l),r.addEventListener("keydown",i,l),r.addEventListener("focus",this.startFocus,l),r.addEventListener("blur",this.endFocus,l),r.addEventListener("focusin",this.startFocus,l),r.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{r.removeAttribute("data-is-ft-ripple-target"),r.removeEventListener("mouseover",this.startHover,l),r.removeEventListener("mousemove",this.moveRipple,l),r.removeEventListener("mouseleave",this.endHover,l),r.removeEventListener("mousedown",n,l),r.removeEventListener("touchstart",a,l),r.removeEventListener("touchmove",this.moveRipple,l),r.removeEventListener("keydown",i,l),r.removeEventListener("focus",this.startFocus,l),r.removeEventListener("blur",this.endFocus,l),r.removeEventListener("focusin",this.startFocus,l),r.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(r){let o=r,n=r,a,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(r){return r instanceof HTMLElement?r.matches(":focus-visible"):!0}isIgnored(r){if(this.disabled)return!0;if(r!=null)for(let o of r.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};J.elementDefinitions={};J.styles=ec;we([(0,fe.property)({type:Boolean})],J.prototype,"primary",void 0);we([(0,fe.property)({type:Boolean})],J.prototype,"secondary",void 0);we([(0,fe.property)({type:Boolean})],J.prototype,"unbounded",void 0);we([(0,fe.property)({type:Boolean})],J.prototype,"activated",void 0);we([(0,fe.property)({type:Boolean})],J.prototype,"selected",void 0);we([(0,fe.property)({type:Boolean})],J.prototype,"disabled",void 0);we([(0,fe.state)()],J.prototype,"hovered",void 0);we([(0,fe.state)()],J.prototype,"focused",void 0);we([(0,fe.state)()],J.prototype,"pressed",void 0);we([(0,fe.state)()],J.prototype,"rippling",void 0);we([(0,fe.state)()],J.prototype,"originX",void 0);we([(0,fe.state)()],J.prototype,"originY",void 0);we([(0,fe.query)(".ft-ripple")],J.prototype,"ripple",void 0);we([(0,fe.query)(".ft-ripple--effect")],J.prototype,"rippleEffect",void 0);(0,cc.customElement)("ft-ripple")(J);var uc=b(P());var dc=b(H()),pc=b(P());var Ft=class extends pc.FtLitElement{render(){return dc.html`
|
|
1019
|
+
<div class="ft-loader">
|
|
1020
|
+
<div></div>
|
|
1021
|
+
<div></div>
|
|
1022
|
+
<div></div>
|
|
1023
|
+
<div></div>
|
|
1024
|
+
</div>
|
|
1025
|
+
`}};Ft.styles=rc;(0,uc.customElement)("ft-loader")(Ft);var Et=b(H()),Yn=b(Nt()),se=b(ee()),he=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},q=class extends(0,wt.toFtFormComponent)(wt.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",r=>{var o;this.isDisabled()?(r.preventDefault(),r.stopPropagation(),r.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var r,o,n;let a=Et.html`
|
|
1026
|
+
<ft-ripple part="ripple"
|
|
1027
|
+
?disabled=${this.isDisabled()}
|
|
1028
|
+
?activated=${this.activated}
|
|
1029
|
+
></ft-ripple>
|
|
1030
|
+
<ft-typography part="label"
|
|
1031
|
+
variant=${this.typographyVariant}
|
|
1032
|
+
element="span"
|
|
1033
|
+
class="ft-button--label ${wt.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
1034
|
+
?hidden=${!this.hasTextContent()}>
|
|
1035
|
+
<slot @slotchange=${this.onSlotchange}></slot>
|
|
1036
|
+
</ft-typography>
|
|
1037
|
+
${this.resolveIcon()}
|
|
1038
|
+
`,i=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(i?Et.html`
|
|
1039
|
+
<a href="${i}"
|
|
1040
|
+
target="${(r=this.target)!==null&&r!==void 0?r:"_self"}"
|
|
1041
|
+
part="button"
|
|
1042
|
+
class="${(0,Yn.classMap)(this.buttonClasses)}"
|
|
1043
|
+
aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
|
|
1044
|
+
?disabled=${this.isDisabled()}>
|
|
1045
|
+
${a}
|
|
1046
|
+
</a>
|
|
1047
|
+
`:Et.html`
|
|
1048
|
+
<button part="button"
|
|
1049
|
+
class="${(0,Yn.classMap)(this.buttonClasses)}"
|
|
1050
|
+
aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
|
|
1051
|
+
?disabled=${this.isDisabled()}>
|
|
1052
|
+
${a}
|
|
1053
|
+
</button>
|
|
1054
|
+
`)}addTooltipIfNeeded(r){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Et.html`
|
|
1055
|
+
<ft-tooltip part="tooltip"
|
|
1056
|
+
text="${this.getLabel()}"
|
|
1057
|
+
position="${this.tooltipPosition}">
|
|
1058
|
+
${r}
|
|
1059
|
+
</ft-tooltip>
|
|
1060
|
+
`:r}resolveIcon(){return this.loading?Et.html`
|
|
1061
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?Et.html`
|
|
1062
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
1063
|
+
`:Et.html`
|
|
1064
|
+
<slot part="icon" name="icon"></slot>
|
|
1065
|
+
`}focus(){var r;(r=this.button)===null||r===void 0||r.focus()}focusWithoutTooltip(){var r;this.setTooltipManual(!0),(r=this.button)===null||r===void 0||r.focus(),this.setTooltipManual(!1)}showTemporaryTooltip(r,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(r,o)}setTooltipManual(r){this.tooltip&&(this.tooltip.manual=r)}click(){var r;(r=this.button)===null||r===void 0||r.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,wt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};q.elementDefinitions={"ft-ripple":J,"ft-tooltip":j,"ft-typography":Ae,"ft-icon":ne,"ft-loader":Ft};he([(0,se.property)()],q.prototype,"href",void 0);he([(0,se.property)()],q.prototype,"target",void 0);he([(0,se.property)()],q.prototype,"type",void 0);he([(0,se.property)({type:Boolean})],q.prototype,"disabled",void 0);he([(0,se.property)()],q.prototype,"label",void 0);he([(0,se.property)()],q.prototype,"icon",void 0);he([(0,se.property)()],q.prototype,"iconVariant",void 0);he([(0,se.property)({type:Boolean})],q.prototype,"trailingIcon",void 0);he([(0,se.property)({type:Boolean})],q.prototype,"loading",void 0);he([(0,se.property)({attribute:"aria-label"})],q.prototype,"ariaLabel",void 0);he([(0,se.property)()],q.prototype,"tooltipPosition",void 0);he([(0,se.property)({type:Boolean})],q.prototype,"hideTooltip",void 0);he([(0,se.property)({type:Boolean})],q.prototype,"forceTooltip",void 0);he([(0,se.property)({type:Boolean})],q.prototype,"activated",void 0);he([(0,se.query)(".ft-button")],q.prototype,"button",void 0);he([(0,se.query)(".ft-button--label slot")],q.prototype,"slottedContent",void 0);he([(0,se.query)("[part=tooltip]")],q.prototype,"tooltip",void 0);var Uo=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},ct=class extends q{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};ct.styles=[fc.safariEllipsisFix,ic];Uo([(0,Wr.property)({type:Boolean})],ct.prototype,"primary",void 0);Uo([(0,Wr.property)({type:Boolean})],ct.prototype,"outlined",void 0);Uo([(0,Wr.property)({type:Boolean})],ct.prototype,"dense",void 0);Uo([(0,Wr.property)({type:Boolean})],ct.prototype,"round",void 0);var Gr=b(ee());var Fo=b(P());var hc=b(H()),O=b(P());var qd={...f,iconOnlyScale:O.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},yc=[hc.css`
|
|
1066
|
+
:host {
|
|
1067
|
+
display: inline-block;
|
|
1068
|
+
max-width: 100%;
|
|
1069
|
+
pointer-events: none;
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
/** Remove default button styles **/
|
|
1073
|
+
|
|
1074
|
+
.ft-button {
|
|
1075
|
+
box-shadow: 0 0 0 transparent;
|
|
1076
|
+
border: 0 solid transparent;
|
|
1077
|
+
text-shadow: 0 0 0 transparent;
|
|
1078
|
+
text-decoration: none;
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
.ft-button:hover {
|
|
1082
|
+
box-shadow: 0 0 0 transparent;
|
|
1083
|
+
text-shadow: 0 0 0 transparent;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
.ft-button:active {
|
|
1087
|
+
outline: none;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
.ft-button:focus {
|
|
1091
|
+
outline: 0;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
/** Base styles **/
|
|
1095
|
+
|
|
1096
|
+
.ft-button {
|
|
1097
|
+
position: relative;
|
|
1098
|
+
display: flex;
|
|
1099
|
+
justify-content: center;
|
|
1100
|
+
align-items: center;
|
|
1101
|
+
width: 100%;
|
|
1102
|
+
overflow: hidden;
|
|
1103
|
+
box-sizing: border-box;
|
|
1104
|
+
pointer-events: auto;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
.ft-button:not([disabled]):hover {
|
|
1108
|
+
cursor: pointer;
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
.ft-button:focus {
|
|
1112
|
+
outline: none;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
.ft-button:focus-visible {
|
|
1116
|
+
outline-color: ${f.focusFocusRingColor};
|
|
1117
|
+
outline-style: solid;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
ft-icon {
|
|
1121
|
+
flex-shrink: 0;
|
|
1122
|
+
position: relative;
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
1126
|
+
.ft-button:not(.ft-button--trailing-icon) ft-loader {
|
|
1127
|
+
order: -1;
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
.ft-button--label {
|
|
1131
|
+
position: relative;
|
|
1132
|
+
overflow: hidden;
|
|
1133
|
+
white-space: nowrap;
|
|
1134
|
+
text-overflow: ellipsis;
|
|
1135
|
+
display: block;
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
.ft-button--label[hidden] {
|
|
1139
|
+
display: none;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
.ft-button.ft-button--icon-only {
|
|
1143
|
+
padding: unset;
|
|
1144
|
+
border-radius: 50%;
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
.ft-button.ft-button--icon-only ft-icon {
|
|
1148
|
+
transform: scale(${qd.iconOnlyScale});
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
/** Brand Primary styles **/
|
|
1152
|
+
|
|
1153
|
+
.ftds--family-brand.ft-button--primary {
|
|
1154
|
+
${(0,O.setVariable)(Z.color,f.primaryBrandIconColor)};
|
|
1155
|
+
|
|
1156
|
+
${(0,O.setVariable)(E.color,f.primaryBrandStateLayerColor)};
|
|
1157
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.primaryBrandHoverStateLayerOpacity)};
|
|
1158
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.primaryBrandFocusStateLayerOpacity)};
|
|
1159
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.primaryBrandActiveStateLayerOpacity)};
|
|
1160
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.primaryBrandActiveStateLayerOpacity)};
|
|
1161
|
+
|
|
1162
|
+
background-color: ${f.primaryBrandBackgroundColor};
|
|
1163
|
+
color: ${f.primaryBrandColor};
|
|
1164
|
+
border-style: none;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
.ftds--family-brand.ft-button--primary[disabled] {
|
|
1168
|
+
opacity: ${f.primaryBrandDisabledComponentOpacity};
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
.ftds--family-brand.ft-button--primary ft-icon {
|
|
1172
|
+
color: ${f.primaryBrandIconColor};
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
/** Brand Secondary styles **/
|
|
1176
|
+
|
|
1177
|
+
.ftds--family-brand.ft-button--secondary {
|
|
1178
|
+
${(0,O.setVariable)(Z.color,f.secondaryBrandIconColor)};
|
|
1179
|
+
|
|
1180
|
+
${(0,O.setVariable)(E.color,f.secondaryBrandStateLayerColor)};
|
|
1181
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryBrandHoverStateLayerOpacity)};
|
|
1182
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryBrandFocusStateLayerOpacity)};
|
|
1183
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryBrandActiveStateLayerOpacity)};
|
|
1184
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryBrandActiveStateLayerOpacity)};
|
|
1185
|
+
|
|
1186
|
+
background-color: ${f.secondaryBrandBackgroundColor};
|
|
1187
|
+
color: ${f.secondaryBrandColor};
|
|
1188
|
+
border-color: ${f.secondaryBrandBorderColor};
|
|
1189
|
+
border-style: solid;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
.ftds--family-brand.ft-button--secondary[disabled] {
|
|
1193
|
+
opacity: ${f.secondaryBrandDisabledComponentOpacity};
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
.ftds--family-brand.ft-button--secondary ft-icon {
|
|
1197
|
+
color: ${f.secondaryBrandIconColor};
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
/** Brand Tertiary styles **/
|
|
1201
|
+
|
|
1202
|
+
.ftds--family-brand.ft-button--tertiary {
|
|
1203
|
+
${(0,O.setVariable)(Z.color,f.tertiaryBrandIconColor)};
|
|
1204
|
+
|
|
1205
|
+
${(0,O.setVariable)(E.color,f.tertiaryBrandStateLayerColor)};
|
|
1206
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryBrandHoverStateLayerOpacity)};
|
|
1207
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryBrandFocusStateLayerOpacity)};
|
|
1208
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryBrandActiveStateLayerOpacity)};
|
|
1209
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryBrandActiveStateLayerOpacity)};
|
|
1210
|
+
|
|
1211
|
+
background-color: ${f.tertiaryBrandBackgroundColor};
|
|
1212
|
+
color: ${f.tertiaryBrandColor};
|
|
1213
|
+
border-style: none;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
.ftds--family-brand.ft-button--tertiary[disabled] {
|
|
1217
|
+
opacity: ${f.tertiaryBrandDisabledComponentOpacity};
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
.ftds--family-brand.ft-button--tertiary ft-icon {
|
|
1221
|
+
color: ${f.tertiaryBrandIconColor};
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
/** Neutral Secondary styles **/
|
|
1225
|
+
|
|
1226
|
+
.ftds--family-neutral.ft-button--secondary {
|
|
1227
|
+
${(0,O.setVariable)(Z.color,f.secondaryNeutralIconColor)};
|
|
1228
|
+
|
|
1229
|
+
${(0,O.setVariable)(E.backgroundColor,f.secondaryNeutralStateLayerColor)};
|
|
1230
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryNeutralHoverStateLayerOpacity)};
|
|
1231
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryNeutralFocusStateLayerOpacity)};
|
|
1232
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryNeutralActiveStateLayerOpacity)};
|
|
1233
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryNeutralActiveStateLayerOpacity)};
|
|
1234
|
+
|
|
1235
|
+
background-color: ${f.secondaryNeutralBackgroundColor};
|
|
1236
|
+
color: ${f.secondaryNeutralColor};
|
|
1237
|
+
border-color: ${f.secondaryNeutralBorderColor};
|
|
1238
|
+
border-style: solid;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
.ftds--family-neutral.ft-button--secondary[disabled] {
|
|
1242
|
+
opacity: ${f.secondaryNeutralDisabledComponentOpacity};
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
.ftds--family-neutral.ft-button--secondary ft-icon {
|
|
1246
|
+
color: ${f.secondaryNeutralIconColor};
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
/** Neutral Tertiary styles **/
|
|
1250
|
+
|
|
1251
|
+
.ftds--family-neutral.ft-button--tertiary {
|
|
1252
|
+
${(0,O.setVariable)(Z.color,f.tertiaryNeutralIconColor)};
|
|
1253
|
+
|
|
1254
|
+
${(0,O.setVariable)(E.backgroundColor,f.tertiaryNeutralStateLayerColor)};
|
|
1255
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryNeutralHoverStateLayerOpacity)};
|
|
1256
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryNeutralFocusStateLayerOpacity)};
|
|
1257
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryNeutralActiveStateLayerOpacity)};
|
|
1258
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryNeutralActiveStateLayerOpacity)};
|
|
1259
|
+
|
|
1260
|
+
background-color: ${f.tertiaryNeutralBackgroundColor};
|
|
1261
|
+
color: ${f.tertiaryNeutralColor};
|
|
1262
|
+
border-style: none;
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
.ftds--family-neutral.ft-button--tertiary[disabled] {
|
|
1266
|
+
opacity: ${f.tertiaryNeutralDisabledComponentOpacity};
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
.ftds--family-neutral.ft-button--tertiary ft-icon {
|
|
1270
|
+
color: ${f.tertiaryNeutralIconColor};
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
/** Info Secondary styles **/
|
|
1274
|
+
|
|
1275
|
+
.ftds--family-info.ft-button--secondary {
|
|
1276
|
+
${(0,O.setVariable)(Z.color,f.secondaryInfoIconColor)};
|
|
1277
|
+
|
|
1278
|
+
${(0,O.setVariable)(E.backgroundColor,f.secondaryInfoStateLayerColor)};
|
|
1279
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryInfoHoverStateLayerOpacity)};
|
|
1280
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryInfoFocusStateLayerOpacity)};
|
|
1281
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryInfoActiveStateLayerOpacity)};
|
|
1282
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryInfoActiveStateLayerOpacity)};
|
|
1283
|
+
|
|
1284
|
+
background-color: ${f.secondaryInfoBackgroundColor};
|
|
1285
|
+
color: ${f.secondaryInfoColor};
|
|
1286
|
+
border-color: ${f.secondaryInfoBorderColor};
|
|
1287
|
+
border-style: solid;
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
.ftds--family-info.ft-button--secondary[disabled] {
|
|
1291
|
+
opacity: ${f.secondaryInfoDisabledComponentOpacity};
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
.ftds--family-info.ft-button--secondary ft-icon {
|
|
1295
|
+
color: ${f.secondaryInfoIconColor};
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
/** Info Tertiary styles **/
|
|
1299
|
+
|
|
1300
|
+
.ftds--family-info.ft-button--tertiary {
|
|
1301
|
+
${(0,O.setVariable)(Z.color,f.tertiaryInfoIconColor)};
|
|
1302
|
+
|
|
1303
|
+
${(0,O.setVariable)(E.backgroundColor,f.tertiaryInfoStateLayerColor)};
|
|
1304
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryInfoHoverStateLayerOpacity)};
|
|
1305
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryInfoFocusStateLayerOpacity)};
|
|
1306
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryInfoActiveStateLayerOpacity)};
|
|
1307
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryInfoActiveStateLayerOpacity)};
|
|
1308
|
+
|
|
1309
|
+
background-color: ${f.tertiaryInfoBackgroundColor};
|
|
1310
|
+
color: ${f.tertiaryInfoColor};
|
|
1311
|
+
border-style: none;
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
.ftds--family-info.ft-button--tertiary[disabled] {
|
|
1315
|
+
opacity: ${f.tertiaryInfoDisabledComponentOpacity};
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
.ftds--family-info.ft-button--tertiary ft-icon {
|
|
1319
|
+
color: ${f.tertiaryInfoIconColor};
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
/** Success Secondary styles **/
|
|
1323
|
+
|
|
1324
|
+
.ftds--family-success.ft-button--secondary {
|
|
1325
|
+
${(0,O.setVariable)(Z.color,f.secondarySuccessIconColor)};
|
|
1326
|
+
|
|
1327
|
+
${(0,O.setVariable)(E.backgroundColor,f.secondarySuccessStateLayerColor)};
|
|
1328
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.secondarySuccessHoverStateLayerOpacity)};
|
|
1329
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.secondarySuccessFocusStateLayerOpacity)};
|
|
1330
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.secondarySuccessActiveStateLayerOpacity)};
|
|
1331
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.secondarySuccessActiveStateLayerOpacity)};
|
|
1332
|
+
|
|
1333
|
+
background-color: ${f.secondarySuccessBackgroundColor};
|
|
1334
|
+
color: ${f.secondarySuccessColor};
|
|
1335
|
+
border-color: ${f.secondarySuccessBorderColor};
|
|
1336
|
+
border-style: solid;
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
.ftds--family-success.ft-button--secondary[disabled] {
|
|
1340
|
+
opacity: ${f.secondarySuccessDisabledComponentOpacity};
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
.ftds--family-success.ft-button--secondary ft-icon {
|
|
1344
|
+
color: ${f.secondarySuccessIconColor};
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
/** Success Tertiary styles **/
|
|
1348
|
+
|
|
1349
|
+
.ftds--family-success.ft-button--tertiary {
|
|
1350
|
+
${(0,O.setVariable)(Z.color,f.tertiarySuccessIconColor)};
|
|
1351
|
+
|
|
1352
|
+
${(0,O.setVariable)(E.backgroundColor,f.tertiarySuccessStateLayerColor)};
|
|
1353
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.tertiarySuccessHoverStateLayerOpacity)};
|
|
1354
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiarySuccessFocusStateLayerOpacity)};
|
|
1355
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiarySuccessActiveStateLayerOpacity)};
|
|
1356
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.tertiarySuccessActiveStateLayerOpacity)};
|
|
1357
|
+
|
|
1358
|
+
background-color: ${f.tertiarySuccessBackgroundColor};
|
|
1359
|
+
color: ${f.tertiarySuccessColor};
|
|
1360
|
+
border-style: none;
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
.ftds--family-success.ft-button--tertiary[disabled] {
|
|
1364
|
+
opacity: ${f.tertiarySuccessDisabledComponentOpacity};
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
.ftds--family-success.ft-button--tertiary ft-icon {
|
|
1368
|
+
color: ${f.tertiarySuccessIconColor};
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
/** Warning Secondary styles **/
|
|
1372
|
+
|
|
1373
|
+
.ftds--family-warning.ft-button--secondary {
|
|
1374
|
+
${(0,O.setVariable)(Z.color,f.secondaryWarningIconColor)};
|
|
1375
|
+
|
|
1376
|
+
${(0,O.setVariable)(E.backgroundColor,f.secondaryWarningStateLayerColor)};
|
|
1377
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryWarningHoverStateLayerOpacity)};
|
|
1378
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryWarningFocusStateLayerOpacity)};
|
|
1379
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryWarningActiveStateLayerOpacity)};
|
|
1380
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryWarningActiveStateLayerOpacity)};
|
|
1381
|
+
|
|
1382
|
+
background-color: ${f.secondaryWarningBackgroundColor};
|
|
1383
|
+
color: ${f.secondaryWarningColor};
|
|
1384
|
+
border-color: ${f.secondaryWarningBorderColor};
|
|
1385
|
+
border-style: solid;
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
.ftds--family-warning.ft-button--secondary[disabled] {
|
|
1389
|
+
opacity: ${f.secondaryWarningDisabledComponentOpacity};
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
.ftds--family-warning.ft-button--secondary ft-icon {
|
|
1393
|
+
color: ${f.secondaryWarningIconColor};
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
/** Warning Tertiary styles **/
|
|
1397
|
+
|
|
1398
|
+
.ftds--family-warning.ft-button--tertiary {
|
|
1399
|
+
${(0,O.setVariable)(Z.color,f.tertiaryWarningIconColor)};
|
|
1400
|
+
|
|
1401
|
+
${(0,O.setVariable)(E.backgroundColor,f.tertiaryWarningStateLayerColor)};
|
|
1402
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryWarningHoverStateLayerOpacity)};
|
|
1403
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryWarningFocusStateLayerOpacity)};
|
|
1404
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryWarningActiveStateLayerOpacity)};
|
|
1405
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryWarningActiveStateLayerOpacity)};
|
|
1406
|
+
|
|
1407
|
+
background-color: ${f.tertiaryWarningBackgroundColor};
|
|
1408
|
+
color: ${f.tertiaryWarningColor};
|
|
1409
|
+
border-style: none;
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
.ftds--family-warning.ft-button--tertiary[disabled] {
|
|
1413
|
+
opacity: ${f.tertiaryWarningDisabledComponentOpacity};
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
.ftds--family-warning.ft-button--tertiary ft-icon {
|
|
1417
|
+
color: ${f.tertiaryWarningIconColor};
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
/** Error Secondary styles **/
|
|
1421
|
+
|
|
1422
|
+
.ftds--family-error.ft-button--secondary {
|
|
1423
|
+
${(0,O.setVariable)(Z.color,f.secondaryErrorIconColor)};
|
|
680
1424
|
|
|
681
|
-
|
|
682
|
-
|
|
1425
|
+
${(0,O.setVariable)(E.backgroundColor,f.secondaryErrorStateLayerColor)};
|
|
1426
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryErrorHoverStateLayerOpacity)};
|
|
1427
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryErrorFocusStateLayerOpacity)};
|
|
1428
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryErrorActiveStateLayerOpacity)};
|
|
1429
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryErrorActiveStateLayerOpacity)};
|
|
1430
|
+
|
|
1431
|
+
background-color: ${f.secondaryErrorBackgroundColor};
|
|
1432
|
+
color: ${f.secondaryErrorColor};
|
|
1433
|
+
border-color: ${f.secondaryErrorBorderColor};
|
|
1434
|
+
border-style: solid;
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
.ftds--family-error.ft-button--secondary[disabled] {
|
|
1438
|
+
opacity: ${f.secondaryErrorDisabledComponentOpacity};
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
.ftds--family-error.ft-button--secondary ft-icon {
|
|
1442
|
+
color: ${f.secondaryErrorIconColor};
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
/** Error Tertiary styles **/
|
|
1446
|
+
|
|
1447
|
+
.ftds--family-error.ft-button--tertiary {
|
|
1448
|
+
${(0,O.setVariable)(Z.color,f.tertiaryErrorIconColor)};
|
|
1449
|
+
|
|
1450
|
+
${(0,O.setVariable)(E.backgroundColor,f.tertiaryErrorStateLayerColor)};
|
|
1451
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryErrorHoverStateLayerOpacity)};
|
|
1452
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryErrorFocusStateLayerOpacity)};
|
|
1453
|
+
${(0,O.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryErrorActiveStateLayerOpacity)};
|
|
1454
|
+
${(0,O.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryErrorActiveStateLayerOpacity)};
|
|
1455
|
+
|
|
1456
|
+
background-color: ${f.tertiaryErrorBackgroundColor};
|
|
1457
|
+
color: ${f.tertiaryErrorColor};
|
|
1458
|
+
border-style: none;
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
.ftds--family-error.ft-button--tertiary[disabled] {
|
|
1462
|
+
opacity: ${f.tertiaryErrorDisabledComponentOpacity};
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
.ftds--family-error.ft-button--tertiary ft-icon {
|
|
1466
|
+
color: ${f.tertiaryErrorIconColor};
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
/** Large styles **/
|
|
1470
|
+
|
|
1471
|
+
.ftds--size-large {
|
|
1472
|
+
${(0,O.setVariable)(ue.size,f.largeIconSize)};
|
|
1473
|
+
${(0,O.setVariable)(Z.size,f.largeIconSize)};
|
|
1474
|
+
|
|
1475
|
+
height: ${f.largeHeight};
|
|
1476
|
+
padding: 0 ${f.largeHorizontalPadding};
|
|
1477
|
+
gap: ${f.largeGap};
|
|
1478
|
+
border-radius: ${f.largeBorderRadius};
|
|
1479
|
+
border-width: ${f.largeBorderWidth};
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1482
|
+
.ftds--size-large:focus-visible {
|
|
1483
|
+
outline-width: ${f.largeFocusOutlineWidth};
|
|
1484
|
+
outline-offset: ${f.largeFocusOutlineOffset};
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
.ftds--size-large.ft-button--icon-only {
|
|
1488
|
+
width: ${f.largeIconOnlyWidth};
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
/** Small styles **/
|
|
1492
|
+
|
|
1493
|
+
.ftds--size-medium {
|
|
1494
|
+
${(0,O.setVariable)(ue.size,f.mediumIconSize)};
|
|
1495
|
+
${(0,O.setVariable)(Z.size,f.mediumIconSize)};
|
|
1496
|
+
|
|
1497
|
+
height: ${f.mediumHeight};
|
|
1498
|
+
padding: 0 ${f.mediumHorizontalPadding};
|
|
1499
|
+
gap: ${f.mediumGap};
|
|
1500
|
+
border-radius: ${f.mediumBorderRadius};
|
|
1501
|
+
border-width: ${f.mediumBorderWidth};
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
.ftds--size-medium:focus-visible {
|
|
1505
|
+
outline-width: ${f.mediumFocusOutlineWidth};
|
|
1506
|
+
outline-offset: ${f.mediumFocusOutlineOffset};
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
.ftds--size-medium.ft-button--icon-only {
|
|
1510
|
+
width: ${f.mediumIconOnlyWidth};
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
|
|
1514
|
+
/** Small styles **/
|
|
1515
|
+
|
|
1516
|
+
.ftds--size-small {
|
|
1517
|
+
${(0,O.setVariable)(ue.size,f.smallIconSize)};
|
|
1518
|
+
${(0,O.setVariable)(Z.size,f.smallIconSize)};
|
|
1519
|
+
|
|
1520
|
+
height: ${f.smallHeight};
|
|
1521
|
+
padding: 0 ${f.smallHorizontalPadding};
|
|
1522
|
+
gap: ${f.smallGap};
|
|
1523
|
+
border-radius: ${f.smallBorderRadius};
|
|
1524
|
+
border-width: ${f.smallBorderWidth};
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
.ftds--size-small:focus-visible {
|
|
1528
|
+
outline-width: ${f.smallFocusOutlineWidth};
|
|
1529
|
+
outline-offset: ${f.smallFocusOutlineOffset};
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
.ftds--size-small.ft-button--icon-only {
|
|
1533
|
+
width: ${f.smallIconOnlyWidth};
|
|
1534
|
+
}
|
|
1535
|
+
`,O.noTextSelect];var zo=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},ze=class extends(0,Fo.toFtdsBase)(q){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Kr.brand,this.iconVariant=Re.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Wt.large:return je.body2medium;case Wt.medium:return je.caption1medium;case Wt.small:return je.caption2medium}}};ze.styles=[Fo.safariEllipsisFix,yc];zo([(0,Gr.property)({type:Boolean})],ze.prototype,"primary",void 0);zo([(0,Gr.property)({type:Boolean})],ze.prototype,"secondary",void 0);zo([(0,Gr.property)({type:Boolean})],ze.prototype,"tertiary",void 0);zo([(0,Gr.property)({type:Boolean})],ze.prototype,"round",void 0);(0,Xn.customElement)("ft-button")(ct);(0,Xn.customElement)("ftds-button")(ze);var le=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},G=class extends Pe.FtdsBase{constructor(){super(...arguments),this.status=Pe.Status.default,this.disabled=!1,this.label="",this.hideLabel=!1,this.raiseLabel=!1,this.appendIconVariant=Re.fluid_topics,this.appendIconIsClickable=!1,this.prependIconVariant=Re.fluid_topics,this.prependIconIsClickable=!1,this.errorMessages=[],this.warningMessages=[],this.hasFocus=!1}setFocusState(r){this.hasFocus=r,this.toggleAttribute("focused",r)}focusSlottedInput(){let o=this.mainSlot.assignedElements({flatten:!0}).find(n=>n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement||n instanceof HTMLSelectElement);o?.focus()}get shouldShowLabel(){return!this.hideLabel&&this.label}get iconSize(){switch(this.size){case Pe.DesignSystemSize.large:return Pe.DesignSystemSize.medium;case Pe.DesignSystemSize.medium:return Pe.DesignSystemSize.small;default:return Pe.DesignSystemSize.medium}}render(){let r={"ftds-input":!0,disabled:this.disabled,"no-label":!this.shouldShowLabel,focused:this.hasFocus,"with-prepend-icon":!!this.prependIcon,"with-append-icon":!!this.appendIcon,[this.status]:!0,...this.getDesignSystemBaseClasses()};return Ht.html`
|
|
1536
|
+
<div class="${(0,mc.classMap)(r)}">
|
|
683
1537
|
|
|
684
1538
|
<div class="inside-structure" @click=${()=>this.focusSlottedInput()}>
|
|
685
1539
|
<slot part="label" name="label">
|
|
686
|
-
${
|
|
1540
|
+
${_t(this.shouldShowLabel,()=>Ht.html`
|
|
687
1541
|
<ftds-input-label
|
|
688
1542
|
aria-hidden="true"
|
|
689
1543
|
text="${this.label}"
|
|
690
1544
|
?raised=${this.raiseLabel}
|
|
691
|
-
.size
|
|
1545
|
+
.size=${this.size}
|
|
692
1546
|
></ftds-input-label>
|
|
693
1547
|
`)}
|
|
694
1548
|
</slot>
|
|
@@ -712,58 +1566,64 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
712
1566
|
|
|
713
1567
|
<slot part="helper-text" name="helper-text">
|
|
714
1568
|
<ftds-input-helper-text
|
|
715
|
-
.helperText
|
|
716
|
-
.errorMessages
|
|
717
|
-
.warningMessages
|
|
1569
|
+
.helperText=${this.helperText}
|
|
1570
|
+
.errorMessages=${this.errorMessages}
|
|
1571
|
+
.warningMessages=${this.warningMessages}
|
|
718
1572
|
></ftds-input-helper-text>
|
|
719
1573
|
</slot>
|
|
720
1574
|
|
|
721
1575
|
</div>
|
|
722
|
-
`}renderIcon(r){let o=r==="append"?this.appendIcon:this.prependIcon,n=r==="append"?"append-icon-click":"prepend-icon-click",
|
|
723
|
-
<
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
1576
|
+
`}renderIcon(r){let o=r==="append"?this.appendIcon:this.prependIcon,n=r==="append"?this.appendIconVariant:this.prependIconVariant,a=r==="append"?"append-icon-click":"prepend-icon-click",i=r==="append"?this.appendIconIsClickable:this.prependIconIsClickable,l=r==="append"?this.appendIconLabel:this.prependIconLabel;return!o||o===!0?Ht.nothing:i?Ht.html`
|
|
1577
|
+
<ftds-button
|
|
1578
|
+
.label=${l}
|
|
1579
|
+
.icon=${o}
|
|
1580
|
+
.iconVariant=${n}
|
|
1581
|
+
.size=${this.iconSize}
|
|
1582
|
+
family="${Pe.DesignSystemFamily.neutral}"
|
|
1583
|
+
|
|
1584
|
+
@click=${d=>{d.stopPropagation(),this.dispatchEvent(new CustomEvent(a,d))}}
|
|
1585
|
+
>
|
|
1586
|
+
</ftds-button>
|
|
1587
|
+
`:Ht.html`
|
|
1588
|
+
<ft-icon aria-label="${vr(l)}" aria-hidden="${!!l}" .value=${o}></ft-icon>`}};G.elementDefinitions={"ftds-input-helper-text":Se,"ftds-input-label":et,"ft-icon":ne,"ftds-button":ze,"ft-tooltip":j};G.styles=[Kl];le([(0,Q.property)()],G.prototype,"status",void 0);le([(0,Q.property)({type:Boolean})],G.prototype,"disabled",void 0);le([(0,Q.property)()],G.prototype,"label",void 0);le([(0,Q.property)({type:Boolean})],G.prototype,"hideLabel",void 0);le([(0,Q.property)({type:Boolean})],G.prototype,"raiseLabel",void 0);le([(0,Q.property)()],G.prototype,"helperText",void 0);le([(0,Q.property)()],G.prototype,"appendIcon",void 0);le([(0,Q.property)()],G.prototype,"appendIconVariant",void 0);le([(0,Q.property)()],G.prototype,"appendIconLabel",void 0);le([(0,Q.property)({type:Boolean})],G.prototype,"appendIconIsClickable",void 0);le([(0,Q.property)()],G.prototype,"prependIcon",void 0);le([(0,Q.property)()],G.prototype,"prependIconVariant",void 0);le([(0,Q.property)()],G.prototype,"prependIconLabel",void 0);le([(0,Q.property)({type:Boolean})],G.prototype,"prependIconIsClickable",void 0);le([(0,Q.state)()],G.prototype,"errorMessages",void 0);le([(0,Q.state)()],G.prototype,"warningMessages",void 0);le([(0,Q.state)()],G.prototype,"hasFocus",void 0);le([(0,Q.query)(".ft-base-input")],G.prototype,"container",void 0);le([(0,Q.query)("slot:not([name])")],G.prototype,"mainSlot",void 0);(0,gc.customElement)("ftds-base-input")(G);var Jn=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(r,o,i):l(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},pt=class extends Ro((0,dt.toFtInput)(dt.FtdsBase)){constructor(){var r;super(),this.type=_e.text,this.showClearPassword=!1,this.value=(r=this.value)!==null&&r!==void 0?r:"",this.addI18nContext(cr,ml)}get inputType(){return this.type===_e.password&&this.showClearPassword?_e.text:this.type}onInput(){var r;this.value=((r=this.input)===null||r===void 0?void 0:r.value)||"",super.onInput()}connectedCallback(){this.updateTypeBasedAdditionalRules(this.type),super.connectedCallback()}willUpdate(r){super.willUpdate(r),r.has("type")&&this.updateTypeBasedAdditionalRules(this.type)}get showLabel(){return!this.hideLabel&&this.label}get passwordIconForCurrentState(){return this.type===_e.password&&!this.disabled?this.showClearPassword?Ve.EYE_SLASH:Ve.EYE:void 0}render(){let r=(0,xc.classMap)({"ftds-input":!0,...this.getDesignSystemBaseClasses()});return bc.html`
|
|
733
1589
|
<ftds-base-input
|
|
734
1590
|
|
|
735
1591
|
.status=${this.status}
|
|
736
1592
|
.size=${this.size}
|
|
737
|
-
?disabled
|
|
1593
|
+
?disabled=${this.disabled}
|
|
738
1594
|
|
|
739
1595
|
.errorMessages=${this.errorMessages}
|
|
740
1596
|
.warningMessages=${this.warningMessages}
|
|
741
1597
|
.helperText=${this.helperText}
|
|
742
1598
|
|
|
743
|
-
.label=${
|
|
1599
|
+
.label=${vr(this.label)}
|
|
744
1600
|
?hideLabel=${this.hideLabel}
|
|
745
|
-
?raiseLabel=${this.type==
|
|
1601
|
+
?raiseLabel=${this.type==_e.date||this.type==_e.time||this.focused||this.value!=""}
|
|
746
1602
|
|
|
747
1603
|
.appendIcon=${this.passwordIconForCurrentState}
|
|
748
|
-
.appendIconLabel=${this.showClearPassword?
|
|
1604
|
+
.appendIconLabel=${this.showClearPassword?cr.messages.hidePassword():cr.messages.showPassword()}
|
|
749
1605
|
appendIconIsClickable
|
|
750
|
-
@append-icon-click
|
|
1606
|
+
@append-icon-click="${()=>this.showClearPassword=!this.showClearPassword}"
|
|
751
1607
|
|
|
752
1608
|
>
|
|
753
1609
|
|
|
754
|
-
<input class
|
|
1610
|
+
<input class="${r}"
|
|
755
1611
|
name="${this.name}"
|
|
756
|
-
.value
|
|
757
|
-
.type
|
|
1612
|
+
.value=${this.value}
|
|
1613
|
+
.type=${this.inputType}
|
|
758
1614
|
?disabled=${this.disabled}
|
|
759
1615
|
@input=${this.onInput}
|
|
760
1616
|
@focus=${this.onFocus}
|
|
761
1617
|
@blur=${this.onBlur}
|
|
762
|
-
aria-label="${
|
|
1618
|
+
aria-label="${vr(this.label)}"
|
|
1619
|
+
aria-invalid="${this.status===dt.Status.error}"
|
|
1620
|
+
aria-describedby="${this.messagesForScreenReaderElementId}"
|
|
763
1621
|
/>
|
|
764
1622
|
|
|
1623
|
+
${this.renderMessagesForScreenReader()}
|
|
1624
|
+
|
|
765
1625
|
</ftds-base-input>
|
|
766
|
-
`}updateTypeBasedAdditionalRules(r){this.additionalErrorRules=(()=>{switch(r){case
|
|
1626
|
+
`}updateTypeBasedAdditionalRules(r){this.additionalErrorRules=(()=>{switch(r){case _e.email:return[dt.ValidationRules.email(cr.messages.invalidEmail())];case _e.url:return[dt.ValidationRules.url(cr.messages.invalidUrl())];default:return[]}})(),this.additionalWarningRules=(()=>{switch(r){default:return[]}})()}};pt.elementDefinitions={"ftds-input-helper-text":Se,"ftds-input-label":et,"ftds-base-input":G,"ft-icon":ne,"ft-tooltip":j};pt.styles=[Na];Jn([(0,yr.property)()],pt.prototype,"type",void 0);Jn([(0,yr.state)()],pt.prototype,"showClearPassword",void 0);Jn([(0,yr.query)("input")],pt.prototype,"input",void 0);(0,vc.customElement)("ftds-text-input")(pt);})();
|
|
767
1627
|
/*! Bundled license information:
|
|
768
1628
|
|
|
769
1629
|
lit-html/lit-html.js:
|