@fluid-topics/ft-text-input 1.3.4 → 1.3.6
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 +195 -195
- package/build/ft-text-input.min.js +322 -322
- package/package.json +10 -10
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
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`
|
|
1
|
+
"use strict";(()=>{var Cc=Object.create;var ea=Object.defineProperty;var Ec=Object.getOwnPropertyDescriptor;var wc=Object.getOwnPropertyNames;var Ac=Object.getPrototypeOf,Rc=Object.prototype.hasOwnProperty;var Rt=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var Ic=(e,r,o,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of wc(r))!Rc.call(e,a)&&a!==o&&ea(e,a,{get:()=>r[a],enumerable:!(n=Ec(r,a))||n.enumerable});return e};var b=(e,r,o)=>(o=e!=null?Cc(Ac(e)):{},Ic(r||!e||!e.__esModule?ea(o,"default",{value:e,enumerable:!0}):o,e));var P=Rt((Qd,ta)=>{ta.exports=ftGlobals.wcUtils});var H=Rt((ep,ra)=>{ra.exports=ftGlobals.lit});var ee=Rt((tp,oa)=>{oa.exports=ftGlobals.litDecorators});var Nt=Rt((Vh,La)=>{La.exports=ftGlobals.litClassMap});var gi=Rt((am,mi)=>{mi.exports=ftGlobals.litUnsafeHTML});var Ai=Rt((Em,wi)=>{wi.exports=ftGlobals.litRepeat});var Bi=Rt((mt,Di)=>{var ao=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,io=function(){function e(){this.fetch=!1,this.DOMException=ao.DOMException}return e.prototype=ao,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 D=h.shift();return{done:D===void 0,value:D}}};return a.iterable&&(x[Symbol.iterator]=function(){return x}),x}function y(h){this.map={},h instanceof y?h.forEach(function(x,D){this.append(D,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 D=this.map[h];this.map[h]=D?D+", "+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 D in this.map)this.map.hasOwnProperty(D)&&h.call(x,this.map[D],D,this)},y.prototype.keys=function(){var h=[];return this.forEach(function(x,D){h.push(D)}),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,D){h.push([D,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,D){h.onload=function(){x(h.result)},h.onerror=function(){D(h.error)}})}function v(h){var x=new FileReader,D=S(x);return x.readAsArrayBuffer(h),D}function C(h){var x=new FileReader,D=S(x),W=/charset=([A-Za-z0-9_-]+)/.exec(h.type),X=W?W[1]:"utf-8";return x.readAsText(h,X),D}function L(h){for(var x=new Uint8Array(h),D=new Array(x.length),W=0;W<x.length;W++)D[W]=String.fromCharCode(x[W]);return D.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(Se)}),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 D=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,!D&&h._bodyInit!=null&&(D=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")&&D)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(D),(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 X=/\?/;this.url+=(X.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}U.prototype.clone=function(){return new U(this,{body:this._bodyInit})};function Se(h){var x=new FormData;return h.trim().split("&").forEach(function(D){if(D){var W=D.split("="),X=W.shift().replace(/\+/g," "),z=W.join("=").replace(/\+/g," ");x.append(decodeURIComponent(X),decodeURIComponent(z))}}),x}function Fe(h){var x=new y,D=h.replace(/\r?\n[\t ]+/g," ");return D.split("\r").map(function(W){return W.indexOf(`
|
|
2
|
+
`)===0?W.substr(1,W.length):W}).forEach(function(W){var X=W.split(":"),z=X.shift().trim();if(z){var jr=X.join(":").trim();try{x.append(z,jr)}catch(Ho){console.warn("Response "+Ho.message)}}}),x}N.call(U.prototype);function ve(h,x){if(!(this instanceof ve))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(ve.prototype),ve.prototype.clone=function(){return new ve(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},ve.error=function(){var h=new ve(null,{status:200,statusText:""});return h.ok=!1,h.status=0,h.type="error",h};var He=[301,302,303,307,308];ve.redirect=function(h,x){if(He.indexOf(x)===-1)throw new RangeError("Invalid status code");return new ve(null,{status:x,headers:{location:h}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,D){this.message=x,this.name=D;var W=Error(x);this.stack=W.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function pe(h,x){return new Promise(function(D,W){var X=new U(h,x);if(X.signal&&X.signal.aborted)return W(new o.DOMException("Aborted","AbortError"));var z=new XMLHttpRequest;function jr(){z.abort()}z.onload=function(){var ue={statusText:z.statusText,headers:Fe(z.getAllResponseHeaders()||"")};X.url.indexOf("file://")===0&&(z.status<200||z.status>599)?ue.status=200:ue.status=z.status,ue.url="responseURL"in z?z.responseURL:ue.headers.get("X-Request-URL");var At="response"in z?z.response:z.responseText;setTimeout(function(){D(new ve(At,ue))},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(ue){try{return ue===""&&n.location.href?n.location.href:ue}catch{return ue}}if(z.open(X.method,Ho(X.url),!0),X.credentials==="include"?z.withCredentials=!0:X.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(ue){Qn.push(p(ue)),z.setRequestHeader(ue,u(x.headers[ue]))}),X.headers.forEach(function(ue,At){Qn.indexOf(At)===-1&&z.setRequestHeader(At,ue)})}else X.headers.forEach(function(ue,At){z.setRequestHeader(At,ue)});X.signal&&(X.signal.addEventListener("abort",jr),z.onreadystatechange=function(){z.readyState===4&&X.signal.removeEventListener("abort",jr)}),z.send(typeof X._bodyInit>"u"?null:X._bodyInit)})}return pe.polyfill=!0,n.fetch||(n.fetch=pe,n.Headers=y,n.Request=U,n.Response=ve),o.Headers=y,o.Request=U,o.Response=ve,o.fetch=pe,o}({})})(io);io.fetch.ponyfill=!0;delete io.fetch.polyfill;var or=ao.fetch?ao:io;mt=or.fetch;mt.default=or.fetch;mt.fetch=or.fetch;mt.Headers=or.Headers;mt.Request=or.Request;mt.Response=or.Response;Di.exports=mt});var Oc=b(P());var vc=b(H()),mr=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),ft=e=>typeof e=="string"?(0,Xe.unsafeCSS)(e):e,t=class{static create(r,o,n,a){let i=d=>ft(d??a),l=Xe.css`var(${ft(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(${ft(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(${ft(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(${ft(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(${ft(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(${ft(r.name)}, ${n(i)})`,a.breadcrumb=()=>r.breadcrumb(),a.lastResortDefaultValue=()=>r.lastResortDefaultValue(),a}};function na(e,r){return ft(`${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")},Nc={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":Nc,"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 mp={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 Sp={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 Ap={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 Tp={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 Bp={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 Fp={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 Vp={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 Xp={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 ru={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 su={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 pu={contentHorizontalPadding:t.extend("--ft-page-layout-content-horizontal-padding","",s.spacing6),contentVerticalPadding:t.extend("--ft-page-layout-content-vertical-padding","",s.spacing6)};var mu={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 Su={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 Au={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 Lc={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 Du={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 zu={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 ju={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 Yu={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 tf={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 sf={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 uf={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 mf={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 vf={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 wf={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 Lf={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 Df={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 zf={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 jf={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 Yf={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 th={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 Gt;(function(e){e.large="large",e.medium="medium",e.small="small"})(Gt||(Gt={}));var Na=Ia.css`
|
|
4
4
|
|
|
5
5
|
ftds-base-input {
|
|
6
6
|
cursor: text;
|
|
@@ -37,9 +37,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
37
37
|
font-weight: ${We.fontWeight};
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
`;var
|
|
41
|
-
\f\r]`,
|
|
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),
|
|
40
|
+
`;var Sc=b(Nt());var qo=globalThis,Zr=qo.trustedTypes,Ta=Zr?Zr.createPolicy("lit-html",{createHTML:e=>e}):void 0,$a="$lit$",ht=`lit$${Math.random().toFixed(9).slice(2)}$`,Ma="?"+ht,Tc=`<${Ma}>`,Pt=document,qr=()=>Pt.createComment(""),br=e=>e===null||typeof e!="object"&&typeof e!="function",Yo=Array.isArray,Pc=e=>Yo(e)||typeof e?.[Symbol.iterator]=="function",Wo=`[
|
|
41
|
+
\f\r]`,gr=/<(?:(!--|\/[^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),xr=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 _c=(e,r)=>{let o=e.length-1,n=[],a,i=r===2?"<svg>":r===3?"<math>":"",l=gr;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===gr?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??gr,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=gr:(l=Lt,a=void 0);let S=l===Lt&&e[d+1].startsWith("/>")?" ":"";i+=l===gr?p+Tc:y>=0?(n.push(u),p.slice(0,y)+$a+p.slice(y)+ht+S):p+ht+(y===-2?d:S)}return[Wa(e,i+(e[o]||"<?>")+(r===2?"</svg>":r===3?"</math>":"")),n]},vr=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]=_c(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(ht),v=/([.?@])?(.*)/.exec(g);p.push({type:1,index:i,name:v[2],strings:S,ctor:v[1]==="."?jo:v[1]==="?"?Vo:v[1]==="@"?Ko:Vt}),a.removeAttribute(y)}else y.startsWith(ht)&&(p.push({type:6,index:i}),a.removeAttribute(y));if(Ua.test(a.tagName)){let y=a.textContent.split(ht),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(ht,y+1))!==-1;)p.push({type:7,index:i}),y+=ht.length-1}i++}}static createElement(r,o){let n=Pt.createElement("template");return n.innerHTML=r,n}};function jt(e,r,o=e,n){if(r===xr)return r;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=br(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=jt(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=jt(this,r,o),br(r)?r===te||r==null||r===""?(this._$AH!==te&&this._$AR(),this._$AH=te):r!==this._$AH&&r!==xr&&this._(r):r._$litType$!==void 0?this.$(r):r.nodeType!==void 0?this.T(r):Pc(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&&br(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=vr.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 vr(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))}},Vt=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=jt(this,r,o,0),l=!br(r)||r!==this._$AH&&r!==xr,l&&(this._$AH=r);else{let d=r,p,u;for(r=i[0],p=0;p<i.length-1;p++)u=jt(this,d[n+p],o,p),u===xr&&(u=this._$AH[p]),l||=!br(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 Vt{constructor(){super(...arguments),this.type=3}j(r){this.element[this.name]=r===te?void 0:r}},Vo=class extends Vt{constructor(){super(...arguments),this.type=4}j(r){this.element.toggleAttribute(this.name,!!r&&r!==te)}},Ko=class extends Vt{constructor(r,o,n,a,i){super(r,o,n,a,i),this.type=5}_$AI(r,o=this){if((r=jt(this,r,o,0)??te)===xr)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){jt(this,r)}};var kc=qo.litHtmlPolyfillSupport;kc?.(vr,Yr),(qo.litHtmlVersions??=[]).push("3.3.0");var Sr=e=>e??te;var pt=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
43
|
<div class="${(0,ja.classMap)(this.inputLabelClasses)}">
|
|
44
44
|
${_t(this.text,()=>Jo.html`
|
|
45
45
|
<div class="ft-input-label--text ft-typography--caption">
|
|
@@ -57,17 +57,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
57
57
|
line-height: ${r.lineHeight};
|
|
58
58
|
text-transform: ${r.textCase};
|
|
59
59
|
}
|
|
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")},
|
|
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")},Kt={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")},Zt={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")},qt={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")},Yt={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")},Xt={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")},Jt={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")},ge={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")},Qt={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")},er={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: ${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
|
-
.ft-typography--title-dense {
|
|
71
62
|
font-family: ${Kt.fontFamily};
|
|
72
63
|
font-size: ${Kt.fontSize};
|
|
73
64
|
font-weight: ${Kt.fontWeight};
|
|
@@ -75,8 +66,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
75
66
|
line-height: ${Kt.lineHeight};
|
|
76
67
|
text-transform: ${Kt.textTransform};
|
|
77
68
|
}
|
|
78
|
-
`,
|
|
79
|
-
.ft-typography--
|
|
69
|
+
`,Ya=Le.css`
|
|
70
|
+
.ft-typography--title-dense {
|
|
80
71
|
font-family: ${Zt.fontFamily};
|
|
81
72
|
font-size: ${Zt.fontSize};
|
|
82
73
|
font-weight: ${Zt.fontWeight};
|
|
@@ -84,8 +75,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
84
75
|
line-height: ${Zt.lineHeight};
|
|
85
76
|
text-transform: ${Zt.textTransform};
|
|
86
77
|
}
|
|
87
|
-
`,
|
|
88
|
-
.ft-typography--
|
|
78
|
+
`,Xa=Le.css`
|
|
79
|
+
.ft-typography--subtitle1 {
|
|
89
80
|
font-family: ${qt.fontFamily};
|
|
90
81
|
font-size: ${qt.fontSize};
|
|
91
82
|
font-weight: ${qt.fontWeight};
|
|
@@ -93,9 +84,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
93
84
|
line-height: ${qt.lineHeight};
|
|
94
85
|
text-transform: ${qt.textTransform};
|
|
95
86
|
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
.ft-typography--body1 {
|
|
87
|
+
`,Ja=Le.css`
|
|
88
|
+
.ft-typography--subtitle2 {
|
|
99
89
|
font-family: ${Yt.fontFamily};
|
|
100
90
|
font-size: ${Yt.fontSize};
|
|
101
91
|
font-weight: ${Yt.fontWeight};
|
|
@@ -103,8 +93,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
103
93
|
line-height: ${Yt.lineHeight};
|
|
104
94
|
text-transform: ${Yt.textTransform};
|
|
105
95
|
}
|
|
106
|
-
|
|
107
|
-
|
|
96
|
+
|
|
97
|
+
`,Qa=Le.css`
|
|
98
|
+
.ft-typography--body1 {
|
|
108
99
|
font-family: ${Xt.fontFamily};
|
|
109
100
|
font-size: ${Xt.fontSize};
|
|
110
101
|
font-weight: ${Xt.fontWeight};
|
|
@@ -112,17 +103,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
112
103
|
line-height: ${Xt.lineHeight};
|
|
113
104
|
text-transform: ${Xt.textTransform};
|
|
114
105
|
}
|
|
115
|
-
`,
|
|
116
|
-
.ft-typography--
|
|
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
|
-
.ft-typography--breadcrumb {
|
|
106
|
+
`,ei=Le.css`
|
|
107
|
+
.ft-typography--body2 {
|
|
126
108
|
font-family: ${Jt.fontFamily};
|
|
127
109
|
font-size: ${Jt.fontSize};
|
|
128
110
|
font-weight: ${Jt.fontWeight};
|
|
@@ -130,8 +112,17 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
130
112
|
line-height: ${Jt.lineHeight};
|
|
131
113
|
text-transform: ${Jt.textTransform};
|
|
132
114
|
}
|
|
133
|
-
`,
|
|
134
|
-
.ft-typography--
|
|
115
|
+
`,tr=Le.css`
|
|
116
|
+
.ft-typography--caption {
|
|
117
|
+
font-family: ${ge.fontFamily};
|
|
118
|
+
font-size: ${ge.fontSize};
|
|
119
|
+
font-weight: ${ge.fontWeight};
|
|
120
|
+
letter-spacing: ${ge.letterSpacing};
|
|
121
|
+
line-height: ${ge.lineHeight};
|
|
122
|
+
text-transform: ${ge.textTransform};
|
|
123
|
+
}
|
|
124
|
+
`,ti=Le.css`
|
|
125
|
+
.ft-typography--breadcrumb {
|
|
135
126
|
font-family: ${Qt.fontFamily};
|
|
136
127
|
font-size: ${Qt.fontSize};
|
|
137
128
|
font-weight: ${Qt.fontWeight};
|
|
@@ -139,6 +130,15 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
139
130
|
line-height: ${Qt.lineHeight};
|
|
140
131
|
text-transform: ${Qt.textTransform};
|
|
141
132
|
}
|
|
133
|
+
`,ri=Le.css`
|
|
134
|
+
.ft-typography--overline {
|
|
135
|
+
font-family: ${er.fontFamily};
|
|
136
|
+
font-size: ${er.fontSize};
|
|
137
|
+
font-weight: ${er.fontWeight};
|
|
138
|
+
letter-spacing: ${er.letterSpacing};
|
|
139
|
+
line-height: ${er.lineHeight};
|
|
140
|
+
text-transform: ${er.textTransform};
|
|
141
|
+
}
|
|
142
142
|
`,oi=Le.css`
|
|
143
143
|
.ft-typography--button {
|
|
144
144
|
font-family: ${Ge.fontFamily};
|
|
@@ -203,8 +203,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
203
203
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
204
204
|
max-width: calc(${F.labelMaxWidth} - 2 * (${F.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
205
205
|
text-overflow: ellipsis;
|
|
206
|
-
${(0,V.setVariable)(
|
|
207
|
-
${(0,V.setVariable)(
|
|
206
|
+
${(0,V.setVariable)(ge.fontSize,F.fontSize)};
|
|
207
|
+
${(0,V.setVariable)(ge.lineHeight,F.fontSize)};
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
.ft-input-label--in-error .ft-input-label--text {
|
|
@@ -236,8 +236,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
.ft-input-label--raised .ft-input-label--text {
|
|
239
|
-
${(0,V.setVariable)(
|
|
240
|
-
${(0,V.setVariable)(
|
|
239
|
+
${(0,V.setVariable)(ge.fontSize,F.raisedFontSize)};
|
|
240
|
+
${(0,V.setVariable)(ge.lineHeight,F.raisedFontSize)};
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
@@ -274,12 +274,12 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
274
274
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
275
275
|
border-top: none;
|
|
276
276
|
}
|
|
277
|
-
`;var re=b(P()),
|
|
277
|
+
`;var re=b(P()),be={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: ${be.largeFieldHeight};
|
|
281
|
+
--field-vertical-gap: ${be.largeFieldVerticalGap};
|
|
282
|
+
--field-horizontal-padding: ${be.largeFieldHorizontalPadding};
|
|
283
283
|
|
|
284
284
|
--typo-caption-height: calc(${It.lineHeight} * ${It.fontSize});
|
|
285
285
|
--typo-body-height: calc(${We.lineHeight} * ${We.fontSize});
|
|
@@ -297,15 +297,15 @@ Also for action icons.`,s.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: ${be.largeFieldHeight};
|
|
301
|
+
--field-vertical-gap: ${be.largeFieldVerticalGap};
|
|
302
|
+
--field-horizontal-padding: ${be.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: ${be.mediumFieldHeight};
|
|
307
|
+
--field-vertical-gap: ${be.mediumFieldVerticalGap};
|
|
308
|
+
--field-horizontal-padding: ${be.mediumFieldHorizontalPadding};
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
.ft-input-label--text {
|
|
@@ -316,8 +316,8 @@ Also for action icons.`,s.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,re.setVariable)(
|
|
320
|
-
${(0,re.setVariable)(
|
|
319
|
+
${(0,re.setVariable)(ge.fontSize,be.fontSize)};
|
|
320
|
+
${(0,re.setVariable)(ge.lineHeight,be.lineHeight)};
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
.ft-input-label--hidden-text {
|
|
@@ -340,23 +340,23 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
340
340
|
|
|
341
341
|
padding-top: ${F.verticalSpacing};
|
|
342
342
|
padding-bottom: ${F.verticalSpacing};
|
|
343
|
-
padding-left: calc(var(--field-horizontal-padding) + ${
|
|
344
|
-
padding-right: calc(var(--field-horizontal-padding) + ${
|
|
343
|
+
padding-left: calc(var(--field-horizontal-padding) + ${be.additionalPaddingLeft});
|
|
344
|
+
padding-right: calc(var(--field-horizontal-padding) + ${be.additionalPaddingRight});
|
|
345
345
|
|
|
346
346
|
margin: calc(${F.verticalSpacing} * -1) 0;
|
|
347
|
-
color: ${
|
|
347
|
+
color: ${be.color};
|
|
348
348
|
}
|
|
349
349
|
|
|
350
350
|
.ft-input-label--raised .ft-input-label--text {
|
|
351
|
-
${(0,re.setVariable)(
|
|
352
|
-
${(0,re.setVariable)(
|
|
351
|
+
${(0,re.setVariable)(ge.fontSize,be.fontSizeRaised)};
|
|
352
|
+
${(0,re.setVariable)(ge.lineHeight,be.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 hi=b(P());var pi=Symbol.for(""),
|
|
359
|
+
`];var hi=b(P());var pi=Symbol.for(""),Dc=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=Dc(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),zy=tn(Fa),Fy=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
360
|
<${en(this.element)}
|
|
361
361
|
part="text"
|
|
362
362
|
class="ft-typography ft-typography--${this.variant}">
|
|
@@ -364,7 +364,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
364
364
|
</${en(this.element)}>
|
|
365
365
|
`:rn`
|
|
366
366
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
367
|
-
`}};Ae.styles=[qa,Ya,Xa,Ja,Qa,ei,
|
|
367
|
+
`}};Ae.styles=[qa,Ya,Xa,Ja,Qa,ei,tr,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=[tr,ci];var Ii=b(P());var Jr=b(H()),wr=b(ee()),tt=b(P());var Ci=b(H());var De=b(P());var Oi=b(P());var Or=b(H()),yt=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 im=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 sm={[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()),fe={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.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
373
373
|
}
|
|
374
374
|
|
|
375
375
|
:host {
|
|
376
|
-
width: ${
|
|
377
|
-
height: ${
|
|
376
|
+
width: ${fe.size};
|
|
377
|
+
height: ${fe.size};
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
i.ft-icon {
|
|
381
381
|
width: 100%;
|
|
382
382
|
height: 100%;
|
|
383
|
-
font-size: ${
|
|
383
|
+
font-size: ${fe.size};
|
|
384
384
|
line-height: 1;
|
|
385
385
|
font-weight: normal;
|
|
386
386
|
text-transform: none;
|
|
@@ -391,33 +391,33 @@ Also for action icons.`,s.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: ${fe.verticalAlign};
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
i.ft-icon.ft-icon--fluid-topics {
|
|
398
|
-
font-family: ${
|
|
398
|
+
font-family: ${fe.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 * ${fe.size});
|
|
402
|
+
line-height: ${fe.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: ${fe.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
410
410
|
}
|
|
411
411
|
|
|
412
412
|
.ft-icon--material {
|
|
413
|
-
font-family: ${
|
|
413
|
+
font-family: ${fe.materialFontFamily}, "Material Icons", sans-serif;
|
|
414
414
|
}
|
|
415
|
-
`,ke.noTextSelect];var Re;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Re||(Re={}));var
|
|
415
|
+
`,ke.noTextSelect];var Re;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Re||(Re={}));var Cr=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=Or.nothing}render(){let r=this.variant&&Object.values(Re).includes(this.variant)?this.variant:Re.fluid_topics,o=r!==Re.material||!!this.value;return Or.html`
|
|
416
416
|
<i class="ft-icon ft-icon--${r} ft-no-text-select" part="icon icon-${r}">
|
|
417
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 Re.file_format:this.resolvedIcon=(r=A[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break;case Re.material:this.resolvedIcon=this.value||
|
|
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||Or.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;Cr([(0,yt.property)()],ne.prototype,"variant",void 0);Cr([(0,yt.property)()],ne.prototype,"value",void 0);Cr([(0,yt.property)({reflect:!0,attribute:"aria-hidden"})],ne.prototype,"ariaHidden",void 0);Cr([(0,yt.state)()],ne.prototype,"resolvedIcon",void 0);Cr([(0,yt.query)("slot")],ne.prototype,"slottedContent",void 0);(0,Oi.customElement)("ft-icon")(ne);var Er={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.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
430
430
|
text-decoration: none;
|
|
431
431
|
display: flex;
|
|
432
432
|
align-items: baseline;
|
|
433
|
-
color: ${
|
|
433
|
+
color: ${Er.color};
|
|
434
434
|
}
|
|
435
435
|
|
|
436
436
|
.ftds-input-helper-text--list-item.error {
|
|
437
|
-
color: ${
|
|
437
|
+
color: ${Er.errorColor};
|
|
438
438
|
}
|
|
439
439
|
|
|
440
440
|
.ftds-input-helper-text--list-item.warning {
|
|
441
|
-
color: ${
|
|
441
|
+
color: ${Er.warningColor};
|
|
442
442
|
}
|
|
443
443
|
|
|
444
444
|
.ftds-input-helper-text--list-item.hasIcon ft-typography {
|
|
445
|
-
padding-left: calc(${
|
|
445
|
+
padding-left: calc(${Er.iconHorizontalGap} - 2px);
|
|
446
446
|
}
|
|
447
447
|
|
|
448
448
|
.ftds-input-helper-text--list-item.hasIcon {
|
|
@@ -450,9 +450,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
450
450
|
}
|
|
451
451
|
|
|
452
452
|
ft-icon {
|
|
453
|
-
${(0,De.setVariable)(
|
|
453
|
+
${(0,De.setVariable)(fe.size,Er.iconSize)};
|
|
454
454
|
}
|
|
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},
|
|
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},Oe=class extends tt.FtLitElement{constructor(){super(...arguments),this.errorMessages=[],this.warningMessages=[],this.ariaHidden="true"}render(){return Jr.html`
|
|
456
456
|
<ul class="ftds-input-helper-text">
|
|
457
457
|
${(0,nn.repeat)(this.errorMessages,r=>this.renderMessage(r,tt.Status.error))}
|
|
458
458
|
${(0,nn.repeat)(this.warningMessages,r=>this.renderMessage(r,tt.Status.warning))}
|
|
@@ -464,15 +464,15 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
464
464
|
<ft-icon class="icon" value="${n}" part="icon"></ft-icon>`)}
|
|
465
465
|
<ft-typography part="text" variant="${je.caption1medium}">${r}</ft-typography>
|
|
466
466
|
</li>
|
|
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}}};
|
|
468
|
-
`;var Ao=b(P());var
|
|
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)),o&&await this.notify(r)}catch(a){!(a instanceof Ke.CanceledPromiseError)&&o&&console.error(a)}return 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`
|
|
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}}};Oe.elementDefinitions={"ft-typography":Ae,"ft-icon":ne};Oe.styles=Ei;Qr([(0,wr.property)()],Oe.prototype,"helperText",void 0);Qr([(0,wr.property)({type:Array})],Oe.prototype,"errorMessages",void 0);Qr([(0,wr.property)({type:Array})],Oe.prototype,"warningMessages",void 0);Qr([(0,wr.property)({reflect:!0,attribute:"aria-hidden"})],Oe.prototype,"ariaHidden",void 0);(0,Ii.customElement)("ftds-input-helper-text")(Oe);var gl=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 dl=b(P());var gs=b(H()),he=b(ee()),Be=b(P());var Ti=b(H());var Pi=Ti.css`
|
|
469
|
+
`;var eo=b(P()),Bc="ft-app-info",kt=class e extends CustomEvent{constructor(r){super(e.eventName,{detail:r})}};kt.eventName="authentication-change";var $c={session:(e,r)=>{(0,eo.deepEqual)(e.session,r.payload)||(e.session=r.payload,setTimeout(()=>_.dispatchEvent(new kt(r.payload)),0))}},_=eo.FtReduxStore.get({name:Bc,reducers:$c,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var an=b(P());var Dt=class e{static get(r){let{baseUrl:o,apiIntegrationIdentifier:n}=_.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=_.subscribe(()=>{n=e.get(r),n&&(a(),o(n))})}})}};var to=class{constructor(r){this.overrideApi=r}get api(){var r;return(r=this.overrideApi)!==null&&r!==void 0?r:Dt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Dt.await()}};var rt=class extends to{constructor(r=!0,o){var n;super(o),this.sortObjectFields=(i,l)=>typeof l!="object"||l==null||Array.isArray(l)?l:Object.fromEntries(Object.entries(l).sort(([d],[p])=>d.localeCompare(p)));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()}hash(r){return String(Array.from(JSON.stringify(r,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var ro=class extends rt{async listMyBookmarks(){let r=_.getState().session;return r?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(r.profile.userId),5*60*1e3):[]}};var sn=class{addCommand(r,o=!1){_.commands.add(r,o)}consumeCommand(r){return _.commands.consume(r)}};window.FluidTopicsAppInfoStoreService=new sn;var Ke=b(P());var _i,Mc=Symbol("clearAfterUnitTest"),oo=class extends rt{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=_.getState().uiLocale,_.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:r}=_.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)),o&&await this.notify(r)}catch(a){!(a instanceof Ke.CanceledPromiseError)&&o&&console.error(a)}return 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=Mc;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends oo{constructor(){super(async(e,r)=>(await this.awaitApi).getFluidTopicsMessageContext(e,r))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends oo{constructor(){super(async(e,r)=>(await this.awaitApi).getCustomMessageContext(e,r))}});var rr=window.FluidTopicsI18nService,no=window.FluidTopicsCustomI18nService;var ki=b(P()),ln=class{highlightHtml(r,o,n){(0,ki.highlightHtml)(r,o,n)}};window.FluidTopicsHighlightHtmlService=new ln;var zc=b(Bi(),1);var $i;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})($i||($i={}));var Mi;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Mi||(Mi={}));var Ui;(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"})(Ui||(Ui={}));var zi;(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"})(zi||(zi={}));var Fi;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Fi||(Fi={}));var Hi;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Hi||(Hi={}));var Wi;(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"})(Wi||(Wi={}));var Gi;(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"})(Gi||(Gi={}));var ji;(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"})(ji||(ji={}));var Vi;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Vi||(Vi={}));var Ki;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Ki||(Ki={}));var Zi;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Zi||(Zi={}));var qi;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(qi||(qi={}));var Yi;(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"})(Yi||(Yi={}));var Xi;(function(e){e.ASC="ASC",e.DESC="DESC"})(Xi||(Xi={}));var Ji;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Ji||(Ji={}));var Qi;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Qi||(Qi={}));var es;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(es||(es={}));var ts;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(ts||(ts={}));var rs;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(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.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(ns||(ns={}));var as;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(as||(as={}));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 is;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(is||(is={}));var ss;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(ss||(ss={}));var ls;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(ls||(ls={}));var cs;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(cs||(cs={}));var Uc={[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 ds(e,r){return e===r||(Uc[e]??[]).some(o=>ds(o,r))}function ps(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=>ds(n,r))}var so=class extends rt{async listMySearches(){let{session:r}=_.getState();return ps(r,ae.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(r.profile.userId),5*60*1e3):[]}};var us=b(P());var cn=class{isDate(r){var o,n,a,i;return(i=(a=((n=(o=_.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 us.DateFormatter.format(r,(n=o?.locale)!==null&&n!==void 0?n:_.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new cn;var fs=b(P());var Ar=class{static get(r,o){var n,a,i,l;let 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 fs.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 dn=class{urlToSearchRequest(r){return Ar.get().parse(r)}searchRequestToUrl(r){return Ar.get().serialize(r)}};window.FluidTopicsUrlService=new dn;var gt=b(P());var Bt=class e extends CustomEvent{constructor(r){super(e.eventName,{detail:{currentItem:r}})}};Bt.eventName="change";var pn=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))}},hs=new pn;var lo=class e extends gt.WithEventBus{static build(){return new e(window.history,hs,()=>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,gt.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Bt(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(Bt.eventName,r)}removeHistoryChangeListener(r){this.removeEventListener(Bt.eventName,r)}currentItem(){return(0,gt.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,gt.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,gt.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=lo.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var ys=_;function ms(e,r){var o;return ys.getState().authenticationRequired&&!(!((o=ys.getState().session)===null||o===void 0)&&o.sessionAuthenticated)?Promise.resolve(r):e()}var ie=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},K=class extends Be.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Dt.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Be.CacheRegistry,this.cleanSessionDebouncer=new Be.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return gs.html`
|
|
470
470
|
<slot></slot>
|
|
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`
|
|
471
|
+
`}connectedCallback(){super.connectedCallback(),_.addEventListener(kt.eventName,this.reloadConfiguration)}disconnectedCallback(){_.addEventListener(kt.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(r){var o,n,a,i,l,d,p;super.update(r),r.has("baseUrl")&&(_.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),r.has("apiIntegrationIdentifier")&&_.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),r.has("apiIntegrationAppVersion")&&_.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),r.has("uiLocale")&&_.actions.uiLocale(this.uiLocale),r.has("metadataConfiguration")&&_.actions.metadataConfiguration(this.metadataConfiguration),r.has("noCustom")&&_.actions.noCustom(this.noCustom),r.has("editorMode")&&_.actions.editorMode(this.editorMode),r.has("noCustomComponent")&&_.actions.noCustomComponent(this.noCustomComponent),r.has("session")&&_.actions.session(this.session),r.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>rr.addContext(u)),r.has("openExternalDocumentInNewTab")&&_.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),r.has("navigatorOnline")&&_.actions.navigatorOnline(this.navigatorOnline),r.has("forcedOffline")&&_.actions.forcedOffline(this.forcedOffline),r.has("localesConfiguration")&&(_.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),_.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),_.actions.searchInAllLanguagesAllowed((l=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&l!==void 0?l:!1)),r.has("authenticationRequired")&&_.actions.authenticationRequired(this.authenticationRequired),r.has("availableContentLocales")&&_.actions.availableContentLocales((p=(d=this.availableContentLocales)===null||d===void 0?void 0:d.contentLocales)!==null&&p!==void 0?p:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let 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())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>ms(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};K.elementDefinitions={};K.styles=Pi;ie([(0,he.property)()],K.prototype,"baseUrl",void 0);ie([(0,he.property)()],K.prototype,"apiIntegrationIdentifier",void 0);ie([(0,he.property)()],K.prototype,"apiIntegrationAppVersion",void 0);ie([(0,he.property)()],K.prototype,"uiLocale",void 0);ie([(0,Be.jsonProperty)(null)],K.prototype,"availableUiLocales",void 0);ie([(0,Be.jsonProperty)(null)],K.prototype,"metadataConfiguration",void 0);ie([(0,he.property)({type:Boolean})],K.prototype,"editorMode",void 0);ie([(0,he.property)({type:Boolean})],K.prototype,"noCustom",void 0);ie([(0,he.property)({type:Boolean})],K.prototype,"openExternalDocumentInNewTab",void 0);ie([(0,he.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],K.prototype,"noCustomComponent",void 0);ie([(0,he.property)({type:Boolean})],K.prototype,"withManualResources",void 0);ie([(0,he.property)({type:Boolean})],K.prototype,"navigatorOnline",void 0);ie([(0,he.property)({type:Boolean})],K.prototype,"forcedOffline",void 0);ie([(0,he.property)({type:Object})],K.prototype,"apiProvider",void 0);ie([(0,he.property)({type:Boolean})],K.prototype,"authenticationRequired",void 0);ie([(0,Be.jsonProperty)([])],K.prototype,"messageContexts",void 0);ie([(0,Be.jsonProperty)(void 0)],K.prototype,"session",void 0);ie([(0,he.state)()],K.prototype,"localesConfiguration",void 0);ie([(0,he.state)()],K.prototype,"availableContentLocales",void 0);var Rd=b(ee());function Fc(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(!co(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(!co(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(!co(e[l],r[l]))return!1}return!0}return e!==e&&r!==r||e==null&&r==null}function co(e,r){try{return Fc(e,r)}catch{return!1}}function po(e,r){return!co(e,r)}var Hc=b(ee(),1);var uo=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 nr=b(ee(),1);var bs=b(ee(),1);function xs(e,r){let o=()=>JSON.parse(JSON.stringify(e));return(0,bs.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:po,...r??{}})}var fo=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 Ss=b(H(),1);var ho=globalThis,Wc=ho.ShadowRoot&&(ho.ShadyCSS===void 0||ho.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ib=Symbol();var vs=(e,r)=>{if(Wc)e.adoptedStyleSheets=r.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of r){let n=document.createElement("style"),a=ho.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var yo=class extends Ss.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 vs(n,r.elementStyles),n}};function Os(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 Rr=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},As,Cs=Symbol("constructorPrototype"),Es=Symbol("constructorName"),Rs=Symbol("exportpartsDebouncer"),ws=Symbol("dynamicDependenciesLoaded"),ot=class extends yo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[As]=new fo(5),this[Es]=this.constructor.name,this[Cs]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Es]&&Object.setPrototypeOf(this,this[Cs])}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[ws]||(r[ws]=!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=Os(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[Rs].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(", "))}};As=Rs;Rr([(0,nr.property)()],ot.prototype,"exportpartsPrefix",void 0);Rr([xs([])],ot.prototype,"exportpartsPrefixes",void 0);Rr([(0,nr.property)()],ot.prototype,"customStylesheet",void 0);Rr([(0,nr.property)()],ot.prototype,"elementToFocus",void 0);Rr([(0,nr.state)()],ot.prototype,"useAdoptedStyleSheets",void 0);function Ir(e){var r;return(r=e?.isFtReduxStore)!==null&&r!==void 0?r:!1}var Is,Ns,Ls,Nr=Symbol("internalReduxEventsUnsubscribers"),bt=Symbol("internalStoresUnsubscribers"),$t=Symbol("internalStores"),Lr=class extends ot{constructor(){super(...arguments),this[Is]=new Map,this[Ns]=new Map,this[Ls]=new Map}get reduxConstructor(){return this.constructor}willUpdate(r){super.willUpdate(r),[...this.reduxConstructor.reduxReactiveProperties].some(o=>r.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[$t].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[$t].values()][0]}getStore(r){return r==null?this.getUnnamedStore():this[$t].get(r)}addStore(r,o){var n;o=(n=o??(Ir(r)?r.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[$t].set(o,r),this.subscribeToStore(o,r),this.updateFromStores()}removeStore(r){let o=typeof r=="string"?r:r.name;this.unsubscribeFromStore(o),this[$t].delete(o)}setupStores(){this.unsubscribeFromStores(),this[$t].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[bt].has(r.store):this[bt].size>0)&&(this[o]=r.selector(a.getState(),this))}})}subscribeToStore(r,o){var n;this[bt].set(r,o.subscribe(()=>this.updateFromStores())),this[Nr].set(r,[]),Ir(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[Nr].get(r).push(()=>o.removeEventListener(a.eventName,l))}})),this.onStoreAvailable(r)}unsubscribeFromStores(){this[bt].forEach((r,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(r){var o;this[bt].has(r)&&this[bt].get(r)(),this[bt].delete(r),(o=this[Nr].get(r))===null||o===void 0||o.forEach(n=>n()),this[Nr].delete(r)}onStoreAvailable(r){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Is=bt,Ns=$t,Ls=Nr;Lr.reduxProperties=new Map;Lr.reduxReactiveProperties=new Set;Lr.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 nt(e){return!!e&&!!e[Z]}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)===Xc}(e)||Array.isArray(e)||!!e[$s]||!!(!((r=e.constructor)===null||r===void 0)&&r[$s])||vn(e)||Sn(e))}function Mt(e,r,o){o===void 0&&(o=!1),sr(e)===0?(o?Object.keys:ir)(e).forEach(function(n){o&&typeof n=="symbol"||r(n,e[n],e)}):e.forEach(function(n,a){return r(a,n,e)})}function sr(e){var r=e[Z];return r?r.i>3?r.i-4:r.i:Array.isArray(e)?1:vn(e)?2:Sn(e)?3:0}function ar(e,r){return sr(e)===2?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function Gc(e,r){return sr(e)===2?e.get(r):e[r]}function Ms(e,r,o){var n=sr(e);n===2?e.set(r,o):n===3?e.add(o):e[r]=o}function Us(e,r){return e===r?e!==0||1/e==1/r:e!=e&&r!=r}function vn(e){return qc&&e instanceof Map}function Sn(e){return Yc&&e instanceof Set}function xt(e){return e.o||e.t}function On(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var r=Hs(e);delete r[Z];for(var o=ir(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 Cn(e,r){return r===void 0&&(r=!1),En(e)||nt(e)||!$e(e)||(sr(e)>1&&(e.set=e.add=e.clear=e.delete=jc),Object.freeze(e),r&&Mt(e,function(o,n){return Cn(n,!0)},!0)),e}function jc(){Te(2)}function En(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ze(e){var r=xn[e];return r||Te(18,e),r}function Vc(e,r){xn[e]||(xn[e]=r)}function mn(){return Pr}function un(e,r){r&&(Ze("Patches"),e.u=[],e.s=[],e.v=r)}function mo(e){gn(e),e.p.forEach(Kc),e.p=null}function gn(e){e===Pr&&(Pr=e.l)}function Ts(e){return Pr={p:[],l:Pr,h:e,m:!0,_:0}}function Kc(e){var r=e[Z];r.i===0||r.i===1?r.j():r.g=!0}function fn(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[Z].P&&(mo(r),Te(4)),$e(e)&&(e=go(r,e),r.l||bo(r,e)),r.u&&Ze("Patches").M(o[Z].t,e,r.u,r.s)):e=go(r,o,[]),mo(r),r.u&&r.v(r.u,r.s),e!==Fs?e:void 0}function go(e,r,o){if(En(r))return r;var n=r[Z];if(!n)return Mt(r,function(d,p){return Ps(e,n,r,d,p,o)},!0),r;if(n.A!==e)return r;if(!n.P)return bo(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=On(n.k):n.o,i=a,l=!1;n.i===3&&(i=new Set(a),a.clear(),l=!0),Mt(i,function(d,p){return Ps(e,n,a,d,p,o,l)}),bo(e,a,!1),o&&e.u&&Ze("Patches").N(n,o,e.u,e.s)}return n.o}function Ps(e,r,o,n,a,i,l){if(nt(a)){var d=go(e,a,i&&r&&r.i!==3&&!ar(r.R,n)?i.concat(n):void 0);if(Ms(o,n,d),!nt(d))return;e.m=!1}else l&&o.add(a);if($e(a)&&!En(a)){if(!e.h.D&&e._<1)return;go(e,a),r&&r.A.l||bo(e,a)}}function bo(e,r,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Cn(r,o)}function hn(e,r){var o=e[Z];return(o?xt(o):e)[r]}function _s(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 vt(e){e.P||(e.P=!0,e.l&&vt(e.l))}function yn(e){e.o||(e.o=On(e.t))}function bn(e,r,o){var n=vn(r)?Ze("MapSet").F(r,o):Sn(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:mn(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=d,u=_r;l&&(p=[d],u=Tr);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:mn()).p.push(n),n}function Zc(e){return nt(e)||Te(22,e),function r(o){if(!$e(o))return o;var n,a=o[Z],i=sr(o);if(a){if(!a.P&&(a.i<4||!Ze("ES5").K(a)))return a.t;a.I=!0,n=ks(o,i),a.I=!1}else n=ks(o,i);return Mt(n,function(l,d){a&&Gc(a.t,l)===d||Ms(n,l,r(d))}),i===3?new Set(n):n}(e)}function ks(e,r){switch(r){case 2:return new Map(e);case 3:return Array.from(e)}return On(e)}function zs(){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[Z];return _r.get(u,l)},set:function(u){var m=this[Z];_r.set(m,l,u)}},p}function r(l){for(var d=l.length-1;d>=0;d--){var p=l[d][Z];if(!p.P)switch(p.i){case 5:n(p)&&vt(p);break;case 4:o(p)&&vt(p)}}}function o(l){for(var d=l.t,p=l.k,u=ir(p),m=u.length-1;m>=0;m--){var y=u[m];if(y!==Z){var g=d[y];if(g===void 0&&!ar(d,y))return!0;var S=p[y],v=S&&S[Z];if(v?v.t!==g:!Us(S,g))return!0}}var C=!!d[Z];return u.length!==ir(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(xt(l)))}var i={};Vc("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=Hs(g);delete C[Z];for(var L=ir(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:mn(),P:!1,I:!1,R:{},l:d,t:l,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,Z,{value:m,writable:!0}),u},S:function(l,d,p){p?nt(d)&&d[Z].A===l&&r(l.p):(l.u&&function u(m){if(m&&typeof m=="object"){var y=m[Z];if(y){var g=y.t,S=y.k,v=y.R,C=y.i;if(C===4)Mt(S,function(M){M!==Z&&(g[M]!==void 0||ar(g,M)?v[M]||u(S[M]):(v[M]=!0,vt(y)))}),Mt(g,function(M){S[M]!==void 0||ar(S,M)||(v[M]=!1,vt(y))});else if(C===5){if(n(y)&&(vt(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 Ds,Pr,wn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",qc=typeof Map<"u",Yc=typeof Set<"u",Bs=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Fs=wn?Symbol.for("immer-nothing"):((Ds={})["immer-nothing"]=!0,Ds),$s=wn?Symbol.for("immer-draftable"):"__$immer_draftable",Z=wn?Symbol.for("immer-state"):"__$immer_state";var Xc=""+Object.prototype.constructor,ir=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Hs=Object.getOwnPropertyDescriptors||function(e){var r={};return ir(e).forEach(function(o){r[o]=Object.getOwnPropertyDescriptor(e,o)}),r},xn={},_r={get:function(e,r){if(r===Z)return e;var o=xt(e);if(!ar(o,r))return function(a,i,l){var d,p=_s(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===hn(e.t,r)?(yn(e),e.o[r]=bn(e.A.h,n,e)):n},has:function(e,r){return r in xt(e)},ownKeys:function(e){return Reflect.ownKeys(xt(e))},set:function(e,r,o){var n=_s(xt(e),r);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=hn(xt(e),r),i=a?.[Z];if(i&&i.t===o)return e.o[r]=o,e.R[r]=!1,!0;if(Us(o,a)&&(o!==void 0||ar(e.t,r)))return!0;yn(e),vt(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 hn(e.t,r)!==void 0||r in e.t?(e.R[r]=!1,yn(e),vt(e)):delete e.R[r],e.o&&delete e.o[r],!0},getOwnPropertyDescriptor:function(e,r){var o=xt(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)}},Tr={};Mt(_r,function(e,r){Tr[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}}),Tr.deleteProperty=function(e,r){return Tr.set.call(this,e,r,void 0)},Tr.set=function(e,r,o){return _r.set.call(this,e[0],r,o,e[0])};var Jc=function(){function e(o){var n=this;this.O=Bs,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=Ts(n),y=bn(n,a,void 0),g=!0;try{u=i(y),g=!1}finally{g?mo(m):gn(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(C){return un(m,l),fn(C,m)},function(C){throw mo(m),C}):(un(m,l),fn(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===Fs&&(u=void 0),n.D&&Cn(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),nt(o)&&(o=Zc(o));var n=Ts(this),a=bn(this,o,void 0);return a[Z].C=!0,gn(n),a},r.finishDraft=function(o,n){var a=o&&o[Z],i=a.A;return un(i,n),fn(void 0,i)},r.setAutoFreeze=function(o){this.D=o},r.setUseProxies=function(o){o&&!Bs&&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 nt(o)?l(o,n):this.produce(o,function(d){return l(d,n)})},e}(),Ie=new Jc,Qc=Ie.produce,vb=Ie.produceWithPatches.bind(Ie),Sb=Ie.setAutoFreeze.bind(Ie),Ob=Ie.setUseProxies.bind(Ie),Cb=Ie.applyPatches.bind(Ie),Eb=Ie.createDraft.bind(Ie),wb=Ie.finishDraft.bind(Ie),xo=Qc;function Ut(e){"@babel/helpers - typeof";return Ut=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},Ut(e)}function Ws(e,r){if(Ut(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,r||"default");if(Ut(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function Gs(e){var r=Ws(e,"string");return Ut(r)=="symbol"?r:r+""}function js(e,r,o){return(r=Gs(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}function Vs(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 An(e){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{};r%2?Vs(Object(o),!0).forEach(function(n){js(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Vs(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function xe(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 Ks=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Rn=function(){return Math.random().toString(36).substring(7).split("").join(".")},vo={INIT:"@@redux/INIT"+Rn(),REPLACE:"@@redux/REPLACE"+Rn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Rn()}};function ed(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 In(e,r,o){var n;if(typeof r=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(xe(0));if(typeof r=="function"&&typeof o>"u"&&(o=r,r=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(xe(1));return o(In)(e,r)}if(typeof e!="function")throw new Error(xe(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(xe(3));return i}function y(C){if(typeof C!="function")throw new Error(xe(4));if(p)throw new Error(xe(5));var L=!0;return u(),d.push(C),function(){if(L){if(p)throw new Error(xe(6));L=!1,u();var N=d.indexOf(C);d.splice(N,1),l=null}}}function g(C){if(!ed(C))throw new Error(xe(7));if(typeof C.type>"u")throw new Error(xe(8));if(p)throw new Error(xe(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(xe(10));a=C,g({type:vo.REPLACE})}function v(){var C,L=y;return C={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(xe(11));function B(){N.next&&N.next(m())}B();var M=L(B);return{unsubscribe:M}}},C[Ks]=function(){return this},C}return g({type:vo.INIT}),n={dispatch:g,subscribe:y,getState:m,replaceReducer:S},n[Ks]=v,n}function td(e){Object.keys(e).forEach(function(r){var o=e[r],n=o(void 0,{type:vo.INIT});if(typeof n>"u")throw new Error(xe(12));if(typeof o(void 0,{type:vo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(xe(13))})}function Zs(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{td(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(xe(14))}S[C]=N,g=g||N!==I}return g=g||i.length!==Object.keys(u).length,g?S:u}}function lr(){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 qs(){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(xe(15))},l={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},d=r.map(function(p){return p(l)});return i=lr.apply(void 0,d)(a.dispatch),An(An({},a),{},{dispatch:i})}}}function Ys(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 Xs=Ys();Xs.withExtraArgument=Ys;var Nn=Xs;var rl=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)}}(),rd=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}}},cr=function(e,r){for(var o=0,n=r.length,a=e.length;o<n;o++,a++)e[a]=r[o];return e},od=Object.defineProperty,nd=Object.defineProperties,ad=Object.getOwnPropertyDescriptors,Js=Object.getOwnPropertySymbols,id=Object.prototype.hasOwnProperty,sd=Object.prototype.propertyIsEnumerable,Qs=function(e,r,o){return r in e?od(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o},St=function(e,r){for(var o in r||(r={}))id.call(r,o)&&Qs(e,o,r[o]);if(Js)for(var n=0,a=Js(r);n<a.length;n++){var o=a[n];sd.call(r,o)&&Qs(e,o,r[o])}return e},Ln=function(e,r){return nd(e,ad(r))},ld=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 cd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?lr:lr.apply(null,arguments)},Wb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function dd(e){if(typeof e!="object"||e===null)return!1;var 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 pd=function(e){rl(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,cr([void 0],o[0].concat(this)))):new(r.bind.apply(r,cr([void 0],o.concat(this))))},r}(Array),ud=function(e){rl(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,cr([void 0],o[0].concat(this)))):new(r.bind.apply(r,cr([void 0],o.concat(this))))},r}(Array);function _n(e){return $e(e)?xo(e,function(){}):e}function fd(e){return typeof e=="boolean"}function hd(){return function(r){return yd(r)}}function yd(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 pd;if(o&&(fd(o)?d.push(Nn):d.push(Nn.withExtraArgument(o.extraArgument))),0){if(a)var p;if(l)var u}return d}var Tn=!0;function ol(e){var r=hd(),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(dd(a))S=Zs(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),!Tn&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Tn&&v.some(function(M){return typeof M!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=qs.apply(void 0,v),L=lr;p&&(L=cd(St({trace:!Tn},typeof p=="object"&&p)));var I=new ud(C),N=I;Array.isArray(g)?N=cr([C],g):typeof g=="function"&&(N=g(I));var B=L.apply(void 0,N);return In(S,m,B)}function Ot(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 St(St({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 nl(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 md(e){return typeof e=="function"}function gd(e,r,o,n){o===void 0&&(o=[]);var a=typeof r=="function"?nl(r):[r,o,n],i=a[0],l=a[1],d=a[2],p;if(md(e))p=function(){return _n(e())};else{var u=_n(e);p=function(){return u}}function m(y,g){y===void 0&&(y=p());var S=cr([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(nt(v)){var L=v,I=C(L,g);return I===void 0?v:I}else{if($e(v))return xo(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 bd(e,r){return e+"/"+r}function al(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:_n(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},l={},d={};a.forEach(function(m){var y=n[m],g=bd(r,m),S,v;"reducer"in y?(S=y.reducer,v=y.prepare):S=y,i[m]=S,l[g]=S,d[m]=v?Ot(g,v):Ot(g)});function p(){var m=typeof e.extraReducers=="function"?nl(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=St(St({},g),l);return gd(o,function(N){for(var B in I)N.addCase(B,I[B]);for(var M=0,U=v;M<U.length;M++){var Se=U[M];N.addMatcher(Se.matcher,Se.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 xd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",vd=function(e){e===void 0&&(e=21);for(var r="",o=e;o--;)r+=xd[Math.random()*64|0];return r},Sd=["name","message","stack","code"],Pn=function(){function e(r,o){this.payload=r,this.meta=o}return e}(),el=function(){function e(r,o){this.payload=r,this.meta=o}return e}(),Od=function(e){if(typeof e=="object"&&e!==null){for(var r={},o=0,n=Sd;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(r[a]=e[a])}return r}return{message:String(e)}},Kb=function(){function e(r,o,n){var a=Ot(r+"/fulfilled",function(m,y,g,S){return{payload:m,meta:Ln(St({},S||{}),{arg:g,requestId:y,requestStatus:"fulfilled"})}}),i=Ot(r+"/pending",function(m,y,g){return{payload:void 0,meta:Ln(St({},g||{}),{arg:y,requestId:m,requestStatus:"pending"})}}),l=Ot(r+"/rejected",function(m,y,g,S,v){return{payload:S,error:(n&&n.serializeError||Od)(m||"Rejected"),meta:Ln(St({},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):vd(),C=new p,L,I=!1;function N(M){L=M,C.abort()}var B=function(){return ld(this,null,function(){var M,U,Se,Fe,ve,He,pe;return rd(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}),Ed(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,ve=new Promise(function(x,D){return C.signal.addEventListener("abort",function(){return D({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([ve,Promise.resolve(o(m,{dispatch:y,getState:g,extra:S,requestId:v,signal:C.signal,abort:N,rejectWithValue:function(x,D){return new Pn(x,D)},fulfillWithValue:function(x,D){return new el(x,D)}})).then(function(x){if(x instanceof Pn)throw x;return x instanceof el?a(x.payload,v,m,x.meta):a(x,v,m)})])];case 3:return Se=h.sent(),[3,5];case 4:return He=h.sent(),Se=He instanceof Pn?l(null,v,m,He.payload,He.meta):l(He,v,m),[3,5];case 5:return pe=n&&!n.dispatchConditionRejection&&l.match(Se)&&Se.meta.condition,pe||y(Se),[2,Se]}})})}();return Object.assign(B,{abort:N,requestId:v,arg:m,unwrap:function(){return B.then(Cd)}})}}return Object.assign(u,{pending:i,rejected:l,fulfilled:a,typePrefix:r})}return e.withTypes=function(){return e},e}();function Cd(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Ed(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var il="listener",sl="completed",ll="cancelled",Zb="task-"+ll,qb="task-"+sl,Yb=il+"-"+ll,Xb=il+"-"+sl;var kn="listenerMiddleware";var Jb=Ot(kn+"/add"),Qb=Ot(kn+"/removeAll"),ex=Ot(kn+"/remove");var tl,tx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(tl||(tl=Promise.resolve())).then(e).catch(function(r){return setTimeout(function(){throw r},0)})},wd=function(e){return function(r){setTimeout(r,e)}},rx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:wd(10);zs();function Ad(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 So=class extends Ad(Object){};window.ftReduxStores||(window.ftReduxStores={});var cl=class e extends So{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(Ir(i))return i;if(a==null)return;let l=al({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),d=ol({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 uo;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 Co=b(P());var Id="ft-user-assets",Oo=Co.FtReduxStore.get({name:Id,initialState:{savedSearches:void 0,bookmarks:void 0}}),Dn=class{constructor(){this.currentSession=_.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ro,this.savedSearchesService=new so,_.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var r;let{session:o}=_.getState();(0,Co.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(),Oo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Oo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let r=await this.savedSearchesService.listMySearches();Oo.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;Oo.actions.bookmarks(o)}}},Tx=new Dn;(0,dl.customElement)("ft-app-context")(K);var yl=b(ee());var Nd=b(P());function pl(e){return e.match(/^[\w-]+\.[\w-]+$/)}var Ld=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},ul=Symbol("i18nAttributes"),fl=Symbol("i18nListAttributes"),ml=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?no:rr}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(pl(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[ul])===null||l===void 0||l.forEach((m,y)=>p[y]=u(m,y,p[y])),(d=this[fl])===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[ml])===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,Ld([(0,yl.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var hl=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(_)}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:""})}};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?
|
|
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?no:rr}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,gl.customElement)("ft-i18n")(Me);var dr=To.build("textInput"),bl={hidePassword:"Hide password",showPassword:"Show password",invalidEmail:"Invalid email format.",invalidUrl:"Invalid URL format."};var Kl=b(P());var Vl=b(H()),se=b(ee()),zr=b(P());var xl=b(H()),at=b(P()),pr={distance:at.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:at.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:at.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:at.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:at.FtCssVariableFactory.external(at.designSystemVariables.borderRadiusS,"Design system"),maxWidth:at.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},vl=xl.css`
|
|
476
476
|
.ft-tooltip--container {
|
|
477
477
|
display: block;
|
|
478
478
|
}
|
|
@@ -487,21 +487,21 @@ Also for action icons.`,s.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: ${pr.maxWidth};
|
|
491
491
|
text-align: center;
|
|
492
|
-
padding: ${
|
|
493
|
-
z-index: ${
|
|
492
|
+
padding: ${pr.distance};
|
|
493
|
+
z-index: ${pr.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: ${pr.borderRadiusS};
|
|
499
|
+
background-color: ${pr.backgroundColor};
|
|
500
|
+
color: ${pr.color};
|
|
501
501
|
position: relative;
|
|
502
502
|
word-break: break-word;
|
|
503
503
|
}
|
|
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`
|
|
504
|
+
`;var Ol=["top","right","bottom","left"],Sl=["start","end"],$n=Ol.reduce((e,r)=>e.concat(r,r+"-"+Sl[0],r+"-"+Sl[1]),[]),Cl=Math.min,El=Math.max;var Td={left:"right",right:"left",bottom:"top",top:"bottom"},Pd={start:"end",end:"start"};function Mn(e,r,o){return El(e,Cl(r,o))}function Po(e,r){return typeof e=="function"?e(r):e}function ur(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(ur(e))?"y":"x"}function Fn(e){return Un(_o(e))}function wl(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 Al(e){return e.replace(/start|end/g,r=>Pd[r])}function Bn(e){return e.replace(/left|right|bottom|top/g,r=>Td[r])}function _d(e){return{top:0,right:0,bottom:0,left:0,...e}}function Rl(e){return typeof e!="number"?_d(e):{top:e,right:e,bottom:e,left:e}}function zt(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 Il(e,r,o){let{reference:n,floating:a}=e,i=_o(r),l=Fn(r),d=zn(l),p=ur(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 Nl=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}=Il(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}=Il(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=Rl(S),L=d[g?y==="floating"?"reference":"floating":y],I=zt(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=zt(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 kd(e,r,o){return(e?[...o.filter(a=>Ct(a)===e),...o.filter(a=>Ct(a)!==e)]:o.filter(a=>ur(a)===a)).filter(a=>e?Ct(a)===e||(r?Al(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?kd(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=wl(N,i,await(p.isRTL==null?void 0:p.isRTL(u.floating)));if(d!==N)return{reset:{placement:C[0]}};let M=[L[ur(N)],L[B[0]],L[B[1]]],U=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:M}],Se=C[I+1];if(Se)return{data:{index:I+1,overflows:U},reset:{placement:Se}};let Fe=U.map(pe=>{let h=Ct(pe.placement);return[pe.placement,h&&m?pe.overflows.slice(0,2).reduce((x,D)=>x+D,0):pe.overflows[0],pe.overflows]}).sort((pe,h)=>pe[1]-h[1]),He=((a=Fe.filter(pe=>pe[2].slice(0,Ct(pe[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(ur(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,fr=Math.max,Br=Math.round;var it=e=>({x:e,y:e});function st(e){return Tl(e)?(e.nodeName||"").toLowerCase():"#document"}function Ce(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function lt(e){var r;return(r=(Tl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function Tl(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 Ll(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ce(e).ShadowRoot}function hr(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 Pl(e){return["table","td","th"].includes(st(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 _l(e){let r=Ft(e);for(;Ue(r)&&!$r(r);){if(Do(r))return r;r=Ft(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(st(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 Ft(e){if(st(e)==="html")return e;let r=e.assignedSlot||e.parentNode||Ll(e)&&e.host||lt(e);return Ll(r)?r.host:r}function kl(e){let r=Ft(e);return $r(r)?e.ownerDocument?e.ownerDocument.body:e.body:Ue(r)&&hr(r)?r:kl(r)}function ko(e,r,o){var n;r===void 0&&(r=[]),o===void 0&&(o=!0);let a=kl(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),l=Ce(a);return i?r.concat(l,l.visualViewport||[],hr(a)?a:[],l.frameElement&&o?ko(l.frameElement):[]):r.concat(a,ko(a,[],o))}function $l(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 Ml(e){return qe(e)?e:e.contextElement}function yr(e){let r=Ml(e);if(!Ue(r))return it(1);let o=r.getBoundingClientRect(),{width:n,height:a,$:i}=$l(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 $d=it(0);function Ul(e){let r=Ce(e);return!Bo()||!r.visualViewport?$d:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function Md(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=Ml(e),l=it(1);r&&(n?qe(n)&&(l=yr(n)):l=yr(e));let d=Md(i,o,n)?Ul(i):it(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=yr(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 zt({width:m,height:y,x:p,y:u})}function Ud(e){let{rect:r,offsetParent:o,strategy:n}=e,a=Ue(o),i=lt(o);if(o===i)return r;let l={scrollLeft:0,scrollTop:0},d=it(1),p=it(0);if((a||!a&&n!=="fixed")&&((st(o)!=="body"||hr(i))&&(l=Mr(o)),Ue(o))){let u=Ur(o);d=yr(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 zd(e){return Array.from(e.getClientRects())}function zl(e){return Ur(lt(e)).left+Mr(e).scrollLeft}function Fd(e){let r=lt(e),o=Mr(e),n=e.ownerDocument.body,a=fr(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth),i=fr(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight),l=-o.scrollLeft+zl(e),d=-o.scrollTop;return Ne(n).direction==="rtl"&&(l+=fr(r.clientWidth,n.clientWidth)-a),{width:a,height:i,x:l,y:d}}function Hd(e,r){let o=Ce(e),n=lt(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 Wd(e,r){let o=Ur(e,!0,r==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,i=Ue(e)?yr(e):it(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 Dl(e,r,o){let n;if(r==="viewport")n=Hd(e,o);else if(r==="document")n=Fd(lt(e));else if(qe(r))n=Wd(r,o);else{let a=Ul(e);n={...r,x:r.x-a.x,y:r.y-a.y}}return zt(n)}function Fl(e,r){let o=Ft(e);return o===r||!qe(o)||$r(o)?!1:Ne(o).position==="fixed"||Fl(o,r)}function Gd(e,r){let o=r.get(e);if(o)return o;let n=ko(e,[],!1).filter(d=>qe(d)&&st(d)!=="body"),a=null,i=Ne(e).position==="fixed",l=i?Ft(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)||hr(l)&&!p&&Fl(e,l))?n=n.filter(m=>m!==l):a=d,l=Ft(l)}return r.set(e,n),n}function jd(e){let{element:r,boundary:o,rootBoundary:n,strategy:a}=e,l=[...o==="clippingAncestors"?Gd(r,this._c):[].concat(o),n],d=l[0],p=l.reduce((u,m)=>{let y=Dl(r,m,a);return u.top=fr(y.top,u.top),u.right=jn(y.right,u.right),u.bottom=jn(y.bottom,u.bottom),u.left=fr(y.left,u.left),u},Dl(r,d,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Vd(e){return $l(e)}function Kd(e,r,o){let n=Ue(r),a=lt(r),i=o==="fixed",l=Ur(e,!0,i,r),d={scrollLeft:0,scrollTop:0},p=it(0);if(n||!n&&!i)if((st(r)!=="body"||hr(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=zl(a));return{x:l.left+d.scrollLeft-p.x,y:l.top+d.scrollTop-p.y,width:l.width,height:l.height}}function Bl(e,r){return!Ue(e)||Ne(e).position==="fixed"?null:r?r(e):e.offsetParent}function Hl(e,r){let o=Ce(e);if(!Ue(e))return o;let n=Bl(e,r);for(;n&&Pl(n)&&Ne(n).position==="static";)n=Bl(n,r);return n&&(st(n)==="html"||st(n)==="body"&&Ne(n).position==="static"&&!Do(n))?o:n||_l(e)||o}var Zd=async function(e){let{reference:r,floating:o,strategy:n}=e,a=this.getOffsetParent||Hl,i=this.getDimensions;return{reference:Kd(r,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function qd(e){return Ne(e).direction==="rtl"}var $o={convertOffsetParentRelativeRectToViewportRelativeRect:Ud,getDocumentElement:lt,getClippingRect:jd,getOffsetParent:Hl,getElementRects:Zd,getClientRects:zd,getDimensions:Vd,getScale:yr,isElement:qe,isRTL:qd};var Wl=(e,r,o)=>{let n=new Map,a={platform:$o,...o},i={...a.platform,_c:n};return Nl(e,r,{...a,platform:i})};function Gl(e){return Yd(e)}function Vn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Yd(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 jl(e,r,o){return Wl(e,r,{platform:{...$o,getOffsetParent:n=>$o.getOffsetParent(n,Gl)},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 Vl.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.`,s.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="",jl(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=vl;Ee([(0,se.property)()],j.prototype,"text",void 0);Ee([(0,se.property)({type:Boolean})],j.prototype,"manual",void 0);Ee([(0,se.property)({type:Boolean})],j.prototype,"inline",void 0);Ee([(0,se.property)({type:Number})],j.prototype,"delay",void 0);Ee([(0,se.property)()],j.prototype,"position",void 0);Ee([(0,se.queryAssignedNodes)()],j.prototype,"slotNodes",void 0);Ee([(0,se.query)(".ft-tooltip--container")],j.prototype,"container",void 0);Ee([(0,se.query)(".ft-tooltip")],j.prototype,"tooltip",void 0);Ee([(0,se.query)(".ft-tooltip--content")],j.prototype,"tooltipContent",void 0);Ee([(0,se.state)()],j.prototype,"visible",void 0);Ee([(0,se.eventOptions)({passive:!0})],j.prototype,"onTouch",null);Ee([(0,se.eventOptions)({passive:!0})],j.prototype,"onHover",null);Ee([(0,se.eventOptions)({passive:!0})],j.prototype,"onOut",null);Ee([(0,se.eventOptions)({passive:!0})],j.prototype,"onClick",null);(0,Kl.customElement)("ft-tooltip")(j);var xc=b(P());var Wt=b(H()),Q=b(ee()),bc=b(Nt());var Pe=b(P());var Zl=b(H()),w=b(P()),k={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)},ql=Zl.css`
|
|
523
523
|
|
|
524
524
|
*:focus {
|
|
525
525
|
outline: none;
|
|
@@ -538,8 +538,8 @@ Also for action icons.`,s.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: ${k.defaultInputFontSize};
|
|
542
|
+
line-height: ${k.defaultInputLineHeight};
|
|
543
543
|
}
|
|
544
544
|
|
|
545
545
|
.ftds-input {
|
|
@@ -551,38 +551,38 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
551
551
|
}
|
|
552
552
|
|
|
553
553
|
.ftds-input.ftds--size-large {
|
|
554
|
-
--field-height: ${
|
|
555
|
-
--field-vertical-gap: ${
|
|
556
|
-
--field-horizontal-gap: ${
|
|
557
|
-
--field-horizontal-padding: ${
|
|
558
|
-
--icon-size: ${
|
|
554
|
+
--field-height: ${k.largeFieldHeight};
|
|
555
|
+
--field-vertical-gap: ${k.largeFieldVerticalGap};
|
|
556
|
+
--field-horizontal-gap: ${k.largeFieldHorizontalGap};
|
|
557
|
+
--field-horizontal-padding: ${k.largeFieldHorizontalPadding};
|
|
558
|
+
--icon-size: ${k.largeFieldIconSize};
|
|
559
559
|
}
|
|
560
560
|
|
|
561
561
|
.ftds-input.ftds--size-medium {
|
|
562
|
-
--field-height: ${
|
|
563
|
-
--field-vertical-gap: ${
|
|
564
|
-
--field-horizontal-gap: ${
|
|
565
|
-
--field-horizontal-padding: ${
|
|
566
|
-
--icon-size: ${
|
|
562
|
+
--field-height: ${k.mediumFieldHeight};
|
|
563
|
+
--field-vertical-gap: ${k.mediumFieldVerticalGap};
|
|
564
|
+
--field-horizontal-gap: ${k.mediumFieldHorizontalGap};
|
|
565
|
+
--field-horizontal-padding: ${k.mediumFieldHorizontalPadding};
|
|
566
|
+
--icon-size: ${k.mediumFieldIconSize};
|
|
567
567
|
}
|
|
568
568
|
|
|
569
569
|
.ftds-input.disabled {
|
|
570
|
-
opacity: ${
|
|
570
|
+
opacity: ${k.disabledComponentOpacity};
|
|
571
571
|
}
|
|
572
572
|
|
|
573
573
|
.inside-structure {
|
|
574
574
|
width: 100%;
|
|
575
575
|
box-sizing: border-box;
|
|
576
576
|
height: var(--field-height);
|
|
577
|
-
font-size: ${
|
|
578
|
-
line-height: ${
|
|
579
|
-
border: ${
|
|
580
|
-
border-radius: ${
|
|
581
|
-
--current-border-width: ${
|
|
582
|
-
outline-offset: calc(${
|
|
577
|
+
font-size: ${k.defaultInputFontSize};
|
|
578
|
+
line-height: ${k.defaultInputLineHeight};
|
|
579
|
+
border: ${k.defaultBorderWidth} solid ${k.defaultBorderColor};
|
|
580
|
+
border-radius: ${k.borderRadius};
|
|
581
|
+
--current-border-width: ${k.defaultBorderWidth};
|
|
582
|
+
outline-offset: calc(${k.focusOutlineOffset} - ${k.defaultBorderWidth});
|
|
583
583
|
|
|
584
584
|
--typo-caption-height: calc(${w.typographyCaption2Medium.lineHeight} * ${w.typographyCaption2Medium.fontSize});
|
|
585
|
-
--typo-body-height: calc(${
|
|
585
|
+
--typo-body-height: calc(${k.defaultInputLineHeight} * ${k.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.`,s.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: ${k.errorBorderWidth} solid ${k.errorBorderColor};
|
|
609
|
+
--current-border-width: ${k.errorBorderWidth};
|
|
610
610
|
}
|
|
611
611
|
|
|
612
612
|
.ftds-input.warning .inside-structure {
|
|
613
|
-
border: ${
|
|
614
|
-
--current-border-width: ${
|
|
613
|
+
border: ${k.warningBorderWidth} solid ${k.warningBorderColor};
|
|
614
|
+
--current-border-width: ${k.warningBorderWidth};
|
|
615
615
|
}
|
|
616
616
|
|
|
617
617
|
.ftds-input.focused .inside-structure {
|
|
618
|
-
outline: ${
|
|
618
|
+
outline: ${k.focusOutlineWidth} solid ${k.focusFocusRingColor};
|
|
619
619
|
}
|
|
620
620
|
|
|
621
621
|
.inside-structure .inside-structure--icon {
|
|
@@ -628,28 +628,28 @@ Also for action icons.`,s.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: ${k.appendIconColor};
|
|
632
632
|
}
|
|
633
633
|
|
|
634
634
|
.inside-structure .inside-structure--icon.append ftds-button {
|
|
635
|
-
--ft-button-icon-only-scale: ${
|
|
635
|
+
--ft-button-icon-only-scale: ${k.appendIconScale};
|
|
636
636
|
}
|
|
637
637
|
|
|
638
638
|
.inside-structure .inside-structure--icon.prepend {
|
|
639
639
|
left: var(--field-horizontal-padding);
|
|
640
|
-
color: ${
|
|
640
|
+
color: ${k.prependIconColor};
|
|
641
641
|
}
|
|
642
642
|
|
|
643
643
|
.inside-structure .inside-structure--icon.prepend ftds-button {
|
|
644
|
-
--ft-button-icon-only-scale: ${
|
|
644
|
+
--ft-button-icon-only-scale: ${k.prependIconScale};
|
|
645
645
|
}
|
|
646
646
|
|
|
647
647
|
.inside-structure .inside-structure--icon.append button {
|
|
648
|
-
color: ${
|
|
648
|
+
color: ${k.appendIconColor};
|
|
649
649
|
}
|
|
650
650
|
|
|
651
651
|
.inside-structure .inside-structure--icon.prepend button {
|
|
652
|
-
color: ${
|
|
652
|
+
color: ${k.prependIconColor};
|
|
653
653
|
}
|
|
654
654
|
|
|
655
655
|
.inside-structure .inside-structure--icon button {
|
|
@@ -660,12 +660,12 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
660
660
|
}
|
|
661
661
|
|
|
662
662
|
.inside-structure .inside-structure--icon button:focus-visible {
|
|
663
|
-
outline: ${
|
|
664
|
-
border-radius: ${
|
|
663
|
+
outline: ${k.focusOutlineWidth} solid ${k.focusFocusRingColor};
|
|
664
|
+
border-radius: ${k.borderRadius};
|
|
665
665
|
}
|
|
666
666
|
|
|
667
667
|
ftds-input-label {
|
|
668
|
-
--ft-input-label-color: ${
|
|
668
|
+
--ft-input-label-color: ${k.labelColor};
|
|
669
669
|
}
|
|
670
670
|
|
|
671
671
|
.ftds-input.with-prepend-icon ftds-input-label {
|
|
@@ -677,16 +677,16 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
677
677
|
}
|
|
678
678
|
|
|
679
679
|
ftds-input-helper-text {
|
|
680
|
-
margin-top: ${
|
|
681
|
-
padding-left: ${
|
|
682
|
-
--ftds-helper-text-icon-size: ${
|
|
683
|
-
--ftds-helper-text-icon-horizontal-gap: ${
|
|
684
|
-
--ftds-helper-text-color: ${
|
|
685
|
-
--ftds-helper-text-error-icon-color: ${
|
|
686
|
-
--ftds-helper-text-warning-icon-color: ${
|
|
680
|
+
margin-top: ${k.helperHorizontalGap};
|
|
681
|
+
padding-left: ${k.helperHorizontalPadding};
|
|
682
|
+
--ftds-helper-text-icon-size: ${k.helperIconSize};
|
|
683
|
+
--ftds-helper-text-icon-horizontal-gap: ${k.helperIconHorizontalGap};
|
|
684
|
+
--ftds-helper-text-color: ${k.defaultHelperTextColor};
|
|
685
|
+
--ftds-helper-text-error-icon-color: ${k.errorHelperIconColor};
|
|
686
|
+
--ftds-helper-text-warning-icon-color: ${k.warningHelperIconColor};
|
|
687
687
|
}
|
|
688
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},
|
|
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},ct=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}}};ct.elementDefinitions={};ct.styles=[tr,si];Kn([(0,Mo.property)({type:Boolean})],ct.prototype,"outlined",void 0);Kn([(0,Mo.property)({type:Boolean})],ct.prototype,"error",void 0);Kn([(0,Mo.property)({type:Boolean})],ct.prototype,"disabled",void 0);(0,Zn.customElement)("ft-input-label")(ct);(0,Zn.customElement)("ftds-input-label")(et);var Xn=b(P());var Wr=b(ee()),yc=b(P());var sc=b(H()),$=b(P());var tc=b(H()),oe=b(P()),Yl=oe.FtCssVariableFactory.extend("--ft-ripple-color","",oe.designSystemVariables.colorContent),E={color:Yl,backgroundColor:oe.FtCssVariableFactory.extend("--ft-ripple-background-color","",Yl),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")},Xl=oe.FtCssVariableFactory.extend("--ft-ripple-color","",oe.designSystemVariables.colorPrimary),Jl={color:Xl,backgroundColor:oe.FtCssVariableFactory.extend("--ft-ripple-background-color","",Xl)},Ql=oe.FtCssVariableFactory.extend("--ft-ripple-color","",oe.designSystemVariables.colorSecondary),ec={color:Ql,backgroundColor:oe.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ql)},rc=tc.css`
|
|
690
690
|
:host {
|
|
691
691
|
display: contents;
|
|
692
692
|
}
|
|
@@ -741,19 +741,19 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
741
741
|
}
|
|
742
742
|
|
|
743
743
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
744
|
-
background-color: ${
|
|
744
|
+
background-color: ${ec.backgroundColor};
|
|
745
745
|
}
|
|
746
746
|
|
|
747
747
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
748
|
-
background-color: ${
|
|
748
|
+
background-color: ${ec.color};
|
|
749
749
|
}
|
|
750
750
|
|
|
751
751
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
752
|
-
background-color: ${
|
|
752
|
+
background-color: ${Jl.backgroundColor};
|
|
753
753
|
}
|
|
754
754
|
|
|
755
755
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
756
|
-
background-color: ${
|
|
756
|
+
background-color: ${Jl.color};
|
|
757
757
|
}
|
|
758
758
|
|
|
759
759
|
.ft-ripple .ft-ripple--background {
|
|
@@ -798,7 +798,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
798
798
|
opacity: ${E.opacityContentOnSurfacePressed};
|
|
799
799
|
transform: translate(-50%, -50%) scale(1);
|
|
800
800
|
}
|
|
801
|
-
`;var
|
|
801
|
+
`;var oc=b(H()),Fr=b(P()),q={color:Fr.FtCssVariableFactory.extend("--ft-loader-color","",Fr.designSystemVariables.colorPrimary),size:Fr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},nc=oc.css`
|
|
802
802
|
:host {
|
|
803
803
|
line-height: 0;
|
|
804
804
|
}
|
|
@@ -807,8 +807,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
807
807
|
display: inline-block;
|
|
808
808
|
position: relative;
|
|
809
809
|
|
|
810
|
-
width: ${
|
|
811
|
-
height: ${
|
|
810
|
+
width: ${q.size};
|
|
811
|
+
height: ${q.size};
|
|
812
812
|
}
|
|
813
813
|
|
|
814
814
|
.ft-loader div {
|
|
@@ -817,7 +817,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
817
817
|
width: 25%;
|
|
818
818
|
height: 25%;
|
|
819
819
|
border-radius: 50%;
|
|
820
|
-
background: ${
|
|
820
|
+
background: ${q.color};
|
|
821
821
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
822
822
|
}
|
|
823
823
|
|
|
@@ -864,10 +864,10 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
864
864
|
transform: translate(0, 0);
|
|
865
865
|
}
|
|
866
866
|
100% {
|
|
867
|
-
transform: translate(calc(0.35 * ${
|
|
867
|
+
transform: translate(calc(0.35 * ${q.size}), 0);
|
|
868
868
|
}
|
|
869
869
|
}
|
|
870
|
-
`;var
|
|
870
|
+
`;var ac=$.FtCssVariableFactory.extend("--ft-button-color","",$.designSystemVariables.colorPrimary),de={backgroundColor:$.FtCssVariableFactory.extend("--ft-button-background-color","",$.designSystemVariables.colorSurface),borderRadius:$.FtCssVariableFactory.extend("--ft-button-border-radius","",$.designSystemVariables.borderRadiusL),color:ac,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","",ac),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")},ic=$.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:ic,rippleColor:$.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",ic)},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")},lc=[sc.css`
|
|
871
871
|
:host {
|
|
872
872
|
display: inline-block;
|
|
873
873
|
max-width: 100%;
|
|
@@ -878,7 +878,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
878
878
|
box-shadow: 0px 0px 0px transparent;
|
|
879
879
|
border: 0px solid transparent;
|
|
880
880
|
text-shadow: 0px 0px 0px transparent;
|
|
881
|
-
font-size: ${
|
|
881
|
+
font-size: ${de.fontSize};
|
|
882
882
|
text-decoration: none;
|
|
883
883
|
}
|
|
884
884
|
|
|
@@ -908,21 +908,21 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
908
908
|
border: none;
|
|
909
909
|
pointer-events: auto;
|
|
910
910
|
|
|
911
|
-
--ft-button-internal-line-height: max(calc(${
|
|
912
|
-
--ft-button-internal-color: ${
|
|
913
|
-
${(0,$.setVariable)(
|
|
914
|
-
${(0,$.setVariable)(E.color,
|
|
911
|
+
--ft-button-internal-line-height: max(calc(${de.fontSize} + 2px), ${de.iconSize});
|
|
912
|
+
--ft-button-internal-color: ${de.color};
|
|
913
|
+
${(0,$.setVariable)(fe.size,de.iconSize)};
|
|
914
|
+
${(0,$.setVariable)(E.color,de.rippleColor)};
|
|
915
915
|
|
|
916
|
-
border-radius: ${
|
|
917
|
-
padding: ${
|
|
918
|
-
background-color: ${
|
|
916
|
+
border-radius: ${de.borderRadius};
|
|
917
|
+
padding: ${de.verticalPadding} ${de.horizontalPadding};
|
|
918
|
+
background-color: ${de.backgroundColor};
|
|
919
919
|
color: var(--ft-button-internal-color);
|
|
920
920
|
-webkit-mask-image: radial-gradient(white, black);
|
|
921
921
|
}
|
|
922
922
|
|
|
923
923
|
.ft-button.ft-button--outlined {
|
|
924
924
|
border: 1px solid var(--ft-button-internal-color);
|
|
925
|
-
padding: calc(${
|
|
925
|
+
padding: calc(${de.verticalPadding} - 1px) calc(${de.horizontalPadding} - 1px);
|
|
926
926
|
}
|
|
927
927
|
|
|
928
928
|
.ft-button.ft-button--dense {
|
|
@@ -940,7 +940,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
940
940
|
}
|
|
941
941
|
|
|
942
942
|
.ft-button--round {
|
|
943
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
943
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${de.verticalPadding});
|
|
944
944
|
}
|
|
945
945
|
|
|
946
946
|
.ft-button--round.ft-button--dense {
|
|
@@ -949,7 +949,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
949
949
|
|
|
950
950
|
.ft-button[disabled] {
|
|
951
951
|
filter: grayscale(1);
|
|
952
|
-
opacity: ${
|
|
952
|
+
opacity: ${de.opacityDisabled};
|
|
953
953
|
}
|
|
954
954
|
|
|
955
955
|
.ft-button.ft-button--primary {
|
|
@@ -968,7 +968,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
968
968
|
white-space: nowrap;
|
|
969
969
|
text-overflow: ellipsis;
|
|
970
970
|
display: block;
|
|
971
|
-
margin: 0 ${
|
|
971
|
+
margin: 0 ${de.iconPadding};
|
|
972
972
|
${(0,$.setVariable)(Ge.fontSize,"1em")};
|
|
973
973
|
${(0,$.setVariable)(Ge.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
974
974
|
}
|
|
@@ -987,8 +987,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
987
987
|
}
|
|
988
988
|
|
|
989
989
|
.ft-button--label[hidden] + [part="icon"] {
|
|
990
|
-
margin: 0 calc(${
|
|
991
|
-
padding: 0 ${
|
|
990
|
+
margin: 0 calc(${de.horizontalPadding} * -1);
|
|
991
|
+
padding: 0 ${de.verticalPadding};
|
|
992
992
|
}
|
|
993
993
|
|
|
994
994
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
@@ -1001,28 +1001,28 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
1003
|
ft-loader {
|
|
1004
|
-
${(0,$.setVariable)(
|
|
1005
|
-
${(0,$.setVariable)(
|
|
1004
|
+
${(0,$.setVariable)(q.size,de.iconSize)};
|
|
1005
|
+
${(0,$.setVariable)(q.color,"var(--ft-button-internal-color)")};
|
|
1006
1006
|
}
|
|
1007
|
-
`,$.noTextSelect];var wt=b(P());var
|
|
1007
|
+
`,$.noTextSelect];var wt=b(P());var pc=b(P());var cc=b(H()),ye=b(ee()),dc=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 cc.html`
|
|
1008
1008
|
<style>
|
|
1009
1009
|
.ft-ripple .ft-ripple--effect {
|
|
1010
1010
|
left: ${this.originX}px;
|
|
1011
1011
|
top: ${this.originY}px;
|
|
1012
1012
|
}
|
|
1013
1013
|
</style>
|
|
1014
|
-
<div class="${(0,
|
|
1014
|
+
<div class="${(0,dc.classMap)(r)}">
|
|
1015
1015
|
<div class="ft-ripple--background"></div>
|
|
1016
1016
|
<div class="ft-ripple--effect"></div>
|
|
1017
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=
|
|
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=rc;we([(0,ye.property)({type:Boolean})],J.prototype,"primary",void 0);we([(0,ye.property)({type:Boolean})],J.prototype,"secondary",void 0);we([(0,ye.property)({type:Boolean})],J.prototype,"unbounded",void 0);we([(0,ye.property)({type:Boolean})],J.prototype,"activated",void 0);we([(0,ye.property)({type:Boolean})],J.prototype,"selected",void 0);we([(0,ye.property)({type:Boolean})],J.prototype,"disabled",void 0);we([(0,ye.state)()],J.prototype,"hovered",void 0);we([(0,ye.state)()],J.prototype,"focused",void 0);we([(0,ye.state)()],J.prototype,"pressed",void 0);we([(0,ye.state)()],J.prototype,"rippling",void 0);we([(0,ye.state)()],J.prototype,"originX",void 0);we([(0,ye.state)()],J.prototype,"originY",void 0);we([(0,ye.query)(".ft-ripple")],J.prototype,"ripple",void 0);we([(0,ye.query)(".ft-ripple--effect")],J.prototype,"rippleEffect",void 0);(0,pc.customElement)("ft-ripple")(J);var hc=b(P());var uc=b(H()),fc=b(P());var Ht=class extends fc.FtLitElement{render(){return uc.html`
|
|
1019
1019
|
<div class="ft-loader">
|
|
1020
1020
|
<div></div>
|
|
1021
1021
|
<div></div>
|
|
1022
1022
|
<div></div>
|
|
1023
1023
|
<div></div>
|
|
1024
1024
|
</div>
|
|
1025
|
-
`}};
|
|
1025
|
+
`}};Ht.styles=nc;(0,hc.customElement)("ft-loader")(Ht);var Et=b(H()),Yn=b(Nt()),le=b(ee()),me=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},Y=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
1026
|
<ft-ripple part="ripple"
|
|
1027
1027
|
?disabled=${this.isDisabled()}
|
|
1028
1028
|
?activated=${this.activated}
|
|
@@ -1062,7 +1062,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1062
1062
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
1063
1063
|
`:Et.html`
|
|
1064
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}};
|
|
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}};Y.elementDefinitions={"ft-ripple":J,"ft-tooltip":j,"ft-typography":Ae,"ft-icon":ne,"ft-loader":Ht};me([(0,le.property)()],Y.prototype,"href",void 0);me([(0,le.property)()],Y.prototype,"target",void 0);me([(0,le.property)()],Y.prototype,"type",void 0);me([(0,le.property)({type:Boolean})],Y.prototype,"disabled",void 0);me([(0,le.property)()],Y.prototype,"label",void 0);me([(0,le.property)()],Y.prototype,"icon",void 0);me([(0,le.property)()],Y.prototype,"iconVariant",void 0);me([(0,le.property)({type:Boolean})],Y.prototype,"trailingIcon",void 0);me([(0,le.property)({type:Boolean})],Y.prototype,"loading",void 0);me([(0,le.property)({attribute:"aria-label"})],Y.prototype,"ariaLabel",void 0);me([(0,le.property)()],Y.prototype,"tooltipPosition",void 0);me([(0,le.property)({type:Boolean})],Y.prototype,"hideTooltip",void 0);me([(0,le.property)({type:Boolean})],Y.prototype,"forceTooltip",void 0);me([(0,le.property)({type:Boolean})],Y.prototype,"activated",void 0);me([(0,le.query)(".ft-button")],Y.prototype,"button",void 0);me([(0,le.query)(".ft-button--label slot")],Y.prototype,"slottedContent",void 0);me([(0,le.query)("[part=tooltip]")],Y.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},dt=class extends Y{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"}};dt.styles=[yc.safariEllipsisFix,lc];Uo([(0,Wr.property)({type:Boolean})],dt.prototype,"primary",void 0);Uo([(0,Wr.property)({type:Boolean})],dt.prototype,"outlined",void 0);Uo([(0,Wr.property)({type:Boolean})],dt.prototype,"dense",void 0);Uo([(0,Wr.property)({type:Boolean})],dt.prototype,"round",void 0);var Gr=b(ee());var Fo=b(P());var mc=b(H()),O=b(P());var Xd={...f,iconOnlyScale:O.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},gc=[mc.css`
|
|
1066
1066
|
:host {
|
|
1067
1067
|
display: inline-block;
|
|
1068
1068
|
max-width: 100%;
|
|
@@ -1145,13 +1145,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1145
1145
|
}
|
|
1146
1146
|
|
|
1147
1147
|
.ft-button.ft-button--icon-only ft-icon {
|
|
1148
|
-
transform: scale(${
|
|
1148
|
+
transform: scale(${Xd.iconOnlyScale});
|
|
1149
1149
|
}
|
|
1150
1150
|
|
|
1151
1151
|
/** Brand Primary styles **/
|
|
1152
1152
|
|
|
1153
1153
|
.ftds--family-brand.ft-button--primary {
|
|
1154
|
-
${(0,O.setVariable)(
|
|
1154
|
+
${(0,O.setVariable)(q.color,f.primaryBrandIconColor)};
|
|
1155
1155
|
|
|
1156
1156
|
${(0,O.setVariable)(E.color,f.primaryBrandStateLayerColor)};
|
|
1157
1157
|
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.primaryBrandHoverStateLayerOpacity)};
|
|
@@ -1175,7 +1175,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1175
1175
|
/** Brand Secondary styles **/
|
|
1176
1176
|
|
|
1177
1177
|
.ftds--family-brand.ft-button--secondary {
|
|
1178
|
-
${(0,O.setVariable)(
|
|
1178
|
+
${(0,O.setVariable)(q.color,f.secondaryBrandIconColor)};
|
|
1179
1179
|
|
|
1180
1180
|
${(0,O.setVariable)(E.color,f.secondaryBrandStateLayerColor)};
|
|
1181
1181
|
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryBrandHoverStateLayerOpacity)};
|
|
@@ -1200,7 +1200,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1200
1200
|
/** Brand Tertiary styles **/
|
|
1201
1201
|
|
|
1202
1202
|
.ftds--family-brand.ft-button--tertiary {
|
|
1203
|
-
${(0,O.setVariable)(
|
|
1203
|
+
${(0,O.setVariable)(q.color,f.tertiaryBrandIconColor)};
|
|
1204
1204
|
|
|
1205
1205
|
${(0,O.setVariable)(E.color,f.tertiaryBrandStateLayerColor)};
|
|
1206
1206
|
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryBrandHoverStateLayerOpacity)};
|
|
@@ -1224,7 +1224,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1224
1224
|
/** Neutral Secondary styles **/
|
|
1225
1225
|
|
|
1226
1226
|
.ftds--family-neutral.ft-button--secondary {
|
|
1227
|
-
${(0,O.setVariable)(
|
|
1227
|
+
${(0,O.setVariable)(q.color,f.secondaryNeutralIconColor)};
|
|
1228
1228
|
|
|
1229
1229
|
${(0,O.setVariable)(E.backgroundColor,f.secondaryNeutralStateLayerColor)};
|
|
1230
1230
|
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryNeutralHoverStateLayerOpacity)};
|
|
@@ -1249,7 +1249,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1249
1249
|
/** Neutral Tertiary styles **/
|
|
1250
1250
|
|
|
1251
1251
|
.ftds--family-neutral.ft-button--tertiary {
|
|
1252
|
-
${(0,O.setVariable)(
|
|
1252
|
+
${(0,O.setVariable)(q.color,f.tertiaryNeutralIconColor)};
|
|
1253
1253
|
|
|
1254
1254
|
${(0,O.setVariable)(E.backgroundColor,f.tertiaryNeutralStateLayerColor)};
|
|
1255
1255
|
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryNeutralHoverStateLayerOpacity)};
|
|
@@ -1273,7 +1273,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1273
1273
|
/** Info Secondary styles **/
|
|
1274
1274
|
|
|
1275
1275
|
.ftds--family-info.ft-button--secondary {
|
|
1276
|
-
${(0,O.setVariable)(
|
|
1276
|
+
${(0,O.setVariable)(q.color,f.secondaryInfoIconColor)};
|
|
1277
1277
|
|
|
1278
1278
|
${(0,O.setVariable)(E.backgroundColor,f.secondaryInfoStateLayerColor)};
|
|
1279
1279
|
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryInfoHoverStateLayerOpacity)};
|
|
@@ -1298,7 +1298,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1298
1298
|
/** Info Tertiary styles **/
|
|
1299
1299
|
|
|
1300
1300
|
.ftds--family-info.ft-button--tertiary {
|
|
1301
|
-
${(0,O.setVariable)(
|
|
1301
|
+
${(0,O.setVariable)(q.color,f.tertiaryInfoIconColor)};
|
|
1302
1302
|
|
|
1303
1303
|
${(0,O.setVariable)(E.backgroundColor,f.tertiaryInfoStateLayerColor)};
|
|
1304
1304
|
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryInfoHoverStateLayerOpacity)};
|
|
@@ -1322,7 +1322,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1322
1322
|
/** Success Secondary styles **/
|
|
1323
1323
|
|
|
1324
1324
|
.ftds--family-success.ft-button--secondary {
|
|
1325
|
-
${(0,O.setVariable)(
|
|
1325
|
+
${(0,O.setVariable)(q.color,f.secondarySuccessIconColor)};
|
|
1326
1326
|
|
|
1327
1327
|
${(0,O.setVariable)(E.backgroundColor,f.secondarySuccessStateLayerColor)};
|
|
1328
1328
|
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.secondarySuccessHoverStateLayerOpacity)};
|
|
@@ -1347,7 +1347,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1347
1347
|
/** Success Tertiary styles **/
|
|
1348
1348
|
|
|
1349
1349
|
.ftds--family-success.ft-button--tertiary {
|
|
1350
|
-
${(0,O.setVariable)(
|
|
1350
|
+
${(0,O.setVariable)(q.color,f.tertiarySuccessIconColor)};
|
|
1351
1351
|
|
|
1352
1352
|
${(0,O.setVariable)(E.backgroundColor,f.tertiarySuccessStateLayerColor)};
|
|
1353
1353
|
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.tertiarySuccessHoverStateLayerOpacity)};
|
|
@@ -1371,7 +1371,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1371
1371
|
/** Warning Secondary styles **/
|
|
1372
1372
|
|
|
1373
1373
|
.ftds--family-warning.ft-button--secondary {
|
|
1374
|
-
${(0,O.setVariable)(
|
|
1374
|
+
${(0,O.setVariable)(q.color,f.secondaryWarningIconColor)};
|
|
1375
1375
|
|
|
1376
1376
|
${(0,O.setVariable)(E.backgroundColor,f.secondaryWarningStateLayerColor)};
|
|
1377
1377
|
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryWarningHoverStateLayerOpacity)};
|
|
@@ -1396,7 +1396,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1396
1396
|
/** Warning Tertiary styles **/
|
|
1397
1397
|
|
|
1398
1398
|
.ftds--family-warning.ft-button--tertiary {
|
|
1399
|
-
${(0,O.setVariable)(
|
|
1399
|
+
${(0,O.setVariable)(q.color,f.tertiaryWarningIconColor)};
|
|
1400
1400
|
|
|
1401
1401
|
${(0,O.setVariable)(E.backgroundColor,f.tertiaryWarningStateLayerColor)};
|
|
1402
1402
|
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryWarningHoverStateLayerOpacity)};
|
|
@@ -1420,7 +1420,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1420
1420
|
/** Error Secondary styles **/
|
|
1421
1421
|
|
|
1422
1422
|
.ftds--family-error.ft-button--secondary {
|
|
1423
|
-
${(0,O.setVariable)(
|
|
1423
|
+
${(0,O.setVariable)(q.color,f.secondaryErrorIconColor)};
|
|
1424
1424
|
|
|
1425
1425
|
${(0,O.setVariable)(E.backgroundColor,f.secondaryErrorStateLayerColor)};
|
|
1426
1426
|
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryErrorHoverStateLayerOpacity)};
|
|
@@ -1445,7 +1445,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1445
1445
|
/** Error Tertiary styles **/
|
|
1446
1446
|
|
|
1447
1447
|
.ftds--family-error.ft-button--tertiary {
|
|
1448
|
-
${(0,O.setVariable)(
|
|
1448
|
+
${(0,O.setVariable)(q.color,f.tertiaryErrorIconColor)};
|
|
1449
1449
|
|
|
1450
1450
|
${(0,O.setVariable)(E.backgroundColor,f.tertiaryErrorStateLayerColor)};
|
|
1451
1451
|
${(0,O.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryErrorHoverStateLayerOpacity)};
|
|
@@ -1469,8 +1469,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1469
1469
|
/** Large styles **/
|
|
1470
1470
|
|
|
1471
1471
|
.ftds--size-large {
|
|
1472
|
-
${(0,O.setVariable)(
|
|
1473
|
-
${(0,O.setVariable)(
|
|
1472
|
+
${(0,O.setVariable)(fe.size,f.largeIconSize)};
|
|
1473
|
+
${(0,O.setVariable)(q.size,f.largeIconSize)};
|
|
1474
1474
|
|
|
1475
1475
|
height: ${f.largeHeight};
|
|
1476
1476
|
padding: 0 ${f.largeHorizontalPadding};
|
|
@@ -1491,8 +1491,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1491
1491
|
/** Small styles **/
|
|
1492
1492
|
|
|
1493
1493
|
.ftds--size-medium {
|
|
1494
|
-
${(0,O.setVariable)(
|
|
1495
|
-
${(0,O.setVariable)(
|
|
1494
|
+
${(0,O.setVariable)(fe.size,f.mediumIconSize)};
|
|
1495
|
+
${(0,O.setVariable)(q.size,f.mediumIconSize)};
|
|
1496
1496
|
|
|
1497
1497
|
height: ${f.mediumHeight};
|
|
1498
1498
|
padding: 0 ${f.mediumHorizontalPadding};
|
|
@@ -1514,8 +1514,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1514
1514
|
/** Small styles **/
|
|
1515
1515
|
|
|
1516
1516
|
.ftds--size-small {
|
|
1517
|
-
${(0,O.setVariable)(
|
|
1518
|
-
${(0,O.setVariable)(
|
|
1517
|
+
${(0,O.setVariable)(fe.size,f.smallIconSize)};
|
|
1518
|
+
${(0,O.setVariable)(q.size,f.smallIconSize)};
|
|
1519
1519
|
|
|
1520
1520
|
height: ${f.smallHeight};
|
|
1521
1521
|
padding: 0 ${f.smallHorizontalPadding};
|
|
@@ -1532,12 +1532,12 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1532
1532
|
.ftds--size-small.ft-button--icon-only {
|
|
1533
1533
|
width: ${f.smallIconOnlyWidth};
|
|
1534
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)(
|
|
1536
|
-
<div class="${(0,
|
|
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)(Y){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 Gt.large:return je.body2medium;case Gt.medium:return je.caption1medium;case Gt.small:return je.caption2medium}}};ze.styles=[Fo.safariEllipsisFix,gc];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")(dt);(0,Xn.customElement)("ftds-button")(ze);var ce=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 Wt.html`
|
|
1536
|
+
<div class="${(0,bc.classMap)(r)}">
|
|
1537
1537
|
|
|
1538
1538
|
<div class="inside-structure" @click=${()=>this.focusSlottedInput()}>
|
|
1539
1539
|
<slot part="label" name="label">
|
|
1540
|
-
${_t(this.shouldShowLabel,()=>
|
|
1540
|
+
${_t(this.shouldShowLabel,()=>Wt.html`
|
|
1541
1541
|
<ftds-input-label
|
|
1542
1542
|
aria-hidden="true"
|
|
1543
1543
|
text="${this.label}"
|
|
@@ -1573,7 +1573,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1573
1573
|
</slot>
|
|
1574
1574
|
|
|
1575
1575
|
</div>
|
|
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?
|
|
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?Wt.nothing:i?Wt.html`
|
|
1577
1577
|
<ftds-button
|
|
1578
1578
|
.label=${l}
|
|
1579
1579
|
.icon=${o}
|
|
@@ -1584,8 +1584,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1584
1584
|
@click=${d=>{d.stopPropagation(),this.dispatchEvent(new CustomEvent(a,d))}}
|
|
1585
1585
|
>
|
|
1586
1586
|
</ftds-button>
|
|
1587
|
-
`:
|
|
1588
|
-
<ft-icon aria-label="${
|
|
1587
|
+
`:Wt.html`
|
|
1588
|
+
<ft-icon aria-label="${Sr(l)}" aria-hidden="${!!l}" .value=${o}></ft-icon>`}};G.elementDefinitions={"ftds-input-helper-text":Oe,"ftds-input-label":et,"ft-icon":ne,"ftds-button":ze,"ft-tooltip":j};G.styles=[ql];ce([(0,Q.property)()],G.prototype,"status",void 0);ce([(0,Q.property)({type:Boolean})],G.prototype,"disabled",void 0);ce([(0,Q.property)()],G.prototype,"label",void 0);ce([(0,Q.property)({type:Boolean})],G.prototype,"hideLabel",void 0);ce([(0,Q.property)({type:Boolean})],G.prototype,"raiseLabel",void 0);ce([(0,Q.property)()],G.prototype,"helperText",void 0);ce([(0,Q.property)()],G.prototype,"appendIcon",void 0);ce([(0,Q.property)()],G.prototype,"appendIconVariant",void 0);ce([(0,Q.property)()],G.prototype,"appendIconLabel",void 0);ce([(0,Q.property)({type:Boolean})],G.prototype,"appendIconIsClickable",void 0);ce([(0,Q.property)()],G.prototype,"prependIcon",void 0);ce([(0,Q.property)()],G.prototype,"prependIconVariant",void 0);ce([(0,Q.property)()],G.prototype,"prependIconLabel",void 0);ce([(0,Q.property)({type:Boolean})],G.prototype,"prependIconIsClickable",void 0);ce([(0,Q.state)()],G.prototype,"errorMessages",void 0);ce([(0,Q.state)()],G.prototype,"warningMessages",void 0);ce([(0,Q.state)()],G.prototype,"hasFocus",void 0);ce([(0,Q.query)(".ft-base-input")],G.prototype,"container",void 0);ce([(0,Q.query)("slot:not([name])")],G.prototype,"mainSlot",void 0);(0,xc.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},ut=class extends Ro((0,pt.toFtInput)(pt.FtdsBase)){constructor(){var r;super(),this.type=_e.text,this.showClearPassword=!1,this.value=(r=this.value)!==null&&r!==void 0?r:"",this.addI18nContext(dr,bl)}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,Sc.classMap)({"ftds-input":!0,...this.getDesignSystemBaseClasses()});return vc.html`
|
|
1589
1589
|
<ftds-base-input
|
|
1590
1590
|
|
|
1591
1591
|
.status=${this.status}
|
|
@@ -1596,12 +1596,12 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1596
1596
|
.warningMessages=${this.warningMessages}
|
|
1597
1597
|
.helperText=${this.helperText}
|
|
1598
1598
|
|
|
1599
|
-
.label=${
|
|
1599
|
+
.label=${Sr(this.label)}
|
|
1600
1600
|
?hideLabel=${this.hideLabel}
|
|
1601
1601
|
?raiseLabel=${this.type==_e.date||this.type==_e.time||this.focused||this.value!=""}
|
|
1602
1602
|
|
|
1603
1603
|
.appendIcon=${this.passwordIconForCurrentState}
|
|
1604
|
-
.appendIconLabel=${this.showClearPassword?
|
|
1604
|
+
.appendIconLabel=${this.showClearPassword?dr.messages.hidePassword():dr.messages.showPassword()}
|
|
1605
1605
|
appendIconIsClickable
|
|
1606
1606
|
@append-icon-click="${()=>this.showClearPassword=!this.showClearPassword}"
|
|
1607
1607
|
|
|
@@ -1615,15 +1615,15 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1615
1615
|
@input=${this.onInput}
|
|
1616
1616
|
@focus=${this.onFocus}
|
|
1617
1617
|
@blur=${this.onBlur}
|
|
1618
|
-
aria-label="${
|
|
1619
|
-
aria-invalid="${this.status===
|
|
1618
|
+
aria-label="${Sr(this.label)}"
|
|
1619
|
+
aria-invalid="${this.status===pt.Status.error}"
|
|
1620
1620
|
aria-describedby="${this.messagesForScreenReaderElementId}"
|
|
1621
1621
|
/>
|
|
1622
1622
|
|
|
1623
1623
|
${this.renderMessagesForScreenReader()}
|
|
1624
1624
|
|
|
1625
1625
|
</ftds-base-input>
|
|
1626
|
-
`}updateTypeBasedAdditionalRules(r){this.additionalErrorRules=(()=>{switch(r){case _e.email:return[
|
|
1626
|
+
`}updateTypeBasedAdditionalRules(r){this.additionalErrorRules=(()=>{switch(r){case _e.email:return[pt.ValidationRules.email(dr.messages.invalidEmail())];case _e.url:return[pt.ValidationRules.url(dr.messages.invalidUrl())];default:return[]}})(),this.additionalWarningRules=(()=>{switch(r){default:return[]}})()}};ut.elementDefinitions={"ftds-input-helper-text":Oe,"ftds-input-label":et,"ftds-base-input":G,"ft-icon":ne,"ft-tooltip":j};ut.styles=[Na];Jn([(0,mr.property)()],ut.prototype,"type",void 0);Jn([(0,mr.state)()],ut.prototype,"showClearPassword",void 0);Jn([(0,mr.query)("input")],ut.prototype,"input",void 0);(0,Oc.customElement)("ftds-text-input")(ut);})();
|
|
1627
1627
|
/*! Bundled license information:
|
|
1628
1628
|
|
|
1629
1629
|
lit-html/lit-html.js:
|