@fluid-topics/ft-reader-feedback 1.1.116 → 1.1.117
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-reader-feedback.light.js +265 -265
- package/build/ft-reader-feedback.min.js +61 -61
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?q.substr(1,q.length):q}).forEach(function(q){var
|
|
1
|
+
"use strict";(()=>{var Nd=Object.create;var da=Object.defineProperty;var Td=Object.getOwnPropertyDescriptor;var _d=Object.getOwnPropertyNames;var Ld=Object.getPrototypeOf,kd=Object.prototype.hasOwnProperty;var cr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Pd=(e,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of _d(t))!kd.call(e,n)&&n!==o&&da(e,n,{get:()=>t[n],enumerable:!(i=Td(t,n))||i.enumerable});return e};var g=(e,t,o)=>(o=e!=null?Nd(Ld(e)):{},Pd(t||!e||!e.__esModule?da(o,"default",{value:e,enumerable:!0}):o,e));var R=cr((af,pa)=>{pa.exports=ftGlobals.wcUtils});var B=cr((sf,fa)=>{fa.exports=ftGlobals.lit});var Z=cr((cf,ua)=>{ua.exports=ftGlobals.litDecorators});var Ve=cr((Nm,Ds)=>{Ds.exports=ftGlobals.litClassMap});var uc=cr((yg,fc)=>{fc.exports=ftGlobals.litUnsafeHTML});var $c=cr((Pb,Pc)=>{Pc.exports=ftGlobals.litRepeat});var rd=cr((ir,ed)=>{var Si=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Oi=function(){function e(){this.fetch=!1,this.DOMException=Si.DOMException}return e.prototype=Si,new e}();(function(e){var t=function(o){var i=typeof e<"u"&&e||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function a(y){return y&&DataView.prototype.isPrototypeOf(y)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(y){return y&&s.indexOf(Object.prototype.toString.call(y))>-1};function f(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function p(y){return typeof y!="string"&&(y=String(y)),y}function h(y){var v={next:function(){var k=y.shift();return{done:k===void 0,value:k}}};return n.iterable&&(v[Symbol.iterator]=function(){return v}),v}function m(y){this.map={},y instanceof m?y.forEach(function(v,k){this.append(k,v)},this):Array.isArray(y)?y.forEach(function(v){if(v.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+v.length);this.append(v[0],v[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(v){this.append(v,y[v])},this)}m.prototype.append=function(y,v){y=f(y),v=p(v);var k=this.map[y];this.map[y]=k?k+", "+v:v},m.prototype.delete=function(y){delete this.map[f(y)]},m.prototype.get=function(y){return y=f(y),this.has(y)?this.map[y]:null},m.prototype.has=function(y){return this.map.hasOwnProperty(f(y))},m.prototype.set=function(y,v){this.map[f(y)]=p(v)},m.prototype.forEach=function(y,v){for(var k in this.map)this.map.hasOwnProperty(k)&&y.call(v,this.map[k],k,this)},m.prototype.keys=function(){var y=[];return this.forEach(function(v,k){y.push(k)}),h(y)},m.prototype.values=function(){var y=[];return this.forEach(function(v){y.push(v)}),h(y)},m.prototype.entries=function(){var y=[];return this.forEach(function(v,k){y.push([k,v])}),h(y)},n.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function b(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function x(y){return new Promise(function(v,k){y.onload=function(){v(y.result)},y.onerror=function(){k(y.error)}})}function S(y){var v=new FileReader,k=x(v);return v.readAsArrayBuffer(y),k}function O(y){var v=new FileReader,k=x(v),q=/charset=([A-Za-z0-9_-]+)/.exec(y.type),at=q?q[1]:"utf-8";return v.readAsText(y,at),k}function _(y){for(var v=new Uint8Array(y),k=new Array(v.length),q=0;q<v.length;q++)k[q]=String.fromCharCode(v[q]);return k.join("")}function I(y){if(y.slice)return y.slice(0);var v=new Uint8Array(y.byteLength);return v.set(new Uint8Array(y)),v.buffer}function N(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:n.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:n.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():n.arrayBuffer&&n.blob&&a(y)?(this._bodyArrayBuffer=I(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||l(y))?this._bodyArrayBuffer=I(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var y=b(this);if(y)return y;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 y=b(this);return y||(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(n.blob)return this.blob().then(S);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=b(this);if(y)return y;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(_(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(Ht)}),this.json=function(){return this.text().then(JSON.parse)},this}var D=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function F(y){var v=y.toUpperCase();return D.indexOf(v)>-1?v:y}function W(y,v){if(!(this instanceof W))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');v=v||{};var k=v.body;if(y instanceof W){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,v.headers||(this.headers=new m(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!k&&y._bodyInit!=null&&(k=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new m(v.headers)),this.method=F(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal||function(){if("AbortController"in i){var z=new AbortController;return z.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&k)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(k),(this.method==="GET"||this.method==="HEAD")&&(v.cache==="no-store"||v.cache==="no-cache")){var q=/([?&])_=[^&]*/;if(q.test(this.url))this.url=this.url.replace(q,"$1_="+new Date().getTime());else{var at=/\?/;this.url+=(at.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}W.prototype.clone=function(){return new W(this,{body:this._bodyInit})};function Ht(y){var v=new FormData;return y.trim().split("&").forEach(function(k){if(k){var q=k.split("="),at=q.shift().replace(/\+/g," "),z=q.join("=").replace(/\+/g," ");v.append(decodeURIComponent(at),decodeURIComponent(z))}}),v}function ge(y){var v=new m,k=y.replace(/\r?\n[\t ]+/g," ");return k.split("\r").map(function(q){return q.indexOf(`
|
|
2
|
+
`)===0?q.substr(1,q.length):q}).forEach(function(q){var at=q.split(":"),z=at.shift().trim();if(z){var Eo=at.join(":").trim();try{v.append(z,Eo)}catch(zi){console.warn("Response "+zi.message)}}}),v}N.call(W.prototype);function Bt(y,v){if(!(this instanceof Bt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(v||(v={}),this.type="default",this.status=v.status===void 0?200:v.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=v.statusText===void 0?"":""+v.statusText,this.headers=new m(v.headers),this.url=v.url||"",this._initBody(y)}N.call(Bt.prototype),Bt.prototype.clone=function(){return new Bt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},Bt.error=function(){var y=new Bt(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var be=[301,302,303,307,308];Bt.redirect=function(y,v){if(be.indexOf(v)===-1)throw new RangeError("Invalid status code");return new Bt(null,{status:v,headers:{location:y}})},o.DOMException=i.DOMException;try{new o.DOMException}catch{o.DOMException=function(v,k){this.message=v,this.name=k;var q=Error(v);this.stack=q.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function Et(y,v){return new Promise(function(k,q){var at=new W(y,v);if(at.signal&&at.signal.aborted)return q(new o.DOMException("Aborted","AbortError"));var z=new XMLHttpRequest;function Eo(){z.abort()}z.onload=function(){var At={statusText:z.statusText,headers:ge(z.getAllResponseHeaders()||"")};at.url.indexOf("file://")===0&&(z.status<200||z.status>599)?At.status=200:At.status=z.status,At.url="responseURL"in z?z.responseURL:At.headers.get("X-Request-URL");var sr="response"in z?z.response:z.responseText;setTimeout(function(){k(new Bt(sr,At))},0)},z.onerror=function(){setTimeout(function(){q(new TypeError("Network request failed"))},0)},z.ontimeout=function(){setTimeout(function(){q(new TypeError("Network request timed out"))},0)},z.onabort=function(){setTimeout(function(){q(new o.DOMException("Aborted","AbortError"))},0)};function zi(At){try{return At===""&&i.location.href?i.location.href:At}catch{return At}}if(z.open(at.method,zi(at.url),!0),at.credentials==="include"?z.withCredentials=!0:at.credentials==="omit"&&(z.withCredentials=!1),"responseType"in z&&(n.blob?z.responseType="blob":n.arrayBuffer&&(z.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof m||i.Headers&&v.headers instanceof i.Headers)){var la=[];Object.getOwnPropertyNames(v.headers).forEach(function(At){la.push(f(At)),z.setRequestHeader(At,p(v.headers[At]))}),at.headers.forEach(function(At,sr){la.indexOf(sr)===-1&&z.setRequestHeader(sr,At)})}else at.headers.forEach(function(At,sr){z.setRequestHeader(sr,At)});at.signal&&(at.signal.addEventListener("abort",Eo),z.onreadystatechange=function(){z.readyState===4&&at.signal.removeEventListener("abort",Eo)}),z.send(typeof at._bodyInit>"u"?null:at._bodyInit)})}return Et.polyfill=!0,i.fetch||(i.fetch=Et,i.Headers=m,i.Request=W,i.Response=Bt),o.Headers=m,o.Request=W,o.Response=Bt,o.fetch=Et,o}({})})(Oi);Oi.fetch.ponyfill=!0;delete Oi.fetch.polyfill;var Yr=Si.fetch?Si:Oi;ir=Yr.fetch;ir.default=Yr.fetch;ir.fetch=Yr.fetch;ir.Headers=Yr.Headers;ir.Request=Yr.Request;ir.Response=Yr.Response;ed.exports=ir});var ca=g(R());var Ad=g(B()),Xt=g(Z()),$t=g(R());var ha=g(R()),ya=g(Z());var ee;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(ee||(ee={}));var $d=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},Vi=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Hi=Symbol("registerInterval");function Dd(e){var t;class o extends e{constructor(){super(...arguments),this[t]=0}setReaderStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var n;return(n=this.stateManager)===null||n===void 0?void 0:n.service}connectedCallback(){super.connectedCallback(),this[Hi]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Hi]):this.dispatchEvent(new Vi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=Hi,$d([(0,ya.state)()],o.prototype,"stateManager",void 0),o}var Me=class extends Dd(ha.FtLitElementRedux){};var yt=g(B()),mt=g(Z()),Fi=g(R());var hs=g(B()),J=g(R());var fs=g(B()),M=g(R());var Sa=g(B()),gt=g(R()),ma=gt.FtCssVariableFactory.extend("--ft-ripple-color","",gt.designSystemVariables.colorContent),w={color:ma,backgroundColor:gt.FtCssVariableFactory.extend("--ft-ripple-background-color","",ma),opacityContentOnSurfacePressed:gt.FtCssVariableFactory.external(gt.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:gt.FtCssVariableFactory.external(gt.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:gt.FtCssVariableFactory.external(gt.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:gt.FtCssVariableFactory.external(gt.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:gt.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ga=gt.FtCssVariableFactory.extend("--ft-ripple-color","",gt.designSystemVariables.colorPrimary),ba={color:ga,backgroundColor:gt.FtCssVariableFactory.extend("--ft-ripple-background-color","",ga)},va=gt.FtCssVariableFactory.extend("--ft-ripple-color","",gt.designSystemVariables.colorSecondary),xa={color:va,backgroundColor:gt.FtCssVariableFactory.extend("--ft-ripple-background-color","",va)},Oa=Sa.css`
|
|
3
3
|
:host {
|
|
4
4
|
display: contents;
|
|
5
5
|
}
|
|
@@ -54,19 +54,19 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
57
|
-
background-color: ${
|
|
57
|
+
background-color: ${xa.backgroundColor};
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
61
|
-
background-color: ${
|
|
61
|
+
background-color: ${xa.color};
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
65
|
-
background-color: ${
|
|
65
|
+
background-color: ${ba.backgroundColor};
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
69
|
-
background-color: ${
|
|
69
|
+
background-color: ${ba.color};
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.ft-ripple .ft-ripple--background {
|
|
@@ -111,35 +111,35 @@
|
|
|
111
111
|
opacity: ${w.opacityContentOnSurfacePressed};
|
|
112
112
|
transform: translate(-50%, -50%) scale(1);
|
|
113
113
|
}
|
|
114
|
-
`;var ot=g(B()),A=g(R());var Et=g(B(),1),Ft=t=>typeof t=="string"?(0,Et.unsafeCSS)(t):t,r=class{static create(e,o,i,n){let a=l=>Ft(l??n),s=Et.css`var(${Ft(e)}, ${a(n)})`;return s.name=e,s.description=o,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>Et.css`var(${Ft(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,o,i,n){let a=l=>i.get(l??n),s=Et.css`var(${Ft(e)}, ${a(n)})`;return s.name=e,s.description=o,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>Et.css`var(${Ft(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,o){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Ft(a??e.lastResortDefaultValue()),n=Et.css`var(${Ft(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=o,n.defaultCssValue=i,n.get=a=>Et.css`var(${Ft(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};var c={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Oa={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},Ca={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},wa={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ea={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Aa={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ra={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ia={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Na={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ta={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Dd={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},_a={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ka={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},La={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Pa={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},$a={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Da={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ba={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Ma={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Fa={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ua={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Wa={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},za={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ha={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Va={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ja={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ga={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ao={display:Oa,"title-1":Ca,"title-2":wa,"title-3":Ea,"body-1-regular":Aa,"body-1-medium":Ra,"body-1-semibold":Ia,"body-2-regular":Na,"body-2-medium":Ta,"body-2-medium-underline":Dd,"body-2-semibold":_a,"label-1-medium":ka,"label-1-semibold":La,"label-1-bold":Pa,"label-2-medium":$a,"label-2-semibold":Da,"label-2-bold":Ba,"caption-1-medium":Ma,"caption-1-semibold":Fa,"caption-1-bold":Ua,"caption-2-medium":Wa,"caption-2-semibold":za,"caption-2-bold":Ha,"caption-3-medium":Va,"caption-3-semibold":ja,"caption-3-bold":Ga};var d={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
115
|
-
Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var u={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var Ef={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var Tf={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var $f={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Uf={iconSize:r.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var jf={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",d.contentActionPrimary)};var Yf={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",c.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",d.contentGlobalSubtle)};var tu={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",c.spacing6),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",c.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",c.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",c.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",c.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",d.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",d.contentGlobalSecondary)};var au={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)};var pu={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var mu={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var Su={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Au={backgroundColor:r.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var _u={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Du={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Wu={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Gu={backgroundColor:r.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:r.extend("--ft-popover-gap","",c.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px")};var Xu={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",c.iconSize3)};var rh={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var ah={color1Light:r.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",c.colorRed40),color5Base:r.extend("--ft-chart-5-base","",c.colorRed60),color6Light:r.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",c.colorGray50),color10Base:r.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",c.colorBrand200)};var dh={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var yh={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ft-notice-gap","",c.spacing2),iconSize:r.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly)};var xh={color:r.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",c.spacing3)};var Eh={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",c.spacing3)};var Th={color:r.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",c.spacing3)};var $h={iconSize:r.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",c.spacing8)};var Uh={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)};var Ro;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Ro||(Ro={}));var wr;(function(t){t.large="large",t.medium="medium",t.small="small"})(wr||(wr={}));var Io=g(B());function Ka(t){let e=Ao[t];return Io.css`
|
|
116
|
-
.ft-typography--${(0,Io.unsafeCSS)(
|
|
117
|
-
font-family: ${
|
|
118
|
-
font-size: ${
|
|
119
|
-
font-weight: ${
|
|
120
|
-
letter-spacing: ${
|
|
121
|
-
line-height: ${
|
|
122
|
-
text-transform: ${
|
|
123
|
-
}
|
|
124
|
-
`}var
|
|
114
|
+
`;var oe=g(B()),A=g(R());var Ee=g(B(),1),Fe=e=>typeof e=="string"?(0,Ee.unsafeCSS)(e):e,r=class{static create(t,o,i,n){let a=l=>Fe(l??n),s=Ee.css`var(${Fe(t)}, ${a(n)})`;return s.name=t,s.description=o,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>Ee.css`var(${Fe(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(t,o,i,n){let a=l=>i.get(l??n),s=Ee.css`var(${Fe(t)}, ${a(n)})`;return s.name=t,s.description=o,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>Ee.css`var(${Fe(t)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(t,o){let i=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):Fe(a??t.lastResortDefaultValue()),n=Ee.css`var(${Fe(t.name)}, ${i(t.defaultValue)})`;return n.name=t.name,n.category=t.category,n.fallbackVariable=t.fallbackVariable,n.defaultValue=t.defaultValue,n.context=o,n.defaultCssValue=i,n.get=a=>Ee.css`var(${Fe(t.name)}, ${i(a)})`,n.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>t.lastResortDefaultValue(),n}};var c={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Ca={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},wa={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ea={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Aa={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ra={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ia={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Na={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ta={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},_a={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Bd={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},La={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ka={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Pa={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},$a={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Da={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ba={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ma={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Fa={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ua={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Wa={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},za={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ha={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Va={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ja={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ga={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ka={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ao={display:Ca,"title-1":wa,"title-2":Ea,"title-3":Aa,"body-1-regular":Ra,"body-1-medium":Ia,"body-1-semibold":Na,"body-2-regular":Ta,"body-2-medium":_a,"body-2-medium-underline":Bd,"body-2-semibold":La,"label-1-medium":ka,"label-1-semibold":Pa,"label-1-bold":$a,"label-2-medium":Da,"label-2-semibold":Ba,"label-2-bold":Ma,"caption-1-medium":Fa,"caption-1-semibold":Ua,"caption-1-bold":Wa,"caption-2-medium":za,"caption-2-semibold":Ha,"caption-2-bold":Va,"caption-3-medium":ja,"caption-3-semibold":Ga,"caption-3-bold":Ka};var d={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
115
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var u={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var Af={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var _f={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var Df={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Wf={iconSize:r.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var Gf={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",d.contentActionPrimary)};var Xf={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",c.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",d.contentGlobalSubtle)};var ru={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",c.spacing6),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",c.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",c.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",c.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",c.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",d.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",d.contentGlobalSecondary)};var su={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)};var fu={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var gu={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var Ou={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Ru={backgroundColor:r.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Lu={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Bu={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var zu={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Ku={backgroundColor:r.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:r.extend("--ft-popover-gap","",c.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px")};var Ju={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",c.iconSize3)};var oh={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var sh={color1Light:r.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",c.colorRed40),color5Base:r.extend("--ft-chart-5-base","",c.colorRed60),color6Light:r.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",c.colorGray50),color10Base:r.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",c.colorBrand200)};var ph={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var mh={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ft-notice-gap","",c.spacing2),iconSize:r.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly)};var Sh={color:r.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",c.spacing3)};var Ah={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",c.spacing3)};var _h={color:r.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",c.spacing3)};var Dh={iconSize:r.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",c.spacing8)};var Wh={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)};var Ro;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Ro||(Ro={}));var wr;(function(e){e.large="large",e.medium="medium",e.small="small"})(wr||(wr={}));var Io=g(B());function Za(e){let t=Ao[e];return Io.css`
|
|
116
|
+
.ft-typography--${(0,Io.unsafeCSS)(e)} {
|
|
117
|
+
font-family: ${t.fontFamily};
|
|
118
|
+
font-size: ${t.fontSize};
|
|
119
|
+
font-weight: ${t.fontWeight};
|
|
120
|
+
letter-spacing: ${t.letterSpacing};
|
|
121
|
+
line-height: ${t.lineHeight};
|
|
122
|
+
text-transform: ${t.textCase};
|
|
123
|
+
}
|
|
124
|
+
`}var qa=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.titleFont),Ae=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.contentFont),L={fontFamily:Ae,fontSize:A.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:A.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:A.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:A.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:A.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ue={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-font-family","",qa),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-font-size","",L.fontSize,"20px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",L.letterSpacing,"0.15px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-line-height","",L.lineHeight,"1.2"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",L.textTransform,"inherit")},We={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",qa),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",L.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",L.letterSpacing,"0.105px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",L.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",L.textTransform,"inherit")},Er={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",L.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",L.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",L.letterSpacing,"0.144px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",L.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",L.textTransform,"inherit")},Ar={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",L.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",L.letterSpacing,"0.098px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",L.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",L.textTransform,"inherit")},re={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",L.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",L.letterSpacing,"0.496px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",L.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",L.textTransform,"inherit")},Rr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",L.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",L.letterSpacing,"0.252px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",L.lineHeight,"1.4"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",L.textTransform,"inherit")},ce={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",L.fontSize,"12px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",L.letterSpacing,"0.396px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",L.lineHeight,"1.33"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",L.textTransform,"inherit")},Ir={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",L.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",L.letterSpacing,"0.33px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",L.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",L.textTransform,"inherit")},Nr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",L.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",L.letterSpacing,"1.5px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",L.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",L.textTransform,"uppercase")},Mt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-button-font-size","",L.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",L.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",L.letterSpacing,"1.246px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-button-line-height","",L.lineHeight,"1.15"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",L.textTransform,"uppercase")},Ya=oe.css`
|
|
125
125
|
.ft-typography--title {
|
|
126
|
-
font-family: ${
|
|
127
|
-
font-size: ${
|
|
128
|
-
font-weight: ${
|
|
129
|
-
letter-spacing: ${
|
|
130
|
-
line-height: ${
|
|
131
|
-
text-transform: ${
|
|
132
|
-
}
|
|
133
|
-
`,
|
|
126
|
+
font-family: ${Ue.fontFamily};
|
|
127
|
+
font-size: ${Ue.fontSize};
|
|
128
|
+
font-weight: ${Ue.fontWeight};
|
|
129
|
+
letter-spacing: ${Ue.letterSpacing};
|
|
130
|
+
line-height: ${Ue.lineHeight};
|
|
131
|
+
text-transform: ${Ue.textTransform};
|
|
132
|
+
}
|
|
133
|
+
`,Xa=oe.css`
|
|
134
134
|
.ft-typography--title-dense {
|
|
135
|
-
font-family: ${
|
|
136
|
-
font-size: ${
|
|
137
|
-
font-weight: ${
|
|
138
|
-
letter-spacing: ${
|
|
139
|
-
line-height: ${
|
|
140
|
-
text-transform: ${
|
|
141
|
-
}
|
|
142
|
-
`,
|
|
135
|
+
font-family: ${We.fontFamily};
|
|
136
|
+
font-size: ${We.fontSize};
|
|
137
|
+
font-weight: ${We.fontWeight};
|
|
138
|
+
letter-spacing: ${We.letterSpacing};
|
|
139
|
+
line-height: ${We.lineHeight};
|
|
140
|
+
text-transform: ${We.textTransform};
|
|
141
|
+
}
|
|
142
|
+
`,Ja=oe.css`
|
|
143
143
|
.ft-typography--subtitle1 {
|
|
144
144
|
font-family: ${Er.fontFamily};
|
|
145
145
|
font-size: ${Er.fontSize};
|
|
@@ -148,7 +148,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
148
148
|
line-height: ${Er.lineHeight};
|
|
149
149
|
text-transform: ${Er.textTransform};
|
|
150
150
|
}
|
|
151
|
-
`,
|
|
151
|
+
`,Qa=oe.css`
|
|
152
152
|
.ft-typography--subtitle2 {
|
|
153
153
|
font-family: ${Ar.fontFamily};
|
|
154
154
|
font-size: ${Ar.fontSize};
|
|
@@ -158,16 +158,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
158
158
|
text-transform: ${Ar.textTransform};
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
`,Tr=
|
|
161
|
+
`,Tr=oe.css`
|
|
162
162
|
.ft-typography--body1 {
|
|
163
|
-
font-family: ${
|
|
164
|
-
font-size: ${
|
|
165
|
-
font-weight: ${
|
|
166
|
-
letter-spacing: ${
|
|
167
|
-
line-height: ${
|
|
168
|
-
text-transform: ${
|
|
169
|
-
}
|
|
170
|
-
`,
|
|
163
|
+
font-family: ${re.fontFamily};
|
|
164
|
+
font-size: ${re.fontSize};
|
|
165
|
+
font-weight: ${re.fontWeight};
|
|
166
|
+
letter-spacing: ${re.letterSpacing};
|
|
167
|
+
line-height: ${re.lineHeight};
|
|
168
|
+
text-transform: ${re.textTransform};
|
|
169
|
+
}
|
|
170
|
+
`,ts=oe.css`
|
|
171
171
|
.ft-typography--body2 {
|
|
172
172
|
font-family: ${Rr.fontFamily};
|
|
173
173
|
font-size: ${Rr.fontSize};
|
|
@@ -176,16 +176,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
176
176
|
line-height: ${Rr.lineHeight};
|
|
177
177
|
text-transform: ${Rr.textTransform};
|
|
178
178
|
}
|
|
179
|
-
`,No=
|
|
179
|
+
`,No=oe.css`
|
|
180
180
|
.ft-typography--caption {
|
|
181
|
-
font-family: ${
|
|
182
|
-
font-size: ${
|
|
183
|
-
font-weight: ${
|
|
184
|
-
letter-spacing: ${
|
|
185
|
-
line-height: ${
|
|
186
|
-
text-transform: ${
|
|
187
|
-
}
|
|
188
|
-
`,es=
|
|
181
|
+
font-family: ${ce.fontFamily};
|
|
182
|
+
font-size: ${ce.fontSize};
|
|
183
|
+
font-weight: ${ce.fontWeight};
|
|
184
|
+
letter-spacing: ${ce.letterSpacing};
|
|
185
|
+
line-height: ${ce.lineHeight};
|
|
186
|
+
text-transform: ${ce.textTransform};
|
|
187
|
+
}
|
|
188
|
+
`,es=oe.css`
|
|
189
189
|
.ft-typography--breadcrumb {
|
|
190
190
|
font-family: ${Ir.fontFamily};
|
|
191
191
|
font-size: ${Ir.fontSize};
|
|
@@ -194,7 +194,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
194
194
|
line-height: ${Ir.lineHeight};
|
|
195
195
|
text-transform: ${Ir.textTransform};
|
|
196
196
|
}
|
|
197
|
-
`,
|
|
197
|
+
`,rs=oe.css`
|
|
198
198
|
.ft-typography--overline {
|
|
199
199
|
font-family: ${Nr.fontFamily};
|
|
200
200
|
font-size: ${Nr.fontSize};
|
|
@@ -203,20 +203,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
203
203
|
line-height: ${Nr.lineHeight};
|
|
204
204
|
text-transform: ${Nr.textTransform};
|
|
205
205
|
}
|
|
206
|
-
`,
|
|
206
|
+
`,os=oe.css`
|
|
207
207
|
.ft-typography--button {
|
|
208
|
-
font-family: ${
|
|
209
|
-
font-size: ${
|
|
210
|
-
font-weight: ${
|
|
211
|
-
letter-spacing: ${
|
|
212
|
-
line-height: ${
|
|
213
|
-
text-transform: ${
|
|
214
|
-
}
|
|
215
|
-
`,
|
|
208
|
+
font-family: ${Mt.fontFamily};
|
|
209
|
+
font-size: ${Mt.fontSize};
|
|
210
|
+
font-weight: ${Mt.fontWeight};
|
|
211
|
+
letter-spacing: ${Mt.letterSpacing};
|
|
212
|
+
line-height: ${Mt.lineHeight};
|
|
213
|
+
text-transform: ${Mt.textTransform};
|
|
214
|
+
}
|
|
215
|
+
`,is=oe.css`
|
|
216
216
|
.ft-typography {
|
|
217
217
|
vertical-align: inherit;
|
|
218
218
|
}
|
|
219
|
-
`,
|
|
219
|
+
`,ns=[Object.keys(Ao).map(e=>Za(e))];var as=g(B()),Qr=g(R()),rt={color:Qr.FtCssVariableFactory.extend("--ft-loader-color","",Qr.designSystemVariables.colorPrimary),size:Qr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},ss=as.css`
|
|
220
220
|
:host {
|
|
221
221
|
line-height: 0;
|
|
222
222
|
}
|
|
@@ -225,8 +225,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
225
225
|
display: inline-block;
|
|
226
226
|
position: relative;
|
|
227
227
|
|
|
228
|
-
width: ${
|
|
229
|
-
height: ${
|
|
228
|
+
width: ${rt.size};
|
|
229
|
+
height: ${rt.size};
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
.ft-loader div {
|
|
@@ -235,7 +235,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
235
235
|
width: 25%;
|
|
236
236
|
height: 25%;
|
|
237
237
|
border-radius: 50%;
|
|
238
|
-
background: ${
|
|
238
|
+
background: ${rt.color};
|
|
239
239
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
240
240
|
}
|
|
241
241
|
|
|
@@ -282,10 +282,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
282
282
|
transform: translate(0, 0);
|
|
283
283
|
}
|
|
284
284
|
100% {
|
|
285
|
-
transform: translate(calc(0.35 * ${
|
|
285
|
+
transform: translate(calc(0.35 * ${rt.size}), 0);
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
-
`;var
|
|
288
|
+
`;var cs=g(B()),Re=g(R()),xt={size:Re.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Re.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Re.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Re.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Re.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Re.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Re.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Re.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ls=cs.css`
|
|
289
289
|
:host, i.ft-icon {
|
|
290
290
|
display: inline-flex;
|
|
291
291
|
align-items: center;
|
|
@@ -294,14 +294,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
:host {
|
|
297
|
-
width: ${
|
|
298
|
-
height: ${
|
|
297
|
+
width: ${xt.size};
|
|
298
|
+
height: ${xt.size};
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
i.ft-icon {
|
|
302
302
|
width: 100%;
|
|
303
303
|
height: 100%;
|
|
304
|
-
font-size: ${
|
|
304
|
+
font-size: ${xt.size};
|
|
305
305
|
line-height: 1;
|
|
306
306
|
font-weight: normal;
|
|
307
307
|
text-transform: none;
|
|
@@ -312,28 +312,28 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
312
312
|
text-rendering: auto;
|
|
313
313
|
-webkit-font-smoothing: antialiased;
|
|
314
314
|
-moz-osx-font-smoothing: grayscale;
|
|
315
|
-
vertical-align: ${
|
|
315
|
+
vertical-align: ${xt.verticalAlign};
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
i.ft-icon.ft-icon--fluid-topics {
|
|
319
|
-
font-family: ${
|
|
319
|
+
font-family: ${xt.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
320
320
|
|
|
321
321
|
/* Ugly fix because font is broken */
|
|
322
|
-
font-size: calc(0.75 * ${
|
|
323
|
-
line-height: ${
|
|
322
|
+
font-size: calc(0.75 * ${xt.size});
|
|
323
|
+
line-height: ${xt.size};
|
|
324
324
|
position: relative;
|
|
325
325
|
top: -4%;
|
|
326
326
|
justify-content: center;
|
|
327
327
|
}
|
|
328
328
|
|
|
329
329
|
.ft-icon--file-format {
|
|
330
|
-
font-family: ${
|
|
330
|
+
font-family: ${xt.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
331
331
|
}
|
|
332
332
|
|
|
333
333
|
.ft-icon--material {
|
|
334
|
-
font-family: ${
|
|
334
|
+
font-family: ${xt.materialFontFamily}, "Material Icons", sans-serif;
|
|
335
335
|
}
|
|
336
|
-
`;var
|
|
336
|
+
`;var ds=M.FtCssVariableFactory.extend("--ft-button-color","",M.designSystemVariables.colorPrimary),tt={backgroundColor:M.FtCssVariableFactory.extend("--ft-button-background-color","",M.designSystemVariables.colorSurface),borderRadius:M.FtCssVariableFactory.extend("--ft-button-border-radius","",M.designSystemVariables.borderRadiusL),color:ds,fontSize:M.FtCssVariableFactory.extend("--ft-button-font-size","",Mt.fontSize),iconSize:M.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:M.FtCssVariableFactory.extend("--ft-button-ripple-color","",ds),verticalPadding:M.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:M.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:M.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:M.FtCssVariableFactory.external(M.designSystemVariables.colorOpacityDisabled,"Design system")},ps=M.FtCssVariableFactory.extend("--ft-button-primary-color","",M.FtCssVariableFactory.extend("--ft-button-color","",M.designSystemVariables.colorOnPrimary)),ji={backgroundColor:M.FtCssVariableFactory.extend("--ft-button-primary-background-color","",M.FtCssVariableFactory.extend("--ft-button-background-color","",M.designSystemVariables.colorPrimary)),color:ps,rippleColor:M.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",ps)},ve={borderRadius:M.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",M.FtCssVariableFactory.extend("--ft-button-border-radius","",M.designSystemVariables.borderRadiusM)),verticalPadding:M.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:M.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:M.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},us=[fs.css`
|
|
337
337
|
:host {
|
|
338
338
|
display: inline-block;
|
|
339
339
|
max-width: 100%;
|
|
@@ -344,7 +344,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
344
344
|
box-shadow: 0px 0px 0px transparent;
|
|
345
345
|
border: 0px solid transparent;
|
|
346
346
|
text-shadow: 0px 0px 0px transparent;
|
|
347
|
-
font-size: ${
|
|
347
|
+
font-size: ${tt.fontSize};
|
|
348
348
|
}
|
|
349
349
|
|
|
350
350
|
button:hover {
|
|
@@ -373,31 +373,31 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
373
373
|
border: none;
|
|
374
374
|
pointer-events: auto;
|
|
375
375
|
|
|
376
|
-
--ft-button-internal-line-height: max(calc(${
|
|
377
|
-
--ft-button-internal-color: ${
|
|
378
|
-
${(0,M.setVariable)(
|
|
379
|
-
${(0,M.setVariable)(w.color,
|
|
376
|
+
--ft-button-internal-line-height: max(calc(${tt.fontSize} + 2px), ${tt.iconSize});
|
|
377
|
+
--ft-button-internal-color: ${tt.color};
|
|
378
|
+
${(0,M.setVariable)(xt.size,tt.iconSize)};
|
|
379
|
+
${(0,M.setVariable)(w.color,tt.rippleColor)};
|
|
380
380
|
|
|
381
|
-
border-radius: ${
|
|
382
|
-
padding: ${
|
|
383
|
-
background-color: ${
|
|
381
|
+
border-radius: ${tt.borderRadius};
|
|
382
|
+
padding: ${tt.verticalPadding} ${tt.horizontalPadding};
|
|
383
|
+
background-color: ${tt.backgroundColor};
|
|
384
384
|
color: var(--ft-button-internal-color);
|
|
385
385
|
-webkit-mask-image: radial-gradient(white, black);
|
|
386
386
|
}
|
|
387
387
|
|
|
388
388
|
.ft-button.ft-button--outlined {
|
|
389
389
|
border: 1px solid var(--ft-button-internal-color);
|
|
390
|
-
padding: calc(${
|
|
390
|
+
padding: calc(${tt.verticalPadding} - 1px) calc(${tt.horizontalPadding} - 1px);
|
|
391
391
|
}
|
|
392
392
|
|
|
393
393
|
.ft-button.ft-button--dense {
|
|
394
|
-
padding: ${
|
|
395
|
-
border-radius: ${
|
|
396
|
-
gap: ${
|
|
394
|
+
padding: ${ve.verticalPadding} ${ve.horizontalPadding};
|
|
395
|
+
border-radius: ${ve.borderRadius};
|
|
396
|
+
gap: ${ve.iconPadding};
|
|
397
397
|
}
|
|
398
398
|
|
|
399
399
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
400
|
-
padding: calc(${
|
|
400
|
+
padding: calc(${ve.verticalPadding} - 1px) calc(${ve.horizontalPadding} - 1px);
|
|
401
401
|
}
|
|
402
402
|
|
|
403
403
|
.ft-button:not([disabled]):hover {
|
|
@@ -405,16 +405,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
405
405
|
}
|
|
406
406
|
|
|
407
407
|
.ft-button--round {
|
|
408
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
408
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${tt.verticalPadding});
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
.ft-button--round.ft-button--dense {
|
|
412
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
412
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ve.verticalPadding});
|
|
413
413
|
}
|
|
414
414
|
|
|
415
415
|
.ft-button[disabled] {
|
|
416
416
|
filter: grayscale(1);
|
|
417
|
-
opacity: ${
|
|
417
|
+
opacity: ${tt.opacityDisabled};
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
.ft-button.ft-button--primary {
|
|
@@ -433,13 +433,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
433
433
|
white-space: nowrap;
|
|
434
434
|
text-overflow: ellipsis;
|
|
435
435
|
display: block;
|
|
436
|
-
margin: 0 ${
|
|
437
|
-
${(0,M.setVariable)(
|
|
438
|
-
${(0,M.setVariable)(
|
|
436
|
+
margin: 0 ${tt.iconPadding};
|
|
437
|
+
${(0,M.setVariable)(Mt.fontSize,"1em")};
|
|
438
|
+
${(0,M.setVariable)(Mt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
439
439
|
}
|
|
440
440
|
|
|
441
441
|
.ft-button--dense .ft-button--label {
|
|
442
|
-
margin: 0 ${
|
|
442
|
+
margin: 0 ${ve.iconPadding};
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
.ft-button--label[hidden] {
|
|
@@ -452,13 +452,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
452
452
|
}
|
|
453
453
|
|
|
454
454
|
.ft-button--label[hidden] + [part="icon"] {
|
|
455
|
-
margin: 0 calc(${
|
|
456
|
-
padding: 0 ${
|
|
455
|
+
margin: 0 calc(${tt.horizontalPadding} * -1);
|
|
456
|
+
padding: 0 ${tt.verticalPadding};
|
|
457
457
|
}
|
|
458
458
|
|
|
459
459
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
460
|
-
margin: 0 calc(${
|
|
461
|
-
padding: 0 ${
|
|
460
|
+
margin: 0 calc(${ve.horizontalPadding} * -1);
|
|
461
|
+
padding: 0 ${ve.verticalPadding};
|
|
462
462
|
}
|
|
463
463
|
|
|
464
464
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -466,10 +466,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
466
466
|
}
|
|
467
467
|
|
|
468
468
|
ft-loader {
|
|
469
|
-
${(0,M.setVariable)(
|
|
470
|
-
${(0,M.setVariable)(
|
|
469
|
+
${(0,M.setVariable)(rt.size,tt.iconSize)};
|
|
470
|
+
${(0,M.setVariable)(rt.color,"var(--ft-button-internal-color)")};
|
|
471
471
|
}
|
|
472
|
-
`,M.noTextSelect];var
|
|
472
|
+
`,M.noTextSelect];var st=g(R());var ct={textColor:st.FtCssVariableFactory.extend("--ft-switch-text-color","",st.designSystemVariables.colorOnSurfaceHigh),backgroundColor:st.FtCssVariableFactory.extend("--ft-switch-background-color","",st.designSystemVariables.colorSurface),selectedTextColor:st.FtCssVariableFactory.extend("--ft-switch-selected-text-color","",st.designSystemVariables.colorPrimary),selectedBackgroundColor:st.FtCssVariableFactory.extend("--ft-switch-selected-background-color","",st.designSystemVariables.colorPrimary),borderColor:st.FtCssVariableFactory.extend("--ft-switch-border-color","",st.designSystemVariables.colorOutline),borderRadius:st.FtCssVariableFactory.extend("--ft-switch-border-radius","",st.designSystemVariables.borderRadiusL),fontSize:st.FtCssVariableFactory.extend("--ft-switch-font-size","",Mt.fontSize),iconSize:st.FtCssVariableFactory.create("--ft-switch-icon-size","","SIZE","24px"),iconColor:st.FtCssVariableFactory.extend("--ft-switch-text-color","",st.designSystemVariables.colorOnSurfaceMedium),rippleColor:st.FtCssVariableFactory.extend("--ft-switch-ripple-color","",st.designSystemVariables.colorPrimary),outlineColor:st.FtCssVariableFactory.extend("--ft-switch-outline-color","",st.designSystemVariables.colorPrimary)};var xe={feedbackInputMinWidth:J.FtCssVariableFactory.create("--ft-reader-feedback-input-min-width","","SIZE","300px"),ratedDateColor:J.FtCssVariableFactory.external(J.designSystemVariables.colorOnSurfaceMedium,"Design system"),sendFeedbackColor:J.FtCssVariableFactory.extend("--ft-reader-feedback-send-feedback-color","",J.designSystemVariables.colorOnPrimary),sendFeedbackBackgroundColor:J.FtCssVariableFactory.extend("--ft-reader-feedback-send-feedback-background-color","",J.designSystemVariables.colorPrimary),filledRatingColor:J.FtCssVariableFactory.extend("--ft-reader-feedback-filled-rating-color","",J.designSystemVariables.colorPrimary),emptyRatingColor:J.FtCssVariableFactory.extend("--ft-reader-feedback-empty-rating-color","",J.designSystemVariables.colorOnSurfaceMedium),mainTitleFontSize:J.FtCssVariableFactory.external(Ue.fontSize,"Typography"),sectionTitleFontSize:J.FtCssVariableFactory.external(We.fontSize,"Typography"),starsBackgroundColor:J.FtCssVariableFactory.create("--ft-reader-feedback-stars-background-color","","COLOR",J.designSystemVariables.colorSurface)},ys=hs.css`
|
|
473
473
|
.ft-reader-feedback {
|
|
474
474
|
box-sizing: border-box;
|
|
475
475
|
display: flex;
|
|
@@ -482,7 +482,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
482
482
|
flex-direction: row;
|
|
483
483
|
align-items: center;
|
|
484
484
|
margin-left: -6px;
|
|
485
|
-
${(0,J.setVariable)(
|
|
485
|
+
${(0,J.setVariable)(tt.backgroundColor,xe.starsBackgroundColor)}
|
|
486
486
|
}
|
|
487
487
|
|
|
488
488
|
.ft-reader-feedback--rating, .ft-reader-feedback--feedback {
|
|
@@ -495,14 +495,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
.ft-reader-feedback--rating {
|
|
498
|
-
${(0,J.setVariable)(
|
|
499
|
-
${(0,J.setVariable)(
|
|
500
|
-
${(0,J.setVariable)(
|
|
501
|
-
${(0,J.setVariable)(
|
|
498
|
+
${(0,J.setVariable)(tt.color,xe.emptyRatingColor)};
|
|
499
|
+
${(0,J.setVariable)(tt.rippleColor,xe.filledRatingColor)};
|
|
500
|
+
${(0,J.setVariable)(ct.textColor,xe.emptyRatingColor)};
|
|
501
|
+
${(0,J.setVariable)(ct.selectedTextColor,xe.filledRatingColor)};
|
|
502
502
|
}
|
|
503
503
|
|
|
504
504
|
.ft-reader-feedback--rating .ft-reader-feedback--active {
|
|
505
|
-
${(0,J.setVariable)(
|
|
505
|
+
${(0,J.setVariable)(tt.color,xe.filledRatingColor)};
|
|
506
506
|
}
|
|
507
507
|
|
|
508
508
|
.ft-reader-feedback--feedback {
|
|
@@ -510,43 +510,43 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
510
510
|
}
|
|
511
511
|
|
|
512
512
|
.ft-reader-feedback--rating-date {
|
|
513
|
-
color: ${
|
|
513
|
+
color: ${xe.ratedDateColor};
|
|
514
514
|
}
|
|
515
515
|
|
|
516
516
|
.ft-reader-feedback--feedback ft-text-area {
|
|
517
|
-
min-width: ${
|
|
517
|
+
min-width: ${xe.feedbackInputMinWidth};
|
|
518
518
|
}
|
|
519
519
|
|
|
520
520
|
.ft-reader-feedback--send-feedback, .ft-reader-feedback--feedback-link {
|
|
521
|
-
${(0,J.setVariable)(
|
|
522
|
-
${(0,J.setVariable)(
|
|
521
|
+
${(0,J.setVariable)(tt.color,xe.sendFeedbackColor)};
|
|
522
|
+
${(0,J.setVariable)(tt.backgroundColor,xe.sendFeedbackBackgroundColor)};
|
|
523
523
|
}
|
|
524
524
|
|
|
525
525
|
[part="buttons-container"] {
|
|
526
526
|
align-self: flex-end;
|
|
527
527
|
}
|
|
528
|
-
`;var
|
|
529
|
-
\f\r]`,
|
|
530
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),
|
|
528
|
+
`;var $s=g(R());var Ji=globalThis,To=Ji.trustedTypes,ms=To?To.createPolicy("lit-html",{createHTML:e=>e}):void 0,Os="$lit$",ze=`lit$${(Math.random()+"").slice(9)}$`,Cs="?"+ze,Md=`<${Cs}>`,pr=document,_o=()=>pr.createComment(""),eo=e=>e===null||typeof e!="object"&&typeof e!="function",ws=Array.isArray,Fd=e=>ws(e)||typeof e?.[Symbol.iterator]=="function",Gi=`[
|
|
529
|
+
\f\r]`,to=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,gs=/-->/g,bs=/>/g,lr=RegExp(`>|${Gi}(?:([^\\s"'>=/]+)(${Gi}*=${Gi}*(?:[^
|
|
530
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),vs=/'/g,xs=/"/g,Es=/^(?:script|style|textarea|title)$/i,As=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Rs=As(1),Is=As(2),ro=Symbol.for("lit-noChange"),bt=Symbol.for("lit-nothing"),Ss=new WeakMap,dr=pr.createTreeWalker(pr,129);function Ns(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ms!==void 0?ms.createHTML(t):t}var Ud=(e,t)=>{let o=e.length-1,i=[],n,a=t===2?"<svg>":"",s=to;for(let l=0;l<o;l++){let f=e[l],p,h,m=-1,b=0;for(;b<f.length&&(s.lastIndex=b,h=s.exec(f),h!==null);)b=s.lastIndex,s===to?h[1]==="!--"?s=gs:h[1]!==void 0?s=bs:h[2]!==void 0?(Es.test(h[2])&&(n=RegExp("</"+h[2],"g")),s=lr):h[3]!==void 0&&(s=lr):s===lr?h[0]===">"?(s=n??to,m=-1):h[1]===void 0?m=-2:(m=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?lr:h[3]==='"'?xs:vs):s===xs||s===vs?s=lr:s===gs||s===bs?s=to:(s=lr,n=void 0);let x=s===lr&&e[l+1].startsWith("/>")?" ":"";a+=s===to?f+Md:m>=0?(i.push(p),f.slice(0,m)+Os+f.slice(m)+ze+x):f+ze+(m===-2?l:x)}return[Ns(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),i]},oo=class e{constructor({strings:t,_$litType$:o},i){let n;this.parts=[];let a=0,s=0,l=t.length-1,f=this.parts,[p,h]=Ud(t,o);if(this.el=e.createElement(p,i),dr.currentNode=this.el.content,o===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(n=dr.nextNode())!==null&&f.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let m of n.getAttributeNames())if(m.endsWith(Os)){let b=h[s++],x=n.getAttribute(m).split(ze),S=/([.?@])?(.*)/.exec(b);f.push({type:1,index:a,name:S[2],strings:x,ctor:S[1]==="."?Zi:S[1]==="?"?qi:S[1]==="@"?Yi:Lr}),n.removeAttribute(m)}else m.startsWith(ze)&&(f.push({type:6,index:a}),n.removeAttribute(m));if(Es.test(n.tagName)){let m=n.textContent.split(ze),b=m.length-1;if(b>0){n.textContent=To?To.emptyScript:"";for(let x=0;x<b;x++)n.append(m[x],_o()),dr.nextNode(),f.push({type:2,index:++a});n.append(m[b],_o())}}}else if(n.nodeType===8)if(n.data===Cs)f.push({type:2,index:a});else{let m=-1;for(;(m=n.data.indexOf(ze,m+1))!==-1;)f.push({type:7,index:a}),m+=ze.length-1}a++}}static createElement(t,o){let i=pr.createElement("template");return i.innerHTML=t,i}};function _r(e,t,o=e,i){if(t===ro)return t;let n=i!==void 0?o._$Co?.[i]:o._$Cl,a=eo(t)?void 0:t._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(e),n._$AT(e,o,i)),i!==void 0?(o._$Co??=[])[i]=n:o._$Cl=n),n!==void 0&&(t=_r(e,n._$AS(e,t.values),n,i)),t}var Ki=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:i}=this._$AD,n=(t?.creationScope??pr).importNode(o,!0);dr.currentNode=n;let a=dr.nextNode(),s=0,l=0,f=i[0];for(;f!==void 0;){if(s===f.index){let p;f.type===2?p=new Lo(a,a.nextSibling,this,t):f.type===1?p=new f.ctor(a,f.name,f.strings,this,t):f.type===6&&(p=new Xi(a,this,t)),this._$AV.push(p),f=i[++l]}s!==f?.index&&(a=dr.nextNode(),s++)}return dr.currentNode=pr,n}p(t){let o=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,o),o+=i.strings.length-2):i._$AI(t[o])),o++}},Lo=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,i,n){this.type=2,this._$AH=bt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=_r(this,t,o),eo(t)?t===bt||t==null||t===""?(this._$AH!==bt&&this._$AR(),this._$AH=bt):t!==this._$AH&&t!==ro&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Fd(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==bt&&eo(this._$AH)?this._$AA.nextSibling.data=t:this.$(pr.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:i}=t,n=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=oo.createElement(Ns(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(o);else{let a=new Ki(n,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=Ss.get(t.strings);return o===void 0&&Ss.set(t.strings,o=new oo(t)),o}T(t){ws(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,i,n=0;for(let a of t)n===o.length?o.push(i=new e(this.k(_o()),this.k(_o()),this,this.options)):i=o[n],i._$AI(a),n++;n<o.length&&(this._$AR(i&&i._$AB.nextSibling,n),o.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let i=t.nextSibling;t.remove(),t=i}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Lr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,i,n,a){this.type=1,this._$AH=bt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=bt}_$AI(t,o=this,i,n){let a=this.strings,s=!1;if(a===void 0)t=_r(this,t,o,0),s=!eo(t)||t!==this._$AH&&t!==ro,s&&(this._$AH=t);else{let l=t,f,p;for(t=a[0],f=0;f<a.length-1;f++)p=_r(this,l[i+f],o,f),p===ro&&(p=this._$AH[f]),s||=!eo(p)||p!==this._$AH[f],p===bt?t=bt:t!==bt&&(t+=(p??"")+a[f+1]),this._$AH[f]=p}s&&!n&&this.O(t)}O(t){t===bt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Zi=class extends Lr{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===bt?void 0:t}},qi=class extends Lr{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==bt)}},Yi=class extends Lr{constructor(t,o,i,n,a){super(t,o,i,n,a),this.type=5}_$AI(t,o=this){if((t=_r(this,t,o,0)??bt)===ro)return;let i=this._$AH,n=t===bt&&i!==bt||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,a=t!==bt&&(i===bt||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Xi=class{constructor(t,o,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){_r(this,t)}};var Wd=Ji.litHtmlPolyfillSupport;Wd?.(oo,Lo),(Ji.litHtmlVersions??=[]).push("3.1.0");var _s=Symbol.for(""),zd=e=>{if(e?.r===_s)return e?._$litStatic$},Qi=e=>({_$litStatic$:e,r:_s});var Ts=new Map,Ls=e=>(t,...o)=>{let i=o.length,n,a,s=[],l=[],f,p=0,h=!1;for(;p<i;){for(f=t[p];p<i&&(a=o[p],(n=zd(a))!==void 0);)f+=n+t[++p],h=!0;p!==i&&l.push(a),s.push(f),p++}if(p===i&&s.push(t[i]),h){let m=s.join("$$lit$$");(t=Ts.get(m))===void 0&&(s.raw=s,Ts.set(m,t=s)),o=l}return e(t,...o)},tn=Ls(Rs),ym=Ls(Is);var en=g(Z()),Ps=g(R());var He;(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"})(He||(He={}));var ks=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},pt=class extends Ps.FtLitElement{constructor(){super(...arguments),this.variant=He.body1}render(){return this.element?tn`
|
|
531
531
|
<${Qi(this.element)}
|
|
532
532
|
part="text"
|
|
533
533
|
class="ft-typography ft-typography--${this.variant}">
|
|
534
534
|
<slot></slot>
|
|
535
535
|
</${Qi(this.element)}>
|
|
536
|
-
`:
|
|
536
|
+
`:tn`
|
|
537
537
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
538
|
-
`}};
|
|
538
|
+
`}};pt.styles=[Ya,Xa,Ja,Qa,Tr,ts,No,es,rs,os,is,...ns];ks([(0,en.property)()],pt.prototype,"element",void 0);ks([(0,en.property)()],pt.prototype,"variant",void 0);(0,$s.customElement)("ft-typography")(pt);var mn=g(R());var Wo=g(B()),Oe=g(Z()),xc=g(Ve()),Le=g(R());var Br=g(B()),Kt=g(Z()),Mr=g(R());var Fs=g(R());var Bs=g(B()),Rt=g(Z()),Ms=g(Ve()),io=g(R());var Vt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},j=class extends io.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 io.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new io.Debouncer(10),this.moveRipple=t=>{var o,i;let{x:n,y:a}=this.getCoordinates(t),s=(i=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Bs.html`
|
|
539
539
|
<style>
|
|
540
540
|
.ft-ripple .ft-ripple--effect {
|
|
541
541
|
left: ${this.originX}px;
|
|
542
542
|
top: ${this.originY}px;
|
|
543
543
|
}
|
|
544
544
|
</style>
|
|
545
|
-
<div class="${(0,
|
|
545
|
+
<div class="${(0,Ms.classMap)(t)}">
|
|
546
546
|
<div class="ft-ripple--background"></div>
|
|
547
547
|
<div class="ft-ripple--effect"></div>
|
|
548
548
|
</div>
|
|
549
|
-
`}contentAvailableCallback(
|
|
549
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,i;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,o;let i=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;i&&this.setupFor((o=this.target)!==null&&o!==void 0?o:i)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>f=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(f)},i=o("mouseup","contextmenu"),n=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",i,s),t.addEventListener("touchstart",n,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",i,s),t.removeEventListener("touchstart",n,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,i=t,n,a;return o.x!=null?{x:n,y:a}=o:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};j.elementDefinitions={};j.styles=Oa;Vt([(0,Rt.property)({type:Boolean})],j.prototype,"primary",void 0);Vt([(0,Rt.property)({type:Boolean})],j.prototype,"secondary",void 0);Vt([(0,Rt.property)({type:Boolean})],j.prototype,"unbounded",void 0);Vt([(0,Rt.property)({type:Boolean})],j.prototype,"activated",void 0);Vt([(0,Rt.property)({type:Boolean})],j.prototype,"selected",void 0);Vt([(0,Rt.property)({type:Boolean})],j.prototype,"disabled",void 0);Vt([(0,Rt.state)()],j.prototype,"hovered",void 0);Vt([(0,Rt.state)()],j.prototype,"focused",void 0);Vt([(0,Rt.state)()],j.prototype,"pressed",void 0);Vt([(0,Rt.state)()],j.prototype,"rippling",void 0);Vt([(0,Rt.state)()],j.prototype,"originX",void 0);Vt([(0,Rt.state)()],j.prototype,"originY",void 0);Vt([(0,Rt.query)(".ft-ripple")],j.prototype,"ripple",void 0);Vt([(0,Rt.query)(".ft-ripple--effect")],j.prototype,"rippleEffect",void 0);(0,Fs.customElement)("ft-ripple")(j);var vc=g(Ve());var pc=g(R());var dc=g(B()),St=g(Z()),po=g(R());var Us=g(B()),Ie=g(R()),kr={distance:Ie.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Ie.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ie.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ie.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ie.FtCssVariableFactory.external(Ie.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Ie.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Ws=Us.css`
|
|
550
550
|
.ft-tooltip--container {
|
|
551
551
|
display: block;
|
|
552
552
|
}
|
|
@@ -561,21 +561,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
561
561
|
box-sizing: border-box;
|
|
562
562
|
overflow: hidden;
|
|
563
563
|
width: max-content;
|
|
564
|
-
max-width: ${
|
|
564
|
+
max-width: ${kr.maxWidth};
|
|
565
565
|
text-align: center;
|
|
566
|
-
padding: ${
|
|
567
|
-
z-index: ${
|
|
566
|
+
padding: ${kr.distance};
|
|
567
|
+
z-index: ${kr.zIndex};
|
|
568
568
|
}
|
|
569
569
|
|
|
570
570
|
.ft-tooltip--content {
|
|
571
571
|
padding: 4px 8px;
|
|
572
|
-
border-radius: ${
|
|
573
|
-
background-color: ${
|
|
574
|
-
color: ${
|
|
572
|
+
border-radius: ${kr.borderRadiusS};
|
|
573
|
+
background-color: ${kr.backgroundColor};
|
|
574
|
+
color: ${kr.color};
|
|
575
575
|
position: relative;
|
|
576
576
|
word-break: break-word;
|
|
577
577
|
}
|
|
578
|
-
`;var zs=["top","right","bottom","left"],Ws=["start","end"],on=zs.reduce((t,e)=>t.concat(e,e+"-"+Ws[0],e+"-"+Ws[1]),[]),no=Math.min,jt=Math.max,ao=Math.round;var Nt=t=>({x:t,y:t}),zd={left:"right",right:"left",bottom:"top",top:"bottom"},Hd={start:"end",end:"start"};function nn(t,e,o){return jt(t,no(e,o))}function Lo(t,e){return typeof t=="function"?t(e):t}function Pr(t){return t.split("-")[0]}function Gt(t){return t.split("-")[1]}function an(t){return t==="x"?"y":"x"}function sn(t){return t==="y"?"height":"width"}function Po(t){return["top","bottom"].includes(Pr(t))?"y":"x"}function cn(t){return an(Po(t))}function Hs(t,e,o){o===void 0&&(o=!1);let i=Gt(t),n=cn(t),a=sn(n),s=n==="x"?i===(o?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=rn(s)),[s,rn(s)]}function Vs(t){return t.replace(/start|end/g,e=>Hd[e])}function rn(t){return t.replace(/left|right|bottom|top/g,e=>zd[e])}function Vd(t){return{top:0,right:0,bottom:0,left:0,...t}}function js(t){return typeof t!="number"?Vd(t):{top:t,right:t,bottom:t,left:t}}function fr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Gs(t,e,o){let{reference:i,floating:n}=t,a=Po(e),s=cn(e),l=sn(s),p=Pr(e),f=a==="y",y=i.x+i.width/2-n.width/2,m=i.y+i.height/2-n.height/2,b=i[l]/2-n[l]/2,x;switch(p){case"top":x={x:y,y:i.y-n.height};break;case"bottom":x={x:y,y:i.y+i.height};break;case"right":x={x:i.x+i.width,y:m};break;case"left":x={x:i.x-n.width,y:m};break;default:x={x:i.x,y:i.y}}switch(Gt(e)){case"start":x[s]-=b*(o&&f?-1:1);break;case"end":x[s]+=b*(o&&f?-1:1);break}return x}var Ks=async(t,e,o)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=o,l=a.filter(Boolean),p=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:y,y:m}=Gs(f,i,p),b=i,x={},S=0;for(let O=0;O<l.length;O++){let{name:_,fn:I}=l[O],{x:N,y:D,data:F,reset:W}=await I({x:y,y:m,initialPlacement:i,placement:b,strategy:n,middlewareData:x,rects:f,platform:s,elements:{reference:t,floating:e}});if(y=N??y,m=D??m,x={...x,[_]:{...x[_],...F}},W&&S<=50){S++,typeof W=="object"&&(W.placement&&(b=W.placement),W.rects&&(f=W.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):W.rects),{x:y,y:m}=Gs(f,b,p)),O=-1;continue}}return{x:y,y:m,placement:b,strategy:n,middlewareData:x}};async function ln(t,e){var o;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:p}=t,{boundary:f="clippingAncestors",rootBoundary:y="viewport",elementContext:m="floating",altBoundary:b=!1,padding:x=0}=Lo(e,t),S=js(x),_=l[b?m==="floating"?"reference":"floating":m],I=fr(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(_)))==null||o?_:_.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:f,rootBoundary:y,strategy:p})),N=m==="floating"?{...s.floating,x:i,y:n}:s.reference,D=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),F=await(a.isElement==null?void 0:a.isElement(D))?await(a.getScale==null?void 0:a.getScale(D))||{x:1,y:1}:{x:1,y:1},W=fr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:N,offsetParent:D,strategy:p}):N);return{top:(I.top-W.top+S.top)/F.y,bottom:(W.bottom-I.bottom+S.bottom)/F.y,left:(I.left-W.left+S.left)/F.x,right:(W.right-I.right+S.right)/F.x}}function jd(t,e,o){return(t?[...o.filter(n=>Gt(n)===t),...o.filter(n=>Gt(n)!==t)]:o.filter(n=>Pr(n)===n)).filter(n=>t?Gt(n)===t||(e?Vs(n)!==n:!1):!0)}var dn=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,n;let{rects:a,middlewareData:s,placement:l,platform:p,elements:f}=e,{crossAxis:y=!1,alignment:m,allowedPlacements:b=on,autoAlignment:x=!0,...S}=Lo(t,e),O=m!==void 0||b===on?jd(m||null,x,b):b,_=await ln(e,S),I=((o=s.autoPlacement)==null?void 0:o.index)||0,N=O[I];if(N==null)return{};let D=Hs(N,a,await(p.isRTL==null?void 0:p.isRTL(f.floating)));if(l!==N)return{reset:{placement:O[0]}};let F=[_[Pr(N)],_[D[0]],_[D[1]]],W=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:N,overflows:F}],He=O[I+1];if(He)return{data:{index:I+1,overflows:W},reset:{placement:He}};let gt=W.map(Ee=>{let h=Gt(Ee.placement);return[Ee.placement,h&&y?Ee.overflows.slice(0,2).reduce((v,L)=>v+L,0):Ee.overflows[0],Ee.overflows]}).sort((Ee,h)=>Ee[1]-h[1]),bt=((n=gt.filter(Ee=>Ee[2].slice(0,Gt(Ee[0])?2:3).every(h=>h<=0))[0])==null?void 0:n[0])||gt[0][0];return bt!==l?{data:{index:I+1,overflows:W},reset:{placement:bt}}:{}}}};var pn=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:_=>{let{x:I,y:N}=_;return{x:I,y:N}}},...p}=Lo(t,e),f={x:o,y:i},y=await ln(e,p),m=Po(Pr(n)),b=an(m),x=f[b],S=f[m];if(a){let _=b==="y"?"top":"left",I=b==="y"?"bottom":"right",N=x+y[_],D=x-y[I];x=nn(N,x,D)}if(s){let _=m==="y"?"top":"left",I=m==="y"?"bottom":"right",N=S+y[_],D=S-y[I];S=nn(N,S,D)}let O=l.fn({...e,[b]:x,[m]:S});return{...O,data:{x:O.x-o,y:O.y-i}}}}};function Tt(t){return qs(t)?(t.nodeName||"").toLowerCase():"#document"}function je(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function _t(t){var e;return(e=(qs(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function qs(t){return t instanceof Node||t instanceof je(t).Node}function St(t){return t instanceof Element||t instanceof je(t).Element}function lt(t){return t instanceof HTMLElement||t instanceof je(t).HTMLElement}function Zs(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof je(t).ShadowRoot}function $r(t){let{overflow:e,overflowX:o,overflowY:i,display:n}=Qe(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(n)}function Ys(t){return["table","td","th"].includes(Tt(t))}function Do(t){let e=Bo(),o=Qe(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(o.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(o.contain||"").includes(i))}function Xs(t){let e=ur(t);for(;lt(e)&&!so(e);){if(Do(e))return e;e=ur(e)}return null}function Bo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function so(t){return["html","body","#document"].includes(Tt(t))}function Qe(t){return je(t).getComputedStyle(t)}function co(t){return St(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ur(t){if(Tt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Zs(t)&&t.host||_t(t);return Zs(e)?e.host:e}function Js(t){let e=ur(t);return so(e)?t.ownerDocument?t.ownerDocument.body:t.body:lt(e)&&$r(e)?e:Js(e)}function $o(t,e,o){var i;e===void 0&&(e=[]),o===void 0&&(o=!0);let n=Js(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=je(n);return a?e.concat(s,s.visualViewport||[],$r(n)?n:[],s.frameElement&&o?$o(s.frameElement):[]):e.concat(n,$o(n,[],o))}function tc(t){let e=Qe(t),o=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=lt(t),a=n?t.offsetWidth:o,s=n?t.offsetHeight:i,l=ao(o)!==a||ao(i)!==s;return l&&(o=a,i=s),{width:o,height:i,$:l}}function rc(t){return St(t)?t:t.contextElement}function Dr(t){let e=rc(t);if(!lt(e))return Nt(1);let o=e.getBoundingClientRect(),{width:i,height:n,$:a}=tc(e),s=(a?ao(o.width):o.width)/i,l=(a?ao(o.height):o.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Zd=Nt(0);function oc(t){let e=je(t);return!Bo()||!e.visualViewport?Zd:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function qd(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==je(t)?!1:e}function lo(t,e,o,i){e===void 0&&(e=!1),o===void 0&&(o=!1);let n=t.getBoundingClientRect(),a=rc(t),s=Nt(1);e&&(i?St(i)&&(s=Dr(i)):s=Dr(t));let l=qd(a,o,i)?oc(a):Nt(0),p=(n.left+l.x)/s.x,f=(n.top+l.y)/s.y,y=n.width/s.x,m=n.height/s.y;if(a){let b=je(a),x=i&&St(i)?je(i):i,S=b.frameElement;for(;S&&i&&x!==b;){let O=Dr(S),_=S.getBoundingClientRect(),I=Qe(S),N=_.left+(S.clientLeft+parseFloat(I.paddingLeft))*O.x,D=_.top+(S.clientTop+parseFloat(I.paddingTop))*O.y;p*=O.x,f*=O.y,y*=O.x,m*=O.y,p+=N,f+=D,S=je(S).frameElement}}return fr({width:y,height:m,x:p,y:f})}function Yd(t){let{rect:e,offsetParent:o,strategy:i}=t,n=lt(o),a=_t(o);if(o===a)return e;let s={scrollLeft:0,scrollTop:0},l=Nt(1),p=Nt(0);if((n||!n&&i!=="fixed")&&((Tt(o)!=="body"||$r(a))&&(s=co(o)),lt(o))){let f=lo(o);l=Dr(o),p.x=f.x+o.clientLeft,p.y=f.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+p.x,y:e.y*l.y-s.scrollTop*l.y+p.y}}function Xd(t){return Array.from(t.getClientRects())}function ic(t){return lo(_t(t)).left+co(t).scrollLeft}function Jd(t){let e=_t(t),o=co(t),i=t.ownerDocument.body,n=jt(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=jt(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-o.scrollLeft+ic(t),l=-o.scrollTop;return Qe(i).direction==="rtl"&&(s+=jt(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function Qd(t,e){let o=je(t),i=_t(t),n=o.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,p=0;if(n){a=n.width,s=n.height;let f=Bo();(!f||f&&e==="fixed")&&(l=n.offsetLeft,p=n.offsetTop)}return{width:a,height:s,x:l,y:p}}function ep(t,e){let o=lo(t,!0,e==="fixed"),i=o.top+t.clientTop,n=o.left+t.clientLeft,a=lt(t)?Dr(t):Nt(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,p=n*a.x,f=i*a.y;return{width:s,height:l,x:p,y:f}}function Qs(t,e,o){let i;if(e==="viewport")i=Qd(t,o);else if(e==="document")i=Jd(_t(t));else if(St(e))i=ep(e,o);else{let n=oc(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return fr(i)}function nc(t,e){let o=ur(t);return o===e||!St(o)||so(o)?!1:Qe(o).position==="fixed"||nc(o,e)}function tp(t,e){let o=e.get(t);if(o)return o;let i=$o(t,[],!1).filter(l=>St(l)&&Tt(l)!=="body"),n=null,a=Qe(t).position==="fixed",s=a?ur(t):t;for(;St(s)&&!so(s);){let l=Qe(s),p=Do(s);!p&&l.position==="fixed"&&(n=null),(a?!p&&!n:!p&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||$r(s)&&!p&&nc(t,s))?i=i.filter(y=>y!==s):n=l,s=ur(s)}return e.set(t,i),i}function rp(t){let{element:e,boundary:o,rootBoundary:i,strategy:n}=t,s=[...o==="clippingAncestors"?tp(e,this._c):[].concat(o),i],l=s[0],p=s.reduce((f,y)=>{let m=Qs(e,y,n);return f.top=jt(m.top,f.top),f.right=no(m.right,f.right),f.bottom=no(m.bottom,f.bottom),f.left=jt(m.left,f.left),f},Qs(e,l,n));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function op(t){return tc(t)}function ip(t,e,o){let i=lt(e),n=_t(e),a=o==="fixed",s=lo(t,!0,a,e),l={scrollLeft:0,scrollTop:0},p=Nt(0);if(i||!i&&!a)if((Tt(e)!=="body"||$r(n))&&(l=co(e)),i){let f=lo(e,!0,a,e);p.x=f.x+e.clientLeft,p.y=f.y+e.clientTop}else n&&(p.x=ic(n));return{x:s.left+l.scrollLeft-p.x,y:s.top+l.scrollTop-p.y,width:s.width,height:s.height}}function ec(t,e){return!lt(t)||Qe(t).position==="fixed"?null:e?e(t):t.offsetParent}function ac(t,e){let o=je(t);if(!lt(t))return o;let i=ec(t,e);for(;i&&Ys(i)&&Qe(i).position==="static";)i=ec(i,e);return i&&(Tt(i)==="html"||Tt(i)==="body"&&Qe(i).position==="static"&&!Do(i))?o:i||Xs(t)||o}var np=async function(t){let{reference:e,floating:o,strategy:i}=t,n=this.getOffsetParent||ac,a=this.getDimensions;return{reference:ip(e,await n(o),i),floating:{x:0,y:0,...await a(o)}}};function ap(t){return Qe(t).direction==="rtl"}var Mo={convertOffsetParentRelativeRectToViewportRelativeRect:Yd,getDocumentElement:_t,getClippingRect:rp,getOffsetParent:ac,getElementRects:np,getClientRects:Xd,getDimensions:op,getScale:Dr,isElement:St,isRTL:ap};var sc=(t,e,o)=>{let i=new Map,n={platform:Mo,...o},a={...n.platform,_c:i};return Ks(t,e,{...n,platform:a})};function cc(t){return sp(t)}function fn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function sp(t){for(let e=t;e;e=fn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=fn(t);e;e=fn(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Fo(t,e,o){return sc(t,e,{platform:{...Mo,getOffsetParent:i=>Mo.getOffsetParent(i,cc)},middleware:[pn({crossAxis:!0}),dn({allowedPlacements:[o]})]})}var Ge=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},oe=class extends po.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new po.Debouncer,this.revealDebouncer=new po.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return lc.html`
|
|
578
|
+
`;var Hs=["top","right","bottom","left"],zs=["start","end"],on=Hs.reduce((e,t)=>e.concat(t,t+"-"+zs[0],t+"-"+zs[1]),[]),no=Math.min,je=Math.max,ao=Math.round;var Ne=e=>({x:e,y:e}),Hd={left:"right",right:"left",bottom:"top",top:"bottom"},Vd={start:"end",end:"start"};function nn(e,t,o){return je(e,no(t,o))}function ko(e,t){return typeof e=="function"?e(t):e}function Pr(e){return e.split("-")[0]}function Ge(e){return e.split("-")[1]}function an(e){return e==="x"?"y":"x"}function sn(e){return e==="y"?"height":"width"}function Po(e){return["top","bottom"].includes(Pr(e))?"y":"x"}function cn(e){return an(Po(e))}function Vs(e,t,o){o===void 0&&(o=!1);let i=Ge(e),n=cn(e),a=sn(n),s=n==="x"?i===(o?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=rn(s)),[s,rn(s)]}function js(e){return e.replace(/start|end/g,t=>Vd[t])}function rn(e){return e.replace(/left|right|bottom|top/g,t=>Hd[t])}function jd(e){return{top:0,right:0,bottom:0,left:0,...e}}function Gs(e){return typeof e!="number"?jd(e):{top:e,right:e,bottom:e,left:e}}function fr(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Ks(e,t,o){let{reference:i,floating:n}=e,a=Po(t),s=cn(t),l=sn(s),f=Pr(t),p=a==="y",h=i.x+i.width/2-n.width/2,m=i.y+i.height/2-n.height/2,b=i[l]/2-n[l]/2,x;switch(f){case"top":x={x:h,y:i.y-n.height};break;case"bottom":x={x:h,y:i.y+i.height};break;case"right":x={x:i.x+i.width,y:m};break;case"left":x={x:i.x-n.width,y:m};break;default:x={x:i.x,y:i.y}}switch(Ge(t)){case"start":x[s]-=b*(o&&p?-1:1);break;case"end":x[s]+=b*(o&&p?-1:1);break}return x}var Zs=async(e,t,o)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=o,l=a.filter(Boolean),f=await(s.isRTL==null?void 0:s.isRTL(t)),p=await s.getElementRects({reference:e,floating:t,strategy:n}),{x:h,y:m}=Ks(p,i,f),b=i,x={},S=0;for(let O=0;O<l.length;O++){let{name:_,fn:I}=l[O],{x:N,y:D,data:F,reset:W}=await I({x:h,y:m,initialPlacement:i,placement:b,strategy:n,middlewareData:x,rects:p,platform:s,elements:{reference:e,floating:t}});if(h=N??h,m=D??m,x={...x,[_]:{...x[_],...F}},W&&S<=50){S++,typeof W=="object"&&(W.placement&&(b=W.placement),W.rects&&(p=W.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:n}):W.rects),{x:h,y:m}=Ks(p,b,f)),O=-1;continue}}return{x:h,y:m,placement:b,strategy:n,middlewareData:x}};async function ln(e,t){var o;t===void 0&&(t={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:f}=e,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:m="floating",altBoundary:b=!1,padding:x=0}=ko(t,e),S=Gs(x),_=l[b?m==="floating"?"reference":"floating":m],I=fr(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(_)))==null||o?_:_.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:f})),N=m==="floating"?{...s.floating,x:i,y:n}:s.reference,D=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),F=await(a.isElement==null?void 0:a.isElement(D))?await(a.getScale==null?void 0:a.getScale(D))||{x:1,y:1}:{x:1,y:1},W=fr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:N,offsetParent:D,strategy:f}):N);return{top:(I.top-W.top+S.top)/F.y,bottom:(W.bottom-I.bottom+S.bottom)/F.y,left:(I.left-W.left+S.left)/F.x,right:(W.right-I.right+S.right)/F.x}}function Gd(e,t,o){return(e?[...o.filter(n=>Ge(n)===e),...o.filter(n=>Ge(n)!==e)]:o.filter(n=>Pr(n)===n)).filter(n=>e?Ge(n)===e||(t?js(n)!==n:!1):!0)}var dn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,i,n;let{rects:a,middlewareData:s,placement:l,platform:f,elements:p}=t,{crossAxis:h=!1,alignment:m,allowedPlacements:b=on,autoAlignment:x=!0,...S}=ko(e,t),O=m!==void 0||b===on?Gd(m||null,x,b):b,_=await ln(t,S),I=((o=s.autoPlacement)==null?void 0:o.index)||0,N=O[I];if(N==null)return{};let D=Vs(N,a,await(f.isRTL==null?void 0:f.isRTL(p.floating)));if(l!==N)return{reset:{placement:O[0]}};let F=[_[Pr(N)],_[D[0]],_[D[1]]],W=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:N,overflows:F}],Ht=O[I+1];if(Ht)return{data:{index:I+1,overflows:W},reset:{placement:Ht}};let ge=W.map(Et=>{let y=Ge(Et.placement);return[Et.placement,y&&h?Et.overflows.slice(0,2).reduce((v,k)=>v+k,0):Et.overflows[0],Et.overflows]}).sort((Et,y)=>Et[1]-y[1]),be=((n=ge.filter(Et=>Et[2].slice(0,Ge(Et[0])?2:3).every(y=>y<=0))[0])==null?void 0:n[0])||ge[0][0];return be!==l?{data:{index:I+1,overflows:W},reset:{placement:be}}:{}}}};var pn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:i,placement:n}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:_=>{let{x:I,y:N}=_;return{x:I,y:N}}},...f}=ko(e,t),p={x:o,y:i},h=await ln(t,f),m=Po(Pr(n)),b=an(m),x=p[b],S=p[m];if(a){let _=b==="y"?"top":"left",I=b==="y"?"bottom":"right",N=x+h[_],D=x-h[I];x=nn(N,x,D)}if(s){let _=m==="y"?"top":"left",I=m==="y"?"bottom":"right",N=S+h[_],D=S-h[I];S=nn(N,S,D)}let O=l.fn({...t,[b]:x,[m]:S});return{...O,data:{x:O.x-o,y:O.y-i}}}}};function Te(e){return Ys(e)?(e.nodeName||"").toLowerCase():"#document"}function jt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function _e(e){var t;return(t=(Ys(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ys(e){return e instanceof Node||e instanceof jt(e).Node}function Se(e){return e instanceof Element||e instanceof jt(e).Element}function le(e){return e instanceof HTMLElement||e instanceof jt(e).HTMLElement}function qs(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof jt(e).ShadowRoot}function $r(e){let{overflow:t,overflowX:o,overflowY:i,display:n}=Qt(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+o)&&!["inline","contents"].includes(n)}function Xs(e){return["table","td","th"].includes(Te(e))}function Do(e){let t=Bo(),o=Qt(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(o.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(o.contain||"").includes(i))}function Js(e){let t=ur(e);for(;le(t)&&!so(t);){if(Do(t))return t;t=ur(t)}return null}function Bo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function so(e){return["html","body","#document"].includes(Te(e))}function Qt(e){return jt(e).getComputedStyle(e)}function co(e){return Se(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ur(e){if(Te(e)==="html")return e;let t=e.assignedSlot||e.parentNode||qs(e)&&e.host||_e(e);return qs(t)?t.host:t}function Qs(e){let t=ur(e);return so(t)?e.ownerDocument?e.ownerDocument.body:e.body:le(t)&&$r(t)?t:Qs(t)}function $o(e,t,o){var i;t===void 0&&(t=[]),o===void 0&&(o=!0);let n=Qs(e),a=n===((i=e.ownerDocument)==null?void 0:i.body),s=jt(n);return a?t.concat(s,s.visualViewport||[],$r(n)?n:[],s.frameElement&&o?$o(s.frameElement):[]):t.concat(n,$o(n,[],o))}function rc(e){let t=Qt(e),o=parseFloat(t.width)||0,i=parseFloat(t.height)||0,n=le(e),a=n?e.offsetWidth:o,s=n?e.offsetHeight:i,l=ao(o)!==a||ao(i)!==s;return l&&(o=a,i=s),{width:o,height:i,$:l}}function oc(e){return Se(e)?e:e.contextElement}function Dr(e){let t=oc(e);if(!le(t))return Ne(1);let o=t.getBoundingClientRect(),{width:i,height:n,$:a}=rc(t),s=(a?ao(o.width):o.width)/i,l=(a?ao(o.height):o.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var qd=Ne(0);function ic(e){let t=jt(e);return!Bo()||!t.visualViewport?qd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Yd(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==jt(e)?!1:t}function lo(e,t,o,i){t===void 0&&(t=!1),o===void 0&&(o=!1);let n=e.getBoundingClientRect(),a=oc(e),s=Ne(1);t&&(i?Se(i)&&(s=Dr(i)):s=Dr(e));let l=Yd(a,o,i)?ic(a):Ne(0),f=(n.left+l.x)/s.x,p=(n.top+l.y)/s.y,h=n.width/s.x,m=n.height/s.y;if(a){let b=jt(a),x=i&&Se(i)?jt(i):i,S=b.frameElement;for(;S&&i&&x!==b;){let O=Dr(S),_=S.getBoundingClientRect(),I=Qt(S),N=_.left+(S.clientLeft+parseFloat(I.paddingLeft))*O.x,D=_.top+(S.clientTop+parseFloat(I.paddingTop))*O.y;f*=O.x,p*=O.y,h*=O.x,m*=O.y,f+=N,p+=D,S=jt(S).frameElement}}return fr({width:h,height:m,x:f,y:p})}function Xd(e){let{rect:t,offsetParent:o,strategy:i}=e,n=le(o),a=_e(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},l=Ne(1),f=Ne(0);if((n||!n&&i!=="fixed")&&((Te(o)!=="body"||$r(a))&&(s=co(o)),le(o))){let p=lo(o);l=Dr(o),f.x=p.x+o.clientLeft,f.y=p.y+o.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+f.x,y:t.y*l.y-s.scrollTop*l.y+f.y}}function Jd(e){return Array.from(e.getClientRects())}function nc(e){return lo(_e(e)).left+co(e).scrollLeft}function Qd(e){let t=_e(e),o=co(e),i=e.ownerDocument.body,n=je(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=je(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-o.scrollLeft+nc(e),l=-o.scrollTop;return Qt(i).direction==="rtl"&&(s+=je(t.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function tp(e,t){let o=jt(e),i=_e(e),n=o.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,f=0;if(n){a=n.width,s=n.height;let p=Bo();(!p||p&&t==="fixed")&&(l=n.offsetLeft,f=n.offsetTop)}return{width:a,height:s,x:l,y:f}}function ep(e,t){let o=lo(e,!0,t==="fixed"),i=o.top+e.clientTop,n=o.left+e.clientLeft,a=le(e)?Dr(e):Ne(1),s=e.clientWidth*a.x,l=e.clientHeight*a.y,f=n*a.x,p=i*a.y;return{width:s,height:l,x:f,y:p}}function tc(e,t,o){let i;if(t==="viewport")i=tp(e,o);else if(t==="document")i=Qd(_e(e));else if(Se(t))i=ep(t,o);else{let n=ic(e);i={...t,x:t.x-n.x,y:t.y-n.y}}return fr(i)}function ac(e,t){let o=ur(e);return o===t||!Se(o)||so(o)?!1:Qt(o).position==="fixed"||ac(o,t)}function rp(e,t){let o=t.get(e);if(o)return o;let i=$o(e,[],!1).filter(l=>Se(l)&&Te(l)!=="body"),n=null,a=Qt(e).position==="fixed",s=a?ur(e):e;for(;Se(s)&&!so(s);){let l=Qt(s),f=Do(s);!f&&l.position==="fixed"&&(n=null),(a?!f&&!n:!f&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||$r(s)&&!f&&ac(e,s))?i=i.filter(h=>h!==s):n=l,s=ur(s)}return t.set(e,i),i}function op(e){let{element:t,boundary:o,rootBoundary:i,strategy:n}=e,s=[...o==="clippingAncestors"?rp(t,this._c):[].concat(o),i],l=s[0],f=s.reduce((p,h)=>{let m=tc(t,h,n);return p.top=je(m.top,p.top),p.right=no(m.right,p.right),p.bottom=no(m.bottom,p.bottom),p.left=je(m.left,p.left),p},tc(t,l,n));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function ip(e){return rc(e)}function np(e,t,o){let i=le(t),n=_e(t),a=o==="fixed",s=lo(e,!0,a,t),l={scrollLeft:0,scrollTop:0},f=Ne(0);if(i||!i&&!a)if((Te(t)!=="body"||$r(n))&&(l=co(t)),i){let p=lo(t,!0,a,t);f.x=p.x+t.clientLeft,f.y=p.y+t.clientTop}else n&&(f.x=nc(n));return{x:s.left+l.scrollLeft-f.x,y:s.top+l.scrollTop-f.y,width:s.width,height:s.height}}function ec(e,t){return!le(e)||Qt(e).position==="fixed"?null:t?t(e):e.offsetParent}function sc(e,t){let o=jt(e);if(!le(e))return o;let i=ec(e,t);for(;i&&Xs(i)&&Qt(i).position==="static";)i=ec(i,t);return i&&(Te(i)==="html"||Te(i)==="body"&&Qt(i).position==="static"&&!Do(i))?o:i||Js(e)||o}var ap=async function(e){let{reference:t,floating:o,strategy:i}=e,n=this.getOffsetParent||sc,a=this.getDimensions;return{reference:np(t,await n(o),i),floating:{x:0,y:0,...await a(o)}}};function sp(e){return Qt(e).direction==="rtl"}var Mo={convertOffsetParentRelativeRectToViewportRelativeRect:Xd,getDocumentElement:_e,getClippingRect:op,getOffsetParent:sc,getElementRects:ap,getClientRects:Jd,getDimensions:ip,getScale:Dr,isElement:Se,isRTL:sp};var cc=(e,t,o)=>{let i=new Map,n={platform:Mo,...o},a={...n.platform,_c:i};return Zs(e,t,{...n,platform:a})};function lc(e){return cp(e)}function fn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function cp(e){for(let t=e;t;t=fn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=fn(e);t;t=fn(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Fo(e,t,o){return cc(e,t,{platform:{...Mo,getOffsetParent:i=>Mo.getOffsetParent(i,lc)},middleware:[pn({crossAxis:!0}),dn({allowedPlacements:[o]})]})}var Gt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},ot=class extends po.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new po.Debouncer,this.revealDebouncer=new po.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return dc.html`
|
|
579
579
|
<div part="container"
|
|
580
580
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
581
581
|
@mouseenter=${this.onHover}
|
|
@@ -593,12 +593,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
593
593
|
</div>
|
|
594
594
|
</div>
|
|
595
595
|
</div>
|
|
596
|
-
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Fo(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}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",e=>{e.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(e,o){return Math.max(e,Math.min(0,-o))}};oe.elementDefinitions={"ft-typography":pe};oe.styles=Us;Ge([(0,Se.property)()],oe.prototype,"text",void 0);Ge([(0,Se.property)({type:Boolean})],oe.prototype,"manual",void 0);Ge([(0,Se.property)({type:Boolean})],oe.prototype,"inline",void 0);Ge([(0,Se.property)({type:Number})],oe.prototype,"delay",void 0);Ge([(0,Se.property)()],oe.prototype,"position",void 0);Ge([(0,Se.queryAssignedNodes)()],oe.prototype,"slotNodes",void 0);Ge([(0,Se.query)(".ft-tooltip--container")],oe.prototype,"container",void 0);Ge([(0,Se.query)(".ft-tooltip")],oe.prototype,"tooltip",void 0);Ge([(0,Se.query)(".ft-tooltip--content")],oe.prototype,"tooltipContent",void 0);Ge([(0,Se.state)()],oe.prototype,"visible",void 0);Ge([(0,Se.eventOptions)({passive:!0})],oe.prototype,"onTouch",null);Ge([(0,Se.eventOptions)({passive:!0})],oe.prototype,"onHover",null);Ge([(0,Se.eventOptions)({passive:!0})],oe.prototype,"onOut",null);Ge([(0,Se.eventOptions)({passive:!0})],oe.prototype,"onClick",null);(0,dc.customElement)("ft-tooltip")(oe);var yc=g(R());var fo=g(B()),yr=g(Z()),uc=g(R()),hc=g(fc());var hr;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.EYE="",t.SHARE="󨃱"})(hr||(hr={}));var E;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(E||(E={}));var yg=new Map([...["abw"].map(t=>[t,E.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(t=>[t,E.AUDIO]),...["avi"].map(t=>[t,E.AVI]),...["chm","xhs"].map(t=>[t,E.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(t=>[t,E.CODE]),...["csv"].map(t=>[t,E.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,E.DITA]),...["epub"].map(t=>[t,E.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,E.EXCEL]),...["flac"].map(t=>[t,E.FLAC]),...["gif"].map(t=>[t,E.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,E.GZIP]),...["html","htm","xhtml"].map(t=>[t,E.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(t=>[t,E.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,E.JPEG]),...["json"].map(t=>[t,E.JSON]),...["m4a","m4p"].map(t=>[t,E.M4A]),...["mov","qt"].map(t=>[t,E.MOV]),...["mp3"].map(t=>[t,E.MP3]),...["mp4","m4v"].map(t=>[t,E.MP4]),...["ogg","oga"].map(t=>[t,E.OGG]),...["pdf","ps"].map(t=>[t,E.PDF]),...["png"].map(t=>[t,E.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,E.POWERPOINT]),...["rar"].map(t=>[t,E.RAR]),...["stp"].map(t=>[t,E.STP]),...["txt","rtf","md","mdown"].map(t=>[t,E.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(t=>[t,E.VIDEO]),...["wav"].map(t=>[t,E.WAV]),...["wma"].map(t=>[t,E.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,E.WORD]),...["xml","xsl","rdf"].map(t=>[t,E.XML]),...["yaml","yml","x-yaml"].map(t=>[t,E.YAML]),...["zip"].map(t=>[t,E.ZIP])]);var mg={[E.ABW]:"#91ABC6",[E.AUDIO]:"#1795E3",[E.AVI]:"#E63324",[E.CHM]:"#71C3EB",[E.CODE]:"#71C3EB",[E.CSV]:"#1F7345",[E.DITA]:"#71C3EB",[E.EPUB]:"#85B926",[E.EXCEL]:"#1F7345",[E.FLAC]:"#1795E3",[E.GIF]:"#59B031",[E.GZIP]:"#F8AB36",[E.HTML]:"#71C3EB",[E.IMAGE]:"#59B031",[E.JPEG]:"#59B031",[E.JSON]:"#71C3EB",[E.M4A]:"#1795E3",[E.MOV]:"#E63324",[E.MP3]:"#1795E3",[E.MP4]:"#E63324",[E.OGG]:"#1795E3",[E.PDF]:"#E44948",[E.PNG]:"#59B031",[E.POWERPOINT]:"#B54A2B",[E.RAR]:"#F8AB36",[E.STP]:"#3764B1",[E.TEXT]:"#3162AB",[E.UNKNOWN]:"#999999",[E.VIDEO]:"#E63324",[E.WAV]:"#1795E3",[E.WMA]:"#1795E3",[E.WORD]:"#3162AB",[E.XML]:"#71C3EB",[E.YAML]:"#71C3EB",[E.ZIP]:"#F8AB36"};var _e;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(_e||(_e={}));var Uo=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},ve=class extends uc.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=fo.nothing}render(){let e=this.variant&&Object.values(_e).includes(this.variant)?this.variant:_e.fluid_topics,o=e!==_e.material||!!this.value;return fo.html`
|
|
597
|
-
<i class="ft-icon ft-icon--${
|
|
598
|
-
${(0,
|
|
596
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Fo(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}};ot.elementDefinitions={"ft-typography":pt};ot.styles=Ws;Gt([(0,St.property)()],ot.prototype,"text",void 0);Gt([(0,St.property)({type:Boolean})],ot.prototype,"manual",void 0);Gt([(0,St.property)({type:Boolean})],ot.prototype,"inline",void 0);Gt([(0,St.property)({type:Number})],ot.prototype,"delay",void 0);Gt([(0,St.property)()],ot.prototype,"position",void 0);Gt([(0,St.queryAssignedNodes)()],ot.prototype,"slotNodes",void 0);Gt([(0,St.query)(".ft-tooltip--container")],ot.prototype,"container",void 0);Gt([(0,St.query)(".ft-tooltip")],ot.prototype,"tooltip",void 0);Gt([(0,St.query)(".ft-tooltip--content")],ot.prototype,"tooltipContent",void 0);Gt([(0,St.state)()],ot.prototype,"visible",void 0);Gt([(0,St.eventOptions)({passive:!0})],ot.prototype,"onTouch",null);Gt([(0,St.eventOptions)({passive:!0})],ot.prototype,"onHover",null);Gt([(0,St.eventOptions)({passive:!0})],ot.prototype,"onOut",null);Gt([(0,St.eventOptions)({passive:!0})],ot.prototype,"onClick",null);(0,pc.customElement)("ft-tooltip")(ot);var mc=g(R());var fo=g(B()),yr=g(Z()),hc=g(R()),yc=g(uc());var hr;(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.EYE="",e.SHARE="󨃱"})(hr||(hr={}));var E;(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=""})(E||(E={}));var mg=new Map([...["abw"].map(e=>[e,E.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,E.AUDIO]),...["avi"].map(e=>[e,E.AVI]),...["chm","xhs"].map(e=>[e,E.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,E.CODE]),...["csv"].map(e=>[e,E.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,E.DITA]),...["epub"].map(e=>[e,E.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,E.EXCEL]),...["flac"].map(e=>[e,E.FLAC]),...["gif"].map(e=>[e,E.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,E.GZIP]),...["html","htm","xhtml"].map(e=>[e,E.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,E.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,E.JPEG]),...["json"].map(e=>[e,E.JSON]),...["m4a","m4p"].map(e=>[e,E.M4A]),...["mov","qt"].map(e=>[e,E.MOV]),...["mp3"].map(e=>[e,E.MP3]),...["mp4","m4v"].map(e=>[e,E.MP4]),...["ogg","oga"].map(e=>[e,E.OGG]),...["pdf","ps"].map(e=>[e,E.PDF]),...["png"].map(e=>[e,E.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,E.POWERPOINT]),...["rar"].map(e=>[e,E.RAR]),...["stp"].map(e=>[e,E.STP]),...["txt","rtf","md","mdown"].map(e=>[e,E.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,E.VIDEO]),...["wav"].map(e=>[e,E.WAV]),...["wma"].map(e=>[e,E.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,E.WORD]),...["xml","xsl","rdf"].map(e=>[e,E.XML]),...["yaml","yml","x-yaml"].map(e=>[e,E.YAML]),...["zip"].map(e=>[e,E.ZIP])]);var gg={[E.ABW]:"#91ABC6",[E.AUDIO]:"#1795E3",[E.AVI]:"#E63324",[E.CHM]:"#71C3EB",[E.CODE]:"#71C3EB",[E.CSV]:"#1F7345",[E.DITA]:"#71C3EB",[E.EPUB]:"#85B926",[E.EXCEL]:"#1F7345",[E.FLAC]:"#1795E3",[E.GIF]:"#59B031",[E.GZIP]:"#F8AB36",[E.HTML]:"#71C3EB",[E.IMAGE]:"#59B031",[E.JPEG]:"#59B031",[E.JSON]:"#71C3EB",[E.M4A]:"#1795E3",[E.MOV]:"#E63324",[E.MP3]:"#1795E3",[E.MP4]:"#E63324",[E.OGG]:"#1795E3",[E.PDF]:"#E44948",[E.PNG]:"#59B031",[E.POWERPOINT]:"#B54A2B",[E.RAR]:"#F8AB36",[E.STP]:"#3764B1",[E.TEXT]:"#3162AB",[E.UNKNOWN]:"#999999",[E.VIDEO]:"#E63324",[E.WAV]:"#1795E3",[E.WMA]:"#1795E3",[E.WORD]:"#3162AB",[E.XML]:"#71C3EB",[E.YAML]:"#71C3EB",[E.ZIP]:"#F8AB36"};var _t;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(_t||(_t={}));var Uo=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},vt=class extends hc.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=fo.nothing}render(){let t=this.variant&&Object.values(_t).includes(this.variant)?this.variant:_t.fluid_topics,o=t!==_t.material||!!this.value;return fo.html`
|
|
597
|
+
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
598
|
+
${(0,yc.unsafeHTML)(this.resolvedIcon)}
|
|
599
599
|
<slot ?hidden=${o}></slot>
|
|
600
600
|
</i>
|
|
601
|
-
`}get textContent(){var
|
|
601
|
+
`}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case _t.file_format:this.resolvedIcon=(t=E[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break;case _t.material:this.resolvedIcon=this.value||fo.nothing;break;default:this.resolvedIcon=(o=hr[i.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:i;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};vt.elementDefinitions={};vt.styles=ls;Uo([(0,yr.property)()],vt.prototype,"variant",void 0);Uo([(0,yr.property)()],vt.prototype,"value",void 0);Uo([(0,yr.state)()],vt.prototype,"resolvedIcon",void 0);Uo([(0,yr.query)("slot")],vt.prototype,"slottedContent",void 0);(0,mc.customElement)("ft-icon")(vt);var gc=g(B()),Ft=g(R());var Ot={borderRadiusLeft:Ft.FtCssVariableFactory.extend("--ft-switch-option-border-radius-left","",Ft.designSystemVariables.borderRadiusL),borderRadiusRight:Ft.FtCssVariableFactory.extend("--ft-switch-option-border-radius-right","",Ft.designSystemVariables.borderRadiusL),borderWidthLeft:Ft.FtCssVariableFactory.create("--ft-switch-option-border-width-left","","SIZE","1px"),borderWidthRight:Ft.FtCssVariableFactory.create("--ft-switch-option-border-width-right","","SIZE","1px"),borderWidthVertical:Ft.FtCssVariableFactory.create("--ft-switch-option-border-width-vertical","","SIZE","1px")},bc=gc.css`
|
|
602
602
|
.ft-switch-option {
|
|
603
603
|
position: relative;
|
|
604
604
|
display: inline-block;
|
|
@@ -612,20 +612,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
612
612
|
}
|
|
613
613
|
|
|
614
614
|
.ft-switch-option--content {
|
|
615
|
-
--ft-switch-option-internal-line-height: calc(${
|
|
616
|
-
--ft-switch-option-internal-content-height: max(var(--ft-switch-option-internal-line-height), ${
|
|
615
|
+
--ft-switch-option-internal-line-height: calc(${ct.fontSize} + 2px);
|
|
616
|
+
--ft-switch-option-internal-content-height: max(var(--ft-switch-option-internal-line-height), ${ct.iconSize});
|
|
617
617
|
|
|
618
618
|
border-style: solid;
|
|
619
|
-
border-color: ${
|
|
620
|
-
border-width: ${
|
|
621
|
-
border-radius: ${
|
|
619
|
+
border-color: ${ct.borderColor};
|
|
620
|
+
border-width: ${Ot.borderWidthVertical} ${Ot.borderWidthRight} ${Ot.borderWidthVertical} ${Ot.borderWidthLeft};
|
|
621
|
+
border-radius: ${Ot.borderRadiusLeft} ${Ot.borderRadiusRight} ${Ot.borderRadiusRight} ${Ot.borderRadiusLeft};
|
|
622
622
|
display: flex;
|
|
623
623
|
align-items: center;
|
|
624
624
|
justify-content: center;
|
|
625
625
|
overflow: hidden;
|
|
626
|
-
${(0,
|
|
626
|
+
${(0,Ft.setVariable)(xt.size,ct.iconSize)};
|
|
627
627
|
padding: var(--ft-switch-internal-vertical-padding, 6px) var(--ft-switch-internal-horizontal-padding, 8px);
|
|
628
|
-
background-color: ${
|
|
628
|
+
background-color: ${ct.backgroundColor};
|
|
629
629
|
-webkit-mask-image: radial-gradient(white, black);
|
|
630
630
|
}
|
|
631
631
|
|
|
@@ -634,32 +634,32 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
634
634
|
}
|
|
635
635
|
|
|
636
636
|
.ft-switch-option--selected .ft-switch-option--content:before {
|
|
637
|
-
background-color: ${
|
|
638
|
-
border-radius: ${
|
|
637
|
+
background-color: ${ct.selectedBackgroundColor};
|
|
638
|
+
border-radius: ${Ot.borderRadiusLeft} ${Ot.borderRadiusRight} ${Ot.borderRadiusRight} ${Ot.borderRadiusLeft};
|
|
639
639
|
position: absolute;
|
|
640
640
|
inset: 0;
|
|
641
641
|
content: "";
|
|
642
642
|
z-index: 1;
|
|
643
|
-
opacity: ${
|
|
643
|
+
opacity: ${Ft.designSystemVariables.opacityPrimaryOnSurfaceSelected};
|
|
644
644
|
}
|
|
645
645
|
|
|
646
646
|
.ft-switch-option--label {
|
|
647
|
-
color: ${
|
|
647
|
+
color: ${ct.textColor};
|
|
648
648
|
overflow: hidden;
|
|
649
649
|
white-space: nowrap;
|
|
650
650
|
text-overflow: ellipsis;
|
|
651
651
|
display: block;
|
|
652
652
|
margin: 0 8px;
|
|
653
|
-
${(0,
|
|
654
|
-
${(0,
|
|
653
|
+
${(0,Ft.setVariable)(Mt.fontSize,ct.fontSize)};
|
|
654
|
+
${(0,Ft.setVariable)(Mt.lineHeight,"var(--ft-switch-option-internal-content-height)")}
|
|
655
655
|
}
|
|
656
656
|
|
|
657
657
|
.ft-switch-option--selected .ft-switch-option--label {
|
|
658
|
-
color: ${
|
|
658
|
+
color: ${ct.selectedTextColor};
|
|
659
659
|
}
|
|
660
660
|
|
|
661
661
|
.ft-switch-option--focused {
|
|
662
|
-
outline: 1px solid ${
|
|
662
|
+
outline: 1px solid ${ct.outlineColor};
|
|
663
663
|
}
|
|
664
664
|
|
|
665
665
|
.ft-switch-option--label[hidden] {
|
|
@@ -667,7 +667,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
667
667
|
}
|
|
668
668
|
|
|
669
669
|
.ft-switch-option--ripple {
|
|
670
|
-
${(0,
|
|
670
|
+
${(0,Ft.setVariable)(w.color,ct.rippleColor)};
|
|
671
671
|
}
|
|
672
672
|
|
|
673
673
|
ft-icon, ft-ripple, ft-typography {
|
|
@@ -680,14 +680,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
680
680
|
|
|
681
681
|
ft-icon {
|
|
682
682
|
flex-shrink: 0;
|
|
683
|
-
color: ${
|
|
683
|
+
color: ${ct.iconColor};
|
|
684
684
|
}
|
|
685
685
|
|
|
686
686
|
.ft-switch-option--selected ft-icon {
|
|
687
|
-
color: ${
|
|
687
|
+
color: ${ct.selectedTextColor};
|
|
688
688
|
}
|
|
689
|
-
`;var
|
|
690
|
-
<label part="label" for="input" class=${(0,
|
|
689
|
+
`;var de=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},un=class extends CustomEvent{constructor(t){super("option-change-by-user",{detail:t,bubbles:!0,composed:!0})}},hn=class extends CustomEvent{constructor(t){super("option-change",{detail:t,bubbles:!0,composed:!0})}},ft=class extends Mr.FtLitElement{constructor(){super(...arguments),this.value="",this.label="",this.tooltipPosition="bottom",this.selected=!1,this.trailingIcon=!1,this.unselectable=!1,this.isFocused=!1}focus(){this.input.focus()}update(t){super.update(t),t.has("selected")&&this.dispatchEvent(new hn(this.selected))}render(){let t={"ft-switch-option":!0,"ft-switch-option--trailing-icon":this.trailingIcon,"ft-switch-option--selected":this.selected,"ft-switch-option--focused":this.isFocused};return this.addTooltip(Br.html`
|
|
690
|
+
<label part="label" for="input" class=${(0,vc.classMap)(t)}
|
|
691
691
|
@click=${this.onChange}>
|
|
692
692
|
<div class="ft-switch-option--content">
|
|
693
693
|
<ft-ripple part="ripple" class="ft-switch-option--ripple"></ft-ripple>
|
|
@@ -702,29 +702,29 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
702
702
|
</label>
|
|
703
703
|
<input id="input" type="radio" class="ft-switch-option--input"
|
|
704
704
|
.checked=${this.selected}>
|
|
705
|
-
`)}addTooltip(
|
|
705
|
+
`)}addTooltip(t){return this.hasTextContent()||this.getLabel().trim().length===0?t:Br.html`
|
|
706
706
|
<ft-tooltip part="tooltip"
|
|
707
707
|
text="${this.getLabel()}"
|
|
708
708
|
position="${this.tooltipPosition}">
|
|
709
|
-
${
|
|
709
|
+
${t}
|
|
710
710
|
</ft-tooltip>
|
|
711
|
-
`}connectedCallback(){super.connectedCallback(),this.addEventListener("focusout",this.onFocusout)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focusout",this.onFocusout)}onFocusout(
|
|
711
|
+
`}connectedCallback(){super.connectedCallback(),this.addEventListener("focusout",this.onFocusout)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focusout",this.onFocusout)}onFocusout(t){this.isFocused=!1}onChange(){this.selected=this.unselectable?!this.selected:!0,this.dispatchEvent(new un(this.selected))}getLabel(){return this.label||this.textContent}resolveIcon(){return this.icon?Br.html`
|
|
712
712
|
<ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
|
|
713
|
-
`:Br.nothing}get textContent(){var
|
|
714
|
-
<div @keydown=${this.onKeyDown} tabindex="-1" class="${(0,
|
|
713
|
+
`:Br.nothing}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&o!==void 0?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}};ft.elementDefinitions={"ft-ripple":j,"ft-typography":pt,"ft-tooltip":ot,"ft-icon":vt};ft.styles=[Mr.safariEllipsisFix,bc];de([(0,Kt.property)()],ft.prototype,"value",void 0);de([(0,Kt.property)()],ft.prototype,"icon",void 0);de([(0,Kt.property)()],ft.prototype,"iconVariant",void 0);de([(0,Kt.property)()],ft.prototype,"label",void 0);de([(0,Kt.property)()],ft.prototype,"tooltipPosition",void 0);de([(0,Kt.property)({type:Boolean,reflect:!0})],ft.prototype,"selected",void 0);de([(0,Kt.property)({type:Boolean})],ft.prototype,"trailingIcon",void 0);de([(0,Kt.property)({type:Boolean})],ft.prototype,"unselectable",void 0);de([(0,Kt.query)(".ft-switch-option--content slot")],ft.prototype,"slottedContent",void 0);de([(0,Kt.query)(".ft-switch-option--input")],ft.prototype,"input",void 0);de([(0,Kt.state)()],ft.prototype,"isFocused",void 0);var mr=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},yn=class extends CustomEvent{constructor(t){super("change",{detail:t})}},Ut=class extends Le.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.unselectable=!1,this.displayFocusWhenUsingKeyboard=!1,this.options=[]}get value(){var t;return(t=this.selectedOption)===null||t===void 0?void 0:t.value}update(t){super.update(t),t.has("selectedOption")&&this.updateOptions(),t.has("unselectable")&&this.options.forEach(o=>o.unselectable=this.unselectable)}render(){let t={"ft-switch":!0,"ft-switch--dense":this.dense};return Wo.html`
|
|
714
|
+
<div @keydown=${this.onKeyDown} tabindex="-1" class="${(0,xc.classMap)(t)}" role="radiogroup" aria-label=${this.label}>
|
|
715
715
|
<slot @slotchange=${this.onSlotchange}
|
|
716
716
|
@option-change=${this.onOptionChangeByScript}
|
|
717
717
|
@option-change-by-user=${this.onOptionChangeByUser}
|
|
718
718
|
></slot>
|
|
719
719
|
</div>
|
|
720
|
-
`}onKeyDown(
|
|
720
|
+
`}onKeyDown(t){let o;(t.key=="ArrowDown"||t.key=="ArrowRight")&&(o=this.selectedOption?this.options.indexOf(this.selectedOption)+1:0),(t.key=="ArrowUp"||t.key=="ArrowLeft")&&(o=this.selectedOption?this.options.indexOf(this.selectedOption)-1:this.options.length-1),t.code=="Space"&&(o=this.options.indexOf(t.target)),o!=null&&(t.preventDefault(),this.options[this.fixIndex(o)].focus(),this.displayFocusWhenUsingKeyboard=!0,this.options[this.fixIndex(o)].selected=!0)}fixIndex(t){return t<0?this.options.length-1:t>this.options.length-1?0:t}onSlotchange(){var t;this.options=[],(t=this.slottedContent)===null||t===void 0||t.assignedElements().forEach(o=>{o instanceof ft&&this.registerOption(o)}),this.selectedOption=this.options.find(o=>o.selected)}registerOption(t){var o;(o=t.shadowRoot)===null||o===void 0||o.querySelectorAll("input").forEach(i=>{i.setAttribute("tabindex","-1")}),t.setAttribute("tabindex","0"),t.unselectable=this.unselectable,this.options.push(t)}onOptionChangeByScript(t){t.stopPropagation();let o=t.target;this.onOptionChange(o)}onOptionChangeByUser(t){var o;t.stopPropagation(),this.displayFocusWhenUsingKeyboard=!1,this.onOptionChange(t.target),this.dispatchEvent(new yn((o=this.selectedOption)===null||o===void 0?void 0:o.value))}onOptionChange(t){t.selected?this.selectedOption=t:this.selectedOption=this.options.find(o=>o.selected)}private(t){t.selected?this.selectedOption=t:this.selectedOption=this.options.find(o=>o.selected)}focus(){this.ftSwitchDiv.focus()}updateOptions(){this.options.forEach(t=>{t.selected=t===this.selectedOption,this.displayFocusWhenUsingKeyboard&&(t.isFocused=t===this.selectedOption)})}};Ut.elementDefinitions={};Ut.styles=Wo.css`
|
|
721
721
|
:host {
|
|
722
722
|
display: inline-block;
|
|
723
723
|
}
|
|
724
724
|
|
|
725
725
|
.ft-switch {
|
|
726
|
-
border-radius: ${
|
|
727
|
-
outline-color: ${
|
|
726
|
+
border-radius: ${ct.borderRadius};
|
|
727
|
+
outline-color: ${ct.outlineColor};
|
|
728
728
|
}
|
|
729
729
|
|
|
730
730
|
.ft-switch slot {
|
|
@@ -733,25 +733,25 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
733
733
|
}
|
|
734
734
|
|
|
735
735
|
.ft-switch slot::slotted(ft-switch-option) {
|
|
736
|
-
${(0,
|
|
737
|
-
${(0,
|
|
738
|
-
${(0,
|
|
736
|
+
${(0,Le.setVariable)(Ot.borderRadiusLeft,"0")};
|
|
737
|
+
${(0,Le.setVariable)(Ot.borderRadiusRight,"0")};
|
|
738
|
+
${(0,Le.setVariable)(Ot.borderWidthLeft,"0")};
|
|
739
739
|
}
|
|
740
740
|
|
|
741
741
|
.ft-switch slot::slotted(ft-switch-option:first-child) {
|
|
742
|
-
${(0,
|
|
743
|
-
${(0,
|
|
742
|
+
${(0,Le.setVariable)(Ot.borderRadiusLeft,ct.borderRadius)};
|
|
743
|
+
${(0,Le.setVariable)(Ot.borderWidthLeft,"1px")};
|
|
744
744
|
}
|
|
745
745
|
|
|
746
746
|
.ft-switch slot::slotted(ft-switch-option:last-child) {
|
|
747
|
-
${(0,
|
|
747
|
+
${(0,Le.setVariable)(Ot.borderRadiusRight,ct.borderRadius)};
|
|
748
748
|
}
|
|
749
749
|
|
|
750
750
|
.ft-switch--dense slot::slotted(ft-switch-option) {
|
|
751
751
|
--ft-switch-internal-vertical-padding: 2px;
|
|
752
752
|
--ft-switch-internal-horizontal-padding: 4px;
|
|
753
753
|
}
|
|
754
|
-
`;mr([(0,
|
|
754
|
+
`;mr([(0,Oe.property)({type:Boolean})],Ut.prototype,"dense",void 0);mr([(0,Oe.property)({type:Boolean})],Ut.prototype,"unselectable",void 0);mr([(0,Oe.property)()],Ut.prototype,"label",void 0);mr([(0,Oe.query)(".ft-switch slot")],Ut.prototype,"slottedContent",void 0);mr([(0,Oe.state)()],Ut.prototype,"selectedOption",void 0);mr([(0,Oe.state)()],Ut.prototype,"displayFocusWhenUsingKeyboard",void 0);mr([(0,Oe.query)(".ft-switch")],Ut.prototype,"ftSwitchDiv",void 0);(0,mn.customElement)("ft-switch")(Ut);(0,mn.customElement)("ft-switch-option")(ft);var kc=g(R());var Vo=g(B()),ie=g(Z()),Lc=g(Ve()),jo=g(R());var wc=g(R());var zo=g(B()),pe=g(Z()),Ho=g(R());var Oc=g(B()),Fr=g(R()),Sc={colorOutline:Fr.FtCssVariableFactory.external(Fr.designSystemVariables.colorOutline,"Design system"),colorOnSurfaceMedium:Fr.FtCssVariableFactory.external(Fr.designSystemVariables.colorOnSurfaceMedium,"Design system")},Cc=Oc.css`
|
|
755
755
|
:host {
|
|
756
756
|
display: block;
|
|
757
757
|
}
|
|
@@ -762,14 +762,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
762
762
|
|
|
763
763
|
ft-icon {
|
|
764
764
|
transform: rotate(-45deg);
|
|
765
|
-
color: ${
|
|
765
|
+
color: ${Sc.colorOutline};
|
|
766
766
|
}
|
|
767
767
|
|
|
768
768
|
.ft-resizer--dragging ft-icon,
|
|
769
769
|
.ft-resizer:hover ft-icon {
|
|
770
|
-
color: ${
|
|
770
|
+
color: ${Sc.colorOnSurfaceMedium};
|
|
771
771
|
}
|
|
772
|
-
`;var
|
|
772
|
+
`;var Ke=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},gn=class extends CustomEvent{constructor(t,o){super("resize",{detail:{width:t,height:o}})}},Lt=class extends Ho.FtLitElement{constructor(){super(...arguments),this.initialWidth=0,this.initialHeight=0,this.icon="drag_handle",this.iconVariant=_t.material,this.cursor="nwse-resize",this.dragging=!1,this.fixedWidth=0,this.fixedHeight=0,this.startX=0,this.startY=0,this.doDragFromMouse=t=>this.doDrag(t.clientX,t.clientY),this.doDragFromTouch=t=>this.doDrag(t.touches[0].clientX,t.touches[0].clientY),this.stopDrag=()=>{this.dragging=!1,document.removeEventListener("mousemove",this.doDragFromMouse,!1),document.removeEventListener("mouseup",this.stopDrag,!1),document.removeEventListener("touchmove",this.doDragFromTouch,!1),document.removeEventListener("touchend",this.stopDrag,!1),document.removeEventListener("touchcancel",this.stopDrag,!1)}}render(){return zo.html`
|
|
773
773
|
<style>
|
|
774
774
|
.ft-resizer {
|
|
775
775
|
cursor: ${(0,zo.unsafeCSS)(this.cursor)}
|
|
@@ -780,7 +780,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
780
780
|
@touchstart=${this.initDragFromTouch}>
|
|
781
781
|
<ft-icon .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
782
782
|
</div>
|
|
783
|
-
`}initDragFromMouse(
|
|
783
|
+
`}initDragFromMouse(t){this.initDrag(t.clientX,t.clientY)}initDragFromTouch(t){t.preventDefault(),t.stopPropagation(),this.initDrag(t.touches[0].clientX,t.touches[0].clientY)}initDrag(t,o){this.dragging=!0,this.startX=t,this.startY=o,this.fixedWidth=this.initialWidth,this.fixedHeight=this.initialHeight,this.installDocumentEventListeners()}installDocumentEventListeners(){document.addEventListener("mousemove",this.doDragFromMouse,!1),document.addEventListener("mouseup",this.stopDrag,!1),document.addEventListener("touchmove",this.doDragFromTouch,!1),document.addEventListener("touchend",this.stopDrag,!1),document.addEventListener("touchcancel",this.stopDrag,!1)}doDrag(t,o){let i=this.fixedWidth+t-this.startX,n=this.fixedHeight+o-this.startY;this.dispatchEvent(new gn(i,n))}};Lt.elementDefinitions={"ft-icon":vt};Lt.styles=[Ho.noTextSelect,Cc];Ke([(0,pe.property)({type:Number})],Lt.prototype,"initialWidth",void 0);Ke([(0,pe.property)({type:Number})],Lt.prototype,"initialHeight",void 0);Ke([(0,pe.property)()],Lt.prototype,"icon",void 0);Ke([(0,pe.property)()],Lt.prototype,"iconVariant",void 0);Ke([(0,pe.property)()],Lt.prototype,"cursor",void 0);Ke([(0,pe.state)()],Lt.prototype,"dragging",void 0);Ke([(0,pe.eventOptions)({passive:!0})],Lt.prototype,"initDragFromMouse",null);Ke([(0,pe.eventOptions)({passive:!0})],Lt.prototype,"initDragFromTouch",null);(0,wc.customElement)("ft-resizer")(Lt);var Nc=g(R());var bn=g(B()),Ur=g(Z()),Rc=g(Ve()),Ic=g(R());var Ec=g(B()),et=g(R());var P={fontSize:et.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:et.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:et.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:et.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:et.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:et.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:et.FtCssVariableFactory.extend("--ft-input-label-border-color","",et.designSystemVariables.colorOutline),textColor:et.FtCssVariableFactory.extend("--ft-input-label-text-color","",et.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:et.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",et.designSystemVariables.colorOnSurfaceDisabled),colorSurface:et.FtCssVariableFactory.external(et.designSystemVariables.colorSurface,"Design system"),borderRadiusS:et.FtCssVariableFactory.external(et.designSystemVariables.borderRadiusS,"Design system"),colorError:et.FtCssVariableFactory.external(et.designSystemVariables.colorError,"Design system")},Ac=Ec.css`
|
|
784
784
|
.ft-input-label {
|
|
785
785
|
position: absolute;
|
|
786
786
|
inset: 0;
|
|
@@ -831,8 +831,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
831
831
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
832
832
|
max-width: calc(${P.labelMaxWidth} - 2 * (${P.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
833
833
|
text-overflow: ellipsis;
|
|
834
|
-
${(0,
|
|
835
|
-
${(0,
|
|
834
|
+
${(0,et.setVariable)(ce.fontSize,P.fontSize)};
|
|
835
|
+
${(0,et.setVariable)(ce.lineHeight,P.fontSize)};
|
|
836
836
|
}
|
|
837
837
|
|
|
838
838
|
.ft-input-label--in-error .ft-input-label--text {
|
|
@@ -864,8 +864,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
864
864
|
}
|
|
865
865
|
|
|
866
866
|
.ft-input-label--raised .ft-input-label--text {
|
|
867
|
-
${(0,
|
|
868
|
-
${(0,
|
|
867
|
+
${(0,et.setVariable)(ce.fontSize,P.raisedFontSize)};
|
|
868
|
+
${(0,et.setVariable)(ce.lineHeight,P.raisedFontSize)};
|
|
869
869
|
}
|
|
870
870
|
|
|
871
871
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
@@ -902,8 +902,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
902
902
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
903
903
|
border-top: none;
|
|
904
904
|
}
|
|
905
|
-
`;var uo=function(t,
|
|
906
|
-
<div class="${(0,
|
|
905
|
+
`;var uo=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},Wt=class extends Ic.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let t={"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};return bn.html`
|
|
906
|
+
<div class="${(0,Rc.classMap)(t)}">
|
|
907
907
|
${this.text?bn.html`
|
|
908
908
|
<div class="ft-input-label--text ft-typography--caption">
|
|
909
909
|
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
@@ -911,7 +911,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
911
911
|
</div>
|
|
912
912
|
`:null}
|
|
913
913
|
</div>
|
|
914
|
-
`}};
|
|
914
|
+
`}};Wt.elementDefinitions={};Wt.styles=[No,Ac];uo([(0,Ur.property)({type:String})],Wt.prototype,"text",void 0);uo([(0,Ur.property)({type:Boolean})],Wt.prototype,"raised",void 0);uo([(0,Ur.property)({type:Boolean})],Wt.prototype,"outlined",void 0);uo([(0,Ur.property)({type:Boolean})],Wt.prototype,"disabled",void 0);uo([(0,Ur.property)({type:Boolean})],Wt.prototype,"error",void 0);(0,Nc.customElement)("ft-input-label")(Wt);var Tc=g(B()),K=g(R());var Y={fontSize:K.FtCssVariableFactory.create("--ft-text-area-font-size","","SIZE","14px"),labelSize:K.FtCssVariableFactory.create("--ft-text-area-label-size","","SIZE","11px"),verticalSpacing:K.FtCssVariableFactory.create("--ft-text-area-vertical-spacing","","SIZE","4px"),horizontalSpacing:K.FtCssVariableFactory.create("--ft-text-area-horizontal-spacing","","SIZE","16px"),helperColor:K.FtCssVariableFactory.extend("--ft-text-area-helper-color","",K.designSystemVariables.colorOnSurfaceMedium),colorPrimary:K.FtCssVariableFactory.external(K.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:K.FtCssVariableFactory.external(K.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:K.FtCssVariableFactory.external(K.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:K.FtCssVariableFactory.external(K.designSystemVariables.borderRadiusS,"Design system"),colorError:K.FtCssVariableFactory.external(K.designSystemVariables.colorError,"Design system")},_c=Tc.css`
|
|
915
915
|
*:focus {
|
|
916
916
|
outline: none;
|
|
917
917
|
}
|
|
@@ -957,8 +957,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
957
957
|
align-self: stretch;
|
|
958
958
|
resize: none;
|
|
959
959
|
|
|
960
|
-
${(0,K.setVariable)(
|
|
961
|
-
${(0,K.setVariable)(
|
|
960
|
+
${(0,K.setVariable)(re.fontSize,Y.fontSize)};
|
|
961
|
+
${(0,K.setVariable)(re.lineHeight,Y.fontSize)};
|
|
962
962
|
color: ${Y.colorOnSurface};
|
|
963
963
|
|
|
964
964
|
padding: 0 ${Y.horizontalSpacing};
|
|
@@ -1011,7 +1011,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1011
1011
|
position: absolute;
|
|
1012
1012
|
bottom: 0;
|
|
1013
1013
|
}
|
|
1014
|
-
`;var
|
|
1014
|
+
`;var ke=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},It=class extends(0,jo.toFtFormComponent)(jo.FtLitElement,"textbox"){constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.height=50,this.focused=!1}render(){let t={"ft-text-area":!0,"ft-text-area--filled":!this.outlined,"ft-text-area--outlined":this.outlined,"ft-text-area--disabled":this.disabled,"ft-text-area--has-value":!!this.value,"ft-text-area--no-label":!this.label,"ft-text-area--in-error":this.error};return Vo.html`
|
|
1015
1015
|
<style>
|
|
1016
1016
|
.ft-text-area--main-panel {
|
|
1017
1017
|
height: calc(4 * ${Y.verticalSpacing} + ${Y.labelSize} + ${Y.fontSize} + ${this.height}px);
|
|
@@ -1021,7 +1021,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1021
1021
|
right: ${this.textarea!=null?this.textarea.offsetWidth-this.textarea.clientWidth:0}px;
|
|
1022
1022
|
}
|
|
1023
1023
|
</style>
|
|
1024
|
-
<div class="${(0,
|
|
1024
|
+
<div class="${(0,Lc.classMap)(t)}">
|
|
1025
1025
|
<div class="ft-text-area--main-panel">
|
|
1026
1026
|
<ft-input-label text="${this.label}"
|
|
1027
1027
|
?disabled=${this.disabled}
|
|
@@ -1053,17 +1053,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1053
1053
|
${this.helper}
|
|
1054
1054
|
</ft-typography>`:void 0}
|
|
1055
1055
|
</div>
|
|
1056
|
-
`}setValue(
|
|
1056
|
+
`}setValue(t,o=!1){this.value=t,this.setFormValue(t),o&&(this.dispatchEvent(new CustomEvent("live-change",{detail:this.value})),this.dispatchEvent(new CustomEvent("change",{detail:this.value})))}onKeyDown(t){(t.key==="Enter"||t.key===" ")&&t.stopPropagation()}updateValueFromInputField(){this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=((t=this.textarea)===null||t===void 0?void 0:t.value)||"",this.setFormValue(this.value),this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}onResize(t){t.detail.height>=50&&(this.height=t.detail.height)}};It.elementDefinitions={"ft-input-label":Wt,"ft-resizer":Lt,"ft-ripple":j,"ft-typography":pt};It.styles=[Tr,_c];ke([(0,ie.property)({type:String})],It.prototype,"label",void 0);ke([(0,ie.property)({reflect:!0})],It.prototype,"value",void 0);ke([(0,ie.property)({type:String})],It.prototype,"helper",void 0);ke([(0,ie.property)({type:Boolean})],It.prototype,"outlined",void 0);ke([(0,ie.property)({type:Boolean})],It.prototype,"disabled",void 0);ke([(0,ie.property)({type:Boolean})],It.prototype,"error",void 0);ke([(0,ie.property)({type:Number,reflect:!0})],It.prototype,"height",void 0);ke([(0,ie.query)("textarea")],It.prototype,"textarea",void 0);ke([(0,ie.state)()],It.prototype,"focused",void 0);(0,kc.customElement)("ft-text-area")(It);var Ed=g($c());var vn=g(R());var ho=g(Z()),Uc=g(R());var zr=g(R());var Mc=g(R());var Dc=g(B()),Bc=g(R());var gr=class extends Bc.FtLitElement{render(){return Dc.html`
|
|
1057
1057
|
<div class="ft-loader">
|
|
1058
1058
|
<div></div>
|
|
1059
1059
|
<div></div>
|
|
1060
1060
|
<div></div>
|
|
1061
1061
|
<div></div>
|
|
1062
1062
|
</div>
|
|
1063
|
-
`}};gr.styles=
|
|
1063
|
+
`}};gr.styles=ss;(0,Mc.customElement)("ft-loader")(gr);var Wr=g(B()),Fc=g(Ve()),kt=g(Z()),Zt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},ut=class extends(0,zr.toFtFormComponent)(zr.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",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.addEventListener("click",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var t;return this.addTooltipIfNeeded(Wr.html`
|
|
1064
1064
|
<button part="button"
|
|
1065
|
-
class="${(0,
|
|
1066
|
-
aria-label="${(
|
|
1065
|
+
class="${(0,Fc.classMap)(this.buttonClasses)}"
|
|
1066
|
+
aria-label="${(t=this.ariaLabel)!==null&&t!==void 0?t:this.getLabel()}"
|
|
1067
1067
|
?disabled=${this.isDisabled()}>
|
|
1068
1068
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
1069
1069
|
<ft-typography part="label"
|
|
@@ -1075,18 +1075,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1075
1075
|
</ft-typography>
|
|
1076
1076
|
${this.resolveIcon()}
|
|
1077
1077
|
</button>
|
|
1078
|
-
`)}addTooltipIfNeeded(
|
|
1078
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Wr.html`
|
|
1079
1079
|
<ft-tooltip part="tooltip"
|
|
1080
1080
|
text="${this.getLabel()}"
|
|
1081
1081
|
position="${this.tooltipPosition}">
|
|
1082
|
-
${
|
|
1082
|
+
${t}
|
|
1083
1083
|
</ft-tooltip>
|
|
1084
|
-
`:
|
|
1084
|
+
`:t}resolveIcon(){return this.loading?Wr.html`
|
|
1085
1085
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?Wr.html`
|
|
1086
1086
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
1087
1087
|
`:Wr.html`
|
|
1088
1088
|
<slot part="icon" name="icon"></slot>
|
|
1089
|
-
`}focus(){var
|
|
1089
|
+
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(o=>this.unslotText(o)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ut.elementDefinitions={"ft-ripple":j,"ft-tooltip":ot,"ft-typography":pt,"ft-icon":vt,"ft-loader":gr};Zt([(0,kt.property)({type:String,reflect:!0})],ut.prototype,"role",void 0);Zt([(0,kt.property)()],ut.prototype,"type",void 0);Zt([(0,kt.property)({type:Boolean})],ut.prototype,"disabled",void 0);Zt([(0,kt.property)()],ut.prototype,"label",void 0);Zt([(0,kt.property)()],ut.prototype,"icon",void 0);Zt([(0,kt.property)()],ut.prototype,"iconVariant",void 0);Zt([(0,kt.property)({type:Boolean})],ut.prototype,"trailingIcon",void 0);Zt([(0,kt.property)({type:Boolean})],ut.prototype,"loading",void 0);Zt([(0,kt.property)({attribute:"aria-label"})],ut.prototype,"ariaLabel",void 0);Zt([(0,kt.property)()],ut.prototype,"tooltipPosition",void 0);Zt([(0,kt.property)({type:Boolean})],ut.prototype,"hideTooltip",void 0);Zt([(0,kt.property)({type:Boolean})],ut.prototype,"forceTooltip",void 0);Zt([(0,kt.query)(".ft-button")],ut.prototype,"button",void 0);Zt([(0,kt.query)(".ft-button--label slot")],ut.prototype,"slottedContent",void 0);var Go=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},fe=class extends ut{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"}};fe.styles=[Uc.safariEllipsisFix,us];Go([(0,ho.property)({type:Boolean})],fe.prototype,"primary",void 0);Go([(0,ho.property)({type:Boolean})],fe.prototype,"outlined",void 0);Go([(0,ho.property)({type:Boolean})],fe.prototype,"dense",void 0);Go([(0,ho.property)({type:Boolean})],fe.prototype,"round",void 0);var yo=g(Z());var Zo=g(R());var Wc=g(B()),C=g(R());var zc=[Wc.css`
|
|
1090
1090
|
:host {
|
|
1091
1091
|
display: inline-block;
|
|
1092
1092
|
max-width: 100%;
|
|
@@ -1170,7 +1170,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1170
1170
|
/** Brand Primary styles **/
|
|
1171
1171
|
|
|
1172
1172
|
.ftds--family-brand.ft-button--primary {
|
|
1173
|
-
${(0,C.setVariable)(
|
|
1173
|
+
${(0,C.setVariable)(rt.color,u.primaryBrandIconColor)};
|
|
1174
1174
|
|
|
1175
1175
|
${(0,C.setVariable)(w.color,u.primaryBrandStateLayerColor)};
|
|
1176
1176
|
${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.primaryBrandHoverStateLayerOpacity)};
|
|
@@ -1194,7 +1194,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1194
1194
|
/** Brand Secondary styles **/
|
|
1195
1195
|
|
|
1196
1196
|
.ftds--family-brand.ft-button--secondary {
|
|
1197
|
-
${(0,C.setVariable)(
|
|
1197
|
+
${(0,C.setVariable)(rt.color,u.secondaryBrandIconColor)};
|
|
1198
1198
|
|
|
1199
1199
|
${(0,C.setVariable)(w.color,u.secondaryBrandStateLayerColor)};
|
|
1200
1200
|
${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.secondaryBrandHoverStateLayerOpacity)};
|
|
@@ -1219,7 +1219,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1219
1219
|
/** Brand Tertiary styles **/
|
|
1220
1220
|
|
|
1221
1221
|
.ftds--family-brand.ft-button--tertiary {
|
|
1222
|
-
${(0,C.setVariable)(
|
|
1222
|
+
${(0,C.setVariable)(rt.color,u.tertiaryBrandIconColor)};
|
|
1223
1223
|
|
|
1224
1224
|
${(0,C.setVariable)(w.color,u.tertiaryBrandStateLayerColor)};
|
|
1225
1225
|
${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.tertiaryBrandHoverStateLayerOpacity)};
|
|
@@ -1243,7 +1243,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1243
1243
|
/** Neutral Secondary styles **/
|
|
1244
1244
|
|
|
1245
1245
|
.ftds--family-neutral.ft-button--secondary {
|
|
1246
|
-
${(0,C.setVariable)(
|
|
1246
|
+
${(0,C.setVariable)(rt.color,u.secondaryNeutralIconColor)};
|
|
1247
1247
|
|
|
1248
1248
|
${(0,C.setVariable)(w.backgroundColor,u.secondaryNeutralStateLayerColor)};
|
|
1249
1249
|
${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.secondaryNeutralHoverStateLayerOpacity)};
|
|
@@ -1268,7 +1268,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1268
1268
|
/** Neutral Tertiary styles **/
|
|
1269
1269
|
|
|
1270
1270
|
.ftds--family-neutral.ft-button--tertiary {
|
|
1271
|
-
${(0,C.setVariable)(
|
|
1271
|
+
${(0,C.setVariable)(rt.color,u.tertiaryNeutralIconColor)};
|
|
1272
1272
|
|
|
1273
1273
|
${(0,C.setVariable)(w.backgroundColor,u.tertiaryNeutralStateLayerColor)};
|
|
1274
1274
|
${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.tertiaryNeutralHoverStateLayerOpacity)};
|
|
@@ -1292,7 +1292,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1292
1292
|
/** Info Secondary styles **/
|
|
1293
1293
|
|
|
1294
1294
|
.ftds--family-info.ft-button--secondary {
|
|
1295
|
-
${(0,C.setVariable)(
|
|
1295
|
+
${(0,C.setVariable)(rt.color,u.secondaryInfoIconColor)};
|
|
1296
1296
|
|
|
1297
1297
|
${(0,C.setVariable)(w.backgroundColor,u.secondaryInfoStateLayerColor)};
|
|
1298
1298
|
${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.secondaryInfoHoverStateLayerOpacity)};
|
|
@@ -1317,7 +1317,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1317
1317
|
/** Info Tertiary styles **/
|
|
1318
1318
|
|
|
1319
1319
|
.ftds--family-info.ft-button--tertiary {
|
|
1320
|
-
${(0,C.setVariable)(
|
|
1320
|
+
${(0,C.setVariable)(rt.color,u.tertiaryInfoIconColor)};
|
|
1321
1321
|
|
|
1322
1322
|
${(0,C.setVariable)(w.backgroundColor,u.tertiaryInfoStateLayerColor)};
|
|
1323
1323
|
${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.tertiaryInfoHoverStateLayerOpacity)};
|
|
@@ -1341,7 +1341,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1341
1341
|
/** Success Secondary styles **/
|
|
1342
1342
|
|
|
1343
1343
|
.ftds--family-success.ft-button--secondary {
|
|
1344
|
-
${(0,C.setVariable)(
|
|
1344
|
+
${(0,C.setVariable)(rt.color,u.secondarySuccessIconColor)};
|
|
1345
1345
|
|
|
1346
1346
|
${(0,C.setVariable)(w.backgroundColor,u.secondarySuccessStateLayerColor)};
|
|
1347
1347
|
${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.secondarySuccessHoverStateLayerOpacity)};
|
|
@@ -1366,7 +1366,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1366
1366
|
/** Success Tertiary styles **/
|
|
1367
1367
|
|
|
1368
1368
|
.ftds--family-success.ft-button--tertiary {
|
|
1369
|
-
${(0,C.setVariable)(
|
|
1369
|
+
${(0,C.setVariable)(rt.color,u.tertiarySuccessIconColor)};
|
|
1370
1370
|
|
|
1371
1371
|
${(0,C.setVariable)(w.backgroundColor,u.tertiarySuccessStateLayerColor)};
|
|
1372
1372
|
${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.tertiarySuccessHoverStateLayerOpacity)};
|
|
@@ -1390,7 +1390,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1390
1390
|
/** Warning Secondary styles **/
|
|
1391
1391
|
|
|
1392
1392
|
.ftds--family-warning.ft-button--secondary {
|
|
1393
|
-
${(0,C.setVariable)(
|
|
1393
|
+
${(0,C.setVariable)(rt.color,u.secondaryWarningIconColor)};
|
|
1394
1394
|
|
|
1395
1395
|
${(0,C.setVariable)(w.backgroundColor,u.secondaryWarningStateLayerColor)};
|
|
1396
1396
|
${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.secondaryWarningHoverStateLayerOpacity)};
|
|
@@ -1415,7 +1415,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1415
1415
|
/** Warning Tertiary styles **/
|
|
1416
1416
|
|
|
1417
1417
|
.ftds--family-warning.ft-button--tertiary {
|
|
1418
|
-
${(0,C.setVariable)(
|
|
1418
|
+
${(0,C.setVariable)(rt.color,u.tertiaryWarningIconColor)};
|
|
1419
1419
|
|
|
1420
1420
|
${(0,C.setVariable)(w.backgroundColor,u.tertiaryWarningStateLayerColor)};
|
|
1421
1421
|
${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.tertiaryWarningHoverStateLayerOpacity)};
|
|
@@ -1439,7 +1439,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1439
1439
|
/** Error Secondary styles **/
|
|
1440
1440
|
|
|
1441
1441
|
.ftds--family-error.ft-button--secondary {
|
|
1442
|
-
${(0,C.setVariable)(
|
|
1442
|
+
${(0,C.setVariable)(rt.color,u.secondaryErrorIconColor)};
|
|
1443
1443
|
|
|
1444
1444
|
${(0,C.setVariable)(w.backgroundColor,u.secondaryErrorStateLayerColor)};
|
|
1445
1445
|
${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.secondaryErrorHoverStateLayerOpacity)};
|
|
@@ -1464,7 +1464,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1464
1464
|
/** Error Tertiary styles **/
|
|
1465
1465
|
|
|
1466
1466
|
.ftds--family-error.ft-button--tertiary {
|
|
1467
|
-
${(0,C.setVariable)(
|
|
1467
|
+
${(0,C.setVariable)(rt.color,u.tertiaryErrorIconColor)};
|
|
1468
1468
|
|
|
1469
1469
|
${(0,C.setVariable)(w.backgroundColor,u.tertiaryErrorStateLayerColor)};
|
|
1470
1470
|
${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.tertiaryErrorHoverStateLayerOpacity)};
|
|
@@ -1488,8 +1488,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1488
1488
|
/** Large styles **/
|
|
1489
1489
|
|
|
1490
1490
|
.ftds--size-large {
|
|
1491
|
-
${(0,C.setVariable)(
|
|
1492
|
-
${(0,C.setVariable)(
|
|
1491
|
+
${(0,C.setVariable)(xt.size,u.largeIconSize)};
|
|
1492
|
+
${(0,C.setVariable)(rt.size,u.largeIconSize)};
|
|
1493
1493
|
|
|
1494
1494
|
height: ${u.largeHeight};
|
|
1495
1495
|
padding: 0 ${u.largeHorizontalPadding};
|
|
@@ -1510,8 +1510,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1510
1510
|
/** Small styles **/
|
|
1511
1511
|
|
|
1512
1512
|
.ftds--size-medium {
|
|
1513
|
-
${(0,C.setVariable)(
|
|
1514
|
-
${(0,C.setVariable)(
|
|
1513
|
+
${(0,C.setVariable)(xt.size,u.mediumIconSize)};
|
|
1514
|
+
${(0,C.setVariable)(rt.size,u.mediumIconSize)};
|
|
1515
1515
|
|
|
1516
1516
|
height: ${u.mediumHeight};
|
|
1517
1517
|
padding: 0 ${u.mediumHorizontalPadding};
|
|
@@ -1533,8 +1533,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1533
1533
|
/** Small styles **/
|
|
1534
1534
|
|
|
1535
1535
|
.ftds--size-small {
|
|
1536
|
-
${(0,C.setVariable)(
|
|
1537
|
-
${(0,C.setVariable)(
|
|
1536
|
+
${(0,C.setVariable)(xt.size,u.smallIconSize)};
|
|
1537
|
+
${(0,C.setVariable)(rt.size,u.smallIconSize)};
|
|
1538
1538
|
|
|
1539
1539
|
height: ${u.smallHeight};
|
|
1540
1540
|
padding: 0 ${u.smallHorizontalPadding};
|
|
@@ -1551,15 +1551,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1551
1551
|
.ftds--size-small.ft-button--icon-only {
|
|
1552
1552
|
width: ${u.smallIconOnlyWidth};
|
|
1553
1553
|
}
|
|
1554
|
-
`,C.noTextSelect];var Ko=function(t,
|
|
1555
|
-
`;var yi=g(R());var
|
|
1556
|
-
`;var qo=g(R()),
|
|
1554
|
+
`,C.noTextSelect];var Ko=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},Pe=class extends(0,Zo.toFtdsBase)(ut){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Ro.brand,this.iconVariant=_t.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 wr.large:return He.body2medium;case wr.medium:return He.caption1medium;case wr.small:return He.caption2medium}}};Pe.styles=[Zo.safariEllipsisFix,zc];Ko([(0,yo.property)({type:Boolean})],Pe.prototype,"primary",void 0);Ko([(0,yo.property)({type:Boolean})],Pe.prototype,"secondary",void 0);Ko([(0,yo.property)({type:Boolean})],Pe.prototype,"tertiary",void 0);Ko([(0,yo.property)({type:Boolean})],Pe.prototype,"round",void 0);(0,vn.customElement)("ft-button")(fe);(0,vn.customElement)("ftds-button")(Pe);var Vl=g(R());var mi=g(B()),gi=g(Z()),bi=g(R());var Hc=g(B());var Vc=Hc.css`
|
|
1555
|
+
`;var yi=g(R());var Wl=g(R());var qc=g(B()),ne=g(Z()),ue=g(R());var jc=g(B());var Gc=jc.css`
|
|
1556
|
+
`;var qo=g(R()),lp="ft-app-info",xn=class extends CustomEvent{constructor(t){super("authentication-change",{detail:t})}},dp={session:(e,t)=>{(0,qo.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>T.eventBus.dispatchEvent(new xn(t.payload)),0))}},T=qo.FtReduxStore.get({name:lp,reducers:dp,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var Ze=g(R());var Sn=g(R());var br=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:i}=T.getState(),n=t??i;if(o&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,n,!0)}static await(t){return new Promise(o=>{let i=e.get(t);if(i)o(i);else{let n=T.subscribe(()=>{i=e.get(t),i&&(n(),o(i))})}})}};var Ce=class{constructor(t=!0,o){var i;this.overrideApi=o;let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new Sn.CacheRegistry,this.cache=t?n.commonCache:new Sn.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:br.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):br.await()}clearCache(){this.cache.clearAll()}};var Kc,pp=Symbol("clearAfterUnitTest"),Yo=class extends Ce{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Kc]=()=>{this.defaultMessages={},this.cache=new Ze.CacheRegistry,this.listeners={}},this.currentUiLocale=T.getState().uiLocale,T.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=T.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var i;if(t=t.toLowerCase(),Object.keys(o).length>0){let n={...(i=this.defaultMessages[t])!==null&&i!==void 0?i:{},...o};(0,Ze.deepEqual)(this.defaultMessages[t],n)||(this.defaultMessages[t]=n,await this.notify(t))}await this.fetchContext(t)}resolveContext(t){var o,i;return this.fetchContext(t),(i=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(t,o){let i=t.toLowerCase();return this.resolveContext(i)[o]}resolveMessage(t,o,...i){var n;let a=t.toLowerCase(),s=this.resolveContext(a);return new Ze.ParametrizedLabelResolver((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(o,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(o){console.error(o)}}subscribe(t,o){var i;return t=t.toLowerCase(),this.listeners[t]=(i=this.listeners[t])!==null&&i!==void 0?i:new Set,this.listeners[t].add(o),()=>{var n;return(n=this.listeners[t])===null||n===void 0?void 0:n.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(o=>(0,Ze.delay)(0).then(()=>o()).catch(()=>null)))}};Kc=pp;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Yo{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Yo{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var vr=window.FluidTopicsI18nService,Zc=window.FluidTopicsCustomI18nService;var zt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},ht=class extends ue.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=()=>br.get(),this.messageContexts=[],this.cache=new ue.CacheRegistry,this.cleanSessionDebouncer=new ue.Debouncer}render(){return qc.html`
|
|
1557
1557
|
<slot></slot>
|
|
1558
|
-
`}update(e){super.update(e),e.has("baseUrl")&&(T.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&T.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&T.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&T.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&T.actions.noCustom(this.noCustom),e.has("editorMode")&&T.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&T.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&T.actions.session(this.session),e.has("availableUiLocales")&&T.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>vr.addContext(o)),e.has("openExternalDocumentInNewTab")&&T.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&T.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&T.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};he.elementDefinitions={};he.styles=jc;ze([(0,nt.property)()],he.prototype,"baseUrl",void 0);ze([(0,nt.property)()],he.prototype,"apiIntegrationIdentifier",void 0);ze([(0,nt.property)()],he.prototype,"uiLocale",void 0);ze([(0,ut.jsonProperty)(null)],he.prototype,"availableUiLocales",void 0);ze([(0,ut.jsonProperty)(null)],he.prototype,"metadataConfiguration",void 0);ze([(0,nt.property)({type:Boolean})],he.prototype,"editorMode",void 0);ze([(0,nt.property)({type:Boolean})],he.prototype,"noCustom",void 0);ze([(0,nt.property)({type:Boolean})],he.prototype,"openExternalDocumentInNewTab",void 0);ze([(0,nt.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],he.prototype,"noCustomComponent",void 0);ze([(0,nt.property)({type:Boolean})],he.prototype,"withManualResources",void 0);ze([(0,nt.property)({type:Boolean})],he.prototype,"navigatorOnline",void 0);ze([(0,nt.property)({type:Boolean})],he.prototype,"forcedOffline",void 0);ze([(0,nt.property)({type:Object})],he.prototype,"apiProvider",void 0);ze([(0,ut.jsonProperty)([])],he.prototype,"messageContexts",void 0);ze([(0,ut.jsonProperty)(void 0)],he.prototype,"session",void 0);var Yp=g(Z());function pp(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,i,n;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(i=o;i--!==0;)if(!Xo(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!Xo(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(n=Object.keys(t),o=n.length,o!==Object.keys(e).length)return!1;for(i=o;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=o;i--!==0;){var a=n[i];if(!Xo(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Xo(t,e){try{return pp(t,e)}catch{return!1}}function On(t,e){return!Xo(t,e)}var fp=g(Z(),1);var Jo=class{constructor(){this.queue=[]}add(e,o=!1){o&&(this.queue=this.queue.filter(i=>i.type!==e.type)),this.queue.push(e)}consume(e){let o=this.queue.find(i=>i.type===e);return o&&(this.queue=this.queue.filter(i=>i!==o)),o}};var mo=g(Z(),1);var qc=g(Z(),1);function Yc(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,qc.property)({type:Object,converter:{fromAttribute:i=>{if(i==null)return o();try{return JSON.parse(i)}catch{return o()}},toAttribute:i=>JSON.stringify(i)},hasChanged:On,...e??{}})}var Qo=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,i)=>{this.resolvePromise=o,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Jc=g(B(),1);var ei=window,up=ei.ShadowRoot&&(ei.ShadyCSS===void 0||ei.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Wv=Symbol();var Xc=(t,e)=>{up?t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let i=document.createElement("style"),n=ei.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=o.cssText,t.appendChild(i)})};var ti=class extends Jc.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let o={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(o);return Xc(i,e.elementStyles),i}};var ri=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},rl,Qc=Symbol("constructorPrototype"),el=Symbol("constructorName"),ol=Symbol("exportpartsDebouncer"),tl=Symbol("dynamicDependenciesLoaded"),qt=class extends ti{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[rl]=new Qo(5),this[el]=this.constructor.name,this[Qc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[el]&&Object.setPrototypeOf(this,this[Qc])}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 e=this.constructor;e[tl]||(e[tl]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var o,i,n;if(((i=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,o,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&i!==void 0&&i)&&this[ol].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,i,n,a,s,l;let p=b=>b!=null&&b.trim().length>0,f=e.filter(p).map(b=>b.trim());if(f.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let b of(i=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let x=(a=(n=b.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],S=(l=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...x,...S).filter(p).map(O=>O.trim()).forEach(O=>y.add(O))}if(y.size===0){this.removeAttribute("exportparts");return}let m=[...y.values()].flatMap(b=>f.map(x=>`${b}:${x}--${b}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};rl=ol;ri([(0,mo.property)()],qt.prototype,"exportpartsPrefix",void 0);ri([Yc([])],qt.prototype,"exportpartsPrefixes",void 0);ri([(0,mo.property)()],qt.prototype,"customStylesheet",void 0);ri([(0,mo.state)()],qt.prototype,"useAdoptedStyleSheets",void 0);function go(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var il,nl,al,oi=Symbol("internalReduxEventsUnsubscribers"),Yt=Symbol("internalStoresUnsubscribers"),xr=Symbol("internalStores"),bo=class extends qt{constructor(){super(...arguments),this[il]=new Map,this[nl]=new Map,this[al]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[xr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[xr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[xr].get(e)}addStore(e,o){var i;o=(i=o??(go(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,e)}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[xr].delete(o)}setupStore(e,o){this[xr].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[xr].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let i=this.constructor.getPropertyOptions(o);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:o)){let n=this.getStore(e.store);n&&(e.store?this[Yt].has(e.store):this[Yt].size>0)&&(this[o]=e.selector(n.getState(),this))}})}subscribeToStore(e,o){var i;this[Yt].set(e,o.subscribe(()=>this.updateFromStores())),go(o)&&o.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||o.name===n.store)){let s=l=>this[a](l);o.eventBus.addEventListener(n.eventName,s),this[oi].push(()=>o.eventBus.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Yt].forEach((e,o)=>this.unsubscribeFromStore(o)),this[oi].forEach(e=>e()),this[oi]=[]}unsubscribeFromStore(e){this[Yt].has(e)&&this[Yt].get(e)(),this[Yt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};il=Yt,nl=xr,al=oi;bo.reduxProperties=new Map;bo.reduxReactiveProperties=new Set;bo.reduxEventListeners=new Map;function at(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function $t(t){return!!t&&!!t[ie]}function ht(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var i=Object.getPrototypeOf(o);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===Sp}(t)||Array.isArray(t)||!!t[ul]||!!(!((e=t.constructor)===null||e===void 0)&&e[ul])||_n(t)||kn(t))}function Sr(t,e,o){o===void 0&&(o=!1),jr(t)===0?(o?Object.keys:Vr)(t).forEach(function(i){o&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function jr(t){var e=t[ie];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:_n(t)?2:kn(t)?3:0}function Hr(t,e){return jr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function hp(t,e){return jr(t)===2?t.get(e):t[e]}function hl(t,e,o){var i=jr(t);i===2?t.set(e,o):i===3?t.add(o):t[e]=o}function yl(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function _n(t){return vp&&t instanceof Map}function kn(t){return xp&&t instanceof Set}function Xt(t){return t.o||t.t}function Ln(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=bl(t);delete e[ie];for(var o=Vr(e),i=0;i<o.length;i++){var n=o[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function Pn(t,e){return e===void 0&&(e=!1),$n(t)||$t(t)||!ht(t)||(jr(t)>1&&(t.set=t.add=t.clear=t.delete=yp),Object.freeze(t),e&&Sr(t,function(o,i){return Pn(i,!0)},!0)),t}function yp(){at(2)}function $n(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function wt(t){var e=Tn[t];return e||at(18,t),e}function mp(t,e){Tn[t]||(Tn[t]=e)}function Rn(){return xo}function Cn(t,e){e&&(wt("Patches"),t.u=[],t.s=[],t.v=e)}function ii(t){In(t),t.p.forEach(gp),t.p=null}function In(t){t===xo&&(xo=t.l)}function sl(t){return xo={p:[],l:xo,h:t,m:!0,_:0}}function gp(t){var e=t[ie];e.i===0||e.i===1?e.j():e.g=!0}function wn(t,e){e._=e.p.length;var o=e.p[0],i=t!==void 0&&t!==o;return e.h.O||wt("ES5").S(e,t,i),i?(o[ie].P&&(ii(e),at(4)),ht(t)&&(t=ni(e,t),e.l||ai(e,t)),e.u&&wt("Patches").M(o[ie].t,t,e.u,e.s)):t=ni(e,o,[]),ii(e),e.u&&e.v(e.u,e.s),t!==gl?t:void 0}function ni(t,e,o){if($n(e))return e;var i=e[ie];if(!i)return Sr(e,function(l,p){return cl(t,i,e,l,p,o)},!0),e;if(i.A!==t)return e;if(!i.P)return ai(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Ln(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),Sr(a,function(l,p){return cl(t,i,n,l,p,o,s)}),ai(t,n,!1),o&&t.u&&wt("Patches").N(i,o,t.u,t.s)}return i.o}function cl(t,e,o,i,n,a,s){if($t(n)){var l=ni(t,n,a&&e&&e.i!==3&&!Hr(e.R,i)?a.concat(i):void 0);if(hl(o,i,l),!$t(l))return;t.m=!1}else s&&o.add(n);if(ht(n)&&!$n(n)){if(!t.h.D&&t._<1)return;ni(t,n),e&&e.A.l||ai(t,n)}}function ai(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&Pn(e,o)}function En(t,e){var o=t[ie];return(o?Xt(o):t)[e]}function ll(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var i=Object.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function Jt(t){t.P||(t.P=!0,t.l&&Jt(t.l))}function An(t){t.o||(t.o=Ln(t.t))}function Nn(t,e,o){var i=_n(e)?wt("MapSet").F(e,o):kn(e)?wt("MapSet").T(e,o):t.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:Rn(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},p=l,f=So;s&&(p=[l],f=vo);var y=Proxy.revocable(p,f),m=y.revoke,b=y.proxy;return l.k=b,l.j=m,b}(e,o):wt("ES5").J(e,o);return(o?o.A:Rn()).p.push(i),i}function bp(t){return $t(t)||at(22,t),function e(o){if(!ht(o))return o;var i,n=o[ie],a=jr(o);if(n){if(!n.P&&(n.i<4||!wt("ES5").K(n)))return n.t;n.I=!0,i=dl(o,a),n.I=!1}else i=dl(o,a);return Sr(i,function(s,l){n&&hp(n.t,s)===l||hl(i,s,e(l))}),a===3?new Set(i):i}(t)}function dl(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Ln(t)}function ml(){function t(s,l){var p=a[s];return p?p.enumerable=l:a[s]=p={configurable:!0,enumerable:l,get:function(){var f=this[ie];return So.get(f,s)},set:function(f){var y=this[ie];So.set(y,s,f)}},p}function e(s){for(var l=s.length-1;l>=0;l--){var p=s[l][ie];if(!p.P)switch(p.i){case 5:i(p)&&Jt(p);break;case 4:o(p)&&Jt(p)}}}function o(s){for(var l=s.t,p=s.k,f=Vr(p),y=f.length-1;y>=0;y--){var m=f[y];if(m!==ie){var b=l[m];if(b===void 0&&!Hr(l,m))return!0;var x=p[m],S=x&&x[ie];if(S?S.t!==b:!yl(x,b))return!0}}var O=!!l[ie];return f.length!==Vr(l).length+(O?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var p=Object.getOwnPropertyDescriptor(l,l.length-1);if(p&&!p.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function n(s){s.g&&at(3,JSON.stringify(Xt(s)))}var a={};mp("ES5",{J:function(s,l){var p=Array.isArray(s),f=function(m,b){if(m){for(var x=Array(b.length),S=0;S<b.length;S++)Object.defineProperty(x,""+S,t(S,!0));return x}var O=bl(b);delete O[ie];for(var _=Vr(O),I=0;I<_.length;I++){var N=_[I];O[N]=t(N,m||!!O[N].enumerable)}return Object.create(Object.getPrototypeOf(b),O)}(p,s),y={i:p?5:4,A:l?l.A:Rn(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,ie,{value:y,writable:!0}),f},S:function(s,l,p){p?$t(l)&&l[ie].A===s&&e(s.p):(s.u&&function f(y){if(y&&typeof y=="object"){var m=y[ie];if(m){var b=m.t,x=m.k,S=m.R,O=m.i;if(O===4)Sr(x,function(F){F!==ie&&(b[F]!==void 0||Hr(b,F)?S[F]||f(x[F]):(S[F]=!0,Jt(m)))}),Sr(b,function(F){x[F]!==void 0||Hr(x,F)||(S[F]=!1,Jt(m))});else if(O===5){if(i(m)&&(Jt(m),S.length=!0),x.length<b.length)for(var _=x.length;_<b.length;_++)S[_]=!1;else for(var I=b.length;I<x.length;I++)S[I]=!0;for(var N=Math.min(x.length,b.length),D=0;D<N;D++)x.hasOwnProperty(D)||(S[D]=!0),S[D]===void 0&&f(x[D])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):i(s)}})}var pl,xo,Dn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",vp=typeof Map<"u",xp=typeof Set<"u",fl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",gl=Dn?Symbol.for("immer-nothing"):((pl={})["immer-nothing"]=!0,pl),ul=Dn?Symbol.for("immer-draftable"):"__$immer_draftable",ie=Dn?Symbol.for("immer-state"):"__$immer_state";var Sp=""+Object.prototype.constructor,Vr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,bl=Object.getOwnPropertyDescriptors||function(t){var e={};return Vr(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},Tn={},So={get:function(t,e){if(e===ie)return t;var o=Xt(t);if(!Hr(o,e))return function(n,a,s){var l,p=ll(a,s);return p?"value"in p?p.value:(l=p.get)===null||l===void 0?void 0:l.call(n.k):void 0}(t,o,e);var i=o[e];return t.I||!ht(i)?i:i===En(t.t,e)?(An(t),t.o[e]=Nn(t.A.h,i,t)):i},has:function(t,e){return e in Xt(t)},ownKeys:function(t){return Reflect.ownKeys(Xt(t))},set:function(t,e,o){var i=ll(Xt(t),e);if(i?.set)return i.set.call(t.k,o),!0;if(!t.P){var n=En(Xt(t),e),a=n?.[ie];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(yl(o,n)&&(o!==void 0||Hr(t.t,e)))return!0;An(t),Jt(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return En(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,An(t),Jt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Xt(t),i=Reflect.getOwnPropertyDescriptor(o,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:o[e]}},defineProperty:function(){at(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){at(12)}},vo={};Sr(So,function(t,e){vo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),vo.deleteProperty=function(t,e){return vo.set.call(this,t,e,void 0)},vo.set=function(t,e,o){return So.set.call(this,t[0],e,o,t[0])};var Op=function(){function t(o){var i=this;this.O=fl,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var p=i;return function(O){var _=this;O===void 0&&(O=l);for(var I=arguments.length,N=Array(I>1?I-1:0),D=1;D<I;D++)N[D-1]=arguments[D];return p.produce(O,function(F){var W;return(W=a).call.apply(W,[_,F].concat(N))})}}var f;if(typeof a!="function"&&at(6),s!==void 0&&typeof s!="function"&&at(7),ht(n)){var y=sl(i),m=Nn(i,n,void 0),b=!0;try{f=a(m),b=!1}finally{b?ii(y):In(y)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(O){return Cn(y,s),wn(O,y)},function(O){throw ii(y),O}):(Cn(y,s),wn(f,y))}if(!n||typeof n!="object"){if((f=a(n))===void 0&&(f=n),f===gl&&(f=void 0),i.D&&Pn(f,!0),s){var x=[],S=[];wt("Patches").M(n,f,x,S),s(x,S)}return f}at(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(f){for(var y=arguments.length,m=Array(y>1?y-1:0),b=1;b<y;b++)m[b-1]=arguments[b];return i.produceWithPatches(f,function(x){return n.apply(void 0,[x].concat(m))})};var s,l,p=i.produce(n,a,function(f,y){s=f,l=y});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,s,l]}):[p,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){ht(o)||at(8),$t(o)&&(o=bp(o));var i=sl(this),n=Nn(this,o,void 0);return n[ie].C=!0,In(i),n},e.finishDraft=function(o,i){var n=o&&o[ie],a=n.A;return Cn(a,i),wn(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!fl&&at(20),this.O=o},e.applyPatches=function(o,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}n>-1&&(i=i.slice(n+1));var s=wt("Patches").$;return $t(o)?s(o,i):this.produce(o,function(l){return s(l,i)})},t}(),et=new Op,Cp=et.produce,Qv=et.produceWithPatches.bind(et),ex=et.setAutoFreeze.bind(et),tx=et.setUseProxies.bind(et),rx=et.applyPatches.bind(et),ox=et.createDraft.bind(et),ix=et.finishDraft.bind(et),si=Cp;function Qt(t){"@babel/helpers - typeof";return Qt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qt(t)}function Bn(t,e){if(Qt(t)!=="object"||t===null)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var i=o.call(t,e||"default");if(Qt(i)!=="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Mn(t){var e=Bn(t,"string");return Qt(e)==="symbol"?e:String(e)}function Fn(t,e,o){return e=Mn(e),e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function vl(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,i)}return o}function ci(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?vl(Object(o),!0).forEach(function(i){Fn(t,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):vl(Object(o)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(o,i))})}return t}function Pe(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var xl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Un=function(){return Math.random().toString(36).substring(7).split("").join(".")},li={INIT:"@@redux/INIT"+Un(),REPLACE:"@@redux/REPLACE"+Un(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Un()}};function wp(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Wn(t,e,o){var i;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Pe(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Pe(1));return o(Wn)(t,e)}if(typeof t!="function")throw new Error(Pe(2));var n=t,a=e,s=[],l=s,p=!1;function f(){l===s&&(l=s.slice())}function y(){if(p)throw new Error(Pe(3));return a}function m(O){if(typeof O!="function")throw new Error(Pe(4));if(p)throw new Error(Pe(5));var _=!0;return f(),l.push(O),function(){if(_){if(p)throw new Error(Pe(6));_=!1,f();var N=l.indexOf(O);l.splice(N,1),s=null}}}function b(O){if(!wp(O))throw new Error(Pe(7));if(typeof O.type>"u")throw new Error(Pe(8));if(p)throw new Error(Pe(9));try{p=!0,a=n(a,O)}finally{p=!1}for(var _=s=l,I=0;I<_.length;I++){var N=_[I];N()}return O}function x(O){if(typeof O!="function")throw new Error(Pe(10));n=O,b({type:li.REPLACE})}function S(){var O,_=m;return O={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(Pe(11));function D(){N.next&&N.next(y())}D();var F=_(D);return{unsubscribe:F}}},O[xl]=function(){return this},O}return b({type:li.INIT}),i={dispatch:b,subscribe:m,getState:y,replaceReducer:x},i[xl]=S,i}function Ep(t){Object.keys(t).forEach(function(e){var o=t[e],i=o(void 0,{type:li.INIT});if(typeof i>"u")throw new Error(Pe(12));if(typeof o(void 0,{type:li.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Pe(13))})}function Sl(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(o[n]=t[n])}var a=Object.keys(o),s,l;try{Ep(o)}catch(p){l=p}return function(f,y){if(f===void 0&&(f={}),l)throw l;if(0)var m;for(var b=!1,x={},S=0;S<a.length;S++){var O=a[S],_=o[O],I=f[O],N=_(I,y);if(typeof N>"u"){var D=y&&y.type;throw new Error(Pe(14))}x[O]=N,b=b||N!==I}return b=b||a.length!==Object.keys(f).length,b?x:f}}function Gr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function Ol(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Pe(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(p){return p(s)});return a=Gr.apply(void 0,l)(n.dispatch),ci(ci({},n),{},{dispatch:a})}}}function Cl(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,t):s(l)}}};return e}var wl=Cl();wl.withExtraArgument=Cl;var zn=wl;var Nl=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function i(){this.constructor=e}e.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)}}(),Ap=function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(f){return function(y){return p([f,y])}}function p(f){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,n&&(a=f[0]&2?n.return:f[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,f[1])).done)return a;switch(n=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return o.label++,{value:f[1],done:!1};case 5:o.label++,n=f[1],f=[0];continue;case 7:f=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){o=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){o.label=f[1];break}if(f[0]===6&&o.label<a[1]){o.label=a[1],a=f;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(f);break}a[2]&&o.ops.pop(),o.trys.pop();continue}f=e.call(t,o)}catch(y){f=[6,y],n=0}finally{i=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Kr=function(t,e){for(var o=0,i=e.length,n=t.length;o<i;o++,n++)t[n]=e[o];return t},Rp=Object.defineProperty,Ip=Object.defineProperties,Np=Object.getOwnPropertyDescriptors,El=Object.getOwnPropertySymbols,Tp=Object.prototype.hasOwnProperty,_p=Object.prototype.propertyIsEnumerable,Al=function(t,e,o){return e in t?Rp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},er=function(t,e){for(var o in e||(e={}))Tp.call(e,o)&&Al(t,o,e[o]);if(El)for(var i=0,n=El(e);i<n.length;i++){var o=n[i];_p.call(e,o)&&Al(t,o,e[o])}return t},Hn=function(t,e){return Ip(t,Np(e))},kp=function(t,e,o){return new Promise(function(i,n){var a=function(p){try{l(o.next(p))}catch(f){n(f)}},s=function(p){try{l(o.throw(p))}catch(f){n(f)}},l=function(p){return p.done?i(p.value):Promise.resolve(p.value).then(a,s)};l((o=o.apply(t,e)).next())})};var Lp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Gr:Gr.apply(null,arguments)},Ox=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Pp(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var $p=function(t){Nl(e,t);function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var n=t.apply(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Kr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Kr([void 0],o.concat(this))))},e}(Array),Dp=function(t){Nl(e,t);function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var n=t.apply(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Kr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Kr([void 0],o.concat(this))))},e}(Array);function Gn(t){return ht(t)?si(t,function(){}):t}function Bp(t){return typeof t=="boolean"}function Mp(){return function(e){return Fp(e)}}function Fp(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,s=a===void 0?!0:a,l=new $p;if(o&&(Bp(o)?l.push(zn):l.push(zn.withExtraArgument(o.extraArgument))),0){if(n)var p;if(s)var f}return l}var Vn=!0;function Tl(t){var e=Mp(),o=t||{},i=o.reducer,n=i===void 0?void 0:i,a=o.middleware,s=a===void 0?e():a,l=o.devTools,p=l===void 0?!0:l,f=o.preloadedState,y=f===void 0?void 0:f,m=o.enhancers,b=m===void 0?void 0:m,x;if(typeof n=="function")x=n;else if(Pp(n))x=Sl(n);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 S=s;if(typeof S=="function"&&(S=S(e),!Vn&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Vn&&S.some(function(F){return typeof F!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=Ol.apply(void 0,S),_=Gr;p&&(_=Lp(er({trace:!Vn},typeof p=="object"&&p)));var I=new Dp(O),N=I;Array.isArray(b)?N=Kr([O],b):typeof b=="function"&&(N=b(I));var D=_.apply(void 0,N);return Wn(x,y,D)}function tr(t,e){function o(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return er(er({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:i[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(i){return i.type===t},o}function _l(t){var e={},o=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,o,i]}function Up(t){return typeof t=="function"}function Wp(t,e,o,i){o===void 0&&(o=[]);var n=typeof e=="function"?_l(e):[e,o,i],a=n[0],s=n[1],l=n[2],p;if(Up(t))p=function(){return Gn(t())};else{var f=Gn(t);p=function(){return f}}function y(m,b){m===void 0&&(m=p());var x=Kr([a[b.type]],s.filter(function(S){var O=S.matcher;return O(b)}).map(function(S){var O=S.reducer;return O}));return x.filter(function(S){return!!S}).length===0&&(x=[l]),x.reduce(function(S,O){if(O)if($t(S)){var _=S,I=O(_,b);return I===void 0?S:I}else{if(ht(S))return si(S,function(N){return O(N,b)});var I=O(S,b);if(I===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return I}return S},m)}return y.getInitialState=p,y}function zp(t,e){return t+"/"+e}function kl(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:Gn(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(y){var m=i[y],b=zp(e,y),x,S;"reducer"in m?(x=m.reducer,S=m.prepare):x=m,a[y]=x,s[b]=x,l[y]=S?tr(b,S):tr(b)});function p(){var y=typeof t.extraReducers=="function"?_l(t.extraReducers):[t.extraReducers],m=y[0],b=m===void 0?{}:m,x=y[1],S=x===void 0?[]:x,O=y[2],_=O===void 0?void 0:O,I=er(er({},b),s);return Wp(o,function(N){for(var D in I)N.addCase(D,I[D]);for(var F=0,W=S;F<W.length;F++){var He=W[F];N.addMatcher(He.matcher,He.reducer)}_&&N.addDefaultCase(_)})}var f;return{name:e,reducer:function(y,m){return f||(f=p()),f(y,m)},actions:l,caseReducers:a,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var Hp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Vp=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=Hp[Math.random()*64|0];return e},jp=["name","message","stack","code"],jn=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Rl=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Gp=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,i=jp;o<i.length;o++){var n=i[o];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},Ax=function(){function t(e,o,i){var n=tr(e+"/fulfilled",function(y,m,b,x){return{payload:y,meta:Hn(er({},x||{}),{arg:b,requestId:m,requestStatus:"fulfilled"})}}),a=tr(e+"/pending",function(y,m,b){return{payload:void 0,meta:Hn(er({},b||{}),{arg:m,requestId:y,requestStatus:"pending"})}}),s=tr(e+"/rejected",function(y,m,b,x,S){return{payload:x,error:(i&&i.serializeError||Gp)(y||"Rejected"),meta:Hn(er({},S||{}),{arg:b,requestId:m,rejectedWithValue:!!x,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),l=!1,p=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function f(y){return function(m,b,x){var S=i?.idGenerator?i.idGenerator(y):Vp(),O=new p,_,I=!1;function N(F){_=F,O.abort()}var D=function(){return kp(this,null,function(){var F,W,He,gt,Be,bt,Ee;return Ap(this,function(h){switch(h.label){case 0:return h.trys.push([0,4,,5]),gt=(F=i?.condition)==null?void 0:F.call(i,y,{getState:b,extra:x}),Zp(gt)?[4,gt]:[3,2];case 1:gt=h.sent(),h.label=2;case 2:if(gt===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,Be=new Promise(function(v,L){return O.signal.addEventListener("abort",function(){return L({name:"AbortError",message:_||"Aborted"})})}),m(a(S,y,(W=i?.getPendingMeta)==null?void 0:W.call(i,{requestId:S,arg:y},{getState:b,extra:x}))),[4,Promise.race([Be,Promise.resolve(o(y,{dispatch:m,getState:b,extra:x,requestId:S,signal:O.signal,abort:N,rejectWithValue:function(v,L){return new jn(v,L)},fulfillWithValue:function(v,L){return new Rl(v,L)}})).then(function(v){if(v instanceof jn)throw v;return v instanceof Rl?n(v.payload,S,y,v.meta):n(v,S,y)})])];case 3:return He=h.sent(),[3,5];case 4:return bt=h.sent(),He=bt instanceof jn?s(null,S,y,bt.payload,bt.meta):s(bt,S,y),[3,5];case 5:return Ee=i&&!i.dispatchConditionRejection&&s.match(He)&&He.meta.condition,Ee||m(He),[2,He]}})})}();return Object.assign(D,{abort:N,requestId:S,arg:y,unwrap:function(){return D.then(Kp)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();function Kp(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Zp(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Ll="listener",Pl="completed",$l="cancelled",Rx="task-"+$l,Ix="task-"+Pl,Nx=Ll+"-"+$l,Tx=Ll+"-"+Pl;var Kn="listenerMiddleware";var _x=tr(Kn+"/add"),kx=tr(Kn+"/removeAll"),Lx=tr(Kn+"/remove");var Il,Px=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Il||(Il=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},qp=function(t){return function(e){setTimeout(e,t)}},$x=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:qp(10);ml();window.ftReduxStores||(window.ftReduxStores={});var Dl=class t{static get(e){var o;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(go(a))return a;if(n==null)return;let s=kl({...n,reducers:(o=n.reducers)!==null&&o!==void 0?o:{}}),l=Tl({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:s.reducer(p,f)});return window.ftReduxStores[n.name]=new t(s,l)}constructor(e,o){this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Jo,this.actions=new Proxy(this.reduxSlice.actions,{get:(i,n,a)=>{let s=n,l=i[s];return l?(...p)=>{let f=l(...p);return this.reduxStore.dispatch(f),f}:p=>{this.setState({[s]:p})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var ui=g(R());var di=class extends Ct{async listMySearches(){let e=T.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var pi=class extends Ct{async listMyBookmarks(){let e=T.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Xp="ft-user-assets",fi=ui.FtReduxStore.get({name:Xp,initialState:{savedSearches:void 0,bookmarks:void 0}}),Zn=class{constructor(){this.currentSession=T.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new pi,this.savedSearchesService=new di,T.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=T.getState();(0,ui.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),fi.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),fi.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();fi.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;fi.actions.bookmarks(o)}}},Bl=new Zn;var qn=class{addCommand(e,o=!1){T.commands.add(e,o)}consumeCommand(e){return T.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new qn;var Ml=g(R()),Yn=class{highlightHtml(e,o,i){(0,Ml.highlightHtml)(e,o,i)}};window.FluidTopicsHighlightHtmlService=new Yn;var Fl=g(R());var Xn=class{isDate(e){var o,i,n,a;return(a=(n=((i=(o=T.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,o){var i,n,a;return Fl.DateFormatter.format(e,(i=o?.locale)!==null&&i!==void 0?i:T.getState().uiLocale,(n=o?.longFormat)!==null&&n!==void 0?n:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Xn;(0,Ul.customElement)("ft-app-context")(he);var zl=g(Z()),Jp=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Jn=Symbol("i18nAttributes"),Or=Symbol("i18nProperties"),Oo=Symbol("i18nUnsubs");function rr(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Kc:vr}i18n(n,a,...s){var l;if(typeof n=="string")return this.i18nService.resolveMessage(n,a,...s);let p=(l=n.args)!==null&&l!==void 0?l:n.argsProvider?n.argsProvider(this):[];return this.i18nService.resolveMessage(n.context,n.key,...p)}onI18nUpdate(n){var a,s;(a=this[Jn])===null||a===void 0||a.forEach((l,p)=>{var f;let y=this.getI18nAttributeValue(p);((f=y?.context)===null||f===void 0?void 0:f.toLowerCase())===n.toLowerCase()&&this.updateI18nAttributeMessage(p,y,l)}),(s=this[Or])===null||s===void 0||s.forEach((l,p)=>{l.context.toLowerCase()===n.toLowerCase()&&(this[p]=this.i18n(l))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(n,a,s){this[n]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(n){var a,s;super.update(n),(a=this[Jn])===null||a===void 0||a.forEach((l,p)=>{let f=this.getI18nAttributeValue(p);f?.context&&f.key&&(n.has(p)||l.argsProvider!=null)&&(n.has(p)&&this.addI18nContext(f.context),this.updateI18nAttributeMessage(p,f,l))}),(s=this[Or])===null||s===void 0||s.forEach((l,p)=>{l.argsProvider!=null&&(this[p]=this.i18n(l))})}getI18nAttributeValue(n){return this[n]}connectedCallback(){var n,a,s,l;super.connectedCallback(),new Set([...(a=(n=this[Or])===null||n===void 0?void 0:n.values())!==null&&a!==void 0?a:[],...[...(l=(s=this[Jn])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(p=>this.getI18nAttributeValue(p))].map(p=>p?.context)).forEach(p=>p&&this.addI18nMessages(p))}addI18nMessages(n,a){n=n.toLowerCase(),this[Oo].has(n)||this[Oo].set(n,this.i18nService.subscribe(n,()=>this.onI18nUpdate(n))),this.i18nService.prepareContext(n,a??{}),this.onI18nUpdate(n)}addI18nContext(n,a){this.addI18nMessages(typeof n=="string"?n:n.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[Oo].forEach(n=>n()),this[Oo].clear()}}return e=Oo,Jp([(0,zl.property)({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var Wl=class extends rr(yi.FtLitElement){},hi=class extends rr(yi.FtLitElementRedux){};var Co=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},yt=class extends hi{constructor(){super(),this.editorMode=!1,this.addStore(T)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":mi.nothing:mi.html`
|
|
1558
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(T.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&T.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&T.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&T.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&T.actions.noCustom(this.noCustom),t.has("editorMode")&&T.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&T.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&T.actions.session(this.session),t.has("availableUiLocales")&&T.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>vr.addContext(o)),t.has("openExternalDocumentInNewTab")&&T.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&T.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&T.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};ht.elementDefinitions={};ht.styles=Gc;zt([(0,ne.property)()],ht.prototype,"baseUrl",void 0);zt([(0,ne.property)()],ht.prototype,"apiIntegrationIdentifier",void 0);zt([(0,ne.property)()],ht.prototype,"uiLocale",void 0);zt([(0,ue.jsonProperty)(null)],ht.prototype,"availableUiLocales",void 0);zt([(0,ue.jsonProperty)(null)],ht.prototype,"metadataConfiguration",void 0);zt([(0,ne.property)({type:Boolean})],ht.prototype,"editorMode",void 0);zt([(0,ne.property)({type:Boolean})],ht.prototype,"noCustom",void 0);zt([(0,ne.property)({type:Boolean})],ht.prototype,"openExternalDocumentInNewTab",void 0);zt([(0,ne.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],ht.prototype,"noCustomComponent",void 0);zt([(0,ne.property)({type:Boolean})],ht.prototype,"withManualResources",void 0);zt([(0,ne.property)({type:Boolean})],ht.prototype,"navigatorOnline",void 0);zt([(0,ne.property)({type:Boolean})],ht.prototype,"forcedOffline",void 0);zt([(0,ne.property)({type:Object})],ht.prototype,"apiProvider",void 0);zt([(0,ue.jsonProperty)([])],ht.prototype,"messageContexts",void 0);zt([(0,ue.jsonProperty)(void 0)],ht.prototype,"session",void 0);var Xp=g(Z());function fp(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,i,n;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(i=o;i--!==0;)if(!Xo(e[i],t[i]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i of e.entries())if(!t.has(i[0]))return!1;for(i of e.entries())if(!Xo(i[1],t.get(i[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i of e.entries())if(!t.has(i[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(n=Object.keys(e),o=n.length,o!==Object.keys(t).length)return!1;for(i=o;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[i]))return!1;for(i=o;i--!==0;){var a=n[i];if(!Xo(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Xo(e,t){try{return fp(e,t)}catch{return!1}}function On(e,t){return!Xo(e,t)}var up=g(Z(),1);var Jo=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(i=>i.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(i=>i.type===t);return o&&(this.queue=this.queue.filter(i=>i!==o)),o}};var mo=g(Z(),1);var Yc=g(Z(),1);function Xc(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,Yc.property)({type:Object,converter:{fromAttribute:i=>{if(i==null)return o();try{return JSON.parse(i)}catch{return o()}},toAttribute:i=>JSON.stringify(i)},hasChanged:On,...t??{}})}var Qo=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,i)=>{this.resolvePromise=o,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let i=[...this.callbacks];this.callbacks=[];let n=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Qc=g(B(),1);var ti=window,hp=ti.ShadowRoot&&(ti.ShadyCSS===void 0||ti.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,zv=Symbol();var Jc=(e,t)=>{hp?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let i=document.createElement("style"),n=ti.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=o.cssText,e.appendChild(i)})};var ei=class extends Qc.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([n,a])=>t.registry.define(n,a)));let o={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(o);return Jc(i,t.elementStyles),i}};var ri=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},ol,tl=Symbol("constructorPrototype"),el=Symbol("constructorName"),il=Symbol("exportpartsDebouncer"),rl=Symbol("dynamicDependenciesLoaded"),qe=class extends ei{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[ol]=new Qo(5),this[el]=this.constructor.name,this[tl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[el]&&Object.setPrototypeOf(this,this[tl])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let t=this.constructor;t[rl]||(t[rl]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,i,n;if(((i=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var t,o,i;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(i=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&i!==void 0&&i)&&this[il].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var o,i,n,a,s,l;let f=b=>b!=null&&b.trim().length>0,p=t.filter(f).map(b=>b.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let b of(i=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let x=(a=(n=b.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],S=(l=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...x,...S).filter(f).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let m=[...h.values()].flatMap(b=>p.map(x=>`${b}:${x}--${b}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};ol=il;ri([(0,mo.property)()],qe.prototype,"exportpartsPrefix",void 0);ri([Xc([])],qe.prototype,"exportpartsPrefixes",void 0);ri([(0,mo.property)()],qe.prototype,"customStylesheet",void 0);ri([(0,mo.state)()],qe.prototype,"useAdoptedStyleSheets",void 0);function go(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var nl,al,sl,oi=Symbol("internalReduxEventsUnsubscribers"),Ye=Symbol("internalStoresUnsubscribers"),xr=Symbol("internalStores"),bo=class extends qe{constructor(){super(...arguments),this[nl]=new Map,this[al]=new Map,this[sl]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[xr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[xr].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[xr].get(t)}addStore(t,o){var i;o=(i=o??(go(t)?t.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[xr].delete(o)}setupStore(t,o){this[xr].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[xr].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let i=this.constructor.getPropertyOptions(o);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:o)){let n=this.getStore(t.store);n&&(t.store?this[Ye].has(t.store):this[Ye].size>0)&&(this[o]=t.selector(n.getState(),this))}})}subscribeToStore(t,o){var i;this[Ye].set(t,o.subscribe(()=>this.updateFromStores())),go(o)&&o.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||o.name===n.store)){let s=l=>this[a](l);o.eventBus.addEventListener(n.eventName,s),this[oi].push(()=>o.eventBus.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Ye].forEach((t,o)=>this.unsubscribeFromStore(o)),this[oi].forEach(t=>t()),this[oi]=[]}unsubscribeFromStore(t){this[Ye].has(t)&&this[Ye].get(t)(),this[Ye].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};nl=Ye,al=xr,sl=oi;bo.reduxProperties=new Map;bo.reduxReactiveProperties=new Set;bo.reduxEventListeners=new Map;function ae(e){for(var t=arguments.length,o=Array(t>1?t-1:0),i=1;i<t;i++)o[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function $e(e){return!!e&&!!e[it]}function he(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var i=Object.getPrototypeOf(o);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===Op}(e)||Array.isArray(e)||!!e[hl]||!!(!((t=e.constructor)===null||t===void 0)&&t[hl])||_n(e)||Ln(e))}function Sr(e,t,o){o===void 0&&(o=!1),jr(e)===0?(o?Object.keys:Vr)(e).forEach(function(i){o&&typeof i=="symbol"||t(i,e[i],e)}):e.forEach(function(i,n){return t(n,i,e)})}function jr(e){var t=e[it];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:_n(e)?2:Ln(e)?3:0}function Hr(e,t){return jr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function yp(e,t){return jr(e)===2?e.get(t):e[t]}function yl(e,t,o){var i=jr(e);i===2?e.set(t,o):i===3?e.add(o):e[t]=o}function ml(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function _n(e){return xp&&e instanceof Map}function Ln(e){return Sp&&e instanceof Set}function Xe(e){return e.o||e.t}function kn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=vl(e);delete t[it];for(var o=Vr(t),i=0;i<o.length;i++){var n=o[i],a=t[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[n]})}return Object.create(Object.getPrototypeOf(e),t)}function Pn(e,t){return t===void 0&&(t=!1),$n(e)||$e(e)||!he(e)||(jr(e)>1&&(e.set=e.add=e.clear=e.delete=mp),Object.freeze(e),t&&Sr(e,function(o,i){return Pn(i,!0)},!0)),e}function mp(){ae(2)}function $n(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function we(e){var t=Tn[e];return t||ae(18,e),t}function gp(e,t){Tn[e]||(Tn[e]=t)}function Rn(){return xo}function Cn(e,t){t&&(we("Patches"),e.u=[],e.s=[],e.v=t)}function ii(e){In(e),e.p.forEach(bp),e.p=null}function In(e){e===xo&&(xo=e.l)}function cl(e){return xo={p:[],l:xo,h:e,m:!0,_:0}}function bp(e){var t=e[it];t.i===0||t.i===1?t.j():t.g=!0}function wn(e,t){t._=t.p.length;var o=t.p[0],i=e!==void 0&&e!==o;return t.h.O||we("ES5").S(t,e,i),i?(o[it].P&&(ii(t),ae(4)),he(e)&&(e=ni(t,e),t.l||ai(t,e)),t.u&&we("Patches").M(o[it].t,e,t.u,t.s)):e=ni(t,o,[]),ii(t),t.u&&t.v(t.u,t.s),e!==bl?e:void 0}function ni(e,t,o){if($n(t))return t;var i=t[it];if(!i)return Sr(t,function(l,f){return ll(e,i,t,l,f,o)},!0),t;if(i.A!==e)return t;if(!i.P)return ai(e,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=kn(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),Sr(a,function(l,f){return ll(e,i,n,l,f,o,s)}),ai(e,n,!1),o&&e.u&&we("Patches").N(i,o,e.u,e.s)}return i.o}function ll(e,t,o,i,n,a,s){if($e(n)){var l=ni(e,n,a&&t&&t.i!==3&&!Hr(t.R,i)?a.concat(i):void 0);if(yl(o,i,l),!$e(l))return;e.m=!1}else s&&o.add(n);if(he(n)&&!$n(n)){if(!e.h.D&&e._<1)return;ni(e,n),t&&t.A.l||ai(e,n)}}function ai(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Pn(t,o)}function En(e,t){var o=e[it];return(o?Xe(o):e)[t]}function dl(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var i=Object.getOwnPropertyDescriptor(o,t);if(i)return i;o=Object.getPrototypeOf(o)}}function Je(e){e.P||(e.P=!0,e.l&&Je(e.l))}function An(e){e.o||(e.o=kn(e.t))}function Nn(e,t,o){var i=_n(t)?we("MapSet").F(t,o):Ln(t)?we("MapSet").T(t,o):e.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:Rn(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},f=l,p=So;s&&(f=[l],p=vo);var h=Proxy.revocable(f,p),m=h.revoke,b=h.proxy;return l.k=b,l.j=m,b}(t,o):we("ES5").J(t,o);return(o?o.A:Rn()).p.push(i),i}function vp(e){return $e(e)||ae(22,e),function t(o){if(!he(o))return o;var i,n=o[it],a=jr(o);if(n){if(!n.P&&(n.i<4||!we("ES5").K(n)))return n.t;n.I=!0,i=pl(o,a),n.I=!1}else i=pl(o,a);return Sr(i,function(s,l){n&&yp(n.t,s)===l||yl(i,s,t(l))}),a===3?new Set(i):i}(e)}function pl(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return kn(e)}function gl(){function e(s,l){var f=a[s];return f?f.enumerable=l:a[s]=f={configurable:!0,enumerable:l,get:function(){var p=this[it];return So.get(p,s)},set:function(p){var h=this[it];So.set(h,s,p)}},f}function t(s){for(var l=s.length-1;l>=0;l--){var f=s[l][it];if(!f.P)switch(f.i){case 5:i(f)&&Je(f);break;case 4:o(f)&&Je(f)}}}function o(s){for(var l=s.t,f=s.k,p=Vr(f),h=p.length-1;h>=0;h--){var m=p[h];if(m!==it){var b=l[m];if(b===void 0&&!Hr(l,m))return!0;var x=f[m],S=x&&x[it];if(S?S.t!==b:!ml(x,b))return!0}}var O=!!l[it];return p.length!==Vr(l).length+(O?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var f=Object.getOwnPropertyDescriptor(l,l.length-1);if(f&&!f.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function n(s){s.g&&ae(3,JSON.stringify(Xe(s)))}var a={};gp("ES5",{J:function(s,l){var f=Array.isArray(s),p=function(m,b){if(m){for(var x=Array(b.length),S=0;S<b.length;S++)Object.defineProperty(x,""+S,e(S,!0));return x}var O=vl(b);delete O[it];for(var _=Vr(O),I=0;I<_.length;I++){var N=_[I];O[N]=e(N,m||!!O[N].enumerable)}return Object.create(Object.getPrototypeOf(b),O)}(f,s),h={i:f?5:4,A:l?l.A:Rn(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,it,{value:h,writable:!0}),p},S:function(s,l,f){f?$e(l)&&l[it].A===s&&t(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var m=h[it];if(m){var b=m.t,x=m.k,S=m.R,O=m.i;if(O===4)Sr(x,function(F){F!==it&&(b[F]!==void 0||Hr(b,F)?S[F]||p(x[F]):(S[F]=!0,Je(m)))}),Sr(b,function(F){x[F]!==void 0||Hr(x,F)||(S[F]=!1,Je(m))});else if(O===5){if(i(m)&&(Je(m),S.length=!0),x.length<b.length)for(var _=x.length;_<b.length;_++)S[_]=!1;else for(var I=b.length;I<x.length;I++)S[I]=!0;for(var N=Math.min(x.length,b.length),D=0;D<N;D++)x.hasOwnProperty(D)||(S[D]=!0),S[D]===void 0&&p(x[D])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):i(s)}})}var fl,xo,Dn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",xp=typeof Map<"u",Sp=typeof Set<"u",ul=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",bl=Dn?Symbol.for("immer-nothing"):((fl={})["immer-nothing"]=!0,fl),hl=Dn?Symbol.for("immer-draftable"):"__$immer_draftable",it=Dn?Symbol.for("immer-state"):"__$immer_state";var Op=""+Object.prototype.constructor,Vr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,vl=Object.getOwnPropertyDescriptors||function(e){var t={};return Vr(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},Tn={},So={get:function(e,t){if(t===it)return e;var o=Xe(e);if(!Hr(o,t))return function(n,a,s){var l,f=dl(a,s);return f?"value"in f?f.value:(l=f.get)===null||l===void 0?void 0:l.call(n.k):void 0}(e,o,t);var i=o[t];return e.I||!he(i)?i:i===En(e.t,t)?(An(e),e.o[t]=Nn(e.A.h,i,e)):i},has:function(e,t){return t in Xe(e)},ownKeys:function(e){return Reflect.ownKeys(Xe(e))},set:function(e,t,o){var i=dl(Xe(e),t);if(i?.set)return i.set.call(e.k,o),!0;if(!e.P){var n=En(Xe(e),t),a=n?.[it];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(ml(o,n)&&(o!==void 0||Hr(e.t,t)))return!0;An(e),Je(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return En(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,An(e),Je(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=Xe(e),i=Reflect.getOwnPropertyDescriptor(o,t);return i&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:i.enumerable,value:o[t]}},defineProperty:function(){ae(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ae(12)}},vo={};Sr(So,function(e,t){vo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),vo.deleteProperty=function(e,t){return vo.set.call(this,e,t,void 0)},vo.set=function(e,t,o){return So.set.call(this,e[0],t,o,e[0])};var Cp=function(){function e(o){var i=this;this.O=ul,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var f=i;return function(O){var _=this;O===void 0&&(O=l);for(var I=arguments.length,N=Array(I>1?I-1:0),D=1;D<I;D++)N[D-1]=arguments[D];return f.produce(O,function(F){var W;return(W=a).call.apply(W,[_,F].concat(N))})}}var p;if(typeof a!="function"&&ae(6),s!==void 0&&typeof s!="function"&&ae(7),he(n)){var h=cl(i),m=Nn(i,n,void 0),b=!0;try{p=a(m),b=!1}finally{b?ii(h):In(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(O){return Cn(h,s),wn(O,h)},function(O){throw ii(h),O}):(Cn(h,s),wn(p,h))}if(!n||typeof n!="object"){if((p=a(n))===void 0&&(p=n),p===bl&&(p=void 0),i.D&&Pn(p,!0),s){var x=[],S=[];we("Patches").M(n,p,x,S),s(x,S)}return p}ae(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(p){for(var h=arguments.length,m=Array(h>1?h-1:0),b=1;b<h;b++)m[b-1]=arguments[b];return i.produceWithPatches(p,function(x){return n.apply(void 0,[x].concat(m))})};var s,l,f=i.produce(n,a,function(p,h){s=p,l=h});return typeof Promise<"u"&&f instanceof Promise?f.then(function(p){return[p,s,l]}):[f,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){he(o)||ae(8),$e(o)&&(o=vp(o));var i=cl(this),n=Nn(this,o,void 0);return n[it].C=!0,In(i),n},t.finishDraft=function(o,i){var n=o&&o[it],a=n.A;return Cn(a,i),wn(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!ul&&ae(20),this.O=o},t.applyPatches=function(o,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}n>-1&&(i=i.slice(n+1));var s=we("Patches").$;return $e(o)?s(o,i):this.produce(o,function(l){return s(l,i)})},e}(),te=new Cp,wp=te.produce,tx=te.produceWithPatches.bind(te),ex=te.setAutoFreeze.bind(te),rx=te.setUseProxies.bind(te),ox=te.applyPatches.bind(te),ix=te.createDraft.bind(te),nx=te.finishDraft.bind(te),si=wp;function Qe(e){"@babel/helpers - typeof";return Qe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qe(e)}function Bn(e,t){if(Qe(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var i=o.call(e,t||"default");if(Qe(i)!=="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Mn(e){var t=Bn(e,"string");return Qe(t)==="symbol"?t:String(t)}function Fn(e,t,o){return t=Mn(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function xl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),o.push.apply(o,i)}return o}function ci(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?xl(Object(o),!0).forEach(function(i){Fn(e,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):xl(Object(o)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(o,i))})}return e}function Pt(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 Sl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Un=function(){return Math.random().toString(36).substring(7).split("").join(".")},li={INIT:"@@redux/INIT"+Un(),REPLACE:"@@redux/REPLACE"+Un(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Un()}};function Ep(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Wn(e,t,o){var i;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Pt(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Pt(1));return o(Wn)(e,t)}if(typeof e!="function")throw new Error(Pt(2));var n=e,a=t,s=[],l=s,f=!1;function p(){l===s&&(l=s.slice())}function h(){if(f)throw new Error(Pt(3));return a}function m(O){if(typeof O!="function")throw new Error(Pt(4));if(f)throw new Error(Pt(5));var _=!0;return p(),l.push(O),function(){if(_){if(f)throw new Error(Pt(6));_=!1,p();var N=l.indexOf(O);l.splice(N,1),s=null}}}function b(O){if(!Ep(O))throw new Error(Pt(7));if(typeof O.type>"u")throw new Error(Pt(8));if(f)throw new Error(Pt(9));try{f=!0,a=n(a,O)}finally{f=!1}for(var _=s=l,I=0;I<_.length;I++){var N=_[I];N()}return O}function x(O){if(typeof O!="function")throw new Error(Pt(10));n=O,b({type:li.REPLACE})}function S(){var O,_=m;return O={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(Pt(11));function D(){N.next&&N.next(h())}D();var F=_(D);return{unsubscribe:F}}},O[Sl]=function(){return this},O}return b({type:li.INIT}),i={dispatch:b,subscribe:m,getState:h,replaceReducer:x},i[Sl]=S,i}function Ap(e){Object.keys(e).forEach(function(t){var o=e[t],i=o(void 0,{type:li.INIT});if(typeof i>"u")throw new Error(Pt(12));if(typeof o(void 0,{type:li.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Pt(13))})}function Ol(e){for(var t=Object.keys(e),o={},i=0;i<t.length;i++){var n=t[i];typeof e[n]=="function"&&(o[n]=e[n])}var a=Object.keys(o),s,l;try{Ap(o)}catch(f){l=f}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var m;for(var b=!1,x={},S=0;S<a.length;S++){var O=a[S],_=o[O],I=p[O],N=_(I,h);if(typeof N>"u"){var D=h&&h.type;throw new Error(Pt(14))}x[O]=N,b=b||N!==I}return b=b||a.length!==Object.keys(p).length,b?x:p}}function Gr(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(i){return i}:t.length===1?t[0]:t.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function Cl(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Pt(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=t.map(function(f){return f(s)});return a=Gr.apply(void 0,l)(n.dispatch),ci(ci({},n),{},{dispatch:a})}}}function wl(e){var t=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,e):s(l)}}};return t}var El=wl();El.withExtraArgument=wl;var zn=El;var Tl=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function i(){this.constructor=t}t.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)}}(),Rp=function(e,t){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(h){return f([p,h])}}function f(p){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,n&&(a=p[0]&2?n.return:p[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,p[1])).done)return a;switch(n=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,n=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(h){p=[6,h],n=0}finally{i=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Kr=function(e,t){for(var o=0,i=t.length,n=e.length;o<i;o++,n++)e[n]=t[o];return e},Ip=Object.defineProperty,Np=Object.defineProperties,Tp=Object.getOwnPropertyDescriptors,Al=Object.getOwnPropertySymbols,_p=Object.prototype.hasOwnProperty,Lp=Object.prototype.propertyIsEnumerable,Rl=function(e,t,o){return t in e?Ip(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},tr=function(e,t){for(var o in t||(t={}))_p.call(t,o)&&Rl(e,o,t[o]);if(Al)for(var i=0,n=Al(t);i<n.length;i++){var o=n[i];Lp.call(t,o)&&Rl(e,o,t[o])}return e},Hn=function(e,t){return Np(e,Tp(t))},kp=function(e,t,o){return new Promise(function(i,n){var a=function(f){try{l(o.next(f))}catch(p){n(p)}},s=function(f){try{l(o.throw(f))}catch(p){n(p)}},l=function(f){return f.done?i(f.value):Promise.resolve(f.value).then(a,s)};l((o=o.apply(e,t)).next())})};var Pp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Gr:Gr.apply(null,arguments)},Cx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function $p(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Dp=function(e){Tl(t,e);function t(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var n=e.apply(this,o)||this;return Object.setPrototypeOf(n,t.prototype),n}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Kr([void 0],o[0].concat(this)))):new(t.bind.apply(t,Kr([void 0],o.concat(this))))},t}(Array),Bp=function(e){Tl(t,e);function t(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var n=e.apply(this,o)||this;return Object.setPrototypeOf(n,t.prototype),n}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Kr([void 0],o[0].concat(this)))):new(t.bind.apply(t,Kr([void 0],o.concat(this))))},t}(Array);function Gn(e){return he(e)?si(e,function(){}):e}function Mp(e){return typeof e=="boolean"}function Fp(){return function(t){return Up(t)}}function Up(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,i=e.immutableCheck,n=i===void 0?!0:i,a=e.serializableCheck,s=a===void 0?!0:a,l=new Dp;if(o&&(Mp(o)?l.push(zn):l.push(zn.withExtraArgument(o.extraArgument))),0){if(n)var f;if(s)var p}return l}var Vn=!0;function _l(e){var t=Fp(),o=e||{},i=o.reducer,n=i===void 0?void 0:i,a=o.middleware,s=a===void 0?t():a,l=o.devTools,f=l===void 0?!0:l,p=o.preloadedState,h=p===void 0?void 0:p,m=o.enhancers,b=m===void 0?void 0:m,x;if(typeof n=="function")x=n;else if($p(n))x=Ol(n);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 S=s;if(typeof S=="function"&&(S=S(t),!Vn&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Vn&&S.some(function(F){return typeof F!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=Cl.apply(void 0,S),_=Gr;f&&(_=Pp(tr({trace:!Vn},typeof f=="object"&&f)));var I=new Bp(O),N=I;Array.isArray(b)?N=Kr([O],b):typeof b=="function"&&(N=b(I));var D=_.apply(void 0,N);return Wn(x,h,D)}function er(e,t){function o(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(t){var a=t.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return tr(tr({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:i[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(i){return i.type===e},o}function Ll(e){var t={},o=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,n},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return e(n),[t,o,i]}function Wp(e){return typeof e=="function"}function zp(e,t,o,i){o===void 0&&(o=[]);var n=typeof t=="function"?Ll(t):[t,o,i],a=n[0],s=n[1],l=n[2],f;if(Wp(e))f=function(){return Gn(e())};else{var p=Gn(e);f=function(){return p}}function h(m,b){m===void 0&&(m=f());var x=Kr([a[b.type]],s.filter(function(S){var O=S.matcher;return O(b)}).map(function(S){var O=S.reducer;return O}));return x.filter(function(S){return!!S}).length===0&&(x=[l]),x.reduce(function(S,O){if(O)if($e(S)){var _=S,I=O(_,b);return I===void 0?S:I}else{if(he(S))return si(S,function(N){return O(N,b)});var I=O(S,b);if(I===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return I}return S},m)}return h.getInitialState=f,h}function Hp(e,t){return e+"/"+t}function kl(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Gn(e.initialState),i=e.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(h){var m=i[h],b=Hp(t,h),x,S;"reducer"in m?(x=m.reducer,S=m.prepare):x=m,a[h]=x,s[b]=x,l[h]=S?er(b,S):er(b)});function f(){var h=typeof e.extraReducers=="function"?Ll(e.extraReducers):[e.extraReducers],m=h[0],b=m===void 0?{}:m,x=h[1],S=x===void 0?[]:x,O=h[2],_=O===void 0?void 0:O,I=tr(tr({},b),s);return zp(o,function(N){for(var D in I)N.addCase(D,I[D]);for(var F=0,W=S;F<W.length;F++){var Ht=W[F];N.addMatcher(Ht.matcher,Ht.reducer)}_&&N.addDefaultCase(_)})}var p;return{name:t,reducer:function(h,m){return p||(p=f()),p(h,m)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=f()),p.getInitialState()}}}var Vp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",jp=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Vp[Math.random()*64|0];return t},Gp=["name","message","stack","code"],jn=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Il=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Kp=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,i=Gp;o<i.length;o++){var n=i[o];typeof e[n]=="string"&&(t[n]=e[n])}return t}return{message:String(e)}},Rx=function(){function e(t,o,i){var n=er(t+"/fulfilled",function(h,m,b,x){return{payload:h,meta:Hn(tr({},x||{}),{arg:b,requestId:m,requestStatus:"fulfilled"})}}),a=er(t+"/pending",function(h,m,b){return{payload:void 0,meta:Hn(tr({},b||{}),{arg:m,requestId:h,requestStatus:"pending"})}}),s=er(t+"/rejected",function(h,m,b,x,S){return{payload:x,error:(i&&i.serializeError||Kp)(h||"Rejected"),meta:Hn(tr({},S||{}),{arg:b,requestId:m,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,f=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(m,b,x){var S=i?.idGenerator?i.idGenerator(h):jp(),O=new f,_,I=!1;function N(F){_=F,O.abort()}var D=function(){return kp(this,null,function(){var F,W,Ht,ge,Bt,be,Et;return Rp(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),ge=(F=i?.condition)==null?void 0:F.call(i,h,{getState:b,extra:x}),qp(ge)?[4,ge]:[3,2];case 1:ge=y.sent(),y.label=2;case 2:if(ge===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,Bt=new Promise(function(v,k){return O.signal.addEventListener("abort",function(){return k({name:"AbortError",message:_||"Aborted"})})}),m(a(S,h,(W=i?.getPendingMeta)==null?void 0:W.call(i,{requestId:S,arg:h},{getState:b,extra:x}))),[4,Promise.race([Bt,Promise.resolve(o(h,{dispatch:m,getState:b,extra:x,requestId:S,signal:O.signal,abort:N,rejectWithValue:function(v,k){return new jn(v,k)},fulfillWithValue:function(v,k){return new Il(v,k)}})).then(function(v){if(v instanceof jn)throw v;return v instanceof Il?n(v.payload,S,h,v.meta):n(v,S,h)})])];case 3:return Ht=y.sent(),[3,5];case 4:return be=y.sent(),Ht=be instanceof jn?s(null,S,h,be.payload,be.meta):s(be,S,h),[3,5];case 5:return Et=i&&!i.dispatchConditionRejection&&s.match(Ht)&&Ht.meta.condition,Et||m(Ht),[2,Ht]}})})}();return Object.assign(D,{abort:N,requestId:S,arg:h,unwrap:function(){return D.then(Zp)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:n,typePrefix:t})}return e.withTypes=function(){return e},e}();function Zp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function qp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Pl="listener",$l="completed",Dl="cancelled",Ix="task-"+Dl,Nx="task-"+$l,Tx=Pl+"-"+Dl,_x=Pl+"-"+$l;var Kn="listenerMiddleware";var Lx=er(Kn+"/add"),kx=er(Kn+"/removeAll"),Px=er(Kn+"/remove");var Nl,$x=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Nl||(Nl=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Yp=function(e){return function(t){setTimeout(t,e)}},Dx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Yp(10);gl();window.ftReduxStores||(window.ftReduxStores={});var Bl=class e{static get(t){var o;let i=typeof t=="string"?t:t.name,n=typeof t=="string"?void 0:t,a=window.ftReduxStores[i];if(go(a))return a;if(n==null)return;let s=kl({...n,reducers:(o=n.reducers)!==null&&o!==void 0?o:{}}),l=_l({reducer:(f,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...f,...p.overwrites}:s.reducer(f,p)});return window.ftReduxStores[n.name]=new e(s,l)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Jo,this.actions=new Proxy(this.reduxSlice.actions,{get:(i,n,a)=>{let s=n,l=i[s];return l?(...f)=>{let p=l(...f);return this.reduxStore.dispatch(p),p}:f=>{this.setState({[s]:f})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var ui=g(R());var di=class extends Ce{async listMySearches(){let t=T.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var pi=class extends Ce{async listMyBookmarks(){let t=T.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var Jp="ft-user-assets",fi=ui.FtReduxStore.get({name:Jp,initialState:{savedSearches:void 0,bookmarks:void 0}}),Zn=class{constructor(){this.currentSession=T.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new pi,this.savedSearchesService=new di,T.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=T.getState();(0,ui.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),fi.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),fi.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();fi.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;fi.actions.bookmarks(o)}}},Ml=new Zn;var qn=class{addCommand(t,o=!1){T.commands.add(t,o)}consumeCommand(t){return T.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new qn;var Fl=g(R()),Yn=class{highlightHtml(t,o,i){(0,Fl.highlightHtml)(t,o,i)}};window.FluidTopicsHighlightHtmlService=new Yn;var Ul=g(R());var Xn=class{isDate(t){var o,i,n,a;return(a=(n=((i=(o=T.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===t))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(t,o){var i,n,a;return Ul.DateFormatter.format(t,(i=o?.locale)!==null&&i!==void 0?i:T.getState().uiLocale,(n=o?.longFormat)!==null&&n!==void 0?n:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Xn;(0,Wl.customElement)("ft-app-context")(ht);var Hl=g(Z()),Qp=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},Jn=Symbol("i18nAttributes"),Qn=Symbol("i18nListAttributes"),Or=Symbol("i18nProperties"),Oo=Symbol("i18nUnsubs");function rr(e){var t;class o extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?Zc:vr}i18n(n,a,...s){var l;if(typeof n=="string")return this.i18nService.resolveMessage(n,a,...s);let f=(l=n.args)!==null&&l!==void 0?l:n.argsProvider?n.argsProvider(this):[];return this.i18nService.resolveMessage(n.context,n.key,...f)}onI18nUpdate(n){var a,s,l;(a=this[Jn])===null||a===void 0||a.forEach((f,p)=>{let h=this.getI18nAttributeValue(p);h&&(this[p]=this.getI18nAttributeMessage(h,f,n))}),(s=this[Qn])===null||s===void 0||s.forEach((f,p)=>{let h=this.getI18nListAttributeValues(p);this[p]=h?.map(m=>this.getI18nAttributeMessage(m,f,n))}),(l=this[Or])===null||l===void 0||l.forEach((f,p)=>{f.context.toLowerCase()===n.toLowerCase()&&(this[p]=this.i18n(f))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(n,a){return{...n,message:this.i18n({context:n.context,key:n.key,...a})}}getI18nAttributeMessage(n,a,s){var l;let f=!s||((l=n.context)===null||l===void 0?void 0:l.toLowerCase())===s.toLowerCase();return n.context&&n.key&&f?this.buildI18nAttributeMessage(n,a):n}update(n){var a,s,l;super.update(n),(a=this[Jn])===null||a===void 0||a.forEach((f,p)=>{let h=this.getI18nAttributeValue(p);h?.context&&h.key&&(n.has(p)||f.argsProvider!=null)&&(this.addI18nContextIfNeeded(h,n,p),this[p]=this.getI18nAttributeMessage(h,f))}),(s=this[Qn])===null||s===void 0||s.forEach((f,p)=>{let h=this.getI18nListAttributeValues(p);(n.has(p)||f.argsProvider!=null)&&(this[p]=h?.map(m=>(this.addI18nContextIfNeeded(m,n,p),this.getI18nAttributeMessage(m,f))))}),(l=this[Or])===null||l===void 0||l.forEach((f,p)=>{f.argsProvider!=null&&(this[p]=this.i18n(f))})}getI18nAttributeValue(n){return this[n]}getI18nListAttributeValues(n){return this[n]}addI18nContextIfNeeded(n,a,s){n.context&&n.key&&a.has(s)&&this.addI18nContext(n.context)}connectedCallback(){var n,a,s,l,f,p;super.connectedCallback(),new Set([...(a=(n=this[Or])===null||n===void 0?void 0:n.values())!==null&&a!==void 0?a:[],...[...(l=(s=this[Jn])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(h=>this.getI18nAttributeValue(h)),...[...(p=(f=this[Qn])===null||f===void 0?void 0:f.keys())!==null&&p!==void 0?p:[]].flatMap(h=>this.getI18nListAttributeValues(h))].map(h=>h?.context)).forEach(h=>h&&this.addI18nMessages(h))}addI18nMessages(n,a){n=n.toLowerCase(),this[Oo].has(n)||this[Oo].set(n,this.i18nService.subscribe(n,()=>this.onI18nUpdate(n))),this.i18nService.prepareContext(n,a??{}),this.onI18nUpdate(n)}addI18nContext(n,a){this.addI18nMessages(typeof n=="string"?n:n.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[Oo].forEach(n=>n()),this[Oo].clear()}}return t=Oo,Qp([(0,Hl.property)({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var zl=class extends rr(yi.FtLitElement){},hi=class extends rr(yi.FtLitElementRedux){};var Co=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},ye=class extends hi{constructor(){super(),this.editorMode=!1,this.addStore(T)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":mi.nothing:mi.html`
|
|
1559
1559
|
<span class="ft-i18n">
|
|
1560
1560
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1561
1561
|
</span>
|
|
1562
|
-
`}update(
|
|
1562
|
+
`}update(t){var o;super.update(t),["context","key","defaultMessage"].some(i=>t.has(i))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};ye.elementDefinitions={};ye.styles=Vc;Co([(0,bi.redux)()],ye.prototype,"editorMode",void 0);Co([(0,gi.property)()],ye.prototype,"context",void 0);Co([(0,gi.property)()],ye.prototype,"key",void 0);Co([(0,bi.jsonProperty)([])],ye.prototype,"args",void 0);Co([(0,gi.property)()],ye.prototype,"defaultMessage",void 0);var or=class e{static build(t){return new e(t)}static fromGwt(t){return new e(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(o,i)=>{let n=i;return a=>({context:this.name,key:n,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(o,i)=>(...n)=>vr.resolveMessage(this.name,i,...n)}),this.rawMessages=new Proxy({},{get:(o,i)=>vr.resolveRawMessage(this.name,i)})}};var vi=(e,t)=>(o,i)=>{var n,a;o.constructor.createProperty(i,t??{attribute:!1,type:String});let s={...e,key:(n=e.key)!==null&&n!==void 0?n:i};o[Or]=(a=o[Or])!==null&&a!==void 0?a:new Map,o[Or].set(i,s)};(0,Vl.customElement)("ft-i18n")(ye);var V=or.build("integratedFeedbackComponent"),jl={starsRating:"{0} stars","starsRating[\\=1]":"1 star",like:"Like",dislike:"Dislike",dichotomousYes:"Yes",dichotomousNo:"No",notRated:"Not rated",ratedNow:"Rated now",ratedToday:"Rated today",ratedOn:"Rated on {0, date}",feedbackInputLabel:"How can we improve it?",feedbackfromEmail:"Your email",feedbackfromEmailInvalid:"Please enter a valid email address",okButton:"Send feedback",cancelButton:"Cancel",moreOptionsButton:"More options",feedbackSuccess:"Feedback successfully sent. Thank you!",feedbackFailure:"Failed to send feedback. Please try again later.",ratingSuccess:"Rating successfully sent. Thank you!",ratingFailure:"Failed to send rating. Please try again later.",mapFeedbackMainTitle:"Send feedback",mapRatingSectionTitle:"Rate this document",mapDichotomousRatingSectionTitle:"Did it solve your problem?",mapFeedbackSectionTitle:"Write your review",topicFeedbackMainTitle:"Send feedback",topicRatingSectionTitle:"Rate this content",topicDichotomousRatingSectionTitle:"Did this content solve your problem?",topicFeedbackSectionTitle:"Write your review"};var oa=g(R());var se=g(B()),G=g(Z()),Zl=g(Ve());var ta=e=>e??bt;var Zr=g(R());var Gl=g(B()),$=g(R());var U={fontSize:$.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:$.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:$.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:$.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:$.FtCssVariableFactory.extend("--ft-text-field-helper-color","",$.designSystemVariables.colorOnSurfaceMedium),colorPrimary:$.FtCssVariableFactory.external($.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:$.FtCssVariableFactory.external($.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:$.FtCssVariableFactory.external($.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:$.FtCssVariableFactory.external($.designSystemVariables.borderRadiusS,"Design system"),colorError:$.FtCssVariableFactory.external($.designSystemVariables.colorError,"Design system"),prefixColor:$.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",$.designSystemVariables.colorOnSurfaceMedium),iconColor:$.FtCssVariableFactory.extend("--ft-text-field-icon-color","",$.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:$.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:$.FtCssVariableFactory.external($.designSystemVariables.colorSurface,"Design system"),colorOutline:$.FtCssVariableFactory.external($.designSystemVariables.colorOutline,"Design system"),elevation02:$.FtCssVariableFactory.external($.designSystemVariables.elevation02,"Design system"),suggestSize:$.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},Kl=Gl.css`
|
|
1563
1563
|
*:focus {
|
|
1564
1564
|
outline: none;
|
|
1565
1565
|
}
|
|
@@ -1592,8 +1592,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1592
1592
|
overflow: hidden;
|
|
1593
1593
|
padding: 0 ${U.horizontalSpacing};
|
|
1594
1594
|
|
|
1595
|
-
${(0,$.setVariable)(
|
|
1596
|
-
${(0,$.setVariable)(
|
|
1595
|
+
${(0,$.setVariable)(re.fontSize,U.fontSize)};
|
|
1596
|
+
${(0,$.setVariable)(re.lineHeight,U.fontSize)};
|
|
1597
1597
|
}
|
|
1598
1598
|
|
|
1599
1599
|
.ft-text-field--input-panel ft-ripple {
|
|
@@ -1703,14 +1703,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1703
1703
|
}
|
|
1704
1704
|
|
|
1705
1705
|
.ft-text-field--with-icon {
|
|
1706
|
-
${(0,$.setVariable)(P.labelMaxWidth,`calc(100% - ${
|
|
1706
|
+
${(0,$.setVariable)(P.labelMaxWidth,`calc(100% - ${xt.size} - ${P.horizontalSpacing})`)};
|
|
1707
1707
|
}
|
|
1708
1708
|
|
|
1709
1709
|
.ft-text-field--with-password ft-icon:hover {
|
|
1710
1710
|
cursor: pointer;
|
|
1711
1711
|
}
|
|
1712
|
-
`;var Q=function(t,
|
|
1713
|
-
<div class="${(0,
|
|
1712
|
+
`;var Q=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},H=class extends(0,Zr.toFtFormComponent)(Zr.FtLitElement,"textbox"){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=hr.EYE_SLASH,this.passwordRevealedIcon=hr.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){let o=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",o)}focus(){var t;(t=this.input)===null||t===void 0||t.focus()}render(){var t;let o={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--fixed":this.fixedMenuPosition,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":this.visibleSuggestions.length===0||this.hideSuggestions,"ft-text-field--raised-label":this.focused||this.value!="","ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return se.html`
|
|
1713
|
+
<div class="${(0,Zl.classMap)(o)}">
|
|
1714
1714
|
<div class="ft-text-field--main-panel"
|
|
1715
1715
|
@keydown=${this.handleKeyboardNavigation}
|
|
1716
1716
|
@focusout=${this.onMainPanelBlur}>
|
|
@@ -1720,17 +1720,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1720
1720
|
?raised=${this.focused||this.value!=""}
|
|
1721
1721
|
?error=${this.error}></ft-input-label>
|
|
1722
1722
|
<div class="ft-text-field--input-panel">
|
|
1723
|
-
${this.outlined?
|
|
1723
|
+
${this.outlined?se.nothing:se.html`
|
|
1724
1724
|
<ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
|
|
1725
1725
|
`}
|
|
1726
|
-
${this.prefix?
|
|
1726
|
+
${this.prefix?se.html`
|
|
1727
1727
|
<ft-typography class="ft-text-field--prefix" variant="body1">
|
|
1728
1728
|
${this.prefix}
|
|
1729
1729
|
</ft-typography>
|
|
1730
|
-
`:
|
|
1731
|
-
<input type=${(
|
|
1732
|
-
name=${
|
|
1733
|
-
maxlength=${
|
|
1730
|
+
`:se.nothing}
|
|
1731
|
+
<input type=${(t=this.type)!==null&&t!==void 0?t:this.password&&this.hidePassword?"password":"text"}
|
|
1732
|
+
name=${ta(this.name)}
|
|
1733
|
+
maxlength=${ta(this.maxLength||void 0)}
|
|
1734
1734
|
aria-label="${this.label}"
|
|
1735
1735
|
class="ft-typography--body1 ft-text-field--input"
|
|
1736
1736
|
part="input"
|
|
@@ -1746,23 +1746,23 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1746
1746
|
<slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
|
|
1747
1747
|
</div>
|
|
1748
1748
|
</div>
|
|
1749
|
-
${this.helper?
|
|
1749
|
+
${this.helper?se.html`
|
|
1750
1750
|
<ft-typography class="ft-text-field--helper-text" variant="caption">
|
|
1751
1751
|
${this.helper}
|
|
1752
1752
|
</ft-typography>
|
|
1753
|
-
`:
|
|
1753
|
+
`:se.nothing}
|
|
1754
1754
|
</div>
|
|
1755
|
-
`}renderPasswordIcon(){return
|
|
1755
|
+
`}renderPasswordIcon(){return se.html`
|
|
1756
1756
|
<ft-icon class="ft-text-field--icon"
|
|
1757
1757
|
.variant=${this.iconVariant}
|
|
1758
1758
|
.value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
|
|
1759
1759
|
@click=${()=>this.togglePasswordVisibility()}></ft-icon>
|
|
1760
|
-
`}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?
|
|
1760
|
+
`}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?se.html`
|
|
1761
1761
|
<ft-icon class="ft-text-field--icon"
|
|
1762
1762
|
.variant=${this.iconVariant}
|
|
1763
1763
|
.value=${this.icon}
|
|
1764
|
-
@click=${()=>{var
|
|
1765
|
-
`:
|
|
1764
|
+
@click=${()=>{var t;return(t=this.input)===null||t===void 0?void 0:t.focus()}}></ft-icon>
|
|
1765
|
+
`:se.nothing}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&t.get("value")!=null&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&t.get("dispatchedValue")!=null&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach(t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase())),this.visibleSuggestions=this.suggestions.filter(t=>!t.hidden)):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&(this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px",Fo(this.mainPanel,this.suggestionsContainer,"bottom").then(({x:o,y:i})=>{this.suggestionsContainer.style.left=`${o}px`,this.suggestionsContainer.style.top=`${i}px`}))}setValue(t,o=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),o&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var o;let i=((o=this.input)===null||o===void 0?void 0:o.value)||"";this.setValue(i,t.key=="Escape"||t.key=="Enter")}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var o;if(t.key==="ArrowDown"||t.key==="ArrowUp"){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;let i=this.visibleSuggestions.findIndex(a=>a.matches(":focus-within")),n;t.key==="ArrowDown"?n=i<this.visibleSuggestions.length-1?i+1:0:n=i>0?i-1:this.visibleSuggestions.length-1,(o=this.visibleSuggestions[n])===null||o===void 0||o.focus()}(t.key=="Escape"||t.key=="Enter")&&(this.hideSuggestions=!0)}onSuggestionSelected(t){var o;this.setValue(t.detail,!0),(o=this.input)===null||o===void 0||o.focus(),setTimeout(()=>this.hideSuggestions=!0,0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,o;!((t=this.mainPanel)===null||t===void 0)&&t.matches(":focus-within")||(this.focused=!1,this.setValue(((o=this.input)===null||o===void 0?void 0:o.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}};H.elementDefinitions={"ft-input-label":Wt,"ft-ripple":j,"ft-typography":pt,"ft-icon":vt};H.styles=[Tr,Zr.noTextInputDefaultClearButton,Kl];Q([(0,G.property)()],H.prototype,"label",void 0);Q([(0,G.property)({noAccessor:!0})],H.prototype,"value",null);Q([(0,G.state)()],H.prototype,"dispatchedValue",void 0);Q([(0,G.property)()],H.prototype,"helper",void 0);Q([(0,G.property)({type:Boolean})],H.prototype,"outlined",void 0);Q([(0,G.property)({type:Boolean})],H.prototype,"disabled",void 0);Q([(0,G.property)({type:Boolean})],H.prototype,"error",void 0);Q([(0,G.property)({type:Boolean})],H.prototype,"fixedMenuPosition",void 0);Q([(0,G.property)()],H.prototype,"prefix",void 0);Q([(0,G.property)()],H.prototype,"icon",void 0);Q([(0,G.property)()],H.prototype,"name",void 0);Q([(0,G.property)()],H.prototype,"type",void 0);Q([(0,G.property)()],H.prototype,"passwordHiddenIcon",void 0);Q([(0,G.property)()],H.prototype,"passwordRevealedIcon",void 0);Q([(0,G.property)()],H.prototype,"iconVariant",void 0);Q([(0,G.property)({type:Boolean})],H.prototype,"filterSuggestions",void 0);Q([(0,G.property)({type:Number})],H.prototype,"maxLength",void 0);Q([(0,G.property)({type:Boolean})],H.prototype,"password",void 0);Q([(0,G.state)()],H.prototype,"focused",void 0);Q([(0,G.state)()],H.prototype,"hidePassword",void 0);Q([(0,G.state)()],H.prototype,"hideSuggestions",void 0);Q([(0,G.state)()],H.prototype,"visibleSuggestions",void 0);Q([(0,G.query)(".ft-text-field--main-panel")],H.prototype,"mainPanel",void 0);Q([(0,G.query)(".ft-text-field--input")],H.prototype,"input",void 0);Q([(0,G.query)(".ft-text-field--suggestions")],H.prototype,"suggestionsContainer",void 0);Q([(0,G.queryAssignedElements)({selector:"ft-text-field-suggestion"})],H.prototype,"suggestions",void 0);var Xl=g(R()),Jl=g(B()),qr=g(Z());var ql=g(B()),Yl=ql.css`
|
|
1766
1766
|
.ft-text-field-suggestion {
|
|
1767
1767
|
position: relative;
|
|
1768
1768
|
padding: 8px 16px;
|
|
@@ -1787,7 +1787,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1787
1787
|
slot {
|
|
1788
1788
|
pointer-events: none;
|
|
1789
1789
|
}
|
|
1790
|
-
`;var
|
|
1790
|
+
`;var ra=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},ea=class extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}},De=class extends Xl.FtLitElement{render(){return Jl.html`
|
|
1791
1791
|
<div class="ft-text-field-suggestion"
|
|
1792
1792
|
tabindex="-1"
|
|
1793
1793
|
@keydown=${this.onKeyDown}
|
|
@@ -1799,17 +1799,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1799
1799
|
<slot></slot>
|
|
1800
1800
|
</ft-typography>
|
|
1801
1801
|
</div>
|
|
1802
|
-
`}focus(e){var o;(o=this.container)===null||o===void 0||o.focus(e)}click(){var e;(e=this.container)===null||e===void 0||e.click()}confirmSuggestion(){this.dispatchEvent(new ea(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map(e=>e.textContent).join("").trim()}onKeyDown(e){["Enter"," "].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),this.confirmSuggestion())}};Dt.elementDefinitions={"ft-ripple":j,"ft-typography":pe,"ft-icon":ve};Dt.styles=ql;ta([(0,qr.property)()],Dt.prototype,"value",void 0);ta([(0,qr.query)(".ft-text-field-suggestion")],Dt.prototype,"container",void 0);ta([(0,qr.queryAssignedNodes)()],Dt.prototype,"assignedNodes",void 0);(0,ra.customElement)("ft-text-field")(H);(0,ra.customElement)("ft-text-field-suggestion")(Dt);var Cd=g(R());var wo=g(B()),nr=g(Z()),qe=g(R());var mt=g(R());var Jl=g(R()),Ql=t=>Jl.FtReduxStore.get({name:"ft-reader-"+t,initialState:{mapId:void 0,visibleTopics:[],map:void 0,toc:void 0,pagesToc:void 0,paginationConfiguration:void 0,currentPage:void 0,scrollTarget:void 0,configuration:void 0,searchInDocumentQuery:void 0,relatives:void 0}});var oa=class{constructor(e,o){this.mapId=e,this.paginatedToc=o,this.nodeByTocId={},this.nodeByUrl={},this.duplicatedPrettyUrls=new Set,this.pages=[],this.pageByTocId={}}build(){return{paginationConfiguration:this.paginatedToc.configuration,toc:this.convertNodes(this.paginatedToc.paginatedToc,1),pagesToc:this.extractPagesToc(this.paginatedToc.paginatedToc,1),nodeByTocId:this.nodeByTocId,nodeByUrl:this.nodeByUrl,duplicatedPrettyUrls:this.duplicatedPrettyUrls,pages:this.pages,pageByTocId:this.pageByTocId}}extractPagesToc(e,o,i){return e.flatMap(n=>(n.pageConfiguration&&this.registerPage(this.buildPage(n,i)),n.tocId==null?this.extractPagesToc(n.children,o,i):[{tocId:n.tocId,title:n.title,depth:o,children:this.extractPagesToc(n.children,o+1,n.tocId)}]))}convertNodes(e,o,i){return e.flatMap(n=>{var a,s,l;if(n.tocId==null)return[...this.convertSectionNodes((a=n.pageToc)!==null&&a!==void 0?a:[],o,n.tocId),...this.convertNodes(n.children,o,n.tocId)];let p=(s=n.prettyUrl)===null||s===void 0?void 0:s.replace(/^\//,""),f={tocId:n.tocId,contentId:n.contentId,title:n.title,hasRating:n.hasRating,origin:n.origin,prettyUrl:p,depth:o,parentTocId:i,children:[]};this.register(f);let y=this.convertSectionNodes((l=n.pageToc)!==null&&l!==void 0?l:[],o+1,n.tocId),m=this.convertNodes(n.children,o+1,f.tocId);return f.children=[...y,...m],[f]})}convertSectionNodes(e,o,i){return e.flatMap(n=>{var a;let s=(a=n.prettyUrl)===null||a===void 0?void 0:a.replace(/^\//,""),l={...n,prettyUrl:s,depth:o,parentTocId:i,children:[]};return this.register(l),l.children=this.convertSectionNodes(n.children,o+1,n.tocId),[l]})}buildPage(e,o){var i,n,a,s,l,p;let f={number:this.pages.length+1,title:(i=e.title)!==null&&i!==void 0?i:"",rootTocId:(n=e.tocId)!==null&&n!==void 0?n:"root",toc:((a=e.pageToc)!==null&&a!==void 0?a:[]).map(b=>this.nodeByTocId[b.tocId]),topics:[],hiddenTopics:[],breadcrumb:o?this.buildBreadcrumb(this.nodeByTocId[o]):[]},y=(b,x)=>(x?f.topics:f.hiddenTopics).push(b),m=(l=(s=e.pageConfiguration)===null||s===void 0?void 0:s.parentsVisibility)!==null&&l!==void 0?l:[];return f.breadcrumb.forEach((b,x)=>{y(b,m[x])}),e.tocId&&y(e.tocId,e.pageConfiguration.isVisible),f.topics.push(...this.tocIds((p=e.pageToc)!==null&&p!==void 0?p:[])),f}registerPage(e){for(let o of[...e.topics,...e.hiddenTopics])this.pageByTocId[o]||(this.pageByTocId[o]=e);this.pages.push(e)}tocIds(e){return e.flatMap(o=>[o.tocId,...this.tocIds(o.children)])}buildBreadcrumb(e){let o=[e.tocId];for(;e?.parentTocId;)o.unshift(e.parentTocId),e=this.nodeByTocId[e.parentTocId];return o}register(e){e.prettyUrl&&(this.nodeByUrl[e.prettyUrl]==null?this.nodeByUrl[e.prettyUrl]=e:this.duplicatedPrettyUrls.add(e.prettyUrl)),this.nodeByUrl[`${this.mapId}/${e.tocId}`]=e,this.nodeByTocId[e.tocId]=e}},xi=class{convertPaginatedToc(e,o){return new oa(e,o).build()}};var ef=g(td(),1);var rd;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(rd||(rd={}));var od;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(od||(od={}));var id;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(id||(id={}));var nd;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(nd||(nd={}));var ad;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(ad||(ad={}));var sd;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(sd||(sd={}));var cd;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(cd||(cd={}));var Bt;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Bt||(Bt={}));var ld;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(ld||(ld={}));var dd;(function(t){t.ASC="ASC",t.DESC="DESC"})(dd||(dd={}));var pd;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(pd||(pd={}));var fd;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(fd||(fd={}));var ud;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(ud||(ud={}));var hd;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(hd||(hd={}));var yd;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(yd||(yd={}));var md;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(md||(md={}));var gd;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(gd||(gd={}));var bd;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(bd||(bd={}));var ne;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(ne||(ne={}));var vd;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(vd||(vd={}));var Qp={[ne.PERSONAL_BOOK_SHARE_USER]:[ne.PERSONAL_BOOK_USER],[ne.HTML_EXPORT_USER]:[ne.PERSONAL_BOOK_USER],[ne.PDF_EXPORT_USER]:[ne.PERSONAL_BOOK_USER],[ne.KHUB_ADMIN]:[ne.CONTENT_PUBLISHER],[ne.ADMIN]:[ne.KHUB_ADMIN,ne.USERS_ADMIN,ne.PORTAL_ADMIN],[ne.DEVELOPER]:[ne.BETA_USER,ne.DEBUG_USER]};function xd(t,e){return t===e||(Qp[t]??[]).some(o=>xd(o,e))}function Cr(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(i=>xd(i,e))}var Ci=class extends Ct{get mapId(){return this._mapId}set mapId(e){e!==this._mapId&&this.clear(),this._mapId=e}constructor(e,o,i){super(!1,o),this.converter=e,this._mapId=i,this.initCache()}async withMapId(e){return this._mapId?e(this._mapId):void 0}initCache(){this.cache.registerFinal("configuration",()=>this.api.getReaderConfiguration()),this.cache.register("map",()=>this.withMapId(e=>this.fetchMap(e))),this.cache.register("enrichedToc",()=>this.withMapId(e=>this.fetchPages(e).then(o=>this.converter.convertPaginatedToc(e,o)))),this.cache.register("ratingSummary",()=>{var e,o;return Cr((o=(e=T.getState().session)===null||e===void 0?void 0:e.profile.roles)!==null&&o!==void 0?o:[],"RATING_USER")?this.withMapId(n=>this.fetchMapRating(n)):Promise.resolve()})}clear(){this.cache.clearAll()}getMap(){return this.cache.get("map")}getMapNow(){return this.cache.getNow("map")}getConfiguration(){return this.cache.get("configuration")}getEnrichedToc(){return this.cache.get("enrichedToc")}get enrichedToc(){return this.cache.getNow("enrichedToc")}async getPaginationConfiguration(){return(await this.getEnrichedToc()).paginationConfiguration}async getToc(){return(await this.getEnrichedToc()).toc}async getPagesToc(){return(await this.getEnrichedToc()).pagesToc}async getTocNode(e){return(await this.getEnrichedToc()).nodeByTocId[e]}getTocNodeNow(e){var o;return(o=this.enrichedToc)===null||o===void 0?void 0:o.nodeByTocId[e]}getTocNodeNowByUrl(e){var o,i;let n=this.getMapNow();return n?.prettyUrl==e||`${n?.id}/root`===e?(o=this.enrichedToc)===null||o===void 0?void 0:o.toc[0]:(i=this.enrichedToc)===null||i===void 0?void 0:i.nodeByUrl[e]}async getPage(e){let o=await this.getEnrichedToc();return o.pages[e-1]||o.pages[0]}async getPageByTocId(e){let o=await this.getEnrichedToc();return o.pageByTocId[e]||o.pages[0]}getTopicInfo(e){return this.cache.get("topic-"+e.tocId,()=>this.fetchTopicMetadata(e))}getTopicContent(e){return this.cache.get("topic-content-"+e.tocId,()=>this.fetchTopicHTMLContent(e))}getAttachments(){return this.cache.get("map-attachments",()=>this.fetchAttachments())}getRelativesForDocument(e,o){return this.cache.get("document-relatives-"+e+"-"+o.join("-"),()=>this.fetchRelativesForDocument(e,o))}getRelativesForTopicInMap(e,o,i){return this.cache.get("topic-relatives-"+[e,o,...i].join("-"),()=>this.fetchRelativesForTopicInMap(e,o,i))}getAttachmentDownloadLink(e){return this.makeAbsolute(`${this.api.endpoints.khub.maps.mapId(this.mapId).attachments.attachmentId(e).content}?download=true`)}getLink(e,o,i){let n=this.getNavigationData(e,o,i),a=this.getReaderLinkPrefix()+(n.prettyUrl?n.prettyUrl:`${n.mapId}/${n.tocId}`),s=new URL(a,this.api.tenantBaseUrl);return n.page!=null&&s.searchParams.set("page",`${n.page}`),n.prettyUrlDuplicated&&s.searchParams.set("tocId",n.tocId),n.section!=null&&s.searchParams.set("section",n.section),s.href}getNavigationData(e,o,i){var n,a;e=e||"root";let s=this.enrichedToc,l=s?.pageByTocId[e],p=s?.nodeByTocId[e],f=p?.prettyUrl;return{mapId:this.mapId,tocId:e,topicTitle:(n=p?.title)!==null&&n!==void 0?n:"",page:o&&l&&l.number!==o?o:void 0,prettyUrl:f?.replace(/^r\//,""),prettyUrlDuplicated:(a=s?.duplicatedPrettyUrls.has(f??""))!==null&&a!==void 0?a:!1,section:i}}async getAccurateNavigationData(e,o,i){return await this.getEnrichedToc(),this.getNavigationData(e,o,i)}getRatingSummary(){return this.cache.get("ratingSummary")}reloadRating(){return this.cache.clear("ratingSummary"),this.getRatingSummary()}getMapRating(){return this.getRatingSummary().then(e=>e?.publication)}getTopicRating(e){return this.getRatingSummary().then(o=>{var i;return o?{type:o.topics.type,rating:(i=o.topics)===null||i===void 0?void 0:i.ratings.find(n=>n.tocId===e)}:void 0})}rateMap(e,o){return this.makeRateMapRequest(e,o).then(()=>this.clearRatingIfNecessary())}unrateMap(){return this.makeUnrateMapRequest().then(()=>this.clearRatingIfNecessary())}sendMapFeedback(e,o){return this.makeMapFeedbackRequest(e,o)}rateTopic(e,o,i){return this.makeRateTopicRequest(e,o,i).then(()=>this.clearRatingIfNecessary())}unrateTopic(e){return this.makeUnrateTopicRequest(e).then(()=>this.clearRatingIfNecessary())}async clearRatingIfNecessary(){let e=T.getState().session;e?.sessionAuthenticated&&this.cache.clear("ratingSummary")}sendTopicFeedback(e,o,i){return this.makeTopicFeedbackRequest(e,o,i)}fontsStylesheet(){return this.api.makeAbsolute(this.api.endpoints.stylesheets.fonts)}themeStylesheet(){return this.api.makeAbsolute(this.api.endpoints.stylesheets.theme)}buildBreadcrumb(e){let o=this.getTocNodeNow(e),i=[{tocId:o.tocId,title:o.title}],n=this.getTocNodeNow(o.parentTocId);for(;n;)i.unshift({tocId:n.tocId,title:n.title}),n=this.getTocNodeNow(n.parentTocId);return i}isFeatureAccessible(e,{session:o,ratingType:i}){var n;if(!this.isFeatureAvailable(e))return!1;switch(e){case tt.FEEDBACK:return Cr(o??[],ne.FEEDBACK_USER);case tt.RATING:return Cr(o??[],ne.RATING_USER)&&i!=null&&i!==Bt.NO_RATING;case tt.PRINT:return Cr(o??[],ne.PRINT_USER);case tt.BOOKMARK:return!!o?.sessionAuthenticated;case tt.COLLECTIONS:return Cr(o??[],ne.COLLECTION_USER);case tt.PERSONAL_BOOKS:return Cr(o??[],ne.PERSONAL_BOOK_USER)&&!(!((n=this.getMapNow())===null||n===void 0)&&n.pbkConfidential);default:return!1}}makeAbsolute(e){return this.api.makeAbsolute(e)}};var wi=class t extends Ci{static async build(e){return new t(new xi,void 0,e)}clear(){super.clear(),this.fingerprint=void 0}async fetchMap(e){let o=await this.api.getMap(e);return this.fingerprint=o.fingerprint,o}fetchMapRating(e){return this.api.getMapRating(e)}async fetchPages(e){return await this.getMap(),this.api.getPages(e,this.fingerprint)}fetchTopicHTMLContent(e){return this.api.getTopicHTMLContent(this.mapId,e.contentId,"DESIGNED_READER",this.fingerprint)}fetchTopicMetadata(e){return this.api.getTopic(this.mapId,e.contentId,this.fingerprint)}fetchAttachments(){return this.api.getMapAttachments(this.mapId).catch(()=>[])}fetchRelativesForDocument(e,o){let i={query:"",paging:{page:1,perPage:-1},scope:"DOCUMENTS",metadataFilters:[{key:e,valueFilter:{negative:!1,values:o}}],sort:[],facets:[]};return this.api.search(i)}fetchRelativesForTopicInMap(e,o,i){let n={query:"",paging:{page:1,perPage:1},scope:"ALL_TOPICS",metadataFilters:[{key:o,valueFilter:{negative:!1,values:i}},{key:"ft:publicationId",valueFilter:{negative:!1,values:[e]}}],sort:[],facets:[]};return this.api.search(n)}makeMapFeedbackRequest(e,o){return this.api.sendMapFeedback(this.mapId,e,o)}makeRateMapRequest(e,o){return this.api.rateMap(this.mapId,e,o)}makeRateTopicRequest(e,o,i){return this.api.rateTopic(this.mapId,e,o,i)}makeTopicFeedbackRequest(e,o,i){return this.api.sendTopicFeedback(this.mapId,e,o,i)}makeUnrateMapRequest(){return this.api.unrateMap(this.mapId)}makeUnrateTopicRequest(e){return this.api.unrateTopic(this.mapId,e)}getReaderLinkPrefix(){return"r/"}isFeatureAvailable(e){return!0}};var Ei=class t{static build(e,o){return new t(Ql(e.trim()||"context"),o??wi.build)}loaded(){return(0,mt.waitUntil)(()=>this._loaded)}constructor(e,o,i){this.store=e,this.clusteringHelperProvider=i,this.metadataForSwitchToRelatives=new Set,this._loaded=!1,this.loadDebouncer=new mt.Debouncer(10),this.initService(o)}async initService(e){return this.service=await e(),this.service.mapId=this.store.getState().mapId,this.reload()}async setMapId(e){e!==this.store.getState().mapId&&(this.store.actions.mapId(e),this.service&&(this.service.mapId=e),await this.reload())}setVisibleTopics(e){this.store.actions.visibleTopics(e)}async awaitService(){return(0,mt.waitFor)(()=>this.service)}async navigateToTopic(e,o,i){await this.loaded();let n=await this.awaitService(),a=await(i!=null?n.getPage(i):n.getPageByTocId(e??"root"));this.store.actions.currentPage(a),this.store.actions.scrollTarget({tocId:this.resolveValidNonRootTocId(e,a),section:o})}resolveValidNonRootTocId(e,o){var i,n,a;let s=(i=e==="root"?void 0:e)!==null&&i!==void 0?i:o.rootTocId;return o.topics.includes(s)?s:(a=(n=o.topics[0])!==null&&n!==void 0?n:o.hiddenTopics[0])!==null&&a!==void 0?a:"root"}async navigateToPage(e){await this.loaded();let i=await(await this.awaitService()).getPage(e);this.store.actions.currentPage(i)}scrollDone(){this.store.actions.scrollTarget({})}async load(){var e;!((e=this.service)===null||e===void 0)&&e.mapId&&this.store.getState().map==null&&await this.loadDebouncer.run(()=>this.fetchData())}clear(){var e;this._loaded=!1,this.store.actions.configuration(void 0),this.store.actions.map(void 0),this.store.actions.toc(void 0),this.store.actions.pagesToc(void 0),this.store.actions.currentPage(void 0),this.store.actions.searchInDocumentQuery(""),this.store.actions.relatives(void 0),(e=this.service)===null||e===void 0||e.clear(),this.clusteringHelper=void 0}reload(){return this.clear(),this.load()}async fetchData(){var e,o,i,n,a;try{await Promise.all([(e=this.service)===null||e===void 0?void 0:e.getConfiguration().then(s=>this.store.actions.configuration(s)),(o=this.service)===null||o===void 0?void 0:o.getMap().then(s=>this.store.actions.map(s)),(i=this.service)===null||i===void 0?void 0:i.getToc().then(s=>this.store.actions.toc(s)),(n=this.service)===null||n===void 0?void 0:n.getPagesToc().then(s=>this.store.actions.pagesToc(s)),(a=this.service)===null||a===void 0?void 0:a.getPaginationConfiguration().then(s=>this.store.actions.paginationConfiguration(s))]),this.metadataForSwitchToRelatives.size>0&&this.fetchRelatives(),this._loaded=!0}catch(s){this.errorHandler&&!(s instanceof mt.CanceledPromiseError)&&this.errorHandler(s)}}fetchRelatives(){var e,o,i;let n=(e=this.store.getState().map)===null||e===void 0?void 0:e.metadata.filter(a=>{var s;return a.key==((s=this.store.getState().configuration)===null||s===void 0?void 0:s.relativePivotMetadata)}).flatMap(a=>a.values);n!==void 0&&n.length>0?(o=this.service)===null||o===void 0||o.getRelativesForDocument((i=this.store.getState().configuration)===null||i===void 0?void 0:i.relativePivotMetadata,n).then(a=>{let s=a.results.flatMap(l=>l.entries);this.store.actions.relatives(s),this.updateClusteringHelper()}):this.updateClusteringHelper()}updateClusteringHelper(){this.clusteringHelper=this.createClusteringHelper(),this.clusteringHelper&&this.store.eventBus.dispatchEvent(new CustomEvent("clustering-helper-created"))}createClusteringHelper(){var e,o;if(this.clusteringHelperProvider)return this.clusteringHelperProvider();let i=this.store.getState().relatives;if(i){let n=i.find(s=>{var l;return((l=s.map)===null||l===void 0?void 0:l.mapId)==this.store.getState().mapId}),a=(o=(e=T.getState().metadataConfiguration)===null||e===void 0?void 0:e.descriptors)!==null&&o!==void 0?o:[];return new mt.ClusteringHelper(i,n,this.metadataForSwitchToRelatives,a)}}async navigateToRelativeTopicIfFound(e){var o,i,n;await this.loaded();let a=await(0,mt.waitFor)(()=>{var f;return(f=this.store.getState().configuration)===null||f===void 0?void 0:f.relativeTopicPivotMetadata}),s=this.store.getState().mapId,p=await(await this.awaitService()).getRelativesForTopicInMap(s,a,[e]);if(!((n=(i=(o=p?.results)===null||o===void 0?void 0:o[0])===null||i===void 0?void 0:i.entries)===null||n===void 0)&&n[0]){let f=p.results[0].entries[0].topic.tocId;return await this.navigateToTopic(f),!0}else return await this.navigateToTopic("root"),!1}setSearchInDocumentQuery(e){this.store.actions.searchInDocumentQuery(e)}registerMetadataForSwitchToRelatives(e){this.metadataForSwitchToRelatives.add(e),this.store.getState().relatives==null?this.fetchRelatives():this.updateClusteringHelper()}unregisterMetadataForSwitchToRelatives(e){this.metadataForSwitchToRelatives.delete(e),this.updateClusteringHelper()}};var Sd=g(B());var Od=Sd.css`
|
|
1803
|
-
`;var Ai=class extends CustomEvent{constructor(
|
|
1802
|
+
`}focus(t){var o;(o=this.container)===null||o===void 0||o.focus(t)}click(){var t;(t=this.container)===null||t===void 0||t.click()}confirmSuggestion(){this.dispatchEvent(new ea(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map(t=>t.textContent).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}};De.elementDefinitions={"ft-ripple":j,"ft-typography":pt,"ft-icon":vt};De.styles=Yl;ra([(0,qr.property)()],De.prototype,"value",void 0);ra([(0,qr.query)(".ft-text-field-suggestion")],De.prototype,"container",void 0);ra([(0,qr.queryAssignedNodes)()],De.prototype,"assignedNodes",void 0);(0,oa.customElement)("ft-text-field")(H);(0,oa.customElement)("ft-text-field-suggestion")(De);var wd=g(R());var wo=g(B()),nr=g(Z()),qt=g(R());var me=g(R());var Ql=g(R()),td=e=>Ql.FtReduxStore.get({name:"ft-reader-"+e,initialState:{mapId:void 0,visibleTopics:[],map:void 0,toc:void 0,pagesToc:void 0,paginationConfiguration:void 0,currentPage:void 0,scrollTarget:void 0,configuration:void 0,searchInDocumentQuery:void 0,relatives:void 0}});var ia=class{constructor(t,o){this.mapId=t,this.paginatedToc=o,this.nodeByTocId={},this.nodeByUrl={},this.duplicatedPrettyUrls=new Set,this.pages=[],this.pageByTocId={}}build(){return{paginationConfiguration:this.paginatedToc.configuration,toc:this.convertNodes(this.paginatedToc.paginatedToc,1),pagesToc:this.extractPagesToc(this.paginatedToc.paginatedToc,1),nodeByTocId:this.nodeByTocId,nodeByUrl:this.nodeByUrl,duplicatedPrettyUrls:this.duplicatedPrettyUrls,pages:this.pages,pageByTocId:this.pageByTocId}}extractPagesToc(t,o,i){return t.flatMap(n=>(n.pageConfiguration&&this.registerPage(this.buildPage(n,i)),n.tocId==null?this.extractPagesToc(n.children,o,i):[{tocId:n.tocId,title:n.title,depth:o,children:this.extractPagesToc(n.children,o+1,n.tocId)}]))}convertNodes(t,o,i){return t.flatMap(n=>{var a,s,l;if(n.tocId==null)return[...this.convertSectionNodes((a=n.pageToc)!==null&&a!==void 0?a:[],o,n.tocId),...this.convertNodes(n.children,o,n.tocId)];let f=(s=n.prettyUrl)===null||s===void 0?void 0:s.replace(/^\//,""),p={tocId:n.tocId,contentId:n.contentId,title:n.title,hasRating:n.hasRating,origin:n.origin,prettyUrl:f,depth:o,parentTocId:i,children:[]};this.register(p);let h=this.convertSectionNodes((l=n.pageToc)!==null&&l!==void 0?l:[],o+1,n.tocId),m=this.convertNodes(n.children,o+1,p.tocId);return p.children=[...h,...m],[p]})}convertSectionNodes(t,o,i){return t.flatMap(n=>{var a;let s=(a=n.prettyUrl)===null||a===void 0?void 0:a.replace(/^\//,""),l={...n,prettyUrl:s,depth:o,parentTocId:i,children:[]};return this.register(l),l.children=this.convertSectionNodes(n.children,o+1,n.tocId),[l]})}buildPage(t,o){var i,n,a,s,l,f;let p={number:this.pages.length+1,title:(i=t.title)!==null&&i!==void 0?i:"",rootTocId:(n=t.tocId)!==null&&n!==void 0?n:"root",toc:((a=t.pageToc)!==null&&a!==void 0?a:[]).map(b=>this.nodeByTocId[b.tocId]),topics:[],hiddenTopics:[],breadcrumb:o?this.buildBreadcrumb(this.nodeByTocId[o]):[]},h=(b,x)=>(x?p.topics:p.hiddenTopics).push(b),m=(l=(s=t.pageConfiguration)===null||s===void 0?void 0:s.parentsVisibility)!==null&&l!==void 0?l:[];return p.breadcrumb.forEach((b,x)=>{h(b,m[x])}),t.tocId&&h(t.tocId,t.pageConfiguration.isVisible),p.topics.push(...this.tocIds((f=t.pageToc)!==null&&f!==void 0?f:[])),p}registerPage(t){for(let o of[...t.topics,...t.hiddenTopics])this.pageByTocId[o]||(this.pageByTocId[o]=t);this.pages.push(t)}tocIds(t){return t.flatMap(o=>[o.tocId,...this.tocIds(o.children)])}buildBreadcrumb(t){let o=[t.tocId];for(;t?.parentTocId;)o.unshift(t.parentTocId),t=this.nodeByTocId[t.parentTocId];return o}register(t){t.prettyUrl&&(this.nodeByUrl[t.prettyUrl]==null?this.nodeByUrl[t.prettyUrl]=t:this.duplicatedPrettyUrls.add(t.prettyUrl)),this.nodeByUrl[`${this.mapId}/${t.tocId}`]=t,this.nodeByTocId[t.tocId]=t}},xi=class{convertPaginatedToc(t,o){return new ia(t,o).build()}};var ef=g(rd(),1);var od;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(od||(od={}));var id;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(id||(id={}));var nd;(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"})(nd||(nd={}));var ad;(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"})(ad||(ad={}));var sd;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(sd||(sd={}));var cd;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(cd||(cd={}));var ld;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(ld||(ld={}));var Be;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Be||(Be={}));var dd;(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"})(dd||(dd={}));var pd;(function(e){e.ASC="ASC",e.DESC="DESC"})(pd||(pd={}));var fd;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(fd||(fd={}));var ud;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(ud||(ud={}));var hd;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(hd||(hd={}));var yd;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(yd||(yd={}));var md;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(md||(md={}));var gd;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(gd||(gd={}));var bd;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(bd||(bd={}));var vd;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(vd||(vd={}));var nt;(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.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.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN",e.DEVELOPER="DEVELOPER"})(nt||(nt={}));var xd;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(xd||(xd={}));var tf={[nt.PERSONAL_BOOK_SHARE_USER]:[nt.PERSONAL_BOOK_USER],[nt.HTML_EXPORT_USER]:[nt.PERSONAL_BOOK_USER],[nt.PDF_EXPORT_USER]:[nt.PERSONAL_BOOK_USER],[nt.KHUB_ADMIN]:[nt.CONTENT_PUBLISHER],[nt.ADMIN]:[nt.KHUB_ADMIN,nt.USERS_ADMIN,nt.PORTAL_ADMIN],[nt.DEVELOPER]:[nt.BETA_USER,nt.DEBUG_USER]};function Sd(e,t){return e===t||(tf[e]??[]).some(o=>Sd(o,t))}function Cr(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(i=>Sd(i,t))}var Ci=class extends Ce{get mapId(){return this._mapId}set mapId(t){t!==this._mapId&&this.clear(),this._mapId=t}constructor(t,o,i){super(!1,o),this.converter=t,this._mapId=i,this.initCache()}async withMapId(t){return this._mapId?t(this._mapId):void 0}initCache(){this.cache.registerFinal("configuration",()=>this.api.getReaderConfiguration()),this.cache.register("map",()=>this.withMapId(t=>this.fetchMap(t))),this.cache.register("enrichedToc",()=>this.withMapId(t=>this.fetchPages(t).then(o=>this.converter.convertPaginatedToc(t,o)))),this.cache.register("ratingSummary",()=>{var t,o;return Cr((o=(t=T.getState().session)===null||t===void 0?void 0:t.profile.roles)!==null&&o!==void 0?o:[],"RATING_USER")?this.withMapId(n=>this.fetchMapRating(n)):Promise.resolve()})}clear(){this.cache.clearAll()}getMap(){return this.cache.get("map")}getMapNow(){return this.cache.getNow("map")}getConfiguration(){return this.cache.get("configuration")}getEnrichedToc(){return this.cache.get("enrichedToc")}get enrichedToc(){return this.cache.getNow("enrichedToc")}async getPaginationConfiguration(){return(await this.getEnrichedToc()).paginationConfiguration}async getToc(){return(await this.getEnrichedToc()).toc}async getPagesToc(){return(await this.getEnrichedToc()).pagesToc}async getTocNode(t){return(await this.getEnrichedToc()).nodeByTocId[t]}getTocNodeNow(t){var o;return(o=this.enrichedToc)===null||o===void 0?void 0:o.nodeByTocId[t]}getTocNodeNowByUrl(t){var o,i;let n=this.getMapNow();return n?.prettyUrl==t||`${n?.id}/root`===t?(o=this.enrichedToc)===null||o===void 0?void 0:o.toc[0]:(i=this.enrichedToc)===null||i===void 0?void 0:i.nodeByUrl[t]}async getPage(t){let o=await this.getEnrichedToc();return o.pages[t-1]||o.pages[0]}async getPageByTocId(t){let o=await this.getEnrichedToc();return o.pageByTocId[t]||o.pages[0]}getTopicInfo(t){return this.cache.get("topic-"+t.tocId,()=>this.fetchTopicMetadata(t))}getTopicContent(t){return this.cache.get("topic-content-"+t.tocId,()=>this.fetchTopicHTMLContent(t))}getAttachments(){return this.cache.get("map-attachments",()=>this.fetchAttachments())}getRelativesForDocument(t,o){return this.cache.get("document-relatives-"+t+"-"+o.join("-"),()=>this.fetchRelativesForDocument(t,o))}getRelativesForTopicInMap(t,o,i){return this.cache.get("topic-relatives-"+[t,o,...i].join("-"),()=>this.fetchRelativesForTopicInMap(t,o,i))}getAttachmentDownloadLink(t){return this.makeAbsolute(`${this.api.endpoints.khub.maps.mapId(this.mapId).attachments.attachmentId(t).content}?download=true`)}getLink(t,o,i){let n=this.getNavigationData(t,o,i),a=this.getReaderLinkPrefix()+(n.prettyUrl?n.prettyUrl:`${n.mapId}/${n.tocId}`),s=new URL(a,this.api.tenantBaseUrl);return n.page!=null&&s.searchParams.set("page",`${n.page}`),n.prettyUrlDuplicated&&s.searchParams.set("tocId",n.tocId),n.section!=null&&s.searchParams.set("section",n.section),s.href}getNavigationData(t,o,i){var n,a;t=t||"root";let s=this.enrichedToc,l=s?.pageByTocId[t],f=s?.nodeByTocId[t],p=f?.prettyUrl;return{mapId:this.mapId,tocId:t,topicTitle:(n=f?.title)!==null&&n!==void 0?n:"",page:o&&l&&l.number!==o?o:void 0,prettyUrl:p?.replace(/^r\//,""),prettyUrlDuplicated:(a=s?.duplicatedPrettyUrls.has(p??""))!==null&&a!==void 0?a:!1,section:i}}async getAccurateNavigationData(t,o,i){return await this.getEnrichedToc(),this.getNavigationData(t,o,i)}getRatingSummary(){return this.cache.get("ratingSummary")}reloadRating(){return this.cache.clear("ratingSummary"),this.getRatingSummary()}getMapRating(){return this.getRatingSummary().then(t=>t?.publication)}getTopicRating(t){return this.getRatingSummary().then(o=>{var i;return o?{type:o.topics.type,rating:(i=o.topics)===null||i===void 0?void 0:i.ratings.find(n=>n.tocId===t)}:void 0})}rateMap(t,o){return this.makeRateMapRequest(t,o).then(()=>this.clearRatingIfNecessary())}unrateMap(){return this.makeUnrateMapRequest().then(()=>this.clearRatingIfNecessary())}sendMapFeedback(t,o){return this.makeMapFeedbackRequest(t,o)}rateTopic(t,o,i){return this.makeRateTopicRequest(t,o,i).then(()=>this.clearRatingIfNecessary())}unrateTopic(t){return this.makeUnrateTopicRequest(t).then(()=>this.clearRatingIfNecessary())}async clearRatingIfNecessary(){let t=T.getState().session;t?.sessionAuthenticated&&this.cache.clear("ratingSummary")}sendTopicFeedback(t,o,i){return this.makeTopicFeedbackRequest(t,o,i)}fontsStylesheet(){return this.api.makeAbsolute(this.api.endpoints.stylesheets.fonts)}themeStylesheet(){return this.api.makeAbsolute(this.api.endpoints.stylesheets.theme)}buildBreadcrumb(t){let o=this.getTocNodeNow(t),i=[{tocId:o.tocId,title:o.title}],n=this.getTocNodeNow(o.parentTocId);for(;n;)i.unshift({tocId:n.tocId,title:n.title}),n=this.getTocNodeNow(n.parentTocId);return i}isFeatureAccessible(t,{session:o,ratingType:i}){var n;if(!this.isFeatureAvailable(t))return!1;switch(t){case ee.FEEDBACK:return Cr(o??[],nt.FEEDBACK_USER);case ee.RATING:return Cr(o??[],nt.RATING_USER)&&i!=null&&i!==Be.NO_RATING;case ee.PRINT:return Cr(o??[],nt.PRINT_USER);case ee.BOOKMARK:return!!o?.sessionAuthenticated;case ee.COLLECTIONS:return Cr(o??[],nt.COLLECTION_USER);case ee.PERSONAL_BOOKS:return Cr(o??[],nt.PERSONAL_BOOK_USER)&&!(!((n=this.getMapNow())===null||n===void 0)&&n.pbkConfidential);default:return!1}}makeAbsolute(t){return this.api.makeAbsolute(t)}};var wi=class e extends Ci{static async build(t){return new e(new xi,void 0,t)}clear(){super.clear(),this.fingerprint=void 0}async fetchMap(t){let o=await this.api.getMap(t);return this.fingerprint=o.fingerprint,o}fetchMapRating(t){return this.api.getMapRating(t)}async fetchPages(t){return await this.getMap(),this.api.getPages(t,this.fingerprint)}fetchTopicHTMLContent(t){return this.api.getTopicHTMLContent(this.mapId,t.contentId,"DESIGNED_READER",this.fingerprint)}fetchTopicMetadata(t){return this.api.getTopic(this.mapId,t.contentId,this.fingerprint)}fetchAttachments(){return this.api.getMapAttachments(this.mapId).catch(()=>[])}fetchRelativesForDocument(t,o){let i={query:"",paging:{page:1,perPage:-1},scope:"DOCUMENTS",metadataFilters:[{key:t,valueFilter:{negative:!1,values:o}}],sort:[],facets:[]};return this.api.search(i)}fetchRelativesForTopicInMap(t,o,i){let n={query:"",paging:{page:1,perPage:1},scope:"ALL_TOPICS",metadataFilters:[{key:o,valueFilter:{negative:!1,values:i}},{key:"ft:publicationId",valueFilter:{negative:!1,values:[t]}}],sort:[],facets:[]};return this.api.search(n)}makeMapFeedbackRequest(t,o){return this.api.sendMapFeedback(this.mapId,t,o)}makeRateMapRequest(t,o){return this.api.rateMap(this.mapId,t,o)}makeRateTopicRequest(t,o,i){return this.api.rateTopic(this.mapId,t,o,i)}makeTopicFeedbackRequest(t,o,i){return this.api.sendTopicFeedback(this.mapId,t,o,i)}makeUnrateMapRequest(){return this.api.unrateMap(this.mapId)}makeUnrateTopicRequest(t){return this.api.unrateTopic(this.mapId,t)}getReaderLinkPrefix(){return"r/"}isFeatureAvailable(t){return!0}};var Ei=class e{static build(t,o){return new e(td(t.trim()||"context"),o??wi.build)}loaded(){return(0,me.waitUntil)(()=>this._loaded)}constructor(t,o,i){this.store=t,this.clusteringHelperProvider=i,this.metadataForSwitchToRelatives=new Set,this._loaded=!1,this.loadDebouncer=new me.Debouncer(10),this.initService(o)}async initService(t){return this.service=await t(),this.service.mapId=this.store.getState().mapId,this.reload()}async setMapId(t){t!==this.store.getState().mapId&&(this.store.actions.mapId(t),this.service&&(this.service.mapId=t),await this.reload())}setVisibleTopics(t){this.store.actions.visibleTopics(t)}async awaitService(){return(0,me.waitFor)(()=>this.service)}async navigateToTopic(t,o,i){await this.loaded();let n=await this.awaitService(),a=await(i!=null?n.getPage(i):n.getPageByTocId(t??"root"));this.store.actions.currentPage(a),this.store.actions.scrollTarget({tocId:this.resolveValidNonRootTocId(t,a),section:o})}resolveValidNonRootTocId(t,o){var i,n,a;let s=(i=t==="root"?void 0:t)!==null&&i!==void 0?i:o.rootTocId;return o.topics.includes(s)?s:(a=(n=o.topics[0])!==null&&n!==void 0?n:o.hiddenTopics[0])!==null&&a!==void 0?a:"root"}async navigateToPage(t){await this.loaded();let i=await(await this.awaitService()).getPage(t);this.store.actions.currentPage(i)}scrollDone(){this.store.actions.scrollTarget({})}async load(){var t;!((t=this.service)===null||t===void 0)&&t.mapId&&this.store.getState().map==null&&await this.loadDebouncer.run(()=>this.fetchData())}clear(){var t;this._loaded=!1,this.store.actions.configuration(void 0),this.store.actions.map(void 0),this.store.actions.toc(void 0),this.store.actions.pagesToc(void 0),this.store.actions.currentPage(void 0),this.store.actions.searchInDocumentQuery(""),this.store.actions.relatives(void 0),(t=this.service)===null||t===void 0||t.clear(),this.clusteringHelper=void 0}reload(){return this.clear(),this.load()}async fetchData(){var t,o,i,n,a;try{await Promise.all([(t=this.service)===null||t===void 0?void 0:t.getConfiguration().then(s=>this.store.actions.configuration(s)),(o=this.service)===null||o===void 0?void 0:o.getMap().then(s=>this.store.actions.map(s)),(i=this.service)===null||i===void 0?void 0:i.getToc().then(s=>this.store.actions.toc(s)),(n=this.service)===null||n===void 0?void 0:n.getPagesToc().then(s=>this.store.actions.pagesToc(s)),(a=this.service)===null||a===void 0?void 0:a.getPaginationConfiguration().then(s=>this.store.actions.paginationConfiguration(s))]),this.metadataForSwitchToRelatives.size>0&&this.fetchRelatives(),this._loaded=!0}catch(s){this.errorHandler&&!(s instanceof me.CanceledPromiseError)&&this.errorHandler(s)}}fetchRelatives(){var t,o,i;let n=(t=this.store.getState().map)===null||t===void 0?void 0:t.metadata.filter(a=>{var s;return a.key==((s=this.store.getState().configuration)===null||s===void 0?void 0:s.relativePivotMetadata)}).flatMap(a=>a.values);n!==void 0&&n.length>0?(o=this.service)===null||o===void 0||o.getRelativesForDocument((i=this.store.getState().configuration)===null||i===void 0?void 0:i.relativePivotMetadata,n).then(a=>{let s=a.results.flatMap(l=>l.entries);this.store.actions.relatives(s),this.updateClusteringHelper()}):this.updateClusteringHelper()}updateClusteringHelper(){this.clusteringHelper=this.createClusteringHelper(),this.clusteringHelper&&this.store.eventBus.dispatchEvent(new CustomEvent("clustering-helper-created"))}createClusteringHelper(){var t,o;if(this.clusteringHelperProvider)return this.clusteringHelperProvider();let i=this.store.getState().relatives;if(i){let n=i.find(s=>{var l;return((l=s.map)===null||l===void 0?void 0:l.mapId)==this.store.getState().mapId}),a=(o=(t=T.getState().metadataConfiguration)===null||t===void 0?void 0:t.descriptors)!==null&&o!==void 0?o:[];return new me.ClusteringHelper(i,n,this.metadataForSwitchToRelatives,a)}}async navigateToRelativeTopicIfFound(t){var o,i,n;await this.loaded();let a=await(0,me.waitFor)(()=>{var p;return(p=this.store.getState().configuration)===null||p===void 0?void 0:p.relativeTopicPivotMetadata}),s=this.store.getState().mapId,f=await(await this.awaitService()).getRelativesForTopicInMap(s,a,[t]);if(!((n=(i=(o=f?.results)===null||o===void 0?void 0:o[0])===null||i===void 0?void 0:i.entries)===null||n===void 0)&&n[0]){let p=f.results[0].entries[0].topic.tocId;return await this.navigateToTopic(p),!0}else return await this.navigateToTopic("root"),!1}setSearchInDocumentQuery(t){this.store.actions.searchInDocumentQuery(t)}registerMetadataForSwitchToRelatives(t){this.metadataForSwitchToRelatives.add(t),this.store.getState().relatives==null?this.fetchRelatives():this.updateClusteringHelper()}unregisterMetadataForSwitchToRelatives(t){this.metadataForSwitchToRelatives.delete(t),this.updateClusteringHelper()}};var Od=g(B());var Cd=Od.css`
|
|
1803
|
+
`;var Ai=class extends CustomEvent{constructor(t,o){super("ft-reader-map-loaded",{detail:{map:t,toc:o}})}},Ri=class extends CustomEvent{constructor(t,o){super("ft-reader-visible-topics-change",{detail:{visibleTopics:o}})}},Ii=class extends CustomEvent{constructor(t){super("ft-reader-navigation-done",{detail:t})}},Ni=class extends CustomEvent{constructor(t){super("ft-reader-load-error",{detail:t})}},Ti=class extends Event{constructor(){super("ft-reader-map-not-found")}},_i=class extends Event{constructor(){super("ft-reader-map-unauthorized")}},Li=class extends Event{constructor(){super("ft-reader-map-forbidden")}},ki=class extends Event{constructor(){super("ft-reader-topic-relative-not-found",{bubbles:!0,composed:!0})}};var Yt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},rf=e=>t=>+(t??"NaN")>0?+t:e,Ct=class extends qt.FtLitElementRedux{constructor(){super(),this.visibleTopics=[],this.scrollToTargetDebouncer=new qt.Debouncer(5),this.navigationDebouncer=new qt.Debouncer(10),this.mapLoadedEventDebouncer=new qt.Debouncer(50),this.addStore(T)}render(){return wo.html`
|
|
1804
1804
|
${this.importStyleIfNeeded()}
|
|
1805
1805
|
<slot @register-ft-reader-component=${this.registerComponent}></slot>
|
|
1806
|
-
`}importStyleIfNeeded(){var
|
|
1806
|
+
`}importStyleIfNeeded(){var t,o;let i=(t=this.stateManager.service)===null||t===void 0?void 0:t.themeStylesheet();return!i||window.location.href.startsWith((o=this.baseUrl)!==null&&o!==void 0?o:"")?wo.nothing:wo.html`
|
|
1807
1807
|
<style>
|
|
1808
1808
|
@import "${i}"
|
|
1809
1809
|
</style>
|
|
1810
|
-
`}get stateManager(){return this._stateManager==null&&(this._stateManager=Ei.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.readerServiceProvider),this._stateManager.errorHandler=
|
|
1810
|
+
`}get stateManager(){return this._stateManager==null&&(this._stateManager=Ei.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.readerServiceProvider),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"reader")),this._stateManager}connectedCallback(){super.connectedCallback(),this.stateManager.setMapId(this.mapId),this.stateManager.awaitService().then(t=>{let o=t.fontsStylesheet();if(o&&!window.location.href.startsWith(this.baseUrl)&&!document.querySelector(`head link[href="${o}"]`)){let i=document.createElement("link");i.setAttribute("rel","stylesheet"),i.setAttribute("href",o),document.head.append(i)}})}update(t){super.update(t),t.has("readerServiceProvider")&&this.readerServiceProvider&&this.stateManager.initService(this.readerServiceProvider),t.has("mapId")&&this.mapId&&(this.stateManager.setMapId(this.mapId),this.lastNotifiedNotFoundRelative=void 0),t.has("searchInDocumentQuery")&&this.searchInDocumentQuery!=null&&this.stateManager.setSearchInDocumentQuery(this.searchInDocumentQuery),["tocId","section","page","mapId","topicPivot"].some(o=>t.has(o))&&this.mapId&&this.navigateToTarget(),t.has("session")&&this.reload()}contentAvailableCallback(t){var o;if(super.contentAvailableCallback(t),(t.has("map")||t.has("toc"))&&this.sendLoadedEventIfLoaded(),t.has("scrollTarget")&&((o=this.scrollTarget)===null||o===void 0?void 0:o.tocId)==null){let i=t.get("scrollTarget");i?.tocId!=null&&this.scrollToTargetDebouncer.run(()=>{var n;return this.stateManager.service.getAccurateNavigationData(i.tocId,(n=this.currentPage)===null||n===void 0?void 0:n.number,i.section).then(a=>this.dispatchEvent(new Ii(a)))})}t.has("visibleTopics")&&Promise.all(this.visibleTopics.map(i=>{var n;return this.stateManager.service.getAccurateNavigationData(i,(n=this.currentPage)===null||n===void 0?void 0:n.number)})).then(i=>{let n=i.filter(a=>a!=null&&a.topicTitle!=="").map(a=>{var s;return{tocId:a.tocId,title:a.topicTitle,page:a.page,prettyUrl:a.prettyUrl,prettyUrlDuplicated:a.prettyUrlDuplicated,breadcrumb:(s=this.stateManager.service)===null||s===void 0?void 0:s.buildBreadcrumb(a.tocId)}});this.dispatchEvent(new Ri(this.map,n))})}clear(){this.stateManager.clear()}async reload(){await this.stateManager.reload()}async navigateToTarget(){await this.navigationDebouncer.run(async()=>{this.topicPivot!=null?!await this.stateManager.navigateToRelativeTopicIfFound(this.topicPivot)&&this.lastNotifiedNotFoundRelative!==this.mapId+this.topicPivot?(this.dispatchEvent(new ki),this.lastNotifiedNotFoundRelative=this.mapId+this.topicPivot):this.lastNotifiedNotFoundRelative=void 0:this.tocId!=null?await this.stateManager.navigateToTopic(this.tocId,this.section,this.page):this.page!=null&&await this.stateManager.navigateToPage(this.page)})}registerComponent(t){t.stopPropagation();let o=t.composedPath()[0];this.register(o)}register(t){t.setReaderStateManager(this.stateManager)}handleLoadError(t){let o=t;o.status===401?this.dispatchEvent(new _i):o.status===403?this.dispatchEvent(new Li):o.status===404?this.dispatchEvent(new Ti):this.dispatchEvent(new Ni(t))}reloadBookmarks(){Ml.reloadBookmarks()}async reloadRating(){var t,o;await((t=this.stateManager.service)===null||t===void 0?void 0:t.reloadRating()),(o=this.stateManager.store)===null||o===void 0||o.eventBus.dispatchEvent(new CustomEvent("rating-changed"))}sendLoadedEventIfLoaded(){this.mapLoadedEventDebouncer.run(()=>{this.map&&this.toc&&this.dispatchEvent(new Ai(this.map,this.toc))})}};Ct.styles=Cd;Yt([(0,qt.redux)({store:T.name})],Ct.prototype,"baseUrl",void 0);Yt([(0,qt.redux)({store:T.name})],Ct.prototype,"session",void 0);Yt([(0,nr.property)()],Ct.prototype,"mapId",void 0);Yt([(0,nr.property)()],Ct.prototype,"tocId",void 0);Yt([(0,nr.property)()],Ct.prototype,"section",void 0);Yt([(0,nr.property)()],Ct.prototype,"topicPivot",void 0);Yt([(0,nr.property)()],Ct.prototype,"searchInDocumentQuery",void 0);Yt([(0,nr.property)({type:Number,converter:{fromAttribute:rf()}})],Ct.prototype,"page",void 0);Yt([(0,qt.redux)({store:"reader"})],Ct.prototype,"map",void 0);Yt([(0,qt.redux)({store:"reader"})],Ct.prototype,"toc",void 0);Yt([(0,qt.redux)({store:"reader"})],Ct.prototype,"visibleTopics",void 0);Yt([(0,qt.redux)({store:"reader"})],Ct.prototype,"currentPage",void 0);Yt([(0,qt.redux)({store:"reader"})],Ct.prototype,"scrollTarget",void 0);Yt([(0,nr.property)({attribute:!1})],Ct.prototype,"readerServiceProvider",void 0);(0,wd.customElement)("ft-reader-context")(Ct);var Pi=class extends CustomEvent{constructor(t){super("send-feedback",{detail:t})}},$i=class extends CustomEvent{constructor(t){super("ft-reader-topic-feedback",{composed:!0,bubbles:!0,detail:t})}},Di=class extends CustomEvent{constructor(t){super("ft-reader-feedback",{composed:!0,bubbles:!0,detail:t})}},Bi=class extends CustomEvent{constructor(t){super("ft-reader-mailer-topic-feedback",{composed:!0,bubbles:!0,detail:{topic:t}})}},Mi=class extends CustomEvent{constructor(){super("ft-reader-mailer-map-feedback",{composed:!0,bubbles:!0})}};var wt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},X=class extends rr(Me){constructor(){super(),this.editorMode=!1,this.hideTitle=!1,this.withMoreOptionsButton=!1,this.ratingAllowed=!1,this.from="",this.feedbackMessage="",this.emptyStarIcon="STAR",this.filledStarIcon="STAR_PLAIN",this.emptyLikeIcon="THUMBS_UP",this.filledLikeIcon="THUMBS_UP_PLAIN",this.emptyDislikeIcon="THUMBS_DOWN",this.filledDislikeIcon="THUMBS_DOWN_PLAIN",this.addI18nContext(V,jl)}get canAccessFeedback(){var t;return(t=this.service)===null||t===void 0?void 0:t.isFeatureAccessible(ee.FEEDBACK,{session:this.session})}get canAccessRating(){var t,o;return(t=this.service)===null||t===void 0?void 0:t.isFeatureAccessible(ee.RATING,{session:this.session,ratingType:(o=this.ratingSummary)===null||o===void 0?void 0:o.type})}get configuredRatingType(){var t,o;return(o=this.ratingAllowed?(t=this.ratingSummary)===null||t===void 0?void 0:t.type:"NO_RATING")!==null&&o!==void 0?o:"NO_RATING"}get ratingType(){var t,o,i;return(i=(o=(t=this.ratingSummary)===null||t===void 0?void 0:t.rating)===null||o===void 0?void 0:o.type)!==null&&i!==void 0?i:"NO_RATING"}get ratingValue(){var t,o,i;return(i=(o=(t=this.ratingSummary)===null||t===void 0?void 0:t.rating)===null||o===void 0?void 0:o.value)!==null&&i!==void 0?i:-1}get ratingDate(){var t,o;let i=(o=(t=this.ratingSummary)===null||t===void 0?void 0:t.rating)===null||o===void 0?void 0:o.date;return typeof i=="string"?(0,Fi.parseDate)(i):i}render(){return!this.canAccessFeedback&&!this.canAccessRating?yt.nothing:yt.html`
|
|
1811
1811
|
<div class="ft-reader-feedback">
|
|
1812
|
-
${this.hideTitle?
|
|
1812
|
+
${this.hideTitle?yt.nothing:yt.html`
|
|
1813
1813
|
<ft-typography variant="title" part="main-title">
|
|
1814
1814
|
${this.i18n(this.i18nProperties.feedbackMainTitle)}
|
|
1815
1815
|
</ft-typography>
|
|
@@ -1817,7 +1817,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1817
1817
|
${this.renderRatingSection()}
|
|
1818
1818
|
${this.renderFeedbackSection()}
|
|
1819
1819
|
</div>
|
|
1820
|
-
`}renderRatingSection(){return this.canAccessRating?
|
|
1820
|
+
`}renderRatingSection(){return this.canAccessRating?yt.html`
|
|
1821
1821
|
<div class="ft-reader-feedback--rating" part="rating-container">
|
|
1822
1822
|
<ft-typography variant="title-dense" part="section-title" class="ft-reader-feedback--section-title">
|
|
1823
1823
|
${this.i18n(this.ratingSummary.type==="DICHOTOMOUS"?this.i18nProperties.dichotomousRatingSectionTitle:this.i18nProperties.ratingSectionTitle)}
|
|
@@ -1827,20 +1827,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1827
1827
|
${this.renderRatingDate()}
|
|
1828
1828
|
</ft-typography>
|
|
1829
1829
|
</div>
|
|
1830
|
-
`:
|
|
1830
|
+
`:yt.nothing}renderRatingDate(){let t=this.ratingDate;if(t==null)return V.messages.notRated();if(t.getTime()>new Date().getTime()-6e4)return V.messages.ratedNow();let o=new Date().toLocaleDateString(),i=t.toLocaleDateString();return o===i?V.messages.ratedToday():V.messages.ratedOn(t)}renderRating(){switch(this.configuredRatingType){case"STARS":return yt.html`
|
|
1831
1831
|
<div class="ft-reader-feedback--stars" part="rating rating-stars">
|
|
1832
|
-
${(0,
|
|
1833
|
-
<ft-button round part="rating-stars-${
|
|
1834
|
-
label="${V.messages.starsRating(
|
|
1832
|
+
${(0,Ed.repeat)(new Array(5),(a,s)=>s,(a,s)=>{let l=this.ratingType==="STARS"&&this.ratingValue>s,f=s+1;return yt.html`
|
|
1833
|
+
<ft-button round part="rating-stars-${f}"
|
|
1834
|
+
label="${V.messages.starsRating(f)}"
|
|
1835
1835
|
tooltipPosition="top"
|
|
1836
1836
|
.iconVariant=${this.iconVariant}
|
|
1837
1837
|
icon="${l?this.filledStarIcon:this.emptyStarIcon}"
|
|
1838
1838
|
class="ft-reader-feedback--${l?"active":"inactive"}"
|
|
1839
|
-
@click=${()=>this.rate(this.ratingValue===
|
|
1839
|
+
@click=${()=>this.rate(this.ratingValue===f?void 0:f)}
|
|
1840
1840
|
></ft-button>
|
|
1841
1841
|
`})}
|
|
1842
1842
|
</div>
|
|
1843
|
-
`;case"LIKE":let
|
|
1843
|
+
`;case"LIKE":let t=this.ratingType==="LIKE"&&this.ratingValue===0,o=this.ratingType==="LIKE"&&this.ratingValue===1;return yt.html`
|
|
1844
1844
|
<ft-switch unselectable
|
|
1845
1845
|
@change=${a=>this.rate(a.detail)}
|
|
1846
1846
|
part="rating rating-like"
|
|
@@ -1853,14 +1853,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1853
1853
|
${V.messages.like()}
|
|
1854
1854
|
</ft-switch-option>
|
|
1855
1855
|
<ft-switch-option .value=${0}
|
|
1856
|
-
?selected=${
|
|
1856
|
+
?selected=${t}
|
|
1857
1857
|
.iconVariant=${this.iconVariant}
|
|
1858
|
-
icon="${
|
|
1858
|
+
icon="${t?this.filledDislikeIcon:this.emptyDislikeIcon}"
|
|
1859
1859
|
role="radio">
|
|
1860
1860
|
${V.messages.dislike()}
|
|
1861
1861
|
</ft-switch-option>
|
|
1862
1862
|
</ft-switch>
|
|
1863
|
-
`;case"DICHOTOMOUS":let i=this.ratingType==="DICHOTOMOUS"&&this.ratingValue===0,n=this.ratingType==="DICHOTOMOUS"&&this.ratingValue===1;return
|
|
1863
|
+
`;case"DICHOTOMOUS":let i=this.ratingType==="DICHOTOMOUS"&&this.ratingValue===0,n=this.ratingType==="DICHOTOMOUS"&&this.ratingValue===1;return yt.html`
|
|
1864
1864
|
<ft-switch unselectable
|
|
1865
1865
|
@change=${a=>this.rate(a.detail)}
|
|
1866
1866
|
part="rating rating-dichotomous">
|
|
@@ -1873,7 +1873,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1873
1873
|
${V.messages.dichotomousNo()}
|
|
1874
1874
|
</ft-switch-option>
|
|
1875
1875
|
</ft-switch>
|
|
1876
|
-
`}return
|
|
1876
|
+
`}return yt.nothing}rate(t){(t??-1)!==this.ratingValue&&this.dispatchEvent(new CustomEvent("rate",{detail:t}))}renderFeedbackSection(){var t,o,i,n,a;if(this.canAccessFeedback){let s=this.feedbackMailLinkBuilder(this.feedbackMessage),l=yt.html`
|
|
1877
1877
|
<ft-button primary
|
|
1878
1878
|
type="submit" name="submit"
|
|
1879
1879
|
class="ft-reader-feedback--send-feedback"
|
|
@@ -1881,11 +1881,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1881
1881
|
part="send-feedback">
|
|
1882
1882
|
${V.messages.okButton()}
|
|
1883
1883
|
</ft-button>
|
|
1884
|
-
`;s&&(l=
|
|
1884
|
+
`;s&&(l=yt.html`
|
|
1885
1885
|
<a class="ft-reader-feedback--feedback-link" href="${s}">
|
|
1886
1886
|
${l}
|
|
1887
1887
|
</a>
|
|
1888
|
-
`);let
|
|
1888
|
+
`);let f=this.withMoreOptionsButton&&(!((t=this.configuration)===null||t===void 0)&&t.mailsSentByFluidTopics||!((o=this.configuration)===null||o===void 0)&&o.mailsSentByFluidTopicsForUnauthenticatedUsers)?yt.html`
|
|
1889
1889
|
<ft-button outlined
|
|
1890
1890
|
type="button" name="more-options"
|
|
1891
1891
|
class="ft-reader-feedback--more-options"
|
|
@@ -1893,40 +1893,40 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1893
1893
|
part="more-options">
|
|
1894
1894
|
${V.messages.moreOptionsButton()}
|
|
1895
1895
|
</ft-button>
|
|
1896
|
-
`:
|
|
1896
|
+
`:yt.nothing;return yt.html`
|
|
1897
1897
|
<form class="ft-reader-feedback--feedback" part="feedback-container" autocomplete="on"
|
|
1898
|
-
@submit="${
|
|
1898
|
+
@submit="${p=>this.onFormSubmitEvent(p,!!s)}">
|
|
1899
1899
|
<ft-typography variant="title-dense" part="section-title" class="ft-reader-feedback--section-title">
|
|
1900
1900
|
${this.i18n(this.i18nProperties.feedbackSectionTitle)}
|
|
1901
1901
|
</ft-typography>
|
|
1902
|
-
${((n=(i=this.session)===null||i===void 0?void 0:i.profile)===null||n===void 0?void 0:n.userId)==null&&(!((a=this.configuration)===null||a===void 0)&&a.mailsSentByFluidTopicsForUnauthenticatedUsers)?
|
|
1902
|
+
${((n=(i=this.session)===null||i===void 0?void 0:i.profile)===null||n===void 0?void 0:n.userId)==null&&(!((a=this.configuration)===null||a===void 0)&&a.mailsSentByFluidTopicsForUnauthenticatedUsers)?yt.html`
|
|
1903
1903
|
<ft-text-field outlined name="email" type="email" autocomplete="email"
|
|
1904
1904
|
class="ft-reader-feedback--from-input"
|
|
1905
1905
|
label=${V.messages.feedbackfromEmail()}
|
|
1906
|
-
@change=${
|
|
1906
|
+
@change=${p=>this.from=p.detail.trim()}
|
|
1907
1907
|
?error=${this.from&&!this.validFromEmail()}
|
|
1908
1908
|
helper=${this.from&&!this.validFromEmail()?V.messages.feedbackfromEmailInvalid():""}
|
|
1909
1909
|
/>
|
|
1910
|
-
`:
|
|
1910
|
+
`:yt.nothing}
|
|
1911
1911
|
<ft-text-area outlined
|
|
1912
1912
|
class="ft-reader-feedback--feedback-input" part="feedback-input"
|
|
1913
1913
|
label="${V.messages.feedbackInputLabel()}"
|
|
1914
|
-
@live-change=${
|
|
1914
|
+
@live-change=${p=>this.feedbackMessage=p.detail.trim()}
|
|
1915
1915
|
></ft-text-area>
|
|
1916
1916
|
<div part="buttons-container">
|
|
1917
|
-
${
|
|
1917
|
+
${f}
|
|
1918
1918
|
${l}
|
|
1919
1919
|
</div>
|
|
1920
1920
|
</form>
|
|
1921
|
-
`}return
|
|
1921
|
+
`}return yt.nothing}onFormSubmitEvent(t,o){t.preventDefault(),o?this.onMailerFeedbackSent():this.sendFeedback()}validFromEmail(){var t,o,i;let n=/^[a-zA-Z0-9_+&*-]+(?:\.[a-zA-Z0-9_+&*-]+)*@(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}$/;return!(((o=(t=this.session)===null||t===void 0?void 0:t.profile)===null||o===void 0?void 0:o.userId)==null&&(!((i=this.configuration)===null||i===void 0)&&i.mailsSentByFluidTopicsForUnauthenticatedUsers))||n.test(this.from)}sendFeedback(){var t;this.dispatchEvent(new Pi({message:this.feedbackInput.value,...((t=this.configuration)===null||t===void 0?void 0:t.mailsSentByFluidTopicsForUnauthenticatedUsers)&&{from:this.from}}))}onMailerFeedbackSent(){this.dispatchEvent(new CustomEvent("mailer-feedback"))}onOpenMoreDetails(){this.dispatchEvent(new CustomEvent("open-more-options"))}clearFeedbackInput(){setTimeout(()=>this.feedbackInput.value="",0)}};X.elementDefinitions={"ft-button":fe,"ft-typography":pt,"ft-switch":Ut,"ft-switch-option":ft,"ft-text-area":It,"ft-text-field":H};X.styles=ys;wt([(0,mt.property)({type:Boolean})],X.prototype,"editorMode",void 0);wt([(0,mt.property)({type:Boolean})],X.prototype,"hideTitle",void 0);wt([(0,mt.property)({type:Boolean})],X.prototype,"withMoreOptionsButton",void 0);wt([(0,mt.property)({type:Boolean})],X.prototype,"ratingAllowed",void 0);wt([(0,mt.property)({attribute:!1})],X.prototype,"i18nProperties",void 0);wt([(0,mt.property)({attribute:!1})],X.prototype,"ratingSummary",void 0);wt([(0,mt.property)({attribute:!1})],X.prototype,"session",void 0);wt([(0,mt.query)(".ft-reader-feedback--feedback-input")],X.prototype,"feedbackInput",void 0);wt([(0,mt.state)()],X.prototype,"from",void 0);wt([(0,mt.state)()],X.prototype,"feedbackMessage",void 0);wt([(0,mt.property)()],X.prototype,"iconVariant",void 0);wt([(0,mt.property)()],X.prototype,"emptyStarIcon",void 0);wt([(0,mt.property)()],X.prototype,"filledStarIcon",void 0);wt([(0,mt.property)()],X.prototype,"emptyLikeIcon",void 0);wt([(0,mt.property)()],X.prototype,"filledLikeIcon",void 0);wt([(0,mt.property)()],X.prototype,"emptyDislikeIcon",void 0);wt([(0,mt.property)()],X.prototype,"filledDislikeIcon",void 0);wt([(0,Fi.redux)({store:"reader",selector:e=>{var t;return(t=e.configuration)===null||t===void 0?void 0:t.feedback}})],X.prototype,"configuration",void 0);wt([(0,mt.property)()],X.prototype,"feedbackMailLinkBuilder",void 0);var Xr=or.fromGwt("server");var Jr=class{constructor(){this.subject="",this.url="",this.subjectMetadata="",this.bodyMetadata="",this.isAuthenticated=!1}update(t,o,i,n,a){var s;this.subject=t,this.url=o,this.configuration=n,this.isAuthenticated=a,this.subjectMetadata=this.filterMetadata(i,n.subjectMetadataIds).map(l=>"["+l.values[l.values.length-1]+"]").join(""),this.bodyMetadata=this.filterMetadata(i,(s=n.bodyMetadataIds)!==null&&s!==void 0?s:[]).map(l=>"["+l.values.join(", ")+"]").join(" ")}filterMetadata(t,o){return o.map(i=>t.find(n=>n.key===i)).filter(i=>i!=null&&i.values.length>0)}shouldUseMailer(){var t,o;let i=this.isAuthenticated&&!(!((t=this.configuration)===null||t===void 0)&&t.mailsSentByFluidTopics),n=!this.isAuthenticated&&!(!((o=this.configuration)===null||o===void 0)&&o.mailsSentByFluidTopicsForUnauthenticatedUsers);return i||n}build(t){var o;if(t!=null&&t.length===0||!this.shouldUseMailer())return;let i=encodeURIComponent(this.subject+" "+this.subjectMetadata),n=encodeURIComponent(`
|
|
1922
1922
|
${this.bodyMetadata}
|
|
1923
1923
|
${this.url}
|
|
1924
1924
|
_________________________________________________________________
|
|
1925
1925
|
|
|
1926
|
-
${
|
|
1926
|
+
${t??""}
|
|
1927
1927
|
|
|
1928
1928
|
_________________________________________________________________
|
|
1929
|
-
${Xr.messages["mail.feedback.disclaimer"]()}`);return`mailto:${(o=this.configuration)===null||o===void 0?void 0:o.recipients.join(",")}?subject=${i}&body=${n}`}};var ar=or.build("inDesignerFeedbackComponent"),Ui={feedbackAndRatingDisabledInEditor:"Feedback and ratings performed here are not taken into account."};var
|
|
1929
|
+
${Xr.messages["mail.feedback.disclaimer"]()}`);return`mailto:${(o=this.configuration)===null||o===void 0?void 0:o.recipients.join(",")}?subject=${i}&body=${n}`}};var ar=or.build("inDesignerFeedbackComponent"),Ui={feedbackAndRatingDisabledInEditor:"Feedback and ratings performed here are not taken into account."};var Nt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},lt=class extends rr(Me){constructor(){super(),this.editorMode=!1,this.hideTitle=!1,this.withMoreOptionsButton=!1,this.iconVariant=_t.fluid_topics,this.emptyStarIcon="STAR",this.filledStarIcon="STAR_PLAIN",this.emptyLikeIcon="THUMBS_UP",this.filledLikeIcon="THUMBS_UP_PLAIN",this.emptyDislikeIcon="THUMBS_DOWN",this.filledDislikeIcon="THUMBS_DOWN_PLAIN",this.feedbackLinkBuilder=new Jr,this.i18nProperties={feedbackMainTitle:V.properties.mapFeedbackMainTitle(),ratingSectionTitle:V.properties.mapRatingSectionTitle(),dichotomousRatingSectionTitle:V.properties.mapDichotomousRatingSectionTitle(),feedbackSectionTitle:V.properties.mapFeedbackSectionTitle()},this.updateDebouncer=new $t.Debouncer(100),this.sendRatingDebouncer=new $t.Debouncer(500),this.addStore(T)}render(){return Ad.html`
|
|
1930
1930
|
<ft-reader-feedback
|
|
1931
1931
|
ratingAllowed
|
|
1932
1932
|
.i18nProperties=${this.i18nProperties}
|
|
@@ -1942,16 +1942,16 @@ ${Xr.messages["mail.feedback.disclaimer"]()}`);return`mailto:${(o=this.configura
|
|
|
1942
1942
|
.filledLikeIcon=${this.filledLikeIcon}
|
|
1943
1943
|
.emptyDislikeIcon=${this.emptyDislikeIcon}
|
|
1944
1944
|
.filledDislikeIcon=${this.filledDislikeIcon}
|
|
1945
|
-
.feedbackMailLinkBuilder=${
|
|
1945
|
+
.feedbackMailLinkBuilder=${t=>this.feedbackLinkBuilder.build(t)}
|
|
1946
1946
|
@rate=${this.rate}
|
|
1947
1947
|
@send-feedback=${this.sendFeedback}
|
|
1948
1948
|
@mailer-feedback=${this.onMailerFeedbackSent}
|
|
1949
1949
|
@open-more-options=${this.openMoreOptions}
|
|
1950
1950
|
></ft-reader-feedback>
|
|
1951
|
-
`}update(
|
|
1951
|
+
`}update(t){var o,i,n,a;super.update(t),t.has("map")&&this.map&&this.updateData(),t.has("editorMode")&&this.editorMode&&this.addI18nContext(ar,Ui),["map","configuration","user","mailSubject"].some(s=>t.has(s))&&this.map&&this.configuration&&this.feedbackLinkBuilder.update(this.mailSubject,(i=(o=this.service)===null||o===void 0?void 0:o.getLink())!==null&&i!==void 0?i:"",this.map.metadata,this.configuration,((a=(n=this.session)===null||n===void 0?void 0:n.profile)===null||a===void 0?void 0:a.userId)!=null)}connectedCallback(){super.connectedCallback(),this.updateData()}onStoreAvailable(t){super.onStoreAvailable(t),this.updateData()}updateData(){this.updateDebouncer.run(async()=>{var t,o;this.map&&(!((o=(t=this.session)===null||t===void 0?void 0:t.profile)===null||o===void 0)&&o.userId||this.ratingSummary==null)&&await this.fetchRatingSummary()})}async fetchRatingSummary(){var t;this.ratingSummary=await((t=this.service)===null||t===void 0?void 0:t.getMapRating())}rate(t){this.ratingSummary&&(this.ratingSummary={...this.ratingSummary,rating:t.detail==null?void 0:{type:this.ratingSummary.type,value:t.detail,date:new Date}},this.sendRatingDebouncer.run(()=>this.sendRating(t.detail)))}async sendRating(t){var o,i,n;if(!this.editorMode&&this.ratingSummary){try{t==null?await((o=this.service)===null||o===void 0?void 0:o.unrateMap()):await((i=this.service)===null||i===void 0?void 0:i.rateMap((n=this.ratingSummary)===null||n===void 0?void 0:n.type,t))}catch{this.dispatchEvent(new $t.FtNotificationEvent({type:"error",message:V.messages.ratingFailure()}))}this.updateData()}else this.editorMode&&this.dispatchEvent(new $t.FtNotificationEvent({type:"info",message:ar.messages.feedbackAndRatingDisabledInEditor()}))}async sendFeedback(t){var o;try{this.editorMode?this.dispatchEvent(new $t.FtNotificationEvent({type:"info",message:ar.messages.feedbackAndRatingDisabledInEditor()})):(await((o=this.service)===null||o===void 0?void 0:o.sendMapFeedback(t.detail.message,t.detail.from)),this.dispatchEvent(new $t.FtNotificationEvent({type:"info",message:V.messages.feedbackSuccess()}))),this.readerFeedback.clearFeedbackInput()}catch{this.dispatchEvent(new $t.FtNotificationEvent({type:"error",message:V.messages.feedbackFailure()}))}}onMailerFeedbackSent(){this.dispatchEvent(new Mi)}openMoreOptions(){var t,o,i;this.dispatchEvent(new Di({mapId:this.map.id,mapTitle:this.map.title,mapMetadata:((t=this.map)===null||t===void 0?void 0:t.metadata)||[],ratingType:((o=this.ratingSummary)===null||o===void 0?void 0:o.type)||Be.NO_RATING,ratingValue:(i=this.ratingSummary)===null||i===void 0?void 0:i.rating}))}};lt.elementDefinitions={"ft-reader-feedback":X};Nt([(0,$t.redux)({store:T.name})],lt.prototype,"session",void 0);Nt([(0,$t.redux)({store:"reader"})],lt.prototype,"map",void 0);Nt([(0,$t.redux)({store:T.name})],lt.prototype,"editorMode",void 0);Nt([(0,$t.redux)({store:"reader",selector:e=>{var t;return(t=e.configuration)===null||t===void 0?void 0:t.feedback}})],lt.prototype,"configuration",void 0);Nt([(0,Xt.state)()],lt.prototype,"ratingSummary",void 0);Nt([(0,Xt.property)({type:Boolean})],lt.prototype,"hideTitle",void 0);Nt([(0,Xt.property)({type:Boolean})],lt.prototype,"withMoreOptionsButton",void 0);Nt([(0,Xt.property)()],lt.prototype,"iconVariant",void 0);Nt([(0,Xt.property)()],lt.prototype,"emptyStarIcon",void 0);Nt([(0,Xt.property)()],lt.prototype,"filledStarIcon",void 0);Nt([(0,Xt.property)()],lt.prototype,"emptyLikeIcon",void 0);Nt([(0,Xt.property)()],lt.prototype,"filledLikeIcon",void 0);Nt([(0,Xt.property)()],lt.prototype,"emptyDislikeIcon",void 0);Nt([(0,Xt.property)()],lt.prototype,"filledDislikeIcon",void 0);Nt([(0,Xt.query)("ft-reader-feedback")],lt.prototype,"readerFeedback",void 0);Nt([vi(Xr.properties["mail.map_feedback.subject"](e=>{var t;return[(t=e.map)===null||t===void 0?void 0:t.title]}))],lt.prototype,"mailSubject",void 0);Nt([(0,$t.reduxEventListener)({eventName:"rating-changed"})],lt.prototype,"fetchRatingSummary",null);var Id=g(B()),Jt=g(Z()),Dt=g(R());var aa=g(Z());var Rd=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},sa=class extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}},na=Symbol("registerInterval");function of(e){var t;class o extends e{constructor(){super(...arguments),this.disableContextInteractions=!1,this[t]=0}connectedCallback(){super.connectedCallback(),this[na]=window.setInterval(()=>this.tryToRegisterToTopicContext(),50)}tryToRegisterToTopicContext(){this.tocNode!=null?window.clearInterval(this[na]):this.dispatchEvent(new sa)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return t=na,Rd([(0,aa.state)()],o.prototype,"tocNode",void 0),Rd([(0,aa.state)()],o.prototype,"disableContextInteractions",void 0),o}var Wi=class extends of(Me){};var Tt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},dt=class extends rr(Wi){constructor(){super(),this.editorMode=!1,this.hideTitle=!1,this.withMoreOptionsButton=!1,this.iconVariant=_t.fluid_topics,this.emptyStarIcon="STAR",this.filledStarIcon="STAR_PLAIN",this.emptyLikeIcon="THUMBS_UP",this.filledLikeIcon="THUMBS_UP_PLAIN",this.emptyDislikeIcon="THUMBS_DOWN",this.filledDislikeIcon="THUMBS_DOWN_PLAIN",this.feedbackLinkBuilder=new Jr,this.i18nProperties={feedbackMainTitle:V.properties.topicFeedbackMainTitle(),ratingSectionTitle:V.properties.topicRatingSectionTitle(),dichotomousRatingSectionTitle:V.properties.topicDichotomousRatingSectionTitle(),feedbackSectionTitle:V.properties.topicFeedbackSectionTitle()},this.updateDebouncer=new Dt.Debouncer(100),this.sendRatingDebouncer=new Dt.Debouncer(500),this.addStore(T)}render(){var t;return Id.html`
|
|
1952
1952
|
<ft-reader-feedback
|
|
1953
1953
|
.i18nProperties=${this.i18nProperties}
|
|
1954
|
-
?ratingAllowed=${(
|
|
1954
|
+
?ratingAllowed=${(t=this.tocNode)===null||t===void 0?void 0:t.hasRating}
|
|
1955
1955
|
.editorMode=${this.editorMode}
|
|
1956
1956
|
?hideTitle=${this.hideTitle}
|
|
1957
1957
|
?withMoreOptionsButton=${this.withMoreOptionsButton}
|
|
@@ -1970,7 +1970,7 @@ ${Xr.messages["mail.feedback.disclaimer"]()}`);return`mailto:${(o=this.configura
|
|
|
1970
1970
|
@mailer-feedback=${this.onMailerFeedbackSent}
|
|
1971
1971
|
@open-more-options=${this.openMoreOptions}
|
|
1972
1972
|
></ft-reader-feedback>
|
|
1973
|
-
`}update(
|
|
1973
|
+
`}update(t){var o,i,n,a;super.update(t),["tocNode","user"].some(s=>t.has(s))&&this.tocNode&&this.updateData(),t.has("editorMode")&&this.editorMode&&this.addI18nContext(ar,Ui),["map","tocNode","configuration","user","mailSubject"].some(s=>t.has(s))&&this.map&&this.tocNode&&this.configuration&&this.feedbackLinkBuilder.update(this.mailSubject,(i=(o=this.service)===null||o===void 0?void 0:o.getLink(this.tocNode.tocId))!==null&&i!==void 0?i:"",this.map.metadata,this.configuration,((a=(n=this.session)===null||n===void 0?void 0:n.profile)===null||a===void 0?void 0:a.userId)!=null)}connectedCallback(){super.connectedCallback(),this.updateData()}updateData(){this.updateDebouncer.run(async()=>{var t,o;this.tocNode&&(!((o=(t=this.session)===null||t===void 0?void 0:t.profile)===null||o===void 0)&&o.userId||this.ratingSummary==null)&&await this.fetchRatingSummary()})}async fetchRatingSummary(){var t;this.ratingSummary=await((t=this.service)===null||t===void 0?void 0:t.getTopicRating(this.tocNode.tocId))}rate(t){this.ratingSummary&&this.tocNode&&(this.ratingSummary={...this.ratingSummary,rating:t.detail==null?void 0:{tocId:this.tocNode.tocId,type:this.ratingSummary.type,value:t.detail,date:new Date}},this.sendRatingDebouncer.run(()=>this.sendRating(t.detail)))}async sendRating(t){var o,i,n;if(!this.editorMode&&this.ratingSummary&&this.tocNode){try{t==null?await((o=this.service)===null||o===void 0?void 0:o.unrateTopic(this.tocNode.tocId)):await((i=this.service)===null||i===void 0?void 0:i.rateTopic(this.tocNode.tocId,(n=this.ratingSummary)===null||n===void 0?void 0:n.type,t))}catch{this.dispatchEvent(new Dt.FtNotificationEvent({type:"error",message:V.messages.ratingFailure()}))}this.updateData()}else this.editorMode&&this.dispatchEvent(new Dt.FtNotificationEvent({type:"info",message:ar.messages.feedbackAndRatingDisabledInEditor()}))}async sendFeedback(t){var o;try{!this.editorMode&&this.tocNode?(await((o=this.service)===null||o===void 0?void 0:o.sendTopicFeedback(this.tocNode.tocId,t.detail.message,t.detail.from)),this.dispatchEvent(new Dt.FtNotificationEvent({type:"info",message:V.messages.feedbackSuccess()})),this.readerFeedback.clearFeedbackInput()):this.editorMode&&this.dispatchEvent(new Dt.FtNotificationEvent({type:"info",message:ar.messages.feedbackAndRatingDisabledInEditor()}))}catch{this.dispatchEvent(new Dt.FtNotificationEvent({type:"error",message:V.messages.feedbackFailure()}))}}onMailerFeedbackSent(){let t=this.tocNode;this.dispatchEvent(new Bi(t))}openMoreOptions(){var t,o,i,n,a,s,l,f;this.dispatchEvent(new $i({mapId:this.map.id,mapTitle:this.map.title,tocId:this.tocNode.tocId,topicTitle:this.tocNode.title,topicUrl:(o=(t=this.service)===null||t===void 0?void 0:t.getLink(this.tocNode.tocId))!==null&&o!==void 0?o:"",mapMetadata:((i=this.map)===null||i===void 0?void 0:i.metadata)||[],breadcrumb:((a=(n=this.stateManager)===null||n===void 0?void 0:n.service)===null||a===void 0?void 0:a.buildBreadcrumb(this.tocNode.tocId))||[],ratingType:(!((s=this.tocNode)===null||s===void 0)&&s.hasRating?(l=this.ratingSummary)===null||l===void 0?void 0:l.type:Be.NO_RATING)||Be.NO_RATING,ratingValue:(f=this.ratingSummary)===null||f===void 0?void 0:f.rating}))}};dt.elementDefinitions={"ft-reader-feedback":X};Tt([(0,Dt.redux)({store:T.name})],dt.prototype,"session",void 0);Tt([(0,Dt.redux)({store:"reader"})],dt.prototype,"map",void 0);Tt([(0,Dt.redux)({store:T.name})],dt.prototype,"editorMode",void 0);Tt([(0,Dt.redux)({store:"reader",selector:e=>{var t;return(t=e.configuration)===null||t===void 0?void 0:t.feedback}})],dt.prototype,"configuration",void 0);Tt([(0,Jt.state)()],dt.prototype,"ratingSummary",void 0);Tt([(0,Jt.property)({type:Boolean})],dt.prototype,"hideTitle",void 0);Tt([(0,Jt.property)({type:Boolean})],dt.prototype,"withMoreOptionsButton",void 0);Tt([(0,Jt.property)()],dt.prototype,"iconVariant",void 0);Tt([(0,Jt.property)()],dt.prototype,"emptyStarIcon",void 0);Tt([(0,Jt.property)()],dt.prototype,"filledStarIcon",void 0);Tt([(0,Jt.property)()],dt.prototype,"emptyLikeIcon",void 0);Tt([(0,Jt.property)()],dt.prototype,"filledLikeIcon",void 0);Tt([(0,Jt.property)()],dt.prototype,"emptyDislikeIcon",void 0);Tt([(0,Jt.property)()],dt.prototype,"filledDislikeIcon",void 0);Tt([(0,Jt.query)("ft-reader-feedback")],dt.prototype,"readerFeedback",void 0);Tt([vi(Xr.properties["mail.feedback.subject"](e=>{var t,o;return[(t=e.tocNode)===null||t===void 0?void 0:t.title,(o=e.map)===null||o===void 0?void 0:o.title]}))],dt.prototype,"mailSubject",void 0);Tt([(0,Dt.reduxEventListener)({eventName:"rating-changed"})],dt.prototype,"fetchRatingSummary",null);(0,ca.customElement)("ft-reader-map-feedback")(lt);(0,ca.customElement)("ft-reader-topic-feedback")(dt);})();
|
|
1974
1974
|
/*! Bundled license information:
|
|
1975
1975
|
|
|
1976
1976
|
lit-html/lit-html.js:
|